openclaw-cortex 3.0.1 → 3.0.2

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 (185) hide show
  1. package/dist/{accounts-B3MIBUxY.js → accounts-6btx_LVr.js} +14 -14
  2. package/dist/{accounts-X5YWm9b7.js → accounts-BOYxuJ9C.js} +1 -1
  3. package/dist/{accounts-Doecg-Pe.js → accounts-Cg6z7lKw.js} +1 -1
  4. package/dist/{active-listener-DI-5r3l7.js → active-listener-BhL5jMd9.js} +1 -1
  5. package/dist/{agent-scope-DgSbJ6PA.js → agent-scope-BLYwrEEA.js} +3 -3
  6. package/dist/{audio-preflight-CketII1D.js → audio-preflight-CJMYPxgz.js} +4 -4
  7. package/dist/{audio-preflight-EwgV_X7F.js → audio-preflight-DrLN-6C1.js} +30 -30
  8. package/dist/{bindings-ZzFXeSUF.js → bindings-DWtXcdc8.js} +2 -2
  9. package/dist/build-info.json +3 -3
  10. package/dist/bundled/boot-md/handler.js +53 -53
  11. package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
  12. package/dist/bundled/command-logger/handler.js +1 -1
  13. package/dist/bundled/session-memory/handler.js +53 -53
  14. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  15. package/dist/{channel-activity-By7mU0Ld.js → channel-activity-LT3oBvO7.js} +1 -1
  16. package/dist/{chrome-BwkFC1Kp.js → chrome-DBmAGMTR.js} +20 -20
  17. package/dist/{chrome-7PNldBIY.js → chrome-jiKls1lm.js} +7 -7
  18. package/dist/{chunk-DoTNWpve.js → chunk-TRVny4T1.js} +1 -1
  19. package/dist/{command-format--87BbJbN.js → command-format-D1Crrvey.js} +1 -1
  20. package/dist/{command-registry-CKl3i1dn.js → command-registry-B3oActxS.js} +4 -4
  21. package/dist/{commands-registry-C1TEcrP2.js → commands-registry-B6FYKIxi.js} +3 -3
  22. package/dist/{plugin-sdk/common-CJo4CK5_.js → common-y9ALHdVZ.js} +2 -2
  23. package/dist/{completion-cli-D9M167hh.js → completion-cli-C_J-jd9D.js} +1 -1
  24. package/dist/{completion-cli-DWbOrNO2.js → completion-cli-FIejYbDL.js} +2 -2
  25. package/dist/{config-DnorUs_i.js → config-qfEsodS7.js} +12 -12
  26. package/dist/control-ui/_app/immutable/chunks/Bf6c0cUg.js +1 -0
  27. package/dist/control-ui/_app/immutable/entry/{app.gjdkTR50.js → app.BwCsQnur.js} +2 -2
  28. package/dist/control-ui/_app/immutable/entry/start.Br3cjxv0.js +1 -0
  29. package/dist/control-ui/_app/immutable/nodes/{0.DZBLEJTo.js → 0.Dx9jJZSo.js} +1 -1
  30. package/dist/control-ui/_app/immutable/nodes/{1.El_L1H2f.js → 1.BL0sXqCf.js} +1 -1
  31. package/dist/control-ui/_app/immutable/nodes/{14.ApTZ29I1.js → 14.CDt16nEp.js} +1 -1
  32. package/dist/control-ui/_app/version.json +1 -1
  33. package/dist/control-ui/index.html +6 -6
  34. package/dist/{deliver-CFSxoz2_.js → deliver-DXKF_Nu0.js} +1 -1
  35. package/dist/{deliver-DotE8uPe.js → deliver-miQ_b14_.js} +20 -20
  36. package/dist/{diagnostic-D8zLma7p.js → diagnostic-CoT2YQH4.js} +1 -1
  37. package/dist/{doctor-completion-B18Bypvd.js → doctor-completion-D7sHoVar.js} +1 -1
  38. package/dist/{doctor-completion-C45zyyLh.js → doctor-completion-sHbqqiJx.js} +1 -1
  39. package/dist/entry.js +1 -1
  40. package/dist/extensionAPI.js +6 -6
  41. package/dist/{frontmatter-D07uaEbx.js → frontmatter-BT4H5SZG.js} +2 -2
  42. package/dist/{fs-safe-DD7nl1O-.js → fs-safe-B8-WkEXM.js} +1 -1
  43. package/dist/{gateway-cli-C9P1VKyA.js → gateway-cli-Ch6gZFPT.js} +6 -6
  44. package/dist/{gateway-cli-Cy10TRa_.js → gateway-cli-DZ4LS2Gw.js} +6 -6
  45. package/dist/{gemini-auth-prEOLMZr.js → gemini-auth-B32PFjFy.js} +1 -1
  46. package/dist/{github-copilot-token-Bu5FPDAY.js → github-copilot-token-BQ98eazZ.js} +7 -7
  47. package/dist/{image-D-wXbQEl.js → image-Bnzq6Ut_.js} +4 -4
  48. package/dist/{image-DafeVSso.js → image-DChVqMFC.js} +1 -1
  49. package/dist/index.js +1 -1
  50. package/dist/{ir-D4AIeS28.js → ir-CRTCIHIG.js} +4 -4
  51. package/dist/llm-slug-generator.js +53 -53
  52. package/dist/{local-roots-B9HIz81e.js → local-roots-tMzVEQD2.js} +5 -5
  53. package/dist/{login-CHBdSags.js → login-DGwFcNWz.js} +7 -7
  54. package/dist/{login-qr-Ch834jRc.js → login-qr-IWLbGrDP.js} +12 -12
  55. package/dist/{manager-B8MDZuUH.js → manager-KxfmY55A.js} +13 -13
  56. package/dist/{manifest-registry-CpMEl7vN.js → manifest-registry-Dovhiqzt.js} +19 -19
  57. package/dist/{markdown-tables-1wSxjPR8.js → markdown-tables-DO9qAEKa.js} +1 -1
  58. package/dist/{message-channel-CW_Jr8qx.js → message-channel-BDlvrUZF.js} +1 -1
  59. package/dist/{model-auth-BlsavKKY.js → model-auth-Dm1uOof6.js} +9 -9
  60. package/dist/{normalize-DsdAOxp0.js → normalize-D5KCCgTX.js} +9 -9
  61. package/dist/{onboard-BO-10joL.js → onboard-C4csnV8K.js} +1 -1
  62. package/dist/{onboard-CoGGGg5K.js → onboard-PLazjdti.js} +1 -1
  63. package/dist/{onboarding-CiOMo5_c.js → onboarding-B_8tUxFm.js} +1 -1
  64. package/dist/{onboarding-EMqX1DQj.js → onboarding-IlBStOWQ.js} +1 -1
  65. package/dist/{onboarding.finalize-BkqY37UR.js → onboarding.finalize-CUfEwc_X.js} +4 -4
  66. package/dist/{onboarding.finalize-D-8iuvnX.js → onboarding.finalize-CscOXfzt.js} +3 -3
  67. package/dist/{outbound-BI27cc0j.js → outbound-CthSjSDV.js} +7 -7
  68. package/dist/{outbound-attachment-Ba6Ea-zP.js → outbound-attachment-BChLBLPg.js} +2 -2
  69. package/dist/{paths-CkkDESQ2.js → paths-CyR9Pa1R.js} +5 -5
  70. package/dist/{paths-B4zRLe0K.js → paths-gnW-md4M.js} +1 -1
  71. package/dist/{pi-auth-json-gQa8k4FW.js → pi-auth-json-mTixxeol.js} +8 -8
  72. package/dist/{pi-embedded-DzV18Sl5.js → pi-embedded-D0HD9Cfc.js} +158 -158
  73. package/dist/{pi-embedded-Ig1YOX5t.js → pi-embedded-DPsT4Vb4.js} +16 -16
  74. package/dist/{pi-embedded-helpers-C-3FQnQz.js → pi-embedded-helpers--8pQ_5Ix.js} +4 -4
  75. package/dist/{pi-embedded-helpers-B4V6-8TA.js → pi-embedded-helpers-f1wpGfIT.js} +52 -52
  76. package/dist/plugin-sdk/{accounts-vV5Gfd26.js → accounts-CRs7kbLB.js} +1 -1
  77. package/dist/plugin-sdk/{accounts-iN-dbgw4.js → accounts-b1Cok6r_.js} +3 -3
  78. package/dist/plugin-sdk/{accounts-LxMkgia0.js → accounts-uAqOguyH.js} +1 -1
  79. package/dist/plugin-sdk/{active-listener-Bh0LXjEI.js → active-listener-BdVTYHTN.js} +1 -1
  80. package/dist/plugin-sdk/{agent-scope-BS_vck4W.js → agent-scope-OWMdRegz.js} +2 -2
  81. package/dist/plugin-sdk/{api-key-rotation-LkecAWT_.js → api-key-rotation-DedcgBOR.js} +1 -1
  82. package/dist/plugin-sdk/{audio-preflight-Bs1SkEb1.js → audio-preflight-EYVIo5wC.js} +25 -25
  83. package/dist/plugin-sdk/{bindings-CTCkMENc.js → bindings-LROfNV1W.js} +2 -2
  84. package/dist/plugin-sdk/{channel-activity-PV3vhwo2.js → channel-activity-DHI8R5Xg.js} +1 -1
  85. package/dist/plugin-sdk/{channel-web-C1Hsjdgf.js → channel-web-CGp1_ZH4.js} +22 -22
  86. package/dist/plugin-sdk/{chrome-cWvSiZw3.js → chrome-BS8LYp6z.js} +3 -3
  87. package/dist/plugin-sdk/{chunk-CyOBR4uk.js → chunk-C9J4kyVw.js} +1 -1
  88. package/dist/plugin-sdk/{command-format-C5kdEGEu.js → command-format-BTciq6Gg.js} +1 -1
  89. package/dist/plugin-sdk/{commands-registry-Bvksrm0n.js → commands-registry-pHxVP_Zd.js} +3 -3
  90. package/dist/{common-B7QyEEac.js → plugin-sdk/common-CCPGi5xr.js} +2 -2
  91. package/dist/plugin-sdk/{config-B8Nc1zrG.js → config-DemNgb7Z.js} +9 -9
  92. package/dist/plugin-sdk/{deliver-Dut_1pt2.js → deliver-BCvqh6o3.js} +10 -10
  93. package/dist/plugin-sdk/{diagnostic-DFXnVf2I.js → diagnostic-oBxO5N68.js} +1 -1
  94. package/dist/plugin-sdk/{fs-safe-CdpuSWry.js → fs-safe-CGcLaY9D.js} +1 -1
  95. package/dist/plugin-sdk/{image-B3tSrFDE.js → image-BHSeZfna.js} +4 -4
  96. package/dist/plugin-sdk/index.js +52 -52
  97. package/dist/plugin-sdk/{ir-05vuco_v.js → ir-JSGKj1e6.js} +4 -4
  98. package/dist/plugin-sdk/{local-roots-DlmKIABh.js → local-roots-jpNoUngc.js} +3 -3
  99. package/dist/plugin-sdk/{login-_t6d0RBi.js → login-Ckh0Yz4j.js} +7 -7
  100. package/dist/plugin-sdk/{login-qr-Czq6nBnB.js → login-qr-DRY27T-V.js} +9 -9
  101. package/dist/plugin-sdk/{manager-DEOMAxd_.js → manager-B9XMF8DU.js} +8 -8
  102. package/dist/plugin-sdk/{manifest-registry-BgkX6ON4.js → manifest-registry-Lzj-fZNH.js} +1 -1
  103. package/dist/plugin-sdk/{markdown-tables-FF81O4MP.js → markdown-tables-CgnPuqk-.js} +1 -1
  104. package/dist/plugin-sdk/{message-channel-DxNExIdv.js → message-channel-C3OrO29D.js} +1 -1
  105. package/dist/plugin-sdk/{model-selection-Bj-E4zbc.js → model-selection-BQiSfqzh.js} +4 -4
  106. package/dist/plugin-sdk/{normalize-DWmWs1Oq.js → normalize-raRH8X3d.js} +4 -4
  107. package/dist/plugin-sdk/{outbound-D2-05wUl.js → outbound-CtRrsxZT.js} +7 -7
  108. package/dist/plugin-sdk/{outbound-attachment-DmbQx_Vk.js → outbound-attachment-BD9q-xgD.js} +2 -2
  109. package/dist/plugin-sdk/{pi-auth-json-D-qvsSpX.js → pi-auth-json-BlIDGSl5.js} +5 -5
  110. package/dist/plugin-sdk/{pi-embedded-helpers-C1u6XyK5.js → pi-embedded-helpers-0qu1zxwF.js} +17 -17
  111. package/dist/plugin-sdk/{plugins-0PB0IWJL.js → plugins-BJciHbYr.js} +3 -3
  112. package/dist/plugin-sdk/{pw-ai-BIyeKPJF.js → pw-ai-DkUDisr8.js} +8 -8
  113. package/dist/plugin-sdk/{qmd-manager-DeQxerRp.js → qmd-manager-kPD4Wyie.js} +4 -4
  114. package/dist/plugin-sdk/{registry-BECEtj9n.js → registry-C8pj8ctW.js} +2 -2
  115. package/dist/plugin-sdk/{replies-DnGHvUeV.js → replies-0BFlZXJ5.js} +3 -3
  116. package/dist/plugin-sdk/{reply-Due6Dl-a.js → reply-BUzGHOJ7.js} +78 -78
  117. package/dist/plugin-sdk/{reply-prefix-UgReuQSG.js → reply-prefix-YUOHz1rF.js} +1 -1
  118. package/dist/plugin-sdk/{resolve-route-BaFHJbum.js → resolve-route-DudlMKs4.js} +3 -3
  119. package/dist/plugin-sdk/{retry-Bkj1k1me.js → retry-B8Oq5mgi.js} +1 -1
  120. package/dist/plugin-sdk/{runner-Bq1wBell.js → runner-BkD3LLSl.js} +9 -9
  121. package/dist/plugin-sdk/{send-MrY4gJ_w.js → send-9i1KJYhJ.js} +7 -7
  122. package/dist/plugin-sdk/{send-D4HKCCvV.js → send-A_uouj00.js} +7 -7
  123. package/dist/plugin-sdk/{send-By-dm-fT.js → send-CpfmIaxP.js} +11 -11
  124. package/dist/plugin-sdk/{send-NUKqMNZh.js → send-DREpPboJ.js} +6 -6
  125. package/dist/plugin-sdk/{send-M99nJHP9.js → send-Di1hHvf2.js} +11 -11
  126. package/dist/plugin-sdk/{session-DGLRioDC.js → session-CpS-Mhnp.js} +4 -4
  127. package/dist/plugin-sdk/{skill-commands-Cw-IRPUz.js → skill-commands-CTB7AZXn.js} +5 -5
  128. package/dist/plugin-sdk/{skills-D0-IpJne.js → skills-BCD1hFBZ.js} +7 -7
  129. package/dist/plugin-sdk/{sqlite-DtIiUWZr.js → sqlite-Yn48izJ_.js} +1 -1
  130. package/dist/plugin-sdk/{store-BcTI1iBS.js → store-BJRhX9Bi.js} +2 -2
  131. package/dist/plugin-sdk/{subsystem-Ck27y_6W.js → subsystem-BfLMZ8kW.js} +1 -1
  132. package/dist/plugin-sdk/{tables-B6ajREI6.js → tables-D5aPNTF6.js} +1 -1
  133. package/dist/plugin-sdk/{thinking-D81fexfE.js → thinking-BACprzA0.js} +5 -5
  134. package/dist/plugin-sdk/{tokens-B6GWdF_0.js → tokens-D1LxPszt.js} +1 -1
  135. package/dist/plugin-sdk/{tool-loop-detection-CbPwu1_R.js → tool-loop-detection-CYSptBsl.js} +2 -2
  136. package/dist/plugin-sdk/web-DNugKZLo.js +65 -0
  137. package/dist/plugin-sdk/{whatsapp-actions-B8IYO5sc.js → whatsapp-actions-CGuheX42.js} +20 -20
  138. package/dist/{plugins-CLJ0iOl0.js → plugins-CJYXNO4s.js} +1 -1
  139. package/dist/{program-DWc2vj5U.js → program-BEOFzhHf.js} +2 -2
  140. package/dist/{program-context-g9Bf7H9y.js → program-context-CTRcW6qt.js} +6 -6
  141. package/dist/{prompt-select-styled-Dq1G221I.js → prompt-select-styled-DEl1ViOW.js} +1 -1
  142. package/dist/{prompt-select-styled-dUrAqGxZ.js → prompt-select-styled-DxHHs9eu.js} +1 -1
  143. package/dist/{pw-ai-Db7y7La-.js → pw-ai-BJE3mkCf.js} +11 -11
  144. package/dist/{pw-ai-CNp2t_EO.js → pw-ai-D6PxL0UG.js} +1 -1
  145. package/dist/{qmd-manager-3KfZrilm.js → qmd-manager-4-VYqNeC.js} +7 -7
  146. package/dist/{register.maintenance-BQlKe9JQ.js → register.maintenance-BdAIyY7s.js} +4 -4
  147. package/dist/{register.maintenance-BXCIyC2q.js → register.maintenance-jNMy6C-i.js} +5 -5
  148. package/dist/{register.onboard-XjRFAaX-.js → register.onboard-C_oZreTK.js} +2 -2
  149. package/dist/{register.onboard-BjMshgZ4.js → register.onboard-DlDtwyfd.js} +2 -2
  150. package/dist/{register.setup-D9k8Eyg7.js → register.setup-Ba6S39kI.js} +2 -2
  151. package/dist/{register.setup-C3aOJ-9J.js → register.setup-WBFMBTcP.js} +2 -2
  152. package/dist/{register.subclis-DpCWe0ca.js → register.subclis-DtUGzYVz.js} +3 -3
  153. package/dist/{registry-CXBAJGac.js → registry-BmY4gNy6.js} +17 -17
  154. package/dist/{replies-C3QP8Fs6.js → replies-BJH3pQXJ.js} +3 -3
  155. package/dist/{reply-prefix-DhPco1Lk.js → reply-prefix-BaCBHwi7.js} +1 -1
  156. package/dist/{resolve-route-BQouUsWd.js → resolve-route-ClURVRZM.js} +4 -4
  157. package/dist/{retry-BwVcNQB0.js → retry-BxB_D6Pn.js} +1 -1
  158. package/dist/{run-main-BRe5c6iW.js → run-main-B6uubEb8.js} +3 -3
  159. package/dist/{runner-cxIcSp2C.js → runner-BmfMAciA.js} +9 -9
  160. package/dist/{runner-BN1T_Ne4.js → runner-CRUcM4a1.js} +1 -1
  161. package/dist/{send-DNUVC_tJ.js → send-B6BrpfcR.js} +7 -7
  162. package/dist/{send-ByKJYHWg.js → send-BNdapfcg.js} +19 -19
  163. package/dist/{send-CPUILfmc.js → send-C1F31aYA.js} +6 -6
  164. package/dist/{send-3ea6pkzH.js → send-D6tzL2Tv.js} +10 -10
  165. package/dist/{send-2sCLgOVr.js → send-DvBDdcQr.js} +6 -6
  166. package/dist/{session-C0_85REJ.js → session-BH5NTora.js} +8 -8
  167. package/dist/{skill-commands-IxgOIsIT.js → skill-commands-DVss6_wi.js} +9 -9
  168. package/dist/{skills-CwAZv64I.js → skills-Ci_2Mah4.js} +21 -21
  169. package/dist/{sqlite-BY19hYgD.js → sqlite-DJh2xLr6.js} +4 -4
  170. package/dist/{store-CDqpQLub.js → store-Be0QxLPZ.js} +2 -2
  171. package/dist/{subsystem-BFaeHXzD.js → subsystem-B5g771Td.js} +1 -1
  172. package/dist/{tables-z72GfOJY.js → tables-xDr7OSBa.js} +1 -1
  173. package/dist/{thinking-BzWAkN2b.js → thinking-wiChP3LK.js} +5 -5
  174. package/dist/{tokens-CC-Nd7t2.js → tokens-BRx7o_ZS.js} +1 -1
  175. package/dist/{tool-loop-detection-DDnbw1kC.js → tool-loop-detection-BjQsVGUc.js} +3 -3
  176. package/dist/{update-cli-Cnm99-Cj.js → update-cli-COyyIt37.js} +5 -5
  177. package/dist/{update-cli-3URF877J.js → update-cli-WAMVsPit.js} +4 -4
  178. package/dist/{web-CXDGlE3A.js → web-C0-NYLoG.js} +57 -57
  179. package/dist/{web-ComVBhjb.js → web-QGqe0Uj4.js} +6 -6
  180. package/dist/{whatsapp-actions-CLGSXEPl.js → whatsapp-actions-CgowK4CW.js} +23 -23
  181. package/dist/{workspace-CGgFZdqw.js → workspace-D9IzNnST.js} +6 -6
  182. package/package.json +1 -1
  183. package/dist/control-ui/_app/immutable/chunks/CB9985Nn.js +0 -1
  184. package/dist/control-ui/_app/immutable/entry/start.B5atPhn7.js +0 -1
  185. package/dist/plugin-sdk/web-BfmMxgKj.js +0 -65
