aicodeman 1.41.0 → 1.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +101 -21
- package/dist/attachment-registry.d.ts +2 -0
- package/dist/attachment-registry.d.ts.map +1 -1
- package/dist/attachment-registry.js +14 -3
- package/dist/attachment-registry.js.map +1 -1
- package/dist/cli-agent.d.ts +2 -0
- package/dist/cli-agent.d.ts.map +1 -1
- package/dist/cli-agent.js +13 -9
- package/dist/cli-agent.js.map +1 -1
- package/dist/cli.d.ts +25 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +97 -11
- package/dist/cli.js.map +1 -1
- package/dist/config/buffer-limits.d.ts +9 -0
- package/dist/config/buffer-limits.d.ts.map +1 -1
- package/dist/config/buffer-limits.js +9 -0
- package/dist/config/buffer-limits.js.map +1 -1
- package/dist/config/cli-registry/schema.d.ts +10 -0
- package/dist/config/cli-registry/schema.d.ts.map +1 -1
- package/dist/config/cli-registry/schema.js +26 -0
- package/dist/config/cli-registry/schema.js.map +1 -1
- package/dist/config/cli-registry/stock.d.ts.map +1 -1
- package/dist/config/cli-registry/stock.js +89 -6
- package/dist/config/cli-registry/stock.js.map +1 -1
- package/dist/config/cli-registry/types.d.ts +61 -0
- package/dist/config/cli-registry/types.d.ts.map +1 -1
- package/dist/folder-listing.d.ts +94 -0
- package/dist/folder-listing.d.ts.map +1 -0
- package/dist/folder-listing.js +241 -0
- package/dist/folder-listing.js.map +1 -0
- package/dist/git-worktrees.d.ts +292 -0
- package/dist/git-worktrees.d.ts.map +1 -0
- package/dist/git-worktrees.js +791 -0
- package/dist/git-worktrees.js.map +1 -0
- package/dist/hooks-config.d.ts +36 -16
- package/dist/hooks-config.d.ts.map +1 -1
- package/dist/hooks-config.js +45 -20
- package/dist/hooks-config.js.map +1 -1
- package/dist/html-view-capabilities.d.ts +54 -0
- package/dist/html-view-capabilities.d.ts.map +1 -0
- package/dist/html-view-capabilities.js +103 -0
- package/dist/html-view-capabilities.js.map +1 -0
- package/dist/mcp-server.d.ts +114 -0
- package/dist/mcp-server.d.ts.map +1 -0
- package/dist/mcp-server.js +918 -0
- package/dist/mcp-server.js.map +1 -0
- package/dist/mcp-sync.d.ts +5 -0
- package/dist/mcp-sync.d.ts.map +1 -1
- package/dist/mcp-sync.js +51 -5
- package/dist/mcp-sync.js.map +1 -1
- package/dist/mux-interface.d.ts +36 -1
- package/dist/mux-interface.d.ts.map +1 -1
- package/dist/remote-files.d.ts +37 -0
- package/dist/remote-files.d.ts.map +1 -1
- package/dist/remote-files.js +103 -0
- package/dist/remote-files.js.map +1 -1
- package/dist/remote-pane-history.d.ts +103 -0
- package/dist/remote-pane-history.d.ts.map +1 -0
- package/dist/remote-pane-history.js +258 -0
- package/dist/remote-pane-history.js.map +1 -0
- package/dist/remote-ssh-limiter.d.ts +16 -3
- package/dist/remote-ssh-limiter.d.ts.map +1 -1
- package/dist/remote-ssh-limiter.js +37 -6
- package/dist/remote-ssh-limiter.js.map +1 -1
- package/dist/services/unified-session-service.d.ts +8 -0
- package/dist/services/unified-session-service.d.ts.map +1 -1
- package/dist/services/unified-session-service.js +21 -0
- package/dist/services/unified-session-service.js.map +1 -1
- package/dist/session-activity.d.ts +51 -0
- package/dist/session-activity.d.ts.map +1 -1
- package/dist/session-activity.js +62 -0
- package/dist/session-activity.js.map +1 -1
- package/dist/session-submit-verifier.js +1 -1
- package/dist/session.d.ts +90 -2
- package/dist/session.d.ts.map +1 -1
- package/dist/session.js +247 -9
- package/dist/session.js.map +1 -1
- package/dist/tab-layout-legacy-order.d.ts.map +1 -1
- package/dist/tab-layout-legacy-order.js +72 -13
- package/dist/tab-layout-legacy-order.js.map +1 -1
- package/dist/tab-layout-service.d.ts +33 -2
- package/dist/tab-layout-service.d.ts.map +1 -1
- package/dist/tab-layout-service.js +102 -7
- package/dist/tab-layout-service.js.map +1 -1
- package/dist/tab-layout.d.ts +9 -0
- package/dist/tab-layout.d.ts.map +1 -1
- package/dist/tab-layout.js +15 -2
- package/dist/tab-layout.js.map +1 -1
- package/dist/tmux-manager.d.ts +130 -7
- package/dist/tmux-manager.d.ts.map +1 -1
- package/dist/tmux-manager.js +263 -36
- package/dist/tmux-manager.js.map +1 -1
- package/dist/types/session.d.ts +53 -0
- package/dist/types/session.d.ts.map +1 -1
- package/dist/types/session.js.map +1 -1
- package/dist/usage-telemetry.d.ts +44 -7
- package/dist/usage-telemetry.d.ts.map +1 -1
- package/dist/usage-telemetry.js +72 -7
- package/dist/usage-telemetry.js.map +1 -1
- package/dist/utils/deepseek-cli-resolver.d.ts.map +1 -1
- package/dist/utils/deepseek-cli-resolver.js +1 -1
- package/dist/utils/deepseek-cli-resolver.js.map +1 -1
- package/dist/web/approval-inbox.d.ts +24 -2
- package/dist/web/approval-inbox.d.ts.map +1 -1
- package/dist/web/approval-inbox.js +8 -2
- package/dist/web/approval-inbox.js.map +1 -1
- package/dist/web/middleware/auth.d.ts.map +1 -1
- package/dist/web/middleware/auth.js +33 -0
- package/dist/web/middleware/auth.js.map +1 -1
- package/dist/web/ports/session-port.d.ts +8 -1
- package/dist/web/ports/session-port.d.ts.map +1 -1
- package/dist/web/public/admin-ui.js.gz +0 -0
- package/dist/web/public/api-client.c9b1cddc.js.gz +0 -0
- package/dist/web/public/app.f04bb2a5.js +43 -0
- package/dist/web/public/app.f04bb2a5.js.br +0 -0
- package/dist/web/public/app.f04bb2a5.js.gz +0 -0
- package/dist/web/public/approvals-ui.js +4 -0
- package/dist/web/public/approvals-ui.js.br +0 -0
- package/dist/web/public/approvals-ui.js.gz +0 -0
- package/dist/web/public/{constants.bc9c1f63.js → constants.12b0c247.js} +395 -7
- package/dist/web/public/constants.12b0c247.js.br +0 -0
- package/dist/web/public/constants.12b0c247.js.gz +0 -0
- package/dist/web/public/cron-ui.js.gz +0 -0
- package/dist/web/public/entrance-animations.js.gz +0 -0
- package/dist/web/public/gesture/gesture-codeman.js +112 -6
- package/dist/web/public/git-status-ui.js.gz +0 -0
- package/dist/web/public/home-sessions.js.gz +0 -0
- package/dist/web/public/host-wake-ui.js.gz +0 -0
- package/dist/web/public/i18n.06659676.js +2 -0
- package/dist/web/public/i18n.06659676.js.br +0 -0
- package/dist/web/public/i18n.06659676.js.gz +0 -0
- package/dist/web/public/image-input.fcdcb46c.js +462 -0
- package/dist/web/public/image-input.fcdcb46c.js.br +0 -0
- package/dist/web/public/image-input.fcdcb46c.js.gz +0 -0
- package/dist/web/public/index.html +169 -24
- package/dist/web/public/index.html.br +0 -0
- package/dist/web/public/index.html.gz +0 -0
- package/dist/web/public/input-cjk.8bc46081.js.gz +0 -0
- package/dist/web/public/{keyboard-accessory.c1e7c7b7.js → keyboard-accessory.b42f539b.js} +124 -44
- package/dist/web/public/keyboard-accessory.b42f539b.js.br +0 -0
- package/dist/web/public/keyboard-accessory.b42f539b.js.gz +0 -0
- package/dist/web/public/mobile-handlers.0ef9c311.js.gz +0 -0
- package/dist/web/public/mobile-ime-preview.2dbaf262.js.gz +0 -0
- package/dist/web/public/mobile-overview.js +11 -2
- package/dist/web/public/mobile-overview.js.br +0 -0
- package/dist/web/public/mobile-overview.js.gz +0 -0
- package/dist/web/public/mobile.2dff1580.css +1 -0
- package/dist/web/public/mobile.2dff1580.css.br +0 -0
- package/dist/web/public/mobile.2dff1580.css.gz +0 -0
- package/dist/web/public/notification-manager.feb82c04.js.gz +0 -0
- package/dist/web/public/orchestrator-panel.js.gz +0 -0
- package/dist/web/public/{panels-ui.71846fcb.js → panels-ui.73ec0137.js} +87 -87
- package/dist/web/public/panels-ui.73ec0137.js.br +0 -0
- package/dist/web/public/panels-ui.73ec0137.js.gz +0 -0
- package/dist/web/public/ralph-panel.b350e2ef.js.gz +0 -0
- package/dist/web/public/ralph-wizard.b6c0dd19.js.gz +0 -0
- package/dist/web/public/readmymind-ui.js.gz +0 -0
- package/dist/web/public/reboot-restore-ui.js.gz +0 -0
- package/dist/web/public/{respawn-ui.ff0dae4c.js → respawn-ui.d7adcf6a.js} +1 -1
- package/dist/web/public/respawn-ui.d7adcf6a.js.br +0 -0
- package/dist/web/public/respawn-ui.d7adcf6a.js.gz +0 -0
- package/dist/web/public/sanitize-html.e7147e76.js.gz +0 -0
- package/dist/web/public/session-lineage.js.gz +0 -0
- package/dist/web/public/session-ui.d52ff6aa.js +100 -0
- package/dist/web/public/session-ui.d52ff6aa.js.br +0 -0
- package/dist/web/public/session-ui.d52ff6aa.js.gz +0 -0
- package/dist/web/public/settings-ui.3a22bd2a.js +97 -0
- package/dist/web/public/settings-ui.3a22bd2a.js.br +0 -0
- package/dist/web/public/settings-ui.3a22bd2a.js.gz +0 -0
- package/dist/web/public/spreadsheet-preview-worker.js +11 -0
- package/dist/web/public/spreadsheet-preview-worker.js.br +0 -0
- package/dist/web/public/spreadsheet-preview-worker.js.gz +0 -0
- package/dist/web/public/{spreadsheet-preview.af82fa2f.js → spreadsheet-preview.75c751de.js} +1 -1
- package/dist/web/public/spreadsheet-preview.75c751de.js.br +0 -0
- package/dist/web/public/spreadsheet-preview.75c751de.js.gz +0 -0
- package/dist/web/public/spreadsheet-xlsx-core.js +110 -0
- package/dist/web/public/spreadsheet-xlsx-core.js.br +0 -0
- package/dist/web/public/spreadsheet-xlsx-core.js.gz +0 -0
- package/dist/web/public/styles.ba6a9b84.css +1 -0
- package/dist/web/public/styles.ba6a9b84.css.br +0 -0
- package/dist/web/public/styles.ba6a9b84.css.gz +0 -0
- package/dist/web/public/subagent-windows.07277a58.js.gz +0 -0
- package/dist/web/public/sw.js +6 -2
- package/dist/web/public/sw.js.br +0 -0
- package/dist/web/public/sw.js.gz +0 -0
- package/dist/web/public/tab-layout-browser.2d6189f7.js +1 -0
- package/dist/web/public/tab-layout-browser.2d6189f7.js.br +0 -0
- package/dist/web/public/tab-layout-browser.2d6189f7.js.gz +0 -0
- package/dist/web/public/{tab-rail-resize.a5867793.js → tab-rail-resize.7157e0bd.js} +1 -1
- package/dist/web/public/tab-rail-resize.7157e0bd.js.br +0 -0
- package/dist/web/public/tab-rail-resize.7157e0bd.js.gz +0 -0
- package/dist/web/public/terminal-keycode229-recovery.af09f99a.js.gz +0 -0
- package/dist/web/public/terminal-split.js.gz +0 -0
- package/dist/web/public/terminal-tile.js +45 -24
- package/dist/web/public/terminal-tile.js.br +0 -0
- package/dist/web/public/terminal-tile.js.gz +0 -0
- package/dist/web/public/terminal-ui.0a7ccc29.js +2 -0
- package/dist/web/public/terminal-ui.0a7ccc29.js.br +0 -0
- package/dist/web/public/terminal-ui.0a7ccc29.js.gz +0 -0
- package/dist/web/public/tile-grid.js +439 -18
- package/dist/web/public/tile-grid.js.br +0 -0
- package/dist/web/public/tile-grid.js.gz +0 -0
- package/dist/web/public/ultracode-panel.js.gz +0 -0
- package/dist/web/public/ultracode-windows.js.gz +0 -0
- package/dist/web/public/vendor/dompurify.min.js.gz +0 -0
- package/dist/web/public/vendor/exceljs.min.js.gz +0 -0
- package/dist/web/public/vendor/fflate.min.js.gz +0 -0
- package/dist/web/public/vendor/marked.min.js.gz +0 -0
- package/dist/web/public/vendor/xterm-addon-fit.min.js.gz +0 -0
- package/dist/web/public/vendor/xterm-addon-serialize.min.js.gz +0 -0
- package/dist/web/public/vendor/xterm-addon-unicode11.min.js.gz +0 -0
- package/dist/web/public/vendor/xterm-addon-webgl.min.js.gz +0 -0
- package/dist/web/public/vendor/xterm-predictive-echo.ae5e3d5d.js.gz +0 -0
- package/dist/web/public/vendor/xterm-zerolag-input.0b69623c.js.gz +0 -0
- package/dist/web/public/vendor/xterm.css.gz +0 -0
- package/dist/web/public/vendor/xterm.min.js.gz +0 -0
- package/dist/web/public/voice-input.2342c37b.js.gz +0 -0
- package/dist/web/public/voice-pcm-worklet.js.gz +0 -0
- package/dist/web/public/webview-tabs.js +12 -0
- package/dist/web/public/webview-tabs.js.br +0 -0
- package/dist/web/public/webview-tabs.js.gz +0 -0
- package/dist/web/public/whats-new.json +13 -0
- package/dist/web/route-helpers.d.ts +8 -0
- package/dist/web/route-helpers.d.ts.map +1 -1
- package/dist/web/route-helpers.js +8 -0
- package/dist/web/route-helpers.js.map +1 -1
- package/dist/web/routes/admin-routes.d.ts.map +1 -1
- package/dist/web/routes/admin-routes.js +4 -1
- package/dist/web/routes/admin-routes.js.map +1 -1
- package/dist/web/routes/approval-routes.d.ts.map +1 -1
- package/dist/web/routes/approval-routes.js +12 -10
- package/dist/web/routes/approval-routes.js.map +1 -1
- package/dist/web/routes/case-routes.d.ts.map +1 -1
- package/dist/web/routes/case-routes.js +10 -3
- package/dist/web/routes/case-routes.js.map +1 -1
- package/dist/web/routes/file-routes.d.ts +46 -1
- package/dist/web/routes/file-routes.d.ts.map +1 -1
- package/dist/web/routes/file-routes.js +214 -27
- package/dist/web/routes/file-routes.js.map +1 -1
- package/dist/web/routes/hook-event-routes.d.ts.map +1 -1
- package/dist/web/routes/hook-event-routes.js +8 -1
- package/dist/web/routes/hook-event-routes.js.map +1 -1
- package/dist/web/routes/html-view-routes.d.ts +60 -0
- package/dist/web/routes/html-view-routes.d.ts.map +1 -0
- package/dist/web/routes/html-view-routes.js +288 -0
- package/dist/web/routes/html-view-routes.js.map +1 -0
- package/dist/web/routes/index.d.ts +2 -0
- package/dist/web/routes/index.d.ts.map +1 -1
- package/dist/web/routes/index.js +2 -0
- package/dist/web/routes/index.js.map +1 -1
- package/dist/web/routes/ralph-routes.d.ts.map +1 -1
- package/dist/web/routes/ralph-routes.js +19 -14
- package/dist/web/routes/ralph-routes.js.map +1 -1
- package/dist/web/routes/reboot-restore-routes.js +2 -2
- package/dist/web/routes/reboot-restore-routes.js.map +1 -1
- package/dist/web/routes/session-routes.d.ts +8 -5
- package/dist/web/routes/session-routes.d.ts.map +1 -1
- package/dist/web/routes/session-routes.js +462 -109
- package/dist/web/routes/session-routes.js.map +1 -1
- package/dist/web/routes/status-telemetry-routes.d.ts.map +1 -1
- package/dist/web/routes/status-telemetry-routes.js +24 -6
- package/dist/web/routes/status-telemetry-routes.js.map +1 -1
- package/dist/web/routes/system-routes.d.ts +9 -0
- package/dist/web/routes/system-routes.d.ts.map +1 -1
- package/dist/web/routes/system-routes.js +91 -12
- package/dist/web/routes/system-routes.js.map +1 -1
- package/dist/web/routes/worktree-routes.d.ts +52 -0
- package/dist/web/routes/worktree-routes.d.ts.map +1 -0
- package/dist/web/routes/worktree-routes.js +220 -0
- package/dist/web/routes/worktree-routes.js.map +1 -0
- package/dist/web/schemas.d.ts +45 -0
- package/dist/web/schemas.d.ts.map +1 -1
- package/dist/web/schemas.js +105 -0
- package/dist/web/schemas.js.map +1 -1
- package/dist/web/screen-blocked.d.ts +80 -0
- package/dist/web/screen-blocked.d.ts.map +1 -0
- package/dist/web/screen-blocked.js +106 -0
- package/dist/web/screen-blocked.js.map +1 -0
- package/dist/web/server.d.ts +6 -1
- package/dist/web/server.d.ts.map +1 -1
- package/dist/web/server.js +73 -14
- package/dist/web/server.js.map +1 -1
- package/dist/web/session-listener-wiring.d.ts +1 -0
- package/dist/web/session-listener-wiring.d.ts.map +1 -1
- package/dist/web/session-listener-wiring.js +20 -0
- package/dist/web/session-listener-wiring.js.map +1 -1
- package/dist/web/session-wait-registry.d.ts +27 -9
- package/dist/web/session-wait-registry.d.ts.map +1 -1
- package/dist/web/session-wait-registry.js +36 -13
- package/dist/web/session-wait-registry.js.map +1 -1
- package/dist/web/sse-events.d.ts +12 -4
- package/dist/web/sse-events.d.ts.map +1 -1
- package/dist/web/sse-events.js +12 -4
- package/dist/web/sse-events.js.map +1 -1
- package/package.json +3 -2
- package/skills/codeman/SKILL.md +47 -27
- package/skills/codeman/preamble.sh +14 -11
- package/skills/codeman/reference/endpoints.md +1 -1
- package/skills/codeman/reference/recipes.md +12 -9
- package/skills/codeman/reference/verbs.md +3 -1
- package/dist/web/public/app.6f8552e1.js +0 -43
- package/dist/web/public/app.6f8552e1.js.br +0 -0
- package/dist/web/public/app.6f8552e1.js.gz +0 -0
- package/dist/web/public/constants.bc9c1f63.js.br +0 -0
- package/dist/web/public/constants.bc9c1f63.js.gz +0 -0
- package/dist/web/public/i18n.a9840ea2.js +0 -2
- package/dist/web/public/i18n.a9840ea2.js.br +0 -0
- package/dist/web/public/i18n.a9840ea2.js.gz +0 -0
- package/dist/web/public/image-input.e00471c6.js +0 -283
- package/dist/web/public/image-input.e00471c6.js.br +0 -0
- package/dist/web/public/image-input.e00471c6.js.gz +0 -0
- package/dist/web/public/keyboard-accessory.c1e7c7b7.js.br +0 -0
- package/dist/web/public/keyboard-accessory.c1e7c7b7.js.gz +0 -0
- package/dist/web/public/mobile.111b187d.css +0 -1
- package/dist/web/public/mobile.111b187d.css.br +0 -0
- package/dist/web/public/mobile.111b187d.css.gz +0 -0
- package/dist/web/public/panels-ui.71846fcb.js.br +0 -0
- package/dist/web/public/panels-ui.71846fcb.js.gz +0 -0
- package/dist/web/public/respawn-ui.ff0dae4c.js.br +0 -0
- package/dist/web/public/respawn-ui.ff0dae4c.js.gz +0 -0
- package/dist/web/public/session-ui.f731602c.js +0 -100
- package/dist/web/public/session-ui.f731602c.js.br +0 -0
- package/dist/web/public/session-ui.f731602c.js.gz +0 -0
- package/dist/web/public/settings-ui.4e33390f.js +0 -97
- package/dist/web/public/settings-ui.4e33390f.js.br +0 -0
- package/dist/web/public/settings-ui.4e33390f.js.gz +0 -0
- package/dist/web/public/spreadsheet-preview.af82fa2f.js.br +0 -0
- package/dist/web/public/spreadsheet-preview.af82fa2f.js.gz +0 -0
- package/dist/web/public/styles.81a72906.css +0 -1
- package/dist/web/public/styles.81a72906.css.br +0 -0
- package/dist/web/public/styles.81a72906.css.gz +0 -0
- package/dist/web/public/tab-layout-browser.065fcba4.js +0 -1
- package/dist/web/public/tab-layout-browser.065fcba4.js.br +0 -0
- package/dist/web/public/tab-layout-browser.065fcba4.js.gz +0 -0
- package/dist/web/public/tab-rail-resize.a5867793.js.br +0 -0
- package/dist/web/public/tab-rail-resize.a5867793.js.gz +0 -0
- package/dist/web/public/terminal-ui.b7267005.js +0 -2
- package/dist/web/public/terminal-ui.b7267005.js.br +0 -0
- package/dist/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ACZ,eAAe;IACf,cAAc;IACd,cAAc;IACd,cAAc;IAEd,QAAQ;IACR,WAAW;IACX,WAAW;IACX,WAAW;IACX,eAAe;IAEf,aAAa;IACb,kBAAkB;IAClB,kBAAkB;IAClB,mBAAmB;IACnB,iBAAiB;IAEjB,qBAAqB;IACrB,WAAW;IACX,YAAY;IACZ,YAAY;IACZ,aAAa;IACb,aAAa;IAEb,SAAS;IACT,aAAa;IACb,aAAa;IACb,cAAc;IACd,WAAW;IACX,eAAe;IACf,mBAAmB;IACnB,gBAAgB;IAEhB,QAAQ;IACR,aAAa;IACb,kBAAkB;IAElB,QAAQ;IACR,cAAc;IACd,oBAAoB;IACpB,qBAAqB;IACrB,uBAAuB;IACvB,uBAAuB;IACvB,QAAQ;IACR,gBAAgB;IAChB,gBAAgB;IAChB,iBAAiB;IAEjB,kBAAkB;IAClB,eAAe;IACf,eAAe;IACf,gBAAgB;IAEhB,iCAAiC;IACjC,qBAAqB;IAErB,eAAe;IACf,wBAAwB;IACxB,wBAAwB;IACxB,qBAAqB;IACrB,wBAAwB;IACxB,0BAA0B;IAC1B,uBAAuB;IACvB,wBAAwB;IACxB,wBAAwB;IACxB,yBAAyB;IACzB,sBAAsB;IACtB,qBAAqB;IACrB,iBAAiB;IAEjB,YAAY;IACZ,cAAc;IAEd,QAAQ;IACR,WAAW;IACX,UAAU;IACV,WAAW;IACX,gBAAgB;IAEhB,eAAe;IACf,oBAAoB;IACpB,kBAAkB;IAClB,oBAAoB;IACpB,uBAAuB;IACvB,wBAAwB;IACxB,wBAAwB;IACxB,sBAAsB;IACtB,iBAAiB;IACjB,0BAA0B;IAC1B,wBAAwB;IAExB,wCAAwC;IACxC,mBAAmB;IAEnB,4BAA4B;IAC5B,cAAc;IACd,gBAAgB;CACR,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aicodeman",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.42.0",
|
|
4
4
|
"description": "Self-hosted mission control for AI coding agents: run Claude Code, Codex, OpenCode, Gemini, DeepSeek, Grok and more 24/7 in tmux, from any device.",
|
|
5
|
+
"mcpName": "io.github.Ark0N/codeman",
|
|
5
6
|
"type": "module",
|
|
6
7
|
"main": "dist/index.js",
|
|
7
8
|
"types": "dist/index.d.ts",
|
|
@@ -38,7 +39,7 @@
|
|
|
38
39
|
"check:public-assets": "node scripts/check-public-assets.mjs",
|
|
39
40
|
"capture:subagents": "node scripts/capture-subagent-screenshots.mjs",
|
|
40
41
|
"changeset": "changeset",
|
|
41
|
-
"version-packages": "changeset version && node scripts/sync-plugin.mjs && npm install --package-lock-only && node scripts/check-lockfile-sync.mjs",
|
|
42
|
+
"version-packages": "changeset version && node scripts/generate-whats-new.mjs && prettier --write src/web/public/whats-new.json && node scripts/sync-plugin.mjs && npm install --package-lock-only && node scripts/check-lockfile-sync.mjs",
|
|
42
43
|
"check:lockfile": "node scripts/check-lockfile-sync.mjs",
|
|
43
44
|
"check:plugin": "node scripts/sync-plugin.mjs --check && claude plugin validate --strict plugins/codeman && claude plugin validate --strict .claude-plugin/marketplace.json",
|
|
44
45
|
"knip": "npx --yes knip@latest --config config/knip.json",
|
package/skills/codeman/SKILL.md
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: codeman
|
|
3
3
|
description: >-
|
|
4
|
-
Drive Codeman, the session manager this agent is running inside, over its HTTP API
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
Drive Codeman, the session manager this agent is running inside, over its HTTP API,
|
|
5
|
+
from any agent CLI (Claude Code, Codex, Gemini CLI, OpenCode, Antigravity, Grok
|
|
6
|
+
Build, DeepSeek Harness, OMP): list sessions, start worker sessions in any installed
|
|
7
|
+
CLI, send them prompts, block until they finish (wait / wait-output / send-and-wait),
|
|
8
|
+
read their output, and clean up; where available, message claude workers directly
|
|
9
|
+
(Claude Code cross-session messaging). Use when asked to orchestrate or parallelize
|
|
10
|
+
work across Codeman sessions, get a second opinion from another CLI or model, watch
|
|
9
11
|
another session, or start and manage workers. Only usable inside a Codeman-managed
|
|
10
12
|
session (CODEMAN_MUX=1); refuse to act otherwise.
|
|
11
13
|
---
|
|
@@ -29,17 +31,31 @@ worked multi-worker flows in [reference/recipes.md](reference/recipes.md), endpo
|
|
|
29
31
|
tables and a symptom gallery in [reference/endpoints.md](reference/endpoints.md), and
|
|
30
32
|
direct messaging to claude workers in [reference/messaging.md](reference/messaging.md).
|
|
31
33
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
This skill works the same whichever CLI you are: Codeman puts it where each CLI looks
|
|
35
|
+
for skills (`.claude/skills/` for Claude Code, `.agents/skills/` for Codex, Gemini CLI,
|
|
36
|
+
OpenCode, Antigravity, Grok, DeepSeek and OMP). A **pi** or **shell** worker never gets
|
|
37
|
+
it, but has the same environment: tell it *"other sessions: `codeman agent --help`"*.
|
|
38
|
+
That bundled CLI (`ls`, `spawn`, `send`, `wait`, `read`, `interrupt`, `rm`) is the same
|
|
39
|
+
verbs over the same endpoints, with the guards below (no control bytes, no self-delete,
|
|
40
|
+
no guessed URL) enforced in code, and it is also your own way through when this
|
|
41
|
+
machine has no `jq` for the preamble below.
|
|
37
42
|
|
|
38
43
|
## 0. Guard and bootstrap
|
|
39
44
|
|
|
40
45
|
If `CODEMAN_MUX` is not `1`, **stop and say so**. Do not guess an API URL; a server
|
|
41
46
|
you are not part of is not yours to drive.
|
|
42
47
|
|
|
48
|
+
Two failures come from your CLI, not from Codeman: name them to the user instead of
|
|
49
|
+
retrying.
|
|
50
|
+
|
|
51
|
+
- **Every call fails at once with "couldn't connect" or "connection refused".** Your
|
|
52
|
+
CLI's sandbox blocks network access, even to this machine. Codex's default sandbox
|
|
53
|
+
does; it needs **Bypass approvals and sandbox** (Codeman App Settings, Codex).
|
|
54
|
+
- **`"${CURL[@]}" -o /dev/null -w '%{http_code}' "$API/api/v1/sessions/$SELF"` prints
|
|
55
|
+
`404`.** The commands you run do not carry this session's environment: Codex can run them in a shared background
|
|
56
|
+
process another session started, so `$CODEMAN_SESSION_ID` (and with it `$SELF` and
|
|
57
|
+
the delete guard) is that session's. Delete nothing; tell the user.
|
|
58
|
+
|
|
43
59
|
⚠️ **Your shell state does not survive between tool calls.** Each Bash call starts a
|
|
44
60
|
fresh shell, so `$API`, `$SELF`, the `CURL` array and `delete_session` are all gone by
|
|
45
61
|
the next call, and `$$` is a different pid. **The filesystem does survive**, so write
|
|
@@ -47,13 +63,14 @@ the preamble to a file once and source it afterwards, rather than re-pasting a
|
|
|
47
63
|
hundred-odd lines at the top of every call (a half-re-pasted preamble used to be the
|
|
48
64
|
single most likely way to break a run).
|
|
49
65
|
|
|
50
|
-
**Codeman seeds the preamble file for you** when it spawns
|
|
51
|
-
1.18.3
|
|
66
|
+
**Codeman seeds the preamble file for you** when it spawns your session (claude since
|
|
67
|
+
server 1.18.3, the other CLIs since this skill reached them), so the bootstrap is
|
|
68
|
+
usually nothing at all: these are the two lines every
|
|
52
69
|
later call opens with, and your first REAL call performs them anyway:
|
|
53
70
|
|
|
54
71
|
```bash
|
|
55
72
|
. "${XDG_CACHE_HOME:-$HOME/.cache}/codeman-agent-$CODEMAN_SESSION_ID.sh" 2>/dev/null
|
|
56
|
-
[ "${CODEMAN_PREAMBLE:-}" = 1.
|
|
73
|
+
[ "${CODEMAN_PREAMBLE:-}" = 1.42.0 ] || { echo "preamble missing or stale; run the full §0 block"; exit 1; }
|
|
57
74
|
```
|
|
58
75
|
|
|
59
76
|
⚠️ **Never spend a Bash call on this check alone.** §1's block opens with this same
|
|
@@ -81,8 +98,11 @@ PRE="${XDG_CACHE_HOME:-$HOME/.cache}/codeman-agent-$CODEMAN_SESSION_ID.sh"
|
|
|
81
98
|
mkdir -p "$(dirname "$PRE")"
|
|
82
99
|
# Rewrite unless the file already ends with THIS version's stamp, so a stale or a
|
|
83
100
|
# half-written file self-heals here instead of costing you a round trip to rm it.
|
|
84
|
-
grep -qs '^CODEMAN_PREAMBLE=1.
|
|
85
|
-
# ---- Codeman agent preamble 1.
|
|
101
|
+
grep -qs '^CODEMAN_PREAMBLE=1.42.0$' "$PRE" || (umask 077; cat > "$PRE" <<'PREAMBLE'
|
|
102
|
+
# ---- Codeman agent preamble 1.42.0 (seeded by Codeman at session spawn; the SKILL.md §0 bootstrap rewrites it when missing or stale) ----
|
|
103
|
+
# Positional parameters are always written with braces, ${1} and never a bare dollar-digit: Claude Code
|
|
104
|
+
# replaces a bare one in a skill body with the matching word of the skill's arguments, and §0 is pasted
|
|
105
|
+
# from that body (test/agent-skill.test.ts pins it).
|
|
86
106
|
API="${CODEMAN_API_URL:?CODEMAN_API_URL not set; refusing to guess}"
|
|
87
107
|
SELF="${CODEMAN_SESSION_ID:?CODEMAN_SESSION_ID not set}"
|
|
88
108
|
# Credentials, cheapest first. Your session has usually INHERITED the server's
|
|
@@ -91,7 +111,7 @@ SELF="${CODEMAN_SESSION_ID:?CODEMAN_SESSION_ID not set}"
|
|
|
91
111
|
# reads. The data dir is wherever the hook-secret file lives. Values may be
|
|
92
112
|
# quoted or `export`-prefixed.
|
|
93
113
|
ENV_FILE="${CODEMAN_HOOK_SECRET_FILE:+${CODEMAN_HOOK_SECRET_FILE%hook-secret}.env}"
|
|
94
|
-
envval() { sed -n "s/^\(export \)\{0,1\}$1=//p" "$ENV_FILE" | tail -1 | sed 's/^"\(.*\)"$/\1/; s/^'\''\(.*\)'\''$/\1/'; }
|
|
114
|
+
envval() { sed -n "s/^\(export \)\{0,1\}${1}=//p" "$ENV_FILE" | tail -1 | sed 's/^"\(.*\)"$/\1/; s/^'\''\(.*\)'\''$/\1/'; }
|
|
95
115
|
if [ -z "${CODEMAN_PASSWORD:-}" ] && [ -n "$ENV_FILE" ] && [ -f "$ENV_FILE" ]; then
|
|
96
116
|
CODEMAN_USERNAME=$(envval CODEMAN_USERNAME)
|
|
97
117
|
CODEMAN_PASSWORD=$(envval CODEMAN_PASSWORD)
|
|
@@ -126,15 +146,15 @@ delete_session() {
|
|
|
126
146
|
|
|
127
147
|
# ---- fast path: the four verbs, already written. §1 composes them. ----
|
|
128
148
|
_composer_up() { # <sid> <timeoutMs> -> "true"/"false". `shift+tab` is the one token
|
|
129
|
-
"${CURL[@]}" -G "$API/api/v1/sessions/$1/wait-output" \
|
|
149
|
+
"${CURL[@]}" -G "$API/api/v1/sessions/${1}/wait-output" \
|
|
130
150
|
--data-urlencode 'match=shift+tab' --data-urlencode 'from=buffer' \
|
|
131
|
-
--data-urlencode "timeout=$2" | jq -r '.data.wait.matched // false'
|
|
151
|
+
--data-urlencode "timeout=${2}" | jq -r '.data.wait.matched // false'
|
|
132
152
|
}
|
|
133
153
|
_dsh_up() { # <sid> <timeoutMs> -> "true"/"false". The DeepSeek Harness TUI's
|
|
134
154
|
# composer glyph. Override with DSH_READY_MARK for a profile that draws another one.
|
|
135
|
-
"${CURL[@]}" -G "$API/api/v1/sessions/$1/wait-output" \
|
|
155
|
+
"${CURL[@]}" -G "$API/api/v1/sessions/${1}/wait-output" \
|
|
136
156
|
--data-urlencode "match=${DSH_READY_MARK:-❯}" --data-urlencode 'from=buffer' \
|
|
137
|
-
--data-urlencode "timeout=$2" | jq -r '.data.wait.matched // false'
|
|
157
|
+
--data-urlencode "timeout=${2}" | jq -r '.data.wait.matched // false'
|
|
138
158
|
}
|
|
139
159
|
# ---- the workspace-trust dialog: READ the screen, never press Enter blind ----
|
|
140
160
|
# Claude Code 2.1.252 dropped the option numbers, REVERSED them, and highlights
|
|
@@ -150,7 +170,7 @@ _trust_key() { # <sid> -> "confirm" | "move" | "" (nothing safe to press)
|
|
|
150
170
|
# full=1 returns the RENDERED pane; a claude pane keeps no tmux history, so that
|
|
151
171
|
# is the current frame rather than every repaint since launch. tail -1 anyway,
|
|
152
172
|
# because the freshest marked row is the only one still true.
|
|
153
|
-
"${CURL[@]}" -G "$API/api/v1/sessions/$1/terminal" --data-urlencode 'full=1' \
|
|
173
|
+
"${CURL[@]}" -G "$API/api/v1/sessions/${1}/terminal" --data-urlencode 'full=1' \
|
|
154
174
|
| jq -r '.data.terminalBuffer // empty' \
|
|
155
175
|
| sed -e "s/$(printf '\033')\[[0-9;?]*[a-zA-Z]//g" -e "s/$(printf '\033')[()][AB0]//g" \
|
|
156
176
|
| tr -d ' \t' | grep -i '❯[0-9.]*\(yes,itrustthisfolder\|no,exit\)' | tail -1 \
|
|
@@ -168,7 +188,7 @@ _composer_text() { # <sid> -> the composer's text with ALL whitespace removed: "
|
|
|
168
188
|
# the LAST `❯` line: Claude Code echoes a submitted prompt with the same glyph higher
|
|
169
189
|
# up in the transcript, so only the last one says whether the text was taken.
|
|
170
190
|
local t
|
|
171
|
-
t=$("${CURL[@]}" -G "$API/api/v1/sessions/$1/terminal" --data-urlencode 'full=1' \
|
|
191
|
+
t=$("${CURL[@]}" -G "$API/api/v1/sessions/${1}/terminal" --data-urlencode 'full=1' \
|
|
172
192
|
| jq -r '.data.terminalBuffer // empty' \
|
|
173
193
|
| sed -e "s/$(printf '\033')\[[0-9;?]*[a-zA-Z]//g" -e "s/$(printf '\033')[()][AB0]//g" \
|
|
174
194
|
| tr -d '\r' | grep -a '^[[:space:]]*❯' | tail -1)
|
|
@@ -178,7 +198,7 @@ _composer_text() { # <sid> -> the composer's text with ALL whitespace removed: "
|
|
|
178
198
|
printf '%s' "$t" | sed 's/^[[:space:]]*❯//' | tr -d '[:space:]' | sed "s/$(printf '\302\240')//g"
|
|
179
199
|
}
|
|
180
200
|
_accept_trust() { # <sid> -> 0 once it has answered the dialog, 1 if it could not
|
|
181
|
-
local sid="$1" k i=1
|
|
201
|
+
local sid="${1}" k i=1
|
|
182
202
|
while [ "$i" -le 6 ]; do
|
|
183
203
|
k=$(_trust_key "$sid")
|
|
184
204
|
[ -n "$k" ] || return 1 # no dialog on screen, or a layout this cannot read
|
|
@@ -379,7 +399,7 @@ sendwait() {
|
|
|
379
399
|
last_text() {
|
|
380
400
|
local t="" prev="${2:-}"
|
|
381
401
|
for _ in $(seq 1 15); do
|
|
382
|
-
t=$("${CURL[@]}" "$API/api/v1/sessions/$1/last-response" | jq -r '.data.text // empty')
|
|
402
|
+
t=$("${CURL[@]}" "$API/api/v1/sessions/${1}/last-response" | jq -r '.data.text // empty')
|
|
383
403
|
[ -n "$t" ] && [ "$t" != "$prev" ] && { printf '%s\n' "$t"; return 0; }
|
|
384
404
|
sleep 1
|
|
385
405
|
done
|
|
@@ -390,10 +410,10 @@ last_text() {
|
|
|
390
410
|
# The stamp is the LAST line on purpose (a truncated write leaves it unset) and is kept
|
|
391
411
|
# bare on purpose: the write condition above anchors on it with $, so an inline comment
|
|
392
412
|
# here would fail that match and rewrite this file on every single bootstrap.
|
|
393
|
-
CODEMAN_PREAMBLE=1.
|
|
413
|
+
CODEMAN_PREAMBLE=1.42.0
|
|
394
414
|
PREAMBLE
|
|
395
415
|
)
|
|
396
|
-
. "$PRE"; [ "${CODEMAN_PREAMBLE:-}" = 1.
|
|
416
|
+
. "$PRE"; [ "${CODEMAN_PREAMBLE:-}" = 1.42.0 ] || { echo "preamble at $PRE is stale or truncated: rm it and re-run this block"; exit 1; }
|
|
397
417
|
```
|
|
398
418
|
|
|
399
419
|
Every later Bash call that touches the API starts with the same two loader lines from
|
|
@@ -444,7 +464,7 @@ and no per-call body to hand-build.
|
|
|
444
464
|
|
|
445
465
|
```bash
|
|
446
466
|
. "${XDG_CACHE_HOME:-$HOME/.cache}/codeman-agent-$CODEMAN_SESSION_ID.sh" 2>/dev/null # §0 loader
|
|
447
|
-
[ "${CODEMAN_PREAMBLE:-}" = 1.
|
|
467
|
+
[ "${CODEMAN_PREAMBLE:-}" = 1.42.0 ] || { echo "preamble missing or stale; run the full §0 block"; exit 1; }
|
|
448
468
|
N=(alpha beta) # INVENT one fresh case name per worker; never list cases first
|
|
449
469
|
# (a name may carry a mode: `beta:deepseek`, see below)
|
|
450
470
|
T=('reply with one line: the absolute path of your working directory'
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
# ---- Codeman agent preamble 1.
|
|
1
|
+
# ---- Codeman agent preamble 1.42.0 (seeded by Codeman at session spawn; the SKILL.md §0 bootstrap rewrites it when missing or stale) ----
|
|
2
|
+
# Positional parameters are always written with braces, ${1} and never a bare dollar-digit: Claude Code
|
|
3
|
+
# replaces a bare one in a skill body with the matching word of the skill's arguments, and §0 is pasted
|
|
4
|
+
# from that body (test/agent-skill.test.ts pins it).
|
|
2
5
|
API="${CODEMAN_API_URL:?CODEMAN_API_URL not set; refusing to guess}"
|
|
3
6
|
SELF="${CODEMAN_SESSION_ID:?CODEMAN_SESSION_ID not set}"
|
|
4
7
|
# Credentials, cheapest first. Your session has usually INHERITED the server's
|
|
@@ -7,7 +10,7 @@ SELF="${CODEMAN_SESSION_ID:?CODEMAN_SESSION_ID not set}"
|
|
|
7
10
|
# reads. The data dir is wherever the hook-secret file lives. Values may be
|
|
8
11
|
# quoted or `export`-prefixed.
|
|
9
12
|
ENV_FILE="${CODEMAN_HOOK_SECRET_FILE:+${CODEMAN_HOOK_SECRET_FILE%hook-secret}.env}"
|
|
10
|
-
envval() { sed -n "s/^\(export \)\{0,1\}$1=//p" "$ENV_FILE" | tail -1 | sed 's/^"\(.*\)"$/\1/; s/^'\''\(.*\)'\''$/\1/'; }
|
|
13
|
+
envval() { sed -n "s/^\(export \)\{0,1\}${1}=//p" "$ENV_FILE" | tail -1 | sed 's/^"\(.*\)"$/\1/; s/^'\''\(.*\)'\''$/\1/'; }
|
|
11
14
|
if [ -z "${CODEMAN_PASSWORD:-}" ] && [ -n "$ENV_FILE" ] && [ -f "$ENV_FILE" ]; then
|
|
12
15
|
CODEMAN_USERNAME=$(envval CODEMAN_USERNAME)
|
|
13
16
|
CODEMAN_PASSWORD=$(envval CODEMAN_PASSWORD)
|
|
@@ -42,15 +45,15 @@ delete_session() {
|
|
|
42
45
|
|
|
43
46
|
# ---- fast path: the four verbs, already written. §1 composes them. ----
|
|
44
47
|
_composer_up() { # <sid> <timeoutMs> -> "true"/"false". `shift+tab` is the one token
|
|
45
|
-
"${CURL[@]}" -G "$API/api/v1/sessions/$1/wait-output" \
|
|
48
|
+
"${CURL[@]}" -G "$API/api/v1/sessions/${1}/wait-output" \
|
|
46
49
|
--data-urlencode 'match=shift+tab' --data-urlencode 'from=buffer' \
|
|
47
|
-
--data-urlencode "timeout=$2" | jq -r '.data.wait.matched // false'
|
|
50
|
+
--data-urlencode "timeout=${2}" | jq -r '.data.wait.matched // false'
|
|
48
51
|
}
|
|
49
52
|
_dsh_up() { # <sid> <timeoutMs> -> "true"/"false". The DeepSeek Harness TUI's
|
|
50
53
|
# composer glyph. Override with DSH_READY_MARK for a profile that draws another one.
|
|
51
|
-
"${CURL[@]}" -G "$API/api/v1/sessions/$1/wait-output" \
|
|
54
|
+
"${CURL[@]}" -G "$API/api/v1/sessions/${1}/wait-output" \
|
|
52
55
|
--data-urlencode "match=${DSH_READY_MARK:-❯}" --data-urlencode 'from=buffer' \
|
|
53
|
-
--data-urlencode "timeout=$2" | jq -r '.data.wait.matched // false'
|
|
56
|
+
--data-urlencode "timeout=${2}" | jq -r '.data.wait.matched // false'
|
|
54
57
|
}
|
|
55
58
|
# ---- the workspace-trust dialog: READ the screen, never press Enter blind ----
|
|
56
59
|
# Claude Code 2.1.252 dropped the option numbers, REVERSED them, and highlights
|
|
@@ -66,7 +69,7 @@ _trust_key() { # <sid> -> "confirm" | "move" | "" (nothing safe to press)
|
|
|
66
69
|
# full=1 returns the RENDERED pane; a claude pane keeps no tmux history, so that
|
|
67
70
|
# is the current frame rather than every repaint since launch. tail -1 anyway,
|
|
68
71
|
# because the freshest marked row is the only one still true.
|
|
69
|
-
"${CURL[@]}" -G "$API/api/v1/sessions/$1/terminal" --data-urlencode 'full=1' \
|
|
72
|
+
"${CURL[@]}" -G "$API/api/v1/sessions/${1}/terminal" --data-urlencode 'full=1' \
|
|
70
73
|
| jq -r '.data.terminalBuffer // empty' \
|
|
71
74
|
| sed -e "s/$(printf '\033')\[[0-9;?]*[a-zA-Z]//g" -e "s/$(printf '\033')[()][AB0]//g" \
|
|
72
75
|
| tr -d ' \t' | grep -i '❯[0-9.]*\(yes,itrustthisfolder\|no,exit\)' | tail -1 \
|
|
@@ -84,7 +87,7 @@ _composer_text() { # <sid> -> the composer's text with ALL whitespace removed: "
|
|
|
84
87
|
# the LAST `❯` line: Claude Code echoes a submitted prompt with the same glyph higher
|
|
85
88
|
# up in the transcript, so only the last one says whether the text was taken.
|
|
86
89
|
local t
|
|
87
|
-
t=$("${CURL[@]}" -G "$API/api/v1/sessions/$1/terminal" --data-urlencode 'full=1' \
|
|
90
|
+
t=$("${CURL[@]}" -G "$API/api/v1/sessions/${1}/terminal" --data-urlencode 'full=1' \
|
|
88
91
|
| jq -r '.data.terminalBuffer // empty' \
|
|
89
92
|
| sed -e "s/$(printf '\033')\[[0-9;?]*[a-zA-Z]//g" -e "s/$(printf '\033')[()][AB0]//g" \
|
|
90
93
|
| tr -d '\r' | grep -a '^[[:space:]]*❯' | tail -1)
|
|
@@ -94,7 +97,7 @@ _composer_text() { # <sid> -> the composer's text with ALL whitespace removed: "
|
|
|
94
97
|
printf '%s' "$t" | sed 's/^[[:space:]]*❯//' | tr -d '[:space:]' | sed "s/$(printf '\302\240')//g"
|
|
95
98
|
}
|
|
96
99
|
_accept_trust() { # <sid> -> 0 once it has answered the dialog, 1 if it could not
|
|
97
|
-
local sid="$1" k i=1
|
|
100
|
+
local sid="${1}" k i=1
|
|
98
101
|
while [ "$i" -le 6 ]; do
|
|
99
102
|
k=$(_trust_key "$sid")
|
|
100
103
|
[ -n "$k" ] || return 1 # no dialog on screen, or a layout this cannot read
|
|
@@ -295,7 +298,7 @@ sendwait() {
|
|
|
295
298
|
last_text() {
|
|
296
299
|
local t="" prev="${2:-}"
|
|
297
300
|
for _ in $(seq 1 15); do
|
|
298
|
-
t=$("${CURL[@]}" "$API/api/v1/sessions/$1/last-response" | jq -r '.data.text // empty')
|
|
301
|
+
t=$("${CURL[@]}" "$API/api/v1/sessions/${1}/last-response" | jq -r '.data.text // empty')
|
|
299
302
|
[ -n "$t" ] && [ "$t" != "$prev" ] && { printf '%s\n' "$t"; return 0; }
|
|
300
303
|
sleep 1
|
|
301
304
|
done
|
|
@@ -306,4 +309,4 @@ last_text() {
|
|
|
306
309
|
# The stamp is the LAST line on purpose (a truncated write leaves it unset) and is kept
|
|
307
310
|
# bare on purpose: the write condition above anchors on it with $, so an inline comment
|
|
308
311
|
# here would fail that match and rewrite this file on every single bootstrap.
|
|
309
|
-
CODEMAN_PREAMBLE=1.
|
|
312
|
+
CODEMAN_PREAMBLE=1.42.0
|
|
@@ -635,7 +635,7 @@ Three bounded long-polls. Shared semantics:
|
|
|
635
635
|
| `idle` | output stabilized + prompt detected, heuristic, can flap mid-turn | every mode |
|
|
636
636
|
| `working` | session started producing output | every mode |
|
|
637
637
|
| `stop` | Claude Code `stop` hook, the definitive end-of-turn | `claude` only |
|
|
638
|
-
| `blocked` | `permission_prompt` / `elicitation_dialog` hook, the worker needs an answer | `claude`
|
|
638
|
+
| `blocked` | `permission_prompt` / `elicitation_dialog` hook, the worker needs an answer | `claude`; also `codex`, whose approval, question and trust dialogs Codeman reads off its screen (answer them in the terminal, never through the inbox) |
|
|
639
639
|
| `exit` | PTY exited or session deleted | every mode |
|
|
640
640
|
|
|
641
641
|
⚠️ **`claude` mode is necessary for `stop`/`blocked`, not sufficient. The real
|
|
@@ -21,7 +21,7 @@ by sourcing the preamble file the §0 bootstrap wrote, and checking its version
|
|
|
21
21
|
|
|
22
22
|
```bash
|
|
23
23
|
. "${XDG_CACHE_HOME:-$HOME/.cache}/codeman-agent-$CODEMAN_SESSION_ID.sh" 2>/dev/null
|
|
24
|
-
[ "${CODEMAN_PREAMBLE:-}" = 1.
|
|
24
|
+
[ "${CODEMAN_PREAMBLE:-}" = 1.42.0 ] || { echo "preamble missing or stale; re-run the §0 bootstrap"; exit 1; }
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
Do **not** re-paste the preamble body into each call. Sourcing it is what retires the
|
|
@@ -391,10 +391,10 @@ the worker remembering to print a token.
|
|
|
391
391
|
|
|
392
392
|
## Flow 5: watch for a worker stuck on a prompt
|
|
393
393
|
|
|
394
|
-
Claude workers can block on a permission dialog. `blocked` is a wait signal
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
answer. Expect it routinely on a server whose `claudeMode` is not the default bypass
|
|
394
|
+
Claude workers can block on a permission dialog. `blocked` is a wait signal (a claude
|
|
395
|
+
worker needs Codeman's hooks in its directory for it: see Flow 7 step 4; a codex worker
|
|
396
|
+
gets it from its screen, see below), so watch for it and surface the question to the user
|
|
397
|
+
instead of guessing an answer. Expect it routinely on a server whose `claudeMode` is not the default bypass
|
|
398
398
|
one (the same setting that decides whether the readiness marker in Flow 1 ever
|
|
399
399
|
appears):
|
|
400
400
|
|
|
@@ -409,10 +409,13 @@ if [ "$(jq -r '.data.wait.signal' <<<"$R")" = blocked ]; then
|
|
|
409
409
|
fi
|
|
410
410
|
```
|
|
411
411
|
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
412
|
+
Codex workers are the one exception without hooks: Codeman reads their approval,
|
|
413
|
+
question and trust dialogs off the screen, so the same watch works with
|
|
414
|
+
`until=blocked,exit` (codex has no `stop`, a `400`), and the dialog is answered in the
|
|
415
|
+
terminal, never through the Approvals Inbox. Anywhere else without hooks, `blocked` never
|
|
416
|
+
fires and a stuck worker looks exactly like a slow one: your marker wait burns its whole
|
|
417
|
+
bound. The fallback is the same terminal tail, taken when a bound runs out, and the same
|
|
418
|
+
rule about not answering it yourself.
|
|
416
419
|
|
|
417
420
|
## Flow 6: claude fan-out over messaging
|
|
418
421
|
|
|
@@ -377,7 +377,9 @@ only when the workspace actually has them, see [§5.1](#51-where-to-spawn)) **an
|
|
|
377
377
|
`deepseek`** — the one external CLI that reports its own lifecycle, so its `stop` is a
|
|
378
378
|
real end-of-turn signal rather than a guess. On
|
|
379
379
|
`shell`/`opencode`/`codex`/`gemini`/`antigravity`/`pi`/`grok`/`omp`, requesting them explicitly is a
|
|
380
|
-
400
|
|
380
|
+
400 (except `blocked` on `codex`, which Codeman reads off its screen when an approval,
|
|
381
|
+
question or trust dialog is up; a wait for it answers at once if one already is), and
|
|
382
|
+
lifecycle transitions there are coarse (a short shell command may emit **no**
|
|
381
383
|
`idle` transition at all, verified live), so synchronize those with markers.
|
|
382
384
|
|
|
383
385
|
⚠️ A dsh session can still refuse them for a per-SESSION reason: `statusReporting:
|