@ashx-j/lunr-dev 0.2.40-dev.55.1 → 0.2.40-dev.59.1

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.
Files changed (171) hide show
  1. package/dist/builtin-extensions/lunr-browser.d.ts +1 -1
  2. package/dist/builtin-extensions/narumiruna-pi-goal/src/goal.js +1 -1
  3. package/dist/builtin-extensions/pi-subagents/src/runs/background/attempt-usage.d.ts +5 -0
  4. package/dist/builtin-extensions/pi-subagents/src/runs/background/attempt-usage.js +31 -0
  5. package/dist/builtin-extensions/pi-subagents/src/runs/background/child-stream.d.ts +65 -0
  6. package/dist/builtin-extensions/pi-subagents/src/runs/background/child-stream.js +456 -0
  7. package/dist/builtin-extensions/pi-subagents/src/runs/background/parallel-group-status.d.ts +42 -0
  8. package/dist/builtin-extensions/pi-subagents/src/runs/background/parallel-group-status.js +79 -0
  9. package/dist/builtin-extensions/pi-subagents/src/runs/background/run-log.d.ts +18 -0
  10. package/dist/builtin-extensions/pi-subagents/src/runs/background/run-log.js +43 -0
  11. package/dist/builtin-extensions/pi-subagents/src/runs/background/runner-event-log.d.ts +3 -0
  12. package/dist/builtin-extensions/pi-subagents/src/runs/background/runner-event-log.js +70 -0
  13. package/dist/builtin-extensions/pi-subagents/src/runs/background/runner-single-step.d.ts +92 -0
  14. package/dist/builtin-extensions/pi-subagents/src/runs/background/runner-single-step.js +491 -0
  15. package/dist/builtin-extensions/pi-subagents/src/runs/background/runner-status.d.ts +64 -0
  16. package/dist/builtin-extensions/pi-subagents/src/runs/background/runner-status.js +26 -0
  17. package/dist/builtin-extensions/pi-subagents/src/runs/background/subagent-runner.d.ts +1 -115
  18. package/dist/builtin-extensions/pi-subagents/src/runs/background/subagent-runner.js +17 -1160
  19. package/dist/builtin-extensions/pi-subagents/src/tui/communication.d.ts +1 -1
  20. package/dist/builtin-extensions/pi-subagents/src/tui/render.js +1 -1
  21. package/dist/cli/config-selector.js +1 -1
  22. package/dist/cli/startup-ui.js +1 -1
  23. package/dist/core/agent-session.js +1 -1
  24. package/dist/core/credential-files.d.ts +3 -2
  25. package/dist/core/credential-files.js +10 -4
  26. package/dist/core/export-html/index.js +1 -1
  27. package/dist/core/export-html/tool-renderer.d.ts +1 -1
  28. package/dist/core/extensions/runner.js +1 -1
  29. package/dist/core/extensions/types.d.ts +1 -1
  30. package/dist/core/permissions.d.ts +6 -0
  31. package/dist/core/permissions.js +6 -0
  32. package/dist/core/resource-loader.d.ts +1 -1
  33. package/dist/core/resource-loader.js +1 -1
  34. package/dist/{modes/interactive → core}/theme/theme.d.ts +1 -1
  35. package/dist/{modes/interactive → core}/theme/theme.js +4 -4
  36. package/dist/core/tool-call-hooks.js +3 -2
  37. package/dist/gateway/agent-bridge.js +1 -1
  38. package/dist/gateway/setup.js +1 -1
  39. package/dist/index.d.ts +1 -1
  40. package/dist/index.js +2 -2
  41. package/dist/main.js +1 -1
  42. package/dist/modes/interactive/chat-history.js +1 -1
  43. package/dist/modes/interactive/components/assistant-message.js +1 -1
  44. package/dist/modes/interactive/components/bash-execution.js +1 -1
  45. package/dist/modes/interactive/components/boot-screen.js +1 -1
  46. package/dist/modes/interactive/components/bordered-loader.d.ts +1 -1
  47. package/dist/modes/interactive/components/branch-summary-message.js +1 -1
  48. package/dist/modes/interactive/components/compaction-summary-message.js +1 -1
  49. package/dist/modes/interactive/components/config-selector.js +1 -1
  50. package/dist/modes/interactive/components/context-view.js +1 -1
  51. package/dist/modes/interactive/components/copyable-text.js +1 -1
  52. package/dist/modes/interactive/components/custom-entry.js +1 -1
  53. package/dist/modes/interactive/components/custom-message.js +1 -1
  54. package/dist/modes/interactive/components/diff.js +1 -1
  55. package/dist/modes/interactive/components/dynamic-border.js +1 -1
  56. package/dist/modes/interactive/components/extension-editor.js +1 -1
  57. package/dist/modes/interactive/components/extension-input.js +1 -1
  58. package/dist/modes/interactive/components/extension-selector.js +1 -1
  59. package/dist/modes/interactive/components/footer.js +1 -1
  60. package/dist/modes/interactive/components/injected-prompt-message.js +1 -1
  61. package/dist/modes/interactive/components/keybinding-hints.js +1 -1
  62. package/dist/modes/interactive/components/login-dialog.js +1 -1
  63. package/dist/modes/interactive/components/model-selector.js +1 -1
  64. package/dist/modes/interactive/components/oauth-selector.js +1 -1
  65. package/dist/modes/interactive/components/onboarding.js +1 -1
  66. package/dist/modes/interactive/components/plan-message.js +1 -1
  67. package/dist/modes/interactive/components/processes-selector.js +1 -1
  68. package/dist/modes/interactive/components/scoped-models-selector.js +1 -1
  69. package/dist/modes/interactive/components/session-selector.js +1 -1
  70. package/dist/modes/interactive/components/settings-selector.d.ts +1 -1
  71. package/dist/modes/interactive/components/settings-selector.js +1 -1
  72. package/dist/modes/interactive/components/show-images-selector.js +1 -1
  73. package/dist/modes/interactive/components/skill-invocation-message.js +1 -1
  74. package/dist/modes/interactive/components/status-indicator.js +1 -1
  75. package/dist/modes/interactive/components/theme-selector.js +1 -1
  76. package/dist/modes/interactive/components/thinking-selector.js +1 -1
  77. package/dist/modes/interactive/components/thinking-tail.js +1 -1
  78. package/dist/modes/interactive/components/tool-execution.js +1 -1
  79. package/dist/modes/interactive/components/tree-selector.js +1 -1
  80. package/dist/modes/interactive/components/trust-selector.js +1 -1
  81. package/dist/modes/interactive/components/usage-view.js +1 -1
  82. package/dist/modes/interactive/components/user-message-selector.js +1 -1
  83. package/dist/modes/interactive/components/user-message.js +1 -1
  84. package/dist/modes/interactive/extension-dialogs.d.ts +1 -1
  85. package/dist/modes/interactive/extension-dialogs.js +1 -1
  86. package/dist/modes/interactive/extension-widgets.d.ts +1 -1
  87. package/dist/modes/interactive/extension-widgets.js +1 -1
  88. package/dist/modes/interactive/help-commands.js +1 -1
  89. package/dist/modes/interactive/interactive-mode.js +1 -1
  90. package/dist/modes/interactive/loaded-resources.js +1 -1
  91. package/dist/modes/interactive/login-flow.js +1 -1
  92. package/dist/modes/interactive/session-exit.js +1 -1
  93. package/dist/modes/interactive/session-naming.js +1 -1
  94. package/dist/modes/interactive/settings-screen.js +1 -1
  95. package/dist/modes/interactive/theme/theme-controller.d.ts +1 -1
  96. package/dist/modes/interactive/theme/theme-controller.js +1 -1
  97. package/dist/modes/interactive/tool-renderers/bash.js +1 -1
  98. package/dist/modes/interactive/tool-renderers/read.js +1 -1
  99. package/dist/modes/interactive/tool-renderers/render-utils.d.ts +1 -1
  100. package/dist/modes/interactive/tool-renderers/write.js +1 -1
  101. package/dist/modes/interactive/usage-commands.js +1 -1
  102. package/dist/modes/rpc/rpc-mode.js +1 -1
  103. package/dist/node-runtime/{acp-mode-CFYSYACH.js → acp-mode-5KZPFZBO.js} +2 -2
  104. package/dist/node-runtime/{agent-session-services-3ZHQJIKF.js → agent-session-services-UOVUJAX2.js} +8 -8
  105. package/dist/node-runtime/{builtin-extensions-YJ7F6GND.js → builtin-extensions-JNJRND4E.js} +3 -3
  106. package/dist/node-runtime/{chunk-GPNTGRL2.js → chunk-3RR3PVJB.js} +2 -2
  107. package/dist/node-runtime/{chunk-HVXDYQNN.js → chunk-6DVUDNS7.js} +2 -2
  108. package/dist/node-runtime/{chunk-5F7VOA34.js → chunk-AW6PDL4D.js} +1 -1
  109. package/dist/node-runtime/{chunk-VP2H4TI5.js → chunk-BJIF7GMV.js} +3 -3
  110. package/dist/node-runtime/{chunk-5HVA5ECB.js → chunk-BQROL43X.js} +17 -17
  111. package/dist/node-runtime/{chunk-BNNBTBXY.js → chunk-EJMB4PAV.js} +3 -3
  112. package/dist/node-runtime/{chunk-G3PARFR4.js → chunk-FCINT2KC.js} +7 -7
  113. package/dist/node-runtime/{chunk-KURXPCGO.js → chunk-FNS42TPZ.js} +3 -3
  114. package/dist/node-runtime/{chunk-N574FRFF.js → chunk-GAWWLIGY.js} +3 -3
  115. package/dist/node-runtime/{chunk-27QDDTTV.js → chunk-HYOPEHDE.js} +2 -2
  116. package/dist/node-runtime/{chunk-5JVP2JX4.js → chunk-JARNU4J4.js} +3 -3
  117. package/dist/node-runtime/{chunk-ITHKNPG4.js → chunk-JZK2WJ7U.js} +1 -1
  118. package/dist/node-runtime/{chunk-PLBYKAZC.js → chunk-KETNCBTB.js} +2 -2
  119. package/dist/node-runtime/{chunk-KTCZH72R.js → chunk-LGRRFSE7.js} +3 -2
  120. package/dist/node-runtime/{chunk-OXFD2OMR.js → chunk-LY6VVOF4.js} +3 -3
  121. package/dist/node-runtime/{chunk-DJB7P2V7.js → chunk-MEDBJXCC.js} +1 -1
  122. package/dist/node-runtime/{chunk-SV42POA3.js → chunk-PGWSMQ4K.js} +1 -1
  123. package/dist/node-runtime/{chunk-7LCR56AK.js → chunk-QDQAKIVU.js} +1 -1
  124. package/dist/node-runtime/{chunk-GNT2AURO.js → chunk-QP4I6GEW.js} +1 -1
  125. package/dist/node-runtime/{chunk-YDMZHLBV.js → chunk-QX5I7QEW.js} +1 -1
  126. package/dist/node-runtime/{chunk-BNZXW77G.js → chunk-RXDLSXEC.js} +1 -1
  127. package/dist/node-runtime/{chunk-U2LTTIWZ.js → chunk-RXG6DWO2.js} +1 -1
  128. package/dist/node-runtime/{chunk-ITVBE3HR.js → chunk-S46QLY2F.js} +10 -9
  129. package/dist/node-runtime/{chunk-CDILDA4F.js → chunk-U7MTVVT3.js} +2 -2
  130. package/dist/node-runtime/{chunk-MNYG5WLT.js → chunk-WBLSU6YV.js} +3 -3
  131. package/dist/node-runtime/{chunk-7LNPTBQJ.js → chunk-XPKOWSYN.js} +6 -2
  132. package/dist/node-runtime/{chunk-4ZEDT3YW.js → chunk-XXGJ7Z3C.js} +11 -11
  133. package/dist/node-runtime/{chunk-3UQ7ZNLI.js → chunk-Y7DFMHY5.js} +8 -8
  134. package/dist/node-runtime/{chunk-2ZI6Q6JG.js → chunk-YFXGOLZ6.js} +1 -1
  135. package/dist/node-runtime/cli-runtime.js +1 -1
  136. package/dist/node-runtime/{command-H52R5R2G.js → command-6GJNLXGD.js} +3 -3
  137. package/dist/node-runtime/{commands-CV2JUYHM.js → commands-2UG5F4VT.js} +6 -6
  138. package/dist/node-runtime/{commands-7EETGZ7V.js → commands-GSZWAQJW.js} +5 -5
  139. package/dist/node-runtime/{direct-tool-executor-DNZ2MS6Z.js → direct-tool-executor-WJLVHH7U.js} +6 -6
  140. package/dist/node-runtime/{export-html-7TEMZLK2.js → export-html-SW3CIZRJ.js} +1 -1
  141. package/dist/node-runtime/{extension-input-MNEKUZDZ.js → extension-input-DFQ76UJG.js} +4 -4
  142. package/dist/node-runtime/{extension-selector-6WJHCCQI.js → extension-selector-MWHCRWHQ.js} +4 -4
  143. package/dist/node-runtime/{gateway-OHPDCOOB.js → gateway-UDWVYEGX.js} +8 -8
  144. package/dist/node-runtime/{goal-PJ2NLX6M.js → goal-CVGA3XFI.js} +1 -1
  145. package/dist/node-runtime/index.js +22 -22
  146. package/dist/node-runtime/{init-G23PFPKF.js → init-P3RQ6EFK.js} +5 -5
  147. package/dist/node-runtime/{install-cli-4LUSDUPO.js → install-cli-YIIFVCFM.js} +1 -1
  148. package/dist/node-runtime/{interactive-mode-7GX3UJFX.js → interactive-mode-VCPSTUAW.js} +16 -16
  149. package/dist/node-runtime/{interactive-view-TUYWWEUV.js → interactive-view-GDP6M6UP.js} +6 -6
  150. package/dist/node-runtime/{lunr-cron-SV2EXYKV.js → lunr-cron-3VI5CLK3.js} +6 -6
  151. package/dist/node-runtime/main.js +17 -17
  152. package/dist/node-runtime/{mobile-commands-JQJU35OT.js → mobile-commands-HQXEYAF6.js} +5 -5
  153. package/dist/node-runtime/{package-manager-cli-FICMQY2Q.js → package-manager-cli-B6G22R6O.js} +9 -9
  154. package/dist/node-runtime/{pi-mcp-adapter-NKAL5CFR.js → pi-mcp-adapter-2OP5BBC6.js} +8 -8
  155. package/dist/node-runtime/{pi-prompt-template-model-63LFES2U.js → pi-prompt-template-model-UL2T2HLL.js} +2 -2
  156. package/dist/node-runtime/{pi-subagents-WS6OU5MG.js → pi-subagents-YVVMY4B4.js} +8 -8
  157. package/dist/node-runtime/{print-mode-Y363FXY4.js → print-mode-M52NLHKG.js} +9 -9
  158. package/dist/node-runtime/{proxy-modes-EEYRUGQL.js → proxy-modes-RD2PQ6UH.js} +6 -6
  159. package/dist/node-runtime/rpc-entry.js +17 -17
  160. package/dist/node-runtime/{rpc-mode-ENVT7AXW.js → rpc-mode-WAHP6U73.js} +4 -4
  161. package/dist/node-runtime/{session-selector-AF6V7DP6.js → session-selector-JABBEHK5.js} +4 -4
  162. package/dist/node-runtime/{setup-OHLYSWTW.js → setup-7IC2PQIB.js} +6 -6
  163. package/dist/node-runtime/{src-Y3S2FIS5.js → src-J6FSKIFT.js} +1 -1
  164. package/dist/node-runtime/{subagent-executor-LPVOWPMG.js → subagent-executor-RTGKJ35C.js} +5 -5
  165. package/dist/node-runtime/{theme-AY3J7JHP.js → theme-MVESIOLX.js} +1 -1
  166. package/dist/node-runtime/{tool-renderers-4RDKHPPB.js → tool-renderers-KL5EPAMN.js} +3 -3
  167. package/dist/startup/interactive-view.js +1 -1
  168. package/install-lock/package-lock.json +24 -24
  169. package/install-lock/package.json +2 -2
  170. package/npm-shrinkwrap.json +12 -12
  171. package/package.json +4 -4
