@sickr/replay 0.5.3 → 0.5.5

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 (2) hide show
  1. package/dist/cli.js +20 -13
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -26,14 +26,12 @@ replay log helps you — and it — recall exactly what was just done.
26
26
  Usage: npx @sickr/replay <command> [options]
27
27
 
28
28
  Commands:
29
- init Install the recording hooks in this project and start capturing
30
- runs to ~/.sickr/runs (secrets redacted).
31
- --codex install for Codex (.codex/hooks.json) instead of
32
- Claude Code (.claude/settings.json)
33
- --all install for BOTH Claude Code and Codex (so the
34
- combined "open --today" view sees everything)
35
- --no-name label your prompts "Human" instead of your
36
- login/git name (default is your login name)
29
+ init <agent> Install recording hooks for an agent (REQUIRED no default)
30
+ and start capturing to ~/.sickr/runs (secrets redacted):
31
+ claude Claude Code (.claude/settings.json)
32
+ codex Codex (.codex/hooks.json — needs Codex 0.133+)
33
+ all both of the above (feeds the combined view)
34
+ Flag: --no-name (label prompts "Human", not your login name)
37
35
  open [run] Render a run to a local HTML timeline and open it. 100% local.
38
36
  Defaults to the newest run; pass a run id, or --codex/--claude
39
37
  for the newest run of that agent. Combine across agents with a
@@ -51,8 +49,11 @@ Commands:
51
49
  clear Delete all local runs in ~/.sickr/runs (asks first).
52
50
  help Show this help.
53
51
 
52
+ Requires Node 18+. Codex capture needs Codex CLI 0.133+ (run /hooks to trust);
53
+ Claude Code: any hooks-capable build.
54
+
54
55
  ────────────────────────────────────────────────────────────────────
55
- This tool audits ONE agent on ONE machine. SICKR governs your whole team.
56
+ This replays your AI coding agents on ONE machine. SICKR governs your whole team.
56
57
  Issue tracking + your team + automation + agents — one governed workflow for
57
58
  audit, accountability, productivity and confidence.
58
59
 
@@ -379,7 +380,7 @@ async function handleShare(runId, yes, open) {
379
380
  if (!(await confirmPublish(yes, 'this run')))
380
381
  return;
381
382
  const url = await publishWithRetry(payload);
382
- process.stdout.write(`sickr: published → ${url}\nsickr: this link expires in 24h.\n`);
383
+ process.stdout.write(`sickr: published → ${url}\nsickr: this link expires in 24h.\nsickr: Replay Pro (live view + remote steer) — coming soon → https://sickr.ai/#waitlist\n`);
383
384
  if (open)
384
385
  openInBrowser(url);
385
386
  }
@@ -400,7 +401,7 @@ async function handleShareCombined(sel, yes, open) {
400
401
  if (!(await confirmPublish(yes, 'this combined replay')))
401
402
  return;
402
403
  const url = await publishWithRetry(payload);
403
- process.stdout.write(`sickr: published → ${url}\nsickr: this link expires in 24h.\n`);
404
+ process.stdout.write(`sickr: published → ${url}\nsickr: this link expires in 24h.\nsickr: Replay Pro (live view + remote steer) — coming soon → https://sickr.ai/#waitlist\n`);
404
405
  if (open)
405
406
  openInBrowser(url);
406
407
  }
@@ -434,12 +435,18 @@ async function main() {
434
435
  return;
435
436
  case 'init': {
436
437
  const noName = rest.includes('--no-name');
437
- if (rest.includes('--all')) {
438
+ const agent = rest.find((a) => !a.startsWith('-'));
439
+ if (agent === 'all') {
438
440
  handleInit('claude', noName);
439
441
  handleInit('codex', noName);
440
442
  return;
441
443
  }
442
- handleInit(provider, noName);
444
+ if (agent === 'claude' || agent === 'codex') {
445
+ handleInit(agent, noName);
446
+ return;
447
+ }
448
+ process.stderr.write('sickr: choose an agent — `init claude`, `init codex`, or `init all`.\n');
449
+ process.exit(1);
443
450
  return;
444
451
  }
445
452
  case 'open': {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sickr/replay",
3
- "version": "0.5.3",
3
+ "version": "0.5.5",
4
4
  "type": "module",
5
5
  "description": "npx @sickr/replay — local Claude Code audit + one-click share. The free wedge into SICKR.",
6
6
  "bin": { "replay": "dist/cli.js" },