@termix-it/cryptoclaw 1.1.9 → 1.1.11

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 (148) hide show
  1. package/dist/{accounts-7nNRr4R3.js → accounts-4l7ba973.js} +1 -1
  2. package/dist/{accounts-CKpnUMZd.js → accounts-CAjupeYV.js} +16 -16
  3. package/dist/{accounts-BIr_ieyH.js → accounts-k5nTdi32.js} +1 -1
  4. package/dist/{active-listener-ClXqZUsD.js → active-listener-D9FARjMd.js} +1 -1
  5. package/dist/{api-key-rotation-CUJC6xSi.js → api-key-rotation-C-Q6XdUW.js} +2 -2
  6. package/dist/{audio-preflight--MDRrrlB.js → audio-preflight-C7kt2vOu.js} +33 -33
  7. package/dist/{audio-transcription-runner-CgLX4N3r.js → audio-transcription-runner-CawngPvE.js} +12 -12
  8. package/dist/{audit-membership-runtime-Ch2lLD_u.js → audit-membership-runtime-C6dnIaXJ.js} +5 -5
  9. package/dist/build-info.json +3 -3
  10. package/dist/bundled/boot-md/handler.js +52 -52
  11. package/dist/bundled/bootstrap-extra-files/handler.js +7 -7
  12. package/dist/bundled/command-logger/handler.js +2 -2
  13. package/dist/bundled/session-memory/handler.js +52 -52
  14. package/dist/bundled/soul-evil/handler.js +5 -5
  15. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  16. package/dist/{channel-account-context-Crd0PQwN.js → channel-account-context-BAivtK8t.js} +1 -1
  17. package/dist/{channel-account-context-DPRR3rFq.js → channel-account-context-DptVE7IR.js} +1 -1
  18. package/dist/{channel-activity-32lmgAZH.js → channel-activity-Hho38eZq.js} +3 -3
  19. package/dist/{chrome-CtEQV_6p.js → chrome-palWvTtp.js} +18 -18
  20. package/dist/{command-registry-CBfNNhgy.js → command-registry-BEFHpoCL.js} +5 -5
  21. package/dist/{commands-registry-FnGtnvb0.js → commands-registry-A3LstXeY.js} +4 -4
  22. package/dist/{completion-cli-FP9HAEQ3.js → completion-cli-BxbU_lYn.js} +2 -2
  23. package/dist/{completion-cli-Bai3pUlw.js → completion-cli-rNt-qwSw.js} +1 -1
  24. package/dist/{deliver-32OxViWG.js → deliver-JkYjt9Qz.js} +20 -20
  25. package/dist/deliver-runtime-BvTbrDXE.js +37 -0
  26. package/dist/deps-send-discord.runtime-1mqY0Pn3.js +27 -0
  27. package/dist/deps-send-imessage.runtime-NAKUx6Vy.js +26 -0
  28. package/dist/deps-send-signal.runtime-CHqnnRXO.js +25 -0
  29. package/dist/deps-send-slack.runtime-CbGlCNTX.js +23 -0
  30. package/dist/deps-send-telegram.runtime-CgApeKta.js +28 -0
  31. package/dist/deps-send-whatsapp.runtime-CAPjqcnc.js +61 -0
  32. package/dist/{diagnostic-UO82MQjo.js → diagnostic-BGtFj4tU.js} +2 -2
  33. package/dist/{doctor-completion-CCNHTpp9.js → doctor-completion--S9fsNQo.js} +1 -1
  34. package/dist/{doctor-completion-BQBZQyQq.js → doctor-completion-BAJbdzsD.js} +1 -1
  35. package/dist/entry.js +2 -2
  36. package/dist/{errors-BwBpGOBV.js → errors-C1YF712P.js} +1 -1
  37. package/dist/{fetch-DozurFmr.js → fetch-_iocPLV2.js} +5 -5
  38. package/dist/{fetch-guard-XtFb6zM7.js → fetch-guard-CiQUuV0r.js} +2 -2
  39. package/dist/{frontmatter-Cy6ESb-O.js → frontmatter-Dn68lQ_o.js} +5 -5
  40. package/dist/{fs-safe-YxZ8RAEw.js → fs-safe-BLpOReWZ.js} +4 -4
  41. package/dist/{gateway-cli-CyeZq5AC.js → gateway-cli-HRo8JRRd.js} +5 -5
  42. package/dist/{gateway-cli-DLWVlNsd.js → gateway-cli-LhABh8fD.js} +5 -5
  43. package/dist/{github-copilot-token-D7knylDF.js → github-copilot-token-DDa7O18e.js} +7 -7
  44. package/dist/{image-B2LPzwKF.js → image-BlRI3dXw.js} +6 -6
  45. package/dist/{image-ops-gm8VfGiD.js → image-ops-D7mq-4y1.js} +2 -2
  46. package/dist/image-runtime-Cp3I725X.js +30 -0
  47. package/dist/index.js +1 -1
  48. package/dist/{ir-B7IR3m4T.js → ir-Dpg87zYv.js} +7 -7
  49. package/dist/{legacy-names-TrN6kryB.js → legacy-names-BAiRv0I2.js} +1 -1
  50. package/dist/llm-slug-generator.js +52 -52
  51. package/dist/{logger-CV2IWsAW.js → logger-C53B395N.js} +1 -1
  52. package/dist/{login-C6CkDgLi.js → login-CHsCISh4.js} +5 -5
  53. package/dist/{login-qr-WEr1WQvg.js → login-qr-BEW3jIOt.js} +11 -11
  54. package/dist/{manager-BWh3BVp1.js → manager-Dfrejf6z.js} +13 -13
  55. package/dist/manager-runtime-DacMHR37.js +19 -0
  56. package/dist/{model-selection-BiqOlgFe.js → model-selection-e9hodq0l.js} +48 -48
  57. package/dist/{onboard-BCnqRDky.js → onboard-BgQUk8KO.js} +2 -2
  58. package/dist/{onboard-CQ-YoTSl.js → onboard-CukHmJnb.js} +2 -2
  59. package/dist/{onboard-config-DWnlWcjI.js → onboard-config-C06y4K2b.js} +1 -1
  60. package/dist/{onboard-config-oUKoFfFB.js → onboard-config-DzpTyHer.js} +1 -1
  61. package/dist/{onboarding-DR-2kdRy.js → onboarding-BjkMcLV3.js} +2 -2
  62. package/dist/{onboarding-BY3YZMkn.js → onboarding-Dl2vyZrH.js} +2 -2
  63. package/dist/{onboarding.finalize-B_gI9SXJ.js → onboarding.finalize-D5Wmhsa1.js} +4 -4
  64. package/dist/{onboarding.finalize-CEgugO0l.js → onboarding.finalize-DPeb5UKU.js} +3 -3
  65. package/dist/{outbound-DSVwKSv4.js → outbound-BZqL8UdJ.js} +6 -6
  66. package/dist/{outbound-attachment-CcY_Rg0-.js → outbound-attachment-wzHGF-Is.js} +2 -2
  67. package/dist/{path-alias-guards-Gzq1eAOo.js → path-alias-guards-It4BBRdm.js} +1 -1
  68. package/dist/{paths-Cvc9EM8Y.js → paths-C6TxBCvO.js} +5 -5
  69. package/dist/{paths-BWg7M5Yy.js → paths-CZ0nrg7g.js} +3 -3
  70. package/dist/{pi-embedded-DkdNpxSe.js → pi-embedded-BNcbv6lg.js} +161 -161
  71. package/dist/{pi-embedded-helpers-B_qa7ikD.js → pi-embedded-helpers-CE9KKP1Q.js} +52 -52
  72. package/dist/{pi-model-discovery-FwBV8Q5J.js → pi-model-discovery-32EFg27L.js} +7 -7
  73. package/dist/pi-model-discovery-runtime-C8SNNnEN.js +12 -0
  74. package/dist/{pi-tools.before-tool-call.runtime-2r6sdUt5.js → pi-tools.before-tool-call.runtime-BfjlGXIc.js} +10 -10
  75. package/dist/plugin-sdk/signal.js +2 -2
  76. package/dist/plugin-sdk/slack.js +2 -2
  77. package/dist/{plugins-Burzc1_i.js → plugins-rc2l4VJe.js} +10 -10
  78. package/dist/{program-Rna_eew4.js → program-IR_GbPYL.js} +2 -2
  79. package/dist/{program-context-BfnHzkXT.js → program-context-CqbW3Ozx.js} +7 -7
  80. package/dist/{prompt-select-styled-1nWCPZKF.js → prompt-select-styled-4VXtaC_Y.js} +3 -3
  81. package/dist/{prompt-select-styled-BDi5UBUn.js → prompt-select-styled-CDVjf5nV.js} +3 -3
  82. package/dist/{proxy-env-C05eD8Tt.js → proxy-env-C2sbN0UU.js} +1 -1
  83. package/dist/{proxy-fetch-C_2Ejh5T.js → proxy-fetch-CVSmQMZt.js} +1 -1
  84. package/dist/{pw-ai-BbxaV2Cy.js → pw-ai-CWE0qzH7.js} +15 -15
  85. package/dist/{qmd-manager-JjGGwn8R.js → qmd-manager-DMSLC2iu.js} +11 -11
  86. package/dist/{query-expansion-DkXzaUOH.js → query-expansion-MI1dZ5Nj.js} +6 -6
  87. package/dist/{redact-C-aJRv5O.js → redact-BXURioma.js} +1 -1
  88. package/dist/{register.maintenance-BoigTo1u.js → register.maintenance-CxSE7-Kl.js} +6 -6
  89. package/dist/{register.maintenance-RJM2wCjj.js → register.maintenance-DwOfJhoP.js} +7 -7
  90. package/dist/{register.onboard--1jxOBJy.js → register.onboard-CvYvmVAO.js} +2 -2
  91. package/dist/{register.onboard-BtBM_7Qe.js → register.onboard-D336Th_C.js} +2 -2
  92. package/dist/{register.setup-B_O283DR.js → register.setup-B43LcoaE.js} +2 -2
  93. package/dist/{register.setup-o2PFpqW-.js → register.setup-DaJKzoTH.js} +2 -2
  94. package/dist/{register.status-health-sessions-CVjLnoAQ.js → register.status-health-sessions-BteqJ3fo.js} +3 -3
  95. package/dist/{register.status-health-sessions-ByZDjDZf.js → register.status-health-sessions-DYYi2rkn.js} +3 -3
  96. package/dist/{register.subclis-Cm8zQPce.js → register.subclis-Cjl06Zry.js} +3 -3
  97. package/dist/{run-main-Bcwtj17t.js → run-main-DM79Bp3w.js} +4 -4
  98. package/dist/{run-with-concurrency-CYTs7gPY.js → run-with-concurrency-C5E9gJhP.js} +4 -4
  99. package/dist/runtime-whatsapp-login.runtime-BhVxslsH.js +14 -0
  100. package/dist/runtime-whatsapp-outbound.runtime-CFivqxoq.js +23 -0
  101. package/dist/{send-DDKqu28r.js → send-BWySsurX.js} +7 -7
  102. package/dist/{send-ChW15YPB.js → send-BlTVCcYd.js} +27 -27
  103. package/dist/{send-Cj0LCSvd.js → send-C87tIqIn.js} +7 -7
  104. package/dist/{send-q-l5fncb.js → send-Cpja8Q1N.js} +5 -5
  105. package/dist/{send-hOoCA9jX.js → send-OP60RbsK.js} +6 -6
  106. package/dist/{session-BzKpA5X4.js → session-DmXsj3JD.js} +8 -8
  107. package/dist/{skill-commands-CIcvUo1A.js → skill-commands-DEsgUSH3.js} +9 -9
  108. package/dist/{skills-DU6_fNPx.js → skills-OklkZyI1.js} +22 -22
  109. package/dist/slash-commands.runtime-gtQnheWz.js +17 -0
  110. package/dist/slash-dispatch.runtime-w1y_0I6t.js +57 -0
  111. package/dist/slash-skill-commands.runtime-CA_oN4df.js +21 -0
  112. package/dist/{status-CKWYXIIT.js → status-B-T9Cvvn.js} +2 -2
  113. package/dist/{status-CZ9ThIxK.js → status-XxtmLZrL.js} +2 -2
  114. package/dist/{status.update-CoOEUoUN.js → status.update-CY3ejLFL.js} +1 -1
  115. package/dist/{status.update-CO_hSO5b.js → status.update-mgzBYrgy.js} +1 -1
  116. package/dist/{store-DcxsUE2f.js → store-BNhebBGr.js} +2 -2
  117. package/dist/subagent-registry-runtime-HYpWtFUu.js +57 -0
  118. package/dist/{subsystem-CEiApUN8.js → subsystem-W834z9Wa.js} +16 -16
  119. package/dist/{tables-DTb5mzup.js → tables-XtcH-BaF.js} +1 -1
  120. package/dist/{target-errors-jNfnUab4.js → target-errors-CNzteBWz.js} +2 -2
  121. package/dist/{thinking-BJkp7vCP.js → thinking-X8yYhVf1.js} +6 -6
  122. package/dist/{tokens-tz04P2cO.js → tokens-DxcVnNVJ.js} +1 -1
  123. package/dist/{tool-images-DRyUUf-X.js → tool-images-B-4ixjYn.js} +2 -2
  124. package/dist/{update-cli-C1DALvzD.js → update-cli-CNBvXpVS.js} +8 -8
  125. package/dist/{update-cli-BDOF9xoT.js → update-cli-PgA0bnyk.js} +7 -7
  126. package/dist/{update-runner-C7Ixr_Ti.js → update-runner-BACLkDvl.js} +3 -3
  127. package/dist/{update-runner-Bw1MljLh.js → update-runner-D7HCCtTd.js} +3 -3
  128. package/dist/{utils-BFS4zK3g.js → utils-D2oM4XHm.js} +7 -7
  129. package/dist/{web-fbVaDaVW.js → web-B8rFiLYw.js} +56 -56
  130. package/dist/{whatsapp-actions-CMHMrQzp.js → whatsapp-actions-BPIXiPAR.js} +22 -22
  131. package/dist/{workspace-D6GL2anS.js → workspace-ZgWjBCAm.js} +21 -21
  132. package/package.json +1 -1
  133. package/dist/deliver-runtime-DGYhS7K1.js +0 -37
  134. package/dist/deps-send-discord.runtime-BJmezHoH.js +0 -27
  135. package/dist/deps-send-imessage.runtime-Dsq-J7FK.js +0 -26
  136. package/dist/deps-send-signal.runtime-2kRNCAkm.js +0 -25
  137. package/dist/deps-send-slack.runtime-DoM54spr.js +0 -23
  138. package/dist/deps-send-telegram.runtime-DGtmyBk2.js +0 -28
  139. package/dist/deps-send-whatsapp.runtime-B_ZiouDf.js +0 -61
  140. package/dist/image-runtime-BL3D208M.js +0 -30
  141. package/dist/manager-runtime-CJHBIXOb.js +0 -19
  142. package/dist/pi-model-discovery-runtime-BozG-CtU.js +0 -12
  143. package/dist/runtime-whatsapp-login.runtime-BU92rhCA.js +0 -14
  144. package/dist/runtime-whatsapp-outbound.runtime-DZy-sAPP.js +0 -23
  145. package/dist/slash-commands.runtime-CXJJf0jq.js +0 -17
  146. package/dist/slash-dispatch.runtime-CnDWfnhw.js +0 -57
  147. package/dist/slash-skill-commands.runtime-NPMuDGFx.js +0 -21
  148. package/dist/subagent-registry-runtime-R6EArAuY.js +0 -57
