@cydm/pie 4.0.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,13 +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 };
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 };
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 };
54923
+ return { interactiveUI: false, editorInjection: true, eventSink: true, longLived: true, unattended: false, approvalAuthority: "none" };
54924
+ }
54925
+ function residentHostCapabilities() {
54926
+ return { interactiveUI: false, editorInjection: true, eventSink: true, longLived: true, unattended: true, approvalAuthority: "unattended" };
54924
54927
  }
54925
54928
 
54926
54929
  // src/command-tree.ts
@@ -55227,6 +55230,13 @@ function createExtensionContext(extension, cwd, uiContext, abortFn, isIdleFn, ca
55227
55230
  getSessionName() {
55228
55231
  return actions?.getSessionName?.();
55229
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
+ },
55230
55240
  registerProvider(name, config) {
55231
55241
  if (!actions?.registerProvider) throw new Error("registerProvider is not available in this host mode");
55232
55242
  return actions.registerProvider(name, config);
@@ -63636,6 +63646,8 @@ var ExtensionRunner = class {
63636
63646
  return runner.actions.setSessionName(name);
63637
63647
  },
63638
63648
  getSessionName: () => runner.actions.getSessionName?.(),
63649
+ getSessionDisplayName: () => runner.actions.getSessionDisplayName?.() ?? runner.actions.getSessionName?.(),
63650
+ setCuratedSessionName: (name) => runner.actions.setCuratedSessionName?.(name),
63639
63651
  registerProvider: (name, config) => {
63640
63652
  if (!runner.actions.registerProvider) throw new Error("registerProvider is not available in this host mode");
63641
63653
  return runner.trackUnregisterHandle(runner.actions.registerProvider(name, config));
@@ -72195,7 +72207,7 @@ function looksAutoGeneratedSessionName(name) {
72195
72207
  return /^Session (\d|[a-z0-9]{6,8}$)/i.test(name.trim());
72196
72208
  }
72197
72209
  function persistedNameIsAuthoritative(metadata) {
72198
- if (metadata.nameSource === "derived") return true;
72210
+ if (metadata.nameSource === "derived" || metadata.nameSource === "curated") return true;
72199
72211
  if (metadata.nameSource === void 0) return !looksAutoGeneratedSessionName(metadata.name);
72200
72212
  return false;
72201
72213
  }
@@ -73310,6 +73322,7 @@ var BUILTIN_SLASH_COMMANDS = [
73310
73322
  { name: "sessions/new", description: "Start a new session" },
73311
73323
  { name: "sessions/resume", description: "Resume a different session" },
73312
73324
  { name: "sessions/tree", description: "Navigate session tree" },
73325
+ { name: "sessions/name", description: "Name this session (shows in terminal title, IM, ipc roster)" },
73313
73326
  { name: "sessions/info", description: "Show session info" },
73314
73327
  { name: "sessions/fork", description: "Fork from a message" },
73315
73328
  { name: "settings", description: "Open settings menu" },
@@ -76264,6 +76277,26 @@ function cleanupAndExit(host) {
76264
76277
  process.exit(process.exitCode || 0);
76265
76278
  })();
76266
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
+ }
76267
76300
  function handleSessionCommand(host) {
76268
76301
  const info = buildSessionInfoText({
76269
76302
  activeSession: host.sessionManager.getActiveSession(),
@@ -76401,6 +76434,10 @@ function registerBuiltinCommands(host) {
76401
76434
  description: "Fork from a message",
76402
76435
  handler: () => host.handleForkCommand()
76403
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
+ });
76404
76441
  commandTree.register(["settings", "help"], {
76405
76442
  description: "Show help information (keyboard shortcuts and commands)",
76406
76443
  handler: () => host.handleHotkeysCommand()
@@ -82391,7 +82428,11 @@ async function loadInteractiveExtensions(host) {
82391
82428
  appendEntry: (customType, data) => host.sessionManager.appendCustomEntry(customType, data).id,
82392
82429
  setLabel: (entryId, label) => host.sessionManager.setLabel(entryId, label),
82393
82430
  setSessionName: (name) => host.sessionManager.setSessionName(name),
82431
+ setCuratedSessionName: (name) => host.sessionManager.setCuratedSessionName(name),
82394
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?.(),
82395
82436
  registerProvider: (name, config) => {
82396
82437
  const unregister = host.options.modelRegistry.registerProvider(name, config);
82397
82438
  host.noteRuntimeModeChanged("extension_register_provider");
@@ -83193,6 +83234,9 @@ var InteractiveMode = class {
83193
83234
  async handleForkCommand() {
83194
83235
  return handleForkCommand(this);
83195
83236
  }
83237
+ async handleNameCommand(name) {
83238
+ return handleNameCommand(this, name);
83239
+ }
83196
83240
  handleExtensionsCommand(args) {
83197
83241
  return handleExtensionsCommand(this, args);
83198
83242
  }
@@ -84016,6 +84060,20 @@ async function runPrintMode(params) {
84016
84060
 
84017
84061
  // src/app/json-events-mode.ts
84018
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
84019
84077
  var MAX_EVENT_OBJECT_KEYS = 50;
84020
84078
  var MAX_EVENT_ARRAY_ITEMS = 50;
84021
84079
  var MAX_EVENT_VALUE_DEPTH = 4;
@@ -84395,6 +84453,8 @@ async function loadJsonModeExtensions(params) {
84395
84453
  if (session) params.runtime.sessionManager.setSessionName(name);
84396
84454
  },
84397
84455
  getSessionName: () => params.runtime.sessionManager.getSessionName(),
84456
+ getSessionDisplayName: () => params.runtime.sessionManager.getSessionDisplayName(),
84457
+ setCuratedSessionName: (name) => params.runtime.sessionManager.setCuratedSessionName(name),
84398
84458
  getSessionMetadata: () => ({
84399
84459
  ...params.runtime.sessionManager.getActiveSession()?.metadata ?? {}
84400
84460
  }),
@@ -84406,13 +84466,26 @@ async function loadJsonModeExtensions(params) {
84406
84466
  },
84407
84467
  yoloMode: false
84408
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
+ }
84409
84482
  const { extensions, errors } = await loadExtensions(
84410
84483
  params.runtime.extensionPaths,
84411
84484
  params.runtime.cwd,
84412
84485
  uiContext,
84413
84486
  () => params.getAgent()?.abort(),
84414
- () => true,
84415
- embeddedHostCapabilities(),
84487
+ isIdleNow,
84488
+ params.idle ? residentHostCapabilities() : embeddedHostCapabilities(),
84416
84489
  actions,
84417
84490
  buildExtensionLoadOptions(
84418
84491
  params.runtime.settingsManager,
@@ -84424,10 +84497,10 @@ async function loadJsonModeExtensions(params) {
84424
84497
  extensions,
84425
84498
  actions,
84426
84499
  {
84427
- isIdle: () => true,
84500
+ isIdle: isIdleNow,
84428
84501
  abort: () => params.getAgent()?.abort()
84429
84502
  },
84430
- embeddedHostCapabilities()
84503
+ params.idle ? residentHostCapabilities() : embeddedHostCapabilities()
84431
84504
  );
84432
84505
  runnerCell.current = runner;
84433
84506
  runner.setUIContext(uiContext);
@@ -85545,6 +85618,7 @@ async function runJsonEventsMode(params) {
85545
85618
  const compositionRegistry = createCliHostEnvelopeRegistry();
85546
85619
  const jsonModeExtensions = await loadJsonModeExtensions({
85547
85620
  runtime,
85621
+ idle: params.idle === true,
85548
85622
  envelopeRegistry: compositionRegistry,
85549
85623
  getAgent: () => agent,
85550
85624
  getController: () => controller,
@@ -86682,7 +86756,7 @@ async function main() {
86682
86756
  return;
86683
86757
  }
86684
86758
  if (args[0] === STABLE_CLI_COMMANDS.concierge) {
86685
- const { runConciergeCommand } = await import("./chunks/concierge-cli-PIOGXKDR.js");
86759
+ const { runConciergeCommand } = await import("./chunks/concierge-cli-R3RIBGJL.js");
86686
86760
  try {
86687
86761
  await runConciergeCommand(args.slice(1));
86688
86762
  } catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cydm/pie",
3
- "version": "4.0.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",