mirror of
https://github.com/binhong87/obsidian-note-agent.git
synced 2026-07-22 06:52:10 +00:00
No description
Replaces the simple token-budget trimmer with a ContextManager that derives budgets from per-model context windows, auto-compacts older turns into a rolling summary once pressure crosses a threshold, and exposes a stable prefix boundary so providers with prompt caching (Anthropic) can reuse it. Adds a "compacting" status in the UI and persists the summary alongside the conversation. Co-Authored-By: Claude Opus 4 <noreply@anthropic.com> |
||
|---|---|---|
| docs/superpowers | ||
| src | ||
| tests | ||
| .gitignore | ||
| CLAUDE.md | ||
| esbuild.config.mjs | ||
| main.css | ||
| main.js | ||
| manifest.json | ||
| package-lock.json | ||
| package.json | ||
| styles.css | ||
| tsconfig.json | ||
| vitest.config.ts | ||