@@ -2,16 +2,16 @@ import { createRequire as __lunrRequire } from "node:module"; const require = __
2
2
  import {
3
3
  createProjectTrustContext,
4
4
  resolveProjectTrusted
5
- } from "./chunk-PLBYKAZC.js";
5
+ } from "./chunk-KETNCBTB.js";
6
6
  import {
7
7
  lightBuiltinExtensions,
8
8
  loadAllBuiltinExtensions
9
- } from "./chunk-G3PARFR4.js";
9
+ } from "./chunk-FCINT2KC.js";
10
10
  import {
11
11
  createStartupTui,
12
12
  showStartupSelector,
13
13
  startStartupTui
14
- } from "./chunk-OXFD2OMR.js";
14
+ } from "./chunk-LY6VVOF4.js";
15
15
  import {
16
16
  ACP_DISABLED_BUILTINS,
17
17
  ACP_SETTINGS_OVERRIDES
@@ -27,7 +27,7 @@ import {
27
27
  formatNoModelSelectedMessage,
28
28
  formatNoModelsAvailableMessage,
29
29
  getMissingSessionCwdIssue
30
- } from "./chunk-ITVBE3HR.js";
30
+ } from "./chunk-S46QLY2F.js";
31
31
  import {
32
32
  restoreStdout,
33
33
  takeOverStdout
@@ -40,11 +40,11 @@ import {
40
40
  import {
41
41
  ExtensionRunner,
42
42
  emitSessionShutdownEvent
43
- } from "./chunk-5F7VOA34.js";
43
+ } from "./chunk-AW6PDL4D.js";
44
44
  import {
45
45
  applyInheritedSubagentPermissions,
46
46
  detectSupportedImageMimeTypeFromFile
47
- } from "./chunk-BNNBTBXY.js";
47
+ } from "./chunk-EJMB4PAV.js";
48
48
  import {
49
49
  processImage
50
50
  } from "./chunk-IAZSK7KK.js";
