Skip to content

Conversation

@Tarquinen
Copy link
Collaborator

@Tarquinen Tarquinen commented Dec 29, 2025

Add LSP tool parameter extraction
Refactor prune.ts for better seperation of concerns
Fully remove all on idle strategy logic
disable pruning edit/write tools to solve #215 that keeps coming up, a real fix would be nice but no idea why this bug happens

Tarquinen and others added 12 commits December 26, 2025 00:48
Sync dev with master after v1.1.2 release
refactor: split prune.ts into inject.ts and prune.ts for SRP
Remove the legacy on-idle LLM analysis feature that was disabled by default. This simplifies the codebase by removing:
- on-idle.ts strategy and prompt
- OnIdle config interface and validation
- Event handler for session.status idle events
- Related documentation

The discard/extract tools remain as the primary pruning mechanism.
Remove dead code and dependencies that were only used by the on-idle feature:
- Delete lib/model-selector.ts (186 lines)
- Remove @tarquinen/opencode-auth-provider
- Remove @ai-sdk/openai-compatible
- Remove ai SDK

This removes 110 transitive packages from the dependency tree.
chore: remove unused on-idle dependencies
Adds write and edit to default protected tools and disables
supersedeWrites strategy to prevent models from outputting
placeholder text to files.

Fixes #215
fix: disable pruning of write/edit tools by default
@Tarquinen Tarquinen merged commit a26121c into master Jan 5, 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