@cydm/pie 4.1.0 → 4.2.0

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 CHANGED
@@ -14,7 +14,7 @@ import {
14
14
  runDistillWorkerMain,
15
15
  spawnDistillAutoWorker,
16
16
  spawnDistillWorker
17
- } from "./chunks/chunk-TDKNKNPL.js";
17
+ } from "./chunks/chunk-PFXSA2LK.js";
18
18
  import {
19
19
  CLI_RETRY_MAX_RETRIES,
20
20
  classifyCliFailure,
@@ -31,7 +31,7 @@ import {
31
31
  logTransportLifecycle,
32
32
  setYoloGrantListener,
33
33
  truncateHeadTail
34
- } from "./chunks/chunk-UOZHQ73X.js";
34
+ } from "./chunks/chunk-J2LGVYH2.js";
35
35
  import {
36
36
  VERSION,
37
37
  getAgentDir,
@@ -76,7 +76,7 @@ import {
76
76
  shouldPreserveExecutionStateForUserText,
77
77
  supersedeExecutionState,
78
78
  todayKey
79
- } from "./chunks/chunk-FDLLNPIE.js";
79
+ } from "./chunks/chunk-PC6HUZAD.js";
80
80
  import {
81
81
  AGENTS_CONTEXT_FILE_NAME,
82
82
  AgentSessionController,
@@ -116,7 +116,7 @@ import {
116
116
  setEnablementInMap,
117
117
  setExtensionEnabledInSettings,
118
118
  verifyPreparedCompactionCommit
119
- } from "./chunks/chunk-WK4N5HT5.js";
119
+ } from "./chunks/chunk-BK36Y35W.js";
120
120
  import "./chunks/chunk-NCP264ZE.js";
