Skip to content

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

Merged
cpluss merged 4 commits intomainfrom
feat/history-plugin-no-bang
Feb 6, 2026
Merged

feat(memory): add history plugin and remove input wrappers#49
cpluss merged 4 commits intomainfrom
feat/history-plugin-no-bang

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
  • use a class-based plugin implementation for history

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 merged commit d8e1ada into main Feb 6, 2026
1 check passed
@cpluss cpluss deleted the feat/history-plugin-no-bang branch February 6, 2026 14:40
@github-actions
Copy link

github-actions bot commented Feb 6, 2026

🎉 This PR is included in version 1.7.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant