Repository navigation
0.9.158
On Pi, a pi agent host: t3 line in the sheet runs each agent without a worktree as a T3 Code child thread of the session's thread, when the session runs inside T3 Code. The extension starts it with T3 Code's delegate_task, on the agent's model and effort. send_message steers a running agent or resumes it in the same thread, stop_agent cancels its task, and the reply is the task's result. The agent file's body goes at the top of the first message, because a T3 Code thread takes no launch flags. The effort goes to T3 Code only when it lists that level for the model. A worktree agent and the agents it starts stay local processes in the worktree. A readonly: true agent and an agent at the depth limit stay local processes too, because T3 Code cannot remove a thread's tools. When T3 Code refuses a cancel, stop_agent still returns, with the refusal as the agent's text, and when T3 Code accepts it but the thread has not settled after the kill grace, stop_agent returns then. A resumed session cancels the task of an agent whose launching Pi is gone, and the agent stays unavailable until T3 Code confirms the cancel or reports that the task has ended. Outside T3 Code, where T3_MCP_URL and T3_MCP_BEARER_TOKEN are unset, the line has no effect, and the sheet can carry it beside pi agent host: hc. The extension now records each agent's host when the agent starts, and every later run uses it, so a T3 agent can be messaged only from a Pi session inside T3 Code, even when its first launch failed. With pi agent host: hc, an agent started outside herdr-core now stays an RPC child when it is messaged inside herdr-core. An hc agent messaged outside herdr-core still runs that turn as an RPC child. An agent started before this change has no recorded host, so it resumes as an RPC child, even an hc agent inside herdr-core. Follows #447. Thanks to @xinlihhh (#554).
watch-pr reports a merge conflict (exit 2) at once when GitHub marks the current head as conflicting and has reported no checks for it. This holds for the default watch, --queued-stack, and --status-only. A mergeable head with missing checks still retries. A status read now retries when either merge field changes between its two reads, except a field whose first value was unknown, so a conflict that clears between the reads is not reported. For about 2 seconds after a push, GitHub still reports the previous head, so a watch started in that window can read the old head's conflict (#563). Thanks to @Golden007-prog (#561, issue #559).