@@ -1,7 +1,7 @@
1
- import { I as resolveUserPath, P as resolveConfigDir, k as isRecord } from "./registry-CXBAJGac.js";
1
+ import { I as resolveUserPath, P as resolveConfigDir, k as isRecord } from "./registry-BmY4gNy6.js";
2
2
  import { n as MANIFEST_KEY } from "./legacy-names-BkfUOe6z.js";
3
3
  import path from "node:path";
4
- import fsSync from "node:fs";
4
+ import fs from "node:fs";
5
5
  import { fileURLToPath } from "node:url";
6
6
 
7
7
  //#region src/security/scan-paths.ts
@@ -13,7 +13,7 @@ function isPathInside$1(basePath, candidatePath) {
13
13
  }
14
14
  function safeRealpathSync$1(filePath) {
15
15
  try {
16
- return fsSync.realpathSync(filePath);
16
+ return fs.realpathSync(filePath);
17
17
  } catch {
18
18
  return null;
19
19
  }
@@ -180,13 +180,13 @@ function resolveBundledPluginsDir() {
180
180
  try {
181
181
  const execDir = path.dirname(process.execPath);
182
182
  const sibling = path.join(execDir, "extensions");
183
- if (fsSync.existsSync(sibling)) return sibling;
183
+ if (fs.existsSync(sibling)) return sibling;
184
184
  } catch {}
185
185
  try {
186
186
  let cursor = path.dirname(fileURLToPath(import.meta.url));
187
187
  for (let i = 0; i < 6; i += 1) {
188
188
  const candidate = path.join(cursor, "extensions");
189
- if (fsSync.existsSync(candidate)) return candidate;
189
+ if (fs.existsSync(candidate)) return candidate;
190
190
  const parent = path.dirname(cursor);
191
191
  if (parent === cursor) break;
192
192
  cursor = parent;
@@ -205,20 +205,20 @@ function normalizeStringList(value) {
205
205
  function resolvePluginManifestPath(rootDir) {
206
206
  for (const filename of PLUGIN_MANIFEST_FILENAMES) {
207
207
  const candidate = path.join(rootDir, filename);
208
- if (fsSync.existsSync(candidate)) return candidate;
208
+ if (fs.existsSync(candidate)) return candidate;
209
209
  }
210
210
  return path.join(rootDir, PLUGIN_MANIFEST_FILENAME);
211
211
  }
212
212
  function loadPluginManifest(rootDir) {
213
213
  const manifestPath = resolvePluginManifestPath(rootDir);
214
- if (!fsSync.existsSync(manifestPath)) return {
214
+ if (!fs.existsSync(manifestPath)) return {
215
215
  ok: false,
216
216
  error: `plugin manifest not found: ${manifestPath}`,
217
217
  manifestPath
218
218
  };
219
219
  let raw;
220
220
  try {
221
- raw = JSON.parse(fsSync.readFileSync(manifestPath, "utf-8"));
221
+ raw = JSON.parse(fs.readFileSync(manifestPath, "utf-8"));
222
222
  } catch (err) {
223
223
  return {
224
224
  ok: false,
@@ -285,7 +285,7 @@ function safeRealpathSync(targetPath, cache) {
285
285
  const cached = cache?.get(targetPath);
286
286
  if (cached) return cached;
287
287
  try {
288
- const resolved = fsSync.realpathSync(targetPath);
288
+ const resolved = fs.realpathSync(targetPath);
289
289
  cache?.set(targetPath, resolved);
290
290
  return resolved;
291
291
  } catch {
@@ -294,7 +294,7 @@ function safeRealpathSync(targetPath, cache) {
294
294
  }
295
295
  function safeStatSync(targetPath) {
296
296
  try {
297
- return fsSync.statSync(targetPath);
297
+ return fs.statSync(targetPath);
298
298
  } catch {
299
299
  return null;
300
300
  }
@@ -408,9 +408,9 @@ function isExtensionFile(filePath) {
408
408
  }
409
409
  function readPackageManifest(dir) {
410
410
  const manifestPath = path.join(dir, "package.json");
411
- if (!fsSync.existsSync(manifestPath)) return null;
411
+ if (!fs.existsSync(manifestPath)) return null;
412
412
  try {
413
- const raw = fsSync.readFileSync(manifestPath, "utf-8");
413
+ const raw = fs.readFileSync(manifestPath, "utf-8");
414
414
  return JSON.parse(raw);
415
415
  } catch {
416
416
  return null;
@@ -468,10 +468,10 @@ function resolvePackageEntrySource(params) {
468
468
  return source;
469
469
  }
470
470
  function discoverInDirectory(params) {
471
- if (!fsSync.existsSync(params.dir)) return;
471
+ if (!fs.existsSync(params.dir)) return;
472
472
  let entries = [];
473
473
  try {
474
- entries = fsSync.readdirSync(params.dir, { withFileTypes: true });
474
+ entries = fs.readdirSync(params.dir, { withFileTypes: true });
475
475
  } catch (err) {
476
476
  params.diagnostics.push({
477
477
  level: "warn",
@@ -533,7 +533,7 @@ function discoverInDirectory(params) {
533
533
  "index.js",
534
534
  "index.mjs",
535
535
  "index.cjs"
536
- ].map((candidate) => path.join(fullPath, candidate)).find((candidate) => fsSync.existsSync(candidate));
536
+ ].map((candidate) => path.join(fullPath, candidate)).find((candidate) => fs.existsSync(candidate));
537
537
  if (indexFile && isExtensionFile(indexFile)) addCandidate({
538
538
  candidates: params.candidates,
539
539
  diagnostics: params.diagnostics,
@@ -551,7 +551,7 @@ function discoverInDirectory(params) {
551
551
  }
552
552
  function discoverFromPath(params) {
553
553
  const resolved = resolveUserPath(params.rawPath);
554
- if (!fsSync.existsSync(resolved)) {
554
+ if (!fs.existsSync(resolved)) {
555
555
  params.diagnostics.push({
556
556
  level: "error",
557
557
  message: `plugin path not found: ${resolved}`,
@@ -559,7 +559,7 @@ function discoverFromPath(params) {
559
559
  });
560
560
  return;
561
561
  }
562
- const stat = fsSync.statSync(resolved);
562
+ const stat = fs.statSync(resolved);
563
563
  if (stat.isFile()) {
564
564
  if (!isExtensionFile(resolved)) {
565
565
  params.diagnostics.push({
@@ -619,7 +619,7 @@ function discoverFromPath(params) {
619
619
  "index.js",
620
620
  "index.mjs",
621
621
  "index.cjs"
622
- ].map((candidate) => path.join(resolved, candidate)).find((candidate) => fsSync.existsSync(candidate));
622
+ ].map((candidate) => path.join(resolved, candidate)).find((candidate) => fs.existsSync(candidate));
623
623
  if (indexFile && isExtensionFile(indexFile)) {
624
624
  addCandidate({
625
625
  candidates: params.candidates,
@@ -733,7 +733,7 @@ function buildCacheKey(params) {
733
733
  }
734
734
  function safeStatMtimeMs(filePath) {
735
735
  try {
736
- return fsSync.statSync(filePath).mtimeMs;
736
+ return fs.statSync(filePath).mtimeMs;
737
737
  } catch {
738
738
  return null;
739
739
  }
@@ -1,6 +1,6 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
2
  import { c as normalizeAccountId } from "./session-key-CgcjHuX_.js";
3
- import { r as normalizeChannelId } from "./plugins-CLJ0iOl0.js";
3
+ import { r as normalizeChannelId } from "./plugins-CJYXNO4s.js";
4
4
 
5
5
  //#region src/config/markdown-tables.ts
6
6
  var markdown_tables_exports = /* @__PURE__ */ __exportAll({ resolveMarkdownTableMode: () => resolveMarkdownTableMode });
@@ -1,4 +1,4 @@
1
- import { c as getActivePluginRegistry, s as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry-CXBAJGac.js";
1
+ import { c as getActivePluginRegistry, s as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry-BmY4gNy6.js";
2
2
 
3
3
  //#region src/gateway/protocol/client-info.ts
4
4
  const GATEWAY_CLIENT_IDS = {
@@ -1,14 +1,14 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { o as resolveOAuthPath, s as resolveStateDir } from "./paths-CkkDESQ2.js";
2
+ import { o as resolveOAuthPath, s as resolveStateDir } from "./paths-CyR9Pa1R.js";
3
3
  import { n as DEFAULT_AGENT_ID } from "./session-key-CgcjHuX_.js";
4
- import { I as resolveUserPath } from "./registry-CXBAJGac.js";
5
- import { a as resolveAgentModelPrimary, n as resolveAgentConfig } from "./agent-scope-DgSbJ6PA.js";
6
- import { t as createSubsystemLogger } from "./subsystem-BFaeHXzD.js";
7
- import { r as isTruthyEnvValue, t as formatCliCommand } from "./command-format--87BbJbN.js";
8
- import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-Bu5FPDAY.js";
4
+ import { I as resolveUserPath } from "./registry-BmY4gNy6.js";
5
+ import { a as resolveAgentModelPrimary, n as resolveAgentConfig } from "./agent-scope-BLYwrEEA.js";
6
+ import { t as createSubsystemLogger } from "./subsystem-B5g771Td.js";
7
+ import { r as isTruthyEnvValue, t as formatCliCommand } from "./command-format-D1Crrvey.js";
8
+ import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-BQ98eazZ.js";
9
9
  import fs from "node:fs/promises";
10
10
  import path from "node:path";
11
- import fsSync from "node:fs";
11
+ import fs$1 from "node:fs";
12
12
  import { execFileSync } from "node:child_process";
13
13
  import { createHash, randomBytes, randomUUID } from "node:crypto";
14
14
  import { createAssistantMessageEventStream, getEnvApiKey, getOAuthApiKey, getOAuthProviders } from "@mariozechner/pi-ai";
@@ -2589,7 +2589,7 @@ function resolveAuthStorePathForDisplay(agentDir) {
2589
2589
  return pathname.startsWith("~") ? pathname : resolveUserPath(pathname);
2590
2590
  }
2591
2591
  function ensureAuthStoreFile(pathname) {
2592
- if (fsSync.existsSync(pathname)) return;
2592
+ if (fs$1.existsSync(pathname)) return;
2593
2593
  saveJsonFile(pathname, {
2594
2594
  version: AUTH_STORE_VERSION,
2595
2595
  profiles: {}
@@ -2758,7 +2758,7 @@ function loadAuthProfileStoreForAgent(agentDir, _options) {
2758
2758
  if (shouldWrite && legacy !== null) {
2759
2759
  const legacyPath = resolveLegacyAuthStorePath(agentDir);
2760
2760
  try {
2761
- fsSync.unlinkSync(legacyPath);
2761
+ fs$1.unlinkSync(legacyPath);
2762
2762
  } catch (err) {
2763
2763
  if (err?.code !== "ENOENT") log$1.warn("failed to delete legacy auth.json after migration", {
2764
2764
  err,
@@ -1,10 +1,10 @@
1
1
  import { c as normalizeAccountId, t as DEFAULT_ACCOUNT_ID } from "./session-key-CgcjHuX_.js";
2
- import { M as normalizeE164 } from "./registry-CXBAJGac.js";
3
- import { m as createAccountListHelpers } from "./accounts-B3MIBUxY.js";
2
+ import { M as normalizeE164 } from "./registry-BmY4gNy6.js";
3
+ import { m as createAccountListHelpers } from "./accounts-6btx_LVr.js";
4
4
  import { t as normalizeChatType } from "./chat-type-C_KiWNAH.js";
5
- import { r as isTruthyEnvValue } from "./command-format--87BbJbN.js";
6
- import { n as listBoundAccountIds, r as resolveDefaultAgentBoundAccountId } from "./bindings-ZzFXeSUF.js";
7
- import fsSync from "node:fs";
5
+ import { r as isTruthyEnvValue } from "./command-format-D1Crrvey.js";
6
+ import { n as listBoundAccountIds, r as resolveDefaultAgentBoundAccountId } from "./bindings-DWtXcdc8.js";
7
+ import fs from "node:fs";
8
8
 
9
9
  //#region src/channels/plugins/account-action-gate.ts
10
10
  function createAccountActionGate(params) {
@@ -186,7 +186,7 @@ function resolveTelegramToken(cfg, opts = {}) {
186
186
  const accountCfg = resolveAccountCfg(accountId !== DEFAULT_ACCOUNT_ID ? accountId : DEFAULT_ACCOUNT_ID);
187
187
  const accountTokenFile = accountCfg?.tokenFile?.trim();
188
188
  if (accountTokenFile) {
189
- if (!fsSync.existsSync(accountTokenFile)) {
189
+ if (!fs.existsSync(accountTokenFile)) {
190
190
  opts.logMissingFile?.(`channels.telegram.accounts.${accountId}.tokenFile not found: ${accountTokenFile}`);
191
191
  return {
192
192
  token: "",
@@ -194,7 +194,7 @@ function resolveTelegramToken(cfg, opts = {}) {
194
194
  };
195
195
  }
196
196
  try {
197
- const token = fsSync.readFileSync(accountTokenFile, "utf-8").trim();
197
+ const token = fs.readFileSync(accountTokenFile, "utf-8").trim();
198
198
  if (token) return {
199
199
  token,
200
200
  source: "tokenFile"
@@ -219,7 +219,7 @@ function resolveTelegramToken(cfg, opts = {}) {
219
219
  const allowEnv = accountId === DEFAULT_ACCOUNT_ID;
220
220
  const tokenFile = telegramCfg?.tokenFile?.trim();
221
221
  if (tokenFile && allowEnv) {
222
- if (!fsSync.existsSync(tokenFile)) {
222
+ if (!fs.existsSync(tokenFile)) {
223
223
  opts.logMissingFile?.(`channels.telegram.tokenFile not found: ${tokenFile}`);
224
224
  return {
225
225
  token: "",
@@ -227,7 +227,7 @@ function resolveTelegramToken(cfg, opts = {}) {
227
227
  };
228
228
  }
229
229
  try {
230
- const token = fsSync.readFileSync(tokenFile, "utf-8").trim();
230
+ const token = fs.readFileSync(tokenFile, "utf-8").trim();
231
231
  if (token) return {
232
232
  token,
233
233
  source: "tokenFile"
@@ -12,7 +12,7 @@ import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, r as isGate
12
12
  import { r as isSystemdUserServiceAvailable } from "./systemd-B6S4ND7H.js";
13
13
  import { t as resolveGatewayService } from "./service-Bw9h81em.js";
14
14
  import { r as healthCommand } from "./health-DoJPYIvC.js";
15
- import { t as runOnboardingWizard } from "./onboarding-EMqX1DQj.js";
15
+ import { t as runOnboardingWizard } from "./onboarding-IlBStOWQ.js";
16
16
  import { $ as setHuggingfaceApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, E as applyTogetherConfig, I as applyLitellmConfig, M as applyXiaomiConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setGeminiApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, X as setAnthropicApiKey, Z as setCloudflareAiGatewayConfig, _ as applyMoonshotConfigCn, a as applyMinimaxApiConfig, at as setOpenrouterApiKey, b as applyOpenrouterConfig, ct as setTogetherApiKey, d as applyAuthProfileConfig, dt as setXaiApiKey, et as setKimiCodingApiKey, f as applyHuggingfaceConfig, ft as setXiaomiApiKey, g as applyMoonshotConfig, it as setOpencodeZenApiKey, l as applyMinimaxConfig, lt as setVeniceApiKey, m as applyKimiCodeConfig, n as validateAnthropicSetupToken, nt as setMinimaxApiKey, o as applyMinimaxApiConfigCn, ot as setQianfanApiKey, pt as setZaiApiKey, r as applyOpencodeZenConfig, rt as setMoonshotApiKey, st as setSyntheticApiKey, t as buildTokenProfileId, tt as setLitellmApiKey, ut as setVercelAiGatewayApiKey, w as applySyntheticConfig } from "./auth-token-CrKdCf4Y.js";
17
17
  import { n as logConfigUpdated } from "./logging-Cl6-FWdR.js";
18
18
  import { n as isDeprecatedAuthChoice, r as normalizeLegacyOnboardAuthChoice } from "./auth-choice-legacy-Ch38-Kbr.js";
@@ -10,7 +10,7 @@ import { t as assertSupportedRuntime } from "./runtime-guard-DcwOrtgH.js";
10
10
  import { r as isSystemdUserServiceAvailable } from "./systemd-BeKZd5oD.js";
11
11
  import { t as resolveGatewayService } from "./service-CIkh5YiN.js";
12
12
  import { r as healthCommand } from "./health-BsrXWJ-_.js";
13
- import { t as runOnboardingWizard } from "./onboarding-CiOMo5_c.js";
13
+ import { t as runOnboardingWizard } from "./onboarding-B_8tUxFm.js";
14
14
  import { $ as setHuggingfaceApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, E as applyTogetherConfig, I as applyLitellmConfig, M as applyXiaomiConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setGeminiApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, X as setAnthropicApiKey, Z as setCloudflareAiGatewayConfig, _ as applyMoonshotConfigCn, a as applyMinimaxApiConfig, at as setOpenrouterApiKey, b as applyOpenrouterConfig, ct as setTogetherApiKey, d as applyAuthProfileConfig, dt as setXaiApiKey, et as setKimiCodingApiKey, f as applyHuggingfaceConfig, ft as setXiaomiApiKey, g as applyMoonshotConfig, it as setOpencodeZenApiKey, l as applyMinimaxConfig, lt as setVeniceApiKey, m as applyKimiCodeConfig, n as validateAnthropicSetupToken, nt as setMinimaxApiKey, o as applyMinimaxApiConfigCn, ot as setQianfanApiKey, pt as setZaiApiKey, r as applyOpencodeZenConfig, rt as setMoonshotApiKey, st as setSyntheticApiKey, t as buildTokenProfileId, tt as setLitellmApiKey, ut as setVercelAiGatewayApiKey, w as applySyntheticConfig } from "./auth-token-DMUSDb5Q.js";
15
15
  import { n as logConfigUpdated } from "./logging-BGewRZy0.js";
16
16
  import { n as isDeprecatedAuthChoice, r as normalizeLegacyOnboardAuthChoice } from "./auth-choice-legacy-BKXTgyr4.js";
@@ -302,7 +302,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
302
302
  mode
303
303
  });
304
304
  await writeConfigFile(nextConfig);
305
- const { finalizeOnboardingWizard } = await import("./onboarding.finalize-BkqY37UR.js");
305
+ const { finalizeOnboardingWizard } = await import("./onboarding.finalize-CUfEwc_X.js");
306
306
  const { launchedTui } = await finalizeOnboardingWizard({
307
307
  flow,
308
308
  opts,
@@ -304,7 +304,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
304
304
  mode
305
305
  });
306
306
  await writeConfigFile(nextConfig);
307
- const { finalizeOnboardingWizard } = await import("./onboarding.finalize-D-8iuvnX.js");
307
+ const { finalizeOnboardingWizard } = await import("./onboarding.finalize-CscOXfzt.js");
308
308
  const { launchedTui } = await finalizeOnboardingWizard({
309
309
  flow,
310
310
  opts,
@@ -98,10 +98,10 @@ import { b as waitForGatewayReachable, f as openUrl, g as resolveControlUiLinks,
98
98
  import "./prompt-style-DwCXob2h.js";
99
99
  import "./pairing-labels-2HXV-KVQ.js";
100
100
  import "./note-D3Xn5qjj.js";
101
- import "./register.subclis-DpCWe0ca.js";
102
- import "./command-registry-CKl3i1dn.js";
101
+ import "./register.subclis-DtUGzYVz.js";
102
+ import "./command-registry-B3oActxS.js";
103
103
  import "./program-context--isQKnLs.js";
104
- import { r as installCompletion } from "./completion-cli-DWbOrNO2.js";
104
+ import { r as installCompletion } from "./completion-cli-FIejYbDL.js";
105
105
  import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-JIaTm7m1.js";
106
106
  import "./runtime-guard-DcwOrtgH.js";
107
107
  import { r as isSystemdUserServiceAvailable } from "./systemd-BeKZd5oD.js";
@@ -109,7 +109,7 @@ import { t as resolveGatewayService } from "./service-CIkh5YiN.js";
109
109
  import { r as healthCommand } from "./health-BsrXWJ-_.js";
110
110
  import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-CwSEyfND.js";
111
111
  import { t as formatHealthCheckFailure } from "./health-format-DkjSgkDx.js";
112
- import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-B18Bypvd.js";
112
+ import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-D7sHoVar.js";
113
113
  import { t as runTui } from "./tui-DIJDni82.js";
114
114
  import os from "node:os";
115
115
  import path from "node:path";
@@ -102,16 +102,16 @@ import "./control-service-DGT3mUo3.js";
102
102
  import "./stagger-B6VQyn1F.js";
103
103
  import "./channel-selection-DuDSoVSC.js";
104
104
  import "./runtime-guard-DlT3NecY.js";
105
- import "./program-context-g9Bf7H9y.js";
105
+ import "./program-context-CTRcW6qt.js";
106
106
  import "./note-C-OTWf0F.js";
107
- import { r as installCompletion } from "./completion-cli-D9M167hh.js";
107
+ import { r as installCompletion } from "./completion-cli-C_J-jd9D.js";
108
108
  import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-CxEC09i-.js";
109
109
  import { r as isSystemdUserServiceAvailable } from "./systemd-B6S4ND7H.js";
110
110
  import { t as resolveGatewayService } from "./service-Bw9h81em.js";
111
111
  import { r as healthCommand } from "./health-DoJPYIvC.js";
112
112
  import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-BmaUgzFj.js";
113
113
  import { t as formatHealthCheckFailure } from "./health-format-DQNr1Hum.js";
114
- import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-C45zyyLh.js";
114
+ import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-sHbqqiJx.js";
115
115
  import { t as runTui } from "./tui-CK_wqabZ.js";
116
116
  import os from "node:os";
117
117
  import path from "node:path";
@@ -1,12 +1,12 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { D as escapeRegExp, H as toWhatsappJid, rt as getChildLogger } from "./registry-CXBAJGac.js";
3
- import { t as createSubsystemLogger } from "./subsystem-BFaeHXzD.js";
4
- import { n as loadConfig } from "./config-DnorUs_i.js";
5
- import { n as resolveMarkdownTableMode } from "./markdown-tables-1wSxjPR8.js";
6
- import { a as loadWebMedia } from "./ir-D4AIeS28.js";
2
+ import { D as escapeRegExp, H as toWhatsappJid, rt as getChildLogger } from "./registry-BmY4gNy6.js";
3
+ import { t as createSubsystemLogger } from "./subsystem-B5g771Td.js";
4
+ import { n as loadConfig } from "./config-qfEsodS7.js";
5
+ import { n as resolveMarkdownTableMode } from "./markdown-tables-DO9qAEKa.js";
6
+ import { a as loadWebMedia } from "./ir-CRTCIHIG.js";
7
7
  import { n as normalizePollInput } from "./polls-BX3wB_EC.js";
8
- import { t as convertMarkdownTables } from "./tables-z72GfOJY.js";
9
- import { n as requireActiveWebListener } from "./active-listener-DI-5r3l7.js";
8
+ import { t as convertMarkdownTables } from "./tables-xDr7OSBa.js";
9
+ import { n as requireActiveWebListener } from "./active-listener-BhL5jMd9.js";
10
10
  import { randomUUID } from "node:crypto";
11
11
 
12
12
  //#region src/markdown/whatsapp.ts
@@ -1,5 +1,5 @@
1
- import { r as saveMediaBuffer } from "./store-CDqpQLub.js";
2
- import { a as loadWebMedia } from "./ir-D4AIeS28.js";
1
+ import { r as saveMediaBuffer } from "./store-Be0QxLPZ.js";
2
+ import { a as loadWebMedia } from "./ir-CRTCIHIG.js";
3
3
 
4
4
  //#region src/media/outbound-attachment.ts
5
5
  async function resolveOutboundAttachmentFromUrl(mediaUrl, maxBytes, options) {
@@ -1,6 +1,6 @@
1
1
  import os from "node:os";
2
2
  import path from "node:path";
3
- import fsSync from "node:fs";
3
+ import fs from "node:fs";
4
4
 
5
5
  //#region src/infra/home-dir.ts
6
6
  function normalize(value) {
@@ -93,10 +93,10 @@ function resolveStateDir(env = process.env, homedir = envHomedir(env)) {
93
93
  if (override) return resolveUserPath(override, env, effectiveHomedir);
94
94
  const newDir = newStateDir(effectiveHomedir);
95
95
  const legacyDirs = legacyStateDirs(effectiveHomedir);
96
- if (fsSync.existsSync(newDir)) return newDir;
96
+ if (fs.existsSync(newDir)) return newDir;
97
97
  const existingLegacy = legacyDirs.find((dir) => {
98
98
  try {
99
- return fsSync.existsSync(dir);
99
+ return fs.existsSync(dir);
100
100
  } catch {
101
101
  return false;
102
102
  }
@@ -135,7 +135,7 @@ function resolveCanonicalConfigPath(env = process.env, stateDir = resolveStateDi
135
135
  function resolveConfigPathCandidate(env = process.env, homedir = envHomedir(env)) {
136
136
  const existing = resolveDefaultConfigCandidates(env, homedir).find((candidate) => {
137
137
  try {
138
- return fsSync.existsSync(candidate);
138
+ return fs.existsSync(candidate);
139
139
  } catch {
140
140
  return false;
141
141
  }
@@ -152,7 +152,7 @@ function resolveConfigPath(env = process.env, stateDir = resolveStateDir(env, en
152
152
  const stateOverride = env.OPENCLAW_STATE_DIR?.trim();
153
153
  const existing = [path.join(stateDir, CONFIG_FILENAME), ...LEGACY_CONFIG_FILENAMES.map((name) => path.join(stateDir, name))].find((candidate) => {
154
154
  try {
155
- return fsSync.existsSync(candidate);
155
+ return fs.existsSync(candidate);
156
156
  } catch {
157
157
  return false;
158
158
  }
@@ -1,4 +1,4 @@
1
- import { c as expandHomePrefix, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-CkkDESQ2.js";
1
+ import { c as expandHomePrefix, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-CyR9Pa1R.js";
2
2
  import { l as normalizeAgentId, n as DEFAULT_AGENT_ID } from "./session-key-CgcjHuX_.js";
3
3
  import os from "node:os";
4
4
  import path from "node:path";
@@ -1,12 +1,12 @@
1
- import "./paths-CkkDESQ2.js";
2
- import "./registry-CXBAJGac.js";
3
- import "./agent-scope-DgSbJ6PA.js";
4
- import "./subsystem-BFaeHXzD.js";
5
- import "./workspace-CGgFZdqw.js";
1
+ import "./paths-CyR9Pa1R.js";
2
+ import "./registry-BmY4gNy6.js";
3
+ import "./agent-scope-BLYwrEEA.js";
4
+ import "./subsystem-B5g771Td.js";
5
+ import "./workspace-D9IzNnST.js";
6
6
  import "./boolean-B8-BqKGQ.js";
7
- import "./command-format--87BbJbN.js";
8
- import { A as normalizeProviderId, _ as ensureAuthProfileStore } from "./model-auth-BlsavKKY.js";
9
- import "./github-copilot-token-Bu5FPDAY.js";
7
+ import "./command-format-D1Crrvey.js";
8
+ import { A as normalizeProviderId, _ as ensureAuthProfileStore } from "./model-auth-Dm1uOof6.js";
9
+ import "./github-copilot-token-BQ98eazZ.js";
10
10
  import fs from "node:fs/promises";
11
11
  import path from "node:path";
12
12