@pasko70/pibo 1.9.11 → 1.9.13

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 (111) hide show
  1. package/README.md +183 -183
  2. package/context/codex-base-prompt.md +148 -148
  3. package/context/compute-worker.md +23 -23
  4. package/context/pibo-compaction-prompt.md +100 -100
  5. package/context/pibo-native-tooling.md +18 -18
  6. package/context/pibo-system-prompt.md +77 -77
  7. package/dist/apps/chat/agent-store.js +248 -248
  8. package/dist/apps/chat/data/project-service.js +168 -168
  9. package/dist/apps/chat/data/read-state-service.js +18 -18
  10. package/dist/apps/chat/data/session-query-service.js +25 -25
  11. package/dist/apps/chat/data/timeline-query-service.js +25 -14
  12. package/dist/apps/chat/static-assets.js +854 -854
  13. package/dist/apps/chat/trace.js +2 -0
  14. package/dist/apps/chat/web-app.js +7 -0
  15. package/dist/apps/chat/workflow-persistence.js +255 -255
  16. package/dist/apps/chat-ui/index.html +16 -16
  17. package/dist/apps/chat-ui/manifest.webmanifest +25 -25
  18. package/dist/apps/chat-ui/sw.js +47 -47
  19. package/dist/apps/chat-vscode-web/index.html +12 -12
  20. package/dist/apps/cli-ui/cliSessionsCommand.js +23 -23
  21. package/dist/apps/context-files-ui/index.html +11 -11
  22. package/dist/apps/vscode-artifacts/latest.vsix +0 -0
  23. package/dist/apps/vscode-artifacts/pibo-vscode-ext-1.9.13.vsix +0 -0
  24. package/dist/cli.js +39 -39
  25. package/dist/compute/cli.js +54 -54
  26. package/dist/cron/cli.js +15 -15
  27. package/dist/cron/store.js +49 -49
  28. package/dist/data/cli.js +23 -23
  29. package/dist/data/event-log.js +23 -23
  30. package/dist/data/ingest-service.js +7 -0
  31. package/dist/data/message-store.js +31 -20
  32. package/dist/data/navigation-store.js +9 -9
  33. package/dist/data/observation-store.js +4 -4
  34. package/dist/data/payload-store.js +17 -17
  35. package/dist/data/schema.js +433 -431
  36. package/dist/data/session-store.js +4 -4
  37. package/dist/data/telemetry-queries.js +54 -54
  38. package/dist/data/telemetry.js +197 -197
  39. package/dist/debug/events.js +12 -12
  40. package/dist/debug/failures.js +6 -6
  41. package/dist/debug/index.js +227 -227
  42. package/dist/debug/messages.js +6 -6
  43. package/dist/debug/pty.js +124 -124
  44. package/dist/debug/session.js +29 -29
  45. package/dist/debug/tools.js +5 -5
  46. package/dist/debug/web-snapshot-browser-scripts.js +294 -294
  47. package/dist/debug/web-streaming-browser-library.js +925 -925
  48. package/dist/debug/web-streaming-browser-scripts.js +232 -232
  49. package/dist/debug/web-streaming-provider-telemetry.js +4 -4
  50. package/dist/debug/web.js +93 -93
  51. package/dist/gateway/cli.js +19 -19
  52. package/dist/mcp/config-command.js +53 -53
  53. package/dist/mcp/index.js +21 -21
  54. package/dist/mcp/registry.js +11 -11
  55. package/dist/pi-packages/cli.js +11 -11
  56. package/dist/plugins/context-files-store.js +110 -110
  57. package/dist/plugins/context-files.js +4 -4
  58. package/dist/ralph/cli.js +18 -18
  59. package/dist/ralph/templates.js +140 -140
  60. package/dist/reliability/store.js +226 -226
  61. package/dist/resources/lifecycle.js +4 -6
  62. package/dist/resources/reaper-state.js +30 -3
  63. package/dist/resources/reaper.js +43 -15
  64. package/dist/sessions/pibo-data-store.js +16 -16
  65. package/dist/sessions/sqlite-store.js +53 -53
  66. package/dist/setup/cli.js +58 -58
  67. package/dist/shared/trace-engine.js +3 -2
  68. package/dist/shared/trace-event-projection.js +26 -0
  69. package/dist/tools/agent-browser-wrapper.js +80 -80
  70. package/dist/tools/browser-use-cdp.js +12 -12
  71. package/dist/tools/browser-use-wrapper.js +762 -762
  72. package/dist/tools/guides.js +538 -538
  73. package/dist/tools/index.js +99 -99
  74. package/dist/tools/runtime/node-worker-source.js +205 -205
  75. package/dist/tools/runtime/python-worker-source.js +177 -177
  76. package/dist/vscode/cli.js +9 -9
  77. package/dist/web-annotations/cdp.js +900 -900
  78. package/dist/web-annotations/store.js +96 -96
  79. package/docs/README.md +23 -23
  80. package/docs/ops/install-developer-host.md +112 -112
  81. package/docs/ops/install-user-host.md +96 -96
  82. package/docs/ops/upgrade-user-to-developer-host.md +69 -69
  83. package/docs/ops/vscode-extension-release.md +160 -160
  84. package/package.json +95 -95
  85. package/skills/builtin/graphify/SKILL.md +52 -52
  86. package/skills/builtin/pi-agent-harness/SKILL.md +319 -319
  87. package/skills/builtin/pi-agent-harness/agents/openai.yaml +4 -4
  88. package/skills/builtin/pibo-docker-system/SKILL.md +170 -170
  89. package/skills/builtin/pibo-spec-writing/SKILL.md +330 -330
  90. package/skills/builtin/prd/SKILL.md +143 -143
  91. package/skills/builtin/ralph-loop/SKILL.md +359 -359
  92. package/skills/builtin/ralph-prd-json/SKILL.md +123 -123
  93. package/skills/builtin/skill-creator/LICENSE.txt +201 -201
  94. package/skills/builtin/skill-creator/SKILL.md +513 -513
  95. package/skills/builtin/skill-creator/agents/analyzer.md +274 -274
  96. package/skills/builtin/skill-creator/agents/comparator.md +202 -202
  97. package/skills/builtin/skill-creator/agents/grader.md +223 -223
  98. package/skills/builtin/skill-creator/assets/eval_review.html +146 -146
  99. package/skills/builtin/skill-creator/eval-viewer/generate_review.py +471 -471
  100. package/skills/builtin/skill-creator/eval-viewer/viewer.html +1325 -1325
  101. package/skills/builtin/skill-creator/references/schemas.md +430 -430
  102. package/skills/builtin/skill-creator/scripts/aggregate_benchmark.py +401 -401
  103. package/skills/builtin/skill-creator/scripts/generate_report.py +326 -326
  104. package/skills/builtin/skill-creator/scripts/improve_description.py +247 -247
  105. package/skills/builtin/skill-creator/scripts/package_skill.py +136 -136
  106. package/skills/builtin/skill-creator/scripts/quick_validate.py +102 -102
  107. package/skills/builtin/skill-creator/scripts/run_eval.py +310 -310
  108. package/skills/builtin/skill-creator/scripts/run_loop.py +328 -328
  109. package/skills/builtin/skill-creator/scripts/utils.py +47 -47
  110. package/skills/builtin/web-annotations/SKILL.md +93 -93
  111. package/src/mcp/LICENSE.mcp-cli +21 -21