@@ -81,7 +81,7 @@ import {
81
81
  } from "./chunk-HXLXKJYQ.js";
82
82
  import {
83
83
  SessionSelectorComponent
84
- } from "./chunk-KURXPCGO.js";
84
+ } from "./chunk-FNS42TPZ.js";
85
85
  import {
86
86
  SessionOwnership
87
87
  } from "./chunk-UACMVJW6.js";
@@ -108,7 +108,7 @@ import {
108
108
  import {
109
109
  initTheme,
110
110
  stopThemeWatcher
111
- } from "./chunk-VP2H4TI5.js";
111
+ } from "./chunk-BJIF7GMV.js";
112
112
  import {
113
113
  APP_NAME,
114
114
  CONFIG_DIR_NAME,
@@ -793,14 +793,14 @@ async function promptForMissingSessionCwd(issue, settingsManager, startupView) {
793
793
  async function main(args, options) {
794
794
  let initialArgs = parseArgs(args);
795
795
  if (initialArgs.mode === "acp" && !initialArgs.help && !initialArgs.version) {
796
- let { runAcpMode } = await import("./acp-mode-CFYSYACH.js");
796
+ let { runAcpMode } = await import("./acp-mode-5KZPFZBO.js");
797
797
  await runAcpMode(args);
798
798
  return;
799
799
  }
800
800
  resetTimings(), (args.includes("--offline") || isOfflineModeEnabled()) && (process.env.PI_OFFLINE = "1");
801
801
  let cwd = process.cwd(), agentDir = getAgentDir(), sessionOnly = !!process.env.LUNR_ACP_WORKER_CONFIG, settingsPolicy = { sessionOnly, runtimeOverrides: sessionOnly ? ACP_SETTINGS_OVERRIDES : void 0 }, bootstrapSettingsManager = SettingsManager.create(cwd, agentDir, { projectTrusted: !1, ...settingsPolicy });
802
802
  if (applyHttpProxySettings(bootstrapSettingsManager.getGlobalSettings().httpProxy), configureHttpDispatcher(), ["setup", "features", "uninstall", "browser"].includes(args[0])) {
803
- let { handleInstallCli } = await import("./install-cli-4LUSDUPO.js");
803
+ let { handleInstallCli } = await import("./install-cli-YIIFVCFM.js");
804
804
  if (await handleInstallCli(args))
805
805
  return;
806
806
  }
@@ -815,7 +815,7 @@ async function main(args, options) {
815
815
  return;
816
816
  }
817
817
  if (["install", "remove", "uninstall", "list", "config"].includes(args[0])) {
818
- let { handleConfigCommand, handlePackageCommand } = await import("./package-manager-cli-FICMQY2Q.js");
818
+ let { handleConfigCommand, handlePackageCommand } = await import("./package-manager-cli-B6G22R6O.js");
819
819
  if (await handlePackageCommand(args, { extensionFactories: options?.extensionFactories })) {
820
820
  process.exit(process.exitCode ?? 0);
821
821
  return;
@@ -824,7 +824,7 @@ async function main(args, options) {
824
824
  return;
825
825
  }
826
826
  if (args[0] === "gateway") {
827
- let { handleGatewayCommand } = await import("./command-H52R5R2G.js");
827
+ let { handleGatewayCommand } = await import("./command-6GJNLXGD.js");
828
828
  if (await handleGatewayCommand(args))
829
829
  return;
830
830
  }
@@ -839,7 +839,7 @@ async function main(args, options) {
839
839
  if (time("parseArgs"), parsed.version && (console.log(VERSION), process.exit(0)), parsed.export) {
840
840
  let result;
841
841
  try {
842
- let { exportFromFile } = await import("./export-html-7TEMZLK2.js"), outputPath = parsed.messages.length > 0 ? parsed.messages[0] : void 0;
842
+ let { exportFromFile } = await import("./export-html-SW3CIZRJ.js"), outputPath = parsed.messages.length > 0 ? parsed.messages[0] : void 0;
843
843
  result = await exportFromFile(parsed.export, outputPath);
844
844
  } catch (error) {
845
845
  let message = error instanceof Error ? error.message : "Failed to export session";
@@ -847,7 +847,7 @@ async function main(args, options) {
847
847
  }
848
848
  console.log(`Exported to: ${result}`), process.exit(0);
849
849
  }
850
- let appMode = resolveAppMode(parsed, process.stdin.isTTY, process.stdout.isTTY), startupBenchmark = isTruthyEnvFlag(process.env.PI_STARTUP_BENCHMARK), readsStdin = appMode !== "rpc" && !startupBenchmark, earlyStdin = options?.pipedStdin ?? (readsStdin && appMode !== "interactive" && !readsStdinBeforeTurn(parsed) ? readPipedStdin() : void 0), interactiveModeImport = appMode === "interactive" ? import("./interactive-mode-7GX3UJFX.js") : void 0, startupView = appMode === "interactive" ? options?.startupView : void 0;
850
+ let appMode = resolveAppMode(parsed, process.stdin.isTTY, process.stdout.isTTY), startupBenchmark = isTruthyEnvFlag(process.env.PI_STARTUP_BENCHMARK), readsStdin = appMode !== "rpc" && !startupBenchmark, earlyStdin = options?.pipedStdin ?? (readsStdin && appMode !== "interactive" && !readsStdinBeforeTurn(parsed) ? readPipedStdin() : void 0), interactiveModeImport = appMode === "interactive" ? import("./interactive-mode-VCPSTUAW.js") : void 0, startupView = appMode === "interactive" ? options?.startupView : void 0;
851
851
  options?.startupView && !startupView && options.startupView.stop(), applyInheritedSubagentPermissions(), appMode !== "interactive" && !isPlainRuntimeMetadataCommand(parsed) && takeOverStdout(), parsed.mode === "rpc" && parsed.fileArgs.length > 0 && (console.error(chalk4.red("Error: @file arguments are not supported in RPC mode")), process.exit(1)), validateForkFlags(parsed), validateSessionIdFlags(parsed);
852
852
  let { migratedAuthProviders: migratedProviders, deprecationWarnings } = runMigrations(cwd);
853
853
  time("runMigrations");
@@ -1033,12 +1033,12 @@ ${EXTENSION_LOAD_FAILURE_HINT}` : "";
1033
1033
  }
1034
1034
  }
1035
1035
  if (startupBenchmark && appMode !== "interactive" && (console.error(chalk4.red("Error: PI_STARTUP_BENCHMARK only supports interactive mode")), process.exit(1)), appMode === "rpc") {
1036
- let { runRpcMode } = await import("./rpc-mode-ENVT7AXW.js");
1036
+ let { runRpcMode } = await import("./rpc-mode-WAHP6U73.js");
1037
1037
  printTimings(), await runRpcMode(runtime);
1038
1038
  } else if (appMode === "interactive") {
1039
1039
  let [{ InteractiveMode }, { loadDeferredBuiltinExtensions }] = await Promise.all([
1040
1040
  interactiveModeImport,
1041
- import("./builtin-extensions-YJ7F6GND.js")
1041
+ import("./builtin-extensions-JNJRND4E.js")
1042
1042
  ]), interactiveMode = new InteractiveMode(runtime, {
1043
1043
  migratedProviders,
1044
1044
  modelFallbackMessage,
@@ -1061,7 +1061,7 @@ ${EXTENSION_LOAD_FAILURE_HINT}` : "";
1061
1061
  }
1062
1062
  await interactiveMode.init(), time("interactiveMode.init"), process.stderr.isTTY ? process.once("exit", printTimings) : printTimings(), await interactiveMode.run();
1063
1063
  } else {
1064
- let { runPrintMode } = await import("./print-mode-Y363FXY4.js");
1064
+ let { runPrintMode } = await import("./print-mode-M52NLHKG.js");
1065
1065
  printTimings();
1066
1066
  let exitCode = await runPrintMode(runtime, {
1067
1067
  mode: toPrintOutputMode(appMode),
@@ -1,7 +1,7 @@
1
1
  import { createRequire as __lunrRequire } from "node:module"; const require = __lunrRequire(import.meta.url);
2
2
  import {
3
3
  SUBAGENT_CHILD_AUTO_REVIEW_ENV
4
- } from "./chunk-SV42POA3.js";
4
+ } from "./chunk-PGWSMQ4K.js";
5
5
  import {
6
6
  withFileMutationQueue
7
7
  } from "./chunk-YSB6URMT.js";
@@ -11,12 +11,12 @@ import {
11
11
  import {
12
12
  getPermissionMode,
13
13
  resetPermissions
14
- } from "./chunk-KTCZH72R.js";
14
+ } from "./chunk-LGRRFSE7.js";
15
15
  import {
16
16
  CREDENTIAL_SKIP_NOTE,
17
17
  credentialFileReason,
18
18
  credentialWalkFilter
19
- } from "./chunk-7LNPTBQJ.js";
19
+ } from "./chunk-XPKOWSYN.js";
20
20
  import {
21
21
  applyEditsToNormalizedContent,
22
22
  detectLineEnding,
@@ -16,7 +16,7 @@ import {
16
16
  import {
17
17
  isReadOnlyModeActive,
18
18
  requestPlanApproval
19
- } from "./chunk-KTCZH72R.js";
19
+ } from "./chunk-LGRRFSE7.js";
20
20
  import {
21
21
  ashxj_tui_default
22
22
  } from "./chunk-ZIZ5VLBR.js";
@@ -978,16 +978,16 @@ var lightBuiltinExtensions = [
978
978
  ext("lunr-skill-creator", lunr_skill_creator_default)
979
979
  ], DEFERRED_BUILTIN_LOADERS = [
980
980
  { name: "pi-ollama-cloud", load: () => import("./pi-ollama-cloud-2KQAFVBI.js") },
981
- { name: "narumiruna-pi-goal", load: () => import("./goal-PJ2NLX6M.js") },
982
- { name: "lunr-cron", load: () => import("./lunr-cron-SV2EXYKV.js") },
981
+ { name: "narumiruna-pi-goal", load: () => import("./goal-CVGA3XFI.js") },
982
+ { name: "lunr-cron", load: () => import("./lunr-cron-3VI5CLK3.js") },
983
983
  { name: "lunr-pr-watch", load: () => import("./lunr-pr-watch-C7Q3TFT6.js") },
984
984
  { name: "pi-intercom", load: () => import("./pi-intercom-ZRDKISVO.js") },
985
- { name: "pi-prompt-template-model", load: () => import("./pi-prompt-template-model-63LFES2U.js") },
986
- { name: "pi-subagents", load: () => import("./pi-subagents-WS6OU5MG.js") },
985
+ { name: "pi-prompt-template-model", load: () => import("./pi-prompt-template-model-UL2T2HLL.js") },
986
+ { name: "pi-subagents", load: () => import("./pi-subagents-YVVMY4B4.js") },
987
987
  { name: "pi-web-access", load: () => import("./pi-web-access-3LE56I3G.js") },
988
988
  { name: "lunr-browser", load: () => import("./lunr-browser-3CVKQBIJ.js") },
989
- { name: "pi-lsp-extension", load: () => import("./src-Y3S2FIS5.js") },
990
- { name: "pi-mcp-adapter", load: () => import("./pi-mcp-adapter-NKAL5CFR.js") },
989
+ { name: "pi-lsp-extension", load: () => import("./src-J6FSKIFT.js") },
990
+ { name: "pi-mcp-adapter", load: () => import("./pi-mcp-adapter-2OP5BBC6.js") },
991
991
  { name: "lunr-computer-use", load: () => import("./lunr-computer-use-33BJQHVI.js") }
992
992
  ], DEFERRED_BUILTIN_EXTENSION_NAMES = DEFERRED_BUILTIN_LOADERS.map((entry) => entry.name), DEFERRED_BUILTIN_FLAGS = ["mcp-config"];
993
993
  async function loadDeferredBuiltinExtensions() {
@@ -13,14 +13,14 @@ import {
13
13
  } from "./chunk-FVAYEY32.js";
14
14
  import {
15
15
  DynamicBorder
16
- } from "./chunk-DJB7P2V7.js";
16
+ } from "./chunk-MEDBJXCC.js";
17
17
  import {
18
18
  keyHint,
19
19
  keyText
20
- } from "./chunk-ITHKNPG4.js";
20
+ } from "./chunk-JZK2WJ7U.js";
21
21
  import {
22
22
  theme
23
- } from "./chunk-VP2H4TI5.js";
23
+ } from "./chunk-BJIF7GMV.js";
24
24
  import {
25
25
  canonicalizePath
26
26
  } from "./chunk-6FNQ6H4D.js";
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-ODWFHNX7.js";
8
8
  import {
9
9
  noOpUIContext
10
- } from "./chunk-5F7VOA34.js";
10
+ } from "./chunk-AW6PDL4D.js";
11
11
  import {
12
12
  getSubagentCancellation
13
13
  } from "./chunk-IMLLN6W5.js";
@@ -20,7 +20,7 @@ import {
20
20
  registerApprovalHandler,
21
21
  restorePermissionModeAfterPlan,
22
22
  setPermissionMode
23
- } from "./chunk-KTCZH72R.js";
23
+ } from "./chunk-LGRRFSE7.js";
24
24
  import {
25
25
  SessionManager
26
26
  } from "./chunk-HQ5A4VVO.js";
@@ -1174,7 +1174,7 @@ async function handleMobileCommand(ctx, command, args) {
1174
1174
  if (command === "settings") {
1175
1175
  let choice = await selectForCommand(ctx, "Session settings", ["Model", "Thinking", "Permissions"]);
1176
1176
  if (choice === "Model" || choice === "Thinking") {
1177
- let { CHAT_COMMANDS, runChatCommand } = await import("./commands-CV2JUYHM.js");
1177
+ let { CHAT_COMMANDS, runChatCommand } = await import("./commands-2UG5F4VT.js");
1178
1178
  if (ctx.pickerGeneration !== gatewayPickerGeneration(ctx.key))
1179
1179
  return !0;
1180
1180
  let cmd = CHAT_COMMANDS.find((c) => c.name === choice.toLowerCase());
@@ -28,12 +28,12 @@ import {
28
28
  } from "./chunk-6ZSTPLPY.js";
29
29
  import {
30
30
  keyHint
31
- } from "./chunk-ITHKNPG4.js";
31
+ } from "./chunk-JZK2WJ7U.js";
32
32
  import {
33
33
  getLanguageFromPath,
34
34
  highlightCode,
35
35
  theme
36
- } from "./chunk-VP2H4TI5.js";
36
+ } from "./chunk-BJIF7GMV.js";
37
37
  import {
38
38
  formatPathRelativeToCwdOrAbsolute,
39
39
  getReadmePath
@@ -4,13 +4,13 @@ import {
4
4
  } from "./chunk-I6R76AG7.js";
5
5
  import {
6
6
  DynamicBorder
7
- } from "./chunk-DJB7P2V7.js";
7
+ } from "./chunk-MEDBJXCC.js";
8
8
  import {
9
9
  keyHint
10
- } from "./chunk-ITHKNPG4.js";
10
+ } from "./chunk-JZK2WJ7U.js";
11
11
  import {
12
12
  theme
13
- } from "./chunk-VP2H4TI5.js";
13
+ } from "./chunk-BJIF7GMV.js";
14
14
 
15
15
  // packages/coding-agent/dist/modes/interactive/components/extension-input.js
16
16
  import { Container, getKeybindings, Input, Spacer, Text } from "@ashx-j/lunr-tui";
@@ -1,7 +1,7 @@
1
1
  import { createRequire as __lunrRequire } from "node:module"; const require = __lunrRequire(import.meta.url);
2
2
  import {
3
3
  theme
4
- } from "./chunk-VP2H4TI5.js";
4
+ } from "./chunk-BJIF7GMV.js";
5
5
 
6
6
  // packages/coding-agent/dist/modes/interactive/components/keybinding-hints.js
7
7
  import { getKeybindings } from "@ashx-j/lunr-tui";
@@ -2,10 +2,10 @@ import { createRequire as __lunrRequire } from "node:module"; const require = __
2
2
  import {
3
3
  showStartupInput,
4
4
  showStartupSelector
5
- } from "./chunk-OXFD2OMR.js";
5
+ } from "./chunk-LY6VVOF4.js";
6
6
  import {
7
7
  emitProjectTrustEvent
8
- } from "./chunk-5F7VOA34.js";
8
+ } from "./chunk-AW6PDL4D.js";
9
9
  import {
10
10
  getProjectTrustOptions,
11
11
  hasTrustRequiringProjectResources
@@ -3,7 +3,7 @@ import {
3
3
  credentialArgsReason,
4
4
  credentialBashReason,
5
5
  protectedTargetWriteReason
6
- } from "./chunk-7LNPTBQJ.js";
6
+ } from "./chunk-XPKOWSYN.js";
7
7
  import {
8
8
  PATH_TOOLS,
9
9
  computerPolicy,
@@ -859,7 +859,7 @@ var READ_ONLY_TOOLS = /* @__PURE__ */ new Set([
859
859
  "present_plan",
860
860
  "structured_output",
861
861
  "load_tools"
862
- ]), NO_HANDLER_REASON = "Approval channel unavailable.", PLAN_APPROVAL_TIMEOUT_REASON = "Plan approval timed out.", LARGE_SUBAGENT_LAUNCH_REJECT_REASON = "Large subagent launch rejected by user.", ASK_REJECT_REASON = "The user rejected this call.", APPROVAL_TIMEOUT_REASON = "Approval request timed out", REVIEW_FREE_TOOLS = /* @__PURE__ */ new Set(["todo", "goal_complete", "goal_blocked"]), NO_LARGE_SUBAGENT_LAUNCH_HANDLER_REASON = "Large subagent launch blocked: no approval channel available.", LARGE_SUBAGENT_LAUNCH_ACTION = "large-subagent-launch", contexts = /* @__PURE__ */ new Map(), defaultContext = { mode: "yolo", approvals: /* @__PURE__ */ new Set() }, approvalHandler, turnLargeLaunchDecisions = /* @__PURE__ */ new WeakMap();
862
+ ]), NO_HANDLER_REASON = "Approval channel unavailable.", PLAN_APPROVAL_TIMEOUT_REASON = "Plan approval timed out.", LARGE_SUBAGENT_LAUNCH_REJECT_REASON = "Large subagent launch rejected by user.", ASK_REJECT_REASON = "The user rejected this call.", APPROVAL_TIMEOUT_REASON = "Approval request timed out", REVIEW_FREE_TOOLS = /* @__PURE__ */ new Set(["todo", "goal_complete", "goal_blocked"]), MODE_SWITCHING_TOOLS = /* @__PURE__ */ new Set(["present_plan", "goal_complete", "goal_blocked"]), NO_LARGE_SUBAGENT_LAUNCH_HANDLER_REASON = "Large subagent launch blocked: no approval channel available.", LARGE_SUBAGENT_LAUNCH_ACTION = "large-subagent-launch", contexts = /* @__PURE__ */ new Map(), defaultContext = { mode: "yolo", approvals: /* @__PURE__ */ new Set() }, approvalHandler, turnLargeLaunchDecisions = /* @__PURE__ */ new WeakMap();
863
863
  function getContext(sessionId) {
864
864
  return sessionId ? contexts.get(sessionId) ?? defaultContext : defaultContext;
865
865
  }
