@sickr/replay 0.5.3 → 0.5.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.
- package/dist/cli.js +18 -11
- 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
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
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
|
|
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
|
|
|
@@ -434,12 +435,18 @@ async function main() {
|
|
|
434
435
|
return;
|
|
435
436
|
case 'init': {
|
|
436
437
|
const noName = rest.includes('--no-name');
|
|
437
|
-
|
|
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
|
-
|
|
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