@pikiloom/kernel 0.3.20 → 0.3.22
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/drivers/claude.js
CHANGED
|
@@ -26,7 +26,12 @@ export class ClaudeDriver {
|
|
|
26
26
|
const args = [];
|
|
27
27
|
if (input.model)
|
|
28
28
|
args.push('--model', input.model);
|
|
29
|
-
|
|
29
|
+
// Fresh-pin wins over resume: `--session-id <uuid>` makes Claude start a NEW session and
|
|
30
|
+
// write its transcript under the given id, so the host already knows the resumable key
|
|
31
|
+
// before spawn (terminal-first new session). Falls back to `--resume` for an existing one.
|
|
32
|
+
if (input.newSessionId)
|
|
33
|
+
args.push('--session-id', input.newSessionId);
|
|
34
|
+
else if (input.sessionId)
|
|
30
35
|
args.push('--resume', input.sessionId);
|
|
31
36
|
if (input.extraArgs?.length)
|
|
32
37
|
args.push(...input.extraArgs);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pikiloom/kernel",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.22",
|
|
4
4
|
"description": "Heterogeneous coding agents (Claude / Codex / Gemini / ACP) -> an interaction-friendly, accumulating session snapshot + control handle, over pluggable surfaces (IM, Web, tunnel, TUI). The reusable core pikiloom itself is built on.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|