@symerian/symi 2.5.4 → 2.5.6
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.
- package/dist/{accounts-tNElYrCH.js → accounts-CI6zQTJj.js} +14 -14
- package/dist/{accounts-qtxJ-6em.js → accounts-CJR8j_Kq.js} +1 -1
- package/dist/{accounts-CWktKM8a.js → accounts-ChTFYj8Q.js} +1 -1
- package/dist/{active-listener-C9r8ZB9m.js → active-listener-D6sXIjAg.js} +1 -1
- package/dist/{agent-scope-BxoUQqgM.js → agent-scope-Bw1Ed8W9.js} +3 -3
- package/dist/{agents-CTPFuwCu.js → agents-C-zwlmkD.js} +4 -4
- package/dist/{agents.config-CQVRXowo.js → agents.config-BhirEHt2.js} +1 -1
- package/dist/{agents.config-CVlanyIt.js → agents.config-Cuvv6Uxa.js} +1 -1
- package/dist/{audio-preflight-D02HwB-I.js → audio-preflight-BkIfnmpi.js} +29 -29
- package/dist/{auth-choice-BKmjyPNC.js → auth-choice-CKfB5JPP.js} +1 -1
- package/dist/{auth-choice-AlA3IixA.js → auth-choice-vHGMmJ9y.js} +1 -1
- package/dist/{banner-8_qXSW1S.js → banner-DYRlXmOu.js} +1 -1
- package/dist/{bindings-B7Ke6LJi.js → bindings-BU2hsBd9.js} +2 -2
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +53 -53
- package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
- package/dist/bundled/command-logger/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +53 -53
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-CsM_hJ_s.js → channel-activity-C9-gaquj.js} +1 -1
- package/dist/{channel-options-CMm67N4v.js → channel-options-BLLQIoS0.js} +1 -1
- package/dist/{channel-options-nfXd5NWO.js → channel-options-CUCoqIfn.js} +1 -1
- package/dist/{channel-web-D6t5UK5A.js → channel-web-C-KPvAUY.js} +1 -1
- package/dist/{channels-cli-B_iBgjWh.js → channels-cli--qI2IkMe.js} +4 -4
- package/dist/{channels-cli-BA9QVK8Q.js → channels-cli-0g5R4QeZ.js} +4 -4
- package/dist/{chrome-EyvdASWt.js → chrome-CxSAp8x3.js} +13 -13
- package/dist/{chunk-BW5f05BR.js → chunk-ClbN9Pqy.js} +1 -1
- package/dist/{cli-BF2nSOtU.js → cli-DJHjm2Kh.js} +1 -1
- package/dist/{cli-DyI0-h78.js → cli-pSBGjcjV.js} +1 -1
- package/dist/{command-format-BaxDnULz.js → command-format-UKHV-j0K.js} +1 -1
- package/dist/{command-registry-Be3hDEmx.js → command-registry-Cy7a5Xcu.js} +9 -9
- package/dist/{commands-registry-D7CTCQPm.js → commands-registry-VSmULp-g.js} +4 -4
- package/dist/{completion-cli-DxditxWW.js → completion-cli-C-OS6kYL.js} +1 -1
- package/dist/{completion-cli-C3hbO0zE.js → completion-cli-DErjG0lV.js} +2 -2
- package/dist/{config-cli-7yzVs6sD.js → config-cli-BsBWYY8X.js} +1 -1
- package/dist/{config-cli-9MIL9tVq.js → config-cli-DFuOjqjk.js} +1 -1
- package/dist/{config-DRbjHIwD.js → config-eEaJddXj.js} +12 -12
- package/dist/{configure-rs23A6dR.js → configure-TTAIJBn8.js} +3 -3
- package/dist/{configure-BWIGtf_8.js → configure-h82jPKQi.js} +3 -3
- package/dist/{deliver-D1ZN6-fl.js → deliver-BA7ZN3iM.js} +20 -20
- package/dist/{diagnostic-CI0kRQkt.js → diagnostic-C3nsWaw3.js} +1 -1
- package/dist/{doctor-completion-DKL7Fzep.js → doctor-completion-BbGM1ada.js} +1 -1
- package/dist/{doctor-completion-CRgIetEl.js → doctor-completion-Dun5W6M-.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +1 -1
- package/dist/{frontmatter-C_bv_0P8.js → frontmatter-DPlG6yha.js} +2 -2
- package/dist/{gateway-cli-q04qp27D.js → gateway-cli-BzihvR67.js} +13 -11
- package/dist/{gateway-cli-CEWIFRt0.js → gateway-cli-DGd0MHyj.js} +13 -11
- package/dist/{gemini-auth-CdSPHuLl.js → gemini-auth-CF48hUR9.js} +1 -1
- package/dist/{github-copilot-token-C_qUP7p5.js → github-copilot-token-DJqsJ2-r.js} +7 -7
- package/dist/{glass-ui-ws-0yPnNh0o.js → glass-ui-ws-BgAvm1ZX.js} +7 -7
- package/dist/{glass-ui-ws-DtFvFNZp.js → glass-ui-ws-C4AdoDVx.js} +7 -7
- package/dist/{health-R_6vQfbY.js → health-B_0VYYAz.js} +1 -1
- package/dist/{health-CGJe8xON.js → health-CnR_-oJB.js} +1 -1
- package/dist/{hooks-cli-Cvc0R8C2.js → hooks-cli-DHY257oF.js} +2 -2
- package/dist/{hooks-cli-CUTMGbml.js → hooks-cli-SzFS-UE-.js} +2 -2
- package/dist/{image-Cp3JDEBB.js → image-BGmVDkkw.js} +4 -4
- package/dist/{image-ops-CvJzsyvE.js → image-ops-S8-8dAhx.js} +1 -1
- package/dist/index.js +6 -6
- package/dist/{ir-DccrnjsE.js → ir-CbFUkv_T.js} +4 -4
- package/dist/llm-slug-generator.js +53 -53
- package/dist/{local-roots-DMwIh5cS.js → local-roots-C7OCYACU.js} +5 -5
- package/dist/{login-CwCoxapk.js → login-B8uiUAnV.js} +7 -7
- package/dist/{login-qr-Batf3PT5.js → login-qr-CIZk8uKX.js} +12 -12
- package/dist/{manager-D_LwXbc6.js → manager-BoLr3xR_.js} +13 -13
- package/dist/{manifest-registry-D0IQ3WuX.js → manifest-registry-CneMHk0N.js} +19 -19
- package/dist/{markdown-tables-iMQQZu4Q.js → markdown-tables-DSHvnTLx.js} +1 -1
- package/dist/{message-channel-Dz5lr5b0.js → message-channel-DbsRltF2.js} +1 -1
- package/dist/{model-auth-DK43VicI.js → model-auth-CwOuTuXl.js} +9 -9
- package/dist/{models-DPk6zVF5.js → models-5jM2RayT.js} +2 -2
- package/dist/{models-cli-BhijD6uM.js → models-cli-Cgj3-01s.js} +3 -3
- package/dist/{models-cli-1hWA7FrI.js → models-cli-CvD01IPe.js} +2 -2
- package/dist/{onboard-Ob6VUhMj.js → onboard-CG_dt1-i.js} +2 -2
- package/dist/{onboard-FadtPlJX.js → onboard-CQdHpiGe.js} +2 -2
- package/dist/{onboard-channels-D680exuN.js → onboard-channels-BEE7ctUH.js} +1 -1
- package/dist/{onboard-channels-r6Gvo5Cd.js → onboard-channels-CV2E5uqw.js} +1 -1
- package/dist/{onboarding-CeLx4VEB.js → onboarding-CImYGoGs.js} +3 -3
- package/dist/{onboarding-BL5h6kMP.js → onboarding-CnDTeetJ.js} +3 -3
- package/dist/{onboarding.finalize-EOjEh487.js → onboarding.finalize-PsAMCvC4.js} +6 -6
- package/dist/{onboarding.finalize-y1rlw-1v.js → onboarding.finalize-XA0M28ax.js} +5 -5
- package/dist/{outbound-attachment-DjNDa3zn.js → outbound-attachment-Co2diKdP.js} +2 -2
- package/dist/{outbound-D4fN_ZlE.js → outbound-opDNxv-l.js} +7 -7
- package/dist/{paths-DLyHUt31.js → paths-Cb87-LzP.js} +1 -1
- package/dist/{paths-Cce4PUkG.js → paths-CySxpNhH.js} +5 -5
- package/dist/{pi-auth-json-0SYBFZTt.js → pi-auth-json-DPWPoruO.js} +8 -8
- package/dist/{pi-embedded-Cuoz1LlF.js → pi-embedded-BoObe4LL.js} +162 -161
- package/dist/{pi-embedded-D7S6Iuxk.js → pi-embedded-CxeVR0iH.js} +6 -5
- package/dist/{pi-embedded-helpers-ag2bosuj.js → pi-embedded-helpers-DEEaCvEp.js} +52 -52
- package/dist/{plugin-registry-DZ4m64Mr.js → plugin-registry-BCiEkngD.js} +1 -1
- package/dist/{plugin-registry-BtIkzwfi.js → plugin-registry-DIvEhT-N.js} +1 -1
- package/dist/plugin-sdk/{channel-web-CkBYE0D-.js → channel-web-ZDgr_tEt.js} +1 -1
- package/dist/plugin-sdk/index.js +2 -2
- package/dist/plugin-sdk/{reply-DCiyoHqU.js → reply-B6dnSZL8.js} +6 -5
- package/dist/plugin-sdk/{web-DMTBKWMU.js → web-Cs8UsiAE.js} +2 -2
- package/dist/{plugins-DQYI3Fr-.js → plugins-C4C9637U.js} +9 -9
- package/dist/{plugins-cli-CRb9nRFi.js → plugins-cli-C5yJIYJi.js} +2 -2
- package/dist/{plugins-cli-DqE-InfX.js → plugins-cli-tmjVtXCB.js} +2 -2
- package/dist/{program-Dh_NkeL_.js → program-Ca2for1-.js} +7 -7
- package/dist/{program-context-C6OueMej.js → program-context-BCUX2Nks.js} +17 -17
- package/dist/{prompt-select-styled-CmbX-Peb.js → prompt-select-styled-CQHjO6cn.js} +4 -4
- package/dist/{prompt-select-styled-B_XU_pph.js → prompt-select-styled-D4fL09YB.js} +4 -4
- package/dist/{provider-auth-helpers-BDN3x0AU.js → provider-auth-helpers-BOPjr8Hp.js} +1 -1
- package/dist/{provider-auth-helpers-CwUeZ41c.js → provider-auth-helpers-hVbz-9Kx.js} +1 -1
- package/dist/{push-apns-BBaXO4aV.js → push-apns-BGed3jID.js} +1 -1
- package/dist/{push-apns-CgmHr336.js → push-apns-Dvev_pGx.js} +1 -1
- package/dist/{pw-ai-Ch7liUOW.js → pw-ai-DhwRiS06.js} +11 -11
- package/dist/{qmd-manager-QHUP-_em.js → qmd-manager-DdZh9PHs.js} +7 -7
- package/dist/{register.agent-zqbU35_d.js → register.agent-B1stLSUm.js} +6 -6
- package/dist/{register.agent-BDIn4sRN.js → register.agent-CeyrNkOh.js} +5 -5
- package/dist/{register.configure-B9Atehb4.js → register.configure-CL1qsRsF.js} +6 -6
- package/dist/{register.configure-CBWMCe2I.js → register.configure-NHopwe6g.js} +6 -6
- package/dist/{register.maintenance-CzdnuWVy.js → register.maintenance-C8M0d4fM.js} +8 -8
- package/dist/{register.maintenance-aLrIiGjI.js → register.maintenance-CScpju68.js} +7 -7
- package/dist/{register.message-Dg0Q8NL0.js → register.message-FddF6AGb.js} +2 -2
- package/dist/{register.message-B6KDPfgh.js → register.message-G13g5zE0.js} +2 -2
- package/dist/{register.onboard-B_0R2fhe.js → register.onboard-CocXCO2O.js} +4 -4
- package/dist/{register.onboard-DY6yrdh6.js → register.onboard-CtjREg9H.js} +4 -4
- package/dist/{register.setup-BMEEidVS.js → register.setup-A2pJJq8s.js} +4 -4
- package/dist/{register.setup-DUBzMFHd.js → register.setup-DPUOwOwT.js} +4 -4
- package/dist/{register.status-health-sessions-C3M6B_3w.js → register.status-health-sessions-CZ-BArps.js} +3 -3
- package/dist/{register.status-health-sessions-DL9QESHL.js → register.status-health-sessions-ChCsybS4.js} +3 -3
- package/dist/{register.subclis-CWosGlSy.js → register.subclis-DxUdic-V.js} +9 -9
- package/dist/{registry-CK4e9hn8.js → registry-DP24za6g.js} +17 -17
- package/dist/{replies-BIX_isV7.js → replies-DpPvWiGF.js} +3 -3
- package/dist/{reply-ahHa59uT.js → reply-Ctyysgpp.js} +6 -5
- package/dist/{reply-prefix-XlyuyChD.js → reply-prefix-CtL0omgM.js} +1 -1
- package/dist/{resolve-route-CZ-1eqw0.js → resolve-route-BVikmvWO.js} +4 -4
- package/dist/{retry-Cly39XZB.js → retry-dGG-MbxL.js} +1 -1
- package/dist/{run-main-ChZAqQNU.js → run-main-l7jpr7im.js} +14 -14
- package/dist/{runner-D0QUGA_X.js → runner-B_KP4voe.js} +9 -9
- package/dist/{send-DeFniOjh.js → send-CHEOWVc8.js} +6 -6
- package/dist/{send-WyRqb4WD.js → send-DbcLJb0P.js} +7 -7
- package/dist/{send-B1u-LrcS.js → send-DeEosX8F.js} +18 -18
- package/dist/{send-CiTGOvEc.js → send-DwKJK3sM.js} +10 -10
- package/dist/{send-DW96zgDL.js → send-zSarozV2.js} +6 -6
- package/dist/{server-methods-CGVoOkf3.js → server-methods-SgJRxF2Z.js} +7 -7
- package/dist/{server-methods-B9ZPWP0q.js → server-methods-UoDpfcdK.js} +7 -7
- package/dist/{server-node-events-DzlyRIPt.js → server-node-events-CIsxaaN2.js} +2 -2
- package/dist/{server-node-events-CjoofPGv.js → server-node-events-DIZ6YgkJ.js} +2 -2
- package/dist/{session-SM36BTsl.js → session-DV1MNlbV.js} +8 -8
- package/dist/{skill-commands-BJMb_psG.js → skill-commands-D610IKhm.js} +9 -9
- package/dist/{skills-BFekKL7i.js → skills-o5WVqM4V.js} +21 -21
- package/dist/{sqlite-DRbx2dhW.js → sqlite-6H6Zw1cs.js} +4 -4
- package/dist/{status-Dd3-6fq5.js → status--s6vuxyI.js} +2 -2
- package/dist/{status-DNRd5-AN.js → status-Ht9BRQAx.js} +1 -1
- package/dist/{status-TUjwchut.js → status-OyqCjO3u.js} +1 -1
- package/dist/{status-Csa1fdSW.js → status-ygwPf63x.js} +2 -2
- package/dist/{store-C0wvOkae.js → store-vVE6N2mH.js} +2 -2
- package/dist/{subagent-registry-DfimjEyh.js → subagent-registry-DraLysSX.js} +6 -5
- package/dist/{subsystem-Bs9YvKLa.js → subsystem-DgpxyDQ_.js} +1 -1
- package/dist/{tables-DuZspiBu.js → tables-BIWsCKXJ.js} +1 -1
- package/dist/{target-errors-Be1SwYlW.js → target-errors-DyItGyW9.js} +2 -2
- package/dist/{thinking-CdlENGRW.js → thinking-Ni0HF-w6.js} +5 -5
- package/dist/{tokens-H1H1LiSQ.js → tokens-c_SLAkVb.js} +1 -1
- package/dist/{tool-images-DXB7tqWi.js → tool-images-DBCfXdli.js} +2 -2
- package/dist/{tool-loop-detection-Cs8_HCsx.js → tool-loop-detection-Bbc9OPFR.js} +3 -3
- package/dist/{update-cli-_VRN7Kfv.js → update-cli-BerlMjhn.js} +8 -8
- package/dist/{update-cli-B8TIn1_v.js → update-cli-DJQ8rqnN.js} +7 -7
- package/dist/{update-runner-CB0M0lum.js → update-runner-UfdNrumf.js} +1 -1
- package/dist/{update-runner-C0hYiaj2.js → update-runner-oSl0jaVn.js} +1 -1
- package/dist/{web-BMLeQ_Ql.js → web-BSJ15erX.js} +1 -1
- package/dist/{web-BUrK0rTE.js → web-CIbnie2y.js} +2 -2
- package/dist/{web-DEbB7-Xr.js → web-DTKwHUfr.js} +57 -57
- package/dist/{web-ysMm0Pnv.js → web-DX-Sk1uG.js} +1 -1
- package/dist/{whatsapp-actions-D1RsnX7P.js → whatsapp-actions-oRQjcdQe.js} +23 -23
- package/dist/{workspace-wAaHI8-5.js → workspace-CbvamIU6.js} +6 -6
- package/package.json +1 -1
|
@@ -15,7 +15,7 @@ import "./client-DMBZpU6X.js";
|
|
|
15
15
|
import { n as callGateway } from "./call-BcE47FtD.js";
|
|
16
16
|
import "./message-channel-C9dERklz.js";
|
|
17
17
|
import "./pairing-token-Byh6drgn.js";
|
|
18
|
-
import { h as deleteTelegramUpdateOffset, in as formatUsageReportLines, rn as loadProviderUsageSummary } from "./subagent-registry-
|
|
18
|
+
import { h as deleteTelegramUpdateOffset, in as formatUsageReportLines, rn as loadProviderUsageSummary } from "./subagent-registry-DraLysSX.js";
|
|
19
19
|
import "./sessions-CJXnZVjR.js";
|
|
20
20
|
import "./tokens-Csntmwwn.js";
|
|
21
21
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin, u as resolveTelegramAccount } from "./plugins-CwSlLxM8.js";
|
|
@@ -110,13 +110,13 @@ import "./install-safe-path-BK8js28D.js";
|
|
|
110
110
|
import "./npm-registry-spec-DkaZNHAW.js";
|
|
111
111
|
import "./skill-scanner-BGWOBqLY.js";
|
|
112
112
|
import "./installs-CgQpVncj.js";
|
|
113
|
-
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-
|
|
113
|
+
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-CV2E5uqw.js";
|
|
114
114
|
import { t as requireValidConfigSnapshot } from "./config-validation-BITwrsxY.js";
|
|
115
115
|
import { t as buildChannelAccountSnapshot } from "./status-BUedPCLb.js";
|
|
116
116
|
import { t as parseLogLine } from "./parse-log-line-C6yJx969.js";
|
|
117
117
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-c7qZbYG5.js";
|
|
118
|
-
import "./plugin-registry-
|
|
119
|
-
import { t as formatCliChannelOptions } from "./channel-options-
|
|
118
|
+
import "./plugin-registry-DIvEhT-N.js";
|
|
119
|
+
import { t as formatCliChannelOptions } from "./channel-options-BLLQIoS0.js";
|
|
120
120
|
import fs from "node:fs/promises";
|
|
121
121
|
|
|
122
122
|
//#region src/commands/channels/add-mutators.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-Cqn-zk3M.js";
|
|
2
2
|
import { B as theme, O as danger, P as setVerbose, U as getResolvedLoggerSettings, d as isRecord } from "./utils-B-0b9bGM.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import { _t as formatUsageReportLines, gt as loadProviderUsageSummary, pt as deleteTelegramUpdateOffset } from "./reply-
|
|
4
|
+
import { _t as formatUsageReportLines, gt as loadProviderUsageSummary, pt as deleteTelegramUpdateOffset } from "./reply-Ctyysgpp.js";
|
|
5
5
|
import { h as normalizeAccountId, m as DEFAULT_ACCOUNT_ID } from "./session-key-DCt45XZa.js";
|
|
6
6
|
import { r as DEFAULT_CHAT_CHANNEL } from "./registry-Cja8eT7G.js";
|
|
7
7
|
import { f as defaultRuntime } from "./subsystem-D9vIQve0.js";
|
|
@@ -105,8 +105,8 @@ import "./control-service-Bz7rxLWq.js";
|
|
|
105
105
|
import "./stagger-BUClb97_.js";
|
|
106
106
|
import { n as resolveMessageChannelSelection } from "./channel-selection-DuWs0Aak.js";
|
|
107
107
|
import { r as listChannelPluginCatalogEntries } from "./catalog-RiADx7MA.js";
|
|
108
|
-
import "./plugin-registry-
|
|
109
|
-
import { t as formatCliChannelOptions } from "./channel-options-
|
|
108
|
+
import "./plugin-registry-BCiEkngD.js";
|
|
109
|
+
import { t as formatCliChannelOptions } from "./channel-options-CUCoqIfn.js";
|
|
110
110
|
import { t as hasExplicitOptions } from "./command-options-BtDai3oC.js";
|
|
111
111
|
import "./note-DeHoW7xO.js";
|
|
112
112
|
import { t as createClackPrompter } from "./clack-prompter-B7pN13HV.js";
|
|
@@ -116,7 +116,7 @@ import "./install-safe-path-tCLiMpmO.js";
|
|
|
116
116
|
import "./npm-registry-spec-C2JDdSZS.js";
|
|
117
117
|
import "./skill-scanner-CLs8u6vQ.js";
|
|
118
118
|
import "./installs-C1Cebk97.js";
|
|
119
|
-
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-
|
|
119
|
+
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-BEE7ctUH.js";
|
|
120
120
|
import { t as requireValidConfigSnapshot } from "./config-validation-CmimHAES.js";
|
|
121
121
|
import { t as buildChannelAccountSnapshot } from "./status-BrV-afZE.js";
|
|
122
122
|
import { t as parseLogLine } from "./parse-log-line-BHCUQaF3.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { S as CONFIG_DIR } from "./registry-
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { n as loadConfig } from "./config-
|
|
1
|
+
import { S as CONFIG_DIR } from "./registry-DP24za6g.js";
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-DgpxyDQ_.js";
|
|
3
|
+
import { n as loadConfig } from "./config-eEaJddXj.js";
|
|
4
4
|
import { i as isErrno } from "./errors-BoQgnc8X.js";
|
|
5
5
|
import { a as resolvePinnedHostnameWithPolicy } from "./ssrf-BTMDZjHT.js";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
7
7
|
import os from "node:os";
|
|
8
8
|
import path from "node:path";
|
|
9
|
-
import
|
|
9
|
+
import fsSync from "node:fs";
|
|
10
10
|
import { execFileSync, spawn } from "node:child_process";
|
|
11
11
|
import net from "node:net";
|
|
12
12
|
import { createServer } from "node:http";
|
|
@@ -1007,7 +1007,7 @@ const CHROMIUM_EXE_NAMES = new Set([
|
|
|
1007
1007
|
]);
|
|
1008
1008
|
function exists$1(filePath) {
|
|
1009
1009
|
try {
|
|
1010
|
-
return
|
|
1010
|
+
return fsSync.existsSync(filePath);
|
|
1011
1011
|
} catch {
|
|
1012
1012
|
return false;
|
|
1013
1013
|
}
|
|
@@ -1150,7 +1150,7 @@ function findDesktopFilePath(desktopId) {
|
|
|
1150
1150
|
}
|
|
1151
1151
|
function readDesktopExecLine(desktopPath) {
|
|
1152
1152
|
try {
|
|
1153
|
-
const lines =
|
|
1153
|
+
const lines = fsSync.readFileSync(desktopPath, "utf8").split(/\r?\n/);
|
|
1154
1154
|
for (const line of lines) if (line.startsWith("Exec=")) return line.slice(5).trim();
|
|
1155
1155
|
} catch {}
|
|
1156
1156
|
return null;
|
|
@@ -1437,8 +1437,8 @@ function decoratedMarkerPath(userDataDir) {
|
|
|
1437
1437
|
}
|
|
1438
1438
|
function safeReadJson(filePath) {
|
|
1439
1439
|
try {
|
|
1440
|
-
if (!
|
|
1441
|
-
const raw =
|
|
1440
|
+
if (!fsSync.existsSync(filePath)) return null;
|
|
1441
|
+
const raw = fsSync.readFileSync(filePath, "utf-8");
|
|
1442
1442
|
const parsed = JSON.parse(raw);
|
|
1443
1443
|
if (typeof parsed !== "object" || parsed === null || Array.isArray(parsed)) return null;
|
|
1444
1444
|
return parsed;
|
|
@@ -1447,8 +1447,8 @@ function safeReadJson(filePath) {
|
|
|
1447
1447
|
}
|
|
1448
1448
|
}
|
|
1449
1449
|
function safeWriteJson(filePath, data) {
|
|
1450
|
-
|
|
1451
|
-
|
|
1450
|
+
fsSync.mkdirSync(path.dirname(filePath), { recursive: true });
|
|
1451
|
+
fsSync.writeFileSync(filePath, JSON.stringify(data, null, 2));
|
|
1452
1452
|
}
|
|
1453
1453
|
function setDeep(obj, keys, value) {
|
|
1454
1454
|
let node = obj;
|
|
@@ -1575,7 +1575,7 @@ function decorateSymiProfile(userDataDir, opts) {
|
|
|
1575
1575
|
}
|
|
1576
1576
|
safeWriteJson(preferencesPath, prefs);
|
|
1577
1577
|
try {
|
|
1578
|
-
|
|
1578
|
+
fsSync.writeFileSync(decoratedMarkerPath(userDataDir), `${Date.now()}\n`, "utf-8");
|
|
1579
1579
|
} catch {}
|
|
1580
1580
|
}
|
|
1581
1581
|
function ensureProfileCleanExit(userDataDir) {
|
|
@@ -1591,7 +1591,7 @@ function ensureProfileCleanExit(userDataDir) {
|
|
|
1591
1591
|
const log = createSubsystemLogger("browser").child("chrome");
|
|
1592
1592
|
function exists(filePath) {
|
|
1593
1593
|
try {
|
|
1594
|
-
return
|
|
1594
|
+
return fsSync.existsSync(filePath);
|
|
1595
1595
|
} catch {
|
|
1596
1596
|
return false;
|
|
1597
1597
|
}
|
|
@@ -1671,7 +1671,7 @@ async function launchSymiChrome(resolved, profile) {
|
|
|
1671
1671
|
const exe = resolveBrowserExecutable(resolved);
|
|
1672
1672
|
if (!exe) throw new Error("No supported browser found (Chrome/Brave/Edge/Chromium on macOS, Linux, or Windows).");
|
|
1673
1673
|
const userDataDir = resolveSymiUserDataDir(profile.name);
|
|
1674
|
-
|
|
1674
|
+
fsSync.mkdirSync(userDataDir, { recursive: true });
|
|
1675
1675
|
const needsDecorate = !isProfileDecorated(userDataDir, profile.name, (profile.color ?? DEFAULT_SYMI_BROWSER_COLOR).toUpperCase());
|
|
1676
1676
|
const spawnOnce = () => {
|
|
1677
1677
|
const args = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { p as normalizeAccountId } from "./session-key-BCzIW1Y2.js";
|
|
3
|
-
import { t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-
|
|
3
|
+
import { t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-DbsRltF2.js";
|
|
4
4
|
|
|
5
5
|
//#region src/markdown/fences.ts
|
|
6
6
|
function parseFenceSpans(buffer) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-Cqn-zk3M.js";
|
|
2
2
|
import "./utils-B-0b9bGM.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import { ft as loadSymiPlugins } from "./reply-
|
|
4
|
+
import { ft as loadSymiPlugins } from "./reply-Ctyysgpp.js";
|
|
5
5
|
import "./registry-Cja8eT7G.js";
|
|
6
6
|
import { t as createSubsystemLogger } from "./subsystem-D9vIQve0.js";
|
|
7
7
|
import "./exec-CWkblSrI.js";
|
|
@@ -13,7 +13,7 @@ import "./client-DMBZpU6X.js";
|
|
|
13
13
|
import "./call-BcE47FtD.js";
|
|
14
14
|
import "./message-channel-C9dERklz.js";
|
|
15
15
|
import "./pairing-token-Byh6drgn.js";
|
|
16
|
-
import { m as loadSymiPlugins } from "./subagent-registry-
|
|
16
|
+
import { m as loadSymiPlugins } from "./subagent-registry-DraLysSX.js";
|
|
17
17
|
import "./sessions-CJXnZVjR.js";
|
|
18
18
|
import "./tokens-Csntmwwn.js";
|
|
19
19
|
import "./plugins-CwSlLxM8.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { an as getPrimaryCommand, cn as hasHelpOrVersion } from "./entry.js";
|
|
3
|
-
import { i as registerSubCliCommands, o as reparseProgramFromActionArgs } from "./register.subclis-
|
|
3
|
+
import { i as registerSubCliCommands, o as reparseProgramFromActionArgs } from "./register.subclis-DxUdic-V.js";
|
|
4
4
|
|
|
5
5
|
//#region src/cli/program/command-registry.ts
|
|
6
6
|
var command_registry_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -22,7 +22,7 @@ const coreEntries = [
|
|
|
22
22
|
hasSubcommands: false
|
|
23
23
|
}],
|
|
24
24
|
register: async ({ program }) => {
|
|
25
|
-
(await import("./register.setup-
|
|
25
|
+
(await import("./register.setup-A2pJJq8s.js")).registerSetupCommand(program);
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
{
|
|
@@ -32,7 +32,7 @@ const coreEntries = [
|
|
|
32
32
|
hasSubcommands: false
|
|
33
33
|
}],
|
|
34
34
|
register: async ({ program }) => {
|
|
35
|
-
(await import("./register.onboard-
|
|
35
|
+
(await import("./register.onboard-CocXCO2O.js")).registerOnboardCommand(program);
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
{
|
|
@@ -42,7 +42,7 @@ const coreEntries = [
|
|
|
42
42
|
hasSubcommands: false
|
|
43
43
|
}],
|
|
44
44
|
register: async ({ program }) => {
|
|
45
|
-
(await import("./register.configure-
|
|
45
|
+
(await import("./register.configure-NHopwe6g.js")).registerConfigureCommand(program);
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
{
|
|
@@ -52,7 +52,7 @@ const coreEntries = [
|
|
|
52
52
|
hasSubcommands: true
|
|
53
53
|
}],
|
|
54
54
|
register: async ({ program }) => {
|
|
55
|
-
(await import("./config-cli-
|
|
55
|
+
(await import("./config-cli-DFuOjqjk.js")).registerConfigCli(program);
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
58
|
{
|
|
@@ -79,7 +79,7 @@ const coreEntries = [
|
|
|
79
79
|
}
|
|
80
80
|
],
|
|
81
81
|
register: async ({ program }) => {
|
|
82
|
-
(await import("./register.maintenance-
|
|
82
|
+
(await import("./register.maintenance-C8M0d4fM.js")).registerMaintenanceCommands(program);
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
{
|
|
@@ -89,7 +89,7 @@ const coreEntries = [
|
|
|
89
89
|
hasSubcommands: true
|
|
90
90
|
}],
|
|
91
91
|
register: async ({ program, ctx }) => {
|
|
92
|
-
(await import("./register.message-
|
|
92
|
+
(await import("./register.message-G13g5zE0.js")).registerMessageCommands(program, ctx);
|
|
93
93
|
}
|
|
94
94
|
},
|
|
95
95
|
{
|
|
@@ -113,7 +113,7 @@ const coreEntries = [
|
|
|
113
113
|
hasSubcommands: true
|
|
114
114
|
}],
|
|
115
115
|
register: async ({ program, ctx }) => {
|
|
116
|
-
(await import("./register.agent-
|
|
116
|
+
(await import("./register.agent-B1stLSUm.js")).registerAgentCommands(program, { agentChannelOptions: ctx.agentChannelOptions });
|
|
117
117
|
}
|
|
118
118
|
},
|
|
119
119
|
{
|
|
@@ -135,7 +135,7 @@ const coreEntries = [
|
|
|
135
135
|
}
|
|
136
136
|
],
|
|
137
137
|
register: async ({ program }) => {
|
|
138
|
-
(await import("./register.status-health-sessions-
|
|
138
|
+
(await import("./register.status-health-sessions-CZ-BArps.js")).registerStatusHealthSessionsCommands(program);
|
|
139
139
|
}
|
|
140
140
|
},
|
|
141
141
|
{
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { D as escapeRegExp, W as isPlainObject, c as getActivePluginRegistry } from "./registry-
|
|
3
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
4
|
-
import { G as DEFAULT_MODEL, K as DEFAULT_PROVIDER, M as resolveConfiguredModelRef } from "./model-auth-
|
|
5
|
-
import { f as listChannelDocks, r as listThinkingLevels } from "./thinking-
|
|
2
|
+
import { D as escapeRegExp, W as isPlainObject, c as getActivePluginRegistry } from "./registry-DP24za6g.js";
|
|
3
|
+
import { r as normalizeChannelId } from "./plugins-C4C9637U.js";
|
|
4
|
+
import { G as DEFAULT_MODEL, K as DEFAULT_PROVIDER, M as resolveConfiguredModelRef } from "./model-auth-CwOuTuXl.js";
|
|
5
|
+
import { f as listChannelDocks, r as listThinkingLevels } from "./thinking-Ni0HF-w6.js";
|
|
6
6
|
|
|
7
7
|
//#region src/config/commands.ts
|
|
8
8
|
function resolveAutoDefault(providerId) {
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { g as resolveStateDir } from "./paths-Cqn-zk3M.js";
|
|
3
3
|
import { h as pathExists } from "./utils-B-0b9bGM.js";
|
|
4
4
|
import { i as routeLogsToStderr } from "./subsystem-D9vIQve0.js";
|
|
5
|
-
import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-
|
|
5
|
+
import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-BCUX2Nks.js";
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs/promises";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { Yt as resolveStateDir, l as routeLogsToStderr, nt as pathExists } from "./entry.js";
|
|
3
|
-
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-
|
|
4
|
-
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-
|
|
3
|
+
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-DxUdic-V.js";
|
|
4
|
+
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-Cy7a5Xcu.js";
|
|
5
5
|
import { t as getProgramContext } from "./program-context-CqzR_m-7.js";
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import path from "node:path";
|
|
@@ -206,7 +206,7 @@ async function runConfigUnset(opts) {
|
|
|
206
206
|
}
|
|
207
207
|
function registerConfigCli(program) {
|
|
208
208
|
const cmd = program.command("config").description("Non-interactive config helpers (get/set/unset). Run without subcommand for the setup wizard.").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/config", "docs.symi.ai/cli/config")}\n`).option("--section <section>", "Configure wizard sections (repeatable). Use with no subcommand.", (value, previous) => [...previous, value], []).action(async (opts) => {
|
|
209
|
-
const { configureCommandFromSectionsArg } = await import("./configure-
|
|
209
|
+
const { configureCommandFromSectionsArg } = await import("./configure-h82jPKQi.js").then((n) => n.t);
|
|
210
210
|
await configureCommandFromSectionsArg(opts.section, defaultRuntime);
|
|
211
211
|
});
|
|
212
212
|
cmd.command("get").description("Get a config value by dot path").argument("<path>", "Config path (dot or bracket notation)").option("--json", "Output JSON", false).action(async (path, opts) => {
|
|
@@ -201,7 +201,7 @@ async function runConfigUnset(opts) {
|
|
|
201
201
|
}
|
|
202
202
|
function registerConfigCli(program) {
|
|
203
203
|
const cmd = program.command("config").description("Non-interactive config helpers (get/set/unset). Run without subcommand for the setup wizard.").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/config", "docs.symi.ai/cli/config")}\n`).option("--section <section>", "Configure wizard sections (repeatable). Use with no subcommand.", (value, previous) => [...previous, value], []).action(async (opts) => {
|
|
204
|
-
const { configureCommandFromSectionsArg } = await import("./configure-
|
|
204
|
+
const { configureCommandFromSectionsArg } = await import("./configure-TTAIJBn8.js").then((n) => n.t);
|
|
205
205
|
await configureCommandFromSectionsArg(opts.section, defaultRuntime);
|
|
206
206
|
});
|
|
207
207
|
cmd.command("get").description("Get a config value by dot path").argument("<path>", "Config path (dot or bracket notation)").option("--json", "Output JSON", false).action(async (path, opts) => {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { n as resolveConfigPath, r as resolveDefaultConfigCandidates, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-
|
|
1
|
+
import { n as resolveConfigPath, r as resolveDefaultConfigCandidates, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-CySxpNhH.js";
|
|
2
2
|
import { s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-BCzIW1Y2.js";
|
|
3
|
-
import { I as resolveUserPath, P as resolveConfigDir, W as isPlainObject$1, k as isRecord, s as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry-
|
|
4
|
-
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
5
|
-
import { $ as shouldEnableShellEnvFallback, Q as shouldDeferShellEnvFallback, W as DEFAULT_CONTEXT_TOKENS, X as loadShellEnvFallback, Z as resolveShellEnvFallbackTimeoutMs, j as parseModelRef } from "./model-auth-
|
|
6
|
-
import { c as resolveMemorySlotDecision, d as isDangerousHostEnvVarName, f as normalizeEnvVarKey, l as isPathInside, o as normalizePluginsConfig, s as resolveEnableState, t as loadPluginManifestRegistry } from "./manifest-registry-
|
|
3
|
+
import { I as resolveUserPath, P as resolveConfigDir, W as isPlainObject$1, k as isRecord, s as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry-DP24za6g.js";
|
|
4
|
+
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-Bw1Ed8W9.js";
|
|
5
|
+
import { $ as shouldEnableShellEnvFallback, Q as shouldDeferShellEnvFallback, W as DEFAULT_CONTEXT_TOKENS, X as loadShellEnvFallback, Z as resolveShellEnvFallbackTimeoutMs, j as parseModelRef } from "./model-auth-CwOuTuXl.js";
|
|
6
|
+
import { c as resolveMemorySlotDecision, d as isDangerousHostEnvVarName, f as normalizeEnvVarKey, l as isPathInside, o as normalizePluginsConfig, s as resolveEnableState, t as loadPluginManifestRegistry } from "./manifest-registry-CneMHk0N.js";
|
|
7
7
|
import { createRequire } from "node:module";
|
|
8
8
|
import os from "node:os";
|
|
9
9
|
import path from "node:path";
|
|
10
|
-
import
|
|
10
|
+
import fsSync from "node:fs";
|
|
11
11
|
import JSON5 from "json5";
|
|
12
12
|
import { isDeepStrictEqual } from "node:util";
|
|
13
13
|
import crypto from "node:crypto";
|
|
@@ -20,7 +20,7 @@ function loadDotEnv(opts) {
|
|
|
20
20
|
const quiet = opts?.quiet ?? true;
|
|
21
21
|
dotenv.config({ quiet });
|
|
22
22
|
const globalEnvPath = path.join(resolveConfigDir(process.env), ".env");
|
|
23
|
-
if (!
|
|
23
|
+
if (!fsSync.existsSync(globalEnvPath)) return;
|
|
24
24
|
dotenv.config({
|
|
25
25
|
quiet,
|
|
26
26
|
path: globalEnvPath,
|
|
@@ -156,7 +156,7 @@ function resolveAgentMaxConcurrent(cfg) {
|
|
|
156
156
|
//#endregion
|
|
157
157
|
//#region src/config/talk.ts
|
|
158
158
|
function readTalkApiKeyFromProfile(deps = {}) {
|
|
159
|
-
const fsImpl = deps.fs ??
|
|
159
|
+
const fsImpl = deps.fs ?? fsSync;
|
|
160
160
|
const osImpl = deps.os ?? os;
|
|
161
161
|
const pathImpl = deps.path ?? path;
|
|
162
162
|
const home = osImpl.homedir();
|
|
@@ -849,7 +849,7 @@ var IncludeProcessor = class IncludeProcessor {
|
|
|
849
849
|
const normalized = path.normalize(resolved);
|
|
850
850
|
if (!isPathInside(this.rootDir, normalized)) throw new ConfigIncludeError(`Include path escapes config directory: ${includePath} (root: ${this.rootDir})`, includePath);
|
|
851
851
|
try {
|
|
852
|
-
const real =
|
|
852
|
+
const real = fsSync.realpathSync(normalized);
|
|
853
853
|
if (!isPathInside(this.rootRealDir, real)) throw new ConfigIncludeError(`Include path resolves outside config directory (symlink): ${includePath} (root: ${this.rootDir})`, includePath);
|
|
854
854
|
} catch (err) {
|
|
855
855
|
if (err instanceof ConfigIncludeError) throw err;
|
|
@@ -885,13 +885,13 @@ var IncludeProcessor = class IncludeProcessor {
|
|
|
885
885
|
};
|
|
886
886
|
function safeRealpath(target) {
|
|
887
887
|
try {
|
|
888
|
-
return
|
|
888
|
+
return fsSync.realpathSync(target);
|
|
889
889
|
} catch {
|
|
890
890
|
return target;
|
|
891
891
|
}
|
|
892
892
|
}
|
|
893
893
|
const defaultResolver = {
|
|
894
|
-
readFile: (p) =>
|
|
894
|
+
readFile: (p) => fsSync.readFileSync(p, "utf-8"),
|
|
895
895
|
parseJson: (raw) => JSON5.parse(raw)
|
|
896
896
|
};
|
|
897
897
|
/**
|
|
@@ -5583,7 +5583,7 @@ function resolveConfigPathForDeps(deps) {
|
|
|
5583
5583
|
}
|
|
5584
5584
|
function normalizeDeps(overrides = {}) {
|
|
5585
5585
|
return {
|
|
5586
|
-
fs: overrides.fs ??
|
|
5586
|
+
fs: overrides.fs ?? fsSync,
|
|
5587
5587
|
json5: overrides.json5 ?? JSON5,
|
|
5588
5588
|
env: overrides.env ?? process.env,
|
|
5589
5589
|
homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
|
|
@@ -11,14 +11,14 @@ import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint }
|
|
|
11
11
|
import { t as note$1 } from "./note-DDecZomM.js";
|
|
12
12
|
import { t as WizardCancelledError } from "./prompts-m1IJwIAx.js";
|
|
13
13
|
import { t as createClackPrompter } from "./clack-prompter-B1aVoXd5.js";
|
|
14
|
-
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-
|
|
14
|
+
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-CV2E5uqw.js";
|
|
15
15
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-CfRwa6qh.js";
|
|
16
16
|
import { t as resolveGatewayService } from "./service-Cm9j9WzQ.js";
|
|
17
|
-
import { r as healthCommand } from "./health-
|
|
17
|
+
import { r as healthCommand } from "./health-CnR_-oJB.js";
|
|
18
18
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-BseSWee1.js";
|
|
19
19
|
import { n as logConfigUpdated } from "./logging-BGewRZy0.js";
|
|
20
20
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-DVcYPG2v.js";
|
|
21
|
-
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-
|
|
21
|
+
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-vHGMmJ9y.js";
|
|
22
22
|
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-D5nCutGW.js";
|
|
23
23
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-DA_LW52P.js";
|
|
24
24
|
import { a as promptCustomApiConfig } from "./onboard-custom-DdWPfzJO.js";
|
|
@@ -13,14 +13,14 @@ import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint }
|
|
|
13
13
|
import { t as note$1 } from "./note-DeHoW7xO.js";
|
|
14
14
|
import { t as WizardCancelledError } from "./prompts-Xu2Sveka.js";
|
|
15
15
|
import { t as createClackPrompter } from "./clack-prompter-B7pN13HV.js";
|
|
16
|
-
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-
|
|
16
|
+
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-BEE7ctUH.js";
|
|
17
17
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-2mwX-jqj.js";
|
|
18
18
|
import { t as resolveGatewayService } from "./service-Cl74hx8J.js";
|
|
19
|
-
import { r as healthCommand } from "./health-
|
|
19
|
+
import { r as healthCommand } from "./health-B_0VYYAz.js";
|
|
20
20
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-Z947tKLt.js";
|
|
21
21
|
import { n as logConfigUpdated } from "./logging-BzzwiKjv.js";
|
|
22
22
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-BLzEBA1v.js";
|
|
23
|
-
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-
|
|
23
|
+
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-CKfB5JPP.js";
|
|
24
24
|
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-Ddo3jHe-.js";
|
|
25
25
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-aQ75ZlXY.js";
|
|
26
26
|
import { a as promptCustomApiConfig } from "./onboard-custom-C7O-zfQ1.js";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { s as resolveStateDir } from "./paths-
|
|
2
|
+
import { s as resolveStateDir } from "./paths-CySxpNhH.js";
|
|
3
3
|
import { m as normalizeOptionalAccountId, p as normalizeAccountId } from "./session-key-BCzIW1Y2.js";
|
|
4
|
-
import { c as getActivePluginRegistry, v as createInternalHookEvent, x as triggerInternalHook } from "./registry-
|
|
5
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
6
|
-
import { a as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-
|
|
7
|
-
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
8
|
-
import { B as resolveMirroredTranscriptText, i as isMessagingToolDuplicate, z as appendAssistantMessageToSessionTranscript } from "./pi-embedded-helpers-
|
|
9
|
-
import { d as getChannelDock } from "./thinking-
|
|
10
|
-
import { c as resolveChunkMode, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph } from "./chunk-
|
|
11
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
12
|
-
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
13
|
-
import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-
|
|
4
|
+
import { c as getActivePluginRegistry, v as createInternalHookEvent, x as triggerInternalHook } from "./registry-DP24za6g.js";
|
|
5
|
+
import { t as createSubsystemLogger } from "./subsystem-DgpxyDQ_.js";
|
|
6
|
+
import { a as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-c_SLAkVb.js";
|
|
7
|
+
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-C4C9637U.js";
|
|
8
|
+
import { B as resolveMirroredTranscriptText, i as isMessagingToolDuplicate, z as appendAssistantMessageToSessionTranscript } from "./pi-embedded-helpers-DEEaCvEp.js";
|
|
9
|
+
import { d as getChannelDock } from "./thinking-Ni0HF-w6.js";
|
|
10
|
+
import { c as resolveChunkMode, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph } from "./chunk-ClbN9Pqy.js";
|
|
11
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-DSHvnTLx.js";
|
|
12
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-C7OCYACU.js";
|
|
13
|
+
import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-zSarozV2.js";
|
|
14
14
|
import path from "node:path";
|
|
15
|
-
import
|
|
15
|
+
import fsSync from "node:fs";
|
|
16
16
|
import crypto from "node:crypto";
|
|
17
17
|
|
|
18
18
|
//#region src/plugins/hooks.ts
|
|
@@ -721,11 +721,11 @@ function resolveFailedDir(stateDir) {
|
|
|
721
721
|
/** Ensure the queue directory (and failed/ subdirectory) exist. */
|
|
722
722
|
async function ensureQueueDir(stateDir) {
|
|
723
723
|
const queueDir = resolveQueueDir(stateDir);
|
|
724
|
-
await
|
|
724
|
+
await fsSync.promises.mkdir(queueDir, {
|
|
725
725
|
recursive: true,
|
|
726
726
|
mode: 448
|
|
727
727
|
});
|
|
728
|
-
await
|
|
728
|
+
await fsSync.promises.mkdir(resolveFailedDir(stateDir), {
|
|
729
729
|
recursive: true,
|
|
730
730
|
mode: 448
|
|
731
731
|
});
|
|
@@ -752,18 +752,18 @@ async function enqueueDelivery(params, stateDir) {
|
|
|
752
752
|
const filePath = path.join(queueDir, `${id}.json`);
|
|
753
753
|
const tmp = `${filePath}.${process.pid}.tmp`;
|
|
754
754
|
const json = JSON.stringify(entry, null, 2);
|
|
755
|
-
await
|
|
755
|
+
await fsSync.promises.writeFile(tmp, json, {
|
|
756
756
|
encoding: "utf-8",
|
|
757
757
|
mode: 384
|
|
758
758
|
});
|
|
759
|
-
await
|
|
759
|
+
await fsSync.promises.rename(tmp, filePath);
|
|
760
760
|
return id;
|
|
761
761
|
}
|
|
762
762
|
/** Remove a successfully delivered entry from the queue. */
|
|
763
763
|
async function ackDelivery(id, stateDir) {
|
|
764
764
|
const filePath = path.join(resolveQueueDir(stateDir), `${id}.json`);
|
|
765
765
|
try {
|
|
766
|
-
await
|
|
766
|
+
await fsSync.promises.unlink(filePath);
|
|
767
767
|
} catch (err) {
|
|
768
768
|
if ((err && typeof err === "object" && "code" in err ? String(err.code) : null) !== "ENOENT") throw err;
|
|
769
769
|
}
|
|
@@ -771,16 +771,16 @@ async function ackDelivery(id, stateDir) {
|
|
|
771
771
|
/** Update a queue entry after a failed delivery attempt. */
|
|
772
772
|
async function failDelivery(id, error, stateDir) {
|
|
773
773
|
const filePath = path.join(resolveQueueDir(stateDir), `${id}.json`);
|
|
774
|
-
const raw = await
|
|
774
|
+
const raw = await fsSync.promises.readFile(filePath, "utf-8");
|
|
775
775
|
const entry = JSON.parse(raw);
|
|
776
776
|
entry.retryCount += 1;
|
|
777
777
|
entry.lastError = error;
|
|
778
778
|
const tmp = `${filePath}.${process.pid}.tmp`;
|
|
779
|
-
await
|
|
779
|
+
await fsSync.promises.writeFile(tmp, JSON.stringify(entry, null, 2), {
|
|
780
780
|
encoding: "utf-8",
|
|
781
781
|
mode: 384
|
|
782
782
|
});
|
|
783
|
-
await
|
|
783
|
+
await fsSync.promises.rename(tmp, filePath);
|
|
784
784
|
}
|
|
785
785
|
|
|
786
786
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-DgpxyDQ_.js";
|
|
3
3
|
import { i as pruneDiagnosticSessionStates, r as getDiagnosticSessionState, t as diagnosticSessionStates } from "./diagnostic-session-state-Bxo4UHOL.js";
|
|
4
4
|
|
|
5
5
|
//#region src/infra/diagnostic-events.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as resolveSymiPackageRoot } from "./symi-root-CrGJbkzf.js";
|
|
2
2
|
import { r as resolveCliName } from "./command-format-COaS-S7B.js";
|
|
3
3
|
import { t as note } from "./note-DeHoW7xO.js";
|
|
4
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
4
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-C-OS6kYL.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { spawnSync } from "node:child_process";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as resolveCliName } from "./command-format-BtYOfWxC.js";
|
|
2
2
|
import { t as resolveSymiPackageRoot } from "./symi-root-BNuQ4lAT.js";
|
|
3
3
|
import { t as note } from "./note-DDecZomM.js";
|
|
4
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
4
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-DErjG0lV.js";
|
|
5
5
|
import { spawnSync } from "node:child_process";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
package/dist/entry.js
CHANGED
|
@@ -2500,7 +2500,7 @@ if (!ensureExperimentalWarningSuppressed()) {
|
|
|
2500
2500
|
applyCliProfileEnv({ profile: parsed.profile });
|
|
2501
2501
|
process$1.argv = parsed.argv;
|
|
2502
2502
|
}
|
|
2503
|
-
import("./run-main-
|
|
2503
|
+
import("./run-main-l7jpr7im.js").then(({ runCli }) => runCli(process$1.argv)).catch((error) => {
|
|
2504
2504
|
console.error("[symi] Failed to start CLI:", error instanceof Error ? error.stack ?? error.message : error);
|
|
2505
2505
|
process$1.exitCode = 1;
|
|
2506
2506
|
});
|
package/dist/extensionAPI.js
CHANGED
|
@@ -7,7 +7,7 @@ import { a as resolveAgentIdentity } from "./reply-prefix-K_J_nfgx.js";
|
|
|
7
7
|
import "./github-copilot-token-BbsJ0Qbo.js";
|
|
8
8
|
import "./env-CQ_DQOwT.js";
|
|
9
9
|
import "./tokens-Cn6drXx2.js";
|
|
10
|
-
import { D as resolveAgentTimeoutMs, r as runEmbeddedPiAgent } from "./pi-embedded-
|
|
10
|
+
import { D as resolveAgentTimeoutMs, r as runEmbeddedPiAgent } from "./pi-embedded-CxeVR0iH.js";
|
|
11
11
|
import "./plugins-71oIavrF.js";
|
|
12
12
|
import "./accounts-DDEyGwby.js";
|
|
13
13
|
import "./bindings-DYVakimr.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as parseBooleanValue } from "./boolean-B8-BqKGQ.js";
|
|
2
2
|
import { n as MANIFEST_KEY, t as LEGACY_MANIFEST_KEYS } from "./legacy-names-BHV4AoFT.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fsSync from "node:fs";
|
|
5
5
|
import JSON5 from "json5";
|
|
6
6
|
import YAML from "yaml";
|
|
7
7
|
|
|
@@ -79,7 +79,7 @@ function hasBinary(bin) {
|
|
|
79
79
|
for (const part of parts) for (const ext of extensions) {
|
|
80
80
|
const candidate = path.join(part, bin + ext);
|
|
81
81
|
try {
|
|
82
|
-
|
|
82
|
+
fsSync.accessSync(candidate, fsSync.constants.X_OK);
|
|
83
83
|
hasBinaryCache.set(bin, true);
|
|
84
84
|
return true;
|
|
85
85
|
} catch {}
|