@@ -1,20 +1,20 @@
1
- <!doctype html>
2
- <html lang="de" class="dark">
3
- <head>
4
- <meta charset="UTF-8" />
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
6
- <meta name="theme-color" content="#101d22" />
7
- <meta name="apple-mobile-web-app-capable" content="yes" />
8
- <meta name="apple-mobile-web-app-title" content="Pibo Chat" />
9
- <link rel="manifest" href="/apps/chat/manifest.webmanifest" />
10
- <link rel="apple-touch-icon" href="/apps/chat/assets/pwa-images/ios/180.png" />
11
- <title>Pibo Web Chat</title>
1
+ <!doctype html>
2
+ <html lang="de" class="dark">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
6
+ <meta name="theme-color" content="#101d22" />
7
+ <meta name="apple-mobile-web-app-capable" content="yes" />
8
+ <meta name="apple-mobile-web-app-title" content="Pibo Chat" />
9
+ <link rel="manifest" href="/apps/chat/manifest.webmanifest" />
10
+ <link rel="apple-touch-icon" href="/apps/chat/assets/pwa-images/ios/180.png" />
11
+ <title>Pibo Web Chat</title>
12
12
  <script type="module" crossorigin src="/apps/chat/assets/index-DwHJfmiF.js"></script>
13
13
  <link rel="modulepreload" crossorigin href="/apps/chat/assets/rolldown-runtime-S-ySWqyJ.js">
