aicodeman 1.18.3 → 1.18.4

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.
Files changed (71) hide show
  1. package/README.md +14 -0
  2. package/dist/web/public/admin-ui.js.gz +0 -0
  3. package/dist/web/public/api-client.c9b1cddc.js.gz +0 -0
  4. package/dist/web/public/{app.445f1584.js → app.e2cb9065.js} +1 -1
  5. package/dist/web/public/{app.445f1584.js.br → app.e2cb9065.js.br} +0 -0
  6. package/dist/web/public/{app.445f1584.js.gz → app.e2cb9065.js.gz} +0 -0
  7. package/dist/web/public/approvals-ui.js +24 -15
  8. package/dist/web/public/approvals-ui.js.br +0 -0
  9. package/dist/web/public/approvals-ui.js.gz +0 -0
  10. package/dist/web/public/{constants.822a486d.js → constants.04b7b284.js} +34 -20
  11. package/dist/web/public/constants.04b7b284.js.br +0 -0
  12. package/dist/web/public/constants.04b7b284.js.gz +0 -0
  13. package/dist/web/public/cron-ui.js.gz +0 -0
  14. package/dist/web/public/entrance-animations.js.gz +0 -0
  15. package/dist/web/public/home-sessions.js.gz +0 -0
  16. package/dist/web/public/i18n.86757605.js.gz +0 -0
  17. package/dist/web/public/image-input.ee16ad88.js.gz +0 -0
  18. package/dist/web/public/index.html +13 -6
  19. package/dist/web/public/index.html.br +0 -0
  20. package/dist/web/public/index.html.gz +0 -0
  21. package/dist/web/public/input-cjk.63794d0b.js.gz +0 -0
  22. package/dist/web/public/keyboard-accessory.0454a3e9.js.gz +0 -0
  23. package/dist/web/public/mobile-handlers.bc45f976.js.gz +0 -0
  24. package/dist/web/public/mobile-overview.js.gz +0 -0
  25. package/dist/web/public/mobile.1eef31fe.css.gz +0 -0
  26. package/dist/web/public/notification-manager.5d229063.js.gz +0 -0
  27. package/dist/web/public/orchestrator-panel.js.gz +0 -0
  28. package/dist/web/public/panels-ui.1e4cb4b2.js.gz +0 -0
  29. package/dist/web/public/ralph-panel.6de2d0f8.js.gz +0 -0
  30. package/dist/web/public/ralph-wizard.13a1831e.js.gz +0 -0
  31. package/dist/web/public/readmymind-ui.js.gz +0 -0
  32. package/dist/web/public/respawn-ui.ff0dae4c.js.gz +0 -0
  33. package/dist/web/public/sanitize-html.bc7078d6.js.gz +0 -0
  34. package/dist/web/public/session-lineage.js +35 -1
  35. package/dist/web/public/session-lineage.js.br +0 -0
  36. package/dist/web/public/session-lineage.js.gz +0 -0
  37. package/dist/web/public/{session-ui.20be58fa.js → session-ui.c67565f2.js} +3 -3
  38. package/dist/web/public/session-ui.c67565f2.js.br +0 -0
  39. package/dist/web/public/session-ui.c67565f2.js.gz +0 -0
  40. package/dist/web/public/settings-ui.eacb4f92.js.gz +0 -0
  41. package/dist/web/public/styles.d2fa3a17.css +1 -0
  42. package/dist/web/public/styles.d2fa3a17.css.br +0 -0
  43. package/dist/web/public/styles.d2fa3a17.css.gz +0 -0
  44. package/dist/web/public/subagent-windows.2a192c3e.js.gz +0 -0
  45. package/dist/web/public/sw.js.gz +0 -0
  46. package/dist/web/public/terminal-ui.c182a68d.js.gz +0 -0
  47. package/dist/web/public/ultracode-panel.js.gz +0 -0
  48. package/dist/web/public/ultracode-windows.js.gz +0 -0
  49. package/dist/web/public/upload.html.gz +0 -0
  50. package/dist/web/public/vendor/dompurify.min.js.gz +0 -0
  51. package/dist/web/public/vendor/marked.min.js.gz +0 -0
  52. package/dist/web/public/vendor/xterm-addon-fit.min.js.gz +0 -0
  53. package/dist/web/public/vendor/xterm-addon-serialize.min.js.gz +0 -0
  54. package/dist/web/public/vendor/xterm-addon-unicode11.min.js.gz +0 -0
  55. package/dist/web/public/vendor/xterm-addon-webgl.min.js.gz +0 -0
  56. package/dist/web/public/vendor/xterm-predictive-echo.6cec0fba.js.gz +0 -0
  57. package/dist/web/public/vendor/xterm-zerolag-input.137ad9f0.js.gz +0 -0
  58. package/dist/web/public/vendor/xterm.css.gz +0 -0
  59. package/dist/web/public/vendor/xterm.min.js.gz +0 -0
  60. package/dist/web/public/voice-input.4ec670b0.js.gz +0 -0
  61. package/dist/web/public/voice-pcm-worklet.js.gz +0 -0
  62. package/dist/web/public/webview-tabs.js.gz +0 -0
  63. package/package.json +1 -1
  64. package/skills/codeman/SKILL.md +25 -11
  65. package/dist/web/public/constants.822a486d.js.br +0 -0
  66. package/dist/web/public/constants.822a486d.js.gz +0 -0
  67. package/dist/web/public/session-ui.20be58fa.js.br +0 -0
  68. package/dist/web/public/session-ui.20be58fa.js.gz +0 -0
  69. package/dist/web/public/styles.70bf9c2a.css +0 -1
  70. package/dist/web/public/styles.70bf9c2a.css.br +0 -0
  71. package/dist/web/public/styles.70bf9c2a.css.gz +0 -0
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aicodeman",
3
- "version": "1.18.3",
3
+ "version": "1.18.4",
4
4
  "description": "Mission control for AI coding agents - run 20 autonomous agents with real-time monitoring and session persistence",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -42,18 +42,22 @@ hundred-odd lines at the top of every call (a half-re-pasted preamble used to be
42
42
  single most likely way to break a run).
