coreblow 2.1.0 → 2.1.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 (226) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/coreblow.mjs +23 -13
  3. package/dist/.buildstamp +1 -1
  4. package/dist/{banner-BZXPZLzW.js → banner-BX_EY424.js} +2 -2
  5. package/dist/{banner-kK6L9YAO.js → banner-DZrqpTh9.js} +1 -1
  6. package/dist/{channel-BloLKeOm.js → channel-CkrU26UH.js} +1 -1
  7. package/dist/{channel-contract-testing-D5gXsAal.js → channel-contract-testing-RD-nngpm.js} +1 -1
  8. package/dist/{channel.runtime-CRrPUpwE.js → channel.runtime-DVo_bdtI.js} +1 -1
  9. package/dist/{command-registry-CgQ5uduI.js → command-registry-JBeJC6HG.js} +2 -2
  10. package/dist/{command-registry-CKyDWP6i.js → command-registry-N5DFJ1HF.js} +2 -2
  11. package/dist/{command-registry-core-CqXfOtoW.js → command-registry-core-CcBtvwN6.js} +5 -5
  12. package/dist/{completion-cli-DDCXlrtm.js → completion-cli-D8S3AuTX.js} +1 -1
  13. package/dist/{completion-cli-Cc6wlxEr.js → completion-cli-DdnmI5P_.js} +2 -2
  14. package/dist/{config-cli-xBZ_3LxY.js → config-cli-BP0U0wu7.js} +1 -1
  15. package/dist/{doctor-completion-CSrm48TG.js → doctor-completion-CY-APVRV.js} +1 -1
  16. package/dist/{embedded-backend-DykjwM4Z.js → embedded-backend-0aHwzLJk.js} +1 -1
  17. package/dist/entry.js +2 -2
  18. package/dist/extensions/admin-http-rpc/index.js +2 -2
  19. package/dist/extensions/diffs/.coreblow-runtime-deps-stamp.json +1 -1
  20. package/dist/extensions/discord/.coreblow-runtime-deps-stamp.json +1 -1
  21. package/dist/extensions/feishu/.coreblow-runtime-deps-stamp.json +1 -1
  22. package/dist/extensions/slack/outbound-payload-test-api.js +1 -1
  23. package/dist/extensions/whatsapp/extension.js +2 -2
  24. package/dist/extensions/whatsapp/index.js +2 -2
  25. package/dist/extensions/whatsapp/runtime-api.js +1 -1
  26. package/dist/extensions/whatsapp/setup-entry.js +1 -1
  27. package/dist/extensions/whatsapp/test-api.js +2 -2
  28. package/dist/{gateway-cli-Ci1NBXYZ.js → gateway-cli-boaNT_Uu.js} +1 -1
  29. package/dist/gateway-method-runtime-C3HlACRb.js +2 -0
  30. package/dist/{health-state-C7kiDs32.js → health-state-B-p4AHZv.js} +1 -1
  31. package/dist/{help-DZ3R5ktM.js → help-Cg9tdA8L.js} +3 -3
  32. package/dist/index.js +1 -1
  33. package/dist/{interactive-chat-Dmm7wI7u.js → interactive-chat-BzaYHPlk.js} +1 -1
  34. package/dist/{login-D8KC7cPD.js → login-Xa6sIsKt.js} +1 -1
  35. package/dist/{message-handler-D_iBK0oF.js → message-handler-CG5PhrqL.js} +2 -2
  36. package/dist/{onboard-DJWdIPjf.js → onboard-D78ip1c5.js} +1 -1
  37. package/dist/plugin-sdk/channel-contract-testing.js +1 -1
  38. package/dist/plugin-sdk/extensions/telegram/src/webhook.d.ts +1 -1
  39. package/dist/plugin-sdk/gateway-method-runtime.js +2 -2
  40. package/dist/plugin-sdk/src/config/schema.base.generated.d.ts +1 -1
  41. package/dist/plugin-sdk/src/plugins/host-hook-attachments.d.ts +1 -1
  42. package/dist/{program-Df-f3Ny8.js → program-CWfE-VdT.js} +3 -3
  43. package/dist/{prompt-select-styled-D90YmzuA.js → prompt-select-styled-BuO59CxA.js} +1 -1
  44. package/dist/{register.maintenance-BCnB9nTd.js → register.maintenance-D-uMsFqf.js} +1 -1
  45. package/dist/{register.onboard-tHGd7qo6.js → register.onboard-B67YHgka.js} +1 -1
  46. package/dist/{register.setup-CKfgIisF.js → register.setup-DgsezJEC.js} +1 -1
  47. package/dist/{register.subclis-CRMQ7hp5.js → register.subclis-CavXly_F.js} +1 -1
  48. package/dist/{register.subclis-Sn-mQ3AX.js → register.subclis-Dl1s1Q7-.js} +2 -2
  49. package/dist/{register.subclis-core-jy6-W_0Q.js → register.subclis-core-BU-bfqf9.js} +6 -6
  50. package/dist/{root-help-CtYC4omA.js → root-help-C_-3BAVq.js} +1 -1
  51. package/dist/{run-DFRYnxQs.js → run-Dkfl41Ze.js} +5 -5
  52. package/dist/{run-C8pV2fjh.js → run-NmtTCWuc.js} +1 -1
  53. package/dist/{run-command-CrudYMjs.js → run-command-C65OZ0gQ.js} +1 -1
  54. package/dist/{run-ink-tui-BuhIQl-S.js → run-ink-tui-CCPaVzm2.js} +5 -5
  55. package/dist/run-ink-tui-CU2GxdOe.js +2 -0
  56. package/dist/{run-main-CNpSLTwK.js → run-main-DWBPfEFL.js} +12 -12
  57. package/dist/{schema-DzY8ZTTY.js → schema-D9wIu716.js} +1 -1
  58. package/dist/{server-methods-874ecO2p.js → server-methods-CS4_WNeL.js} +1 -1
  59. package/dist/{server-plugins-BCqfxov0.js → server-plugins-C94qDN0e.js} +1 -1
  60. package/dist/{setup-4YMSPYAV.js → setup-3MVQvfHm.js} +1 -1
  61. package/dist/{setup.finalize-DhJAxvL5.js → setup.finalize-DR_-5Qry.js} +3 -3
  62. package/dist/{shared-DF6Qv5ST.js → shared-D3kcRN_5.js} +1 -1
  63. package/dist/{test-api-Cref-rbW.js → test-api-DrluJtjz.js} +1 -1
  64. package/dist/tui-CTP9SUFa.js +3 -0
  65. package/dist/{tui-DZv-6fCs.js → tui-Ci0XqnDH.js} +3 -3
  66. package/dist/{tui-cli-8ojxMG5_.js → tui-cli-DeVc3ZSC.js} +1 -1
  67. package/dist/{update-cli-CJ6tGRUr.js → update-cli-CdJRvk7V.js} +3 -3
  68. package/dist/{whatsapp-BS2tqvUR.js → whatsapp-C2BVmiQN.js} +1 -1
  69. package/extensions/acp/node_modules/.bin/esbuild +18 -0
  70. package/extensions/acp/node_modules/.bin/jiti +21 -0
  71. package/extensions/acp/node_modules/.bin/tsx +21 -0
  72. package/extensions/acp/node_modules/.bin/vite +21 -0
  73. package/extensions/acp/node_modules/.bin/yaml +21 -0
  74. package/extensions/amazon-bedrock/node_modules/.bin/esbuild +18 -0
  75. package/extensions/amazon-bedrock/node_modules/.bin/jiti +21 -0
  76. package/extensions/amazon-bedrock/node_modules/.bin/tsx +21 -0
  77. package/extensions/amazon-bedrock/node_modules/.bin/vite +21 -0
  78. package/extensions/amazon-bedrock/node_modules/.bin/yaml +21 -0
  79. package/extensions/anthropic-vertex/node_modules/.bin/esbuild +18 -0
  80. package/extensions/anthropic-vertex/node_modules/.bin/jiti +21 -0
  81. package/extensions/anthropic-vertex/node_modules/.bin/tsx +21 -0
  82. package/extensions/anthropic-vertex/node_modules/.bin/vite +21 -0
  83. package/extensions/anthropic-vertex/node_modules/.bin/yaml +21 -0
  84. package/extensions/bluebubbles/node_modules/.bin/esbuild +18 -0
  85. package/extensions/bluebubbles/node_modules/.bin/jiti +21 -0
  86. package/extensions/bluebubbles/node_modules/.bin/tsx +21 -0
  87. package/extensions/bluebubbles/node_modules/.bin/vite +21 -0
  88. package/extensions/bluebubbles/node_modules/.bin/yaml +21 -0
  89. package/extensions/copilot-proxy/node_modules/.bin/esbuild +18 -0
  90. package/extensions/copilot-proxy/node_modules/.bin/jiti +21 -0
  91. package/extensions/copilot-proxy/node_modules/.bin/tsx +21 -0
  92. package/extensions/copilot-proxy/node_modules/.bin/vite +21 -0
  93. package/extensions/copilot-proxy/node_modules/.bin/yaml +21 -0
  94. package/extensions/device-pair/node_modules/.bin/esbuild +18 -0
  95. package/extensions/device-pair/node_modules/.bin/jiti +21 -0
  96. package/extensions/device-pair/node_modules/.bin/tsx +21 -0
  97. package/extensions/device-pair/node_modules/.bin/vite +21 -0
  98. package/extensions/device-pair/node_modules/.bin/yaml +21 -0
  99. package/extensions/diagnostics-otel/node_modules/.bin/esbuild +18 -0
  100. package/extensions/diagnostics-otel/node_modules/.bin/jiti +21 -0
  101. package/extensions/diagnostics-otel/node_modules/.bin/tsx +21 -0
  102. package/extensions/diagnostics-otel/node_modules/.bin/vite +21 -0
  103. package/extensions/diagnostics-otel/node_modules/.bin/yaml +21 -0
  104. package/extensions/diffs/node_modules/.bin/esbuild +18 -0
  105. package/extensions/diffs/node_modules/.bin/jiti +21 -0
  106. package/extensions/diffs/node_modules/.bin/tsx +21 -0
  107. package/extensions/diffs/node_modules/.bin/vite +21 -0
  108. package/extensions/diffs/node_modules/.bin/yaml +21 -0
  109. package/extensions/google-gemini-cli-auth/node_modules/.bin/esbuild +18 -0
  110. package/extensions/google-gemini-cli-auth/node_modules/.bin/jiti +21 -0
  111. package/extensions/google-gemini-cli-auth/node_modules/.bin/tsx +21 -0
  112. package/extensions/google-gemini-cli-auth/node_modules/.bin/vite +21 -0
  113. package/extensions/google-gemini-cli-auth/node_modules/.bin/yaml +21 -0
  114. package/extensions/googlechat/node_modules/.bin/esbuild +18 -0
  115. package/extensions/googlechat/node_modules/.bin/jiti +21 -0
  116. package/extensions/googlechat/node_modules/.bin/tsx +21 -0
  117. package/extensions/googlechat/node_modules/.bin/vite +21 -0
  118. package/extensions/googlechat/node_modules/.bin/yaml +21 -0
  119. package/extensions/imessage/node_modules/.bin/esbuild +18 -0
  120. package/extensions/imessage/node_modules/.bin/jiti +21 -0
  121. package/extensions/imessage/node_modules/.bin/tsx +21 -0
  122. package/extensions/imessage/node_modules/.bin/vite +21 -0
  123. package/extensions/imessage/node_modules/.bin/yaml +21 -0
  124. package/extensions/llm-task/node_modules/.bin/esbuild +18 -0
  125. package/extensions/llm-task/node_modules/.bin/jiti +21 -0
  126. package/extensions/llm-task/node_modules/.bin/tsx +21 -0
  127. package/extensions/llm-task/node_modules/.bin/vite +21 -0
  128. package/extensions/llm-task/node_modules/.bin/yaml +21 -0
  129. package/extensions/memory-core/node_modules/.bin/esbuild +18 -0
  130. package/extensions/memory-core/node_modules/.bin/jiti +21 -0
  131. package/extensions/memory-core/node_modules/.bin/tsx +21 -0
  132. package/extensions/memory-core/node_modules/.bin/vite +21 -0
  133. package/extensions/memory-core/node_modules/.bin/yaml +21 -0
  134. package/extensions/memory-lancedb/node_modules/.bin/arrow2csv +21 -0
  135. package/extensions/memory-lancedb/node_modules/.bin/esbuild +18 -0
  136. package/extensions/memory-lancedb/node_modules/.bin/jiti +21 -0
  137. package/extensions/memory-lancedb/node_modules/.bin/tsx +21 -0
  138. package/extensions/memory-lancedb/node_modules/.bin/vite +21 -0
  139. package/extensions/memory-lancedb/node_modules/.bin/yaml +21 -0
  140. package/extensions/minimax-portal-auth/node_modules/.bin/esbuild +18 -0
  141. package/extensions/minimax-portal-auth/node_modules/.bin/jiti +21 -0
  142. package/extensions/minimax-portal-auth/node_modules/.bin/tsx +21 -0
  143. package/extensions/minimax-portal-auth/node_modules/.bin/vite +21 -0
  144. package/extensions/minimax-portal-auth/node_modules/.bin/yaml +21 -0
  145. package/extensions/open-prose/node_modules/.bin/esbuild +18 -0
  146. package/extensions/open-prose/node_modules/.bin/jiti +21 -0
  147. package/extensions/open-prose/node_modules/.bin/tsx +21 -0
  148. package/extensions/open-prose/node_modules/.bin/vite +21 -0
  149. package/extensions/open-prose/node_modules/.bin/yaml +21 -0
  150. package/extensions/phone-control/node_modules/.bin/esbuild +18 -0
  151. package/extensions/phone-control/node_modules/.bin/jiti +21 -0
  152. package/extensions/phone-control/node_modules/.bin/tsx +21 -0
  153. package/extensions/phone-control/node_modules/.bin/vite +21 -0
  154. package/extensions/phone-control/node_modules/.bin/yaml +21 -0
  155. package/extensions/qa-lab/node_modules/.bin/esbuild +18 -0
  156. package/extensions/qa-lab/node_modules/.bin/jiti +21 -0
  157. package/extensions/qa-lab/node_modules/.bin/tsx +21 -0
  158. package/extensions/qa-lab/node_modules/.bin/vite +21 -0
  159. package/extensions/qa-lab/node_modules/.bin/vitest +21 -0
  160. package/extensions/qwen-portal-auth/node_modules/.bin/esbuild +18 -0
  161. package/extensions/qwen-portal-auth/node_modules/.bin/jiti +21 -0
  162. package/extensions/qwen-portal-auth/node_modules/.bin/tsx +21 -0
  163. package/extensions/qwen-portal-auth/node_modules/.bin/vite +21 -0
  164. package/extensions/qwen-portal-auth/node_modules/.bin/yaml +21 -0
  165. package/extensions/shared/node_modules/.bin/esbuild +18 -0
  166. package/extensions/shared/node_modules/.bin/jiti +21 -0
  167. package/extensions/shared/node_modules/.bin/tsx +21 -0
  168. package/extensions/shared/node_modules/.bin/vite +21 -0
  169. package/extensions/shared/node_modules/.bin/yaml +21 -0
  170. package/extensions/signal/node_modules/.bin/esbuild +18 -0
  171. package/extensions/signal/node_modules/.bin/jiti +21 -0
  172. package/extensions/signal/node_modules/.bin/tsx +21 -0
  173. package/extensions/signal/node_modules/.bin/vite +21 -0
  174. package/extensions/signal/node_modules/.bin/yaml +21 -0
  175. package/extensions/slack/node_modules/.bin/esbuild +18 -0
  176. package/extensions/slack/node_modules/.bin/jiti +21 -0
  177. package/extensions/slack/node_modules/.bin/tsx +21 -0
  178. package/extensions/slack/node_modules/.bin/vite +21 -0
  179. package/extensions/slack/node_modules/.bin/yaml +21 -0
  180. package/extensions/talk-voice/node_modules/.bin/esbuild +18 -0
  181. package/extensions/talk-voice/node_modules/.bin/jiti +21 -0
  182. package/extensions/talk-voice/node_modules/.bin/tsx +21 -0
  183. package/extensions/talk-voice/node_modules/.bin/vite +21 -0
  184. package/extensions/talk-voice/node_modules/.bin/yaml +21 -0
  185. package/extensions/telegram/node_modules/.bin/esbuild +18 -0
  186. package/extensions/telegram/node_modules/.bin/jiti +21 -0
  187. package/extensions/telegram/node_modules/.bin/tsx +21 -0
  188. package/extensions/telegram/node_modules/.bin/vite +21 -0
  189. package/extensions/telegram/node_modules/.bin/yaml +21 -0
  190. package/extensions/test-utils/node_modules/.bin/esbuild +18 -0
  191. package/extensions/test-utils/node_modules/.bin/jiti +21 -0
  192. package/extensions/test-utils/node_modules/.bin/tsx +21 -0
  193. package/extensions/test-utils/node_modules/.bin/vite +21 -0
  194. package/extensions/test-utils/node_modules/.bin/yaml +21 -0
  195. package/extensions/thread-ownership/node_modules/.bin/esbuild +18 -0
  196. package/extensions/thread-ownership/node_modules/.bin/jiti +21 -0
  197. package/extensions/thread-ownership/node_modules/.bin/tsx +21 -0
  198. package/extensions/thread-ownership/node_modules/.bin/vite +21 -0
  199. package/extensions/thread-ownership/node_modules/.bin/yaml +21 -0
  200. package/extensions/voice-call/node_modules/.bin/esbuild +18 -0
  201. package/extensions/voice-call/node_modules/.bin/jiti +21 -0
  202. package/extensions/voice-call/node_modules/.bin/tsx +21 -0
  203. package/extensions/voice-call/node_modules/.bin/vite +21 -0
  204. package/extensions/voice-call/node_modules/.bin/yaml +21 -0
  205. package/extensions/whatsapp/node_modules/.bin/esbuild +18 -0
  206. package/extensions/whatsapp/node_modules/.bin/jiti +21 -0
  207. package/extensions/whatsapp/node_modules/.bin/tsx +21 -0
  208. package/extensions/whatsapp/node_modules/.bin/vite +21 -0
  209. package/extensions/whatsapp/node_modules/.bin/yaml +21 -0
  210. package/extensions/whatsapp/src/auto-reply/monitor/on-message.ts +1 -1
  211. package/extensions/workflow-shell/node_modules/.bin/esbuild +18 -0
  212. package/extensions/workflow-shell/node_modules/.bin/jiti +21 -0
  213. package/extensions/workflow-shell/node_modules/.bin/tsx +21 -0
  214. package/extensions/workflow-shell/node_modules/.bin/vite +21 -0
  215. package/extensions/workflow-shell/node_modules/.bin/yaml +21 -0
  216. package/package.json +2 -2
  217. package/src/cli/interactive-chat.ts +1 -1
  218. package/src/config/schema.base.generated.ts +1 -1
  219. package/src/infra/scripts-modules.d.ts +2 -0
  220. package/src/tui/embedded-backend.ts +1 -1
  221. package/src/tui/ink/CoreBlowApp.tsx +1 -1
  222. package/src/tui/ink/FirstRunWizard.tsx +1 -1
  223. package/src/tui/tui.ts +1 -1
  224. package/dist/gateway-method-runtime-BBvV45zt.js +0 -2
  225. package/dist/run-ink-tui-DbpOlsOJ.js +0 -2
  226. package/dist/tui-BDnw-2Oe.js +0 -3