14
14
  <link rel="modulepreload" crossorigin href="/apps/chat/assets/dist-SVPsM5Oi.js">
15
15
  <link rel="stylesheet" crossorigin href="/apps/chat/assets/index-C0x9nEcf.css">
16
- </head>
17
- <body>
18
- <div id="root"></div>
19
- </body>
20
- </html>
16
+ </head>
17
+ <body>
18
+ <div id="root"></div>
19
+ </body>
20
+ </html>
@@ -1,25 +1,25 @@
1
- {
2
- "name": "Pibo Web Chat",
3
- "short_name": "Pibo Chat",
4
- "description": "Pibo Chat Web App als installierbare Progressive Web App.",
5
- "start_url": "/apps/chat/",
6
- "scope": "/apps/chat/",
7
- "display": "standalone",
8
- "background_color": "#101d22",
9
- "theme_color": "#101d22",
10
- "orientation": "any",
11
- "icons": [
12
- {
13
- "src": "/apps/chat/assets/pwa-images/android/launchericon-192x192.png",
14
- "sizes": "192x192",
15
- "type": "image/png",
16
- "purpose": "any maskable"
17
- },
18
- {
19
- "src": "/apps/chat/assets/pwa-images/android/launchericon-512x512.png",
20
- "sizes": "512x512",
21
- "type": "image/png",
22
- "purpose": "any maskable"
23
- }
24
- ]
25
- }
1
+ {
2
+ "name": "Pibo Web Chat",
3
+ "short_name": "Pibo Chat",
4
+ "description": "Pibo Chat Web App als installierbare Progressive Web App.",
5
+ "start_url": "/apps/chat/",
6
+ "scope": "/apps/chat/",
7
+ "display": "standalone",
8
+ "background_color": "#101d22",
9
+ "theme_color": "#101d22",
10
+ "orientation": "any",
11
+ "icons": [
12
+ {
13
+ "src": "/apps/chat/assets/pwa-images/android/launchericon-192x192.png",
14
+ "sizes": "192x192",
15
+ "type": "image/png",
16
+ "purpose": "any maskable"
17
+ },
18
+ {
19
+ "src": "/apps/chat/assets/pwa-images/android/launchericon-512x512.png",
20
+ "sizes": "512x512",
21
+ "type": "image/png",
22
+ "purpose": "any maskable"
23
+ }
24
+ ]
25
+ }
@@ -1,47 +1,47 @@
1
- const CACHE_NAME = "pibo-chat-v2";
2
- const APP_SHELL_URL = "/apps/chat/";
3
-
4
- self.addEventListener("install", (event) => {
5
- event.waitUntil(
6
- caches.open(CACHE_NAME)
7
- .then((cache) => cache.add(APP_SHELL_URL))
8
- .then(() => self.skipWaiting()),
9
- );
10
- });
11
-
12
- self.addEventListener("activate", (event) => {
13
- event.waitUntil(
14
- caches.keys()
15
- .then((names) => Promise.all(names.filter((name) => name !== CACHE_NAME).map((name) => caches.delete(name))))
16
- .then(() => self.clients.claim()),
17
- );
18
- });
19
-
20
- self.addEventListener("message", (event) => {
21
- if (event.data && event.data.type === "PIBO_CHAT_SKIP_WAITING") {
22
- self.skipWaiting();
23
- }
24
- });
25
-
26
- self.addEventListener("fetch", (event) => {
27
- const request = event.request;
28
- if (request.method !== "GET") return;
29
-
30
- const url = new URL(request.url);
31
- if (url.origin !== self.location.origin || !url.pathname.startsWith("/apps/chat/")) return;
32
-
33
- if (request.mode === "navigate") {
34
- event.respondWith(fetch(request).catch(() => caches.match(APP_SHELL_URL)));
35
- return;
36
- }
37
-
38
- if (url.pathname.startsWith("/apps/chat/assets/")) {
39
- event.respondWith(
40
- caches.match(request).then((cached) => cached ?? fetch(request).then((response) => {
41
- const copy = response.clone();
42
- caches.open(CACHE_NAME).then((cache) => cache.put(request, copy));
43
- return response;
44
- })),
45
- );
46
- }
47
- });
1
+ const CACHE_NAME = "pibo-chat-v2";
2
+ const APP_SHELL_URL = "/apps/chat/";
3
+
4
+ self.addEventListener("install", (event) => {
5
+ event.waitUntil(
6
+ caches.open(CACHE_NAME)
7
+ .then((cache) => cache.add(APP_SHELL_URL))
8
+ .then(() => self.skipWaiting()),
9
+ );
10
+ });
11
+
12
+ self.addEventListener("activate", (event) => {
13
+ event.waitUntil(
14
+ caches.keys()
15
+ .then((names) => Promise.all(names.filter((name) => name !== CACHE_NAME).map((name) => caches.delete(name))))
16
+ .then(() => self.clients.claim()),
17
+ );
18
+ });
19
+
20
+ self.addEventListener("message", (event) => {
21
+ if (event.data && event.data.type === "PIBO_CHAT_SKIP_WAITING") {
22
+ self.skipWaiting();
23
+ }
24
+ });
25
+
26
+ self.addEventListener("fetch", (event) => {
27
+ const request = event.request;
28
+ if (request.method !== "GET") return;
29
+
30
+ const url = new URL(request.url);
31
+ if (url.origin !== self.location.origin || !url.pathname.startsWith("/apps/chat/")) return;
32
+
33
+ if (request.mode === "navigate") {
34
+ event.respondWith(fetch(request).catch(() => caches.match(APP_SHELL_URL)));
35
+ return;
36
+ }
37
+
38
+ if (url.pathname.startsWith("/apps/chat/assets/")) {
39
+ event.respondWith(
40
+ caches.match(request).then((cached) => cached ?? fetch(request).then((response) => {
41
+ const copy = response.clone();
42
+ caches.open(CACHE_NAME).then((cache) => cache.put(request, copy));
43
+ return response;
44
+ })),
45
+ );
46
+ }
47
+ });
@@ -1,14 +1,14 @@
1
- <!doctype html>
2
- <html lang="de" class="dark">
3
- <head>
4
- <meta charset="UTF-8" />
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
- <meta name="theme-color" content="#101d22" />
7
- <title>Pibo</title>
1
+ <!doctype html>
2
+ <html lang="de" class="dark">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
+ <meta name="theme-color" content="#101d22" />
7
+ <title>Pibo</title>
8
8
  <script type="module" crossorigin src="/apps/chat-vscode/assets/index-BAMxIaI_.js"></script>
