@clawos-dev/clawd 0.2.615 → 0.2.616
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.cjs +4 -3
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -46330,6 +46330,7 @@ function pushEventToBufferInPlace(next, event, deps) {
|
|
|
46330
46330
|
const isTurnEnd = withSeq.kind === "turn_end";
|
|
46331
46331
|
const isUserText = withSeq.kind === "user_text";
|
|
46332
46332
|
const isBackgroundEvent = withSeq.kind === "subagent_progress";
|
|
46333
|
+
const isSessionInit = withSeq.kind === "session_init";
|
|
46333
46334
|
if (isBackgroundEvent) {
|
|
46334
46335
|
const bg = withSeq;
|
|
46335
46336
|
const done = bg.status === "completed" || bg.status === "failed";
|
|
@@ -46350,7 +46351,7 @@ function pushEventToBufferInPlace(next, event, deps) {
|
|
|
46350
46351
|
}
|
|
46351
46352
|
next.turnOpen = false;
|
|
46352
46353
|
next.turnStartedAt = null;
|
|
46353
|
-
} else if (!isBackgroundEvent && !next.turnOpen) {
|
|
46354
|
+
} else if (!isBackgroundEvent && !(isSessionInit && next.status === "running-idle") && !next.turnOpen) {
|
|
46354
46355
|
next.turnOpen = true;
|
|
46355
46356
|
next.turnStartedAt = deps.now();
|
|
46356
46357
|
}
|
|
@@ -46362,7 +46363,7 @@ function pushEventToBufferInPlace(next, event, deps) {
|
|
|
46362
46363
|
}
|
|
46363
46364
|
if (next.freshSpawn) next.freshSpawn = false;
|
|
46364
46365
|
const effects = [emitSessionEvent(next.file.sessionId, withSeq)];
|
|
46365
|
-
if (!isTurnEnd && !isBackgroundEvent && withSeq.kind !== "meta-text" && next.status === "running-idle" && next.procAlive) {
|
|
46366
|
+
if (!isTurnEnd && !isBackgroundEvent && !isSessionInit && withSeq.kind !== "meta-text" && next.status === "running-idle" && next.procAlive) {
|
|
46366
46367
|
next.status = "running";
|
|
46367
46368
|
effects.push({ kind: "cancel-idle-kill", sessionId: next.file.sessionId });
|
|
46368
46369
|
effects.push({
|
|
@@ -73494,7 +73495,7 @@ function computeMethodAccess(args) {
|
|
|
73494
73495
|
}
|
|
73495
73496
|
|
|
73496
73497
|
// src/version.ts
|
|
73497
|
-
var version = "0.2.
|
|
73498
|
+
var version = "0.2.616".length > 0 ? "0.2.616" : "dev";
|
|
73498
73499
|
|
|
73499
73500
|
// src/cli-probe/probe.ts
|
|
73500
73501
|
var fs83 = __toESM(require("fs"), 1);
|