Skip to content

Conversation

@Tarquinen
Copy link
Collaborator

@Tarquinen Tarquinen commented Jan 17, 2026

Failed tools throw errors instead of returning error strings
Show prunable list instead of cooldown injection on failed tool
Log tool error parts
add info about cache hit rates and new commands to readme
add /dcp commands (context, stats)
config and json schema updates for new commands
update system prompts for recent changes to injection style (tool parts replacing user parts)
update system prompts to clarify context_info is not available to the model

Tarquinen and others added 18 commits January 16, 2026 18:15
Sync dev with master after v1.2.3 release
- Tools now throw errors for validation failures, resulting in status: 'error'
- Cooldown only triggers when prune tool completes successfully
- Logger now captures tool status and error fields for debugging
fix: throw errors on prune tool failures instead of returning strings
docs: add cache hit rate statistics to README
- Add /dcp-stats command showing session and all-time pruning statistics
- Add /dcp-context command with visual token breakdown by category
- Extract command handler to createCommandExecuteHandler in hooks.ts
- Consolidate countTokens wrapper in strategies/utils.ts
- Switch tokenizer from gpt-tokenizer to @anthropic-ai/tokenizer
- Add loadAllSessionStats for aggregating stats across sessions
feat: add /dcp-stats and /dcp-context commands
- Explain that context_info is an environment-only tool
- Add explicit instruction that model must not call it
- Correct message role from user to assistant
The bullet point 'NEVER acknowledge discard/extract tool output' already
covers this behavior, making the sentence redundant and awkwardly placed.
- Add commands section to config with context and stats sub-configs
- Each command has an enabled boolean (default: true)
- Commands check config before executing and log when disabled
- Update README with commands documentation
- Fix spacing in dcp-context UI output
feat: add commands config for enabling/disabling slash commands
…njection

clarify context_info tool injection mechanism
- Use braille character for Tools row in breakdown chart
- Remove complex DCP savings visualization
- Keep simple summary with current/without-DCP token counts
- Replace /dcp-stats and /dcp-context with /dcp stats and /dcp context
- Simplify commands config from { enabled: true } to just boolean
- Add help screen shown when /dcp is run without arguments
- Make argument parsing future-proof for commands with multiple args
refactor: unify commands into single /dcp with subcommands
@Tarquinen Tarquinen merged commit 859933d into master Jan 20, 2026
1 check passed
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.

2 participants