9
9
  <link rel="stylesheet" crossorigin href="/apps/chat-vscode/assets/index-B5QK07zO.css">
10
- </head>
11
- <body>
12
- <div id="root"></div>
13
- </body>
14
- </html>
10
+ </head>
11
+ <body>
12
+ <div id="root"></div>
13
+ </body>
14
+ </html>
@@ -205,28 +205,28 @@ export function terminalLineLimitFromColumns(columns) {
205
205
  return Math.max(20, Math.floor(columns) - 4);
206
206
  }
207
207
  export function cliSessionsHelpText() {
208
- return `pibo tui:sessions - reduced Web Chat-derived session UI for terminals
209
-
210
- Usage:
211
- pibo tui:sessions [options]
212
-
213
- Options:
214
- --session <id> Open a specific Pibo session id
215
- --max-rows <count> Limit rendered transcript rows (default: 20)
216
- --demo Use deterministic fake session data for smoke testing
217
- -h, --help Show this help
218
-
219
- V2 commands inside the app:
220
- ${cliCommandSummaryText()}
221
-
222
- Scope:
223
- CLI Sessions is a reduced session/chat UI for SSH, bootstrap, recovery, and quick local work.
224
- It starts only when stdin and stdout are interactive TTYs; pipes fail with a clear error.
225
- Transcript rendering uses a bounded default tail window of 20 rows and truncates narrow terminal lines.
226
- Web Chat remains the full control center for projects, workflows, Cron, Ralph, Agent Designer, settings, and context management.
227
-
228
- Related existing commands:
229
- pibo tui
230
- pibo tui:routed
208
+ return `pibo tui:sessions - reduced Web Chat-derived session UI for terminals
209
+
210
+ Usage:
211
+ pibo tui:sessions [options]
212
+
213
+ Options:
214
+ --session <id> Open a specific Pibo session id
215
+ --max-rows <count> Limit rendered transcript rows (default: 20)
216
+ --demo Use deterministic fake session data for smoke testing
217
+ -h, --help Show this help
218
+
219
+ V2 commands inside the app:
220
+ ${cliCommandSummaryText()}
221
+
222
+ Scope:
223
+ CLI Sessions is a reduced session/chat UI for SSH, bootstrap, recovery, and quick local work.
224
+ It starts only when stdin and stdout are interactive TTYs; pipes fail with a clear error.
225
+ Transcript rendering uses a bounded default tail window of 20 rows and truncates narrow terminal lines.
226
+ Web Chat remains the full control center for projects, workflows, Cron, Ralph, Agent Designer, settings, and context management.
227
+
228
+ Related existing commands:
229
+ pibo tui
230
+ pibo tui:routed
231
231
  `;
232
232
  }
@@ -1,14 +1,14 @@
1
- <!doctype html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8" />
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
- <title>Pibo Context Files</title>
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
+ <title>Pibo Context Files</title>
7
7
  <script type="module" crossorigin src="/apps/context-files/assets/index-BhAWD3dv.js"></script>
8
8
  <link rel="modulepreload" crossorigin href="/apps/context-files/assets/dist-D1KyNDg5.js">
9
9
  <link rel="stylesheet" crossorigin href="/apps/context-files/assets/index-B92tL3Pp.css">
10
- </head>
11
- <body>
12
- <div id="root"></div>
13
- </body>
14
- </html>
10
+ </head>
11
+ <body>
12
+ <div id="root"></div>
13
+ </body>
14
+ </html>
package/dist/cli.js CHANGED
@@ -445,47 +445,47 @@ function warnIfUnsupportedGatewayNodeVersion() {
445
445
  console.warn(`[pibo] warning: ${message}`);
446
446
  }
447
447
  function printRootDiscoveryText() {
448
- return `pibo - agent-oriented CLI
449
-
450
- Commands:
451
- config Manage local pibo config
452
- mcp Discover and call configured MCP servers
453
- tools Install and inspect curated external CLI tools
454
- pi-packages Register Pi Coding Agent packages
455
- debug Inspect local Pibo data
456
- data Inspect and maintain Pibo data stores
457
- compute Manage Pibo Docker compute workers
458
- resources Inspect and safely reap managed compute and browser resources
459
- setup Plan user-host installs and developer-host upgrades
460
- skills Manage Pibo user skills
461
- cron Manage scheduled Pibo jobs
462
- ralph Manage continuous Ralph jobs
463
- vscode Manage the Pibo VS Code extension
464
- profile Inspect a pibo profile, including active saved Chat custom agents
465
- tui Start the direct Pi TUI
466
- tui:routed Start the local routed Pibo TUI
467
- tui:sessions Start the reduced Web Chat-derived session UI
468
- gateway Inspect and restart host gateways through safe CLI commands
469
- gateway:web Start a web gateway runtime (use --auth=local for loopback-only local auth)
470
-
471
- Options:
472
- --version Print the Pibo CLI version
473
-
474
- Next:
475
- pibo <command> --help
448
+ return `pibo - agent-oriented CLI
449
+
450
+ Commands:
451
+ config Manage local pibo config
452
+ mcp Discover and call configured MCP servers
453
+ tools Install and inspect curated external CLI tools
454
+ pi-packages Register Pi Coding Agent packages
455
+ debug Inspect local Pibo data
456
+ data Inspect and maintain Pibo data stores
457
+ compute Manage Pibo Docker compute workers
458
+ resources Inspect and safely reap managed compute and browser resources
459
+ setup Plan user-host installs and developer-host upgrades
460
+ skills Manage Pibo user skills
461
+ cron Manage scheduled Pibo jobs
462
+ ralph Manage continuous Ralph jobs
463
+ vscode Manage the Pibo VS Code extension
464
+ profile Inspect a pibo profile, including active saved Chat custom agents
465
+ tui Start the direct Pi TUI
466
+ tui:routed Start the local routed Pibo TUI
467
+ tui:sessions Start the reduced Web Chat-derived session UI
468
+ gateway Inspect and restart host gateways through safe CLI commands
469
+ gateway:web Start a web gateway runtime (use --auth=local for loopback-only local auth)
470
+
471
+ Options:
472
+ --version Print the Pibo CLI version
473
+
474
+ Next:
475
+ pibo <command> --help
476
476
  `;
477
477
  }
