Skip to content

Conversation

@Tarquinen
Copy link
Collaborator

Summary

  • Add new context_pruning tool that allows explicit, on-demand pruning of conversation context
  • Refactor configuration system to use strategies-based approach for clearer organization
  • Rename 'llm-analysis' strategy to 'ai-analysis' for improved clarity
  • Improve tool output formatting and add usage examples to the context_pruning tool description

Changes

  • New Feature: context_pruning tool enables users to explicitly request context pruning when needed
  • Config Refactor: Moved to a strategies-based configuration system
  • Terminology: Changed 'llm-analysis' to 'ai-analysis' for clearer naming
  • UX: Enhanced tool output formatting and added helpful usage examples

Version

Bumps version from 0.3.14 to 0.3.15

- Add AI-callable context_pruning tool that lets the model trigger pruning on demand
- Replace pruningMode (auto/smart) with strategies config (onIdle/onTool arrays)
- Add config validation with automatic backup (.bak) and reset on deprecated keys
- Show toast notification when config is upgraded
- Refactor janitor to support both idle-triggered and tool-triggered pruning
…ing description

- Add detailed usage guidance and examples to context_pruning tool description
- Extract shared formatting helpers in janitor (groupDeduplicationDetails, formatDeduplicationLines, formatToolSummaryLines)
- Add formatPruningResultForTool method for structured tool output
- Remove unused protectedTools parameter from buildAnalysisPrompt
- Update janitor to use 'ai-analysis' strategy name
- Remove extra blank line between imports in index.ts
- Remove space inside empty catch callback braces
- Fix trailing newline in prompt template causing double blank line
@Tarquinen Tarquinen merged commit 4672eca into master Nov 26, 2025
1 check passed
@Tarquinen Tarquinen deleted the feat/context-pruning-tool branch November 26, 2025 04:27
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