Repository navigation
A running script's shells stay out of the background pill (opencode#66402) - #1273
Merged
Merged
Conversation
…6402) A shell names the call that started it (metadata.callID): for a script's shell, the script's execute call. A running execute call now holds the running shells that name it, unless the shell has a running job of its own (its call ended while it runs); a server that names no call is matched by the calls the script lists, as before. Official: packages/app/src/session/requests/background.ts:196-210.
Hona
added a commit
that referenced
this pull request
Nov 25, 2026
#1274) Four new official commits since 57551d990d: two of the server's are skipped (6e01a86973, 29c4e472d4). UP-241 (dfce18305d: a running script's shells stay out of the background pill) is ported in a draft, #1273, not run. UP-242 (028cd6ce91: question answers submitted with Enter, with a setting for Cmd/Ctrl+Enter) is not ported yet.
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.
Port of the app part of opencode#66402 (
dfce18305d, UP-241: keep a running script's shells out of the background pill).What changes
A Code Mode script that is still running in the conversation may start shells. Those shells belong to the script's row and must not be counted in the background pill above the composer.
executecall (metadata.callID),packages/app/src/session/requests/background.ts:208-209; else by the calls the script lists,:210features/subagents/src/shells/mod.rsrunning_for)background.ts:196-199How
Shelltakescallfrommetadata.callID(empty when the server names none).running_forkeeps a runningexecutecall's id beside its start time and commands, and reads the running shell jobs from the job tracker.One file (
features/subagents/src/shells/mod.rs); no manifest, lock, profile or plugin contract change.Verification
6d78b81cb, run45704937979) beside a before build (278f9aaf38):metadata.callID, emptytoolCalls): background pill hidden (NONE); before:"1 shell".callID): background pill shows"1 shell"; before:"2 shells".Job.Shelltimeout job): background pill shows"1 shell".callID,toolCallslisting command): background pill hidden (NONE).origin/devinto branch (8faf5fa686, 0 overlapping files) to verify cleanly on the current Rune pin before merge.