@symerian/symi 2.4.1 → 2.4.3

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 (102) hide show
  1. package/dist/{accounts-ChTFYj8Q.js → accounts-CWktKM8a.js} +1 -1
  2. package/dist/{accounts-CJR8j_Kq.js → accounts-qtxJ-6em.js} +1 -1
  3. package/dist/{accounts-CI6zQTJj.js → accounts-tNElYrCH.js} +14 -14
  4. package/dist/{active-listener-D6sXIjAg.js → active-listener-C9r8ZB9m.js} +1 -1
  5. package/dist/{agent-scope-Bw1Ed8W9.js → agent-scope-BxoUQqgM.js} +3 -3
  6. package/dist/{audio-preflight-BkIfnmpi.js → audio-preflight-D02HwB-I.js} +29 -29
  7. package/dist/{bindings-BU2hsBd9.js → bindings-B7Ke6LJi.js} +2 -2
  8. package/dist/build-info.json +3 -3
  9. package/dist/bundled/boot-md/handler.js +53 -53
  10. package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
  11. package/dist/bundled/command-logger/handler.js +1 -1
  12. package/dist/bundled/session-memory/handler.js +53 -53
  13. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  14. package/dist/{channel-activity-C9-gaquj.js → channel-activity-CsM_hJ_s.js} +1 -1
  15. package/dist/{chrome-CxSAp8x3.js → chrome-EyvdASWt.js} +13 -13
  16. package/dist/{chunk-ClbN9Pqy.js → chunk-BW5f05BR.js} +1 -1
  17. package/dist/{command-format-UKHV-j0K.js → command-format-BaxDnULz.js} +1 -1
  18. package/dist/{command-registry-DXt0PsFy.js → command-registry-CsDAPQfS.js} +4 -4
  19. package/dist/{commands-registry-VSmULp-g.js → commands-registry-D7CTCQPm.js} +4 -4
  20. package/dist/{completion-cli-BsSDzZNA.js → completion-cli-B_f5PMBc.js} +1 -1
  21. package/dist/{completion-cli-CPMOXTf2.js → completion-cli-CSdjFWHy.js} +2 -2
  22. package/dist/{config-eEaJddXj.js → config-DRbjHIwD.js} +12 -12
  23. package/dist/{deliver-BA7ZN3iM.js → deliver-D1ZN6-fl.js} +20 -20
  24. package/dist/{diagnostic-C3nsWaw3.js → diagnostic-CI0kRQkt.js} +1 -1
  25. package/dist/{doctor-completion-8qbLmeX0.js → doctor-completion-BWJvfjTC.js} +1 -1
  26. package/dist/{doctor-completion-Dnxn_-ov.js → doctor-completion-llX6EnGy.js} +1 -1
  27. package/dist/entry.js +1 -1
  28. package/dist/{frontmatter-DPlG6yha.js → frontmatter-C_bv_0P8.js} +2 -2
  29. package/dist/{gateway-cli-XIsXoJZ3.js → gateway-cli-70k2-I4K.js} +12 -8
  30. package/dist/{gateway-cli-DKDpOBp-.js → gateway-cli-BApdH1bD.js} +12 -8
  31. package/dist/{gemini-auth-CF48hUR9.js → gemini-auth-CdSPHuLl.js} +1 -1
  32. package/dist/{github-copilot-token-DJqsJ2-r.js → github-copilot-token-C_qUP7p5.js} +7 -7
  33. package/dist/{image-BGmVDkkw.js → image-Cp3JDEBB.js} +4 -4
  34. package/dist/{image-ops-S8-8dAhx.js → image-ops-CvJzsyvE.js} +1 -1
  35. package/dist/index.js +1 -1
  36. package/dist/{ir-CbFUkv_T.js → ir-DccrnjsE.js} +4 -4
  37. package/dist/llm-slug-generator.js +53 -53
  38. package/dist/{local-roots-C7OCYACU.js → local-roots-DMwIh5cS.js} +5 -5
  39. package/dist/{login-B8uiUAnV.js → login-CwCoxapk.js} +7 -7
  40. package/dist/{login-qr-CIZk8uKX.js → login-qr-Batf3PT5.js} +12 -12
  41. package/dist/{manager-BoLr3xR_.js → manager-D_LwXbc6.js} +13 -13
  42. package/dist/{manifest-registry-CneMHk0N.js → manifest-registry-D0IQ3WuX.js} +19 -19
  43. package/dist/{markdown-tables-DSHvnTLx.js → markdown-tables-iMQQZu4Q.js} +1 -1
  44. package/dist/{message-channel-DbsRltF2.js → message-channel-Dz5lr5b0.js} +1 -1
  45. package/dist/{model-auth-CwOuTuXl.js → model-auth-DK43VicI.js} +9 -9
  46. package/dist/{onboard-CXOUIg28.js → onboard-1wGdR0wt.js} +1 -1
  47. package/dist/{onboard-DBeHwdks.js → onboard-nQYq_dsr.js} +1 -1
  48. package/dist/{onboarding-Dfjn2-9q.js → onboarding-Peg7PNOz.js} +1 -1
  49. package/dist/{onboarding-C58wjONa.js → onboarding-gQRA57l_.js} +1 -1
  50. package/dist/{onboarding.finalize-7r1HYXWd.js → onboarding.finalize-C4DSBMrV.js} +4 -4
  51. package/dist/{onboarding.finalize-DGD56sXW.js → onboarding.finalize-D26o-hBA.js} +3 -3
  52. package/dist/{outbound-opDNxv-l.js → outbound-D4fN_ZlE.js} +7 -7
  53. package/dist/{outbound-attachment-Co2diKdP.js → outbound-attachment-DjNDa3zn.js} +2 -2
  54. package/dist/{paths-CySxpNhH.js → paths-Cce4PUkG.js} +5 -5
  55. package/dist/{paths-Cb87-LzP.js → paths-DLyHUt31.js} +1 -1
  56. package/dist/{pi-auth-json-DPWPoruO.js → pi-auth-json-0SYBFZTt.js} +8 -8
  57. package/dist/{pi-embedded-B6uRrG1f.js → pi-embedded-XE5y7qIF.js} +158 -158
  58. package/dist/{pi-embedded-helpers-DEEaCvEp.js → pi-embedded-helpers-ag2bosuj.js} +52 -52
  59. package/dist/{plugins-C4C9637U.js → plugins-DQYI3Fr-.js} +9 -9
  60. package/dist/{program-CutjuJj0.js → program-Bx47hl_J.js} +2 -2
  61. package/dist/{program-context-qVc_lsLV.js → program-context-JFmxYLfK.js} +6 -6
  62. package/dist/{prompt-select-styled-C0yn8YjW.js → prompt-select-styled--d3H0JCo.js} +1 -1
  63. package/dist/{prompt-select-styled-BCHe7Fks.js → prompt-select-styled-BeJhp9PS.js} +1 -1
  64. package/dist/{pw-ai-DhwRiS06.js → pw-ai-Ch7liUOW.js} +11 -11
  65. package/dist/{qmd-manager-DdZh9PHs.js → qmd-manager-QHUP-_em.js} +7 -7
  66. package/dist/{register.maintenance-DMLPFSKI.js → register.maintenance-CYhp47Hs.js} +5 -5
  67. package/dist/{register.maintenance-D1MuIUlv.js → register.maintenance-CvaHYkoX.js} +4 -4
  68. package/dist/{register.onboard-CXHhSH4B.js → register.onboard-CoySBEdQ.js} +2 -2
  69. package/dist/{register.onboard-D1X2dUGZ.js → register.onboard-mCscJN7t.js} +2 -2
  70. package/dist/{register.setup-Q58lN0TV.js → register.setup-BmE-pwMT.js} +2 -2
  71. package/dist/{register.setup-DFDb5BDi.js → register.setup-CzrsIQMG.js} +2 -2
  72. package/dist/{register.subclis-CrTXa8cj.js → register.subclis-wsgQ6wk8.js} +3 -3
  73. package/dist/{registry-DP24za6g.js → registry-CK4e9hn8.js} +17 -17
  74. package/dist/{replies-DpPvWiGF.js → replies-BIX_isV7.js} +3 -3
  75. package/dist/{reply-prefix-CtL0omgM.js → reply-prefix-XlyuyChD.js} +1 -1
  76. package/dist/{resolve-route-BVikmvWO.js → resolve-route-CZ-1eqw0.js} +4 -4
  77. package/dist/{retry-dGG-MbxL.js → retry-Cly39XZB.js} +1 -1
  78. package/dist/{run-main-BLKPL_vM.js → run-main-mKcFqx7h.js} +3 -3
  79. package/dist/{runner-B_KP4voe.js → runner-D0QUGA_X.js} +9 -9
  80. package/dist/{send-DeEosX8F.js → send-B1u-LrcS.js} +18 -18
  81. package/dist/{send-DwKJK3sM.js → send-CiTGOvEc.js} +10 -10
  82. package/dist/{send-zSarozV2.js → send-DW96zgDL.js} +6 -6
  83. package/dist/{send-CHEOWVc8.js → send-DeFniOjh.js} +6 -6
  84. package/dist/{send-DbcLJb0P.js → send-WyRqb4WD.js} +7 -7
  85. package/dist/{session-DV1MNlbV.js → session-SM36BTsl.js} +8 -8
  86. package/dist/{skill-commands-D610IKhm.js → skill-commands-BJMb_psG.js} +9 -9
  87. package/dist/{skills-o5WVqM4V.js → skills-BFekKL7i.js} +21 -21
  88. package/dist/{sqlite-6H6Zw1cs.js → sqlite-DRbx2dhW.js} +4 -4
  89. package/dist/{store-vVE6N2mH.js → store-C0wvOkae.js} +2 -2
  90. package/dist/{subsystem-DgpxyDQ_.js → subsystem-Bs9YvKLa.js} +1 -1
  91. package/dist/{tables-BIWsCKXJ.js → tables-DuZspiBu.js} +1 -1
  92. package/dist/{target-errors-DyItGyW9.js → target-errors-Be1SwYlW.js} +2 -2
  93. package/dist/{thinking-Ni0HF-w6.js → thinking-CdlENGRW.js} +5 -5
  94. package/dist/{tokens-c_SLAkVb.js → tokens-H1H1LiSQ.js} +1 -1
  95. package/dist/{tool-images-DBCfXdli.js → tool-images-DXB7tqWi.js} +2 -2
  96. package/dist/{tool-loop-detection-Bbc9OPFR.js → tool-loop-detection-Cs8_HCsx.js} +3 -3
  97. package/dist/{update-cli-BkU6ori8.js → update-cli-BEBDpJF4.js} +5 -5
  98. package/dist/{update-cli-D18nWvzY.js → update-cli-C22V-tFW.js} +4 -4
  99. package/dist/{web-BsjZ2RTT.js → web-CviyqTad.js} +57 -57
  100. package/dist/{whatsapp-actions-oRQjcdQe.js → whatsapp-actions-D1RsnX7P.js} +23 -23
  101. package/dist/{workspace-CbvamIU6.js → workspace-wAaHI8-5.js} +6 -6
  102. package/package.json +1 -1
