mirror of
https://github.com/stablyai/orca.git
synced 2026-11-15 18:37:24 +00:00
- terminal.close closes only terminals of the focused workspace (the check terminal.sendText uses) or ones this plugin opened with terminal.create or agent.launch, recorded in a bounded per-plugin registry that is forgotten when its worker stops or it is disabled or removed. terminal.focus stays any-terminal; summaries and terminal:send copy say so. - Lifecycle events carry the worktree's identity and host: from the new row on create, and read host-qualified before the purge on every removal path. agent.status.changed looks up the identity on the reporting host only. The global removed-identity map is gone. - includeStatus shares one in-flight worktree.ps and a 1 s cache across plugins, and reports statusTruncated when that listing stopped short. - Stored remote contexts get their identity host-qualified; panels and editors never get a raw, path-bearing workspace id from readContext or workspace.changed. - Runtime refusals map to fixed messages (tab pinned, no window, tab gone, host disconnected); any other runtime error or malformed answer is a fixed action_failed with the detail logged. - hostId is `local`, `ssh:` or `runtime:` in both workspace.list and project.list; rows past the id or path bounds are left out with truncated set instead of failing the list. - The mock testing host answers terminal.focus and terminal.close by default.