43
43
 
44
44
  **Codeman seeds the preamble file for you** when it spawns a claude session (server
45
- 1.18.3+), so the bootstrap is usually just loading it — the same two lines every later
46
- call starts with:
45
+ 1.18.3+), so the bootstrap is usually nothing at all: these are the two lines every
46
+ 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
50
  [ "${CODEMAN_PREAMBLE:-}" = 1.18.3 ] || { echo "preamble missing or stale; run the full §0 block"; exit 1; }
51
51
  ```
52
52
 
53
- If that passed, §0 is done: go straight to your job (§1's block opens with this same
54
- loader, so when §1 is the job you can simply start there). Only when it reports
55
- missing or stale, run the full block below once — and run it **verbatim**: paste it
56
- as-is, never re-type it, trim it, or "extract the parts you need". A hand-assembled
53
+ ⚠️ **Never spend a Bash call on this check alone.** §1's block opens with this same
54
+ loader, so when §1 is the job, start there: the check rides the spawn call for free,
55
+ and a standalone "preamble OK" call buys nothing while costing a full model turn
56
+ (measured live: a lone check plus the deliberation around it added ~6 s to a 28 s
57
+ two-worker run). §0 is done the moment any job call passes its opening check. Only
58
+ when a call reports missing or stale, run the full block below once — and run it
59
+ **verbatim**: paste it as-is, never re-type it, trim it, or "extract the parts you
60
+ need". A hand-assembled
57
61
  preamble is the documented failure mode of this skill: one live run rebuilt it
58
62
  "minimally" and lost the `X-Codeman-Parent-Session` header (every worker spawned with
59
63
  no lineage arc in the web UI) and the fast-path functions (the spawn fell back to a
@@ -273,14 +277,18 @@ plain-text 401: see §6 and [the symptom gallery](reference/endpoints.md#symptom
273
277
  block is the whole thing. Run it, report, and stop reading. §2 onward is for jobs this
274
278
  does not cover; you are not being careless by not reading them.**
275
279
 
276
- Fill in the case names and the prompts. Everything below is `spawn_workers` /
277
- `sendwait` / `last_text` / `delete_session` from the §0 preamble, so there is nothing
278
- to assemble and no per-call body to hand-build.
280
+ Fill in the case names and the prompts, then run it as your FIRST Bash call: no
281
+ standalone preamble check before it (line one below IS that check), and no
282
+ reconnaissance. `ls ~/codeman-cases` answers nothing this block needs: invented
283
+ fresh names need no lookup, and `spawn_worker` refuses a name that already exists
284
+ rather than silently reusing it. Everything below is `spawn_workers` / `sendwait` /
285
+ `last_text` / `delete_session` from the §0 preamble, so there is nothing to assemble
286
+ and no per-call body to hand-build.
279
287
 
280
288
  ```bash
281
289
  . "${XDG_CACHE_HOME:-$HOME/.cache}/codeman-agent-$CODEMAN_SESSION_ID.sh" 2>/dev/null # §0 loader
282
290
  [ "${CODEMAN_PREAMBLE:-}" = 1.18.3 ] || { echo "preamble missing or stale; run the full §0 block"; exit 1; }
283
- N=(alpha beta) # one FRESH case name per worker
291
+ N=(alpha beta) # INVENT one fresh case name per worker; never list cases first
284
292
  T=('reply with one line: the absolute path of your working directory'
285
293
  'reply with one line: your model name') # tasks, same order as N
286
294
 
@@ -307,10 +315,16 @@ done; rm -rf "$D"
307
315
 
308
316
  Measured against a live 1.18.0 server: two cold workers spawned and ready in **6.3 s**,
309
317
  both turns dispatched and both answers read in **4.0 s** more. If your run takes minutes,
310
- the time went into deliberation, not the API. The three things that actually cost time:
318
+ the time went into deliberation, not the API. The four things that actually cost time:
311
319
 
312
320
  - **Spawning serially.** One worker per Bash call is one model turn per worker. `&` plus
313
321
  `wait`, as above, makes N workers cost about what one costs.
322
+ - **Reconnaissance turns before the spawn.** A standalone preamble check, an
323
+ `ls ~/codeman-cases`, a `list_sessions` "to see what is there": each is a whole
324
+ model turn spent learning something this block already handles (line one performs
325
+ the preamble check, invented names need no listing, and `spawn_worker` refuses
326
+ collisions). A live two-worker run spent ~12 s of its 28 s total on exactly two
327
+ such turns; the API work in between was under 10 s.
314
328
  - **Re-deriving the happy path** from §5.1 + §5.2 + §5.3 + §5.10. That is what the
315
329
  preamble functions exist to end. Compose them; do not rebuild them. The tells that
316
330
  you are rebuilding anyway: a `for` loop around `quick-start`, a poll on `.data.pid`,