@@ -1155,6 +1155,7 @@ export {
1155
1155
  PLAN_APPROVAL_TIMEOUT_REASON,
1156
1156
  APPROVAL_TIMEOUT_REASON,
1157
1157
  REVIEW_FREE_TOOLS,
1158
+ MODE_SWITCHING_TOOLS,
1158
1159
  createPermissionContext,
1159
1160
  initializePermissionContext,
1160
1161
  deletePermissionContext,
@@ -10,10 +10,10 @@ import {
10
10
  } from "./chunk-FVAYEY32.js";
11
11
  import {
12
12
  ExtensionSelectorComponent
13
- } from "./chunk-MNYG5WLT.js";
13
+ } from "./chunk-WBLSU6YV.js";
14
14
  import {
15
15
  ExtensionInputComponent
16
- } from "./chunk-5JVP2JX4.js";
16
+ } from "./chunk-JARNU4J4.js";
17
17
  import {
18
18
  detectTerminalBackgroundFromEnv,
19
19
  detectTerminalThemeForAuto,
@@ -23,7 +23,7 @@ import {
23
23
  resolveThemeSetting,
24
24
  setRegisteredThemes,
25
25
  setTheme
26
- } from "./chunk-VP2H4TI5.js";
26
+ } from "./chunk-BJIF7GMV.js";
27
27
  import {
28
28
  getAgentDir
29
29
  } from "./chunk-6FNQ6H4D.js";
