@symerian/symi 2.5.6 → 2.5.7
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-ChTFYj8Q.js → accounts-CWktKM8a.js} +1 -1
- package/dist/{accounts-CJR8j_Kq.js → accounts-qtxJ-6em.js} +1 -1
- package/dist/{accounts-CI6zQTJj.js → accounts-tNElYrCH.js} +14 -14
- package/dist/{active-listener-D6sXIjAg.js → active-listener-C9r8ZB9m.js} +1 -1
- package/dist/{agent-scope-Bw1Ed8W9.js → agent-scope-BxoUQqgM.js} +3 -3
- package/dist/{agents-C-zwlmkD.js → agents-CXloh6n_.js} +4 -4
- package/dist/{agents.config-BhirEHt2.js → agents.config-BhAJXAtA.js} +1 -1
- package/dist/{agents.config-Cuvv6Uxa.js → agents.config-BuTzBaXf.js} +1 -1
- package/dist/{audio-preflight-C40mKAp7.js → audio-preflight-CPBOQV4I.js} +4 -4
- package/dist/{audio-preflight-BkIfnmpi.js → audio-preflight-D02HwB-I.js} +29 -29
- package/dist/{auth-choice-vHGMmJ9y.js → auth-choice-Br6zT8iS.js} +1 -1
- package/dist/{auth-choice-CKfB5JPP.js → auth-choice-DvaVrSwn.js} +1 -1
- package/dist/{banner-DYRlXmOu.js → banner-BtqKaQZr.js} +1 -1
- package/dist/{bindings-BU2hsBd9.js → bindings-B7Ke6LJi.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-C9-gaquj.js → channel-activity-CsM_hJ_s.js} +1 -1
- package/dist/{channel-options-BLLQIoS0.js → channel-options-CfLxsV76.js} +1 -1
- package/dist/{channel-options-CUCoqIfn.js → channel-options-DFHEgad5.js} +1 -1
- package/dist/{channel-web-C-KPvAUY.js → channel-web-D-jDDmWN.js} +1 -1
- package/dist/{channels-cli-0g5R4QeZ.js → channels-cli-BEZORT4N.js} +4 -4
- package/dist/{channels-cli--qI2IkMe.js → channels-cli-CT6wdGT8.js} +4 -4
- package/dist/{chrome-CDJYxX5a.js → chrome-D2SKJnR7.js} +7 -7
- package/dist/{chrome-CxSAp8x3.js → chrome-EyvdASWt.js} +13 -13
- package/dist/{chunk-ClbN9Pqy.js → chunk-BW5f05BR.js} +1 -1
- package/dist/{cli-pSBGjcjV.js → cli-CkxvN9Cb.js} +1 -1
- package/dist/{cli-DJHjm2Kh.js → cli-kxxM9xT0.js} +1 -1
- package/dist/{command-format-UKHV-j0K.js → command-format-BaxDnULz.js} +1 -1
- package/dist/{command-registry-Cy7a5Xcu.js → command-registry-C0Ht_h4u.js} +9 -9
- package/dist/{commands-registry-VSmULp-g.js → commands-registry-D7CTCQPm.js} +4 -4
- package/dist/{completion-cli-C-OS6kYL.js → completion-cli-BEzbCT8h.js} +1 -1
- package/dist/{completion-cli-DErjG0lV.js → completion-cli-DeieEaoW.js} +2 -2
- package/dist/{config-eEaJddXj.js → config-DRbjHIwD.js} +12 -12
- package/dist/{config-cli-DFuOjqjk.js → config-cli-CS_0o9LY.js} +1 -1
- package/dist/{config-cli-BsBWYY8X.js → config-cli-DLsLPE4o.js} +1 -1
- package/dist/{configure-TTAIJBn8.js → configure-BX4aNf3w.js} +3 -3
- package/dist/{configure-h82jPKQi.js → configure-T9J4bw0H.js} +3 -3
- package/dist/{deliver-BH0l3UKW.js → deliver-C-37cZUe.js} +1 -1
- package/dist/{deliver-BA7ZN3iM.js → deliver-D1ZN6-fl.js} +20 -20
- package/dist/{diagnostic-C3nsWaw3.js → diagnostic-CI0kRQkt.js} +1 -1
- package/dist/{doctor-completion-BbGM1ada.js → doctor-completion-C_0iVIQ2.js} +1 -1
- package/dist/{doctor-completion-Dun5W6M-.js → doctor-completion-D7oTPU1N.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +6 -6
- package/dist/{frontmatter-DPlG6yha.js → frontmatter-C_bv_0P8.js} +2 -2
- package/dist/{gateway-cli-BzihvR67.js → gateway-cli-DDFydH8b.js} +9 -9
- package/dist/{gateway-cli-DGd0MHyj.js → gateway-cli-DvJ_O7kb.js} +9 -9
- package/dist/{gemini-auth-CF48hUR9.js → gemini-auth-CdSPHuLl.js} +1 -1
- package/dist/{github-copilot-token-DJqsJ2-r.js → github-copilot-token-C_qUP7p5.js} +7 -7
- package/dist/{glass-ui-ws-C4AdoDVx.js → glass-ui-ws-BdBSYcsf.js} +7 -7
- package/dist/{glass-ui-ws-BgAvm1ZX.js → glass-ui-ws-KbKXJGb5.js} +7 -7
- package/dist/{health-B_0VYYAz.js → health-DQmyj-7z.js} +1 -1
- package/dist/{health-CnR_-oJB.js → health-z-YCZRhf.js} +1 -1
- package/dist/{hooks-cli-DHY257oF.js → hooks-cli-4d-QhgRs.js} +2 -2
- package/dist/{hooks-cli-SzFS-UE-.js → hooks-cli-BRehYEXJ.js} +2 -2
- package/dist/{image-BGmVDkkw.js → image-Cp3JDEBB.js} +4 -4
- package/dist/{image-CHzdaNJ4.js → image-DcpMiprB.js} +1 -1
- package/dist/{image-ops-S8-8dAhx.js → image-ops-CvJzsyvE.js} +1 -1
- package/dist/index.js +6 -6
- package/dist/{ir-CbFUkv_T.js → ir-DccrnjsE.js} +4 -4
- package/dist/llm-slug-generator.js +53 -53
- package/dist/{local-roots-C7OCYACU.js → local-roots-DMwIh5cS.js} +5 -5
- package/dist/{login-B8uiUAnV.js → login-CwCoxapk.js} +7 -7
- package/dist/{login-qr-CIZk8uKX.js → login-qr-Batf3PT5.js} +12 -12
- package/dist/{manager-BoLr3xR_.js → manager-D_LwXbc6.js} +13 -13
- package/dist/{manifest-registry-CneMHk0N.js → manifest-registry-D0IQ3WuX.js} +19 -19
- package/dist/{markdown-tables-DSHvnTLx.js → markdown-tables-iMQQZu4Q.js} +1 -1
- package/dist/{message-channel-DbsRltF2.js → message-channel-Dz5lr5b0.js} +1 -1
- package/dist/{model-auth-CwOuTuXl.js → model-auth-DK43VicI.js} +9 -9
- package/dist/{models-5jM2RayT.js → models-CPlSSoV0.js} +2 -2
- package/dist/{models-cli-CvD01IPe.js → models-cli-BM2RWTmM.js} +2 -2
- package/dist/{models-cli-Cgj3-01s.js → models-cli-DDhpJuX3.js} +3 -3
- package/dist/{onboard-CQdHpiGe.js → onboard-BlrojL3G.js} +2 -2
- package/dist/{onboard-CG_dt1-i.js → onboard-Bq2VEBrl.js} +2 -2
- package/dist/{onboard-channels-CV2E5uqw.js → onboard-channels-DjfS9mS6.js} +1 -1
- package/dist/{onboard-channels-BEE7ctUH.js → onboard-channels-S0FbC25u.js} +1 -1
- package/dist/{onboarding-CnDTeetJ.js → onboarding-CwU-Uyo6.js} +3 -3
- package/dist/{onboarding-CImYGoGs.js → onboarding-Dg49kkBF.js} +3 -3
- package/dist/{onboarding.finalize-PsAMCvC4.js → onboarding.finalize-BaMs5pR4.js} +6 -6
- package/dist/{onboarding.finalize-XA0M28ax.js → onboarding.finalize-CsBYKFAW.js} +5 -5
- package/dist/{outbound-opDNxv-l.js → outbound-D4fN_ZlE.js} +7 -7
- package/dist/{outbound-attachment-Co2diKdP.js → outbound-attachment-DjNDa3zn.js} +2 -2
- package/dist/{paths-CySxpNhH.js → paths-Cce4PUkG.js} +5 -5
- package/dist/{paths-Cb87-LzP.js → paths-DLyHUt31.js} +1 -1
- package/dist/{pi-auth-json-DPWPoruO.js → pi-auth-json-0SYBFZTt.js} +8 -8
- package/dist/{pi-embedded-CxeVR0iH.js → pi-embedded-CKf4PxhQ.js} +17 -21
- package/dist/{pi-embedded-helpers-lgx_U5KS.js → pi-embedded-helpers-B8kqLWns.js} +4 -4
- package/dist/{pi-embedded-helpers-DEEaCvEp.js → pi-embedded-helpers-ag2bosuj.js} +52 -52
- package/dist/{pi-embedded-BoObe4LL.js → pi-embedded-o9vOF9wB.js} +159 -163
- package/dist/{plugin-registry-DIvEhT-N.js → plugin-registry-Dxo1iUfJ.js} +1 -1
- package/dist/{plugin-registry-BCiEkngD.js → plugin-registry-VhRGXCLQ.js} +1 -1
- package/dist/plugin-sdk/{channel-web-ZDgr_tEt.js → channel-web-Bc8Fmiy7.js} +1 -1
- package/dist/plugin-sdk/index.js +2 -2
- package/dist/plugin-sdk/{reply-B6dnSZL8.js → reply-BSW3CdwW.js} +3 -7
- package/dist/plugin-sdk/{web-Cs8UsiAE.js → web-CvCo9ULq.js} +2 -2
- package/dist/{plugins-C4C9637U.js → plugins-DQYI3Fr-.js} +9 -9
- package/dist/{plugins-cli-tmjVtXCB.js → plugins-cli-DeDSnKlr.js} +2 -2
- package/dist/{plugins-cli-C5yJIYJi.js → plugins-cli-zNr1ThAO.js} +2 -2
- package/dist/{program-Ca2for1-.js → program-C4whW2Oi.js} +7 -7
- package/dist/{program-context-BCUX2Nks.js → program-context-1jbNznxI.js} +17 -17
- package/dist/{prompt-select-styled-CQHjO6cn.js → prompt-select-styled-B7VjdRNk.js} +4 -4
- package/dist/{prompt-select-styled-D4fL09YB.js → prompt-select-styled-B7nwl6rd.js} +4 -4
- package/dist/{provider-auth-helpers-hVbz-9Kx.js → provider-auth-helpers-BmH4oHwJ.js} +1 -1
- package/dist/{provider-auth-helpers-BOPjr8Hp.js → provider-auth-helpers-C8cO9DLi.js} +1 -1
- package/dist/{push-apns-BGed3jID.js → push-apns-CJtWrkQV.js} +1 -1
- package/dist/{push-apns-Dvev_pGx.js → push-apns-CoqskfCc.js} +1 -1
- package/dist/{pw-ai-De-KR9_s.js → pw-ai-1htA-NnS.js} +1 -1
- package/dist/{pw-ai-DhwRiS06.js → pw-ai-Ch7liUOW.js} +11 -11
- package/dist/{qmd-manager-DdZh9PHs.js → qmd-manager-QHUP-_em.js} +7 -7
- package/dist/{register.agent-CeyrNkOh.js → register.agent-C1Is84Q1.js} +5 -5
- package/dist/{register.agent-B1stLSUm.js → register.agent-fK3vOCU5.js} +6 -6
- package/dist/{register.configure-CL1qsRsF.js → register.configure-CIwwqqt9.js} +6 -6
- package/dist/{register.configure-NHopwe6g.js → register.configure-DFJeKFFK.js} +6 -6
- package/dist/{register.maintenance-C8M0d4fM.js → register.maintenance-CRnXZTDk.js} +8 -8
- package/dist/{register.maintenance-CScpju68.js → register.maintenance-CfQRUUM5.js} +7 -7
- package/dist/{register.message-FddF6AGb.js → register.message-Ce57RPK8.js} +2 -2
- package/dist/{register.message-G13g5zE0.js → register.message-DYnXMP4c.js} +2 -2
- package/dist/{register.onboard-CocXCO2O.js → register.onboard-BJxCO8W7.js} +4 -4
- package/dist/{register.onboard-CtjREg9H.js → register.onboard-If50a0yL.js} +4 -4
- package/dist/{register.setup-A2pJJq8s.js → register.setup-DZipmOBQ.js} +4 -4
- package/dist/{register.setup-DPUOwOwT.js → register.setup-sdzsXVrS.js} +4 -4
- package/dist/{register.status-health-sessions-CZ-BArps.js → register.status-health-sessions-BncpB9Vw.js} +3 -3
- package/dist/{register.status-health-sessions-ChCsybS4.js → register.status-health-sessions-DBXMyrNP.js} +3 -3
- package/dist/{register.subclis-DxUdic-V.js → register.subclis-JthXJSly.js} +9 -9
- package/dist/{registry-DP24za6g.js → registry-CK4e9hn8.js} +17 -17
- package/dist/{replies-DpPvWiGF.js → replies-BIX_isV7.js} +3 -3
- package/dist/{reply-Ctyysgpp.js → reply-BfZzgC9H.js} +3 -7
- package/dist/{reply-prefix-CtL0omgM.js → reply-prefix-XlyuyChD.js} +1 -1
- package/dist/{resolve-route-BVikmvWO.js → resolve-route-CZ-1eqw0.js} +4 -4
- package/dist/{retry-dGG-MbxL.js → retry-Cly39XZB.js} +1 -1
- package/dist/{run-main-l7jpr7im.js → run-main-Dl1Kbmx0.js} +14 -14
- package/dist/{runner-DUBExAb5.js → runner-BcQ0sF9T.js} +1 -1
- package/dist/{runner-B_KP4voe.js → runner-D0QUGA_X.js} +9 -9
- package/dist/{send-DeEosX8F.js → send-B1u-LrcS.js} +18 -18
- package/dist/{send-DwKJK3sM.js → send-CiTGOvEc.js} +10 -10
- package/dist/{send-zSarozV2.js → send-DW96zgDL.js} +6 -6
- package/dist/{send-CHEOWVc8.js → send-DeFniOjh.js} +6 -6
- package/dist/{send-DbcLJb0P.js → send-WyRqb4WD.js} +7 -7
- package/dist/{server-methods-SgJRxF2Z.js → server-methods-D5zcFhng.js} +7 -7
- package/dist/{server-methods-UoDpfcdK.js → server-methods-xXv4ObXK.js} +7 -7
- package/dist/{server-node-events-DIZ6YgkJ.js → server-node-events-BN7H6wBM.js} +2 -2
- package/dist/{server-node-events-CIsxaaN2.js → server-node-events-D4At7-pe.js} +2 -2
- package/dist/{session-DV1MNlbV.js → session-SM36BTsl.js} +8 -8
- package/dist/{skill-commands-D610IKhm.js → skill-commands-BJMb_psG.js} +9 -9
- package/dist/{skills-o5WVqM4V.js → skills-BFekKL7i.js} +21 -21
- package/dist/{sqlite-6H6Zw1cs.js → sqlite-DRbx2dhW.js} +4 -4
- package/dist/{status-OyqCjO3u.js → status-C5rGEkur.js} +1 -1
- package/dist/{status-Ht9BRQAx.js → status-Nhvf_TEN.js} +1 -1
- package/dist/{status-ygwPf63x.js → status-PbQwO8SV.js} +2 -2
- package/dist/{status--s6vuxyI.js → status-XJTqV-CC.js} +2 -2
- package/dist/{store-vVE6N2mH.js → store-C0wvOkae.js} +2 -2
- package/dist/{subagent-registry-DraLysSX.js → subagent-registry-DvCrN2PQ.js} +3 -7
- package/dist/{subsystem-DgpxyDQ_.js → subsystem-Bs9YvKLa.js} +1 -1
- package/dist/{tables-BIWsCKXJ.js → tables-DuZspiBu.js} +1 -1
- package/dist/{target-errors-DyItGyW9.js → target-errors-Be1SwYlW.js} +2 -2
- package/dist/{thinking-Ni0HF-w6.js → thinking-CdlENGRW.js} +5 -5
- package/dist/{tokens-c_SLAkVb.js → tokens-H1H1LiSQ.js} +1 -1
- package/dist/{tool-images-DBCfXdli.js → tool-images-DXB7tqWi.js} +2 -2
- package/dist/{tool-loop-detection-Bbc9OPFR.js → tool-loop-detection-Cs8_HCsx.js} +3 -3
- package/dist/{update-cli-DJQ8rqnN.js → update-cli-CckGzVRg.js} +7 -7
- package/dist/{update-cli-BerlMjhn.js → update-cli-pkg2BEbj.js} +8 -8
- package/dist/{update-runner-UfdNrumf.js → update-runner-BFwirE1P.js} +1 -1
- package/dist/{update-runner-oSl0jaVn.js → update-runner-BuoOzUcX.js} +1 -1
- package/dist/{web-DX-Sk1uG.js → web-BjuBp_oj.js} +6 -6
- package/dist/{web-BSJ15erX.js → web-C4CDNJmR.js} +1 -1
- package/dist/{web-CIbnie2y.js → web-Cr6E8Ych.js} +2 -2
- package/dist/{web-DTKwHUfr.js → web-ofRAH4R_.js} +57 -57
- package/dist/{whatsapp-actions-oRQjcdQe.js → whatsapp-actions-D1RsnX7P.js} +23 -23
- package/dist/{workspace-CbvamIU6.js → workspace-wAaHI8-5.js} +6 -6
- package/package.json +1 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import { G as danger, K as info, Q as success } from "./registry-
|
|
3
|
-
import "./agent-scope-
|
|
4
|
-
import { r as defaultRuntime } from "./subsystem-
|
|
5
|
-
import { x as logInfo } from "./workspace-
|
|
6
|
-
import { a as logoutWeb, l as readWebSelfId, p as webAuthExists, t as resolveWhatsAppAccount } from "./accounts-
|
|
1
|
+
import "./paths-Cce4PUkG.js";
|
|
2
|
+
import { G as danger, K as info, Q as success } from "./registry-CK4e9hn8.js";
|
|
3
|
+
import "./agent-scope-BxoUQqgM.js";
|
|
4
|
+
import { r as defaultRuntime } from "./subsystem-Bs9YvKLa.js";
|
|
5
|
+
import { x as logInfo } from "./workspace-wAaHI8-5.js";
|
|
6
|
+
import { a as logoutWeb, l as readWebSelfId, p as webAuthExists, t as resolveWhatsAppAccount } from "./accounts-tNElYrCH.js";
|
|
7
7
|
import "./boolean-B8-BqKGQ.js";
|
|
8
|
-
import "./command-format-
|
|
9
|
-
import "./model-auth-
|
|
10
|
-
import "./github-copilot-token-
|
|
11
|
-
import { n as loadConfig } from "./config-
|
|
12
|
-
import "./manifest-registry-
|
|
13
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
8
|
+
import "./command-format-BaxDnULz.js";
|
|
9
|
+
import "./model-auth-DK43VicI.js";
|
|
10
|
+
import "./github-copilot-token-C_qUP7p5.js";
|
|
11
|
+
import { n as loadConfig } from "./config-DRbjHIwD.js";
|
|
12
|
+
import "./manifest-registry-D0IQ3WuX.js";
|
|
13
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-SM36BTsl.js";
|
|
14
14
|
import { randomUUID } from "node:crypto";
|
|
15
15
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
16
16
|
import QRCodeModule from "qrcode-terminal/vendor/QRCode/index.js";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { s as resolveStateDir } from "./paths-
|
|
3
|
-
import { I as resolveUserPath, T as clampNumber, U as truncateUtf16Safe, w as clampInt } from "./registry-
|
|
4
|
-
import { n as resolveAgentConfig, r as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
5
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
6
|
-
import { r as isTruthyEnvValue } from "./command-format-
|
|
7
|
-
import { i as resolveApiKeyForProvider, r as requireApiKey } from "./model-auth-
|
|
2
|
+
import { s as resolveStateDir } from "./paths-Cce4PUkG.js";
|
|
3
|
+
import { I as resolveUserPath, T as clampNumber, U as truncateUtf16Safe, w as clampInt } from "./registry-CK4e9hn8.js";
|
|
4
|
+
import { n as resolveAgentConfig, r as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-BxoUQqgM.js";
|
|
5
|
+
import { t as createSubsystemLogger } from "./subsystem-Bs9YvKLa.js";
|
|
6
|
+
import { r as isTruthyEnvValue } from "./command-format-BaxDnULz.js";
|
|
7
|
+
import { i as resolveApiKeyForProvider, r as requireApiKey } from "./model-auth-DK43VicI.js";
|
|
8
8
|
import { n as formatErrorMessage } from "./errors-BoQgnc8X.js";
|
|
9
|
-
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-
|
|
9
|
+
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-DLyHUt31.js";
|
|
10
10
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-DDYvbmRV.js";
|
|
11
|
-
import { n as collectProviderApiKeysForExecution, r as executeWithApiKeyRotation, t as parseGeminiAuth } from "./gemini-auth-
|
|
12
|
-
import { _ as isFileMissingError, a as buildFileEntry, c as ensureDir, d as listMemoryFiles, f as normalizeExtraMemoryPaths, h as runWithConcurrency, i as sessionPathForFile, l as hashText, m as remapChunkLines, n as buildSessionEntry, o as chunkMarkdown, p as parseEmbedding, r as listSessionFilesForAgent, s as cosineSimilarity, t as requireNodeSqlite, u as isMemoryPath, v as statRegularFile } from "./sqlite-
|
|
13
|
-
import { n as retryAsync } from "./retry-
|
|
11
|
+
import { n as collectProviderApiKeysForExecution, r as executeWithApiKeyRotation, t as parseGeminiAuth } from "./gemini-auth-CdSPHuLl.js";
|
|
12
|
+
import { _ as isFileMissingError, a as buildFileEntry, c as ensureDir, d as listMemoryFiles, f as normalizeExtraMemoryPaths, h as runWithConcurrency, i as sessionPathForFile, l as hashText, m as remapChunkLines, n as buildSessionEntry, o as chunkMarkdown, p as parseEmbedding, r as listSessionFilesForAgent, s as cosineSimilarity, t as requireNodeSqlite, u as isMemoryPath, v as statRegularFile } from "./sqlite-DRbx2dhW.js";
|
|
13
|
+
import { n as retryAsync } from "./retry-Cly39XZB.js";
|
|
14
14
|
import fs from "node:fs/promises";
|
|
15
15
|
import os from "node:os";
|
|
16
16
|
import path from "node:path";
|
|
17
|
-
import
|
|
17
|
+
import fs$1 from "node:fs";
|
|
18
18
|
import { randomUUID } from "node:crypto";
|
|
19
19
|
import { createInterface } from "node:readline";
|
|
20
20
|
import { Readable } from "node:stream";
|
|
@@ -614,7 +614,7 @@ function canAutoSelectLocal(options) {
|
|
|
614
614
|
if (/^(hf:|https?:)/i.test(modelPath)) return false;
|
|
615
615
|
const resolved = resolveUserPath(modelPath);
|
|
616
616
|
try {
|
|
617
|
-
return
|
|
617
|
+
return fs$1.statSync(resolved).isFile();
|
|
618
618
|
} catch {
|
|
619
619
|
return false;
|
|
620
620
|
}
|
|
@@ -2073,7 +2073,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2073
2073
|
]);
|
|
2074
2074
|
const additionalPaths = normalizeExtraMemoryPaths(this.workspaceDir, this.settings.extraPaths);
|
|
2075
2075
|
for (const entry of additionalPaths) try {
|
|
2076
|
-
const stat =
|
|
2076
|
+
const stat = fs$1.lstatSync(entry);
|
|
2077
2077
|
if (stat.isSymbolicLink()) continue;
|
|
2078
2078
|
if (stat.isDirectory()) {
|
|
2079
2079
|
watchPaths.add(path.join(entry, "**", "*.md"));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { I as resolveUserPath, P as resolveConfigDir, k as isRecord } from "./registry-
|
|
1
|
+
import { I as resolveUserPath, P as resolveConfigDir, k as isRecord } from "./registry-CK4e9hn8.js";
|
|
2
2
|
import { n as MANIFEST_KEY } from "./legacy-names-BHV4AoFT.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fs from "node:fs";
|
|
5
5
|
import { fileURLToPath } from "node:url";
|
|
6
6
|
|
|
7
7
|
//#region src/infra/host-env-security-policy.json
|
|
@@ -59,7 +59,7 @@ function isPathInside$1(basePath, candidatePath) {
|
|
|
59
59
|
}
|
|
60
60
|
function safeRealpathSync$1(filePath) {
|
|
61
61
|
try {
|
|
62
|
-
return
|
|
62
|
+
return fs.realpathSync(filePath);
|
|
63
63
|
} catch {
|
|
64
64
|
return null;
|
|
65
65
|
}
|
|
@@ -226,13 +226,13 @@ function resolveBundledPluginsDir() {
|
|
|
226
226
|
try {
|
|
227
227
|
const execDir = path.dirname(process.execPath);
|
|
228
228
|
const sibling = path.join(execDir, "extensions");
|
|
229
|
-
if (
|
|
229
|
+
if (fs.existsSync(sibling)) return sibling;
|
|
230
230
|
} catch {}
|
|
231
231
|
try {
|
|
232
232
|
let cursor = path.dirname(fileURLToPath(import.meta.url));
|
|
233
233
|
for (let i = 0; i < 6; i += 1) {
|
|
234
234
|
const candidate = path.join(cursor, "extensions");
|
|
235
|
-
if (
|
|
235
|
+
if (fs.existsSync(candidate)) return candidate;
|
|
236
236
|
const parent = path.dirname(cursor);
|
|
237
237
|
if (parent === cursor) break;
|
|
238
238
|
cursor = parent;
|
|
@@ -251,20 +251,20 @@ function normalizeStringList(value) {
|
|
|
251
251
|
function resolvePluginManifestPath(rootDir) {
|
|
252
252
|
for (const filename of PLUGIN_MANIFEST_FILENAMES) {
|
|
253
253
|
const candidate = path.join(rootDir, filename);
|
|
254
|
-
if (
|
|
254
|
+
if (fs.existsSync(candidate)) return candidate;
|
|
255
255
|
}
|
|
256
256
|
return path.join(rootDir, PLUGIN_MANIFEST_FILENAME);
|
|
257
257
|
}
|
|
258
258
|
function loadPluginManifest(rootDir) {
|
|
259
259
|
const manifestPath = resolvePluginManifestPath(rootDir);
|
|
260
|
-
if (!
|
|
260
|
+
if (!fs.existsSync(manifestPath)) return {
|
|
261
261
|
ok: false,
|
|
262
262
|
error: `plugin manifest not found: ${manifestPath}`,
|
|
263
263
|
manifestPath
|
|
264
264
|
};
|
|
265
265
|
let raw;
|
|
266
266
|
try {
|
|
267
|
-
raw = JSON.parse(
|
|
267
|
+
raw = JSON.parse(fs.readFileSync(manifestPath, "utf-8"));
|
|
268
268
|
} catch (err) {
|
|
269
269
|
return {
|
|
270
270
|
ok: false,
|
|
@@ -331,7 +331,7 @@ function safeRealpathSync(targetPath, cache) {
|
|
|
331
331
|
const cached = cache?.get(targetPath);
|
|
332
332
|
if (cached) return cached;
|
|
333
333
|
try {
|
|
334
|
-
const resolved =
|
|
334
|
+
const resolved = fs.realpathSync(targetPath);
|
|
335
335
|
cache?.set(targetPath, resolved);
|
|
336
336
|
return resolved;
|
|
337
337
|
} catch {
|
|
@@ -340,7 +340,7 @@ function safeRealpathSync(targetPath, cache) {
|
|
|
340
340
|
}
|
|
341
341
|
function safeStatSync(targetPath) {
|
|
342
342
|
try {
|
|
343
|
-
return
|
|
343
|
+
return fs.statSync(targetPath);
|
|
344
344
|
} catch {
|
|
345
345
|
return null;
|
|
346
346
|
}
|
|
@@ -454,9 +454,9 @@ function isExtensionFile(filePath) {
|
|
|
454
454
|
}
|
|
455
455
|
function readPackageManifest(dir) {
|
|
456
456
|
const manifestPath = path.join(dir, "package.json");
|
|
457
|
-
if (!
|
|
457
|
+
if (!fs.existsSync(manifestPath)) return null;
|
|
458
458
|
try {
|
|
459
|
-
const raw =
|
|
459
|
+
const raw = fs.readFileSync(manifestPath, "utf-8");
|
|
460
460
|
return JSON.parse(raw);
|
|
461
461
|
} catch {
|
|
462
462
|
return null;
|
|
@@ -514,10 +514,10 @@ function resolvePackageEntrySource(params) {
|
|
|
514
514
|
return source;
|
|
515
515
|
}
|
|
516
516
|
function discoverInDirectory(params) {
|
|
517
|
-
if (!
|
|
517
|
+
if (!fs.existsSync(params.dir)) return;
|
|
518
518
|
let entries = [];
|
|
519
519
|
try {
|
|
520
|
-
entries =
|
|
520
|
+
entries = fs.readdirSync(params.dir, { withFileTypes: true });
|
|
521
521
|
} catch (err) {
|
|
522
522
|
params.diagnostics.push({
|
|
523
523
|
level: "warn",
|
|
@@ -579,7 +579,7 @@ function discoverInDirectory(params) {
|
|
|
579
579
|
"index.js",
|
|
580
580
|
"index.mjs",
|
|
581
581
|
"index.cjs"
|
|
582
|
-
].map((candidate) => path.join(fullPath, candidate)).find((candidate) =>
|
|
582
|
+
].map((candidate) => path.join(fullPath, candidate)).find((candidate) => fs.existsSync(candidate));
|
|
583
583
|
if (indexFile && isExtensionFile(indexFile)) addCandidate({
|
|
584
584
|
candidates: params.candidates,
|
|
585
585
|
diagnostics: params.diagnostics,
|
|
@@ -597,7 +597,7 @@ function discoverInDirectory(params) {
|
|
|
597
597
|
}
|
|
598
598
|
function discoverFromPath(params) {
|
|
599
599
|
const resolved = resolveUserPath(params.rawPath);
|
|
600
|
-
if (!
|
|
600
|
+
if (!fs.existsSync(resolved)) {
|
|
601
601
|
params.diagnostics.push({
|
|
602
602
|
level: "error",
|
|
603
603
|
message: `plugin path not found: ${resolved}`,
|
|
@@ -605,7 +605,7 @@ function discoverFromPath(params) {
|
|
|
605
605
|
});
|
|
606
606
|
return;
|
|
607
607
|
}
|
|
608
|
-
const stat =
|
|
608
|
+
const stat = fs.statSync(resolved);
|
|
609
609
|
if (stat.isFile()) {
|
|
610
610
|
if (!isExtensionFile(resolved)) {
|
|
611
611
|
params.diagnostics.push({
|
|
@@ -665,7 +665,7 @@ function discoverFromPath(params) {
|
|
|
665
665
|
"index.js",
|
|
666
666
|
"index.mjs",
|
|
667
667
|
"index.cjs"
|
|
668
|
-
].map((candidate) => path.join(resolved, candidate)).find((candidate) =>
|
|
668
|
+
].map((candidate) => path.join(resolved, candidate)).find((candidate) => fs.existsSync(candidate));
|
|
669
669
|
if (indexFile && isExtensionFile(indexFile)) {
|
|
670
670
|
addCandidate({
|
|
671
671
|
candidates: params.candidates,
|
|
@@ -779,7 +779,7 @@ function buildCacheKey(params) {
|
|
|
779
779
|
}
|
|
780
780
|
function safeStatMtimeMs(filePath) {
|
|
781
781
|
try {
|
|
782
|
-
return
|
|
782
|
+
return fs.statSync(filePath).mtimeMs;
|
|
783
783
|
} catch {
|
|
784
784
|
return null;
|
|
785
785
|
}
|
|
@@ -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 { r as normalizeChannelId } from "./plugins-
|
|
3
|
+
import { r as normalizeChannelId } from "./plugins-DQYI3Fr-.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-
|
|
1
|
+
import { c as getActivePluginRegistry, s as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry-CK4e9hn8.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-
|
|
2
|
+
import { o as resolveOAuthPath, s as resolveStateDir } from "./paths-Cce4PUkG.js";
|
|
3
3
|
import { t as DEFAULT_AGENT_ID } from "./session-key-BCzIW1Y2.js";
|
|
4
|
-
import { I as resolveUserPath } from "./registry-
|
|
5
|
-
import { a as resolveAgentModelPrimary, n as resolveAgentConfig } from "./agent-scope-
|
|
6
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
7
|
-
import { r as isTruthyEnvValue, t as formatCliCommand } from "./command-format-
|
|
8
|
-
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-
|
|
4
|
+
import { I as resolveUserPath } from "./registry-CK4e9hn8.js";
|
|
5
|
+
import { a as resolveAgentModelPrimary, n as resolveAgentConfig } from "./agent-scope-BxoUQqgM.js";
|
|
6
|
+
import { t as createSubsystemLogger } from "./subsystem-Bs9YvKLa.js";
|
|
7
|
+
import { r as isTruthyEnvValue, t as formatCliCommand } from "./command-format-BaxDnULz.js";
|
|
8
|
+
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-C_qUP7p5.js";
|
|
9
9
|
import fs from "node:fs/promises";
|
|
10
10
|
import path from "node:path";
|
|
11
|
-
import
|
|
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";
|
|
@@ -2959,7 +2959,7 @@ function resolveAuthStorePathForDisplay(agentDir) {
|
|
|
2959
2959
|
return pathname.startsWith("~") ? pathname : resolveUserPath(pathname);
|
|
2960
2960
|
}
|
|
2961
2961
|
function ensureAuthStoreFile(pathname) {
|
|
2962
|
-
if (
|
|
2962
|
+
if (fs$1.existsSync(pathname)) return;
|
|
2963
2963
|
saveJsonFile(pathname, {
|
|
2964
2964
|
version: AUTH_STORE_VERSION,
|
|
2965
2965
|
profiles: {}
|
|
@@ -3128,7 +3128,7 @@ function loadAuthProfileStoreForAgent(agentDir, _options) {
|
|
|
3128
3128
|
if (shouldWrite && legacy !== null) {
|
|
3129
3129
|
const legacyPath = resolveLegacyAuthStorePath(agentDir);
|
|
3130
3130
|
try {
|
|
3131
|
-
|
|
3131
|
+
fs$1.unlinkSync(legacyPath);
|
|
3132
3132
|
} catch (err) {
|
|
3133
3133
|
if (err?.code !== "ENOENT") log$1.warn("failed to delete legacy auth.json after migration", {
|
|
3134
3134
|
err,
|
|
@@ -7,7 +7,7 @@ import { t as ensurePiAuthJsonFromAuthProfiles } from "./pi-auth-json-CaX_1WHk.j
|
|
|
7
7
|
import { i as resolveForwardCompatModel, r as ANTIGRAVITY_OPUS_46_FORWARD_COMPAT_CANDIDATES } from "./model-DiCH8rkE.js";
|
|
8
8
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-Do3xMEtM.js";
|
|
9
9
|
import { C as parseDurationMs, i as loadConfig } from "./config-DHBLS1Hl.js";
|
|
10
|
-
import { O as runEmbeddedPiAgent, _n as DEFAULT_OAUTH_WARN_MS, _t as describeFailoverError, an as formatUsageWindowSummary, gn as maskApiKey, on as resolveUsageProviderId, rn as loadProviderUsageSummary, vn as buildAuthHealthSummary, yn as formatRemainingShort } from "./subagent-registry-
|
|
10
|
+
import { O as runEmbeddedPiAgent, _n as DEFAULT_OAUTH_WARN_MS, _t as describeFailoverError, an as formatUsageWindowSummary, gn as maskApiKey, on as resolveUsageProviderId, rn as loadProviderUsageSummary, vn as buildAuthHealthSummary, yn as formatRemainingShort } from "./subagent-registry-DvCrN2PQ.js";
|
|
11
11
|
import { i as resolveSessionTranscriptPath, s as resolveSessionTranscriptsDirForAgent } from "./paths-DNdWAq7b.js";
|
|
12
12
|
import { t as ensureSymiModelsJson } from "./models-config-CCMpqFyr.js";
|
|
13
13
|
import { n as loadModelCatalog } from "./model-catalog-CqCsARJX.js";
|
|
@@ -21,7 +21,7 @@ import { n as redactSecrets } from "./format-DVLB9DNB.js";
|
|
|
21
21
|
import { a as isLocalBaseUrl, c as normalizeAlias, d as resolveModelTarget, f as updateConfig, i as formatTokenK, l as resolveKnownAgentId, n as ensureFlagCompatibility, o as loadValidConfigOrThrow, r as formatMs, s as mergePrimaryFallbackConfig, t as applyDefaultModelPrimaryUpdate, u as resolveModelKeysFromEntries } from "./shared-D8K9MkWg.js";
|
|
22
22
|
import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-Cmrk2TPo.js";
|
|
23
23
|
import { n as logConfigUpdated } from "./logging-BGewRZy0.js";
|
|
24
|
-
import { a as createVpsAwareOAuthHandlers, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
24
|
+
import { a as createVpsAwareOAuthHandlers, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-C8cO9DLi.js";
|
|
25
25
|
import path from "node:path";
|
|
26
26
|
import fs from "node:fs/promises";
|
|
27
27
|
import { complete, getEnvApiKey, getModel } from "@mariozechner/pi-ai";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as CONFIG_PATH } from "./paths-Cqn-zk3M.js";
|
|
2
2
|
import { B as theme, R as colorize, S as shortenHomePath, z as isRich$1 } from "./utils-B-0b9bGM.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import { Yt as describeFailoverError, _r as formatRemainingShort, gr as buildAuthHealthSummary, gt as loadProviderUsageSummary, hr as DEFAULT_OAUTH_WARN_MS, mr as maskApiKey, vt as formatUsageWindowSummary, yt as resolveUsageProviderId, zt as runEmbeddedPiAgent } from "./reply-
|
|
4
|
+
import { Yt as describeFailoverError, _r as formatRemainingShort, gr as buildAuthHealthSummary, gt as loadProviderUsageSummary, hr as DEFAULT_OAUTH_WARN_MS, mr as maskApiKey, vt as formatUsageWindowSummary, yt as resolveUsageProviderId, zt as runEmbeddedPiAgent } from "./reply-BfZzgC9H.js";
|
|
5
5
|
import "./registry-Cja8eT7G.js";
|
|
6
6
|
import { f as defaultRuntime } from "./subsystem-D9vIQve0.js";
|
|
7
7
|
import "./exec-CWkblSrI.js";
|
|
@@ -110,7 +110,7 @@ import { n as redactSecrets } from "./format-yQZNwAF2.js";
|
|
|
110
110
|
import { a as isLocalBaseUrl, c as normalizeAlias, d as resolveModelTarget, f as updateConfig, i as formatTokenK, l as resolveKnownAgentId, n as ensureFlagCompatibility, o as loadValidConfigOrThrow, r as formatMs, s as mergePrimaryFallbackConfig, t as applyDefaultModelPrimaryUpdate, u as resolveModelKeysFromEntries } from "./shared-Knv1hy6h.js";
|
|
111
111
|
import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-BnOynwk4.js";
|
|
112
112
|
import { n as logConfigUpdated } from "./logging-BzzwiKjv.js";
|
|
113
|
-
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
113
|
+
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-BmH4oHwJ.js";
|
|
114
114
|
import { t as ensurePiAuthJsonFromAuthProfiles } from "./system-cli-UMsMEurS.js";
|
|
115
115
|
import path from "node:path";
|
|
116
116
|
import fs from "node:fs/promises";
|
|
@@ -14,7 +14,7 @@ import "./client-DMBZpU6X.js";
|
|
|
14
14
|
import "./call-BcE47FtD.js";
|
|
15
15
|
import "./message-channel-C9dERklz.js";
|
|
16
16
|
import "./pairing-token-Byh6drgn.js";
|
|
17
|
-
import "./subagent-registry-
|
|
17
|
+
import "./subagent-registry-DvCrN2PQ.js";
|
|
18
18
|
import "./sessions-CJXnZVjR.js";
|
|
19
19
|
import "./tokens-Csntmwwn.js";
|
|
20
20
|
import "./plugins-CwSlLxM8.js";
|
|
@@ -104,8 +104,8 @@ import "./table-D01d2GuY.js";
|
|
|
104
104
|
import "./shared-D8K9MkWg.js";
|
|
105
105
|
import "./auth-token-Cmrk2TPo.js";
|
|
106
106
|
import "./logging-BGewRZy0.js";
|
|
107
|
-
import { c as githubCopilotLoginCommand } from "./provider-auth-helpers-
|
|
108
|
-
import { C as modelsAliasesListCommand, S as modelsAliasesAddCommand, _ as modelsAuthOrderSetCommand, a as modelsStatusCommand, b as modelsAuthPasteTokenCommand, c as modelsImageFallbacksClearCommand, d as modelsFallbacksAddCommand, f as modelsFallbacksClearCommand, g as modelsAuthOrderGetCommand, h as modelsAuthOrderClearCommand, i as modelsScanCommand, l as modelsImageFallbacksListCommand, m as modelsFallbacksRemoveCommand, n as modelsSetImageCommand, o as modelsListCommand, p as modelsFallbacksListCommand, r as modelsSetCommand, s as modelsImageFallbacksAddCommand, u as modelsImageFallbacksRemoveCommand, v as modelsAuthAddCommand, w as modelsAliasesRemoveCommand, x as modelsAuthSetupTokenCommand, y as modelsAuthLoginCommand } from "./models-
|
|
107
|
+
import { c as githubCopilotLoginCommand } from "./provider-auth-helpers-C8cO9DLi.js";
|
|
108
|
+
import { C as modelsAliasesListCommand, S as modelsAliasesAddCommand, _ as modelsAuthOrderSetCommand, a as modelsStatusCommand, b as modelsAuthPasteTokenCommand, c as modelsImageFallbacksClearCommand, d as modelsFallbacksAddCommand, f as modelsFallbacksClearCommand, g as modelsAuthOrderGetCommand, h as modelsAuthOrderClearCommand, i as modelsScanCommand, l as modelsImageFallbacksListCommand, m as modelsFallbacksRemoveCommand, n as modelsSetImageCommand, o as modelsListCommand, p as modelsFallbacksListCommand, r as modelsSetCommand, s as modelsImageFallbacksAddCommand, u as modelsImageFallbacksRemoveCommand, v as modelsAuthAddCommand, w as modelsAliasesRemoveCommand, x as modelsAuthSetupTokenCommand, y as modelsAuthLoginCommand } from "./models-CPlSSoV0.js";
|
|
109
109
|
|
|
110
110
|
//#region src/cli/models-cli.ts
|
|
111
111
|
function runModelsCommand(action) {
|
|
@@ -9,8 +9,8 @@ import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, r as isGate
|
|
|
9
9
|
import { t as assertSupportedRuntime } from "./runtime-guard-D7waq_Ho.js";
|
|
10
10
|
import { r as isSystemdUserServiceAvailable } from "./systemd-DlMdyFDY.js";
|
|
11
11
|
import { t as resolveGatewayService } from "./service-Cm9j9WzQ.js";
|
|
12
|
-
import { r as healthCommand } from "./health-
|
|
13
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
12
|
+
import { r as healthCommand } from "./health-z-YCZRhf.js";
|
|
13
|
+
import { t as runOnboardingWizard } from "./onboarding-CwU-Uyo6.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-Cmrk2TPo.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";
|
|
@@ -11,8 +11,8 @@ import { t as createClackPrompter } from "./clack-prompter-B7pN13HV.js";
|
|
|
11
11
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-2mwX-jqj.js";
|
|
12
12
|
import { r as isSystemdUserServiceAvailable } from "./systemd-riq8uNJQ.js";
|
|
13
13
|
import { t as resolveGatewayService } from "./service-Cl74hx8J.js";
|
|
14
|
-
import { r as healthCommand } from "./health-
|
|
15
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
14
|
+
import { r as healthCommand } from "./health-DQmyj-7z.js";
|
|
15
|
+
import { t as runOnboardingWizard } from "./onboarding-Dg49kkBF.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-BnOynwk4.js";
|
|
17
17
|
import { n as logConfigUpdated } from "./logging-BzzwiKjv.js";
|
|
18
18
|
import { n as isDeprecatedAuthChoice, r as normalizeLegacyOnboardAuthChoice } from "./auth-choice-legacy-Ch38-Kbr.js";
|
|
@@ -3,7 +3,7 @@ import { E as formatChannelSelectionLine, O as listChatChannels, T as formatChan
|
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-BtYOfWxC.js";
|
|
4
4
|
import { h as normalizeAccountId, m as DEFAULT_ACCOUNT_ID } from "./session-key-DjZ7Z1hW.js";
|
|
5
5
|
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-D-jRCY0d.js";
|
|
6
|
-
import { m as loadSymiPlugins, p as createPluginLoaderLogger } from "./subagent-registry-
|
|
6
|
+
import { m as loadSymiPlugins, p as createPluginLoaderLogger } from "./subagent-registry-DvCrN2PQ.js";
|
|
7
7
|
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-CwSlLxM8.js";
|
|
8
8
|
import { t as formatDocsLink } from "./links-DlWpl9Yv.js";
|
|
9
9
|
import { r as listChannelPluginCatalogEntries } from "./catalog-DLQFKucJ.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { dt as createPluginLoaderLogger, ft as loadSymiPlugins } from "./reply-
|
|
2
|
+
import { dt as createPluginLoaderLogger, ft as loadSymiPlugins } from "./reply-BfZzgC9H.js";
|
|
3
3
|
import { h as normalizeAccountId, m as DEFAULT_ACCOUNT_ID } from "./session-key-DCt45XZa.js";
|
|
4
4
|
import { a as formatChannelSelectionLine, i as formatChannelPrimerLine, s as listChatChannels } from "./registry-Cja8eT7G.js";
|
|
5
5
|
import { t as createSubsystemLogger } from "./subsystem-D9vIQve0.js";
|
|
@@ -223,7 +223,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
223
223
|
const { ensureAuthProfileStore } = await import("./auth-profiles-Q1xTr5SX.js").then((n) => n.t);
|
|
224
224
|
const { promptAuthChoiceGrouped } = await import("./auth-choice-prompt-DVcYPG2v.js").then((n) => n.t);
|
|
225
225
|
const { promptCustomApiConfig } = await import("./onboard-custom-DdWPfzJO.js").then((n) => n.r);
|
|
226
|
-
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-
|
|
226
|
+
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-Br6zT8iS.js").then((n) => n.t);
|
|
227
227
|
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-D5nCutGW.js").then((n) => n.i);
|
|
228
228
|
const authStore = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false });
|
|
229
229
|
const authChoiceFromPrompt = opts.authChoice === void 0;
|
|
@@ -276,7 +276,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
276
276
|
if (opts.skipChannels ?? opts.skipProviders) await prompter.note("Skipping channel setup.", "Channels");
|
|
277
277
|
else {
|
|
278
278
|
const { listChannelPlugins } = await import("./plugins-CwSlLxM8.js").then((n) => n.i);
|
|
279
|
-
const { setupChannels } = await import("./onboard-channels-
|
|
279
|
+
const { setupChannels } = await import("./onboard-channels-DjfS9mS6.js").then((n) => n.n);
|
|
280
280
|
const quickstartAllowFromChannels = flow === "quickstart" ? listChannelPlugins().filter((plugin) => plugin.meta.quickstartAllowFrom).map((plugin) => plugin.id) : [];
|
|
281
281
|
nextConfig = await setupChannels(nextConfig, runtime, prompter, {
|
|
282
282
|
allowSignalInstall: true,
|
|
@@ -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-
|
|
305
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-BaMs5pR4.js");
|
|
306
306
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
307
307
|
flow,
|
|
308
308
|
opts,
|
|
@@ -225,7 +225,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
225
225
|
const { ensureAuthProfileStore } = await import("./model-selection-CyFvYcRt.js").then((n) => n.dt);
|
|
226
226
|
const { promptAuthChoiceGrouped } = await import("./auth-choice-prompt-BLzEBA1v.js").then((n) => n.t);
|
|
227
227
|
const { promptCustomApiConfig } = await import("./onboard-custom-C7O-zfQ1.js").then((n) => n.r);
|
|
228
|
-
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-
|
|
228
|
+
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-DvaVrSwn.js").then((n) => n.t);
|
|
229
229
|
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-Ddo3jHe-.js").then((n) => n.i);
|
|
230
230
|
const authStore = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false });
|
|
231
231
|
const authChoiceFromPrompt = opts.authChoice === void 0;
|
|
@@ -278,7 +278,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
278
278
|
if (opts.skipChannels ?? opts.skipProviders) await prompter.note("Skipping channel setup.", "Channels");
|
|
279
279
|
else {
|
|
280
280
|
const { listChannelPlugins } = await import("./plugins-DKDeQZF0.js").then((n) => n.i);
|
|
281
|
-
const { setupChannels } = await import("./onboard-channels-
|
|
281
|
+
const { setupChannels } = await import("./onboard-channels-S0FbC25u.js").then((n) => n.n);
|
|
282
282
|
const quickstartAllowFromChannels = flow === "quickstart" ? listChannelPlugins().filter((plugin) => plugin.meta.quickstartAllowFrom).map((plugin) => plugin.id) : [];
|
|
283
283
|
nextConfig = await setupChannels(nextConfig, runtime, prompter, {
|
|
284
284
|
allowSignalInstall: true,
|
|
@@ -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-
|
|
307
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-CsBYKFAW.js");
|
|
308
308
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
309
309
|
flow,
|
|
310
310
|
opts,
|
|
@@ -14,7 +14,7 @@ import "./client-DMBZpU6X.js";
|
|
|
14
14
|
import "./call-BcE47FtD.js";
|
|
15
15
|
import "./message-channel-C9dERklz.js";
|
|
16
16
|
import "./pairing-token-Byh6drgn.js";
|
|
17
|
-
import "./subagent-registry-
|
|
17
|
+
import "./subagent-registry-DvCrN2PQ.js";
|
|
18
18
|
import "./sessions-CJXnZVjR.js";
|
|
19
19
|
import "./tokens-Csntmwwn.js";
|
|
20
20
|
import "./plugins-CwSlLxM8.js";
|
|
@@ -99,18 +99,18 @@ import "./prompt-style-DwCXob2h.js";
|
|
|
99
99
|
import "./pairing-labels-D1HDboV2.js";
|
|
100
100
|
import "./pi-tools.policy-De00gPXt.js";
|
|
101
101
|
import "./note-DDecZomM.js";
|
|
102
|
-
import "./register.subclis-
|
|
103
|
-
import "./command-registry-
|
|
102
|
+
import "./register.subclis-JthXJSly.js";
|
|
103
|
+
import "./command-registry-C0Ht_h4u.js";
|
|
104
104
|
import "./program-context-CqzR_m-7.js";
|
|
105
|
-
import { r as installCompletion } from "./completion-cli-
|
|
105
|
+
import { r as installCompletion } from "./completion-cli-DeieEaoW.js";
|
|
106
106
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-CfRwa6qh.js";
|
|
107
107
|
import "./runtime-guard-D7waq_Ho.js";
|
|
108
108
|
import { r as isSystemdUserServiceAvailable } from "./systemd-DlMdyFDY.js";
|
|
109
109
|
import { t as resolveGatewayService } from "./service-Cm9j9WzQ.js";
|
|
110
|
-
import { r as healthCommand } from "./health-
|
|
110
|
+
import { r as healthCommand } from "./health-z-YCZRhf.js";
|
|
111
111
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-BseSWee1.js";
|
|
112
112
|
import { t as formatHealthCheckFailure } from "./health-format-CzgUHmmX.js";
|
|
113
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
113
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-D7oTPU1N.js";
|
|
114
114
|
import { t as runTui } from "./tui-BJB80muc.js";
|
|
115
115
|
import os from "node:os";
|
|
116
116
|
import path from "node:path";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-Cqn-zk3M.js";
|
|
2
2
|
import { h as pathExists, y as resolveUserPath } from "./utils-B-0b9bGM.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import "./reply-
|
|
4
|
+
import "./reply-BfZzgC9H.js";
|
|
5
5
|
import "./registry-Cja8eT7G.js";
|
|
6
6
|
import { p as restoreTerminalState } from "./subsystem-D9vIQve0.js";
|
|
7
7
|
import "./exec-CWkblSrI.js";
|
|
@@ -103,16 +103,16 @@ 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-
|
|
106
|
+
import "./program-context-1jbNznxI.js";
|
|
107
107
|
import "./note-DeHoW7xO.js";
|
|
108
|
-
import { r as installCompletion } from "./completion-cli-
|
|
108
|
+
import { r as installCompletion } from "./completion-cli-BEzbCT8h.js";
|
|
109
109
|
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";
|
|
110
110
|
import { r as isSystemdUserServiceAvailable } from "./systemd-riq8uNJQ.js";
|
|
111
111
|
import { t as resolveGatewayService } from "./service-Cl74hx8J.js";
|
|
112
|
-
import { r as healthCommand } from "./health-
|
|
112
|
+
import { r as healthCommand } from "./health-DQmyj-7z.js";
|
|
113
113
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-Z947tKLt.js";
|
|
114
114
|
import { t as formatHealthCheckFailure } from "./health-format-DSwnXZPU.js";
|
|
115
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
115
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-C_0iVIQ2.js";
|
|
116
116
|
import { t as runTui } from "./tui-CriznorL.js";
|
|
117
117
|
import os from "node:os";
|
|
118
118
|
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-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { n as loadConfig } from "./config-
|
|
5
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
6
|
-
import { a as loadWebMedia } from "./ir-
|
|
2
|
+
import { D as escapeRegExp, H as toWhatsappJid, rt as getChildLogger } from "./registry-CK4e9hn8.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-Bs9YvKLa.js";
|
|
4
|
+
import { n as loadConfig } from "./config-DRbjHIwD.js";
|
|
5
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-iMQQZu4Q.js";
|
|
6
|
+
import { a as loadWebMedia } from "./ir-DccrnjsE.js";
|
|
7
7
|
import { n as normalizePollInput } from "./polls-CCuCaqgv.js";
|
|
8
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
9
|
-
import { n as requireActiveWebListener } from "./active-listener-
|
|
8
|
+
import { t as convertMarkdownTables } from "./tables-DuZspiBu.js";
|
|
9
|
+
import { n as requireActiveWebListener } from "./active-listener-C9r8ZB9m.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-
|
|
2
|
-
import { a as loadWebMedia } from "./ir-
|
|
1
|
+
import { r as saveMediaBuffer } from "./store-C0wvOkae.js";
|
|
2
|
+
import { a as loadWebMedia } from "./ir-DccrnjsE.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
|
|
3
|
+
import fs from "node:fs";
|
|
4
4
|
|
|
5
5
|
//#region src/infra/home-dir.ts
|
|
6
6
|
function normalize(value) {
|
|
@@ -85,10 +85,10 @@ function resolveStateDir(env = process.env, homedir = envHomedir(env)) {
|
|
|
85
85
|
if (override) return resolveUserPath(override, env, effectiveHomedir);
|
|
86
86
|
const newDir = newStateDir(effectiveHomedir);
|
|
87
87
|
const legacyDirs = legacyStateDirs(effectiveHomedir);
|
|
88
|
-
if (
|
|
88
|
+
if (fs.existsSync(newDir)) return newDir;
|
|
89
89
|
const existingLegacy = legacyDirs.find((dir) => {
|
|
90
90
|
try {
|
|
91
|
-
return
|
|
91
|
+
return fs.existsSync(dir);
|
|
92
92
|
} catch {
|
|
93
93
|
return false;
|
|
94
94
|
}
|
|
@@ -127,7 +127,7 @@ function resolveCanonicalConfigPath(env = process.env, stateDir = resolveStateDi
|
|
|
127
127
|
function resolveConfigPathCandidate(env = process.env, homedir = envHomedir(env)) {
|
|
128
128
|
const existing = resolveDefaultConfigCandidates(env, homedir).find((candidate) => {
|
|
129
129
|
try {
|
|
130
|
-
return
|
|
130
|
+
return fs.existsSync(candidate);
|
|
131
131
|
} catch {
|
|
132
132
|
return false;
|
|
133
133
|
}
|
|
@@ -144,7 +144,7 @@ function resolveConfigPath(env = process.env, stateDir = resolveStateDir(env, en
|
|
|
144
144
|
const stateOverride = env.SYMI_STATE_DIR?.trim();
|
|
145
145
|
const existing = [path.join(stateDir, CONFIG_FILENAME), ...LEGACY_CONFIG_FILENAMES.map((name) => path.join(stateDir, name))].find((candidate) => {
|
|
146
146
|
try {
|
|
147
|
-
return
|
|
147
|
+
return fs.existsSync(candidate);
|
|
148
148
|
} catch {
|
|
149
149
|
return false;
|
|
150
150
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as expandHomePrefix, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-
|
|
1
|
+
import { c as expandHomePrefix, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-Cce4PUkG.js";
|
|
2
2
|
import { s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-BCzIW1Y2.js";
|
|
3
3
|
import os from "node:os";
|
|
4
4
|
import path from "node:path";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import "./registry-
|
|
3
|
-
import "./agent-scope-
|
|
4
|
-
import "./subsystem-
|
|
5
|
-
import "./workspace-
|
|
1
|
+
import "./paths-Cce4PUkG.js";
|
|
2
|
+
import "./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 "./command-format-
|
|
8
|
-
import { A as normalizeProviderId, _ as ensureAuthProfileStore } from "./model-auth-
|
|
9
|
-
import "./github-copilot-token-
|
|
7
|
+
import "./command-format-BaxDnULz.js";
|
|
8
|
+
import { A as normalizeProviderId, _ as ensureAuthProfileStore } from "./model-auth-DK43VicI.js";
|
|
9
|
+
import "./github-copilot-token-C_qUP7p5.js";
|
|
10
10
|
import fs from "node:fs/promises";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
|