Repository navigation
fork: bot threads in their own environment - #84
Merged
Merged
Conversation
Owner
Author
ribeirogab
force-pushed
the
fork/bot-threads
branch
from
November 28, 2026 21:34
258f2c2 to
2b4b3c4
Compare
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.





Bots that use T3 Code over MCP open their threads on the same server as the owner. Every run adds one more row to the sidebar, mixed with the owner's own work, and each bot thread opens with a composer even though the owner only watches it.
Fix
botsEnvironment: truein its ownsettings.json. This is a per-server fork setting, defaults to false, and is not shared with other servers./never starts a draft in a bots environment project./bots. It shows a dot when a bot works, waits for the owner, or has an unseen failure./botsis a sidebar utility page with the upstream Back button, which returns to the page that was open before.<folder>/<Bot>: <task>, or<Bot>: <task>without a folder.localStorage.Run N of Mwith arrows to its other runs, and Stop. Stop uses the chat view's interrupt. The composer comes back while the run waits for an approval or an answer.mainAppLocation, the chat view and the index route. The route tree gains/bots. There is no migration.Thread shells always carry
latestVisibleMessage: null, because message bodies stay in thread detail. Bot rows therefore show the task, the status and the last error, not the agent's live text, and the page opens no detail stream per bot.Tests
botThreads.logic.test.ts: title parsing, grouping and order, folder filter (including a saved folder that no longer exists), overview counts, the footer dot, run position and row details.sidebarFooterItems.logic.test.ts: thebotsitem with the toggle off, with no bots environment, and shown.BotWatchBar.browser.test.tsx: the bar shows the bot, its status andRun 2 of 3; Stop calls the interrupt; the arrows open the neighbor runs; Stop is hidden when the run cannot be stopped; the composer returns for approvals and questions; threads of other environments keep the composer./botswith All and one folder, the bar and its arrows, Stop on a running Replay turn, Back to the previous thread, and the toggle off and on.Screenshots follow in a comment. Host names and project names in them are masked.