@sickr/replay 0.5.1 → 0.5.2

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 +12 -2
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -30,6 +30,9 @@ Commands:
30
30
  runs to ~/.sickr/runs (secrets redacted).
31
31
  --codex install for Codex (.codex/hooks.json) instead of
32
32
  Claude Code (.claude/settings.json)
33
+ --both install for BOTH Claude Code and Codex (so the
34
+ combined `, open;
35
+ --today ` view sees everything)
33
36
  --no-name label your prompts "Human" instead of your
34
37
  login/git name (default is your login name)
35
38
  open [run] Render a run to a local HTML timeline and open it. 100% local.
@@ -430,9 +433,16 @@ async function main() {
430
433
  case 'record':
431
434
  handleRecord(await readStdin(), provider);
432
435
  return;
433
- case 'init':
434
- handleInit(provider, rest.includes('--no-name'));
436
+ case 'init': {
437
+ const noName = rest.includes('--no-name');
438
+ if (rest.includes('--both')) {
439
+ handleInit('claude', noName);
440
+ handleInit('codex', noName);
441
+ return;
442
+ }
443
+ handleInit(provider, noName);
435
444
  return;
445
+ }
436
446
  case 'open': {
437
447
  const sel = selectWindow(rest);
438
448
  if (sel) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sickr/replay",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
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" },