Repository navigation
Linked machines: faster polling and background-work detection; release v1.2.2 - #28
Merged
Merged
Conversation
…n at once A machine with something running is asked for its active list every 3 s instead of every 10 (idle or failing: still 10), each machine on its own clock, counted from when its last answer came back. When a top-level thread leaves the active list, the recent roots are fetched in the same round, so a finished run no longer shows as working, or drops off the deck, until the 30 s refresh.
…s as working t3_thread_list says "completed" as soon as a turn ends, also while the thread waits on subagents, delegated tasks or awaited commands. After each poll of a linked machine, ask t3_thread_wait (untilDelegatedWorkSettled, 1 ms) about each newly finished root, and again every round while it is held. Held roots get a stand-in background task, so the key shows the white spinner and a "background" chip, and done once the work ends.
…ds its finished threads The lists were stored before the questions about held threads came back. This machine's own poll could redraw the keys in between and show a thread that still waits on background work as done for a moment.
hsalazr
changed the base branch from
t3/multi-environment-thread-detection
to
main
November 11, 2026 19:10
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.
This PR now carries the whole 1.2.2 patch: the faster polling from #27 (same commit, unchanged), the background-work detection, and the version bump. #27 is closed in favour of this one, so the release needs one CI run and one merge.
What changes for linked machines
Faster polling (was #27)
A finished thread still held by background work shows as working
t3_thread_listsayscompletedas soon as a turn ends, also while the thread still waits on subagents or on a command its agent is waiting for.t3_thread_waitwithuntilDelegatedWorkSettled: trueandtimeoutMs: 1answers that at once, with read access, through the link.backgroundchip (Glance: the white stroke). When the work ends it goes through the same 30 s grace as a thread on this machine, then turns green.Release
package.json, the lockfile andPLUGIN_VERSION; the change log's entries move under[1.2.2].npm run noticeschanged nothing.Limits
t3_thread_list. If it ships, this can read that and drop the extra calls.Testing
npm test: 198 pass, 10 skipped, 0 fail. Typecheck, build andstreamdeck validatepass.test/remotes.test.ts. The main ones fail with their change removed.