@@ -34,6 +34,8 @@ st2 --help
3434pty --help
3535st2 hooks install
3636st2 hooks verify
37+ st2 claude-channel install
38+ st2 claude-channel status
3739```
3840
3941When upgrading, deploy and activate the compatible ` pty ` before this version of
@@ -94,6 +96,18 @@ current inbox; pre-compact preserves a recovery breadcrumb when no context was w
9496failure hooks surface newly arrived work or a harness failure. They fail open so hook trouble does
9597not prevent the harness from starting or stopping.
9698
99+ ` st2 claude-channel install ` publishes the Claude Code marketplace and plugin embedded in the st2
100+ binary. It registers the plugin for the current user and installs one machine policy fragment with
101+ ` sudo ` . The policy approves the stable ` st2-channel@st2 ` identity. The plugin starts the st2 MCP
102+ server through the managed task's ` PATH ` , ` CATALOG ` , and ` ST_AGENT ` ; it writes no ` .mcp.json ` file
103+ into a product workspace. Re-running the command updates the marketplace and reinstalls the exact
104+ embedded plugin. ` st2 claude-channel status ` verifies all four parts. ` uninstall ` removes only the
105+ st2 user state and its policy fragment. Installation is optional. When the plugin is absent, the
106+ native driver passes an inline MCP declaration and uses Claude's development channel. Claude can
107+ show a confirmation prompt on that path, so install the plugin for unattended agents. Claude treats
108+ the managed plugin list as an allowlist. Administrators must include any other approved channel
109+ plugins in their managed policy.
110+
97111The same immutable set also carries ` pi-channel.ts ` . pi has no hook mechanism of its own — an
98112extension is where a pi session exposes that surface — so st2 ships one and ` st2 driver pi-session `
99113splices it into the launch from the set this binary verified. A declaration never names it, and a
@@ -604,7 +618,7 @@ st2 service uninstall
604618ls, up, down, validate, doctor
605619message, ding, agents, status, context, resource, rename, describe
606620env, pty, shell, pretrust
607- hooks, service, eval
621+ hooks, service, claude-channel, eval
608622agent digest, agent publish
609623catalog bootstrap, catalog snapshot, catalog apply
610624completions
0 commit comments