mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 13:03:42 +00:00
- Add contextTransform option to Agent (runs before messageTransformer) - Deep copy messages before passing to contextTransform (modifications are ephemeral) - Add ContextEvent and ContextEventResult types - Add emitContext() to HookRunner (chains multiple handlers) - Wire up in sdk.ts when creating Agent with hooks Enables dynamic context pruning: hooks can modify messages sent to LLM without changing session data. See discussion #330. |
||
|---|---|---|
| .. | ||
| custom-tools.md | ||
| extension-loading.md | ||
| hooks-v2.md | ||
| hooks.md | ||
| rpc.md | ||
| sdk.md | ||
| session-tree-plan.md | ||
| session-tree.md | ||
| session.md | ||
| skills.md | ||
| theme.md | ||