Repository navigation
Mark awaited background commands and use thread search snippets in the adapter - #48
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adopts the two opportunities listed in #47. Both are T3 capabilities from the
cfdfc2acontract that the adapter did not use yet. All edits are inskills/poteto-mode/references/t3-adapter.md.Changes
t3_background_wait(fix(threads): Working holds only background work the agent waits on pingdotgg/t3code#24610). "Long shell commands on Claude" now passes the background command's task ID tot3_background_waitbefore the turn ends. The thread stays in Working instead of the inbox, T3 does not settle it while the command runs, and a T3 restart that kills the command wakes the thread with a note. Dev servers and watchers stay unmarked.t3_thread_searchmessage matches (feat(search): Cmd+K finds the right thread first, with indexed message search pingdotgg/t3code#24343). "Earlier chats" now says a message match carriessource,snippet, andmessageCreatedAt, so recall and reflect pick threads from snippets before paging throught3_thread_read. Message matches fill at most a fifth oflimit, so a content search passeslimit: 50. Search skips subagent threads.Not adopted
"A merged dependency PR can end the run" keeps its unlink and relink rule. A mark holds settlement only while the command runs. When it ends, T3 sweeps the thread again and can settle it before the command's wake starts a turn.
Version
0.11.0 to 0.11.1 (patch, because the adapter changed).
Checks
bun run check: 264 plugin files, 13 drift entries, upstream 0.15.32 @ 9580c23, T3 @ cfdfc2abun test tools: 39 passbun run typecheck: pass