@@ -1,13 +1,13 @@
1
- import { c as resolveAgentWorkspaceDir, r as listAgentIds, s as resolveAgentSkillsFilter } from "./run-with-concurrency-CYTs7gPY.js";
2
- import { c as resolveStateDir } from "./paths-Cvc9EM8Y.js";
3
- import { t as createSubsystemLogger, u as logVerbose } from "./subsystem-CEiApUN8.js";
4
- import { h as resolveUserPath, t as CONFIG_DIR } from "./utils-BFS4zK3g.js";
5
- import { o as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-DU6_fNPx.js";
1
+ import { c as resolveAgentWorkspaceDir, r as listAgentIds, s as resolveAgentSkillsFilter } from "./run-with-concurrency-C5E9gJhP.js";
2
+ import { c as resolveStateDir } from "./paths-C6TxBCvO.js";
3
+ import { t as createSubsystemLogger, u as logVerbose } from "./subsystem-W834z9Wa.js";
4
+ import { h as resolveUserPath, t as CONFIG_DIR } from "./utils-D2oM4XHm.js";
5
+ import { o as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-OklkZyI1.js";
6
6
  import { t as createAsyncLock } from "./json-files-D2dc4Wmw.js";
7
- import { i as listChatCommands } from "./commands-registry-FnGtnvb0.js";
7
+ import { i as listChatCommands } from "./commands-registry-A3LstXeY.js";
8
8
  import os from "node:os";
9
9
  import path from "node:path";
10
- import fs from "node:fs";
10
+ import syncFs from "node:fs";
11
11
  import { randomUUID } from "node:crypto";
12
12
  import chokidar from "chokidar";
13
13
 
@@ -241,13 +241,13 @@ function listSkillCommandsForAgents(params) {
241
241
  const workspaceFilters = /* @__PURE__ */ new Map();
242
242
  for (const agentId of agentIds) {
243
243
  const workspaceDir = resolveAgentWorkspaceDir(params.cfg, agentId);
244
- if (!fs.existsSync(workspaceDir)) {
244
+ if (!syncFs.existsSync(workspaceDir)) {
245
245
  logVerbose(`Skipping agent "${agentId}": workspace does not exist: ${workspaceDir}`);
246
246
  continue;
247
247
  }
248
248
  let canonicalDir;
249
249
  try {
250
- canonicalDir = fs.realpathSync(workspaceDir);
250
+ canonicalDir = syncFs.realpathSync(workspaceDir);
251
251
  } catch {
252
252
  logVerbose(`Skipping agent "${agentId}": cannot resolve workspace: ${workspaceDir}`);
253
253
  continue;
@@ -1,13 +1,13 @@
1
- import { m as normalizeSkillFilter } from "./run-with-concurrency-CYTs7gPY.js";
2
- import { t as createSubsystemLogger, w as resolvePreferredOpenClawTmpDir } from "./subsystem-CEiApUN8.js";
3
- import { h as resolveUserPath, t as CONFIG_DIR } from "./utils-BFS4zK3g.js";
4
- import { O as isPathInside, h as resolveOpenClawPackageRootSync } from "./workspace-D6GL2anS.js";
5
- import { Hn as isPathInsideWithRealpath, Lt as normalizePluginsConfig, Mt as loadPluginManifestRegistry, Rt as resolveEffectiveEnableState, Yn as isDangerousHostEnvVarName, hr as normalizeResolvedSecretInputString, zt as resolveMemorySlotDecision } from "./model-selection-BiqOlgFe.js";
6
- import { a as resolveOpenClawManifestBlock, c as resolveOpenClawManifestRequires, d as hasBinary, f as isConfigPathTruthyWithDefaults, i as parseOpenClawManifestInstallBase, l as parseFrontmatterBlock, n as normalizeStringList, o as resolveOpenClawManifestInstall, r as parseFrontmatterBool, s as resolveOpenClawManifestOs, t as getFrontmatterString, u as evaluateRuntimeEligibility } from "./frontmatter-Cy6ESb-O.js";
7
- import { n as assertNoPathAliasEscape } from "./path-alias-guards-Gzq1eAOo.js";
1
+ import { m as normalizeSkillFilter } from "./run-with-concurrency-C5E9gJhP.js";
2
+ import { t as createSubsystemLogger, w as resolvePreferredOpenClawTmpDir } from "./subsystem-W834z9Wa.js";
3
+ import { h as resolveUserPath, t as CONFIG_DIR } from "./utils-D2oM4XHm.js";
4
+ import { O as isPathInside, h as resolveOpenClawPackageRootSync } from "./workspace-ZgWjBCAm.js";
5
+ import { Hn as isPathInsideWithRealpath, Lt as normalizePluginsConfig, Mt as loadPluginManifestRegistry, Rt as resolveEffectiveEnableState, Yn as isDangerousHostEnvVarName, hr as normalizeResolvedSecretInputString, zt as resolveMemorySlotDecision } from "./model-selection-e9hodq0l.js";
6
+ import { a as resolveOpenClawManifestBlock, c as resolveOpenClawManifestRequires, d as hasBinary, f as isConfigPathTruthyWithDefaults, i as parseOpenClawManifestInstallBase, l as parseFrontmatterBlock, n as normalizeStringList, o as resolveOpenClawManifestInstall, r as parseFrontmatterBool, s as resolveOpenClawManifestOs, t as getFrontmatterString, u as evaluateRuntimeEligibility } from "./frontmatter-Dn68lQ_o.js";
7
+ import { n as assertNoPathAliasEscape } from "./path-alias-guards-It4BBRdm.js";
8
8
  import os from "node:os";
9
9
  import path from "node:path";
10
- import fs from "node:fs";
10
+ import syncFs from "node:fs";
11
11
  import { URL as URL$1, fileURLToPath } from "node:url";
12
12
  import { formatSkillsForPrompt, loadSkillsFromDir } from "@mariozechner/pi-coding-agent";
13
13
 
@@ -543,13 +543,13 @@ function shortPath(value) {
543
543
  //#region src/agents/skills/bundled-dir.ts
544
544
  function looksLikeSkillsDir(dir) {
545
545
  try {
546
- const entries = fs.readdirSync(dir, { withFileTypes: true });
546
+ const entries = syncFs.readdirSync(dir, { withFileTypes: true });
547
547
  for (const entry of entries) {
548
548
  if (entry.name.startsWith(".")) continue;
549
549
  const fullPath = path.join(dir, entry.name);
550
550
  if (entry.isFile() && entry.name.endsWith(".md")) return true;
551
551
  if (entry.isDirectory()) {
552
- if (fs.existsSync(path.join(fullPath, "SKILL.md"))) return true;
552
+ if (syncFs.existsSync(path.join(fullPath, "SKILL.md"))) return true;
553
553
  }
554
554
  }
555
555
  } catch {
@@ -564,7 +564,7 @@ function resolveBundledSkillsDir(opts = {}) {
564
564
  const execPath = opts.execPath ?? process.execPath;
565
565
  const execDir = path.dirname(execPath);
566
566
  const sibling = path.join(execDir, "skills");
567
- if (fs.existsSync(sibling)) return sibling;
567
+ if (syncFs.existsSync(sibling)) return sibling;
568
568
  } catch {}
569
569
  try {
570
570
  const moduleUrl = opts.moduleUrl ?? import.meta.url;
@@ -627,7 +627,7 @@ function resolvePluginSkillDirs(params) {
627
627
  const trimmed = raw.trim();
628
628
  if (!trimmed) continue;
629
629
  const candidate = path.resolve(record.rootDir, trimmed);
630
- if (!fs.existsSync(candidate)) {
630
+ if (!syncFs.existsSync(candidate)) {
631
631
  log.warn(`plugin skill path not found (${record.id}): ${candidate}`);
632
632
  continue;
633
633
  }
@@ -658,7 +658,7 @@ async function serializeByKey(key, task) {
658
658
 
659
659
  //#endregion
660
660
  //#region src/agents/skills/workspace.ts
661
- const fsp = fs.promises;
661
+ const fsp = syncFs.promises;
662
662
  const skillsLogger = createSubsystemLogger("skills");
663
663
  const skillCommandDebugOnce = /* @__PURE__ */ new Set();
664
664
  /**
@@ -735,7 +735,7 @@ function resolveSkillsLimits(config) {
735
735
  }
736
736
  function listChildDirectories(dir) {
737
737
  try {
738
- const entries = fs.readdirSync(dir, { withFileTypes: true });
738
+ const entries = syncFs.readdirSync(dir, { withFileTypes: true });
739
739
  const dirs = [];
740
740
  for (const entry of entries) {
741
741
  if (entry.name.startsWith(".")) continue;
@@ -746,7 +746,7 @@ function listChildDirectories(dir) {
746
746
  continue;
747
747
  }
748
748
  if (entry.isSymbolicLink()) try {
749
- if (fs.statSync(fullPath).isDirectory()) dirs.push(entry.name);
749
+ if (syncFs.statSync(fullPath).isDirectory()) dirs.push(entry.name);
750
750
  } catch {}
751
751
  }
752
752
  return dirs;
@@ -757,7 +757,7 @@ function listChildDirectories(dir) {
757
757
  function resolveNestedSkillsRoot(dir, opts) {
758
758
  const nested = path.join(dir, "skills");
759
759
  try {
760
- if (!fs.existsSync(nested) || !fs.statSync(nested).isDirectory()) return { baseDir: dir };
760
+ if (!syncFs.existsSync(nested) || !syncFs.statSync(nested).isDirectory()) return { baseDir: dir };
761
761
  } catch {
762
762
  return { baseDir: dir };
763
763
  }
@@ -766,7 +766,7 @@ function resolveNestedSkillsRoot(dir, opts) {
766
766
  const toScan = scanLimit === 0 ? [] : nestedDirs.slice(0, Math.min(nestedDirs.length, scanLimit));
767
767
  for (const name of toScan) {
768
768
  const skillMd = path.join(nested, name, "SKILL.md");
769
- if (fs.existsSync(skillMd)) return {
769
+ if (syncFs.existsSync(skillMd)) return {
770
770
  baseDir: nested,
771
771
  note: `Detected nested skills root at ${nested}`
772
772
  };
@@ -786,9 +786,9 @@ function loadSkillEntries(workspaceDir, opts) {
786
786
  const loadSkills = (params) => {
787
787
  const baseDir = resolveNestedSkillsRoot(params.dir, { maxEntriesToScan: limits.maxCandidatesPerRoot }).baseDir;
788
788
  const rootSkillMd = path.join(baseDir, "SKILL.md");
789
- if (fs.existsSync(rootSkillMd)) {
789
+ if (syncFs.existsSync(rootSkillMd)) {
790
790
  try {
791
- const size = fs.statSync(rootSkillMd).size;
791
+ const size = syncFs.statSync(rootSkillMd).size;
792
792
  if (size > limits.maxSkillFileBytes) {
793
793
  skillsLogger.warn("Skipping skills root due to oversized SKILL.md.", {
794
794
  dir: baseDir,
@@ -827,9 +827,9 @@ function loadSkillEntries(workspaceDir, opts) {
827
827
  for (const name of limitedChildren) {
828
828
  const skillDir = path.join(baseDir, name);
829
829
  const skillMd = path.join(skillDir, "SKILL.md");
830
- if (!fs.existsSync(skillMd)) continue;
830
+ if (!syncFs.existsSync(skillMd)) continue;
831
831
  try {
832
- const size = fs.statSync(skillMd).size;
832
+ const size = syncFs.statSync(skillMd).size;
833
833
  if (size > limits.maxSkillFileBytes) {
834
834
  skillsLogger.warn("Skipping skill due to oversized SKILL.md.", {
835
835
  skill: name,
@@ -897,7 +897,7 @@ function loadSkillEntries(workspaceDir, opts) {
897
897
  return Array.from(merged.values()).map((skill) => {
898
898
  let frontmatter = {};
899
899
  try {
900
- frontmatter = parseFrontmatter(fs.readFileSync(skill.filePath, "utf-8"));
900
+ frontmatter = parseFrontmatter(syncFs.readFileSync(skill.filePath, "utf-8"));
901
901
  } catch {}
902
902
  return {
903
903
  skill,
@@ -0,0 +1,17 @@
1
+ import "./run-with-concurrency-C5E9gJhP.js";
2
+ import "./paths-C6TxBCvO.js";
3
+ import "./subsystem-W834z9Wa.js";
4
+ import "./utils-D2oM4XHm.js";
5
+ import "./workspace-ZgWjBCAm.js";
6
+ import "./logger-C53B395N.js";
7
+ import "./model-selection-e9hodq0l.js";
8
+ import "./github-copilot-token-DDa7O18e.js";
9
+ import "./legacy-names-BAiRv0I2.js";
10
+ import "./thinking-X8yYhVf1.js";
11
+ import "./plugins-rc2l4VJe.js";
12
+ import "./accounts-CAjupeYV.js";
13
+ import "./accounts-4l7ba973.js";
14
+ import "./accounts-k5nTdi32.js";
15
+ import { f as resolveCommandArgMenu, n as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as parseCommandArgs } from "./commands-registry-A3LstXeY.js";
16
+
17
+ export { buildCommandTextFromArgs, findCommandByNativeName, listNativeCommandSpecsForConfig, parseCommandArgs, resolveCommandArgMenu };
@@ -0,0 +1,57 @@
1
+ import "./run-with-concurrency-C5E9gJhP.js";
2
+ import "./paths-C6TxBCvO.js";
3
+ import "./subsystem-W834z9Wa.js";
4
+ import "./utils-D2oM4XHm.js";
5
+ import "./workspace-ZgWjBCAm.js";
6
+ import "./logger-C53B395N.js";
7
+ import "./model-selection-e9hodq0l.js";
8
+ import "./github-copilot-token-DDa7O18e.js";
9
+ import "./legacy-names-BAiRv0I2.js";
10
+ import "./thinking-X8yYhVf1.js";
11
+ import "./tokens-DxcVnNVJ.js";
12
+ import { I as finalizeInboundContext, S as dispatchReplyWithDispatcher, k as resolveAgentRoute, n as recordInboundSessionMetaSafe, r as deliverSlackSlashReplies, s as createReplyPrefixOptions } from "./pi-embedded-BNcbv6lg.js";
13
+ import "./plugins-rc2l4VJe.js";
14
+ import "./accounts-CAjupeYV.js";
15
+ import "./send-OP60RbsK.js";
16
+ import "./send-BWySsurX.js";
17
+ import "./deliver-JkYjt9Qz.js";
18
+ import "./diagnostic-BGtFj4tU.js";
19
+ import "./accounts-4l7ba973.js";
20
+ import "./image-ops-D7mq-4y1.js";
21
+ import "./send-BlTVCcYd.js";
22
+ import "./pi-model-discovery-32EFg27L.js";
23
+ import { kt as resolveConversationLabel } from "./pi-embedded-helpers-CE9KKP1Q.js";
24
+ import "./chrome-palWvTtp.js";
25
+ import "./frontmatter-Dn68lQ_o.js";
26
+ import "./skills-OklkZyI1.js";
27
+ import "./path-alias-guards-It4BBRdm.js";
28
+ import "./redact-BXURioma.js";
29
+ import "./errors-C1YF712P.js";
30
+ import "./fs-safe-BLpOReWZ.js";
31
+ import "./proxy-env-C2sbN0UU.js";
32
+ import "./store-BNhebBGr.js";
33
+ import "./accounts-k5nTdi32.js";
34
+ import "./paths-CZ0nrg7g.js";
35
+ import "./tool-images-B-4ixjYn.js";
36
+ import "./image-BlRI3dXw.js";
37
+ import "./audio-transcription-runner-CawngPvE.js";
38
+ import "./fetch-_iocPLV2.js";
39
+ import "./fetch-guard-CiQUuV0r.js";
40
+ import "./api-key-rotation-C-Q6XdUW.js";
41
+ import "./proxy-fetch-CVSmQMZt.js";
42
+ import { m as resolveChunkMode, s as resolveMarkdownTableMode } from "./ir-Dpg87zYv.js";
43
+ import "./render-BZdJrUxT.js";
44
+ import "./target-errors-CNzteBWz.js";
45
+ import "./commands-registry-A3LstXeY.js";
46
+ import "./skill-commands-DEsgUSH3.js";
47
+ import "./fetch-CTN5ATFT.js";
48
+ import "./channel-activity-Hho38eZq.js";
49
+ import "./tables-XtcH-BaF.js";
50
+ import "./send-Cpja8Q1N.js";
51
+ import "./outbound-attachment-wzHGF-Is.js";
52
+ import "./send-C87tIqIn.js";
53
+ import "./proxy-BMKyKeTK.js";
54
+ import "./manager-Dfrejf6z.js";
55
+ import "./query-expansion-MI1dZ5Nj.js";
56
+
57
+ export { createReplyPrefixOptions, deliverSlackSlashReplies, dispatchReplyWithDispatcher, finalizeInboundContext, recordInboundSessionMetaSafe, resolveAgentRoute, resolveChunkMode, resolveConversationLabel, resolveMarkdownTableMode };
@@ -0,0 +1,21 @@
1
+ import "./run-with-concurrency-C5E9gJhP.js";
2
+ import "./paths-C6TxBCvO.js";
3
+ import "./subsystem-W834z9Wa.js";
4
+ import "./utils-D2oM4XHm.js";
5
+ import "./workspace-ZgWjBCAm.js";
6
+ import "./logger-C53B395N.js";
7
+ import "./model-selection-e9hodq0l.js";
8
+ import "./github-copilot-token-DDa7O18e.js";
9
+ import "./legacy-names-BAiRv0I2.js";
10
+ import "./thinking-X8yYhVf1.js";
11
+ import "./plugins-rc2l4VJe.js";
12
+ import "./accounts-CAjupeYV.js";
13
+ import "./accounts-4l7ba973.js";
14
+ import "./frontmatter-Dn68lQ_o.js";
15
+ import "./skills-OklkZyI1.js";
16
+ import "./path-alias-guards-It4BBRdm.js";
17
+ import "./accounts-k5nTdi32.js";
18
+ import "./commands-registry-A3LstXeY.js";
19
+ import { n as listSkillCommandsForAgents } from "./skill-commands-DEsgUSH3.js";
20
+
21
+ export { listSkillCommandsForAgents };
@@ -34,10 +34,10 @@ import { t as readLastGatewayErrorLine } from "./diagnostics-B9N9Gclp.js";
34
34
  import { t as renderTable } from "./table-CRCMNso3.js";
35
35
  import { a as probeGateway, i as resolveGatewayProbeAuth$1, t as runSecurityAudit } from "./audit-B-SXg-Xk.js";
36
36
  import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-DD6PJgN8.js";
37
- import { _ as resolveUpdateChannelDisplay, a as formatGitInstallLabel, h as normalizeUpdateChannel, n as checkUpdateStatus, t as resolveDefaultChannelAccountContext } from "./channel-account-context-Crd0PQwN.js";
37
+ import { _ as resolveUpdateChannelDisplay, a as formatGitInstallLabel, h as normalizeUpdateChannel, n as checkUpdateStatus, t as resolveDefaultChannelAccountContext } from "./channel-account-context-BAivtK8t.js";
38
38
  import { t as resolveNodeService } from "./node-service-DoeR9Tg_.js";
39
39
  import { n as redactSecrets, t as formatGatewayAuthUsed } from "./format-C-890_pY.js";
40
- import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, r as getUpdateCheckResult, t as formatUpdateAvailableHint } from "./status.update-CO_hSO5b.js";
40
+ import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, r as getUpdateCheckResult, t as formatUpdateAvailableHint } from "./status.update-mgzBYrgy.js";
41
41
  import { t as shortenText } from "./text-format-CFm4X8Ze.js";
42
42
  import { spawnSync } from "node:child_process";
43
43
  import os from "node:os";
@@ -32,10 +32,10 @@ import { t as readLastGatewayErrorLine } from "./diagnostics-DoUuiJKe.js";
32
32
  import { t as renderTable } from "./table-pWUK29AU.js";
33
33
  import { a as probeGateway, i as resolveGatewayProbeAuth$1, t as runSecurityAudit } from "./audit-ks5icq3f.js";
34
34
  import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-DL7YyJbv.js";
35
- import { _ as resolveUpdateChannelDisplay, a as formatGitInstallLabel, h as normalizeUpdateChannel, n as checkUpdateStatus, t as resolveDefaultChannelAccountContext } from "./channel-account-context-DPRR3rFq.js";
35
+ import { _ as resolveUpdateChannelDisplay, a as formatGitInstallLabel, h as normalizeUpdateChannel, n as checkUpdateStatus, t as resolveDefaultChannelAccountContext } from "./channel-account-context-DptVE7IR.js";
36
36
  import { t as resolveNodeService } from "./node-service-CVTI28Kr.js";
37
37
  import { n as redactSecrets, t as formatGatewayAuthUsed } from "./format-B4BvVfHq.js";
38
- import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, r as getUpdateCheckResult, t as formatUpdateAvailableHint } from "./status.update-CoOEUoUN.js";
38
+ import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, r as getUpdateCheckResult, t as formatUpdateAvailableHint } from "./status.update-CY3ejLFL.js";
39
39
  import { t as shortenText } from "./text-format-oWqzVmah.js";
40
40
  import fs from "node:fs";
41
41
  import os from "node:os";
@@ -1,7 +1,7 @@
1
1
  import { t as resolveOpenClawPackageRoot } from "./openclaw-root-BDI69wJb.js";
2
2
  import { t as formatCliCommand } from "./command-format-DgBEhw5P.js";
3
3
  import { r as VERSION } from "./env-vars-BDL-YpeI.js";
4
- import { n as checkUpdateStatus, r as compareSemverStrings } from "./channel-account-context-DPRR3rFq.js";
4
+ import { n as checkUpdateStatus, r as compareSemverStrings } from "./channel-account-context-DptVE7IR.js";
5
5
 
6
6
  //#region src/commands/status.update.ts
7
7
  async function getUpdateCheckResult(params) {
@@ -1,7 +1,7 @@
1
1
  import { t as formatCliCommand } from "./command-format-MESnUO9S.js";
2
2
  import { t as resolveOpenClawPackageRoot } from "./openclaw-root-CcI1kSyI.js";
3
3
  import { t as VERSION } from "./version-5hWIVAVM.js";
4
- import { n as checkUpdateStatus, r as compareSemverStrings } from "./channel-account-context-Crd0PQwN.js";
4
+ import { n as checkUpdateStatus, r as compareSemverStrings } from "./channel-account-context-BAivtK8t.js";
5
5
 
6
6
  //#region src/commands/status.update.ts
7
7
  async function getUpdateCheckResult(params) {
@@ -1,5 +1,5 @@
1
- import { p as resolveConfigDir } from "./utils-BFS4zK3g.js";
2
- import { b as detectMime, x as extensionForMime } from "./image-ops-gm8VfGiD.js";
1
+ import { p as resolveConfigDir } from "./utils-D2oM4XHm.js";
2
+ import { b as detectMime, x as extensionForMime } from "./image-ops-D7mq-4y1.js";
3
3
  import fs from "node:fs/promises";
4
4
  import path from "node:path";
5
5
  import crypto from "node:crypto";
@@ -0,0 +1,57 @@
1
+ import "./run-with-concurrency-C5E9gJhP.js";
2
+ import "./paths-C6TxBCvO.js";
3
+ import "./subsystem-W834z9Wa.js";
4
+ import "./utils-D2oM4XHm.js";
5
+ import "./workspace-ZgWjBCAm.js";
6
+ import "./logger-C53B395N.js";
7
+ import "./model-selection-e9hodq0l.js";
8
+ import "./github-copilot-token-DDa7O18e.js";
9
+ import "./legacy-names-BAiRv0I2.js";
10
+ import "./thinking-X8yYhVf1.js";
11
+ import "./tokens-DxcVnNVJ.js";
12
+ import { G as resolveRequesterForChildSession, H as countPendingDescendantRuns, U as countPendingDescendantRunsExcludingRun, V as countActiveDescendantRuns, W as isSubagentSessionRunActive } from "./pi-embedded-BNcbv6lg.js";
13
+ import "./plugins-rc2l4VJe.js";
14
+ import "./accounts-CAjupeYV.js";
15
+ import "./send-OP60RbsK.js";
16
+ import "./send-BWySsurX.js";
17
+ import "./deliver-JkYjt9Qz.js";
18
+ import "./diagnostic-BGtFj4tU.js";
19
+ import "./accounts-4l7ba973.js";
20
+ import "./image-ops-D7mq-4y1.js";
21
+ import "./send-BlTVCcYd.js";
22
+ import "./pi-model-discovery-32EFg27L.js";
23
+ import "./pi-embedded-helpers-CE9KKP1Q.js";
24
+ import "./chrome-palWvTtp.js";
25
+ import "./frontmatter-Dn68lQ_o.js";
26
+ import "./skills-OklkZyI1.js";
27
+ import "./path-alias-guards-It4BBRdm.js";
28
+ import "./redact-BXURioma.js";
29
+ import "./errors-C1YF712P.js";
30
+ import "./fs-safe-BLpOReWZ.js";
31
+ import "./proxy-env-C2sbN0UU.js";
32
+ import "./store-BNhebBGr.js";
33
+ import "./accounts-k5nTdi32.js";
34
+ import "./paths-CZ0nrg7g.js";
35
+ import "./tool-images-B-4ixjYn.js";
36
+ import "./image-BlRI3dXw.js";
37
+ import "./audio-transcription-runner-CawngPvE.js";
38
+ import "./fetch-_iocPLV2.js";
39
+ import "./fetch-guard-CiQUuV0r.js";
40
+ import "./api-key-rotation-C-Q6XdUW.js";
41
+ import "./proxy-fetch-CVSmQMZt.js";
42
+ import "./ir-Dpg87zYv.js";
43
+ import "./render-BZdJrUxT.js";
44
+ import "./target-errors-CNzteBWz.js";
45
+ import "./commands-registry-A3LstXeY.js";
46
+ import "./skill-commands-DEsgUSH3.js";
47
+ import "./fetch-CTN5ATFT.js";
48
+ import "./channel-activity-Hho38eZq.js";
49
+ import "./tables-XtcH-BaF.js";
50
+ import "./send-Cpja8Q1N.js";
51
+ import "./outbound-attachment-wzHGF-Is.js";
52
+ import "./send-C87tIqIn.js";
53
+ import "./proxy-BMKyKeTK.js";
54
+ import "./manager-Dfrejf6z.js";
55
+ import "./query-expansion-MI1dZ5Nj.js";
56
+
57
+ export { countActiveDescendantRuns, countPendingDescendantRuns, countPendingDescendantRunsExcludingRun, isSubagentSessionRunActive, resolveRequesterForChildSession };
@@ -1,10 +1,10 @@
1
- import { r as resolveConfigPath } from "./paths-Cvc9EM8Y.js";
1
+ import { r as resolveConfigPath } from "./paths-C6TxBCvO.js";
2
2
  import os from "node:os";
3
3
  import path from "node:path";
4
- import fs from "node:fs";
4
+ import syncFs from "node:fs";
5
5
  import chalk, { Chalk } from "chalk";
6
6
  import { Logger } from "tslog";
7
- import json5 from "json5";
7
+ import JSON5 from "json5";
8
8
  import util from "node:util";
9
9
 
10
10
  //#region src/infra/cli-root-options.ts
@@ -54,15 +54,15 @@ function getCommandPathInternal(argv, depth, opts) {
54
54
  //#endregion
55
55
  //#region src/infra/tmp-openclaw-dir.ts
56
56
  const POSIX_OPENCLAW_TMP_DIR = "/tmp/openclaw";
57
- const TMP_DIR_ACCESS_MODE = fs.constants.W_OK | fs.constants.X_OK;
57
+ const TMP_DIR_ACCESS_MODE = syncFs.constants.W_OK | syncFs.constants.X_OK;
58
58
  function isNodeErrorWithCode(err, code) {
59
59
  return typeof err === "object" && err !== null && "code" in err && err.code === code;
60
60
  }
61
61
  function resolvePreferredOpenClawTmpDir(options = {}) {
62
- const accessSync = options.accessSync ?? fs.accessSync;
63
- const chmodSync = options.chmodSync ?? fs.chmodSync;
64
- const lstatSync = options.lstatSync ?? fs.lstatSync;
65
- const mkdirSync = options.mkdirSync ?? fs.mkdirSync;
62
+ const accessSync = options.accessSync ?? syncFs.accessSync;
63
+ const chmodSync = options.chmodSync ?? syncFs.chmodSync;
64
+ const lstatSync = options.lstatSync ?? syncFs.lstatSync;
65
+ const mkdirSync = options.mkdirSync ?? syncFs.mkdirSync;
66
66
  const warn = options.warn ?? ((message) => console.warn(message));
67
67
  const getuid = options.getuid ?? (() => {
68
68
  try {
@@ -155,9 +155,9 @@ function resolvePreferredOpenClawTmpDir(options = {}) {
155
155
  function readLoggingConfig() {
156
156
  const configPath = resolveConfigPath();
157
157
  try {
158
- if (!fs.existsSync(configPath)) return;
159
- const raw = fs.readFileSync(configPath, "utf-8");
160
- const logging = json5.parse(raw)?.logging;
158
+ if (!syncFs.existsSync(configPath)) return;
159
+ const raw = syncFs.readFileSync(configPath, "utf-8");
160
+ const logging = JSON5.parse(raw)?.logging;
161
161
  if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
162
162
  return logging;
163
163
  } catch {
@@ -344,7 +344,7 @@ function buildLogger(settings) {
344
344
  for (const transport of externalTransports) attachExternalTransport(logger, transport);
345
345
  return logger;
346
346
  }
347
- fs.mkdirSync(path.dirname(settings.file), { recursive: true });
347
+ syncFs.mkdirSync(path.dirname(settings.file), { recursive: true });
348
348
  if (isRollingPath(settings.file)) pruneOldRollingLogs(path.dirname(settings.file));
349
349
  let currentFileBytes = getCurrentLogFileBytes(settings.file);
350
350
  let warnedAboutSizeCap = false;
@@ -383,14 +383,14 @@ function resolveMaxLogFileBytes(raw) {
383
383
  }
384
384
  function getCurrentLogFileBytes(file) {
385
385
  try {
386
- return fs.statSync(file).size;
386
+ return syncFs.statSync(file).size;
387
387
  } catch {
388
388
  return 0;
389
389
  }
390
390
  }
391
391
  function appendLogLine(file, line) {
392
392
  try {
393
- fs.appendFileSync(file, line, { encoding: "utf8" });
393
+ syncFs.appendFileSync(file, line, { encoding: "utf8" });
394
394
  return true;
395
395
  } catch {
396
396
  return false;
@@ -442,14 +442,14 @@ function isRollingPath(file) {
442
442
  }
443
443
  function pruneOldRollingLogs(dir) {
444
444
  try {
445
- const entries = fs.readdirSync(dir, { withFileTypes: true });
445
+ const entries = syncFs.readdirSync(dir, { withFileTypes: true });
446
446
  const cutoff = Date.now() - MAX_LOG_AGE_MS;
447
447
  for (const entry of entries) {
448
448
  if (!entry.isFile()) continue;
449
449
  if (!entry.name.startsWith(`${LOG_PREFIX}-`) || !entry.name.endsWith(LOG_SUFFIX)) continue;
450
450
  const fullPath = path.join(dir, entry.name);
451
451
  try {
452
- if (fs.statSync(fullPath).mtimeMs < cutoff) fs.rmSync(fullPath, { force: true });
452
+ if (syncFs.statSync(fullPath).mtimeMs < cutoff) syncFs.rmSync(fullPath, { force: true });
453
453
  } catch {}
454
454
  }
455
455
  } catch {}
@@ -1,4 +1,4 @@
1
- import { r as markdownToIRWithMeta } from "./ir-B7IR3m4T.js";
1
+ import { r as markdownToIRWithMeta } from "./ir-Dpg87zYv.js";
2
2
  import { t as renderMarkdownWithMarkers } from "./render-BZdJrUxT.js";
3
3
 
4
4
  //#region src/markdown/tables.ts
@@ -1,5 +1,5 @@
1
- import { b as detectMime } from "./image-ops-gm8VfGiD.js";
2
- import { r as sanitizeToolResultImages } from "./tool-images-DRyUUf-X.js";
1
+ import { b as detectMime } from "./image-ops-D7mq-4y1.js";
2
+ import { r as sanitizeToolResultImages } from "./tool-images-B-4ixjYn.js";
3
3
  import fs from "node:fs/promises";
4
4
 
5
5
  //#region src/agents/tools/common.ts
@@ -1,10 +1,10 @@
1
1
  import { h as normalizeAccountId } from "./session-key-DgdmD4k7.js";
2
- import { d as normalizeE164, o as escapeRegExp } from "./utils-BFS4zK3g.js";
3
- import { Ht as getChatChannelMeta, Vt as CHAT_CHANNEL_ORDER, Xt as requireActivePluginRegistry } from "./model-selection-BiqOlgFe.js";
4
- import { a as normalizeWhatsAppTarget, b as resolveDiscordAccount, l as resolveTelegramAccount, m as resolveSlackReplyToMode, p as resolveSlackAccount } from "./plugins-Burzc1_i.js";
5
- import { h as resolveAccountEntry, n as resolveWhatsAppAccount } from "./accounts-CKpnUMZd.js";
6
- import { n as resolveSignalAccount } from "./accounts-7nNRr4R3.js";
7
- import { t as resolveIMessageAccount } from "./accounts-BIr_ieyH.js";
2
+ import { d as normalizeE164, o as escapeRegExp } from "./utils-D2oM4XHm.js";
3
+ import { Ht as getChatChannelMeta, Vt as CHAT_CHANNEL_ORDER, Xt as requireActivePluginRegistry } from "./model-selection-e9hodq0l.js";
4
+ import { a as normalizeWhatsAppTarget, b as resolveDiscordAccount, l as resolveTelegramAccount, m as resolveSlackReplyToMode, p as resolveSlackAccount } from "./plugins-rc2l4VJe.js";
5
+ import { h as resolveAccountEntry, n as resolveWhatsAppAccount } from "./accounts-CAjupeYV.js";
6
+ import { n as resolveSignalAccount } from "./accounts-4l7ba973.js";
7
+ import { t as resolveIMessageAccount } from "./accounts-k5nTdi32.js";
8
8
 
9
9
  //#region src/config/types.tools.ts
10
10
  const TOOLS_BY_SENDER_KEY_TYPES = [
@@ -1,4 +1,4 @@
1
- import { o as escapeRegExp } from "./utils-BFS4zK3g.js";
1
+ import { o as escapeRegExp } from "./utils-D2oM4XHm.js";
2
2
 
3
3
  //#region src/auto-reply/tokens.ts
4
4
  const HEARTBEAT_TOKEN = "HEARTBEAT_OK";
@@ -1,5 +1,5 @@
1
- import { t as createSubsystemLogger } from "./subsystem-CEiApUN8.js";
2
- import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-gm8VfGiD.js";
1
+ import { t as createSubsystemLogger } from "./subsystem-W834z9Wa.js";
2
+ import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-D7mq-4y1.js";
3
3
 
4
4
  //#region src/media/base64.ts
5
5
  function estimateBase64DecodedBytes(base64) {
@@ -123,9 +123,9 @@ import "./skill-scanner-CC_bdAdQ.js";
123
123
  import "./installs-D2BwpBpI.js";
124
124
  import { n as formatConfigIssueLines } from "./issue-format-D_dmhPpa.js";
125
125
  import "./channels-status-issues-e73oAXc5.js";
126
- import { r as installCompletion } from "./completion-cli-FP9HAEQ3.js";
127
- import "./register.subclis-Cm8zQPce.js";
128
- import "./command-registry-CBfNNhgy.js";
126
+ import { r as installCompletion } from "./completion-cli-BxbU_lYn.js";
127
+ import "./register.subclis-Cjl06Zry.js";
128
+ import "./command-registry-BEFHpoCL.js";
129
129
  import "./program-context-BwKunb5X.js";
130
130
  import "./daemon-install-helpers-DoeVkj6M.js";
131
131
  import { r as parseSemver } from "./runtime-guard-FQfkfkx0.js";
@@ -138,17 +138,17 @@ import "./diagnostics-B9N9Gclp.js";
138
138
  import { t as renderTable } from "./table-CRCMNso3.js";
139
139
  import "./health-DD6PJgN8.js";
140
140
  import "./control-ui-assets-C08JRwwL.js";
141
- import { _ as resolveUpdateChannelDisplay, c as DEFAULT_GIT_CHANNEL, d as channelToNpmTag, f as formatUpdateChannelLabel, g as resolveEffectiveUpdateChannel, h as normalizeUpdateChannel, i as fetchNpmTagVersion, l as DEFAULT_PACKAGE_CHANNEL, n as checkUpdateStatus, o as resolveNpmChannelTag, r as compareSemverStrings } from "./channel-account-context-Crd0PQwN.js";
142
- import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, t as formatUpdateAvailableHint } from "./status.update-CO_hSO5b.js";
143
- import { a as globalInstallArgs, c as readPackageName, i as detectGlobalInstallManagerForRoot, l as readPackageVersion, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, s as normalizePackageTagInput, t as runGatewayUpdate } from "./update-runner-Bw1MljLh.js";
141
+ import { _ as resolveUpdateChannelDisplay, c as DEFAULT_GIT_CHANNEL, d as channelToNpmTag, f as formatUpdateChannelLabel, g as resolveEffectiveUpdateChannel, h as normalizeUpdateChannel, i as fetchNpmTagVersion, l as DEFAULT_PACKAGE_CHANNEL, n as checkUpdateStatus, o as resolveNpmChannelTag, r as compareSemverStrings } from "./channel-account-context-BAivtK8t.js";
142
+ import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, t as formatUpdateAvailableHint } from "./status.update-mgzBYrgy.js";
143
+ import { a as globalInstallArgs, c as readPackageName, i as detectGlobalInstallManagerForRoot, l as readPackageVersion, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, s as normalizePackageTagInput, t as runGatewayUpdate } from "./update-runner-D7HCCtTd.js";
144
144
  import "./logging-4zSchJ5n.js";
145
145
  import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from "./update-B1gR_Fep.js";
146
146
  import "./doctor-config-flow-CN_hFkSO.js";
147
147
  import "./oauth-tls-preflight-gumxl5c_.js";
148
148
  import "./systemd-linger-SLVqtYjz.js";
149
149
  import "./health-format-GTeknL_T.js";
150
- import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-1nWCPZKF.js";
151
- import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-CCNHTpp9.js";
150
+ import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-4VXtaC_Y.js";
151
+ import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion--S9fsNQo.js";
152
152
  import { spawn, spawnSync } from "node:child_process";
153
153
  import os from "node:os";
154
154
  import path from "node:path";
@@ -114,7 +114,7 @@ import "./server-lifecycle-DzdQa-qA.js";
114
114
  import "./stagger-RKJcYQbS.js";
115
115
  import { f as resolveGatewaySystemdServiceName, l as resolveGatewayLaunchAgentLabel, p as resolveGatewayWindowsTaskName } from "./constants-DLGJx0Bv.js";
116
116
  import { r as parseSemver } from "./runtime-guard-CxmMRXpH.js";
117
- import "./program-context-BfnHzkXT.js";
117
+ import "./program-context-CqbW3Ozx.js";
118
118
  import "./skills-status-B58W_wKv.js";
119
119
  import { n as inheritOptionFromParent } from "./command-options-BVmaCunF.js";
120
120
  import "./note-CaYZpgbP.js";
@@ -124,7 +124,7 @@ import "./skill-scanner-CuJVbqpL.js";
124
124
  import "./installs-BfYc-vLT.js";
125
125
  import { n as formatConfigIssueLines } from "./issue-format-DoB2_lFD.js";
126
126
  import "./channels-status-issues-BYk4ZEFs.js";
127
- import { r as installCompletion } from "./completion-cli-Bai3pUlw.js";
127
+ import { r as installCompletion } from "./completion-cli-rNt-qwSw.js";
128
128
  import "./daemon-install-helpers-DEnwl2jx.js";
129
129
  import "./systemd-D5fH7kIo.js";
130
130
  import { t as resolveGatewayService } from "./service-EtPC23pr.js";
@@ -135,17 +135,17 @@ import "./diagnostics-DoUuiJKe.js";
135
135
  import { t as renderTable } from "./table-pWUK29AU.js";
136
136
  import "./health-DL7YyJbv.js";
137
137
  import "./control-ui-assets-C-HAB1VB.js";
138
- import { _ as resolveUpdateChannelDisplay, c as DEFAULT_GIT_CHANNEL, d as channelToNpmTag, f as formatUpdateChannelLabel, g as resolveEffectiveUpdateChannel, h as normalizeUpdateChannel, i as fetchNpmTagVersion, l as DEFAULT_PACKAGE_CHANNEL, n as checkUpdateStatus, o as resolveNpmChannelTag, r as compareSemverStrings } from "./channel-account-context-DPRR3rFq.js";
139
- import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, t as formatUpdateAvailableHint } from "./status.update-CoOEUoUN.js";
140
- import { a as globalInstallArgs, c as readPackageName, i as detectGlobalInstallManagerForRoot, l as readPackageVersion, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, s as normalizePackageTagInput, t as runGatewayUpdate } from "./update-runner-C7Ixr_Ti.js";
138
+ import { _ as resolveUpdateChannelDisplay, c as DEFAULT_GIT_CHANNEL, d as channelToNpmTag, f as formatUpdateChannelLabel, g as resolveEffectiveUpdateChannel, h as normalizeUpdateChannel, i as fetchNpmTagVersion, l as DEFAULT_PACKAGE_CHANNEL, n as checkUpdateStatus, o as resolveNpmChannelTag, r as compareSemverStrings } from "./channel-account-context-DptVE7IR.js";
139
+ import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, t as formatUpdateAvailableHint } from "./status.update-CY3ejLFL.js";
140
+ import { a as globalInstallArgs, c as readPackageName, i as detectGlobalInstallManagerForRoot, l as readPackageVersion, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, s as normalizePackageTagInput, t as runGatewayUpdate } from "./update-runner-BACLkDvl.js";
141
141
  import "./logging-C9DZ91kl.js";
142
142
  import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from "./update-BKGnMxdd.js";
143
143
  import "./doctor-config-flow-Ca3UIhdu.js";
144
144
  import "./oauth-tls-preflight-B0lQ1X82.js";
145
145
  import "./systemd-linger-BOo3XOLT.js";
146
146
  import "./health-format-Dbc6Wesr.js";
147
- import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-BDi5UBUn.js";
148
- import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-BQBZQyQq.js";
147
+ import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-CDVjf5nV.js";
148
+ import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-BAJbdzsD.js";
149
149
  import os from "node:os";
150
150
  import path from "node:path";
151
151
  import fs from "node:fs/promises";
@@ -3,7 +3,7 @@ import { K as trimLogTail } from "./reply-B2vUHn4B.js";
3
3
  import { t as runCommandWithTimeout } from "./exec-BEW-Ti5Q.js";
4
4
  import { p as resolveStableNodePath } from "./daemon-install-helpers-DEnwl2jx.js";
5
5
  import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-C-HAB1VB.js";
6
- import { d as channelToNpmTag, l as DEFAULT_PACKAGE_CHANNEL, m as isStableTag, p as isBetaTag, r as compareSemverStrings, s as detectPackageManager$1, u as DEV_BRANCH } from "./channel-account-context-DPRR3rFq.js";
6
+ import { d as channelToNpmTag, l as DEFAULT_PACKAGE_CHANNEL, m as isStableTag, p as isBetaTag, r as compareSemverStrings, s as detectPackageManager$1, u as DEV_BRANCH } from "./channel-account-context-DptVE7IR.js";
7
7
  import os from "node:os";
8
8
  import path from "node:path";
9
9
  import fs from "node:fs/promises";
@@ -193,8 +193,8 @@ const START_DIRS = [
193
193
  "argv1",
194
194
  "process"
195
195
  ];
196
- const DEFAULT_PACKAGE_NAME = "openclaw";
197
- const CORE_PACKAGE_NAMES = new Set([DEFAULT_PACKAGE_NAME]);
196
+ const DEFAULT_PACKAGE_NAME = "@termix-it/cryptoclaw";
197
+ const CORE_PACKAGE_NAMES = new Set([DEFAULT_PACKAGE_NAME, "openclaw"]);
198
198
  function normalizeDir(value) {
199
199
  if (!value) return null;
200
200
  const trimmed = value.trim();