@@ -192,7 +192,7 @@ function shouldRegisterGatewayRunOnly(name, argv) {
192
192
  return invocation.commandPath.length === 1 || invocation.commandPath[1] === "run";
193
193
  }
194
194
  async function registerGatewayRunOnly(program) {
195
- const { addGatewayRunCommand } = await import("./run-command-CrudYMjs.js");
195
+ const { addGatewayRunCommand } = await import("./run-command-C65OZ0gQ.js");
196
196
  removeCommandByName(program, "gateway");
197
197
  addGatewayRunCommand(addGatewayRunCommand(program.command("gateway").description("Run, inspect, and query the WebSocket Gateway")).command("run").description("Run the WebSocket Gateway (foreground)"));
198
198
  }
@@ -216,7 +216,7 @@ const entrySpecs = [
216
216
  },
217
217
  {
218
218
  commandNames: ["gateway"],
219
- loadModule: () => import("./gateway-cli-Ci1NBXYZ.js"),
219
+ loadModule: () => import("./gateway-cli-boaNT_Uu.js"),
220
220
  exportName: "registerGatewayCli"
221
221
  },
222
222
  {
@@ -266,7 +266,7 @@ const entrySpecs = [
266
266
  },
267
267
  {
268
268
  commandNames: ["tui"],
269
- loadModule: () => import("./tui-cli-8ojxMG5_.js"),
269
+ loadModule: () => import("./tui-cli-DeVc3ZSC.js"),
270
270
  exportName: "registerTuiCli"
271
271
  },
272
272
  {
@@ -329,7 +329,7 @@ const entrySpecs = [
329
329
  commandNames: ["pairing"],
330
330
  register: async (program, argv) => {
331
331
  const { registerPluginCliCommands } = await import("./cli-BgqOHuCi.js");
332
- const { loadValidatedConfigForPluginRegistration } = await import("./register.subclis-CRMQ7hp5.js");
332
+ const { loadValidatedConfigForPluginRegistration } = await import("./register.subclis-CavXly_F.js");
333
333
  const config = await loadValidatedConfigForPluginRegistration();
334
334
  if (config) registerPluginCliCommands(program, config);
335
335
  (await import("./pairing-cli-Bbhcotyb.js")).registerPairingCli(program);
@@ -341,7 +341,7 @@ const entrySpecs = [
341
341
  (await import("./plugins-cli-CzP4easc.js")).registerPluginsCli(program);
342
342
  if (!shouldPreloadPluginCliForPluginsCommand(argv)) return;
343
343
  const { registerPluginCliCommands } = await import("./cli-BgqOHuCi.js");
344
- const { loadValidatedConfigForPluginRegistration } = await import("./register.subclis-CRMQ7hp5.js");
344
+ const { loadValidatedConfigForPluginRegistration } = await import("./register.subclis-CavXly_F.js");
345
345
  const config = await loadValidatedConfigForPluginRegistration();
346
346
  if (config) registerPluginCliCommands(program, config);
347
347
  }
@@ -375,7 +375,7 @@ const entrySpecs = [
375
375
  },
376
376
  {
377
377
  commandNames: ["update"],
378
- loadModule: () => import("./update-cli-CJ6tGRUr.js"),
378
+ loadModule: () => import("./update-cli-CdJRvk7V.js"),
379
379
  exportName: "registerUpdateCli"
380
380
  }
381
381
  ])
@@ -1,6 +1,6 @@
1
1
  import { R as getSubCliEntries, z as getCoreCliCommandDescriptors } from "./logger-BVTe8MTY.js";
2
2
  import { n as VERSION } from "./version-7cmaiWFc.js";
3
- import { t as configureProgramHelp } from "./help-DZ3R5ktM.js";
3
+ import { t as configureProgramHelp } from "./help-Cg9tdA8L.js";
4
4
  import { Command } from "commander";
5
5
  //#region src/cli/program/root-help.ts
6
6
  function buildRootHelpProgram() {
@@ -118,11 +118,11 @@ import { i as isExecApprovalChannelRuntimeTerminalStartError, n as createChannel
118
118
  import { a as detectPluginInstallPathIssue, o as formatPluginInstallPathIssue } from "./uninstall-gj4o11E0.js";
119
119
  import { i as watchChannelRuntimeContexts, n as getChannelRuntimeContext, t as createTaskScopedChannelRuntime } from "./channel-runtime-context-rIPIYTH-.js";
120
120
  import { n as resolveConfiguredDeferredChannelPluginIds } from "./channel-plugin-ids-B5jLe1Sa.js";
121
- import { C as abortChatRunById, D as DEFAULT_ASSISTANT_IDENTITY, E as drainActiveSessionsForShutdown, F as createCoreGatewayMethodDescriptors, I as isCoreGatewayMethodClassified, M as createGatewayMethodRegistry, N as createPluginGatewayMethodDescriptors, O as resolveAssistantIdentity, P as STARTUP_UNAVAILABLE_GATEWAY_METHODS, S as handleManagedOutgoingImageHttpRequest, T as isSuppressedControlReplyText, _ as HEALTH_REFRESH_INTERVAL_MS, a as upsertPresence, b as MAX_PREAUTH_PAYLOAD_BYTES, f as startGatewayConfigReloader, g as DEDUPE_TTL_MS, h as DEDUPE_MAX, j as createGatewayMethodDescriptorsFromHandlers, l as normalizeCanvasScopedUrl, m as diffConfigPaths, o as CANVAS_CAPABILITY_TTL_MS, p as buildGatewayReloadPlan, r as broadcastPresenceSnapshot, t as coreGatewayHandlers, u as formatError, v as MAX_BUFFERED_BYTES, w as isSuppressedControlReplyLeadFragment, x as TICK_INTERVAL_MS } from "./server-methods-874ecO2p.js";
121
+ import { C as abortChatRunById, D as DEFAULT_ASSISTANT_IDENTITY, E as drainActiveSessionsForShutdown, F as createCoreGatewayMethodDescriptors, I as isCoreGatewayMethodClassified, M as createGatewayMethodRegistry, N as createPluginGatewayMethodDescriptors, O as resolveAssistantIdentity, P as STARTUP_UNAVAILABLE_GATEWAY_METHODS, S as handleManagedOutgoingImageHttpRequest, T as isSuppressedControlReplyText, _ as HEALTH_REFRESH_INTERVAL_MS, a as upsertPresence, b as MAX_PREAUTH_PAYLOAD_BYTES, f as startGatewayConfigReloader, g as DEDUPE_TTL_MS, h as DEDUPE_MAX, j as createGatewayMethodDescriptorsFromHandlers, l as normalizeCanvasScopedUrl, m as diffConfigPaths, o as CANVAS_CAPABILITY_TTL_MS, p as buildGatewayReloadPlan, r as broadcastPresenceSnapshot, t as coreGatewayHandlers, u as formatError, v as MAX_BUFFERED_BYTES, w as isSuppressedControlReplyLeadFragment, x as TICK_INTERVAL_MS } from "./server-methods-CS4_WNeL.js";
122
122
  import "./agent-D7bzknjH.js";
123
123
  import { o as resolveCronRunLogPath, r as appendCronRunLog, s as resolveCronRunLogPruneOptions } from "./run-log-qHWzmrRj.js";
124
124
  import { a as resolveControlUiRootOverrideSync, n as isPackageProvenControlUiRootSync, o as resolveControlUiRootSync, t as ensureControlUiAssetsBuilt } from "./control-ui-assets-DCPmnMz1.js";
125
- import { a as setPluginSubagentOverridePolicies, i as setFallbackGatewayContextResolver, r as loadGatewayPlugins, t as createGatewaySubagentRuntime } from "./server-plugins-BCqfxov0.js";
125
+ import { a as setPluginSubagentOverridePolicies, i as setFallbackGatewayContextResolver, r as loadGatewayPlugins, t as createGatewaySubagentRuntime } from "./server-plugins-C94qDN0e.js";
126
126
  import { t as handleSlackHttpRequest } from "./registry-D4rFEN4A.js";
127
127
  import "./slack-RClaUeSb.js";
128
128
  import { n as shouldIncludeHook } from "./config-CTWNwrcV.js";
@@ -131,8 +131,8 @@ import { t as ensureCoreBlowCliOnPath } from "./path-env-CJEhHpua.js";
131
131
  import { t as readSecretFromFile } from "./secret-file-DHVCWuOI.js";
132
132
  import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } from "./widearea-dns-DLNf4FQ-.js";
133
133
  import { i as toOptionString, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-9bVeElpF.js";
134
- import { a as incrementPresenceVersion, c as scheduleGatewayUpdateCheck, i as getPresenceVersion, n as getHealthCache, o as refreshGatewayHealthSnapshot, r as getHealthVersion, s as setBroadcastHealthUpdate } from "./health-state-C7kiDs32.js";
135
- import { t as runSetupWizard } from "./setup-4YMSPYAV.js";
134
+ import { a as incrementPresenceVersion, c as scheduleGatewayUpdateCheck, i as getPresenceVersion, n as getHealthCache, o as refreshGatewayHealthSnapshot, r as getHealthVersion, s as setBroadcastHealthUpdate } from "./health-state-B-p4AHZv.js";
135
+ import { t as runSetupWizard } from "./setup-3MVQvfHm.js";
136
136
  import { _ as buildGogWatchStartArgs, g as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, w as resolveGmailHookRuntimeConfig } from "./gmail-setup-utils-DU975F9N.js";
137
137
  import { a as computePreviousRunAtMs, i as computeNextRunAtMs, n as normalizeStoredCronJobs, r as coerceFiniteScheduleNumber, t as runStartupMatrixMigration } from "./server-startup-matrix-migration-pzRCtEIY.js";
138
138
  import { n as createExecApprovalForwarder } from "./exec-approval-forwarder-B2Tv4uCy.js";
@@ -13049,7 +13049,7 @@ function attachGatewayWsMessageHandlerOnDemand(params) {
13049
13049
  queued.push(data);
13050
13050
  };
13051
13051
  params.socket.on("message", queueMessage);
13052
- import("./message-handler-D_iBK0oF.js").then(({ attachGatewayWsMessageHandler }) => {
13052
+ import("./message-handler-CG5PhrqL.js").then(({ attachGatewayWsMessageHandler }) => {
13053
13053
  params.socket.off("message", queueMessage);
13054
13054
  if (params.isClosed()) return;
13055
13055
  attachGatewayWsMessageHandler(params);
@@ -1,2 +1,2 @@
1
- import { n as resolveGatewayRunOptions, r as runGatewayCommand } from "./run-DFRYnxQs.js";
1
+ import { n as resolveGatewayRunOptions, r as runGatewayCommand } from "./run-Dkfl41Ze.js";
2
2
  export { resolveGatewayRunOptions, runGatewayCommand };
@@ -15,7 +15,7 @@ function formatModeChoices(modes) {
15
15
  }
16
16
  function addGatewayRunCommand(cmd) {
17
17
  return cmd.option("--port <port>", "Port for the gateway WebSocket").option("--bind <mode>", "Bind mode (\"loopback\"|\"lan\"|\"tailnet\"|\"auto\"|\"custom\"). Defaults to config gateway.bind (or loopback).").option("--token <token>", "Shared token required in connect.params.auth.token (default: COREBLOW_GATEWAY_TOKEN env if set)").option("--auth <mode>", `Gateway auth mode (${formatModeChoices(GATEWAY_AUTH_MODES)})`).option("--password <password>", "Password for auth mode=password").option("--password-file <path>", "Read gateway password from file").option("--tailscale <mode>", `Tailscale exposure mode (${formatModeChoices(GATEWAY_TAILSCALE_MODES)})`).option("--tailscale-reset-on-exit", "Reset Tailscale serve/funnel configuration on shutdown", false).option("--allow-unconfigured", "Allow gateway start without enforcing gateway.mode=local in config (does not repair config)", false).option("--dev", "Create a dev config + workspace if missing (no BOOTSTRAP.md)", false).option("--reset", "Reset dev config + credentials + sessions + workspace (requires --dev)", false).option("--force", "Kill any existing listener on the target port before starting", false).option("--verbose", "Verbose logging to stdout/stderr", false).option("--cli-backend-logs", "Only show CLI backend logs in the console (includes stdout/stderr)", false).option("--claude-cli-logs", "Deprecated alias for --cli-backend-logs", false).option("--ws-log <style>", "WebSocket log style (\"auto\"|\"full\"|\"compact\")", "auto").option("--compact", "Alias for \"--ws-log compact\"", false).option("--raw-stream", "Log raw model stream events to jsonl", false).option("--raw-stream-path <path>", "Raw stream jsonl path").action(async (opts, command) => {
18
- const { resolveGatewayRunOptions, runGatewayCommand } = await import("./run-C8pV2fjh.js");
18
+ const { resolveGatewayRunOptions, runGatewayCommand } = await import("./run-NmtTCWuc.js");
19
19
  await runGatewayCommand(resolveGatewayRunOptions(opts, command));
20
20
  });
21
21
  }
@@ -36,7 +36,7 @@ async function isGatewayReachable(rawUrl, timeoutMs = 800) {
36
36
  async function resolveTuiBackend(opts = {}) {
37
37
  if (opts.backend) return opts.backend;
38
38
  if (opts.local === true) {
39
- const { EmbeddedTuiBackend } = await import("./embedded-backend-DykjwM4Z.js");
39
+ const { EmbeddedTuiBackend } = await import("./embedded-backend-0aHwzLJk.js");
40
40
  return new EmbeddedTuiBackend();
41
41
  }
42
42
  try {
@@ -47,12 +47,12 @@ async function resolveTuiBackend(opts = {}) {
47
47
  password: opts.password
48
48
  });
49
49
  if (!await isGatewayReachable(connection.url, 800)) {
50
- const { EmbeddedTuiBackend } = await import("./embedded-backend-DykjwM4Z.js");
50
+ const { EmbeddedTuiBackend } = await import("./embedded-backend-0aHwzLJk.js");
51
51
  return new EmbeddedTuiBackend();
52
52
  }
53
53
  return new GatewayChatClient(connection);
54
54
  } catch {
55
- const { EmbeddedTuiBackend } = await import("./embedded-backend-DykjwM4Z.js");
55
+ const { EmbeddedTuiBackend } = await import("./embedded-backend-0aHwzLJk.js");
56
56
  return new EmbeddedTuiBackend();
57
57
  }
58
58
  }
@@ -641,7 +641,7 @@ const FirstRunWizard = ({ onComplete, onCancel }) => {
641
641
  children: [/* @__PURE__ */ jsx(Text, {
642
642
  bold: true,
643
643
  color: inkPalette.accent,
644
- children: "CoreBlow v2.1.0 · First-Run Setup Wizard"
644
+ children: "CoreBlow v2.1.1 · First-Run Setup Wizard"
645
645
  }), /* @__PURE__ */ jsxs(Text, {
646
646
  color: inkPalette.dim,
647
647
  children: ["Step: ", step === "mode_theme" ? "1/3" : step === "provider" || step === "credentials" ? "2/3" : "3/3"]
@@ -3927,7 +3927,7 @@ const CoreBlowApp = ({ backend, opts, needsSetup = false }) => {
3927
3927
  const [messages, setMessages] = useState([{
3928
3928
  id: "init",
3929
3929
  role: "system",
3930
- text: "CoreBlow v2.1.0 ready · Type / for commands, @ for context, ! for local shell, Ctrl+P for sessions."
3930
+ text: "CoreBlow v2.1.1 ready · Type / for commands, @ for context, ! for local shell, Ctrl+P for sessions."
3931
3931
  }]);
3932
3932
  const [inputVal, setInputVal] = useState("");
3933
3933
  const [cursorPos, setCursorPos] = useState(0);
@@ -0,0 +1,2 @@
1
+ import { t as runInkTui } from "./run-ink-tui-CCPaVzm2.js";
2
+ export { runInkTui };
@@ -883,7 +883,7 @@ function parseTasksAuditRouteArgs(argv) {
883
883
  function defineRoutedCommand(definition) {
884
884
  return definition;
885
885
  }
886
- const configCliLoader = createLazyImportLoader(() => import("./config-cli-xBZ_3LxY.js"));
886
+ const configCliLoader = createLazyImportLoader(() => import("./config-cli-BP0U0wu7.js"));
887
887
  const modelsModuleLoader = createLazyImportLoader(() => import("./models-DAXuqENl.js"));
888
888
  function loadConfigCli() {
889
889
  return configCliLoader.load();
@@ -1043,7 +1043,7 @@ async function prepareRoutedCommand(params) {
1043
1043
  const suppressDoctorStdout = hasFlag(params.argv, "--json");
1044
1044
  const skipConfigGuard = params.commandPath[0] === "status" && suppressDoctorStdout;
1045
1045
  if (!suppressDoctorStdout && process.stdout.isTTY) {
1046
- const [{ emitBanner }, { VERSION }] = await Promise.all([import("./banner-kK6L9YAO.js"), import("./version-C9W1N3eF.js")]);
1046
+ const [{ emitBanner }, { VERSION }] = await Promise.all([import("./banner-DZrqpTh9.js"), import("./version-C9W1N3eF.js")]);
1047
1047
  emitBanner();
1048
1048
  }
1049
1049
  if (!skipConfigGuard) {
@@ -1163,7 +1163,7 @@ async function runCli(argv = process$1.argv) {
1163
1163
  assertSupportedRuntime();
1164
1164
  try {
1165
1165
  if (shouldUseRootHelpFastPath(normalizedArgv)) {
1166
- const { outputRootHelp } = await import("./root-help-CtYC4omA.js");
1166
+ const { outputRootHelp } = await import("./root-help-C_-3BAVq.js");
1167
1167
  outputRootHelp();
1168
1168
  return;
1169
1169
  }
@@ -1180,7 +1180,7 @@ async function runCli(argv = process$1.argv) {
1180
1180
  const queryPrompt = getFlagValue(normalizedArgv, "-q") ?? getFlagValue(normalizedArgv, "--query");
1181
1181
  if (queryPrompt !== void 0) {
1182
1182
  if (typeof queryPrompt === "string" && queryPrompt.trim()) {
1183
- const { runOneShotCliQuery } = await import("./interactive-chat-Dmm7wI7u.js");
1183
+ const { runOneShotCliQuery } = await import("./interactive-chat-BzaYHPlk.js");
1184
1184
  await runOneShotCliQuery(queryPrompt.trim());
1185
1185
  return;
1186
1186
  }
@@ -1192,7 +1192,7 @@ async function runCli(argv = process$1.argv) {
1192
1192
  const askIndex = normalizedArgv.indexOf("ask");
1193
1193
  const askPrompt = normalizedArgv.slice(askIndex + 1).join(" ").trim();
1194
1194
  if (askPrompt) {
1195
- const { runOneShotCliQuery } = await import("./interactive-chat-Dmm7wI7u.js");
1195
+ const { runOneShotCliQuery } = await import("./interactive-chat-BzaYHPlk.js");
1196
1196
  await runOneShotCliQuery(askPrompt);
1197
1197
  return;
1198
1198
  }
@@ -1221,7 +1221,7 @@ async function runCli(argv = process$1.argv) {
1221
1221
  const backendType = getFlagValue(normalizedArgv, "--backend");
1222
1222
  const backendTarget = getFlagValue(normalizedArgv, "--backend-target") || void 0;
1223
1223
  if (!normalizedArgv.includes("--simple")) try {
1224
- const { runTui } = await import("./tui-BDnw-2Oe.js");
1224
+ const { runTui } = await import("./tui-CTP9SUFa.js");
1225
1225
  await runTui({
1226
1226
  session: targetSessionId,
1227
1227
  initialModal,
@@ -1232,17 +1232,17 @@ async function runCli(argv = process$1.argv) {
1232
1232
  } catch (err) {
1233
1233
  console.error(`[coreblow] Notice: TUI unavailable (${err instanceof Error ? err.message : String(err)}); falling back to simple chat.`);
1234
1234
  }
1235
- const { runInteractiveCliChat } = await import("./interactive-chat-Dmm7wI7u.js");
1235
+ const { runInteractiveCliChat } = await import("./interactive-chat-BzaYHPlk.js");
1236
1236
  await runInteractiveCliChat();
1237
1237
  return;
1238
1238
  }
1239
- const { outputRootHelp } = await import("./root-help-CtYC4omA.js");
1239
+ const { outputRootHelp } = await import("./root-help-C_-3BAVq.js");
1240
1240
  outputRootHelp();
1241
1241
  return;
1242
1242
  }
1243
1243
  if (await tryRouteCli(normalizedArgv)) return;
1244
1244
  enableConsoleCapture();
1245
- const { buildProgram } = await import("./program-Df-f3Ny8.js");
1245
+ const { buildProgram } = await import("./program-CWfE-VdT.js");
1246
1246
  const program = buildProgram();
1247
1247
  const { installUnhandledRejectionHandler } = await import("./unhandled-rejections-Btrmvd-S.js");
1248
1248
  installUnhandledRejectionHandler();
@@ -1256,10 +1256,10 @@ async function runCli(argv = process$1.argv) {
1256
1256
  const { getProgramContext } = await import("./program-context-BiJaj4HB.js");
1257
1257
  const ctx = getProgramContext(program);
1258
1258
  if (ctx) {
1259
- const { registerCoreCliByName } = await import("./command-registry-CKyDWP6i.js");
1259
+ const { registerCoreCliByName } = await import("./command-registry-N5DFJ1HF.js");
1260
1260
  await registerCoreCliByName(program, ctx, primary, parseArgv);
1261
1261
  }
1262
- const { registerSubCliByName } = await import("./register.subclis-CRMQ7hp5.js");
1262
+ const { registerSubCliByName } = await import("./register.subclis-CavXly_F.js");
1263
1263
  await registerSubCliByName(program, primary, parseArgv);
1264
1264
  }
1265
1265
  if (!shouldSkipPluginCommandRegistration({
@@ -1268,7 +1268,7 @@ async function runCli(argv = process$1.argv) {
1268
1268
  hasBuiltinPrimary: primary !== null && program.commands.some((command) => command.name() === primary)
1269
1269
  })) {
1270
1270
  const { registerPluginCliCommands } = await import("./cli-BgqOHuCi.js");
1271
- const { loadValidatedConfigForPluginRegistration } = await import("./register.subclis-CRMQ7hp5.js");
1271
+ const { loadValidatedConfigForPluginRegistration } = await import("./register.subclis-CavXly_F.js");
1272
1272
  const config = await loadValidatedConfigForPluginRegistration();
1273
1273
  if (config) registerPluginCliCommands(program, config);
1274
1274
  }
@@ -14286,7 +14286,7 @@ const GENERATED_BASE_CONFIG_SCHEMA = {
14286
14286
  tags: ["security", "auth"]
14287
14287
  }
14288
14288
  },
14289
- version: "2.1.0",
14289
+ version: "2.1.1",
14290
14290
  generatedAt: "2026-03-22T21:17:33.302Z"
14291
14291
  };
14292
14292
  //#endregion
@@ -97,7 +97,7 @@ import { i as loadAgentIdentity, o as pruneAgentConfig, r as findAgentEntryIndex
97
97
  import { a as resolveApnsAuthConfigFromEnv, c as shouldClearStoredApnsRegistration, d as parseMessageWithAttachments, l as resolveApnsRelayConfigFromEnv, n as loadApnsRegistration, o as sendApnsAlert, r as normalizeApnsEnvironment, s as sendApnsBackgroundWake, t as clearApnsRegistrationIfCurrent, u as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-CKNyqAcz.js";
98
98
  import { t as buildChannelUiCatalog } from "./catalog-BW0MiOsX.js";
99
99
  import { t as buildChannelAccountSnapshot } from "./status-CxMErEXO.js";
100
- import { a as restoreRedactedValues, i as redactConfigSnapshot, n as lookupConfigSchema, r as redactConfigObject } from "./schema-DzY8ZTTY.js";
100
+ import { a as restoreRedactedValues, i as redactConfigSnapshot, n as lookupConfigSchema, r as redactConfigObject } from "./schema-D9wIu716.js";
101
101
  import { a as readCronRunLogEntriesPageAll, i as readCronRunLogEntriesPage, o as resolveCronRunLogPath } from "./run-log-qHWzmrRj.js";
102
102
  import { s as normalizeUpdateChannel } from "./update-channels-THk3Y74Q.js";
103
103
  import "./status-DhAr6fPQ.js";
@@ -6,7 +6,7 @@ import { n as GATEWAY_CLIENT_IDS, r as GATEWAY_CLIENT_MODES } from "./client-inf
6
6
  import { s as ADMIN_SCOPE } from "./method-scopes-DLhA765E.js";
7
7
  import "./protocol-CbQX-Yth.js";
8
8
  import { r as resolveGatewayStartupPluginIds } from "./channel-plugin-ids-B5jLe1Sa.js";
9
- import { n as handleGatewayRequest } from "./server-methods-874ecO2p.js";
9
+ import { n as handleGatewayRequest } from "./server-methods-CS4_WNeL.js";
10
10
  import { randomUUID } from "node:crypto";
11
11
  //#region src/gateway/server-plugins.ts
12
12
  const FALLBACK_GATEWAY_CONTEXT_STATE_KEY = Symbol.for("coreblow.fallbackGatewayContextState");
@@ -410,7 +410,7 @@ async function runSetupWizard(opts, runtime = defaultRuntime, prompter) {
410
410
  mode
411
411
  });
412
412
  await writeConfigFile(nextConfig);
413
- const { finalizeSetupWizard } = await import("./setup.finalize-DhJAxvL5.js");
413
+ const { finalizeSetupWizard } = await import("./setup.finalize-DR_-5Qry.js");
414
414
  const { launchedTui } = await finalizeSetupWizard({
415
415
  flow,
416
416
  opts,
@@ -12,12 +12,12 @@ import { h as waitForGatewayReachable, i as formatControlUiSshHint, u as probeGa
12
12
  import { i as isSystemdUserServiceAvailable } from "./systemd-DJ6_xKD_.js";
13
13
  import { r as resolveGatewayService, t as describeGatewayServiceRestart } from "./service-DplTSBEr.js";
14
14
  import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-DCPmnMz1.js";
15
- import { o as installCompletion } from "./completion-cli-Cc6wlxEr.js";
15
+ import { o as installCompletion } from "./completion-cli-DdnmI5P_.js";
16
16
  import { r as healthCommand } from "./health-D4kBzX6y.js";
17
17
  import { t as resolveSetupSecretInputString } from "./setup.secret-input-CNf5Z7jm.js";
18
18
  import { t as formatHealthCheckFailure } from "./health-format-f58vEZIi.js";
19
- import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-CSrm48TG.js";
20
- import { c as runTui } from "./tui-DZv-6fCs.js";
19
+ import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-CY-APVRV.js";
20
+ import { c as runTui } from "./tui-Ci0XqnDH.js";
21
21
  import path from "node:path";
22
22
  import os from "node:os";
23
23
  import fs from "node:fs/promises";
@@ -12,7 +12,7 @@ import { t as WhatsAppChannelConfigSchema } from "./config-schema-BPWpNay7.js";
12
12
  //#region extensions/whatsapp/src/shared.ts
13
13
  const WHATSAPP_CHANNEL = "whatsapp";
14
14
  async function loadWhatsAppChannelRuntime() {
15
- return await import("./channel.runtime-CRrPUpwE.js");
15
+ return await import("./channel.runtime-DVo_bdtI.js");
16
16
  }
17
17
  const whatsappSetupWizardProxy = createWhatsAppSetupWizardProxy(async () => (await loadWhatsAppChannelRuntime()).whatsappSetupWizard);
18
18
  const whatsappConfigAdapter = createScopedChannelConfigAdapter({
@@ -6,7 +6,7 @@ import "./outbound-runtime-DArSb2BN.js";
6
6
  import { a as chunkText } from "./chunk-DVcAzJEN.js";
7
7
  import { _ as resolveSendableOutboundReplyParts, w as sendTextMediaPayload } from "./reply-payload-BeUjHpP3.js";
8
8
  import "./runtime-env-DAqjT65r.js";
9
- import "./channel-BloLKeOm.js";
9
+ import "./channel-CkrU26UH.js";
10
10
  import { n as sendPollWhatsApp } from "./send-P3X9KvRY.js";
11
11
  import "./last-route-Cv46034B.js";
12
12
  //#region extensions/whatsapp/src/outbound-adapter.ts
@@ -0,0 +1,3 @@
1
+ import { c as runTui } from "./tui-Ci0XqnDH.js";
2
+ import "./run-ink-tui-CCPaVzm2.js";
3
+ export { runTui };
@@ -13,7 +13,7 @@ import { i as resolveToolDisplay, n as formatToolDetail } from "./tool-meta-BcKj
13
13
  import { t as normalizeGroupActivation } from "./group-activation-BPTi97u3.js";
14
14
  import { l as listChatCommands, u as listChatCommandsForConfig } from "./commands-registry-DgKTwYUD.js";
15
15
  import { n as formatTimeAgo, t as formatRelativeTimestamp } from "./format-relative-jmwA4lTK.js";
16
- import { n as resolveTuiBackend } from "./run-ink-tui-BuhIQl-S.js";
16
+ import { n as resolveTuiBackend } from "./run-ink-tui-CCPaVzm2.js";
17
17
  import { spawn } from "node:child_process";
18
18
  import chalk from "chalk";
19
19
  import { randomUUID } from "node:crypto";
@@ -3156,7 +3156,7 @@ function resolveCtrlCAction(params) {
3156
3156
  }
3157
3157
  async function runTui(opts = {}) {
3158
3158
  if (Boolean(opts.legacyTui || process.argv.includes("--legacy-tui"))) return runLegacyPiTui(opts);
3159
- const { runInkTui } = await import("./run-ink-tui-DbpOlsOJ.js");
3159
+ const { runInkTui } = await import("./run-ink-tui-CU2GxdOe.js");
3160
3160
  return runInkTui(opts);
3161
3161
  }
3162
3162
  async function runLegacyPiTui(opts) {
@@ -3363,7 +3363,7 @@ async function runLegacyPiTui(opts) {
3363
3363
  root.addChild(footer);
3364
3364
  root.addChild(editor);
3365
3365
  const modeBadge = client.connection.url.includes("embedded") ? "local embedded" : "gateway :18789";
3366
- chatLog.addSystem([`CoreBlow v2.1.0 · [${modeBadge}] · ${process.cwd()}`, `Shortcuts: /help commands · Ctrl+L model · Ctrl+P sessions · Ctrl+O tools · Ctrl+C exit`].join("\n"));
3366
+ chatLog.addSystem([`CoreBlow v2.1.1 · [${modeBadge}] · ${process.cwd()}`, `Shortcuts: /help commands · Ctrl+L model · Ctrl+P sessions · Ctrl+O tools · Ctrl+C exit`].join("\n"));
3367
3367
  const updateAutocompleteProvider = () => {
3368
3368
  editor.setAutocompleteProvider(new CombinedAutocompleteProvider(getSlashCommands({
3369
3369
  cfg: config,
@@ -3,7 +3,7 @@ import { n as defaultRuntime } from "./runtime-D-U4rOnN.js";
3
3
  import { t as formatDocsLink } from "./links-BiLD747p.js";
4
4
  import { r as theme } from "./theme-BJwbsxdy.js";
5
5
  import { t as parseTimeoutMs } from "./parse-timeout-DpHSYPoj.js";
6
- import { c as runTui } from "./tui-DZv-6fCs.js";
6
+ import { c as runTui } from "./tui-Ci0XqnDH.js";
7
7
  //#region src/cli/tui-cli.ts
8
8
  function registerTuiCli(program) {
9
9
  program.command("tui").description(t("cli_help.tui.description")).option("--local", t("cli_help.tui.options.local"), false).option("--url <url>", t("cli_help.tui.options.url")).option("--token <token>", t("cli_help.tui.options.credential")).option("--password <password>", t("cli_help.tui.options.passphrase")).option("--session <key>", t("cli_help.tui.options.session")).option("--deliver", t("cli_help.tui.options.deliver"), false).option("--thinking <level>", t("cli_help.tui.options.thinking")).option("--message <text>", t("cli_help.tui.options.message")).option("--timeout-ms <ms>", t("cli_help.tui.options.timeout_ms")).option("--history-limit <n>", t("cli_help.tui.options.history_limit"), "200").addHelpText("after", () => `\n${theme.muted(t("cli_help.labels.docs"))} ${formatDocsLink("/cli/tui", "docs.coreblow.com/cli/tui")}\n`).action(async (opts) => {
@@ -25,12 +25,12 @@ import "./daemon-cli-C__d4xc6.js";
25
25
  import { c as resolveEffectiveUpdateChannel, i as formatUpdateChannelLabel, l as resolveUpdateChannelDisplay, r as channelToNpmTag, s as normalizeUpdateChannel } from "./update-channels-THk3Y74Q.js";
26
26
  import { i as fetchNpmTagVersion, n as compareSemverStrings, o as resolveNpmChannelTag, r as fetchNpmPackageTargetStatus, t as checkUpdateStatus } from "./update-check-Ba-xYiex.js";
27
27
  import { a as cleanupGlobalRenameDirs, c as detectGlobalInstallManagerByPresence, d as resolveExpectedInstalledVersionFromSpec, f as resolveGlobalInstallSpec, g as readPackageVersion, h as readPackageName, i as canResolveRegistryVersionForPackageTarget, l as detectGlobalInstallManagerForRoot, m as normalizePackageTagInput, o as collectInstalledGlobalPackageErrors, p as resolveGlobalPackageRoot, r as runGatewayUpdate, s as createGlobalInstallEnv, u as globalInstallArgs } from "./update-runner-REdIF83e.js";
28
- import { o as installCompletion } from "./completion-cli-Cc6wlxEr.js";
28
+ import { o as installCompletion } from "./completion-cli-DdnmI5P_.js";
29
29
  import { n as renderTable, t as getTerminalTableWidth } from "./table-otSIxcuU.js";
30
30
  import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from "./update-Dq4cKpxo.js";
31
31
  import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, t as formatUpdateAvailableHint } from "./status.update-DM59V5Qv.js";
32
- import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-D90YmzuA.js";
33
- import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-CSrm48TG.js";
32
+ import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-BuO59CxA.js";
33
+ import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-CY-APVRV.js";
34
34
  import path from "node:path";
35
35
  import { spawn, spawnSync } from "node:child_process";
36
36
  import os from "node:os";
@@ -1,5 +1,5 @@
1
1
  import { a as defineChannelPluginEntry } from "./core-soHZtIkv.js";
2
- import { n as setWhatsAppRuntime, t as whatsappPlugin } from "./channel-BloLKeOm.js";
2
+ import { n as setWhatsAppRuntime, t as whatsappPlugin } from "./channel-CkrU26UH.js";
3
3
  //#region extensions/whatsapp/index.ts
4
4
  var whatsapp_default = defineChannelPluginEntry({
5
5
  id: "whatsapp",
@@ -0,0 +1,18 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*|*MINGW*|*MSYS*)
6
+ if command -v cygpath > /dev/null 2>&1; then
7
+ basedir=`cygpath -w "$basedir"`
8
+ fi
9
+ ;;
10
+ esac
11
+
12
+ if [ -z "$NODE_PATH" ]; then
13
+ export NODE_PATH="/Users/febrinanda/coreblow/node_modules/.pnpm/esbuild@0.27.3/node_modules/esbuild/bin/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/esbuild@0.27.3/node_modules/esbuild/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/esbuild@0.27.3/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/node_modules"
14
+ else
15
+ export NODE_PATH="/Users/febrinanda/coreblow/node_modules/.pnpm/esbuild@0.27.3/node_modules/esbuild/bin/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/esbuild@0.27.3/node_modules/esbuild/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/esbuild@0.27.3/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/node_modules:$NODE_PATH"
16
+ fi
17
+ "$basedir/../../../../node_modules/.pnpm/esbuild@0.27.3/node_modules/esbuild/bin/esbuild" "$@"
18
+ exit $?
@@ -0,0 +1,21 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*|*MINGW*|*MSYS*)
6
+ if command -v cygpath > /dev/null 2>&1; then
7
+ basedir=`cygpath -w "$basedir"`
8
+ fi
9
+ ;;
10
+ esac
11
+
12
+ if [ -z "$NODE_PATH" ]; then
13
+ export NODE_PATH="/Users/febrinanda/coreblow/node_modules/.pnpm/jiti@2.7.0/node_modules/jiti/lib/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/jiti@2.7.0/node_modules/jiti/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/jiti@2.7.0/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/node_modules"
14
+ else
15
+ export NODE_PATH="/Users/febrinanda/coreblow/node_modules/.pnpm/jiti@2.7.0/node_modules/jiti/lib/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/jiti@2.7.0/node_modules/jiti/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/jiti@2.7.0/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/node_modules:$NODE_PATH"
16
+ fi
17
+ if [ -x "$basedir/node" ]; then
18
+ exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/jiti@2.7.0/node_modules/jiti/lib/jiti-cli.mjs" "$@"
19
+ else
20
+ exec node "$basedir/../../../../node_modules/.pnpm/jiti@2.7.0/node_modules/jiti/lib/jiti-cli.mjs" "$@"
21
+ fi
@@ -0,0 +1,21 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*|*MINGW*|*MSYS*)
6
+ if command -v cygpath > /dev/null 2>&1; then
7
+ basedir=`cygpath -w "$basedir"`
8
+ fi
9
+ ;;
10
+ esac
11
+
12
+ if [ -z "$NODE_PATH" ]; then
13
+ export NODE_PATH="/Users/febrinanda/coreblow/node_modules/.pnpm/tsx@4.21.0/node_modules/tsx/dist/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/tsx@4.21.0/node_modules/tsx/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/tsx@4.21.0/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/node_modules"
14
+ else
15
+ export NODE_PATH="/Users/febrinanda/coreblow/node_modules/.pnpm/tsx@4.21.0/node_modules/tsx/dist/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/tsx@4.21.0/node_modules/tsx/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/tsx@4.21.0/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/node_modules:$NODE_PATH"
16
+ fi
17
+ if [ -x "$basedir/node" ]; then
18
+ exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/tsx@4.21.0/node_modules/tsx/dist/cli.mjs" "$@"
19
+ else
20
+ exec node "$basedir/../../../../node_modules/.pnpm/tsx@4.21.0/node_modules/tsx/dist/cli.mjs" "$@"
21
+ fi
@@ -0,0 +1,21 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*|*MINGW*|*MSYS*)
6
+ if command -v cygpath > /dev/null 2>&1; then
7
+ basedir=`cygpath -w "$basedir"`
8
+ fi
9
+ ;;
10
+ esac
11
+
12
+ if [ -z "$NODE_PATH" ]; then
13
+ export NODE_PATH="/Users/febrinanda/coreblow/node_modules/.pnpm/vite@8.0.13_@types+node@25.7.0_esbuild@0.27.3_jiti@2.7.0_tsx@4.21.0_yaml@2.9.0/node_modules/vite/bin/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/vite@8.0.13_@types+node@25.7.0_esbuild@0.27.3_jiti@2.7.0_tsx@4.21.0_yaml@2.9.0/node_modules/vite/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/vite@8.0.13_@types+node@25.7.0_esbuild@0.27.3_jiti@2.7.0_tsx@4.21.0_yaml@2.9.0/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/node_modules"
14
+ else
15
+ export NODE_PATH="/Users/febrinanda/coreblow/node_modules/.pnpm/vite@8.0.13_@types+node@25.7.0_esbuild@0.27.3_jiti@2.7.0_tsx@4.21.0_yaml@2.9.0/node_modules/vite/bin/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/vite@8.0.13_@types+node@25.7.0_esbuild@0.27.3_jiti@2.7.0_tsx@4.21.0_yaml@2.9.0/node_modules/vite/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/vite@8.0.13_@types+node@25.7.0_esbuild@0.27.3_jiti@2.7.0_tsx@4.21.0_yaml@2.9.0/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/node_modules:$NODE_PATH"
16
+ fi
17
+ if [ -x "$basedir/node" ]; then
18
+ exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/vite@8.0.13_@types+node@25.7.0_esbuild@0.27.3_jiti@2.7.0_tsx@4.21.0_yaml@2.9.0/node_modules/vite/bin/vite.js" "$@"
19
+ else
20
+ exec node "$basedir/../../../../node_modules/.pnpm/vite@8.0.13_@types+node@25.7.0_esbuild@0.27.3_jiti@2.7.0_tsx@4.21.0_yaml@2.9.0/node_modules/vite/bin/vite.js" "$@"
21
+ fi
@@ -0,0 +1,21 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*|*MINGW*|*MSYS*)
6
+ if command -v cygpath > /dev/null 2>&1; then
7
+ basedir=`cygpath -w "$basedir"`
8
+ fi
9
+ ;;
10
+ esac
11
+
12
+ if [ -z "$NODE_PATH" ]; then
13
+ export NODE_PATH="/Users/febrinanda/coreblow/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/yaml@2.9.0/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/node_modules"
14
+ else
15
+ export NODE_PATH="/Users/febrinanda/coreblow/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/yaml@2.9.0/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/node_modules:$NODE_PATH"
16
+ fi
17
+ if [ -x "$basedir/node" ]; then
18
+ exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/bin.mjs" "$@"
19
+ else
20
+ exec node "$basedir/../../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/bin.mjs" "$@"
21
+ fi
@@ -0,0 +1,18 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*|*MINGW*|*MSYS*)
6
+ if command -v cygpath > /dev/null 2>&1; then
7
+ basedir=`cygpath -w "$basedir"`
8
+ fi
9
+ ;;
10
+ esac
11
+
12
+ if [ -z "$NODE_PATH" ]; then
13
+ export NODE_PATH="/Users/febrinanda/coreblow/node_modules/.pnpm/esbuild@0.27.3/node_modules/esbuild/bin/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/esbuild@0.27.3/node_modules/esbuild/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/esbuild@0.27.3/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/node_modules"
14
+ else
15
+ export NODE_PATH="/Users/febrinanda/coreblow/node_modules/.pnpm/esbuild@0.27.3/node_modules/esbuild/bin/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/esbuild@0.27.3/node_modules/esbuild/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/esbuild@0.27.3/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/node_modules:$NODE_PATH"
16
+ fi
17
+ "$basedir/../../../../node_modules/.pnpm/esbuild@0.27.3/node_modules/esbuild/bin/esbuild" "$@"
18
+ exit $?
@@ -0,0 +1,21 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*|*MINGW*|*MSYS*)
6
+ if command -v cygpath > /dev/null 2>&1; then
7
+ basedir=`cygpath -w "$basedir"`
8
+ fi
9
+ ;;
10
+ esac
11
+
12
+ if [ -z "$NODE_PATH" ]; then
13
+ export NODE_PATH="/Users/febrinanda/coreblow/node_modules/.pnpm/jiti@2.7.0/node_modules/jiti/lib/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/jiti@2.7.0/node_modules/jiti/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/jiti@2.7.0/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/node_modules"
14
+ else
15
+ export NODE_PATH="/Users/febrinanda/coreblow/node_modules/.pnpm/jiti@2.7.0/node_modules/jiti/lib/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/jiti@2.7.0/node_modules/jiti/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/jiti@2.7.0/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/node_modules:$NODE_PATH"
16
+ fi
17
+ if [ -x "$basedir/node" ]; then
18
+ exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/jiti@2.7.0/node_modules/jiti/lib/jiti-cli.mjs" "$@"
19
+ else
20
+ exec node "$basedir/../../../../node_modules/.pnpm/jiti@2.7.0/node_modules/jiti/lib/jiti-cli.mjs" "$@"
21
+ fi
@@ -0,0 +1,21 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*|*MINGW*|*MSYS*)
6
+ if command -v cygpath > /dev/null 2>&1; then
7
+ basedir=`cygpath -w "$basedir"`
8
+ fi
9
+ ;;
10
+ esac
11
+
12
+ if [ -z "$NODE_PATH" ]; then
13
+ export NODE_PATH="/Users/febrinanda/coreblow/node_modules/.pnpm/tsx@4.21.0/node_modules/tsx/dist/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/tsx@4.21.0/node_modules/tsx/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/tsx@4.21.0/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/node_modules"
14
+ else
15
+ export NODE_PATH="/Users/febrinanda/coreblow/node_modules/.pnpm/tsx@4.21.0/node_modules/tsx/dist/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/tsx@4.21.0/node_modules/tsx/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/tsx@4.21.0/node_modules:/Users/febrinanda/coreblow/node_modules/.pnpm/node_modules:$NODE_PATH"
16
+ fi
17
+ if [ -x "$basedir/node" ]; then
18
+ exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/tsx@4.21.0/node_modules/tsx/dist/cli.mjs" "$@"
19
+ else
20
+ exec node "$basedir/../../../../node_modules/.pnpm/tsx@4.21.0/node_modules/tsx/dist/cli.mjs" "$@"
21
+ fi