Skip to content

feat(ai-powerups): AI personas, projects, and prompt context builder - #5194

Merged
Pavel910 merged 18 commits into
nextfrom
feat/ai-personas
May 11, 2026
Merged

Pavel910 merged 18 commits into
nextfrom
feat/ai-personas

Conversation

@Pavel910

@Pavel910 Pavel910 commented May 10, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Reader & Writer Personas: configurable persona presets (name, description, style) that shape AI-generated content tone and audience targeting
  • Projects: file-backed project contexts with token budget validation, version-tracked caching, and default persona bindings
  • AiPromptContextBuilder: standalone DI abstraction that resolves project + personas by ID, loads files via GetFileContentsUseCase, and produces a reusable AiPromptContext with .toString() for LLM system prompts
  • GetFileContentsUseCase: new abstraction in api-file-manager with S3 implementation in api-file-manager-s3 — eliminates direct S3 usage from ai-powerups
  • Settings cache: shared in-memory cache between GetSettings/UpdateSettings repositories to avoid redundant KV reads within a request
  • AiImageEnrichment moved from api-file-manager to ai-powerups to break a circular package dependency
  • FormModel enhancements: hiddenWhen, FormErrors, PresenterErrors, multi-file picker field type, focus management
  • Lexical fix: ordered list items now get correct sequential numbering on HTML import

@Pavel910 Pavel910 self-assigned this May 10, 2026
@Pavel910 Pavel910 added this to the 6.4.0 milestone May 10, 2026
Pavel910 added 4 commits May 10, 2026 22:52
# Conflicts:
#	packages/api-file-manager/package.json
#	packages/cli/files/references.json
#	yarn.lock
@Pavel910
Pavel910 merged commit 012ecac into next May 11, 2026
9 checks passed
@Pavel910
Pavel910 deleted the feat/ai-personas branch September 8, 2026 03:47
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