@@ -1,7 +1,7 @@
1
1
  import { createRequire as __lunrRequire } from "node:module"; const require = __lunrRequire(import.meta.url);
2
2
  import {
3
3
  theme
4
- } from "./chunk-VP2H4TI5.js";
4
+ } from "./chunk-BJIF7GMV.js";
5
5
 
6
6
  // packages/coding-agent/dist/modes/interactive/components/dynamic-border.js
7
7
  var DynamicBorder = class {
@@ -2,7 +2,7 @@ import { createRequire as __lunrRequire } from "node:module"; const require = __
2
2
  import {
3
3
  REVIEW_FREE_TOOLS,
4
4
  readOnlyModeBlock
5
- } from "./chunk-KTCZH72R.js";
5
+ } from "./chunk-LGRRFSE7.js";
6
6
  import {
7
7
  resolveToCwd
8
8
  } from "./chunk-SJVCEPQS.js";
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-U5F4IC7R.js";
8
8
  import {
9
9
  SIGNAL_DISPOSE_LIMIT_MS
10
- } from "./chunk-ITVBE3HR.js";
10
+ } from "./chunk-S46QLY2F.js";
11
11
  import {
12
12
  flushRawStdout,
13
13
  writeRawStdout
@@ -20,7 +20,7 @@ import {
20
20
  } from "./chunk-PVCDKGR6.js";
21
21
  import {
22
22
  loadThemeFromPath
23
- } from "./chunk-VP2H4TI5.js";
23
+ } from "./chunk-BJIF7GMV.js";
24
24
  import {
25
25
  CONFIG_DIR_NAME,
26
26
  canonicalizePath,
@@ -12,7 +12,7 @@ import {
12
12
  import {
13
13
  READ_ONLY_TOOLS,
14
14
  REVIEW_FREE_TOOLS
15
- } from "./chunk-KTCZH72R.js";
15
+ } from "./chunk-LGRRFSE7.js";
16
16
 
17
17
  // packages/coding-agent/dist/builtin-extensions/pi-mcp-adapter/config.js
18
18
  import { existsSync, readFileSync, writeFileSync, mkdirSync, renameSync } from "node:fs";
@@ -58,7 +58,7 @@ import {
58
58
  serializeTools,
59
59
  throwIfAborted,
60
60
  truncateAtWord
61
- } from "./chunk-YDMZHLBV.js";
61
+ } from "./chunk-QX5I7QEW.js";
62
62
  import {
63
63
  formatToolName,
64
64
  isToolExcluded,
@@ -7,7 +7,7 @@ import {
7
7
  gatewayPickerGeneration,
8
8
  resolveWithinRoots,
9
9
  splitMessage
10
- } from "./chunk-N574FRFF.js";
10
+ } from "./chunk-GAWWLIGY.js";
11
11
  import {
12
12
  computeContextBreakdown
13
13
  } from "./chunk-GX7UZDSI.js";
