interface CmuxAgentHookCommand { type: "command"; command: string; } interface CmuxAgentHookGroup { hooks: readonly CmuxAgentHookCommand[]; } export interface CmuxAgentHookSettings { hooks: Record; } /** * Claude Code hook settings that report the agent's own lifecycle to the cmux * sidebar. Passed to the agent as `--settings ` (Layer A of the live * activity bridge), so the panel reflects what the agent is doing within a * session rather than the single coarse milestone the orchestrator can paint. * * Each hook calls `cmux set-progress` against `$CMUX_WORKSPACE_ID` — present in * the safehouse cmux env-pass allowlist, so the call reaches cmux from inside * the sandbox and resolves identity by id rather than the brittle title match. * The call is guarded and best-effort: a missing workspace id or a cmux failure * is swallowed so a hook never breaks the agent. */ export declare function buildCmuxAgentHookSettings(input: { agent: string; }): CmuxAgentHookSettings; export declare function cmuxAgentHookSettingsJson(input: { agent: string; }): string; export {}; //# sourceMappingURL=cmuxAgentHooks.d.ts.map