Skip to content

feat(ai-powerups): manifest-based project context with read_project_file tool#5202

Merged
Pavel910 merged 9 commits into
nextfrom
feat/optimize-ai-context
May 12, 2026
Merged

feat(ai-powerups): manifest-based project context with read_project_file tool#5202
Pavel910 merged 9 commits into
nextfrom
feat/optimize-ai-context

Conversation

@Pavel910
Copy link
Copy Markdown
Collaborator

@Pavel910 Pavel910 commented May 12, 2026

Summary

  • File manager: rename GetFileContentsGetFileContentsById, add new GetFileContentsByKey use case (S3 impl reads by key without KV metadata lookup), add ExtractFrontmatter handler that extracts description from .md/.mdx frontmatter on file upload
  • AI context: replace inline file content in system message with a YAML-like manifest + read_project_file tool so the model fetches files on demand instead of receiving all content upfront
  • Telemetry: generation results now include telemetry (filesRead, cacheHit, toolCallsMade, totalSteps) in the websocket response
  • Refactor: extract ProjectFileCache and ProjectFileAssembler from AiPromptContextBuilder, reducing it from 4 deps to 2 and eliminating a 7-param buildContext method

@Pavel910 Pavel910 self-assigned this May 12, 2026
@Pavel910 Pavel910 added this to the 6.4.0 milestone May 12, 2026
@Pavel910 Pavel910 merged commit a954eb8 into next May 12, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant