@cydm/pie 2.6.7 → 2.6.8
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/builtin/extensions/ask-user/index.js +1 -1
- package/dist/builtin/extensions/plan-mode/index.js +1 -1
- package/dist/builtin/extensions/subagent/index.js +2 -2
- package/dist/builtin/extensions/todo/index.js +1 -1
- package/dist/chunks/{chunk-T6GMEDIE.js → chunk-DFWWHVJL.js} +4 -3
- package/dist/chunks/{chunk-VUKF7U7Q.js → chunk-YUVGEY6X.js} +1 -1
- package/dist/cli.js +4 -4
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
createAskUserCapability
|
|
4
|
-
} from "../../../chunks/chunk-
|
|
4
|
+
} from "../../../chunks/chunk-DFWWHVJL.js";
|
|
5
5
|
import "../../../chunks/chunk-PAC62XU4.js";
|
|
6
6
|
import "../../../chunks/chunk-7B4IIBVS.js";
|
|
7
7
|
import "../../../chunks/chunk-XXGYUYXI.js";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
isPlanModeSafeCommand,
|
|
8
8
|
markCompletedPlanSteps,
|
|
9
9
|
restoreExecutionState
|
|
10
|
-
} from "../../../chunks/chunk-
|
|
10
|
+
} from "../../../chunks/chunk-DFWWHVJL.js";
|
|
11
11
|
import "../../../chunks/chunk-PAC62XU4.js";
|
|
12
12
|
import "../../../chunks/chunk-7B4IIBVS.js";
|
|
13
13
|
import {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
createCliHostCapabilities
|
|
4
|
-
} from "../../../chunks/chunk-
|
|
4
|
+
} from "../../../chunks/chunk-YUVGEY6X.js";
|
|
5
5
|
import {
|
|
6
6
|
SUBAGENT_SESSION_RECORD_VERSION,
|
|
7
7
|
createSharedFileSystemTools,
|
|
8
8
|
createSubagentCapability
|
|
9
|
-
} from "../../../chunks/chunk-
|
|
9
|
+
} from "../../../chunks/chunk-DFWWHVJL.js";
|
|
10
10
|
import "../../../chunks/chunk-PAC62XU4.js";
|
|
11
11
|
import "../../../chunks/chunk-7B4IIBVS.js";
|
|
12
12
|
import "../../../chunks/chunk-5353DEEC.js";
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
executeManageTodoList,
|
|
9
9
|
executionStateToTodos,
|
|
10
10
|
restoreExecutionState
|
|
11
|
-
} from "../../../chunks/chunk-
|
|
11
|
+
} from "../../../chunks/chunk-DFWWHVJL.js";
|
|
12
12
|
import "../../../chunks/chunk-PAC62XU4.js";
|
|
13
13
|
import "../../../chunks/chunk-7B4IIBVS.js";
|
|
14
14
|
import "../../../chunks/chunk-XXGYUYXI.js";
|
|
@@ -7751,10 +7751,11 @@ var AttentionCoordinator = class {
|
|
|
7751
7751
|
this.userWork = false;
|
|
7752
7752
|
if (event.outcome === "cancelled") this.clear();
|
|
7753
7753
|
else if (event.outcome === "failed" || event.outcome === "blocked") this.request(event, event.outcome);
|
|
7754
|
-
else if (this.policy.completion === "
|
|
7754
|
+
else if (this.policy.completion === "always" || this.policy.completion === "user-initiated" && userWork) this.request(event, "completed");
|
|
7755
7755
|
}
|
|
7756
|
-
/**
|
|
7757
|
-
|
|
7756
|
+
/** Record accepted human delivery for "user-initiated" completion attention
|
|
7757
|
+
* (including steer/retry); never infer from a message role. */
|
|
7758
|
+
markUserInitiated(identity) {
|
|
7758
7759
|
if (this.disposed || !same(this.current, identity) || this.consumed) return false;
|
|
7759
7760
|
this.userWork = true;
|
|
7760
7761
|
return true;
|
package/dist/cli.js
CHANGED
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
createCliWebResearchHealthStore,
|
|
8
8
|
formatSize,
|
|
9
9
|
truncateHeadTail
|
|
10
|
-
} from "./chunks/chunk-
|
|
10
|
+
} from "./chunks/chunk-YUVGEY6X.js";
|
|
11
11
|
import {
|
|
12
12
|
AGENTS_CONTEXT_FILE_NAME,
|
|
13
13
|
AgentSessionController,
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
setExtensionEnabledInSettings,
|
|
64
64
|
shouldPreserveExecutionStateForUserText,
|
|
65
65
|
supersedeExecutionState
|
|
66
|
-
} from "./chunks/chunk-
|
|
66
|
+
} from "./chunks/chunk-DFWWHVJL.js";
|
|
67
67
|
import "./chunks/chunk-PAC62XU4.js";
|
|
68
68
|
import {
|
|
69
69
|
Deref,
|
|
@@ -73206,11 +73206,11 @@ var CliAttentionAdapter = class {
|
|
|
73206
73206
|
this.coordinator.subscribe((event) => {
|
|
73207
73207
|
if (event.type !== "attention_requested") return;
|
|
73208
73208
|
host.updateTerminalTitle?.();
|
|
73209
|
-
host.ringAttentionBell?.(event.reason === "failed" ? "turn-failed" : event.reason === "blocked" ? "stall-recovery" : "interaction");
|
|
73209
|
+
host.ringAttentionBell?.(event.reason === "failed" ? "turn-failed" : event.reason === "completed" ? "turn-settled" : event.reason === "blocked" ? "stall-recovery" : "interaction");
|
|
73210
73210
|
});
|
|
73211
73211
|
}
|
|
73212
73212
|
host;
|
|
73213
|
-
coordinator = new AttentionCoordinator({ completion: "
|
|
73213
|
+
coordinator = new AttentionCoordinator({ completion: "always" });
|
|
73214
73214
|
identity = { sessionId: void 0, generation: 0 };
|
|
73215
73215
|
hasWorkEvent = false;
|
|
73216
73216
|
handle(event) {
|