@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.
@@ -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-T6GMEDIE.js";
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-T6GMEDIE.js";
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-VUKF7U7Q.js";
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-T6GMEDIE.js";
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-T6GMEDIE.js";
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 === "accepted-user-work" && userWork) this.request(event, "completed");
7754
+ else if (this.policy.completion === "always" || this.policy.completion === "user-initiated" && userWork) this.request(event, "completed");
7755
7755
  }
7756
- /** Call at actual accepted human delivery, including steer/retry; never infer from message role. */
7757
- acceptUserWork(identity) {
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;
@@ -8,7 +8,7 @@ import {
8
8
  createSharedWebSearchTool,
9
9
  interpretShellExit,
10
10
  requestInteraction
11
- } from "./chunk-T6GMEDIE.js";
11
+ } from "./chunk-DFWWHVJL.js";
12
12
  import {
13
13
  getBuiltinDir,
14
14
  getConfigDir
package/dist/cli.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  createCliWebResearchHealthStore,
8
8
  formatSize,
9
9
  truncateHeadTail
10
- } from "./chunks/chunk-VUKF7U7Q.js";
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-T6GMEDIE.js";
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: "off" });
73213
+ coordinator = new AttentionCoordinator({ completion: "always" });
73214
73214
  identity = { sessionId: void 0, generation: 0 };
73215
73215
  hasWorkEvent = false;
73216
73216
  handle(event) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cydm/pie",
3
- "version": "2.6.7",
3
+ "version": "2.6.8",
4
4
  "description": "Pie AI Agent CLI",
5
5
  "type": "module",
6
6
  "bin": {