Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins
TypeScript ai-agentcoding-agentdesktop-appelectronglobali18nlocal-firstmcppipi-agentpi-desktoppluginsreactrusttypescript
docs(runtime): clarify explicit Bash job selector defaults
Aulia Aisyah6b4c24393128
diff --git a/docs/spec/03-runtime/02-agent-runtime.md b/docs/spec/03-runtime/02-agent-runtime.mdindex 159f2ae92..5be9f88fe 100644--- a/docs/spec/03-runtime/02-agent-runtime.md+++ b/docs/spec/03-runtime/02-agent-runtime.md@@ -2007,8 +2007,12 @@ TaskWait and TaskStop accept one explicit `job`. For a delegation job,are harmless); conflicting or malformed selectors fail before dispatch withinstructions to omit `job` for multi-subagent selection. `mode` and`minCompleted` are ignored for this single-target form; TaskWait still honors-`timeoutSeconds`. For a Bash job, combining it with `delegationIds`, `mode` or-`minCompleted` remains an error with corrective usage instructions. Omitting+`timeoutSeconds`. For a Bash job, `delegationIds` may be omitted or empty,+`mode` may be omitted, `all`, or `any`, and `minCompleted` may be omitted or 1.+These redundant single-target options do not change the selected Bash job.+Nonempty delegation IDs (even the Bash job ID), malformed options, or a+completion count other than 1 fail before dispatch with corrective usage+instructions. Omitting`job` preserves the existing delegation defaults, including stop-all-delegates.A Bash job never joins those implicit target sets. A legacy backgroundTaskIdcan be addressed as `{kind: "bash", id: backgroundTaskId}`.