@sickr/replay 0.4.3 → 0.4.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 +7 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -113,10 +113,15 @@ export function handleInit(provider, handle) {
|
|
|
113
113
|
catch { /* none */ }
|
|
114
114
|
writeFileSync(configPath(), JSON.stringify({ ...existing, handle }, null, 2) + '\n');
|
|
115
115
|
}
|
|
116
|
+
const labelLine = handle
|
|
117
|
+
? `Your prompts will be labelled "${handle}".\n`
|
|
118
|
+
: 'Tip: set SICKR_HANDLE or run `init --as "<name>"` to label your prompts.\n';
|
|
119
|
+
const nextSteps = provider === 'codex'
|
|
120
|
+
? 'Next: in Codex, run `/hooks` to review & trust these hooks (Codex gates new hooks),\nthen use Codex as normal and: npx @sickr/replay open --codex\n'
|
|
121
|
+
: 'Use Claude Code as normal, then: npx @sickr/replay open\n';
|
|
116
122
|
process.stdout.write(`sickr: installed ${p.name} recording hooks in ${settingsPath}\n` +
|
|
117
123
|
`Runs are recorded locally to ${runsDir()} (secrets redacted).\n` +
|
|
118
|
-
|
|
119
|
-
`Use ${p.name} as normal, then: npx @sickr/replay open\n`);
|
|
124
|
+
labelLine + nextSteps);
|
|
120
125
|
}
|
|
121
126
|
/** Stop recording: remove SICKR's hooks from this project (both providers), keep runs. */
|
|
122
127
|
export function handleStop() {
|
package/package.json
CHANGED