You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(memory): add CUSTOM as wizard MemoryOption and wire existing memories to new agents
Add 'custom' as a 4th MemoryOption in the create/add-agent wizards,
completing CUSTOM strategy support across all CLI flows. When adding
an agent to a project with existing memories, the template now
references all existing memories instead of always creating new ones.
- Add 'custom' to MemoryOption type, MEMORY_OPTIONS array, and all
validation/help text across create and add-agent commands
- Add 'custom' case to mapGenerateInputToMemories (CUSTOM strategy,
no default namespaces) and getMemoryLabel in wizard UI
- Add mapExistingMemoriesToProviders() to convert project Memory[]
to MemoryProviderRenderConfig[] for template rendering
- Update mapGenerateConfigToRenderConfig to accept existing memories
and merge them with new memory providers (deduped by name)
- Update writeAgentToProject to skip adding duplicate memories
- Wire existing project.memories through both add-agent paths
(AgentPrimitive CLI + useAddAgent TUI hook)
Constraint: Strands Agent takes a single session_manager, so session.py
references memoryProviders[0] as the primary memory
Rejected: Multi-select wizard for memory | template only supports one
session_manager, all memory env vars already available at runtime
Confidence: high
Scope-risk: moderate
0 commit comments