121
121
  import {
122
122
  Deref,
@@ -137,6 +137,9 @@ import {
137
137
  streamSimple,
138
138
  type_exports
139
139
  } from "./chunks/chunk-JQRZLVPY.js";
140
+ import {
141
+ readImageFormat
142
+ } from "./chunks/chunk-F7EBZTZO.js";
140
143
  import {
141
144
  IsArray,
142
145
  IsBigInt,
@@ -151,9 +154,6 @@ import {
151
154
  TypeBoxError,
152
155
  TypeSystemPolicy
153
156
  } from "./chunks/chunk-XXGYUYXI.js";
154
- import {
155
- readImageFormat
156
- } from "./chunks/chunk-F7EBZTZO.js";
157
157
  import {
158
158
  resolveCliProjectRoot
159
159
  } from "./chunks/chunk-WLFOBECN.js";
@@ -54914,16 +54914,16 @@ import { pathToFileURL as pathToFileURL2 } from "node:url";
54914
54914
 
54915
54915
  // src/extensions/types.ts
54916
54916
  function interactiveHostCapabilities() {
54917
- return { interactiveUI: true, editorInjection: true, eventSink: true, longLived: true, unattended: false };
54917
+ return { interactiveUI: true, editorInjection: true, eventSink: true, longLived: true, unattended: false, approvalAuthority: "dialog" };
54918
54918
  }
54919
54919
  function oneShotHeadlessCapabilities() {
54920
- return { interactiveUI: false, editorInjection: false, eventSink: false, longLived: false, unattended: false };
54920
+ return { interactiveUI: false, editorInjection: false, eventSink: false, longLived: false, unattended: false, approvalAuthority: "none" };
54921
54921
  }
54922
54922
  function embeddedHostCapabilities() {
54923
- return { interactiveUI: false, editorInjection: true, eventSink: true, longLived: true, unattended: false };
54923
+ return { interactiveUI: false, editorInjection: true, eventSink: true, longLived: true, unattended: false, approvalAuthority: "none" };
54924
54924
  }
54925
54925
  function residentHostCapabilities() {
54926
- return { interactiveUI: false, editorInjection: true, eventSink: true, longLived: true, unattended: true };
54926
+ return { interactiveUI: false, editorInjection: true, eventSink: true, longLived: true, unattended: true, approvalAuthority: "unattended" };
54927
54927
  }
54928
54928
 
54929
54929
  // src/command-tree.ts
@@ -55230,6 +55230,13 @@ function createExtensionContext(extension, cwd, uiContext, abortFn, isIdleFn, ca
55230
55230
  getSessionName() {
55231
55231
  return actions?.getSessionName?.();
55232
55232
  },
55233
+ getSessionDisplayName() {
55234
+ return actions?.getSessionDisplayName?.() ?? actions?.getSessionName?.();
55235
+ },
55236
+ setCuratedSessionName(name) {
55237
+ if (!actions?.setCuratedSessionName) throw new Error("setCuratedSessionName is not available in this host mode");
55238
+ actions.setCuratedSessionName(name);
55239
+ },
55233
55240
  registerProvider(name, config) {
55234
55241
  if (!actions?.registerProvider) throw new Error("registerProvider is not available in this host mode");
55235
55242
  return actions.registerProvider(name, config);
@@ -63639,6 +63646,8 @@ var ExtensionRunner = class {
63639
63646
  return runner.actions.setSessionName(name);
63640
63647
  },
63641
63648
  getSessionName: () => runner.actions.getSessionName?.(),
63649
+ getSessionDisplayName: () => runner.actions.getSessionDisplayName?.() ?? runner.actions.getSessionName?.(),
63650
+ setCuratedSessionName: (name) => runner.actions.setCuratedSessionName?.(name),
63642
63651
  registerProvider: (name, config) => {
63643
63652
  if (!runner.actions.registerProvider) throw new Error("registerProvider is not available in this host mode");
63644
63653
  return runner.trackUnregisterHandle(runner.actions.registerProvider(name, config));
@@ -72198,7 +72207,7 @@ function looksAutoGeneratedSessionName(name) {
72198
72207
  return /^Session (\d|[a-z0-9]{6,8}$)/i.test(name.trim());
72199
72208
  }
72200
72209
  function persistedNameIsAuthoritative(metadata) {
72201
- if (metadata.nameSource === "derived") return true;
72210
+ if (metadata.nameSource === "derived" || metadata.nameSource === "curated") return true;
72202
72211
  if (metadata.nameSource === void 0) return !looksAutoGeneratedSessionName(metadata.name);
72203
72212
  return false;
72204
72213
  }
@@ -73313,6 +73322,7 @@ var BUILTIN_SLASH_COMMANDS = [
73313
73322
  { name: "sessions/new", description: "Start a new session" },
73314
73323
  { name: "sessions/resume", description: "Resume a different session" },
73315
73324
  { name: "sessions/tree", description: "Navigate session tree" },
73325
+ { name: "sessions/name", description: "Name this session (shows in terminal title, IM, ipc roster)" },
73316
73326
  { name: "sessions/info", description: "Show session info" },
73317
73327
  { name: "sessions/fork", description: "Fork from a message" },
73318
73328
  { name: "settings", description: "Open settings menu" },
@@ -76267,6 +76277,26 @@ function cleanupAndExit(host) {
76267
76277
  process.exit(process.exitCode || 0);
76268
76278
  })();
76269
76279
  }
76280
+ async function handleNameCommand(host, name) {
76281
+ const activeSession = host.sessionManager.getActiveSession();
76282
+ if (!activeSession) {
76283
+ host.showStatus("No active session to name.");
76284
+ return;
76285
+ }
76286
+ const trimmed = name.trim();
76287
+ if (!trimmed) {
76288
+ const meta = activeSession.metadata;
76289
+ const current = meta.name ? `${meta.name} (${meta.nameSource ?? "unknown"})` : "(unnamed)";
76290
+ host.showStatus(`Current: ${current} \u2014 usage: /sessions/name <name>`);
76291
+ return;
76292
+ }
76293
+ if (trimmed.length > 64) {
76294
+ host.showStatus("Name too long (max 64 chars).");
76295
+ return;
76296
+ }
76297
+ host.sessionManager.setSessionName(trimmed);
76298
+ host.showStatus(`Session named "${trimmed}" \u2014 it now shows in the terminal title, IM headers, and the ipc roster.`);
76299
+ }
76270
76300
  function handleSessionCommand(host) {
76271
76301
  const info = buildSessionInfoText({
76272
76302
  activeSession: host.sessionManager.getActiveSession(),
@@ -76404,6 +76434,10 @@ function registerBuiltinCommands(host) {
76404
76434
  description: "Fork from a message",
76405
76435
  handler: () => host.handleForkCommand()
76406
76436
  });
76437
+ commandTree.register(["sessions", "name"], {
76438
+ description: "Name this session \u2014 /sessions/name <name> (manual name: wins everywhere, never auto-replaced)",
76439
+ handler: (_ctx, args) => host.handleNameCommand(args?.trim() ?? "")
76440
+ });
76407
76441
  commandTree.register(["settings", "help"], {
76408
76442
  description: "Show help information (keyboard shortcuts and commands)",
76409
76443
  handler: () => host.handleHotkeysCommand()
@@ -82394,7 +82428,11 @@ async function loadInteractiveExtensions(host) {
82394
82428
  appendEntry: (customType, data) => host.sessionManager.appendCustomEntry(customType, data).id,
82395
82429
  setLabel: (entryId, label) => host.sessionManager.setLabel(entryId, label),
82396
82430
  setSessionName: (name) => host.sessionManager.setSessionName(name),
82431
+ setCuratedSessionName: (name) => host.sessionManager.setCuratedSessionName(name),
82397
82432
  getSessionName: () => host.sessionManager.getSessionName(),
82433
+ // Optional on purpose: hand-rolled test harnesses and older hosts may
82434
+ // not implement it; falling back to the routing name keeps display sane.
82435
+ getSessionDisplayName: () => host.sessionManager.getSessionDisplayName?.() ?? host.sessionManager.getSessionName?.(),
82398
82436
  registerProvider: (name, config) => {
82399
82437
  const unregister = host.options.modelRegistry.registerProvider(name, config);
82400
82438
  host.noteRuntimeModeChanged("extension_register_provider");
@@ -83196,6 +83234,9 @@ var InteractiveMode = class {
83196
83234
  async handleForkCommand() {
83197
83235
  return handleForkCommand(this);
83198
83236
  }
83237
+ async handleNameCommand(name) {
83238
+ return handleNameCommand(this, name);
83239
+ }
83199
83240
  handleExtensionsCommand(args) {
83200
83241
  return handleExtensionsCommand(this, args);
83201
83242
  }
@@ -84019,6 +84060,20 @@ async function runPrintMode(params) {
84019
84060
 
84020
84061
  // src/app/json-events-mode.ts
84021
84062
  import readline from "node:readline";
84063
+
84064
+ // src/app/host-idle.ts
84065
+ var PENDING_RECOVERY = /* @__PURE__ */ new Set([
84066
+ "retry_pending",
84067
+ "retrying",
84068
+ "compacting"
84069
+ ]);
84070
+ function hostIsIdle(controller) {
84071
+ if (!controller) return true;
84072
+ if (controller.isStreaming || controller.hasQueuedMessages) return false;
84073
+ return !PENDING_RECOVERY.has(controller.turnRecoveryState);
84074
+ }
84075
+
84076
+ // src/app/json-events-mode.ts
84022
84077
  var MAX_EVENT_OBJECT_KEYS = 50;
84023
84078
  var MAX_EVENT_ARRAY_ITEMS = 50;
84024
84079
  var MAX_EVENT_VALUE_DEPTH = 4;
@@ -84398,6 +84453,8 @@ async function loadJsonModeExtensions(params) {
84398
84453
  if (session) params.runtime.sessionManager.setSessionName(name);
84399
84454
  },
84400
84455
  getSessionName: () => params.runtime.sessionManager.getSessionName(),
84456
+ getSessionDisplayName: () => params.runtime.sessionManager.getSessionDisplayName(),
84457
+ setCuratedSessionName: (name) => params.runtime.sessionManager.setCuratedSessionName(name),
84401
84458
  getSessionMetadata: () => ({
84402
84459
  ...params.runtime.sessionManager.getActiveSession()?.metadata ?? {}
84403
84460
  }),
@@ -84409,12 +84466,25 @@ async function loadJsonModeExtensions(params) {
84409
84466
  },
84410
84467
  yoloMode: false
84411
84468
  };
84469
+ const isIdleNow = () => hostIsIdle(params.getController());
84470
+ {
84471
+ const curated = process.env.PIE_PROC_CURATED_NAME?.trim();
84472
+ if (curated) {
84473
+ const manager = params.runtime.sessionManager;
84474
+ if (manager.getSessionName() === void 0) {
84475
+ try {
84476
+ manager.setCuratedSessionName(curated);
84477
+ } catch {
84478
+ }
84479
+ }
84480
+ }
84481
+ }
84412
84482
  const { extensions, errors } = await loadExtensions(
84413
84483
  params.runtime.extensionPaths,
84414
84484
  params.runtime.cwd,
84415
84485
  uiContext,
84416
84486
  () => params.getAgent()?.abort(),
84417
- () => true,
84487
+ isIdleNow,
84418
84488
  params.idle ? residentHostCapabilities() : embeddedHostCapabilities(),
84419
84489
  actions,
84420
84490
  buildExtensionLoadOptions(
@@ -84427,7 +84497,7 @@ async function loadJsonModeExtensions(params) {
84427
84497
  extensions,
84428
84498
  actions,
84429
84499
  {
84430
- isIdle: () => true,
84500
+ isIdle: isIdleNow,
84431
84501
  abort: () => params.getAgent()?.abort()
84432
84502
  },
84433
84503
  params.idle ? residentHostCapabilities() : embeddedHostCapabilities()
@@ -86686,7 +86756,7 @@ async function main() {
86686
86756
  return;
86687
86757
  }
86688
86758
  if (args[0] === STABLE_CLI_COMMANDS.concierge) {
86689
- const { runConciergeCommand } = await import("./chunks/concierge-cli-VWNRJG5A.js");
86759
+ const { runConciergeCommand } = await import("./chunks/concierge-cli-R3RIBGJL.js");
86690
86760
  try {
86691
86761
  await runConciergeCommand(args.slice(1));
86692
86762
  } catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cydm/pie",
3
- "version": "4.1.0",
3
+ "version": "4.2.0",
4
4
  "description": "Pie AI Agent CLI",
5
5
  "type": "module",
6
6
  "bin": {
@@ -20,7 +20,7 @@
20
20
  "test:skill-regressions": "node --test --test-force-exit --import tsx test/axi-bridge-lifecycle.test.ts test/bash-lifecycle.test.ts test/bash-powershell-display.test.ts test/skill-creator-runner.test.ts test/tui-use-contract.test.ts test/tui-use-runtime.test.ts test/tui-use-reap.test.ts test/tui-use-kill-escalation.test.ts test/browser-runtime.test.ts test/axi-stop-semantics.test.ts test/axi-page-routing.test.ts test/computer-use-axi.test.ts test/computer-evidence.test.ts test/interactive-lifecycle.test.ts",
21
21
  "test:offline:post": "node --test --test-force-exit --import tsx test/remote-model-catalog.test.ts",
22
22
  "test:offline": "node ../../scripts/run-cli-offline.mjs",
23
- "test:offline:main": "node --test --test-concurrency=2 --test-force-exit --import tsx test/cli-attention.test.ts test/cron.test.ts test/cron-process.test.ts test/cron-poll-gate.test.ts test/memory-distill.test.ts test/memory-injection-freeze.test.ts test/memory-consumption-e2e.test.ts test/memory-frozen-matching.test.ts test/memory-soul-injection.test.ts test/config-dir-fail-closed.test.ts test/cron-concurrency.test.ts test/cron-dogfood.test.ts test/cron.terminal.test.ts test/cron-journey.terminal.test.ts test/builtin-extensions.test.ts test/im-forward.test.ts test/im-forward-cli.test.ts test/im-forward-integration.test.ts test/im-forward-dogfood.terminal.test.ts test/extension-user-input.test.ts test/pie-ipc-pure.test.ts test/pie-ipc-discovery.test.ts test/pie-ipc-transport.test.ts test/pie-ipc-delivery.test.ts test/pie-ipc-extension.test.ts test/pie-ipc-e2e.test.ts test/pie-ipc-security.test.ts test/pie-ipc-dogfood.test.ts test/pie-ipc-resident-dispatch.test.ts test/pie-proc.test.ts test/pie-ipc-host.terminal.test.ts test/core-services.test.ts test/cli.test.ts test/cli-auto-compaction.test.ts test/execution-state-manager.test.ts test/queued-steer-execution-state.test.ts test/todo-steering-ownership.test.ts test/architecture-boundaries.test.ts test/attachment-resolver.test.ts test/kimi-attachment-provider.test.ts test/document-attachment-extension.test.ts test/auto-compact-overflow.test.ts test/auto-compaction-ui.test.ts test/tool-compaction-dogfood.terminal.test.ts test/hierarchical-command-system.test.ts test/mcp-adapter.test.ts test/herdr-agent-state.test.ts test/extensions-enablement.test.ts test/extension-selector-shortcuts.test.ts test/skill-tool-enablement.test.ts test/message-queue-unit.test.ts test/evals-harness.test.ts test/session-trace.test.ts test/json-events-event-sink.test.ts test/json-events-lifecycle-bridge.test.ts test/json-events-self-input.test.ts test/json-events-idle-mode.test.ts test/concierge-cli.test.ts test/json-events-sidechat-diagnostics.test.ts test/json-events-prewarm-shutdown.test.ts test/json-envelope-composition.test.ts test/subagent-session-store.test.ts test/supervisor-anchor-inject.test.ts test/runtime-mode-context.test.ts test/tool-policy.test.ts test/retry-policy.test.ts test/yolo-command.test.ts test/footer-lifecycle.test.ts test/footer-waiting-for-user.test.ts test/files-utils.test.ts test/source-size-guard.test.ts test/runtime-logger.test.ts test/release-readiness.test.ts test/package-artifacts.test.ts test/init-extension-contract.test.ts test/skills-runtime.test.ts test/skills-agents-discovery.test.ts test/skills-symlink.test.ts test/model-overrides.test.ts test/auth-storage.test.ts test/extension-register-provider.test.ts test/extension-reload.test.ts test/extension-terminal-input.test.ts test/extension-session-before-events.test.ts test/extension-widgets.test.ts test/extension-render-hint.test.ts test/extension-oauth-restore.test.ts test/cross-host-parity.test.ts test/tool-name-rendering.test.ts test/session-selector.test.ts test/tree-selector-pagination.test.ts test/context-report.test.ts test/context-signals.test.ts test/plan-cache-stability.test.ts test/cache-invalidation-trace.test.ts test/cache-retention.test.ts test/trace-report.test.ts test/boot-report.test.ts test/compaction-diff.test.ts test/entry-body-and-usage.test.ts test/session-control.test.ts test/terminal-title.test.ts test/interactive-controller-title.test.ts test/todo-title.terminal.test.ts test/host-envelope-dogfood.terminal.test.ts test/host-envelope-cross-mode.test.ts test/host-envelope-registry-lifecycle.test.ts test/host-envelope-migration-roundtrip.test.ts test/host-envelope-intake-order.test.ts test/plan-mode-extension.test.ts test/extension-interaction-signals.test.ts test/rendered-page-reader.test.ts test/tools-registry.test.ts test/system-prompt-contract.test.ts test/bash-yolo.test.ts test/bash-contract.test.ts test/bash-confirm-pending.test.ts test/interaction-status-lifecycle.test.ts test/bash-process-group.test.ts test/bash-artifact-sink.test.ts test/direct-bash.test.ts test/terminal-bell.test.ts test/ctrl-d-exit.test.ts test/session-display-title.test.ts test/calm-mode.test.ts test/stream-render-throttle.test.ts test/assistant-message-performance.test.ts test/streaming-split-parity.test.ts test/message-display-resync.test.ts test/project-root.test.ts test/guard-advisory-context.test.ts test/clear-command-usage.test.ts test/daily-agent-smoke.terminal.test.ts test/slash-menu-toggles.terminal.test.ts test/cli-args.test.ts test/session-resume-cwd.test.ts test/session-resume-restart.test.ts test/session-resume-picker.test.ts test/extensions-configured-paths.test.ts test/extensions-loader-path.test.ts test/file-picker.test.ts test/interrupt-recovery.test.ts test/mention-insert-regression.test.ts test/image-paste.test.ts test/clipboard-read-image.test.ts test/clipboard-races.test.ts test/clipboard-dogfood.terminal.test.ts test/mention-picker-navigation.test.ts test/pie-unity-rpc-skill.test.ts test/skill-creator-scripts.test.ts test/interactive-compact-command.test.ts test/computer-use-broker.test.ts test/computer-use-review-regressions.test.ts test/computer-use-safety.test.ts ../../scripts/node-test-diagnostics.test.js ../../scripts/offline-test-runner.test.js ../../scripts/unity-consumer.test.mjs ../../scripts/owned-process-cleanup.test.mjs",
23
+ "test:offline:main": "node --test --test-concurrency=2 --test-force-exit --import tsx test/cli-attention.test.ts test/cron.test.ts test/cron-process.test.ts test/cron-poll-gate.test.ts test/memory-distill.test.ts test/memory-injection-freeze.test.ts test/memory-consumption-e2e.test.ts test/memory-frozen-matching.test.ts test/memory-soul-injection.test.ts test/config-dir-fail-closed.test.ts test/cron-concurrency.test.ts test/cron-dogfood.test.ts test/cron.terminal.test.ts test/cron-journey.terminal.test.ts test/builtin-extensions.test.ts test/im-forward.test.ts test/im-forward-cli.test.ts test/im-forward-integration.test.ts test/im-forward-dogfood.terminal.test.ts test/thread-registry.test.ts test/extension-user-input.test.ts test/pie-ipc-pure.test.ts test/pie-ipc-discovery.test.ts test/pie-ipc-transport.test.ts test/pie-ipc-delivery.test.ts test/pie-ipc-extension.test.ts test/pie-ipc-e2e.test.ts test/pie-ipc-security.test.ts test/pie-ipc-dogfood.test.ts test/pie-ipc-resident-dispatch.test.ts test/pie-proc.test.ts test/pie-ipc-host.terminal.test.ts test/core-services.test.ts test/cli.test.ts test/cli-auto-compaction.test.ts test/execution-state-manager.test.ts test/queued-steer-execution-state.test.ts test/todo-steering-ownership.test.ts test/architecture-boundaries.test.ts test/attachment-resolver.test.ts test/kimi-attachment-provider.test.ts test/document-attachment-extension.test.ts test/auto-compact-overflow.test.ts test/auto-compaction-ui.test.ts test/tool-compaction-dogfood.terminal.test.ts test/hierarchical-command-system.test.ts test/mcp-adapter.test.ts test/herdr-agent-state.test.ts test/extensions-enablement.test.ts test/extension-selector-shortcuts.test.ts test/skill-tool-enablement.test.ts test/message-queue-unit.test.ts test/evals-harness.test.ts test/session-trace.test.ts test/json-events-event-sink.test.ts test/json-events-lifecycle-bridge.test.ts test/json-events-self-input.test.ts test/json-events-idle-mode.test.ts test/concierge-cli.test.ts test/json-events-sidechat-diagnostics.test.ts test/json-events-prewarm-shutdown.test.ts test/json-envelope-composition.test.ts test/subagent-session-store.test.ts test/supervisor-anchor-inject.test.ts test/runtime-mode-context.test.ts test/tool-policy.test.ts test/retry-policy.test.ts test/yolo-command.test.ts test/footer-lifecycle.test.ts test/footer-waiting-for-user.test.ts test/files-utils.test.ts test/source-size-guard.test.ts test/runtime-logger.test.ts test/release-readiness.test.ts test/package-artifacts.test.ts test/init-extension-contract.test.ts test/skills-runtime.test.ts test/skills-agents-discovery.test.ts test/skills-symlink.test.ts test/model-overrides.test.ts test/auth-storage.test.ts test/extension-register-provider.test.ts test/extension-reload.test.ts test/extension-terminal-input.test.ts test/extension-session-before-events.test.ts test/extension-widgets.test.ts test/extension-render-hint.test.ts test/extension-oauth-restore.test.ts test/cross-host-parity.test.ts test/tool-name-rendering.test.ts test/session-selector.test.ts test/tree-selector-pagination.test.ts test/context-report.test.ts test/context-signals.test.ts test/plan-cache-stability.test.ts test/cache-invalidation-trace.test.ts test/cache-retention.test.ts test/trace-report.test.ts test/boot-report.test.ts test/compaction-diff.test.ts test/entry-body-and-usage.test.ts test/session-control.test.ts test/terminal-title.test.ts test/interactive-controller-title.test.ts test/todo-title.terminal.test.ts test/host-envelope-dogfood.terminal.test.ts test/host-envelope-cross-mode.test.ts test/host-envelope-registry-lifecycle.test.ts test/host-envelope-migration-roundtrip.test.ts test/host-envelope-intake-order.test.ts test/plan-mode-extension.test.ts test/extension-interaction-signals.test.ts test/rendered-page-reader.test.ts test/tools-registry.test.ts test/system-prompt-contract.test.ts test/bash-yolo.test.ts test/bash-contract.test.ts test/bash-confirm-pending.test.ts test/interaction-status-lifecycle.test.ts test/bash-process-group.test.ts test/bash-artifact-sink.test.ts test/direct-bash.test.ts test/terminal-bell.test.ts test/ctrl-d-exit.test.ts test/session-display-title.test.ts test/calm-mode.test.ts test/stream-render-throttle.test.ts test/assistant-message-performance.test.ts test/streaming-split-parity.test.ts test/message-display-resync.test.ts test/project-root.test.ts test/guard-advisory-context.test.ts test/clear-command-usage.test.ts test/daily-agent-smoke.terminal.test.ts test/slash-menu-toggles.terminal.test.ts test/cli-args.test.ts test/session-resume-cwd.test.ts test/session-resume-restart.test.ts test/session-resume-picker.test.ts test/extensions-configured-paths.test.ts test/extensions-loader-path.test.ts test/file-picker.test.ts test/interrupt-recovery.test.ts test/mention-insert-regression.test.ts test/image-paste.test.ts test/clipboard-read-image.test.ts test/clipboard-races.test.ts test/clipboard-dogfood.terminal.test.ts test/mention-picker-navigation.test.ts test/pie-unity-rpc-skill.test.ts test/skill-creator-scripts.test.ts test/interactive-compact-command.test.ts test/computer-use-broker.test.ts test/computer-use-review-regressions.test.ts test/computer-use-safety.test.ts ../../scripts/node-test-diagnostics.test.js ../../scripts/offline-test-runner.test.js ../../scripts/unity-consumer.test.mjs ../../scripts/owned-process-cleanup.test.mjs",
24
24
  "test:all": "npm run test:offline && npm run test:terminal:vitest",
25
25
  "test:cron:tui": "node ../../scripts/run-with-env.mjs PIE_REAL_CRON_TUI=1 -- --test --import tsx test/cron.terminal.test.ts test/cron-journey.terminal.test.ts",
26
26
  "test:ipc:tui": "node ../../scripts/run-with-env.mjs PIE_REAL_IPC_TUI=1 -- --test --import tsx test/pie-ipc-host.terminal.test.ts",