Skip to content

0.9.161

Latest

Choose a tag to compare

@michael-denyer michael-denyer released this 30 Nov 03:39
· 4 commits to main since this release
c0f0cfa

On Pi with pi agent host: t3, a steer that T3 Code does not answer now gives up after ten times the kill grace, 50 seconds by default. The run then goes on, and send_message resumes the agent with the message once the run ends. Before, both send_message and the run waited for that answer until stop_agent, and the open request could keep a pi -p process alive after its output. When T3 Code puts a message in the thread after pstack has stopped following the agent's run, send_message now says that, instead of saying that no run reads the reply, because T3 Code's run can still be going. Follows #566. Thanks to @xinlihhh (#584).

The standalone babysit skill now covers a Claude Code cloud session, where gh pr view, gh pr checks, and gh pr ready fail with a GraphQL refusal. There it takes PR status from watch-pr --status-only, which reads the PR over REST, re-reads it every few minutes in place of gh pr checks --watch while checks run, treats a head that still reports no check runs or commit statuses after a minute as having no CI, reads comments, reviews, and CI logs with the REST commands in cloud-session-pr-reads.md, and marks a PR ready through the proxy's ccr/ready_for_review route. That reference adds a read for a PR's conversation comments, which gh pr view --json comments returns, and documents the ccr/ready_for_review route. From @abc123931 (#577, related to #494).

On Pi with pi agent host: orca, an agent's tab is now titled with its description and its id, as in review the diff (a1b2c3d4e5f6a7b8), so you can tell which agent a tab belongs to. A message that send_message sends while stop_agent is ending the agent is no longer counted as taken, since pi is stopped before it reads it. send_message now reports that the message was not delivered. Follows #571. Thanks to @xinlihhh (#585).

open-pstack --only with a value that has no ids, such as ,,, or blank space, now exits 2 with its usage message, as --only= did. It used to exit 0. Staging also replaces a broken symlink where the plugin copy goes, instead of failing with ENOTDIR. Thanks to @baoxiaohanly-cmd (#581).

On Pi, the session-start mandate now names its seven skills by the bare names Pi lists them under, such as poteto-mode and tdd, instead of pstack:poteto-mode and pstack:tdd, which match no entry in Pi's skill catalog. The shared hook text keeps the pstack: form for Claude Code, and a pstack:<name> that is not a skill, such as an agent type, keeps its prefix. Thanks to @Arobotmaster for the report (#587, issue #578).

watch-pr takes --head <sha>, the commit just pushed to the PR's branch, as a full or short SHA. For about 2 seconds after a push, GitHub still reports the previous head with that head's merge state and checks. A watch started then reported them as current, such as a merge conflict that the push had resolved. With --head, a read that reports another head retries until GitHub first reports the pushed commit, and the watch then follows later pushes as before. A head that never appears, such as a mistyped SHA, ends with exit 7 once the retries reach --max-query-errors. --head watches one PR, so --stack and --queued-stack refuse it. The Babysit playbook passes it after a push (#588, issue #563).

On Pi with pi agent host: orca, an Orca structured worker, the Pi that Orca's orchestration worker-start runs, now opens each agent in an Orca tab instead of running it as an RPC child. Orca gives such a worker ORCA_TERMINAL_HANDLE and ORCA_CLI_COMMAND but no ORCA_WORKTREE_ID or ORCA_WORKSPACE_ID, and the extension required one of the two. It now needs only the first two, and without a workspace id it opens the tab with terminal create --worktree path:<dir>, where <dir> is the git top level of the parent session's working directory, or that directory itself when git gives no top level, as outside a git repository. Before it opens such a tab, the extension asks Orca with worktree show whether <dir> is a workspace Orca registered. When Orca does not confirm it, for example because it is not registered, Orca does not answer within 10 seconds, or its CLI is missing, the agent runs as an RPC child, as before. The Pi in Orca's chat panel now opens agents in tabs too. Orca gives it ORCA_STRUCTURED_SESSION and ORCA_CLI_COMMAND but no terminal handle and no workspace id, and the extension now takes ORCA_STRUCTURED_SESSION in place of the handle. Thanks to @xinlihhh (#586).