@@ -1,31 +1,31 @@
1
- import { i as resolveGatewayPort, t as STATE_DIR, u as resolveRequiredHomeDir } from "./paths-CySxpNhH.js";
1
+ import { i as resolveGatewayPort, t as STATE_DIR, u as resolveRequiredHomeDir } from "./paths-Cce4PUkG.js";
2
2
  import { c as normalizeMainKey, l as resolveAgentIdFromSessionKey, m as normalizeOptionalAccountId, r as buildAgentMainSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-BCzIW1Y2.js";
3
- import { I as resolveUserPath, M as normalizeE164, U as truncateUtf16Safe, dt as resolvePreferredSymiTmpDir, t as CHANNEL_IDS } from "./registry-DP24za6g.js";
4
- import { n as resolveAgentConfig, u as resolveSessionAgentId } from "./agent-scope-Bw1Ed8W9.js";
5
- import { r as defaultRuntime, t as createSubsystemLogger } from "./subsystem-DgpxyDQ_.js";
6
- import { _ as runExec, a as DEFAULT_SYMICORE_FILENAME, c as DEFAULT_USER_FILENAME, i as DEFAULT_IDENTITY_FILENAME, l as ensureAgentWorkspace, n as DEFAULT_AGENT_WORKSPACE_DIR, o as DEFAULT_SYMIPULSE_FILENAME, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_TOOLS_FILENAME, t as DEFAULT_AGENTS_FILENAME } from "./workspace-CbvamIU6.js";
7
- import { r as normalizeChannelId } from "./plugins-C4C9637U.js";
3
+ import { I as resolveUserPath, M as normalizeE164, U as truncateUtf16Safe, dt as resolvePreferredSymiTmpDir, t as CHANNEL_IDS } from "./registry-CK4e9hn8.js";
4
+ import { n as resolveAgentConfig, u as resolveSessionAgentId } from "./agent-scope-BxoUQqgM.js";
5
+ import { r as defaultRuntime, t as createSubsystemLogger } from "./subsystem-Bs9YvKLa.js";
6
+ import { _ as runExec, a as DEFAULT_SYMICORE_FILENAME, c as DEFAULT_USER_FILENAME, i as DEFAULT_IDENTITY_FILENAME, l as ensureAgentWorkspace, n as DEFAULT_AGENT_WORKSPACE_DIR, o as DEFAULT_SYMIPULSE_FILENAME, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_TOOLS_FILENAME, t as DEFAULT_AGENTS_FILENAME } from "./workspace-wAaHI8-5.js";
7
+ import { r as normalizeChannelId } from "./plugins-DQYI3Fr-.js";
8
8
  import { t as normalizeChatType } from "./chat-type-C_KiWNAH.js";
9
9
  import { t as parseBooleanValue } from "./boolean-B8-BqKGQ.js";
10
- import { t as formatCliCommand } from "./command-format-UKHV-j0K.js";
11
- import { c as SafeOpenError, i as getImageMetadata, l as openFileWithinRoot, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-S8-8dAhx.js";
12
- import { S as isPidAlive, x as resolveProcessScopedMap } from "./model-auth-CwOuTuXl.js";
13
- import { o as listDeliverableMessageChannels, s as normalizeMessageChannel } from "./message-channel-DbsRltF2.js";
14
- import { _ as parseDurationMs, a as writeConfigFile, n as loadConfig, s as parseByteSize, t as createConfigIO } from "./config-eEaJddXj.js";
15
- import { A as DEFAULT_BROWSER_EVALUATE_ENABLED, D as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, E as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, M as DEFAULT_SYMI_BROWSER_ENABLED, N as DEFAULT_SYMI_BROWSER_PROFILE_NAME, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, S as stopChromeExtensionRelayServer, _ as fetchJson, a as resolveSymiUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, g as appendCdpPath, h as withBrowserNavigationPolicy, i as launchSymiChrome, j as DEFAULT_SYMI_BROWSER_COLOR, k as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, l as createTargetViaCdp, m as assertBrowserNavigationAllowed, n as isChromeCdpReady, o as stopSymiChrome, p as InvalidBrowserNavigationUrlError, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as fetchOk, w as isLoopbackHost, x as ensureChromeExtensionRelayServer } from "./chrome-CxSAp8x3.js";
16
- import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-o5WVqM4V.js";
10
+ import { t as formatCliCommand } from "./command-format-BaxDnULz.js";
11
+ import { c as SafeOpenError, i as getImageMetadata, l as openFileWithinRoot, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-CvJzsyvE.js";
12
+ import { S as isPidAlive, x as resolveProcessScopedMap } from "./model-auth-DK43VicI.js";
13
+ import { o as listDeliverableMessageChannels, s as normalizeMessageChannel } from "./message-channel-Dz5lr5b0.js";
14
+ import { _ as parseDurationMs, a as writeConfigFile, n as loadConfig, s as parseByteSize, t as createConfigIO } from "./config-DRbjHIwD.js";
15
+ import { A as DEFAULT_BROWSER_EVALUATE_ENABLED, D as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, E as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, M as DEFAULT_SYMI_BROWSER_ENABLED, N as DEFAULT_SYMI_BROWSER_PROFILE_NAME, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, S as stopChromeExtensionRelayServer, _ as fetchJson, a as resolveSymiUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, g as appendCdpPath, h as withBrowserNavigationPolicy, i as launchSymiChrome, j as DEFAULT_SYMI_BROWSER_COLOR, k as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, l as createTargetViaCdp, m as assertBrowserNavigationAllowed, n as isChromeCdpReady, o as stopSymiChrome, p as InvalidBrowserNavigationUrlError, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as fetchOk, w as isLoopbackHost, x as ensureChromeExtensionRelayServer } from "./chrome-EyvdASWt.js";
16
+ import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-BFekKL7i.js";
17
17
  import { n as formatErrorMessage, t as extractErrorCode } from "./errors-BoQgnc8X.js";
18
18
  import { t as SsrFBlockedError } from "./ssrf-BTMDZjHT.js";
19
- import { r as saveMediaBuffer, t as ensureMediaDir } from "./store-vVE6N2mH.js";
20
- import { d as getChannelDock, o as normalizeThinkLevel, v as normalizeHyphenSlug } from "./thinking-Ni0HF-w6.js";
19
+ import { r as saveMediaBuffer, t as ensureMediaDir } from "./store-C0wvOkae.js";
20
+ import { d as getChannelDock, o as normalizeThinkLevel, v as normalizeHyphenSlug } from "./thinking-CdlENGRW.js";
21
21
  import { n as resolveConversationLabel } from "./conversation-label-DXUkoKcB.js";
22
- import { a as resolveSessionTranscriptPathInDir, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-Cb87-LzP.js";
22
+ import { a as resolveSessionTranscriptPathInDir, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-DLyHUt31.js";
23
23
  import { t as emitSessionTranscriptUpdate } from "./transcript-events-DDYvbmRV.js";
24
- import { t as sanitizeContentBlocksImages } from "./tool-images-DBCfXdli.js";
24
+ import { t as sanitizeContentBlocksImages } from "./tool-images-DXB7tqWi.js";
25
25
  import fs from "node:fs/promises";
26
26
  import os from "node:os";
27
27
  import path, { posix } from "node:path";
28
- import fsSync, { existsSync, realpathSync } from "node:fs";
28
+ import fs$1, { existsSync, realpathSync } from "node:fs";
29
29
  import { spawn } from "node:child_process";
30
30
  import { CURRENT_SESSION_VERSION, SessionManager } from "@mariozechner/pi-coding-agent";
31
31
  import crypto, { createHash, timingSafeEqual } from "node:crypto";
@@ -933,7 +933,7 @@ function isModuleNotFoundError(err) {
933
933
  }
934
934
  async function loadPwAiModule(mode) {
935
935
  try {
936
- return await import("./pw-ai-DhwRiS06.js");
936
+ return await import("./pw-ai-Ch7liUOW.js");
937
937
  } catch (err) {
938
938
  if (mode === "soft") return null;
939
939
  if (isModuleNotFoundError(err)) return null;
@@ -2689,11 +2689,11 @@ async function movePathToTrash(targetPath) {
2689
2689
  return targetPath;
2690
2690
  } catch {
2691
2691
  const trashDir = path.join(os.homedir(), ".Trash");
2692
- fsSync.mkdirSync(trashDir, { recursive: true });
2692
+ fs$1.mkdirSync(trashDir, { recursive: true });
2693
2693
  const base = path.basename(targetPath);
2694
2694
  let dest = path.join(trashDir, `${base}-${Date.now()}`);
2695
- if (fsSync.existsSync(dest)) dest = path.join(trashDir, `${base}-${Date.now()}-${Math.random()}`);
2696
- fsSync.renameSync(targetPath, dest);
2695
+ if (fs$1.existsSync(dest)) dest = path.join(trashDir, `${base}-${Date.now()}-${Math.random()}`);
2696
+ fs$1.renameSync(targetPath, dest);
2697
2697
  return dest;
2698
2698
  }
2699
2699
  }
@@ -2771,7 +2771,7 @@ function createBrowserProfilesService(ctx) {
2771
2771
  } catch {}
2772
2772
  const userDataDir = resolveSymiUserDataDir(name);
2773
2773
  const profileDir = path.dirname(userDataDir);
2774
- if (fsSync.existsSync(profileDir)) {
2774
+ if (fs$1.existsSync(profileDir)) {
2775
2775
  await movePathToTrash(profileDir);
2776
2776
  deleted = true;
2777
2777
  }
@@ -3473,13 +3473,13 @@ function createProfileContext(opts, profile) {
3473
3473
  const userDataDir = resolveSymiUserDataDir(profile.name);
3474
3474
  const profileState = getProfileState();
3475
3475
  if (await isHttpReachable(300) && !profileState.running) try {
3476
- await (await import("./pw-ai-DhwRiS06.js")).closePlaywrightBrowserConnection();
3476
+ await (await import("./pw-ai-Ch7liUOW.js")).closePlaywrightBrowserConnection();
3477
3477
  } catch {}
3478
3478
  if (profileState.running) await stopRunningBrowser();
3479
3479
  try {
3480
- await (await import("./pw-ai-DhwRiS06.js")).closePlaywrightBrowserConnection();
3480
+ await (await import("./pw-ai-Ch7liUOW.js")).closePlaywrightBrowserConnection();
3481
3481
  } catch {}
3482
- if (!fsSync.existsSync(userDataDir)) return {
3482
+ if (!fs$1.existsSync(userDataDir)) return {
3483
3483
  moved: false,
3484
3484
  from: userDataDir
3485
3485
  };
@@ -3898,7 +3898,7 @@ function releaseAllLocksSync() {
3898
3898
  if (typeof held.handle.close === "function") held.handle.close().catch(() => {});
3899
3899
  } catch {}
3900
3900
  try {
3901
- fsSync.rmSync(held.lockPath, { force: true });
3901
+ fs$1.rmSync(held.lockPath, { force: true });
3902
3902
  } catch {}
3903
3903
  HELD_LOCKS.delete(sessionFile);
3904
3904
  }
@@ -5699,7 +5699,7 @@ function resolveSessionTranscriptCandidates(sessionId, storePath, sessionFile, a
5699
5699
  }
5700
5700
  function archiveFileOnDisk(filePath, reason) {
5701
5701
  const archived = `${filePath}.${reason}.${(/* @__PURE__ */ new Date()).toISOString().replaceAll(":", "-")}`;
5702
- fsSync.renameSync(filePath, archived);
5702
+ fs$1.renameSync(filePath, archived);
5703
5703
  return archived;
5704
5704
  }
5705
5705
  /**
@@ -5709,7 +5709,7 @@ function archiveFileOnDisk(filePath, reason) {
5709
5709
  function archiveSessionTranscripts(opts) {
5710
5710
  const archived = [];
5711
5711
  for (const candidate of resolveSessionTranscriptCandidates(opts.sessionId, opts.storePath, opts.sessionFile, opts.agentId)) {
5712
- if (!fsSync.existsSync(candidate)) continue;
5712
+ if (!fs$1.existsSync(candidate)) continue;
5713
5713
  try {
5714
5714
  archived.push(archiveFileOnDisk(candidate, opts.reason));
5715
5715
  } catch {}
@@ -5741,15 +5741,15 @@ async function cleanupArchivedSessionTranscripts(opts) {
5741
5741
  let removed = 0;
5742
5742
  let scanned = 0;
5743
5743
  for (const dir of directories) {
5744
- const entries = await fsSync.promises.readdir(dir).catch(() => []);
5744
+ const entries = await fs$1.promises.readdir(dir).catch(() => []);
5745
5745
  for (const entry of entries) {
5746
5746
  const timestamp = parseArchivedTimestamp(entry, reason);
5747
5747
  if (timestamp == null) continue;
5748
5748
  scanned += 1;
5749
5749
  if (now - timestamp <= opts.olderThanMs) continue;
5750
5750
  const fullPath = path.join(dir, entry);
5751
- if (!(await fsSync.promises.stat(fullPath).catch(() => null))?.isFile()) continue;
5752
- await fsSync.promises.rm(fullPath).catch(() => void 0);
5751
+ if (!(await fs$1.promises.stat(fullPath).catch(() => null))?.isFile()) continue;
5752
+ await fs$1.promises.rm(fullPath).catch(() => void 0);
5753
5753
  removed += 1;
5754
5754
  }
5755
5755
  }
@@ -5885,7 +5885,7 @@ function isCacheEnabled(ttlMs) {
5885
5885
  }
5886
5886
  function getFileMtimeMs(filePath) {
5887
5887
  try {
5888
- return fsSync.statSync(filePath).mtimeMs;
5888
+ return fs$1.statSync(filePath).mtimeMs;
5889
5889
  } catch {
5890
5890
  return;
5891
5891
  }
@@ -5964,7 +5964,7 @@ function loadSessionStore(storePath, opts = {}) {
5964
5964
  const maxReadAttempts = process.platform === "win32" ? 3 : 1;
5965
5965
  const retryBuf = maxReadAttempts > 1 ? new Int32Array(new SharedArrayBuffer(4)) : void 0;
5966
5966
  for (let attempt = 0; attempt < maxReadAttempts; attempt++) try {
5967
- const raw = fsSync.readFileSync(storePath, "utf-8");
5967
+ const raw = fs$1.readFileSync(storePath, "utf-8");
5968
5968
  if (raw.length === 0 && attempt < maxReadAttempts - 1) {
5969
5969
  Atomics.wait(retryBuf, 0, 0, 50);
5970
5970
  continue;
@@ -6116,7 +6116,7 @@ function capEntryCount(store, overrideMax, opts = {}) {
6116
6116
  }
6117
6117
  async function getSessionFileSize(storePath) {
6118
6118
  try {
6119
- return (await fsSync.promises.stat(storePath)).size;
6119
+ return (await fs$1.promises.stat(storePath)).size;
6120
6120
  } catch {
6121
6121
  return null;
6122
6122
  }
@@ -6133,7 +6133,7 @@ async function rotateSessionFile(storePath, overrideBytes) {
6133
6133
  if (fileSize <= maxBytes) return false;
6134
6134
  const backupPath = `${storePath}.bak.${Date.now()}`;
6135
6135
  try {
6136
- await fsSync.promises.rename(storePath, backupPath);
6136
+ await fs$1.promises.rename(storePath, backupPath);
6137
6137
  log.info("rotated session store file", {
6138
6138
  backupPath: path.basename(backupPath),
6139
6139
  sizeBytes: fileSize
@@ -6144,11 +6144,11 @@ async function rotateSessionFile(storePath, overrideBytes) {
6144
6144
  try {
6145
6145
  const dir = path.dirname(storePath);
6146
6146
  const baseName = path.basename(storePath);
6147
- const backups = (await fsSync.promises.readdir(dir)).filter((f) => f.startsWith(`${baseName}.bak.`)).toSorted().toReversed();
6147
+ const backups = (await fs$1.promises.readdir(dir)).filter((f) => f.startsWith(`${baseName}.bak.`)).toSorted().toReversed();
6148
6148
  const maxBackups = 3;
6149
6149
  if (backups.length > maxBackups) {
6150
6150
  const toDelete = backups.slice(maxBackups);
6151
- for (const old of toDelete) await fsSync.promises.unlink(path.join(dir, old)).catch(() => void 0);
6151
+ for (const old of toDelete) await fs$1.promises.unlink(path.join(dir, old)).catch(() => void 0);
6152
6152
  log.info("cleaned up old session store backups", { deleted: toDelete.length });
6153
6153
  }
6154
6154
  } catch {}
@@ -6203,14 +6203,14 @@ async function saveSessionStoreUnlocked(storePath, store, opts) {
6203
6203
  await rotateSessionFile(storePath, maintenance.rotateBytes);
6204
6204
  }
6205
6205
  }
6206
- await fsSync.promises.mkdir(path.dirname(storePath), { recursive: true });
6206
+ await fs$1.promises.mkdir(path.dirname(storePath), { recursive: true });
6207
6207
  const json = JSON.stringify(store, null, 2);
6208
6208
  if (process.platform === "win32") {
6209
6209
  const tmp = `${storePath}.${process.pid}.${crypto.randomUUID()}.tmp`;
6210
6210
  try {
6211
- await fsSync.promises.writeFile(tmp, json, "utf-8");
6211
+ await fs$1.promises.writeFile(tmp, json, "utf-8");
6212
6212
  for (let i = 0; i < 5; i++) try {
6213
- await fsSync.promises.rename(tmp, storePath);
6213
+ await fs$1.promises.rename(tmp, storePath);
6214
6214
  break;
6215
6215
  } catch {
6216
6216
  if (i < 4) await new Promise((r) => setTimeout(r, 50 * (i + 1)));
@@ -6220,27 +6220,27 @@ async function saveSessionStoreUnlocked(storePath, store, opts) {
6220
6220
  if ((err && typeof err === "object" && "code" in err ? String(err.code) : null) === "ENOENT") return;
6221
6221
  throw err;
6222
6222
  } finally {
6223
- await fsSync.promises.rm(tmp, { force: true }).catch(() => void 0);
6223
+ await fs$1.promises.rm(tmp, { force: true }).catch(() => void 0);
6224
6224
  }
6225
6225
  return;
6226
6226
  }
6227
6227
  const tmp = `${storePath}.${process.pid}.${crypto.randomUUID()}.tmp`;
6228
6228
  try {
6229
- await fsSync.promises.writeFile(tmp, json, {
6229
+ await fs$1.promises.writeFile(tmp, json, {
6230
6230
  mode: 384,
6231
6231
  encoding: "utf-8"
6232
6232
  });
6233
- await fsSync.promises.rename(tmp, storePath);
6234
- await fsSync.promises.chmod(storePath, 384);
6233
+ await fs$1.promises.rename(tmp, storePath);
6234
+ await fs$1.promises.chmod(storePath, 384);
6235
6235
  } catch (err) {
6236
6236
  if ((err && typeof err === "object" && "code" in err ? String(err.code) : null) === "ENOENT") {
6237
6237
  try {
6238
- await fsSync.promises.mkdir(path.dirname(storePath), { recursive: true });
6239
- await fsSync.promises.writeFile(storePath, json, {
6238
+ await fs$1.promises.mkdir(path.dirname(storePath), { recursive: true });
6239
+ await fs$1.promises.writeFile(storePath, json, {
6240
6240
  mode: 384,
6241
6241
  encoding: "utf-8"
6242
6242
  });
6243
- await fsSync.promises.chmod(storePath, 384);
6243
+ await fs$1.promises.chmod(storePath, 384);
6244
6244
  } catch (err2) {
6245
6245
  if ((err2 && typeof err2 === "object" && "code" in err2 ? String(err2.code) : null) === "ENOENT") return;
6246
6246
  throw err2;
@@ -6249,7 +6249,7 @@ async function saveSessionStoreUnlocked(storePath, store, opts) {
6249
6249
  }
6250
6250
  throw err;
6251
6251
  } finally {
6252
- await fsSync.promises.rm(tmp, { force: true });
6252
+ await fs$1.promises.rm(tmp, { force: true });
6253
6253
  }
6254
6254
  }
6255
6255
  async function updateSessionStore(storePath, mutator, opts) {
@@ -6494,8 +6494,8 @@ function resolveMirroredTranscriptText(params) {
6494
6494
  return trimmed ? trimmed : null;
6495
6495
  }
6496
6496
  async function ensureSessionHeader(params) {
6497
- if (fsSync.existsSync(params.sessionFile)) return;
6498
- await fsSync.promises.mkdir(path.dirname(params.sessionFile), { recursive: true });
6497
+ if (fs$1.existsSync(params.sessionFile)) return;
6498
+ await fs$1.promises.mkdir(path.dirname(params.sessionFile), { recursive: true });
6499
6499
  const header = {
6500
6500
  type: "session",
6501
6501
  version: CURRENT_SESSION_VERSION,
@@ -6503,7 +6503,7 @@ async function ensureSessionHeader(params) {
6503
6503
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
6504
6504
  cwd: process.cwd()
6505
6505
  };
6506
- await fsSync.promises.writeFile(params.sessionFile, `${JSON.stringify(header)}\n`, {
6506
+ await fs$1.promises.writeFile(params.sessionFile, `${JSON.stringify(header)}\n`, {
6507
6507
  encoding: "utf-8",
6508
6508
  mode: 384
6509
6509
  });
@@ -1,10 +1,10 @@
1
1
  import { f as DEFAULT_ACCOUNT_ID, p as normalizeAccountId } from "./session-key-BCzIW1Y2.js";
2
- import { M as normalizeE164, a as normalizeAnyChannelId, l as requireActivePluginRegistry, n as CHAT_CHANNEL_ORDER } from "./registry-DP24za6g.js";
3
- import { m as createAccountListHelpers } from "./accounts-CI6zQTJj.js";
2
+ import { M as normalizeE164, a as normalizeAnyChannelId, l as requireActivePluginRegistry, n as CHAT_CHANNEL_ORDER } from "./registry-CK4e9hn8.js";
3
+ import { m as createAccountListHelpers } from "./accounts-tNElYrCH.js";
4
4
  import { t as normalizeChatType } from "./chat-type-C_KiWNAH.js";
5
- import { r as isTruthyEnvValue } from "./command-format-UKHV-j0K.js";
6
- import { n as listBoundAccountIds, r as resolveDefaultAgentBoundAccountId } from "./bindings-BU2hsBd9.js";
7
- import fsSync from "node:fs";
5
+ import { r as isTruthyEnvValue } from "./command-format-BaxDnULz.js";
6
+ import { n as listBoundAccountIds, r as resolveDefaultAgentBoundAccountId } from "./bindings-B7Ke6LJi.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"
@@ -101,8 +101,8 @@ import "./pi-tools.policy-De00gPXt.js";
101
101
  import "./catalog-DLQFKucJ.js";
102
102
  import "./plugin-registry-D_BAH1V5.js";
103
103
  import { n as resolveCliChannelOptions } from "./channel-options-CxSIp3x-.js";
104
- import { t as getSubCliCommandsWithSubcommands } from "./register.subclis-CrTXa8cj.js";
105
- import { a as registerProgramCommands, r as getCoreCliCommandsWithSubcommands } from "./command-registry-DXt0PsFy.js";
104
+ import { t as getSubCliCommandsWithSubcommands } from "./register.subclis-wsgQ6wk8.js";
105
+ import { a as registerProgramCommands, r as getCoreCliCommandsWithSubcommands } from "./command-registry-CsDAPQfS.js";
106
106
  import { r as setProgramContext } from "./program-context-CqzR_m-7.js";
107
107
  import { t as forceFreePort } from "./ports-Dn122MUd.js";
108
108
  import { n as formatCliBannerLine, r as hasEmittedCliBanner, t as emitCliBanner } from "./banner-DRJJmkv1.js";
@@ -43,7 +43,7 @@ const entries = [
43
43
  description: "Run, inspect, and query the WebSocket Gateway",
44
44
  hasSubcommands: true,
45
45
  register: async (program) => {
46
- (await import("./gateway-cli-XIsXoJZ3.js")).registerGatewayCli(program);
46
+ (await import("./gateway-cli-70k2-I4K.js")).registerGatewayCli(program);
47
47
  }
48
48
  },
49
49
  {
@@ -231,7 +231,7 @@ const entries = [
231
231
  description: "Update Symi and inspect update channel status",
232
232
  hasSubcommands: true,
233
233
  register: async (program) => {
234
- (await import("./update-cli-D18nWvzY.js")).registerUpdateCli(program);
234
+ (await import("./update-cli-C22V-tFW.js")).registerUpdateCli(program);
235
235
  }
236
236
  },
237
237
  {
@@ -239,7 +239,7 @@ const entries = [
239
239
  description: "Generate shell completion script",
240
240
  hasSubcommands: false,
241
241
  register: async (program) => {
242
- (await import("./completion-cli-BsSDzZNA.js").then((n) => n.n)).registerCompletionCli(program);
242
+ (await import("./completion-cli-B_f5PMBc.js").then((n) => n.n)).registerCompletionCli(program);
243
243
  }
244
244
  }
245
245
  ];
@@ -302,7 +302,7 @@ const coreEntries = [
302
302
  hasSubcommands: false
303
303
  }],
304
304
  register: async ({ program }) => {
305
- (await import("./register.setup-DFDb5BDi.js")).registerSetupCommand(program);
305
+ (await import("./register.setup-CzrsIQMG.js")).registerSetupCommand(program);
306
306
  }
307
307
  },
308
308
  {
@@ -312,7 +312,7 @@ const coreEntries = [
312
312
  hasSubcommands: false
313
313
  }],
314
314
  register: async ({ program }) => {
315
- (await import("./register.onboard-D1X2dUGZ.js")).registerOnboardCommand(program);
315
+ (await import("./register.onboard-mCscJN7t.js")).registerOnboardCommand(program);
316
316
  }
317
317
  },
318
318
  {
@@ -359,7 +359,7 @@ const coreEntries = [
359
359
  }
360
360
  ],
361
361
  register: async ({ program }) => {
362
- (await import("./register.maintenance-D1MuIUlv.js")).registerMaintenanceCommands(program);
362
+ (await import("./register.maintenance-CvaHYkoX.js")).registerMaintenanceCommands(program);
363
363
  }
364
364
  },
365
365
  {
@@ -43,7 +43,7 @@ import { n as logConfigUpdated } from "./logging-BzzwiKjv.js";
43
43
  import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-QnaBd8kL.js";
44
44
  import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-aQ75ZlXY.js";
45
45
  import { t as formatHealthCheckFailure } from "./health-format-DSwnXZPU.js";
46
- import { n as doctorShellCompletion } from "./doctor-completion-8qbLmeX0.js";
46
+ import { n as doctorShellCompletion } from "./doctor-completion-BWJvfjTC.js";
47
47
  import fs from "node:fs";
48
48
  import os from "node:os";
49
49
  import path from "node:path";
@@ -40,7 +40,7 @@ import { n as logConfigUpdated } from "./logging-BGewRZy0.js";
40
40
  import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-CA3eiKhd.js";
41
41
  import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-DA_LW52P.js";
42
42
  import { t as formatHealthCheckFailure } from "./health-format-CzgUHmmX.js";
43
- import { n as doctorShellCompletion } from "./doctor-completion-Dnxn_-ov.js";
43
+ import { n as doctorShellCompletion } from "./doctor-completion-llX6EnGy.js";
44
44
  import { execFile } from "node:child_process";
45
45
  import os from "node:os";
46
46
  import path from "node:path";
@@ -1,15 +1,15 @@
1
- import "./paths-CySxpNhH.js";
2
- import { dt as resolvePreferredSymiTmpDir } from "./registry-DP24za6g.js";
3
- import "./agent-scope-Bw1Ed8W9.js";
4
- import "./subsystem-DgpxyDQ_.js";
5
- import "./workspace-CbvamIU6.js";
1
+ import "./paths-Cce4PUkG.js";
2
+ import { dt as resolvePreferredSymiTmpDir } from "./registry-CK4e9hn8.js";
3
+ import "./agent-scope-BxoUQqgM.js";
4
+ import "./subsystem-Bs9YvKLa.js";
5
+ import "./workspace-wAaHI8-5.js";
6
6
  import "./boolean-B8-BqKGQ.js";
7
- import { t as formatCliCommand } from "./command-format-UKHV-j0K.js";
8
- import "./model-auth-CwOuTuXl.js";
9
- import "./github-copilot-token-DJqsJ2-r.js";
10
- import "./config-eEaJddXj.js";
11
- import "./manifest-registry-CneMHk0N.js";
12
- import { _ as fetchJson, b as withCdpSocket, d as normalizeCdpWsUrl, g as appendCdpPath, h as withBrowserNavigationPolicy, m as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, u as formatAriaSnapshot, y as getHeadersWithAuth } from "./chrome-CxSAp8x3.js";
7
+ import { t as formatCliCommand } from "./command-format-BaxDnULz.js";
8
+ import "./model-auth-DK43VicI.js";
9
+ import "./github-copilot-token-C_qUP7p5.js";
10
+ import "./config-DRbjHIwD.js";
11
+ import "./manifest-registry-D0IQ3WuX.js";
12
+ import { _ as fetchJson, b as withCdpSocket, d as normalizeCdpWsUrl, g as appendCdpPath, h as withBrowserNavigationPolicy, m as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, u as formatAriaSnapshot, y as getHeadersWithAuth } from "./chrome-EyvdASWt.js";
13
13
  import "./redact-jSxx6Ep2.js";
14
14
  import { n as formatErrorMessage } from "./errors-BoQgnc8X.js";
15
15
  import "./ssrf-BTMDZjHT.js";
@@ -1,12 +1,12 @@
1
- import { s as resolveStateDir } from "./paths-CySxpNhH.js";
1
+ import { s as resolveStateDir } from "./paths-Cce4PUkG.js";
2
2
  import { y as parseAgentSessionKey } from "./session-key-BCzIW1Y2.js";
3
- import "./registry-DP24za6g.js";
4
- import { s as resolveAgentWorkspaceDir } from "./agent-scope-Bw1Ed8W9.js";
5
- import { t as createSubsystemLogger } from "./subsystem-DgpxyDQ_.js";
6
- import "./workspace-CbvamIU6.js";
3
+ import "./registry-CK4e9hn8.js";
4
+ import { s as resolveAgentWorkspaceDir } from "./agent-scope-BxoUQqgM.js";
5
+ import { t as createSubsystemLogger } from "./subsystem-Bs9YvKLa.js";
6
+ import "./workspace-wAaHI8-5.js";
7
7
  import "./redact-jSxx6Ep2.js";
8
- import "./paths-Cb87-LzP.js";
9
- import { _ as isFileMissingError, n as buildSessionEntry, r as listSessionFilesForAgent, t as requireNodeSqlite, v as statRegularFile } from "./sqlite-6H6Zw1cs.js";
8
+ import "./paths-DLyHUt31.js";
9
+ import { _ as isFileMissingError, n as buildSessionEntry, r as listSessionFilesForAgent, t as requireNodeSqlite, v as statRegularFile } from "./sqlite-DRbx2dhW.js";
10
10
  import fs from "node:fs/promises";
11
11
  import os from "node:os";
12
12
  import path from "node:path";
@@ -104,10 +104,10 @@ import "./catalog-DLQFKucJ.js";
104
104
  import "./note-DDecZomM.js";
105
105
  import "./plugin-auto-enable-D6ENR3Xg.js";
106
106
  import "./channels-status-issues-c7qZbYG5.js";
107
- import "./register.subclis-CrTXa8cj.js";
108
- import "./command-registry-DXt0PsFy.js";
107
+ import "./register.subclis-wsgQ6wk8.js";
108
+ import "./command-registry-CsDAPQfS.js";
109
109
  import "./program-context-CqzR_m-7.js";
110
- import "./completion-cli-CPMOXTf2.js";
110
+ import "./completion-cli-CSdjFWHy.js";
111
111
  import "./daemon-runtime-CfRwa6qh.js";
112
112
  import "./runtime-guard-D7waq_Ho.js";
113
113
  import "./systemd-DlMdyFDY.js";
@@ -123,8 +123,8 @@ import "./logging-BGewRZy0.js";
123
123
  import "./doctor-config-flow-CA3eiKhd.js";
124
124
  import "./systemd-linger-DA_LW52P.js";
125
125
  import "./health-format-CzgUHmmX.js";
126
- import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-BCHe7Fks.js";
127
- import "./doctor-completion-Dnxn_-ov.js";
126
+ import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-BeJhp9PS.js";
127
+ import "./doctor-completion-llX6EnGy.js";
128
128
  import path from "node:path";
129
129
  import fs from "node:fs/promises";
130
130
  import { cancel, confirm, isCancel, multiselect } from "@clack/prompts";
@@ -103,14 +103,14 @@ import "./control-service-Bz7rxLWq.js";
103
103
  import "./stagger-BUClb97_.js";
104
104
  import "./channel-selection-DuWs0Aak.js";
105
105
  import "./runtime-guard-B37eizu-.js";
106
- import "./program-context-qVc_lsLV.js";
106
+ import "./program-context-JFmxYLfK.js";
107
107
  import "./catalog-RiADx7MA.js";
108
108
  import "./skills-status-CURJKnyY.js";
109
109
  import { t as copyToClipboard } from "./clipboard-Cg3cin13.js";
110
110
  import "./note-DeHoW7xO.js";
111
111
  import "./plugin-auto-enable-BzX1uAKy.js";
112
112
  import "./channels-status-issues-B_kBkl_u.js";
113
- import "./completion-cli-BsSDzZNA.js";
113
+ import "./completion-cli-B_f5PMBc.js";
114
114
  import "./daemon-runtime-2mwX-jqj.js";
115
115
  import "./systemd-riq8uNJQ.js";
116
116
  import { t as resolveGatewayService } from "./service-Cl74hx8J.js";
@@ -125,8 +125,8 @@ import "./logging-BzzwiKjv.js";
125
125
  import "./doctor-config-flow-QnaBd8kL.js";
126
126
  import "./systemd-linger-aQ75ZlXY.js";
127
127
  import "./health-format-DSwnXZPU.js";
128
- import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-C0yn8YjW.js";
129
- import "./doctor-completion-8qbLmeX0.js";
128
+ import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled--d3H0JCo.js";
129
+ import "./doctor-completion-BWJvfjTC.js";
130
130
  import path from "node:path";
131
131
  import fs from "node:fs/promises";
132
132
  import { cancel, confirm, isCancel, multiselect } from "@clack/prompts";
@@ -104,7 +104,7 @@ import "./runtime-guard-D7waq_Ho.js";
104
104
  import "./systemd-DlMdyFDY.js";
105
105
  import "./service-Cm9j9WzQ.js";
106
106
  import "./health-BmaWws9G.js";
107
- import "./onboarding-Dfjn2-9q.js";
107
+ import "./onboarding-Peg7PNOz.js";
108
108
  import "./shared-D8K9MkWg.js";
109
109
  import "./auth-token-Cmrk2TPo.js";
110
110
  import "./logging-BGewRZy0.js";
@@ -113,7 +113,7 @@ import "./openai-model-default-DAwnTUcK.js";
113
113
  import "./model-picker-D5nCutGW.js";
114
114
  import "./systemd-linger-DA_LW52P.js";
115
115
  import "./onboard-custom-DdWPfzJO.js";
116
- import { n as ONBOARD_PROVIDER_AUTH_FLAGS, t as onboardCommand } from "./onboard-CXOUIg28.js";
116
+ import { n as ONBOARD_PROVIDER_AUTH_FLAGS, t as onboardCommand } from "./onboard-1wGdR0wt.js";
117
117
 
118
118
  //#region src/cli/program/register.onboard.ts
119
119
  function resolveInstallDaemonFlag(command, opts) {
@@ -108,7 +108,7 @@ import "./daemon-runtime-2mwX-jqj.js";
108
108
  import "./systemd-riq8uNJQ.js";
109
109
  import "./service-Cl74hx8J.js";
110
110
  import "./health-BBGgp_dC.js";
111
- import "./onboarding-C58wjONa.js";
111
+ import "./onboarding-gQRA57l_.js";
112
112
  import "./shared-Knv1hy6h.js";
113
113
  import "./auth-token-BnOynwk4.js";
114
114
  import "./logging-BzzwiKjv.js";
@@ -117,7 +117,7 @@ import "./openai-model-default-DMjQRsb1.js";
117
117
  import "./model-picker-Ddo3jHe-.js";
118
118
  import "./systemd-linger-aQ75ZlXY.js";
119
119
  import "./onboard-custom-C7O-zfQ1.js";
120
- import { n as ONBOARD_PROVIDER_AUTH_FLAGS, t as onboardCommand } from "./onboard-DBeHwdks.js";
120
+ import { n as ONBOARD_PROVIDER_AUTH_FLAGS, t as onboardCommand } from "./onboard-nQYq_dsr.js";
121
121
 
122
122
  //#region src/cli/program/register.onboard.ts
123
123
  function resolveInstallDaemonFlag(command, opts) {
@@ -105,7 +105,7 @@ import "./runtime-guard-D7waq_Ho.js";
105
105
  import "./systemd-DlMdyFDY.js";
106
106
  import "./service-Cm9j9WzQ.js";
107
107
  import "./health-BmaWws9G.js";
108
- import "./onboarding-Dfjn2-9q.js";
108
+ import "./onboarding-Peg7PNOz.js";
109
109
  import "./shared-D8K9MkWg.js";
110
110
  import "./auth-token-Cmrk2TPo.js";
111
111
  import { n as logConfigUpdated, t as formatConfigPath } from "./logging-BGewRZy0.js";
@@ -113,7 +113,7 @@ import "./openai-model-default-DAwnTUcK.js";
113
113
  import "./model-picker-D5nCutGW.js";
114
114
  import "./systemd-linger-DA_LW52P.js";
115
115
  import "./onboard-custom-DdWPfzJO.js";
116
- import { t as onboardCommand } from "./onboard-CXOUIg28.js";
116
+ import { t as onboardCommand } from "./onboard-1wGdR0wt.js";
117
117
  import JSON5 from "json5";
118
118
  import fs from "node:fs/promises";
119
119
 
@@ -109,7 +109,7 @@ import "./daemon-runtime-2mwX-jqj.js";
109
109
  import "./systemd-riq8uNJQ.js";
110
110
  import "./service-Cl74hx8J.js";
111
111
  import "./health-BBGgp_dC.js";
112
- import "./onboarding-C58wjONa.js";
112
+ import "./onboarding-gQRA57l_.js";
113
113
  import "./shared-Knv1hy6h.js";
114
114
  import "./auth-token-BnOynwk4.js";
115
115
  import { n as logConfigUpdated, t as formatConfigPath } from "./logging-BzzwiKjv.js";
@@ -117,7 +117,7 @@ import "./openai-model-default-DMjQRsb1.js";
117
117
  import "./model-picker-Ddo3jHe-.js";
118
118
  import "./systemd-linger-aQ75ZlXY.js";
119
119
  import "./onboard-custom-C7O-zfQ1.js";
120
- import { t as onboardCommand } from "./onboard-DBeHwdks.js";
120
+ import { t as onboardCommand } from "./onboard-nQYq_dsr.js";
121
121
  import JSON5 from "json5";
122
122
  import fs from "node:fs/promises";
123
123
 
@@ -49,7 +49,7 @@ const entries = [
49
49
  description: "Run, inspect, and query the WebSocket Gateway",
50
50
  hasSubcommands: true,
51
51
  register: async (program) => {
52
- (await import("./gateway-cli-DKDpOBp-.js")).registerGatewayCli(program);
52
+ (await import("./gateway-cli-BApdH1bD.js")).registerGatewayCli(program);
53
53
  }
54
54
  },
55
55
  {
@@ -237,7 +237,7 @@ const entries = [
237
237
  description: "Update Symi and inspect update channel status",
238
238
  hasSubcommands: true,
239
239
  register: async (program) => {
240
- (await import("./update-cli-BkU6ori8.js")).registerUpdateCli(program);
240
+ (await import("./update-cli-BEBDpJF4.js")).registerUpdateCli(program);
241
241
  }
242
242
  },
243
243
  {
@@ -245,7 +245,7 @@ const entries = [
245
245
  description: "Generate shell completion script",
246
246
  hasSubcommands: false,
247
247
  register: async (program) => {
248
- (await import("./completion-cli-CPMOXTf2.js").then((n) => n.n)).registerCompletionCli(program);
248
+ (await import("./completion-cli-CSdjFWHy.js").then((n) => n.n)).registerCompletionCli(program);
249
249
  }
250
250
  }
251
251
  ];