aicodeman 1.30.0 → 1.31.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/dist/config/cli-registry/schema.d.ts +8 -0
- package/dist/config/cli-registry/schema.d.ts.map +1 -1
- package/dist/config/cli-registry/schema.js +29 -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 +62 -7
- package/dist/config/cli-registry/stock.js.map +1 -1
- package/dist/config/cli-registry/types.d.ts +62 -0
- package/dist/config/cli-registry/types.d.ts.map +1 -1
- package/dist/config/remote-wake-limits.d.ts +23 -0
- package/dist/config/remote-wake-limits.d.ts.map +1 -0
- package/dist/config/remote-wake-limits.js +23 -0
- package/dist/config/remote-wake-limits.js.map +1 -0
- package/dist/custom-model-hosts.d.ts +32 -0
- package/dist/custom-model-hosts.d.ts.map +1 -1
- package/dist/custom-model-hosts.js.map +1 -1
- package/dist/custom-model-injection-apply.d.ts +29 -1
- package/dist/custom-model-injection-apply.d.ts.map +1 -1
- package/dist/custom-model-injection-apply.js +191 -5
- package/dist/custom-model-injection-apply.js.map +1 -1
- package/dist/custom-model-injection.d.ts +35 -9
- package/dist/custom-model-injection.d.ts.map +1 -1
- package/dist/custom-model-injection.js +37 -16
- package/dist/custom-model-injection.js.map +1 -1
- package/dist/mux-interface.d.ts +12 -0
- package/dist/mux-interface.d.ts.map +1 -1
- package/dist/remote-hosts.d.ts +20 -0
- package/dist/remote-hosts.d.ts.map +1 -1
- package/dist/remote-hosts.js +33 -0
- package/dist/remote-hosts.js.map +1 -1
- package/dist/remote-wake.d.ts +446 -0
- package/dist/remote-wake.d.ts.map +1 -0
- package/dist/remote-wake.js +880 -0
- package/dist/remote-wake.js.map +1 -0
- package/dist/session-env-clamp.d.ts +12 -7
- package/dist/session-env-clamp.d.ts.map +1 -1
- package/dist/session-env-clamp.js +12 -7
- package/dist/session-env-clamp.js.map +1 -1
- package/dist/session-submit-verifier.d.ts +44 -0
- package/dist/session-submit-verifier.d.ts.map +1 -0
- package/dist/session-submit-verifier.js +122 -0
- package/dist/session-submit-verifier.js.map +1 -0
- package/dist/session.d.ts +9 -0
- package/dist/session.d.ts.map +1 -1
- package/dist/session.js +42 -1
- package/dist/session.js.map +1 -1
- package/dist/tmux-manager.d.ts.map +1 -1
- package/dist/tmux-manager.js +9 -0
- package/dist/tmux-manager.js.map +1 -1
- package/dist/types/session.d.ts +26 -0
- package/dist/types/session.d.ts.map +1 -1
- package/dist/types/session.js.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.8df358cd.js +38 -0
- package/dist/web/public/app.8df358cd.js.br +0 -0
- package/dist/web/public/app.8df358cd.js.gz +0 -0
- package/dist/web/public/approvals-ui.js.gz +0 -0
- package/dist/web/public/{constants.258b140f.js → constants.85ed12f3.js} +74 -0
- package/dist/web/public/constants.85ed12f3.js.br +0 -0
- package/dist/web/public/constants.85ed12f3.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/home-sessions.js.gz +0 -0
- package/dist/web/public/host-wake-ui.js +440 -0
- package/dist/web/public/host-wake-ui.js.br +0 -0
- package/dist/web/public/host-wake-ui.js.gz +0 -0
- package/dist/web/public/i18n.83924614.js +1 -0
- package/dist/web/public/i18n.83924614.js.br +0 -0
- package/dist/web/public/i18n.83924614.js.gz +0 -0
- package/dist/web/public/image-input.cd4b97c4.js.gz +0 -0
- package/dist/web/public/index.html +186 -10
- 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.2cf04f17.js.gz +0 -0
- package/dist/web/public/mobile-handlers.6f354a87.js.gz +0 -0
- package/dist/web/public/mobile-overview.js.gz +0 -0
- package/dist/web/public/mobile.6caaa28a.css.gz +0 -0
- package/dist/web/public/notification-manager.36ea4624.js.gz +0 -0
- package/dist/web/public/orchestrator-panel.js.gz +0 -0
- package/dist/web/public/{panels-ui.5b07ad14.js → panels-ui.28df5053.js} +5 -5
- package/dist/web/public/panels-ui.28df5053.js.br +0 -0
- package/dist/web/public/panels-ui.28df5053.js.gz +0 -0
- package/dist/web/public/ralph-panel.6de2d0f8.js.gz +0 -0
- package/dist/web/public/ralph-wizard.13a1831e.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.gz +0 -0
- package/dist/web/public/sanitize-html.bc7078d6.js.gz +0 -0
- package/dist/web/public/session-lineage.js.gz +0 -0
- package/dist/web/public/session-ui.d4aea71a.js +88 -0
- package/dist/web/public/session-ui.d4aea71a.js.br +0 -0
- package/dist/web/public/session-ui.d4aea71a.js.gz +0 -0
- package/dist/web/public/settings-ui.4762f480.js +78 -0
- package/dist/web/public/settings-ui.4762f480.js.br +0 -0
- package/dist/web/public/settings-ui.4762f480.js.gz +0 -0
- package/dist/web/public/styles.e34fea04.css +1 -0
- package/dist/web/public/styles.e34fea04.css.br +0 -0
- package/dist/web/public/styles.e34fea04.css.gz +0 -0
- package/dist/web/public/subagent-windows.e6ca799f.js.gz +0 -0
- package/dist/web/public/sw.js.gz +0 -0
- package/dist/web/public/tab-rail-resize.42c24949.js.gz +0 -0
- package/dist/web/public/terminal-keycode229-recovery.fb91b25b.js.gz +0 -0
- package/dist/web/public/terminal-ui.35812aa2.js +2 -0
- package/dist/web/public/terminal-ui.35812aa2.js.br +0 -0
- package/dist/web/public/terminal-ui.35812aa2.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/upload.html.gz +0 -0
- package/dist/web/public/vendor/dompurify.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.bd6882b8.js.gz +0 -0
- package/dist/web/public/vendor/xterm-zerolag-input.6fee72f2.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.c4b51eb6.js.gz +0 -0
- package/dist/web/public/voice-pcm-worklet.js.gz +0 -0
- package/dist/web/public/webview-tabs.js.gz +0 -0
- package/dist/web/routes/custom-model-routes.d.ts +173 -0
- package/dist/web/routes/custom-model-routes.d.ts.map +1 -1
- package/dist/web/routes/custom-model-routes.js +628 -11
- package/dist/web/routes/custom-model-routes.js.map +1 -1
- package/dist/web/routes/index.d.ts +1 -1
- package/dist/web/routes/index.d.ts.map +1 -1
- package/dist/web/routes/index.js +1 -1
- package/dist/web/routes/index.js.map +1 -1
- package/dist/web/routes/session-routes.d.ts +6 -1
- package/dist/web/routes/session-routes.d.ts.map +1 -1
- package/dist/web/routes/session-routes.js +448 -17
- package/dist/web/routes/session-routes.js.map +1 -1
- package/dist/web/schemas.d.ts +15 -0
- package/dist/web/schemas.d.ts.map +1 -1
- package/dist/web/schemas.js +76 -0
- package/dist/web/schemas.js.map +1 -1
- package/dist/web/server.d.ts +21 -0
- package/dist/web/server.d.ts.map +1 -1
- package/dist/web/server.js +130 -5
- package/dist/web/server.js.map +1 -1
- package/dist/web/sse-events.d.ts +25 -2
- package/dist/web/sse-events.d.ts.map +1 -1
- package/dist/web/sse-events.js +30 -3
- package/dist/web/sse-events.js.map +1 -1
- package/package.json +1 -1
- package/skills/codeman/SKILL.md +75 -26
- package/skills/codeman/preamble.sh +66 -19
- package/skills/codeman/reference/recipes.md +1 -1
- package/dist/web/public/app.6d2dc4e8.js +0 -38
- package/dist/web/public/app.6d2dc4e8.js.br +0 -0
- package/dist/web/public/app.6d2dc4e8.js.gz +0 -0
- package/dist/web/public/constants.258b140f.js.br +0 -0
- package/dist/web/public/constants.258b140f.js.gz +0 -0
- package/dist/web/public/i18n.5f897ed5.js +0 -1
- package/dist/web/public/i18n.5f897ed5.js.br +0 -0
- package/dist/web/public/i18n.5f897ed5.js.gz +0 -0
- package/dist/web/public/panels-ui.5b07ad14.js.br +0 -0
- package/dist/web/public/panels-ui.5b07ad14.js.gz +0 -0
- package/dist/web/public/session-ui.42b81477.js +0 -77
- package/dist/web/public/session-ui.42b81477.js.br +0 -0
- package/dist/web/public/session-ui.42b81477.js.gz +0 -0
- package/dist/web/public/settings-ui.58f1d756.js +0 -67
- package/dist/web/public/settings-ui.58f1d756.js.br +0 -0
- package/dist/web/public/settings-ui.58f1d756.js.gz +0 -0
- package/dist/web/public/styles.e6edfb0b.css +0 -1
- package/dist/web/public/styles.e6edfb0b.css.br +0 -0
- package/dist/web/public/styles.e6edfb0b.css.gz +0 -0
- package/dist/web/public/terminal-ui.4f8d5820.js +0 -2
- package/dist/web/public/terminal-ui.4f8d5820.js.br +0 -0
- package/dist/web/public/terminal-ui.4f8d5820.js.gz +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sse-events.d.ts","sourceRoot":"","sources":["../../src/web/sse-events.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"sse-events.d.ts","sourceRoot":"","sources":["../../src/web/sse-events.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AAIH,yEAAyE;AACzE,eAAO,MAAM,IAAI,EAAG,MAAe,CAAC;AAIpC;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,SAAS,EAAG,eAAwB,CAAC;AAIlD,2BAA2B;AAC3B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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwNX,CAAC"}
|
package/dist/web/sse-events.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* and referenced by the frontend (`SSE_EVENTS` in `constants.js`).
|
|
6
6
|
* Both files MUST be kept in sync.
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* 161 event constants organized by category:
|
|
9
9
|
* - **Core** (1): init
|
|
10
10
|
* - **Transport** (1): sse:heartbeat
|
|
11
11
|
* - **Session lifecycle** (23): created, updated, deleted, terminal, idle, working, ...
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* - **Session: Plan** (4): planTaskUpdate, planCheckpoint, planRollback, planTaskAdded
|
|
15
15
|
* - **Tasks** (4): created, completed, failed, updated
|
|
16
16
|
* - **Mux** (4): created, killed, died, statsUpdated
|
|
17
|
-
* - **Remote auto-reconnect** (
|
|
17
|
+
* - **Remote auto-reconnect / wake** (5): sessionDropped, sessionReconnected, reconnectExhausted, hostWaking, hostWakeFailed
|
|
18
18
|
* - **Respawn** (24): stateChanged, cycleStarted/Completed, step*, aiCheck*, planCheck*, timer*, log, ...
|
|
19
19
|
* - **Subagents** (7): discovered, updated, tool_call, tool_result, progress, message, completed
|
|
20
20
|
* - **Workflow runs** (3): run_discovered, run_updated, run_removed (ultracode / Workflow tool)
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
* - **Hooks** (10): idle_prompt, permission_prompt, elicitation_dialog, elicitation_complete, elicitation_response, stop, agent_working, teammate_idle, task_completed, prompt_submitted
|
|
29
29
|
* (agent_working is the odd one out: reported by the DeepSeek Harness status bridge, not by a Claude Code hook)
|
|
30
30
|
* - **Approvals** (3): pending, updated, resolved (cross-session Approvals Inbox)
|
|
31
|
+
* - **Custom Model Endpoint Profiles** (1): swapped-out (a session's model got evicted by another session on the same llama-swap endpoint)
|
|
31
32
|
* - **Orchestrator** (12): stateChanged, planProgress, planReady, phase*, verification, task*, completed, error
|
|
32
33
|
* - **Clipboard** (1): write
|
|
33
34
|
* - **Cases** (4): created, linked, deleted, order-changed
|
|
@@ -159,13 +160,24 @@ export const MuxKilled = 'mux:killed';
|
|
|
159
160
|
export const MuxDied = 'mux:died';
|
|
160
161
|
/** tmux session stats refreshed. */
|
|
161
162
|
export const MuxStatsUpdated = 'mux:statsUpdated';
|
|
162
|
-
// ─── Remote auto-reconnect (COD-108)
|
|
163
|
+
// ─── Remote auto-reconnect (COD-108) + wake-on-LAN ───────────────────────────
|
|
164
|
+
// Session-scoped in multi-user mode (`deriveSseHint`): routed to the session's owner,
|
|
165
|
+
// or — for a wake with no session yet — to the requesting `username` in the payload.
|
|
163
166
|
/** A remote session's local ssh pane died; an auto-reconnect attempt is starting. */
|
|
164
167
|
export const RemoteSessionDropped = 'remote:sessionDropped';
|
|
165
168
|
/** A dropped remote session was successfully re-established (reattached). */
|
|
166
169
|
export const RemoteSessionReconnected = 'remote:sessionReconnected';
|
|
167
170
|
/** Auto-reconnect gave up after the bounded backoff cap — manual reconnect needed. */
|
|
168
171
|
export const RemoteReconnectExhausted = 'remote:reconnectExhausted';
|
|
172
|
+
/**
|
|
173
|
+
* User input arrived for a session whose host is unreachable, so a Wake-on-LAN
|
|
174
|
+
* command was started (see `remote-wake.ts`). Input sent meanwhile is buffered.
|
|
175
|
+
* Payload: `sessionId` (session wake) or `forNewSession: true` + `username`
|
|
176
|
+
* (create/attach wake), `hostId`, `label`, `queuedInput`.
|
|
177
|
+
*/
|
|
178
|
+
export const RemoteHostWaking = 'remote:hostWaking';
|
|
179
|
+
/** The host did not come back within the wake timeout — buffered input is still held. */
|
|
180
|
+
export const RemoteHostWakeFailed = 'remote:hostWakeFailed';
|
|
169
181
|
// ─── Respawn ─────────────────────────────────────────────────────────────────
|
|
170
182
|
/** Respawn loop started for a session. */
|
|
171
183
|
export const RespawnStarted = 'respawn:started';
|
|
@@ -341,6 +353,17 @@ export const ApprovalPending = 'approval:pending';
|
|
|
341
353
|
export const ApprovalUpdated = 'approval:updated';
|
|
342
354
|
/** A pending approval left the inbox (answered, superseded, expired, ...). */
|
|
343
355
|
export const ApprovalResolved = 'approval:resolved';
|
|
356
|
+
// ─── Custom Model Endpoint Profiles ──────────────────────────────────────────
|
|
357
|
+
/**
|
|
358
|
+
* A session's own custom-model selection is no longer the model llama-swap has loaded —
|
|
359
|
+
* ANOTHER session's activity on the same endpoint evicted it (llama.cpp/llama-swap runs
|
|
360
|
+
* one model at a time). Detected after the fact by a periodic sweep (`server.ts`), never
|
|
361
|
+
* at the moment of eviction itself, since llama-swap has no push notification of its own;
|
|
362
|
+
* this session's next prompt will trigger reloading its model, evicting whatever displaced
|
|
363
|
+
* it in turn. Fires at most once per displacement (cleared once the sweep sees the
|
|
364
|
+
* session's own model loaded again), so it can't spam on every sweep interval.
|
|
365
|
+
*/
|
|
366
|
+
export const CustomModelSwappedOut = 'custom-model:swapped-out';
|
|
344
367
|
// ─── Orchestrator ────────────────────────────────────────────────────────────
|
|
345
368
|
/** Orchestrator state machine transitioned. */
|
|
346
369
|
export const OrchestratorStateChanged = 'orchestrator:stateChanged';
|
|
@@ -472,6 +495,8 @@ export const SseEvent = {
|
|
|
472
495
|
RemoteSessionDropped,
|
|
473
496
|
RemoteSessionReconnected,
|
|
474
497
|
RemoteReconnectExhausted,
|
|
498
|
+
RemoteHostWaking,
|
|
499
|
+
RemoteHostWakeFailed,
|
|
475
500
|
// Respawn
|
|
476
501
|
RespawnStarted,
|
|
477
502
|
RespawnStopped,
|
|
@@ -562,6 +587,8 @@ export const SseEvent = {
|
|
|
562
587
|
ApprovalPending,
|
|
563
588
|
ApprovalUpdated,
|
|
564
589
|
ApprovalResolved,
|
|
590
|
+
// Custom Model Endpoint Profiles
|
|
591
|
+
CustomModelSwappedOut,
|
|
565
592
|
// Orchestrator
|
|
566
593
|
OrchestratorStateChanged,
|
|
567
594
|
O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B,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
package/skills/codeman/SKILL.md
CHANGED
|
@@ -47,7 +47,7 @@ later call opens with, and your first REAL call performs them anyway:
|
|
|
47
47
|
|
|
48
48
|
```bash
|
|
49
49
|
. "${XDG_CACHE_HOME:-$HOME/.cache}/codeman-agent-$CODEMAN_SESSION_ID.sh" 2>/dev/null
|
|
50
|
-
[ "${CODEMAN_PREAMBLE:-}" = 1.
|
|
50
|
+
[ "${CODEMAN_PREAMBLE:-}" = 1.30.1 ] || { echo "preamble missing or stale; run the full §0 block"; exit 1; }
|
|
51
51
|
```
|
|
52
52
|
|
|
53
53
|
⚠️ **Never spend a Bash call on this check alone.** §1's block opens with this same
|
|
@@ -75,8 +75,8 @@ PRE="${XDG_CACHE_HOME:-$HOME/.cache}/codeman-agent-$CODEMAN_SESSION_ID.sh"
|
|
|
75
75
|
mkdir -p "$(dirname "$PRE")"
|
|
76
76
|
# Rewrite unless the file already ends with THIS version's stamp, so a stale or a
|
|
77
77
|
# half-written file self-heals here instead of costing you a round trip to rm it.
|
|
78
|
-
grep -qs '^CODEMAN_PREAMBLE=1.
|
|
79
|
-
# ---- Codeman agent preamble 1.
|
|
78
|
+
grep -qs '^CODEMAN_PREAMBLE=1.30.1$' "$PRE" || (umask 077; cat > "$PRE" <<'PREAMBLE'
|
|
79
|
+
# ---- Codeman agent preamble 1.30.1 (seeded by Codeman at session spawn; the SKILL.md §0 bootstrap rewrites it when missing or stale) ----
|
|
80
80
|
API="${CODEMAN_API_URL:?CODEMAN_API_URL not set; refusing to guess}"
|
|
81
81
|
SELF="${CODEMAN_SESSION_ID:?CODEMAN_SESSION_ID not set}"
|
|
82
82
|
# Credentials, cheapest first. Your session has usually INHERITED the server's
|
|
@@ -150,6 +150,27 @@ _trust_key() { # <sid> -> "confirm" | "move" | "" (nothing safe to press)
|
|
|
150
150
|
| tr -d ' \t' | grep -i '❯[0-9.]*\(yes,itrustthisfolder\|no,exit\)' | tail -1 \
|
|
151
151
|
| sed -e 's/.*[Yy]es,.*/confirm/' -e 's/.*[Nn]o,.*/move/'
|
|
152
152
|
}
|
|
153
|
+
# ---- the composer: is the prompt still sitting there, unsent? ----
|
|
154
|
+
# ⚠️ Claude Code 2.1.277 (auto-installed 2026-09-18) takes typed text the moment the
|
|
155
|
+
# composer paints but IGNORES Enter for the first 30-50 seconds after it: the \r that
|
|
156
|
+
# Codeman sends 50 ms after the text and a lone nudge at 20 s both leave the prompt
|
|
157
|
+
# stranded, with `0 tokens`, while the wait burns its whole timeout. Measured through
|
|
158
|
+
# this very route: Enter at 28 s stranded, Enter at 51 s submitted. So sendwait READS
|
|
159
|
+
# the composer and keeps pressing Enter while the prompt is still there.
|
|
160
|
+
_composer_text() { # <sid> -> the composer's text with ALL whitespace removed: "" once
|
|
161
|
+
# the prompt was taken, "?" when the pane shows no composer at all. The composer is
|
|
162
|
+
# the LAST `❯` line: Claude Code echoes a submitted prompt with the same glyph higher
|
|
163
|
+
# up in the transcript, so only the last one says whether the text was taken.
|
|
164
|
+
local t
|
|
165
|
+
t=$("${CURL[@]}" -G "$API/api/v1/sessions/$1/terminal" --data-urlencode 'full=1' \
|
|
166
|
+
| jq -r '.data.terminalBuffer // empty' \
|
|
167
|
+
| sed -e "s/$(printf '\033')\[[0-9;?]*[a-zA-Z]//g" -e "s/$(printf '\033')[()][AB0]//g" \
|
|
168
|
+
| tr -d '\r' | grep -a '^[[:space:]]*❯' | tail -1)
|
|
169
|
+
[ -n "$t" ] || { printf '?'; return 0; }
|
|
170
|
+
# Claude Code draws a NO-BREAK SPACE (U+00A0) after the glyph, which [:space:] does
|
|
171
|
+
# not cover, so it is stripped by its bytes, portably (BSD sed has no \xHH).
|
|
172
|
+
printf '%s' "$t" | sed 's/^[[:space:]]*❯//' | tr -d '[:space:]' | sed "s/$(printf '\302\240')//g"
|
|
173
|
+
}
|
|
153
174
|
_accept_trust() { # <sid> -> 0 once it has answered the dialog, 1 if it could not
|
|
154
175
|
local sid="$1" k i=1
|
|
155
176
|
while [ "$i" -le 6 ]; do
|
|
@@ -262,12 +283,16 @@ spawn_workers() {
|
|
|
262
283
|
# worker a silent no-op that still "succeeds" and reports the previous turn's state.
|
|
263
284
|
# Pass seq explicitly for exactly one reason: resending a possibly-delivered frame as a
|
|
264
285
|
# deliberate duplicate, at the SAME number (§5.3).
|
|
265
|
-
# Delivery is SELF-HEALING: an Ink repaint
|
|
266
|
-
#
|
|
267
|
-
#
|
|
268
|
-
#
|
|
269
|
-
#
|
|
270
|
-
#
|
|
286
|
+
# Delivery is SELF-HEALING: the Enter can be lost (an Ink repaint eats it, and Claude
|
|
287
|
+
# Code 2.1.277+ ignores it outright for the first 30-50 s after the composer paints),
|
|
288
|
+
# leaving the typed prompt stranded on the composer while a long wait runs its whole
|
|
289
|
+
# timeout (observed live, twelve reviews in a row). So the first wait is short; on its
|
|
290
|
+
# timeout the ORIGINAL frame is resent unchanged as a long re-wait (a tagged duplicate:
|
|
291
|
+
# the server re-waits without retyping, §5.3) and kept open in the background, while
|
|
292
|
+
# the composer is READ (_composer_text) and, as long as the prompt is still sitting
|
|
293
|
+
# there, a bare \r goes out about every ten seconds, up to twelve times. An empty
|
|
294
|
+
# composer ends the loop, so a prompt that was taken is never nudged again, and the
|
|
295
|
+
# wait that was open the whole time is what reports the turn's end. Trustworthy for a worker
|
|
271
296
|
# spawn_worker handed back -- claude (hooks vetted) or deepseek (status bridge) --
|
|
272
297
|
# and for those only. Hook-less workspaces and the other modes resolve on flapping
|
|
273
298
|
# idle: markers instead (§5.5). ⚠️ A dsh worker running a profile that does not
|
|
@@ -275,7 +300,7 @@ spawn_workers() {
|
|
|
275
300
|
# it accepts the send and then burns both waits. One timeout on a dsh worker whose
|
|
276
301
|
# pane clearly finished means that profile, so switch that worker to markers.
|
|
277
302
|
sendwait() {
|
|
278
|
-
local sid="${1:?}" p="${2:?}" seq="${3:-$(date +%s)}" body r
|
|
303
|
+
local sid="${1:?}" p="${2:?}" seq="${3:-$(date +%s)}" body r c head n=0 tmp bg i
|
|
279
304
|
# `wait:"stop,exit"`, never the `wait:true` default set: that set also carries
|
|
280
305
|
# `idle`, which is INFERRED from output stabilization and flaps mid-turn. On a
|
|
281
306
|
# dsh worker whose TUI repaints rarely the session reads `idle` while the model
|
|
@@ -290,16 +315,38 @@ sendwait() {
|
|
|
290
315
|
r=$("${CURL[@]}" -X POST "$API/api/v1/sessions/$sid/input" \
|
|
291
316
|
-H 'Content-Type: application/json' --data-binary "$body")
|
|
292
317
|
if jq -e '.data.delivered and .data.wait.timedOut' <<<"$r" >/dev/null 2>&1; then
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
#
|
|
297
|
-
#
|
|
298
|
-
#
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
318
|
+
# ⚠️ The long re-wait is registered FIRST and stays open for the rest of this call,
|
|
319
|
+
# in the background, while the Enter loop below works the composer. Signals have
|
|
320
|
+
# no history: a `stop` that fires while no wait is open (during a composer read
|
|
321
|
+
# between two short waits, measured) is lost, and the next wait then runs its
|
|
322
|
+
# whole timeout on a turn that already ended. The resend is a tagged DUPLICATE,
|
|
323
|
+
# so the server skips the write and re-waits without retyping (§5.3).
|
|
324
|
+
tmp=$(mktemp "${TMPDIR:-/tmp}/codeman-wait.XXXXXX") || return 1
|
|
325
|
+
"${CURL[@]}" -X POST "$API/api/v1/sessions/$sid/input" \
|
|
326
|
+
-H 'Content-Type: application/json' --data-binary "$(jq -c '.waitTimeout=580000' <<<"$body")" > "$tmp" &
|
|
327
|
+
bg=$!
|
|
328
|
+
# The prompt's head with whitespace removed, matched literally (the "$head"
|
|
329
|
+
# quoting inside ${c#...} keeps a * or ? in the prompt from acting as a glob).
|
|
330
|
+
head=$(printf '%s' "$p" | tr -d '[:space:]' | sed "s/$(printf '\302\240')//g" | head -c 24)
|
|
331
|
+
while [ "$n" -lt 12 ] && [ ! -s "$tmp" ]; do # a non-empty file means the wait ended
|
|
332
|
+
c=$(_composer_text "$sid")
|
|
333
|
+
if [ "$c" = '?' ]; then
|
|
334
|
+
[ "$n" -eq 0 ] || break # unreadable pane: one Enter, then trust it
|
|
335
|
+
elif [ -z "$head" ] || [ "${c#"$head"}" = "$c" ]; then
|
|
336
|
+
break # composer empty (taken) or holding other text
|
|
337
|
+
fi
|
|
338
|
+
n=$((n+1))
|
|
339
|
+
"${CURL[@]}" -X POST "$API/api/v1/sessions/$sid/input" -H 'Content-Type: application/json' \
|
|
340
|
+
-d "$(jq -nc --arg c "$CID-$sid" --argjson s "$(date +%s)" \
|
|
341
|
+
'{input:"\r",useMux:true,clientId:$c,seq:$s}')" >/dev/null
|
|
342
|
+
i=0; while [ "$i" -lt 10 ] && [ ! -s "$tmp" ]; do sleep 1; i=$((i+1)); done
|
|
343
|
+
done
|
|
344
|
+
wait "$bg"
|
|
345
|
+
# The duplicate reports `delivered:false` -- truthfully, but about the wrong send.
|
|
346
|
+
# The first one delivered, so carry that forward, or §1's cleanup reads a completed
|
|
347
|
+
# turn as an undelivered one and keeps a finished worker forever.
|
|
348
|
+
r=$(jq -c 'if .success and (.data.wait.ended | not) then .data.delivered = true else . end' < "$tmp")
|
|
349
|
+
rm -f "$tmp"
|
|
303
350
|
fi
|
|
304
351
|
printf '%s\n' "$r"
|
|
305
352
|
}
|
|
@@ -325,10 +372,10 @@ last_text() {
|
|
|
325
372
|
# The stamp is the LAST line on purpose (a truncated write leaves it unset) and is kept
|
|
326
373
|
# bare on purpose: the write condition above anchors on it with $, so an inline comment
|
|
327
374
|
# here would fail that match and rewrite this file on every single bootstrap.
|
|
328
|
-
CODEMAN_PREAMBLE=1.
|
|
375
|
+
CODEMAN_PREAMBLE=1.30.1
|
|
329
376
|
PREAMBLE
|
|
330
377
|
)
|
|
331
|
-
. "$PRE"; [ "${CODEMAN_PREAMBLE:-}" = 1.
|
|
378
|
+
. "$PRE"; [ "${CODEMAN_PREAMBLE:-}" = 1.30.1 ] || { echo "preamble at $PRE is stale or truncated: rm it and re-run this block"; exit 1; }
|
|
332
379
|
```
|
|
333
380
|
|
|
334
381
|
Every later Bash call that touches the API starts with the same two loader lines from
|
|
@@ -379,7 +426,7 @@ and no per-call body to hand-build.
|
|
|
379
426
|
|
|
380
427
|
```bash
|
|
381
428
|
. "${XDG_CACHE_HOME:-$HOME/.cache}/codeman-agent-$CODEMAN_SESSION_ID.sh" 2>/dev/null # §0 loader
|
|
382
|
-
[ "${CODEMAN_PREAMBLE:-}" = 1.
|
|
429
|
+
[ "${CODEMAN_PREAMBLE:-}" = 1.30.1 ] || { echo "preamble missing or stale; run the full §0 block"; exit 1; }
|
|
383
430
|
N=(alpha beta) # INVENT one fresh case name per worker; never list cases first
|
|
384
431
|
# (a name may carry a mode: `beta:deepseek`, see below)
|
|
385
432
|
T=('reply with one line: the absolute path of your working directory'
|
|
@@ -440,9 +487,11 @@ Four things this block leans on, each one link away, no detour needed to run it:
|
|
|
440
487
|
skill: §5.1. Those workspaces do get hooks now, unless the operator disabled it.
|
|
441
488
|
- `sendwait` supplies the `\r`, picks a fresh `seq`, and self-heals a stranded Enter.
|
|
442
489
|
A prompt without the `\r` is never submitted (§3), a reused `seq` is silently
|
|
443
|
-
swallowed as an already-applied duplicate, and
|
|
444
|
-
|
|
445
|
-
to
|
|
490
|
+
swallowed as an already-applied duplicate, and a lost Enter strands the prompt on the
|
|
491
|
+
composer until a bare `\r` follows: Claude Code 2.1.277 and later ignore Enter for the
|
|
492
|
+
first 30 to 50 seconds after the composer paints while still taking the text, so
|
|
493
|
+
`sendwait` reads the composer and keeps pressing Enter until the prompt has left it.
|
|
494
|
+
All three are reasons to let `sendwait` build the call rather than hand-rolling it.
|
|
446
495
|
- Each `sendwait` costs that worker one billed turn, as does every prompt you send it.
|
|
447
496
|
- Deleting the sessions does **not** remove the case directories. They are marked as
|
|
448
497
|
agent-created, so `GET /api/v1/cases/agent-created` lists them for cleanup: §5.14.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# ---- Codeman agent preamble 1.
|
|
1
|
+
# ---- Codeman agent preamble 1.30.1 (seeded by Codeman at session spawn; the SKILL.md §0 bootstrap rewrites it when missing or stale) ----
|
|
2
2
|
API="${CODEMAN_API_URL:?CODEMAN_API_URL not set; refusing to guess}"
|
|
3
3
|
SELF="${CODEMAN_SESSION_ID:?CODEMAN_SESSION_ID not set}"
|
|
4
4
|
# Credentials, cheapest first. Your session has usually INHERITED the server's
|
|
@@ -72,6 +72,27 @@ _trust_key() { # <sid> -> "confirm" | "move" | "" (nothing safe to press)
|
|
|
72
72
|
| tr -d ' \t' | grep -i '❯[0-9.]*\(yes,itrustthisfolder\|no,exit\)' | tail -1 \
|
|
73
73
|
| sed -e 's/.*[Yy]es,.*/confirm/' -e 's/.*[Nn]o,.*/move/'
|
|
74
74
|
}
|
|
75
|
+
# ---- the composer: is the prompt still sitting there, unsent? ----
|
|
76
|
+
# ⚠️ Claude Code 2.1.277 (auto-installed 2026-09-18) takes typed text the moment the
|
|
77
|
+
# composer paints but IGNORES Enter for the first 30-50 seconds after it: the \r that
|
|
78
|
+
# Codeman sends 50 ms after the text and a lone nudge at 20 s both leave the prompt
|
|
79
|
+
# stranded, with `0 tokens`, while the wait burns its whole timeout. Measured through
|
|
80
|
+
# this very route: Enter at 28 s stranded, Enter at 51 s submitted. So sendwait READS
|
|
81
|
+
# the composer and keeps pressing Enter while the prompt is still there.
|
|
82
|
+
_composer_text() { # <sid> -> the composer's text with ALL whitespace removed: "" once
|
|
83
|
+
# the prompt was taken, "?" when the pane shows no composer at all. The composer is
|
|
84
|
+
# the LAST `❯` line: Claude Code echoes a submitted prompt with the same glyph higher
|
|
85
|
+
# up in the transcript, so only the last one says whether the text was taken.
|
|
86
|
+
local t
|
|
87
|
+
t=$("${CURL[@]}" -G "$API/api/v1/sessions/$1/terminal" --data-urlencode 'full=1' \
|
|
88
|
+
| jq -r '.data.terminalBuffer // empty' \
|
|
89
|
+
| sed -e "s/$(printf '\033')\[[0-9;?]*[a-zA-Z]//g" -e "s/$(printf '\033')[()][AB0]//g" \
|
|
90
|
+
| tr -d '\r' | grep -a '^[[:space:]]*❯' | tail -1)
|
|
91
|
+
[ -n "$t" ] || { printf '?'; return 0; }
|
|
92
|
+
# Claude Code draws a NO-BREAK SPACE (U+00A0) after the glyph, which [:space:] does
|
|
93
|
+
# not cover, so it is stripped by its bytes, portably (BSD sed has no \xHH).
|
|
94
|
+
printf '%s' "$t" | sed 's/^[[:space:]]*❯//' | tr -d '[:space:]' | sed "s/$(printf '\302\240')//g"
|
|
95
|
+
}
|
|
75
96
|
_accept_trust() { # <sid> -> 0 once it has answered the dialog, 1 if it could not
|
|
76
97
|
local sid="$1" k i=1
|
|
77
98
|
while [ "$i" -le 6 ]; do
|
|
@@ -184,12 +205,16 @@ spawn_workers() {
|
|
|
184
205
|
# worker a silent no-op that still "succeeds" and reports the previous turn's state.
|
|
185
206
|
# Pass seq explicitly for exactly one reason: resending a possibly-delivered frame as a
|
|
186
207
|
# deliberate duplicate, at the SAME number (§5.3).
|
|
187
|
-
# Delivery is SELF-HEALING: an Ink repaint
|
|
188
|
-
#
|
|
189
|
-
#
|
|
190
|
-
#
|
|
191
|
-
#
|
|
192
|
-
#
|
|
208
|
+
# Delivery is SELF-HEALING: the Enter can be lost (an Ink repaint eats it, and Claude
|
|
209
|
+
# Code 2.1.277+ ignores it outright for the first 30-50 s after the composer paints),
|
|
210
|
+
# leaving the typed prompt stranded on the composer while a long wait runs its whole
|
|
211
|
+
# timeout (observed live, twelve reviews in a row). So the first wait is short; on its
|
|
212
|
+
# timeout the ORIGINAL frame is resent unchanged as a long re-wait (a tagged duplicate:
|
|
213
|
+
# the server re-waits without retyping, §5.3) and kept open in the background, while
|
|
214
|
+
# the composer is READ (_composer_text) and, as long as the prompt is still sitting
|
|
215
|
+
# there, a bare \r goes out about every ten seconds, up to twelve times. An empty
|
|
216
|
+
# composer ends the loop, so a prompt that was taken is never nudged again, and the
|
|
217
|
+
# wait that was open the whole time is what reports the turn's end. Trustworthy for a worker
|
|
193
218
|
# spawn_worker handed back -- claude (hooks vetted) or deepseek (status bridge) --
|
|
194
219
|
# and for those only. Hook-less workspaces and the other modes resolve on flapping
|
|
195
220
|
# idle: markers instead (§5.5). ⚠️ A dsh worker running a profile that does not
|
|
@@ -197,7 +222,7 @@ spawn_workers() {
|
|
|
197
222
|
# it accepts the send and then burns both waits. One timeout on a dsh worker whose
|
|
198
223
|
# pane clearly finished means that profile, so switch that worker to markers.
|
|
199
224
|
sendwait() {
|
|
200
|
-
local sid="${1:?}" p="${2:?}" seq="${3:-$(date +%s)}" body r
|
|
225
|
+
local sid="${1:?}" p="${2:?}" seq="${3:-$(date +%s)}" body r c head n=0 tmp bg i
|
|
201
226
|
# `wait:"stop,exit"`, never the `wait:true` default set: that set also carries
|
|
202
227
|
# `idle`, which is INFERRED from output stabilization and flaps mid-turn. On a
|
|
203
228
|
# dsh worker whose TUI repaints rarely the session reads `idle` while the model
|
|
@@ -212,16 +237,38 @@ sendwait() {
|
|
|
212
237
|
r=$("${CURL[@]}" -X POST "$API/api/v1/sessions/$sid/input" \
|
|
213
238
|
-H 'Content-Type: application/json' --data-binary "$body")
|
|
214
239
|
if jq -e '.data.delivered and .data.wait.timedOut' <<<"$r" >/dev/null 2>&1; then
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
#
|
|
219
|
-
#
|
|
220
|
-
#
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
240
|
+
# ⚠️ The long re-wait is registered FIRST and stays open for the rest of this call,
|
|
241
|
+
# in the background, while the Enter loop below works the composer. Signals have
|
|
242
|
+
# no history: a `stop` that fires while no wait is open (during a composer read
|
|
243
|
+
# between two short waits, measured) is lost, and the next wait then runs its
|
|
244
|
+
# whole timeout on a turn that already ended. The resend is a tagged DUPLICATE,
|
|
245
|
+
# so the server skips the write and re-waits without retyping (§5.3).
|
|
246
|
+
tmp=$(mktemp "${TMPDIR:-/tmp}/codeman-wait.XXXXXX") || return 1
|
|
247
|
+
"${CURL[@]}" -X POST "$API/api/v1/sessions/$sid/input" \
|
|
248
|
+
-H 'Content-Type: application/json' --data-binary "$(jq -c '.waitTimeout=580000' <<<"$body")" > "$tmp" &
|
|
249
|
+
bg=$!
|
|
250
|
+
# The prompt's head with whitespace removed, matched literally (the "$head"
|
|
251
|
+
# quoting inside ${c#...} keeps a * or ? in the prompt from acting as a glob).
|
|
252
|
+
head=$(printf '%s' "$p" | tr -d '[:space:]' | sed "s/$(printf '\302\240')//g" | head -c 24)
|
|
253
|
+
while [ "$n" -lt 12 ] && [ ! -s "$tmp" ]; do # a non-empty file means the wait ended
|
|
254
|
+
c=$(_composer_text "$sid")
|
|
255
|
+
if [ "$c" = '?' ]; then
|
|
256
|
+
[ "$n" -eq 0 ] || break # unreadable pane: one Enter, then trust it
|
|
257
|
+
elif [ -z "$head" ] || [ "${c#"$head"}" = "$c" ]; then
|
|
258
|
+
break # composer empty (taken) or holding other text
|
|
259
|
+
fi
|
|
260
|
+
n=$((n+1))
|
|
261
|
+
"${CURL[@]}" -X POST "$API/api/v1/sessions/$sid/input" -H 'Content-Type: application/json' \
|
|
262
|
+
-d "$(jq -nc --arg c "$CID-$sid" --argjson s "$(date +%s)" \
|
|
263
|
+
'{input:"\r",useMux:true,clientId:$c,seq:$s}')" >/dev/null
|
|
264
|
+
i=0; while [ "$i" -lt 10 ] && [ ! -s "$tmp" ]; do sleep 1; i=$((i+1)); done
|
|
265
|
+
done
|
|
266
|
+
wait "$bg"
|
|
267
|
+
# The duplicate reports `delivered:false` -- truthfully, but about the wrong send.
|
|
268
|
+
# The first one delivered, so carry that forward, or §1's cleanup reads a completed
|
|
269
|
+
# turn as an undelivered one and keeps a finished worker forever.
|
|
270
|
+
r=$(jq -c 'if .success and (.data.wait.ended | not) then .data.delivered = true else . end' < "$tmp")
|
|
271
|
+
rm -f "$tmp"
|
|
225
272
|
fi
|
|
226
273
|
printf '%s\n' "$r"
|
|
227
274
|
}
|
|
@@ -247,4 +294,4 @@ last_text() {
|
|
|
247
294
|
# The stamp is the LAST line on purpose (a truncated write leaves it unset) and is kept
|
|
248
295
|
# bare on purpose: the write condition above anchors on it with $, so an inline comment
|
|
249
296
|
# here would fail that match and rewrite this file on every single bootstrap.
|
|
250
|
-
CODEMAN_PREAMBLE=1.
|
|
297
|
+
CODEMAN_PREAMBLE=1.30.1
|
|
@@ -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.30.1 ] || { 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
|