Repository navigation
Comparing changes
Open a pull request
base repository: pingdotgg/t3code
base: main
head repository: pingdotgg/t3code
compare: fix/issue-30240
- 11 commits
- 3 files changed
- 2 contributors
Commits on Nov 3, 2026
-
test(opencode): reproduce #30240, prompt sent while T3 MCP is pending
The adapter adds T3's MCP server and prompts at once; OpenCode still reports the server pending, so its tools arrive mid-turn. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1f2eeb3 - Browse repository at this point
Copy the full SHA 1f2eeb3View commit details -
fix(opencode): prompt only once OpenCode has connected T3's MCP server
OpenCode 2 answers mcp.add for a fresh Location while the server is still pending, so T3's tools joined the Code Mode catalog mid-turn and restarted Claude-backed turns. After adding, read mcp.list and wait for mcp.status.changed until the server settles, bounded by INVENTORY_TIMEOUT. A server that does not connect keeps the instructions without T3's tools. Fixes #30240 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4dab4e7 - Browse repository at this point
Copy the full SHA 4dab4e7View commit details -
fix(opencode): let OpenCode load T3's MCP tools before prompting
OpenCode reports T3's MCP server connected before its tool registry picks up the tools on a 100 ms debounced reload, and nothing reports that reload. A prompt sent in that gap still gets the tools mid-turn, which restarts Claude-backed turns. Watch the server's mcp.status.changed from before mcp.add. When this turn's add (re)connected it, wait 300 ms before prompting. An unchanged re-add of a connected server emits no status change on OpenCode 2.2.5, so steady-state turns pay nothing. Fixes #30240 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1cfb53d - Browse repository at this point
Copy the full SHA 1cfb53dView commit details -
fix(opencode): settle on a first MCP registration even if its event t…
…rails OpenCode's status event can reach T3 after the mcp.list reply that already reads connected, which skipped the settle on a thread's first registration. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6052e44 - Browse repository at this point
Copy the full SHA 6052e44View commit details -
Configuration menu - View commit details
-
Copy full SHA for 398a71b - Browse repository at this point
Copy the full SHA 398a71bView commit details -
fix(opencode): withdraw a T3 MCP server that is still connecting at p…
…rompt time A server still pending when the connected wait times out could finish its handshake after the prompt and add T3's tools mid-turn. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 71185ad - Browse repository at this point
Copy the full SHA 71185adView commit details -
Configuration menu - View commit details
-
Copy full SHA for bd8abbe - Browse repository at this point
Copy the full SHA bd8abbeView commit details
Commits on Nov 10, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 95e4eb4 - Browse repository at this point
Copy the full SHA 95e4eb4View commit details -
fix(opencode): tell a dropped T3 MCP server from a live one by its st…
…atus before the add A reconnect's status event can trail the list reply, so an add after idle eviction could prompt before OpenCode loaded T3's tools. List the server's status before re-adding instead of racing the event. AI-assisted; verified with the tests and tools listed above. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2d32160 - Browse repository at this point
Copy the full SHA 2d32160View commit details -
fix(opencode): withdraw T3's MCP server when its add fails or times out
OpenCode keeps connecting a server whose add request timed out, so its tools could still join mid-turn. A failed add now takes the same withdrawal as a server that is still connecting, under one timeout for the add and the wait. AI-assisted; verified with the tests and tools listed above. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 270b791 - Browse repository at this point
Copy the full SHA 270b791View commit details
Commits on Nov 11, 2026
-
fix(opencode): settle T3's MCP tools when a reconnect lands during th…
…e add A server that read connected before the add could still be reconnected by it, so the turn skipped the tool settle. Seeing it pending after the add, or a reconnect that forgot it, now counts as a join too. AI-assisted; verified with the tests and tools listed above. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3d15106 - Browse repository at this point
Copy the full SHA 3d15106View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff main...fix/issue-30240