Skip to content

feat(memory): add history plugin and remove input wrappers#48

Closed
cpluss wants to merge 4 commits intomainfrom
feat/history-plugin
Closed

feat(memory): add history plugin and remove input wrappers#48
cpluss wants to merge 4 commits intomainfrom
feat/history-plugin

Conversation

@cpluss
Copy link
Contributor

@cpluss cpluss commented Feb 6, 2026

Summary

  • add a new history plugin API: cria.history({ history }), designed for ergonomic history composition with .use(...)
  • remove .input wrapper support and PromptBuilder.input(...) to simplify history ingestion paths
  • keep inputLayout as the low-level escape hatch and normalize PromptLayout inputs inside the history plugin
  • update docs to document history plugin usage and link it from top-level documentation
  • update plugin/builder tests for the new history flow and removed input wrappers

Breaking changes

  • removed cria.input(...)
  • removed PromptBuilder.input(...)
  • removed exported PromptInput type
  • scope content no longer accepts provider-native input wrappers

Validation

  • npm exec -- ultracite check
  • npm run build
  • npm test

@cpluss cpluss changed the title feat(memory)!: add history plugin and remove input wrappers feat(memory): add history plugin and remove input wrappers Feb 6, 2026
@cpluss
Copy link
Contributor Author

cpluss commented Feb 6, 2026

Superseded by #49 (same changes rebased on latest main, with rewritten commit history and no in commit messages).

@cpluss cpluss closed this Feb 6, 2026
@cpluss cpluss deleted the feat/history-plugin branch February 6, 2026 14:41
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