mirror of
https://github.com/justlovemaki/AIClient-2-API.git
synced 2026-04-30 11:55:55 +03:00
[GH-ISSUE #211] [claude-kiro] Built-in tools fail to execute when using opencode due to excessive compression stripping tool information #151
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/AIClient-2-API-justlovemaki#151
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tickernelz on GitHub (Jan 11, 2026).
Original GitHub issue: https://github.com/justlovemaki/AIClient-2-API/issues/211
Problem Description
I'm experiencing an issue with the tools compression feature in claude-kiro. When using the opencode functionality, built-in tools (such as the todo tool) cannot be executed because critical information about these tools is being stripped during compression. I suspect the compression logic has become too strict in recent changes, as this functionality was working correctly before the latest fix.
Environment Information
Steps to Reproduce
Expected vs Actual Behavior
Expected: Built-in tools should execute properly when using opencode, with all necessary tool information preserved during compression.
Actual: Built-in tools fail to execute because the compression process strips away essential tool metadata and configuration information, making them unavailable at runtime.
Attempts Made
This appears to be a regression introduced by the recent compression improvements, where the logic is now too aggressive in removing what it considers "unused" information, but is actually critical for tool execution.
@justlovemaki commented on GitHub (Jan 11, 2026):
I can use the built-in todo tool. It's possible your single request is too large, causing excessive compression. Please disable unnecessary tools.