478
478
  function printConfigDiscoveryText() {
479
- return `pibo config - local config at ${getDefaultPiboConfigPath()}
480
-
481
- Commands:
482
- keys List supported config keys
483
- show Print redacted config JSON
484
- get <key> Print one redacted config value
485
- set <key> <value> Set one config value
486
- del <key> Delete one config value
487
-
488
- Next:
489
- pibo config keys
479
+ return `pibo config - local config at ${getDefaultPiboConfigPath()}
480
+
481
+ Commands:
482
+ keys List supported config keys
483
+ show Print redacted config JSON
484
+ get <key> Print one redacted config value
485
+ set <key> <value> Set one config value
486
+ del <key> Delete one config value
487
+
488
+ Next:
489
+ pibo config keys
490
490
  `;
491
491
  }
@@ -188,16 +188,16 @@ export async function runComputeCli(argv) {
188
188
  .helpOption("-h, --help", "Show help")
189
189
  .showHelpAfterError()
190
190
  .helpCommand("help [command]", "Show help for command")
191
- .addHelpText("after", `
192
- Examples:
193
- $ pibo compute spawn
194
- $ pibo compute dev spawn --worktree my-fix
195
- $ pibo compute list
196
- $ pibo compute release pibo-worker-abc123
197
-
198
- Next:
199
- $ pibo compute spawn --help
200
- $ pibo compute dev --help
191
+ .addHelpText("after", `
192
+ Examples:
193
+ $ pibo compute spawn
194
+ $ pibo compute dev spawn --worktree my-fix
195
+ $ pibo compute list
196
+ $ pibo compute release pibo-worker-abc123
197
+
198
+ Next:
199
+ $ pibo compute spawn --help
200
+ $ pibo compute dev --help
201
201
  `);
202
202
  program
203
203
  .command("spawn")
@@ -208,11 +208,11 @@ Next:
208
208
  .option("--idle-seconds <n>", "Tag the worker idle retention in seconds")
209
209
  .option("--ralph-job-id <id>", "Tag the Ralph job id when this worker is Ralph-owned")
210
210
  .option("--ralph-run-id <id>", "Tag the Ralph run id when this worker is Ralph-owned")
211
- .addHelpText("after", `
212
- Creates a worker container and starts the gateway. Prints JSON with the container id and mapped ports.
213
-
214
- Use this for quick isolated checks. For code changes, prefer:
215
- $ pibo compute dev spawn --worktree my-fix
211
+ .addHelpText("after", `
212
+ Creates a worker container and starts the gateway. Prints JSON with the container id and mapped ports.
213
+
214
+ Use this for quick isolated checks. For code changes, prefer:
215
+ $ pibo compute dev spawn --worktree my-fix
216
216
  `)
217
217
  .action(async (options) => {
218
218
  await mkdir(path.dirname(HASH_FILE), { recursive: true });
@@ -238,11 +238,11 @@ Use this for quick isolated checks. For code changes, prefer:
238
238
  .command("dev")
239
239
  .description("Manage development workers with Git worktrees")
240
240
  .helpCommand("help [command]", "Show help for command")
241
- .addHelpText("after", `
242
- Use dev workers for Pibo code changes. Each worker gets its own Git worktree and port block.
243
-
244
- Next:
245
- $ pibo compute dev spawn --help
241
+ .addHelpText("after", `
242
+ Use dev workers for Pibo code changes. Each worker gets its own Git worktree and port block.
243
+
244
+ Next:
245
+ $ pibo compute dev spawn --help
246
246
  `);
247
247
  devCmd
248
248
  .command("spawn")
@@ -254,11 +254,11 @@ Next:
254
254
  .option("--idle-seconds <n>", "Tag the worker idle retention in seconds")
255
255
  .option("--ralph-job-id <id>", "Tag the Ralph job id when this worker is Ralph-owned")
256
256
  .option("--ralph-run-id <id>", "Tag the Ralph run id when this worker is Ralph-owned")
257
- .addHelpText("after", `
258
- Creates .worktrees/<name>, starts a worker, and prints JSON with ports and the worktree path.
259
-
260
- Example:
261
- $ pibo compute dev spawn --worktree my-fix
257
+ .addHelpText("after", `
258
+ Creates .worktrees/<name>, starts a worker, and prints JSON with ports and the worktree path.
259
+
260
+ Example:
261
+ $ pibo compute dev spawn --worktree my-fix
262
262
  `)
263
263
  .action(async (options) => {
264
264
  await mkdir(path.dirname(DEP_HASH_FILE), { recursive: true });
@@ -293,8 +293,8 @@ Example:
293
293
  program
294
294
  .command("rebuild")
295
295
  .description("Rebuild the pibo:latest Docker image")
296
- .addHelpText("after", `
297
- Rebuilds from the current workspace and refreshes compute image hashes.
296
+ .addHelpText("after", `
297
+ Rebuilds from the current workspace and refreshes compute image hashes.
298
298
  `)
299
299
  .action(async () => {
300
300
  console.error(`Rebuilding ${IMAGE_NAME} from ${WORKSPACE_DIR}...`);
@@ -309,11 +309,11 @@ Rebuilds from the current workspace and refreshes compute image hashes.
309
309
  .option("--all", "Include stopped, exited, dead, and restarting Pibo workers")
310
310
  .option("--json", "Print machine-readable worker metadata")
311
311
  .option("--verbose", "Show full Docker port bindings in text output")
312
- .addHelpText("after", `
313
- Shows each worker's name, role, status, mapped ports, creation time, holder, and Ralph labels when present.
314
-
315
- Next:
316
- $ pibo compute list --all --json
312
+ .addHelpText("after", `
313
+ Shows each worker's name, role, status, mapped ports, creation time, holder, and Ralph labels when present.
314
+
315
+ Next:
316
+ $ pibo compute list --all --json
317
317
  `)
318
318
  .action(async (options) => {
319
319
  const workers = await listWorkers({ all: options.all === true });
@@ -330,14 +330,14 @@ Next:
330
330
  .option("--json", "Print machine-readable resource health")
331
331
  .option("--browser-pool-root <path>", "Browser pool root directory to scan")
332
332
  .option("--browser-use-home <path>", "Browser-use home directory to scan for stale CDP files")
333
- .addHelpText("after", `
334
- Reports browser main-process counts, active browser-pool leases, stale CDP files, dirty/OOM workers, Docker disk pressure, and reaper/timer status.
335
- The command is read-only and never reaps, prunes, stops, or removes resources.
336
-
337
- Next:
338
- $ pibo compute health --json
339
- $ pibo tools browser-use pool reap --json
340
- $ pibo compute reap --dry-run --json
333
+ .addHelpText("after", `
334
+ Reports browser main-process counts, active browser-pool leases, stale CDP files, dirty/OOM workers, Docker disk pressure, and reaper/timer status.
335
+ The command is read-only and never reaps, prunes, stops, or removes resources.
336
+
337
+ Next:
338
+ $ pibo compute health --json
339
+ $ pibo tools browser-use pool reap --json
340
+ $ pibo compute reap --dry-run --json
341
341
  `)
342
342
  .action(async (options) => {
343
343
  const health = await getComputeResourceHealth({ browserPoolRoot: options.browserPoolRoot, browserUseHome: options.browserUseHome });
@@ -352,13 +352,13 @@ Next:
352
352
  .alias("disk")
353
353
  .description("Show read-only Docker disk and build-cache diagnostics")
354
354
  .option("--json", "Print machine-readable disk diagnostics")
355
- .addHelpText("after", `
356
- Reports Docker image, container, local volume, and build-cache usage without pruning anything.
357
- Cleanup suggestions distinguish compute containers, images, build cache, and Git worktrees.
358
-
359
- Next:
360
- $ pibo compute diagnostics --json
361
- $ pibo compute reap --dry-run --json
355
+ .addHelpText("after", `
356
+ Reports Docker image, container, local volume, and build-cache usage without pruning anything.
357
+ Cleanup suggestions distinguish compute containers, images, build cache, and Git worktrees.
358
+
359
+ Next:
360
+ $ pibo compute diagnostics --json
361
+ $ pibo compute reap --dry-run --json
362
362
  `)
363
363
  .action(async (options) => {
364
364
  const diagnostics = await getComputeDiskDiagnostics();
@@ -372,9 +372,9 @@ Next:
372
372
  .command("release")
373
373
  .description("Stop and remove a worker container")
374
374
  .argument("<id>", "Container name or ID")
375
- .addHelpText("after", `
376
- Use the name or id shown by:
377
- $ pibo compute list
375
+ .addHelpText("after", `
376
+ Use the name or id shown by:
377
+ $ pibo compute list
378
378
  `)
379
379
  .action(async (id) => {
380
380
  await releaseWorker(id);
@@ -390,10 +390,10 @@ Use the name or id shown by:
390
390
  .option("--dry-run", "Preview the cleanup plan without removing containers")
391
391
  .option("--apply", "Apply the cleanup plan and remove selected containers")
392
392
  .option("--json", "Print machine-readable cleanup plan/result")
393
- .addHelpText("after", `
394
- Defaults to a dry-run plan for one-time workers. Dev workers require --include-dev.
395
- Stopped, dirty/OOM, and old workers are selected unless disabled by selector flags.
396
- Worktrees are preserved; container cleanup never deletes Git worktrees.
393
+ .addHelpText("after", `
394
+ Defaults to a dry-run plan for one-time workers. Dev workers require --include-dev.
395
+ Stopped, dirty/OOM, and old workers are selected unless disabled by selector flags.
396
+ Worktrees are preserved; container cleanup never deletes Git worktrees.
397
397
  `)
398
398
  .action(async (options) => {
399
399
  const maxAge = Number(options.maxAgeMinutes);
package/dist/cron/cli.js CHANGED
@@ -2,21 +2,21 @@ import { Command } from "commander";
2
2
  import { parseFriendlySchedule } from "./schedule.js";
3
3
  import { createDefaultPiboCronStore } from "./store.js";
4
4
  function printDiscovery() {
5
- console.log(`pibo cron
6
-
7
- Manage scheduled Pibo agent jobs.
8
-
9
- Commands:
10
- status Show scheduler store status
11
- list List cron jobs
12
- add Create a cron job
13
- edit Update a cron job
14
- pause Disable a cron job
15
- resume Enable a cron job and recompute next run
16
- remove Delete a cron job
17
- runs List cron runs
18
-
19
- Next: pibo cron add --help
5
+ console.log(`pibo cron
6
+
7
+ Manage scheduled Pibo agent jobs.
8
+
9
+ Commands:
10
+ status Show scheduler store status
11
+ list List cron jobs
12
+ add Create a cron job
13
+ edit Update a cron job
14
+ pause Disable a cron job
15
+ resume Enable a cron job and recompute next run
16
+ remove Delete a cron job
17
+ runs List cron runs
18
+
19
+ Next: pibo cron add --help
20
20
  pibo cron edit --help`);
21
21
  }
22
22
  function printJson(value) {