@@ -4,7 +4,7 @@ import {
4
4
  createSyntheticSourceInfo,
5
5
  expandPromptTemplate,
6
6
  formatSkillsForPrompt
7
- } from "./chunk-GNT2AURO.js";
7
+ } from "./chunk-QP4I6GEW.js";
8
8
  import {
9
9
  TODO_TOOL_NAMES
10
10
  } from "./chunk-KDBQKVNZ.js";
@@ -27,7 +27,7 @@ import {
27
27
  import {
28
28
  ExtensionRunner,
29
29
  emitSessionShutdownEvent
30
- } from "./chunk-5F7VOA34.js";
30
+ } from "./chunk-AW6PDL4D.js";
31
31
  import {
32
32
  registerSubagentWaitInterruptionOwner
33
33
  } from "./chunk-6Z5EUITR.js";
@@ -48,7 +48,7 @@ import {
48
48
  removeOnExit,
49
49
  resolveChildRuntimePermissionMode,
50
50
  wrapToolDefinition
51
- } from "./chunk-BNNBTBXY.js";
51
+ } from "./chunk-EJMB4PAV.js";
52
52
  import {
53
53
  AutoReviewTracker,
54
54
  SUBAGENT_CHILD_AUTO_REVIEW_ENV,
@@ -59,9 +59,10 @@ import {
59
59
  registerAutoReviewSnapshot,
60
60
  resolveAutoReviewer,
61
61
  reviewerFailed
62
- } from "./chunk-SV42POA3.js";
62
+ } from "./chunk-PGWSMQ4K.js";
63
63
  import {
64
64
  AUTONOMOUS_ADDENDUM,
65
+ MODE_SWITCHING_TOOLS,
65
66
  READ_ONLY_MODE_ADDENDUM,
66
67
  deletePermissionContext,
67
68
  gateToolCall,
@@ -71,7 +72,7 @@ import {
71
72
  requestAutoReviewDecision,
72
73
  setPermissionAutonomous,
73
74
  setPermissionMode
74
- } from "./chunk-KTCZH72R.js";
75
+ } from "./chunk-LGRRFSE7.js";
75
76
  import {
76
77
  isUserInstructionsPath,
77
78
  loadSelectedUserInstructions
@@ -139,7 +140,7 @@ import {
139
140
  import {
140
141
  getThemeByName,
141
142
  theme
142
- } from "./chunk-VP2H4TI5.js";
143
+ } from "./chunk-BJIF7GMV.js";
143
144
  import {
144
145
  CONFIG_DIR_NAME,
145
146
  getAgentDir,
@@ -1410,7 +1411,7 @@ function snapFileName(absPath) {
1410
1411
 
1411
1412
  // packages/coding-agent/dist/core/tool-call-hooks.js
1412
1413
  function installToolCallHooks(agent, host) {
1413
- agent.toolCallMutates = (toolCall, args) => readOnlyModeBlockReason(toolCall.name, args) !== void 0, agent.beforeToolCall = async ({ toolCall, args, assistantMessage }) => {
1414
+ agent.toolCallMutates = (toolCall, args) => MODE_SWITCHING_TOOLS.has(toolCall.name) || readOnlyModeBlockReason(toolCall.name, args) !== void 0, agent.beforeToolCall = async ({ toolCall, args, assistantMessage }) => {
1414
1415
  let rules = host.permissionRules(), permBlock = await gateToolCall(toolCall.name, args, host.cwd, host.sessionId, {
1415
1416
  confirmLargeSubagentLaunches: host.settingsManager.getConfirmLargeSubagentLaunches(),
1416
1417
  assistantMessage,
@@ -3619,9 +3620,9 @@ ${command}` : command, result = await executeBashWithOperations(resolvedCommand,
3619
3620
  */
3620
3621
  async exportToHtml(outputPath) {
3621
3622
  let [{ exportSessionToHtml }, { createToolHtmlRenderer }, { getBuiltinToolRenderer }] = await Promise.all([
3622
- import("./export-html-7TEMZLK2.js"),
3623
+ import("./export-html-SW3CIZRJ.js"),
3623
3624
  import("./tool-renderer-MV5O452K.js"),
3624
- import("./tool-renderers-4RDKHPPB.js")
3625
+ import("./tool-renderers-KL5EPAMN.js")
3625
3626
  ]), configuredThemeName = this.settingsManager.getTheme(), themeName = configuredThemeName && getThemeByName(configuredThemeName) ? configuredThemeName : void 0, toolRenderer = createToolHtmlRenderer({
3626
3627
  // Built-in definitions carry no renderers; the export draws them as the TUI does.
3627
3628
  getToolDefinition: (name) => {
@@ -18,11 +18,11 @@ import {
18
18
  READ_ONLY_WRITE_SPAWN_ERROR,
19
19
  createReadOnlyTools,
20
20
  resolveChildPermissions
21
- } from "./chunk-BNNBTBXY.js";
21
+ } from "./chunk-EJMB4PAV.js";
22
22
  import {
23
23
  SUBAGENT_CHILD_AUTO_REVIEW_ENV,
24
24
  snapshotParentAutoReview
25
- } from "./chunk-SV42POA3.js";
25
+ } from "./chunk-PGWSMQ4K.js";
26
26
  import {
27
27
  subagentCommunicationEnabled
28
28
  } from "./chunk-V3AX7UT3.js";
@@ -4,14 +4,14 @@ import {
4
4
  } from "./chunk-I6R76AG7.js";
5
5
  import {
6
6
  DynamicBorder
7
- } from "./chunk-DJB7P2V7.js";
7
+ } from "./chunk-MEDBJXCC.js";
8
8
  import {
9
9
  keyHint,
10
10
  rawKeyHint
11
- } from "./chunk-ITHKNPG4.js";
11
+ } from "./chunk-JZK2WJ7U.js";
12
12
  import {
13
13
  theme
14
- } from "./chunk-VP2H4TI5.js";
14
+ } from "./chunk-BJIF7GMV.js";
15
15
 
16
16
  // packages/coding-agent/dist/modes/interactive/components/extension-selector.js
17
17
  import { Container, getKeybindings, Spacer, Text } from "@ashx-j/lunr-tui";
@@ -7,6 +7,7 @@ import {
7
7
  } from "./chunk-SJVCEPQS.js";
8
8
  import {
9
9
  CONFIG_DIR_NAME,
10
+ ENV_AGENT_DIR,
10
11
  canonicalizeTargetPath,
11
12
  getAgentDir
12
13
  } from "./chunk-6FNQ6H4D.js";
@@ -85,13 +86,16 @@ function credentialBashReason(command, cwd) {
85
86
  }
86
87
  }
87
88
  }
88
- var HOME_VARIABLE = /^\$(?:HOME|\{HOME\})(?=\/|$)/;
89
+ var HOME_VARIABLE = /^\$(?:HOME|\{HOME\})(?=\/|$)/, AGENT_DIR_VARIABLE = /^\$(?:PI_CODING_AGENT_DIR|\{PI_CODING_AGENT_DIR\})(?=\/|$)/;
89
90
  function asBashPath(word) {
90
- return fromMsysPath(expandHome(word));
91
+ return fromMsysPath(expandAgentDir(expandHome(word)));
91
92
  }
92
93
  function expandHome(word) {
93
94
  return word.replace(HOME_VARIABLE, () => process.env.HOME || homedir());
94
95
  }
96
+ function expandAgentDir(word) {
97
+ return word.replace(AGENT_DIR_VARIABLE, () => process.env[ENV_AGENT_DIR] || getAgentDir());
98
+ }
95
99
  function fromMsysPath(word) {
96
100
  return process.platform === "win32" ? word.replace(/^(?:\/cygdrive|\/mnt)?\/([a-z])(?=\/|$)/i, "$1:/") : word;
97
101
  }
@@ -15,7 +15,7 @@ import {
15
15
  import {
16
16
  getBuiltinToolRenderer,
17
17
  truncateToVisualLines
18
- } from "./chunk-27QDDTTV.js";
18
+ } from "./chunk-HYOPEHDE.js";
19
19
  import {
20
20
  copyToClipboard,
21
21
  readClipboardText
@@ -29,7 +29,7 @@ import {
29
29
  ExitConfirmation,
30
30
  logStrayOutput,
31
31
  registerPermissionModeBridge
32
- } from "./chunk-GPNTGRL2.js";
32
+ } from "./chunk-3RR3PVJB.js";
33
33
  import {
34
34
  nextModeForGoal,
35
35
  registerPermissionModeControlBridge
@@ -60,7 +60,7 @@ import {
60
60
  peekRollbackTurnsConsumed,
61
61
  rollbackLastTurn,
62
62
  setRollbackWarningHandler
63
- } from "./chunk-ITVBE3HR.js";
63
+ } from "./chunk-S46QLY2F.js";
64
64
  import {
65
65
  notifyTodosEnabledChanged
66
66
  } from "./chunk-KDBQKVNZ.js";
@@ -81,7 +81,7 @@ import {
81
81
  ensureTool,
82
82
  getToolPath,
83
83
  sweepStaleTempFiles
84
- } from "./chunk-BNNBTBXY.js";
84
+ } from "./chunk-EJMB4PAV.js";
85
85
  import {
86
86
  convertToPng,
87
87
  processImage
@@ -92,7 +92,7 @@ import {
92
92
  permissionModeLabel,
93
93
  registerApprovalHandler,
94
94
  restorePermissionModeAfterPlan
95
- } from "./chunk-KTCZH72R.js";
95
+ } from "./chunk-LGRRFSE7.js";
96
96
  import {
97
97
  getGlobalInstructionsPath,
98
98
  getModelInstructionsPath
@@ -164,7 +164,7 @@ import {
164
164
  } from "./chunk-SRCSFFDW.js";
165
165
  import {
166
166
  SessionSelectorComponent
167
- } from "./chunk-KURXPCGO.js";
167
+ } from "./chunk-FNS42TPZ.js";
168
168
  import {
169
169
  GroupedCallText,
170
170
  appendToFirstLine,
@@ -203,16 +203,16 @@ import {
203
203
  } from "./chunk-CCZJ3PYY.js";
204
204
  import {
205
205
  ExtensionSelectorComponent
206
- } from "./chunk-MNYG5WLT.js";
206
+ } from "./chunk-WBLSU6YV.js";
207
207
  import {
208
208
  ExtensionInputComponent
209
- } from "./chunk-5JVP2JX4.js";
209
+ } from "./chunk-JARNU4J4.js";
210
210
  import {
211
211
  CountdownTimer
212
212
  } from "./chunk-I6R76AG7.js";
213
213
  import {
214
214
  DynamicBorder
215
- } from "./chunk-DJB7P2V7.js";
215
+ } from "./chunk-MEDBJXCC.js";
216
216
  import {
217
217
  expandKeyText,
218
218
  formatKeyText,
@@ -220,7 +220,7 @@ import {
220
220
  keyHint,
221
221
  keyText,
222
222
  rawKeyHint
223
- } from "./chunk-ITHKNPG4.js";
223
+ } from "./chunk-JZK2WJ7U.js";
224
224
  import {
225
225
  FS_WATCH_RETRY_DELAY_MS,
226
226
  Theme,
@@ -246,7 +246,7 @@ import {
246
246
  stopThemeWatcher,
247
247
  theme,
248
248
  watchWithErrorHandler
249
- } from "./chunk-VP2H4TI5.js";
249
+ } from "./chunk-BJIF7GMV.js";
250
250
  import {
251
251
  globalBridge
252
252
  } from "./chunk-6LUA7VRU.js";