@symerian/symi 3.0.6 → 3.0.8
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/{agents-gbr-1Je_.js → agents-CFKyEJDh.js} +4 -4
- package/dist/{agents.config-CpxstSW7.js → agents.config-DSrQ0TM2.js} +1 -1
- package/dist/{agents.config-BfNlwhop.js → agents.config-JYh7a1x9.js} +1 -1
- package/dist/{auth-choice-54kgymsK.js → auth-choice-BPmdR0Zg.js} +1 -1
- package/dist/{auth-choice-D-6X8Ju1.js → auth-choice-BqParF2V.js} +1 -1
- package/dist/{banner-a-SFB2A_.js → banner-Lq52Hf1m.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +2 -2
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-LdOWOuGF.js → channel-options-DbwyNFsd.js} +1 -1
- package/dist/{channel-options-Gr9E4Kzw.js → channel-options-uukUHxrR.js} +1 -1
- package/dist/{channel-web-CegzhXtr.js → channel-web-CBUFAaN-.js} +1 -1
- package/dist/{channels-cli-yEaXg9E8.js → channels-cli-DUwg4n9o.js} +6 -6
- package/dist/{channels-cli-BqxfCcHJ.js → channels-cli-DwWkhoS-.js} +6 -6
- package/dist/{cli-frCx1q0g.js → cli-BK00_StG.js} +3 -3
- package/dist/{cli-CBgbuAgA.js → cli-DZZmysLn.js} +3 -3
- package/dist/{command-registry-BuNPoTgT.js → command-registry-DvI-_9ed.js} +10 -10
- package/dist/{completion-cli-CtslzC-3.js → completion-cli-CSoNdvYn.js} +1 -1
- package/dist/{completion-cli-CslG8pRZ.js → completion-cli-D4db0jDk.js} +2 -2
- package/dist/{config-cli-DG0Q2opp.js → config-cli-CfqGGDZJ.js} +1 -1
- package/dist/{config-cli-Bne_ToTi.js → config-cli-Chi8-vDl.js} +1 -1
- package/dist/{configure-CrUroh9h.js → configure-CpVWXUGL.js} +3 -3
- package/dist/{configure-DVEumX9d.js → configure-n6QOImwq.js} +3 -3
- package/dist/{doctor-completion-C7FYoFcz.js → doctor-completion-Cx_h4e8C.js} +1 -1
- package/dist/{doctor-completion-BdPD9NXi.js → doctor-completion-Dh1Ui0Jl.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +2 -2
- package/dist/{gateway-cli-C01t6lTD.js → gateway-cli-CBC3MsCD.js} +25 -14
- package/dist/{gateway-cli-C3pl_TOb.js → gateway-cli-DLCN4Pur.js} +25 -14
- package/dist/{glass-ui-ws-DdfAZRq2.js → glass-ui-ws-CSvguyD3.js} +10 -10
- package/dist/{glass-ui-ws-D4FpSEkk.js → glass-ui-ws-Dy9BMqps.js} +10 -10
- package/dist/{health-BJOdskDn.js → health-CMNaNxdO.js} +2 -2
- package/dist/{health-Ux1rRtE3.js → health-CcIuOt6-.js} +2 -2
- package/dist/{heartbeat-visibility-BOc3XHJM.js → heartbeat-visibility-C1vHOBwO.js} +1 -1
- package/dist/{heartbeat-visibility-DiKuGlXT.js → heartbeat-visibility-D7nLp3pi.js} +1 -1
- package/dist/{hooks-cli-QOqeVacd.js → hooks-cli-BJBRRQxq.js} +4 -4
- package/dist/{hooks-cli-C4qRn2e6.js → hooks-cli-Lu13tVB5.js} +4 -4
- package/dist/index.js +9 -9
- package/dist/llm-slug-generator.js +2 -2
- package/dist/{manager-H_Xir_av.js → manager-CpueNJtZ.js} +1 -1
- package/dist/{manager-OL6o99xD.js → manager-DrpXfTr8.js} +1 -1
- package/dist/{manager-DdfJ-DW0.js → manager-_IXN4-V8.js} +1 -1
- package/dist/{manager-D7uDkX3d.js → manager-ba9NOjzn.js} +1 -1
- package/dist/{memory-cli-CEvfDody.js → memory-cli-CFc9bXRp.js} +3 -3
- package/dist/{memory-cli-BFgNzW3D.js → memory-cli-LV7-59SK.js} +3 -3
- package/dist/{models-Bf1Qgxcd.js → models-BB9yLhYJ.js} +2 -2
- package/dist/{models-cli-C-yQI9uO.js → models-cli-RtPAmw2C.js} +4 -4
- package/dist/{models-cli-IPj8YpFi.js → models-cli-trgrhp5d.js} +5 -5
- package/dist/{onboard-DxD7tZro.js → onboard-2UCdDScQ.js} +2 -2
- package/dist/{onboard-D3RCwOQV.js → onboard-BLaF7s8_.js} +2 -2
- package/dist/{onboard-channels-C9yhPSG7.js → onboard-channels-jMIN_VEb.js} +1 -1
- package/dist/{onboard-channels-DjyTcloL.js → onboard-channels-puKAWnzj.js} +1 -1
- package/dist/{onboarding-BT5x19Ld.js → onboarding-Buq2k7LQ.js} +3 -3
- package/dist/{onboarding-3Zmxzq_U.js → onboarding-HqJ5qUk9.js} +3 -3
- package/dist/{onboarding.finalize-Di8oo0E9.js → onboarding.finalize-B_n1Ng2R.js} +8 -8
- package/dist/{onboarding.finalize-DYIUxpai.js → onboarding.finalize-CDNE7OaF.js} +9 -9
- package/dist/{pi-embedded-DiktDTAb.js → pi-embedded-D9KmgdGY.js} +99 -5
- package/dist/{plugin-registry-Dv9QEb6z.js → plugin-registry-B33lS3i0.js} +1 -1
- package/dist/{plugin-registry-DSVGT3l_.js → plugin-registry-DzQCMRvf.js} +1 -1
- package/dist/plugin-sdk/{accounts-BToL3HlP.js → accounts-BtaOa4z_.js} +1 -1
- package/dist/plugin-sdk/{accounts-D9zGZU5t.js → accounts-Ddm33hQm.js} +3 -3
- package/dist/plugin-sdk/{accounts-Dtszw3Zn.js → accounts-s-AdhXVR.js} +1 -1
- package/dist/plugin-sdk/{active-listener-BtNt_ynZ.js → active-listener-BaxIPBYG.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-RSN8nr_m.js → agent-scope-BREbt-rZ.js} +2 -2
- package/dist/plugin-sdk/agents/model-aware-stream.d.ts +21 -0
- package/dist/plugin-sdk/{audio-preflight-Cl6PVUW_.js → audio-preflight-D9L7twa5.js} +24 -24
- package/dist/plugin-sdk/{bindings-DhPQDTtp.js → bindings-Da0i5ERM.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-Ji7f0gqq.js → channel-activity-DoC1xtDu.js} +1 -1
- package/dist/plugin-sdk/{channel-web-CQucEpek.js → channel-web-C8ezEiP7.js} +22 -22
- package/dist/plugin-sdk/{chrome-CrHP4JAa.js → chrome-BWTwV7zX.js} +3 -3
- package/dist/plugin-sdk/{chunk-jvk9axTQ.js → chunk-Dw2XBYXv.js} +1 -1
- package/dist/plugin-sdk/{command-format-DSdvQ_M5.js → command-format-GKSevep4.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-BMqWVyks.js → commands-registry-Du2NjN4l.js} +4 -4
- package/dist/plugin-sdk/{config-Bv0LE_Mp.js → config-gBtOrR8U.js} +9 -9
- package/dist/plugin-sdk/{consolidate-BieO-_k_.js → consolidate-DHzE-Epp.js} +2 -2
- package/dist/plugin-sdk/{deliver-lElKpUWY.js → deliver-DnGDY8HE.js} +9 -9
- package/dist/plugin-sdk/{diagnostic-fnIb_o_V.js → diagnostic-Jo7QixCi.js} +1 -1
- package/dist/plugin-sdk/{gemini-auth-BJBLsO9s.js → gemini-auth-tw0x8cTJ.js} +1 -1
- package/dist/plugin-sdk/{image-Br537YWQ.js → image-B5JkxaYD.js} +4 -4
- package/dist/plugin-sdk/{image-ops-C_3iBQe1.js → image-ops-DZ8OTT0B.js} +1 -1
- package/dist/plugin-sdk/index.js +54 -54
- package/dist/plugin-sdk/{ir-DrnNua4p.js → ir-DfsDN6C5.js} +4 -4
- package/dist/plugin-sdk/{local-roots-8f4AroIC.js → local-roots-CxzyCF23.js} +3 -3
- package/dist/plugin-sdk/{login-BqGhBXI8.js → login-CiJUA7rI.js} +7 -7
- package/dist/plugin-sdk/{login-qr-mWNNbk2o.js → login-qr-DOY_pSMD.js} +9 -9
- package/dist/plugin-sdk/{manager-DMMQnz2r.js → manager-DfIw_nTh.js} +9 -9
- package/dist/plugin-sdk/{manifest-registry-hy3Bn-r9.js → manifest-registry-BRx4JDK0.js} +1 -1
- package/dist/plugin-sdk/{markdown-tables-ivSTmsOn.js → markdown-tables-BBiVsk1q.js} +1 -1
- package/dist/plugin-sdk/{message-channel-BdI5Ra9S.js → message-channel-COTAJzHd.js} +1 -1
- package/dist/plugin-sdk/{model-selection-B-K2B0xR.js → model-selection-DSYL4oYC.js} +4 -4
- package/dist/plugin-sdk/{outbound-CgeYMV-m.js → outbound-0mkEeuuS.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment-qB-kgb_3.js → outbound-attachment-V-8HPvXC.js} +2 -2
- package/dist/plugin-sdk/{pi-auth-json-BMKHahdN.js → pi-auth-json-7_Iwu6Aw.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-DLlOikDI.js → pi-embedded-helpers-IgdlMVmo.js} +17 -17
- package/dist/plugin-sdk/{plugins-muf5lfx-.js → plugins-DRWyzk5i.js} +4 -4
- package/dist/plugin-sdk/{pw-ai-Bo7ZVnlF.js → pw-ai-Ch5O4KwP.js} +8 -8
- package/dist/plugin-sdk/{qmd-manager-Chj9aSN5.js → qmd-manager-BvQckdNY.js} +4 -4
- package/dist/plugin-sdk/{registry--_pGht6S.js → registry-D0xTnUWt.js} +2 -2
- package/dist/plugin-sdk/{replies-CuNUVXBG.js → replies-D5beVE9J.js} +3 -3
- package/dist/plugin-sdk/{reply-prefix-CDeu1pum.js → reply-prefix-BKFQ9roP.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-BkHNUpdB.js → resolve-outbound-target-BHmUS6gT.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-kXW9e3Go.js → resolve-route-B34r6gNi.js} +3 -3
- package/dist/plugin-sdk/{retry-ilSJqnz9.js → retry-CwQ_iIj8.js} +1 -1
- package/dist/plugin-sdk/{runner-NZmejDHd.js → runner-BbSYOhWN.js} +9 -9
- package/dist/plugin-sdk/{send-CNkol_HZ.js → send-BG9dfcnW.js} +10 -10
- package/dist/plugin-sdk/{send-v8Nttqd6.js → send-BkajF0QS.js} +7 -7
- package/dist/plugin-sdk/{send-BE1OwwUT.js → send-BrFerfxu.js} +6 -6
- package/dist/plugin-sdk/{send-CKznEmCe.js → send-CYozWNvy.js} +6 -6
- package/dist/plugin-sdk/{send-CNHhzZOb.js → send-v1NlN5gT.js} +10 -10
- package/dist/plugin-sdk/{session-DMulfRcG.js → session-Cs-mNH2L.js} +4 -4
- package/dist/plugin-sdk/{skill-commands-HLp_gCNJ.js → skill-commands-7-2Ap-qA.js} +5 -5
- package/dist/plugin-sdk/{skills-ksP6m2tL.js → skills-BDwS4XUE.js} +7 -7
- package/dist/plugin-sdk/{sqlite-BflKfcLD.js → sqlite-DLwYpBWC.js} +1 -1
- package/dist/plugin-sdk/{store-uf7TpQm3.js → store-Dt1oCaOn.js} +2 -2
- package/dist/plugin-sdk/{subsystem-Coz2AgU8.js → subsystem-B2uDN3TV.js} +1 -1
- package/dist/plugin-sdk/{synthesis-B3oSNA87.js → synthesis-D3NFc3n3.js} +49 -49
- package/dist/plugin-sdk/{tables-DE2W8BrP.js → tables-MCQfYFPK.js} +1 -1
- package/dist/plugin-sdk/{target-errors-Dqf_-SRz.js → target-errors-BGT90lj4.js} +2 -2
- package/dist/plugin-sdk/{thinking-Bq90REOa.js → thinking-qM2Kzm92.js} +5 -5
- package/dist/plugin-sdk/{tokens-D-HI9PZG.js → tokens-CVWPo-HD.js} +1 -1
- package/dist/plugin-sdk/{tool-images-DAXbRHJ1.js → tool-images-DvOrYSAO.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-DseOlBug.js → tool-loop-detection-gmtzSlNZ.js} +2 -2
- package/dist/plugin-sdk/{unified-runner-DPD66ppH.js → unified-runner-BnOMNrBG.js} +172 -78
- package/dist/plugin-sdk/web-pXmkwCgo.js +66 -0
- package/dist/plugin-sdk/{whatsapp-actions-BXONjmN2.js → whatsapp-actions-00m45Zqm.js} +21 -21
- package/dist/{plugins-cli-BKE00xaA.js → plugins-cli-BH-dPouA.js} +4 -4
- package/dist/{plugins-cli-Cudgx5xM.js → plugins-cli-D7SeopUy.js} +4 -4
- package/dist/{program-D6GycU7K.js → program-CWtqcl5o.js} +9 -9
- package/dist/{program-context-DUf2HkNT.js → program-context-C_BCGX6e.js} +18 -18
- package/dist/{prompt-select-styled-9fffbtA8.js → prompt-select-styled-DZLfB9dr.js} +6 -6
- package/dist/{prompt-select-styled-MZgg9luq.js → prompt-select-styled-DmA5bdHo.js} +6 -6
- package/dist/{provider-auth-helpers-CbjDDek6.js → provider-auth-helpers-Brx0zsB4.js} +1 -1
- package/dist/{provider-auth-helpers-CH_rD9Ck.js → provider-auth-helpers-Df50nCNL.js} +1 -1
- package/dist/{push-apns-D2xhFnz-.js → push-apns-CXP9q39j.js} +1 -1
- package/dist/{push-apns-zIsKDi4p.js → push-apns-jE3kPG6g.js} +1 -1
- package/dist/{register.agent-BkQdGAxf.js → register.agent-DGwbPjex.js} +7 -7
- package/dist/{register.agent-CR1I0Nxi.js → register.agent-DzQtVgfQ.js} +8 -8
- package/dist/{register.configure-CIbNs3Ys.js → register.configure-B56gsKYf.js} +9 -9
- package/dist/{register.configure-O5fmbHql.js → register.configure-BQ1gQQOO.js} +9 -9
- package/dist/{register.maintenance-BjE-lDkf.js → register.maintenance-B12lwewm.js} +10 -10
- package/dist/{register.maintenance-B6o6Fdf-.js → register.maintenance-DXD1xP8H.js} +11 -11
- package/dist/{register.message-DkZC56-E.js → register.message--QXkhXHQ.js} +4 -4
- package/dist/{register.message-CPV6KKj_.js → register.message-xW7Gic5V.js} +4 -4
- package/dist/{register.onboard-DB0X3H1H.js → register.onboard-CWycJIUS.js} +7 -7
- package/dist/{register.onboard-DPUx5H9I.js → register.onboard-CqP2iJit.js} +7 -7
- package/dist/{register.setup-BHGui0h8.js → register.setup-B33Xl3Vr.js} +7 -7
- package/dist/{register.setup-BdfIHr44.js → register.setup-COjF7Ffj.js} +7 -7
- package/dist/{register.status-health-sessions-CAr_-YOR.js → register.status-health-sessions-BGA-7IT8.js} +6 -6
- package/dist/{register.status-health-sessions-Bx_x7PLI.js → register.status-health-sessions-CsjDghzj.js} +6 -6
- package/dist/{register.subclis-Bd9G7Uhk.js → register.subclis-Bzag-xbt.js} +9 -9
- package/dist/{run-main-DINwkweo.js → run-main-BPMrQvz2.js} +17 -17
- package/dist/{server-methods-D_HpHoWo.js → server-methods-C72ajlYe.js} +9 -9
- package/dist/{server-methods-BBiqjTnY.js → server-methods-C_TFp6B4.js} +9 -9
- package/dist/{server-node-events-D33Ivpdb.js → server-node-events-BTuwCzuB.js} +4 -4
- package/dist/{server-node-events-BBcYbve5.js → server-node-events-Cn5abeER.js} +4 -4
- package/dist/{status-CdRoRdX8.js → status-C5RXDLjI.js} +1 -1
- package/dist/{status-Do0t7I6P.js → status-CrxGjZwV.js} +3 -3
- package/dist/{status-B5SAsM15.js → status-CvJZLdWA.js} +1 -1
- package/dist/{status-E8bxgRbF.js → status-DIGJ8-hp.js} +3 -3
- package/dist/{subagent-registry-B4gg8TFc.js → subagent-registry-k0ZBnJuU.js} +98 -4
- package/dist/{synthesis-BzXl3DdN.js → synthesis-C-rsRpDw.js} +2 -2
- package/dist/{synthesis-BuXEOM51.js → synthesis-C3AKD3Nb.js} +2 -2
- package/dist/{synthesis-CmoAF3Ks.js → synthesis-D4qwtCYE.js} +3 -3
- package/dist/{synthesis-Camc_uQg.js → synthesis-cor0WJGI.js} +3 -3
- package/dist/{unified-runner-NjwIEpGt.js → unified-runner-CzxCpDUC.js} +98 -4
- package/dist/{unified-runner-Bvqbwaaa.js → unified-runner-Dv9LPnmm.js} +99 -5
- package/dist/{update-cli-DT51XdLt.js → update-cli-CEhf4IFG.js} +11 -11
- package/dist/{update-cli-BmxN561H.js → update-cli-uwOyL4_F.js} +10 -10
- package/dist/{update-runner-BSHkPRya.js → update-runner-BSDKsvVP.js} +1 -1
- package/dist/{update-runner-DObjNXP5.js → update-runner-Bcmd0XnZ.js} +1 -1
- package/dist/{web-CWFF4V6q.js → web-CSPcQYqR.js} +2 -2
- package/dist/{web-DMJyGxn3.js → web-D9-D09LS.js} +4 -4
- package/dist/{web-DNwg0ZOA.js → web-DJqpgWuK.js} +5 -5
- package/dist/{web-BPiGXIj5.js → web-gqbdxJga.js} +2 -2
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/google-antigravity-auth/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/learning-loop/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +12 -0
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/package.json +1 -1
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +12 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +12 -0
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/outlook/package.json +1 -1
- package/extensions/pipeline/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +12 -0
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +12 -0
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +12 -0
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +12 -0
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
- package/dist/plugin-sdk/web-O8zxjM0h.js +0 -66
|
@@ -7,7 +7,7 @@ import { t as ensurePiAuthJsonFromAuthProfiles } from "./pi-auth-json-BIqAX5Nb.j
|
|
|
7
7
|
import { i as resolveForwardCompatModel, r as ANTIGRAVITY_OPUS_46_FORWARD_COMPAT_CANDIDATES } from "./model-gTuKtP-h.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-CE_yCGtB.js";
|
|
10
|
-
import { St as describeFailoverError, X as runAgentTurn, _n as DEFAULT_OAUTH_WARN_MS, cn as formatUsageWindowSummary, gn as maskApiKey, ln as resolveUsageProviderId, on as loadProviderUsageSummary, vn as buildAuthHealthSummary, yn as formatRemainingShort } from "./subagent-registry-
|
|
10
|
+
import { St as describeFailoverError, X as runAgentTurn, _n as DEFAULT_OAUTH_WARN_MS, cn as formatUsageWindowSummary, gn as maskApiKey, ln as resolveUsageProviderId, on as loadProviderUsageSummary, vn as buildAuthHealthSummary, yn as formatRemainingShort } from "./subagent-registry-k0ZBnJuU.js";
|
|
11
11
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-DNdWAq7b.js";
|
|
12
12
|
import { t as ensureSymiModelsJson } from "./models-config-BEX8iiQb.js";
|
|
13
13
|
import { n as loadModelCatalog } from "./model-catalog-BXJvtHkB.js";
|
|
@@ -21,7 +21,7 @@ import { n as redactSecrets } from "./format-yQZNwAF2.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-CAMX8OWO.js";
|
|
22
22
|
import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-DxCWh5rj.js";
|
|
23
23
|
import { n as logConfigUpdated } from "./logging-PVQxLC6I.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-Brx0zsB4.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 "./tokens-Cz6cgZ7r.js";
|
|
4
|
-
import { $t as resolveUsageProviderId, Qt as formatUsageWindowSummary, Rr as describeFailoverError, Xt as loadProviderUsageSummary, cn as DEFAULT_OAUTH_WARN_MS, ln as buildAuthHealthSummary, sn as maskApiKey, t as runAgentTurn, un as formatRemainingShort } from "./unified-runner-
|
|
4
|
+
import { $t as resolveUsageProviderId, Qt as formatUsageWindowSummary, Rr as describeFailoverError, Xt as loadProviderUsageSummary, cn as DEFAULT_OAUTH_WARN_MS, ln as buildAuthHealthSummary, sn as maskApiKey, t as runAgentTurn, un as formatRemainingShort } from "./unified-runner-CzxCpDUC.js";
|
|
5
5
|
import "./registry-ClO_zVv-.js";
|
|
6
6
|
import { f as defaultRuntime } from "./subsystem-zqierDLj.js";
|
|
7
7
|
import { Ct as resolveEnvApiKey, Dt as getShellEnvAppliedKeys, F as modelKey, H as resolveDefaultModelForAgent, Ht as DEFAULT_MODEL, L as normalizeProviderId, M as findNormalizedProviderValue, Mt as shouldEnableShellEnvFallback, R as parseModelRef, St as resolveAwsSdkEnvVarName, T as resolveSymiAgentDir, Ut as DEFAULT_PROVIDER, V as resolveConfiguredModelRef, W as resolveModelRefFromString, Wt as resolveAuthProfileDisplayLabel, _ as setAuthProfileOrder, b as ensureAuthProfileStore, h as listProfilesForProvider, j as buildModelAliasIndex, n as resolveAuthProfileOrder, s as resolveProfileUnusableUntilForDisplay, v as upsertAuthProfile, w as resolveAuthStorePathForDisplay, xt as resolveApiKeyForProvider, yt as getCustomProviderApiKey } from "./auth-profiles-HXq6s5EV.js";
|
|
@@ -56,8 +56,8 @@ import "./send-DNJPCiwf.js";
|
|
|
56
56
|
import { i as resolveForwardCompatModel, r as ANTIGRAVITY_OPUS_46_FORWARD_COMPAT_CANDIDATES } from "./model-DIO3dH08.js";
|
|
57
57
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-CXXH7biP.js";
|
|
58
58
|
import "./reply-prefix-DnXliXio.js";
|
|
59
|
-
import "./memory-cli-
|
|
60
|
-
import "./manager-
|
|
59
|
+
import "./memory-cli-LV7-59SK.js";
|
|
60
|
+
import "./manager-_IXN4-V8.js";
|
|
61
61
|
import "./gemini-auth-D7Wqp9Ma.js";
|
|
62
62
|
import "./retry-DYICeae5.js";
|
|
63
63
|
import "./sqlite-CRogFEk1.js";
|
|
@@ -111,7 +111,7 @@ import { n as redactSecrets } from "./format-DNqZrSx7.js";
|
|
|
111
111
|
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-BI81j0__.js";
|
|
112
112
|
import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-C4cGXLuI.js";
|
|
113
113
|
import { n as logConfigUpdated } from "./logging-CZuxhCZR.js";
|
|
114
|
-
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-
|
|
114
|
+
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-Df50nCNL.js";
|
|
115
115
|
import crypto from "node:crypto";
|
|
116
116
|
import path from "node:path";
|
|
117
117
|
import fs from "node:fs/promises";
|
|
@@ -14,7 +14,7 @@ import "./client-CJIMV1WD.js";
|
|
|
14
14
|
import "./call-DgBbW7bk.js";
|
|
15
15
|
import "./message-channel-C9dERklz.js";
|
|
16
16
|
import "./pairing-token-Byh6drgn.js";
|
|
17
|
-
import "./subagent-registry-
|
|
17
|
+
import "./subagent-registry-k0ZBnJuU.js";
|
|
18
18
|
import "./sessions-D94fC0u0.js";
|
|
19
19
|
import "./tokens-BEvOiQ65.js";
|
|
20
20
|
import "./plugins-DTKQE9kt.js";
|
|
@@ -52,8 +52,8 @@ import "./tool-images-CVLISeRT.js";
|
|
|
52
52
|
import "./thinking-8sKPnzpp.js";
|
|
53
53
|
import "./models-config-BEX8iiQb.js";
|
|
54
54
|
import "./reply-prefix-Pz-5t5RS.js";
|
|
55
|
-
import "./memory-cli-
|
|
56
|
-
import "./manager-
|
|
55
|
+
import "./memory-cli-CFc9bXRp.js";
|
|
56
|
+
import "./manager-DrpXfTr8.js";
|
|
57
57
|
import "./gemini-auth-48fFOTO4.js";
|
|
58
58
|
import "./retry-C4Q_VPOo.js";
|
|
59
59
|
import "./sqlite-BP8tiuca.js";
|
|
@@ -104,8 +104,8 @@ import "./table-Bka4fasy.js";
|
|
|
104
104
|
import "./shared-CAMX8OWO.js";
|
|
105
105
|
import "./auth-token-DxCWh5rj.js";
|
|
106
106
|
import "./logging-PVQxLC6I.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-Brx0zsB4.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-BB9yLhYJ.js";
|
|
109
109
|
|
|
110
110
|
//#region src/cli/models-cli.ts
|
|
111
111
|
function runModelsCommand(action) {
|
|
@@ -11,8 +11,8 @@ import { t as createClackPrompter } from "./clack-prompter-Cd5Ohk77.js";
|
|
|
11
11
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BR2zWQaj.js";
|
|
12
12
|
import { r as isSystemdUserServiceAvailable } from "./systemd-z4aO4iTi.js";
|
|
13
13
|
import { t as resolveGatewayService } from "./service-CW2RUNzh.js";
|
|
14
|
-
import { r as healthCommand } from "./health-
|
|
15
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
14
|
+
import { r as healthCommand } from "./health-CcIuOt6-.js";
|
|
15
|
+
import { t as runOnboardingWizard } from "./onboarding-Buq2k7LQ.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-C4cGXLuI.js";
|
|
17
17
|
import { n as logConfigUpdated } from "./logging-CZuxhCZR.js";
|
|
18
18
|
import { n as isDeprecatedAuthChoice, r as normalizeLegacyOnboardAuthChoice } from "./auth-choice-legacy-C7jeLI7r.js";
|
|
@@ -9,8 +9,8 @@ import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, r as isGate
|
|
|
9
9
|
import { t as assertSupportedRuntime } from "./runtime-guard-BofkqBu7.js";
|
|
10
10
|
import { r as isSystemdUserServiceAvailable } from "./systemd-CJ5L2ee4.js";
|
|
11
11
|
import { t as resolveGatewayService } from "./service-RxN7lQKN.js";
|
|
12
|
-
import { r as healthCommand } from "./health-
|
|
13
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
12
|
+
import { r as healthCommand } from "./health-CMNaNxdO.js";
|
|
13
|
+
import { t as runOnboardingWizard } from "./onboarding-HqJ5qUk9.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-DxCWh5rj.js";
|
|
15
15
|
import { n as logConfigUpdated } from "./logging-PVQxLC6I.js";
|
|
16
16
|
import { n as isDeprecatedAuthChoice, r as normalizeLegacyOnboardAuthChoice } from "./auth-choice-legacy-DxCamFcQ.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-xM36I1Em.js";
|
|
6
|
-
import { m as loadSymiPlugins, p as createPluginLoaderLogger } from "./subagent-registry-
|
|
6
|
+
import { m as loadSymiPlugins, p as createPluginLoaderLogger } from "./subagent-registry-k0ZBnJuU.js";
|
|
7
7
|
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-DTKQE9kt.js";
|
|
8
8
|
import { t as formatDocsLink } from "./links-CxyMXTsn.js";
|
|
9
9
|
import { r as listChannelPluginCatalogEntries } from "./catalog-KcLvtTfa.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { o as createPluginLoaderLogger, s as loadSymiPlugins } from "./unified-runner-
|
|
2
|
+
import { o as createPluginLoaderLogger, s as loadSymiPlugins } from "./unified-runner-CzxCpDUC.js";
|
|
3
3
|
import { a as formatChannelSelectionLine, i as formatChannelPrimerLine, s as listChatChannels } from "./registry-ClO_zVv-.js";
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-zqierDLj.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-CyXZlazG.js";
|
|
@@ -225,7 +225,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
225
225
|
const { ensureAuthProfileStore } = await import("./auth-profiles-HXq6s5EV.js").then((n) => n.t);
|
|
226
226
|
const { promptAuthChoiceGrouped } = await import("./auth-choice-prompt-PeQmwVpp.js").then((n) => n.t);
|
|
227
227
|
const { promptCustomApiConfig } = await import("./onboard-custom-BZNMW8nN.js").then((n) => n.r);
|
|
228
|
-
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-
|
|
228
|
+
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-BqParF2V.js").then((n) => n.t);
|
|
229
229
|
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-CdgzsHoJ.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-BL5D1_sT.js").then((n) => n.i);
|
|
281
|
-
const { setupChannels } = await import("./onboard-channels-
|
|
281
|
+
const { setupChannels } = await import("./onboard-channels-puKAWnzj.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-B_n1Ng2R.js");
|
|
308
308
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
309
309
|
flow,
|
|
310
310
|
opts,
|
|
@@ -223,7 +223,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
223
223
|
const { ensureAuthProfileStore } = await import("./auth-profiles-B5Csh1eO.js").then((n) => n.t);
|
|
224
224
|
const { promptAuthChoiceGrouped } = await import("./auth-choice-prompt-DF6R_pgV.js").then((n) => n.t);
|
|
225
225
|
const { promptCustomApiConfig } = await import("./onboard-custom-D1bZYymg.js").then((n) => n.r);
|
|
226
|
-
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-
|
|
226
|
+
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-BPmdR0Zg.js").then((n) => n.t);
|
|
227
227
|
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-BO_XjLs5.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-DTKQE9kt.js").then((n) => n.i);
|
|
279
|
-
const { setupChannels } = await import("./onboard-channels-
|
|
279
|
+
const { setupChannels } = await import("./onboard-channels-jMIN_VEb.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-CDNE7OaF.js");
|
|
306
306
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
307
307
|
flow,
|
|
308
308
|
opts,
|
|
@@ -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 "./tokens-Cz6cgZ7r.js";
|
|
4
|
-
import "./unified-runner-
|
|
4
|
+
import "./unified-runner-CzxCpDUC.js";
|
|
5
5
|
import "./registry-ClO_zVv-.js";
|
|
6
6
|
import { p as restoreTerminalState } from "./subsystem-zqierDLj.js";
|
|
7
7
|
import "./auth-profiles-HXq6s5EV.js";
|
|
@@ -56,8 +56,8 @@ import "./send-DNJPCiwf.js";
|
|
|
56
56
|
import "./model-DIO3dH08.js";
|
|
57
57
|
import "./pi-model-discovery-CXXH7biP.js";
|
|
58
58
|
import "./reply-prefix-DnXliXio.js";
|
|
59
|
-
import "./memory-cli-
|
|
60
|
-
import "./manager-
|
|
59
|
+
import "./memory-cli-LV7-59SK.js";
|
|
60
|
+
import "./manager-_IXN4-V8.js";
|
|
61
61
|
import "./gemini-auth-D7Wqp9Ma.js";
|
|
62
62
|
import "./retry-DYICeae5.js";
|
|
63
63
|
import "./sqlite-CRogFEk1.js";
|
|
@@ -103,18 +103,18 @@ import { b as waitForGatewayReachable, f as openUrl, g as resolveControlUiLinks,
|
|
|
103
103
|
import "./prompt-style-CSNJI4MG.js";
|
|
104
104
|
import "./pairing-labels-6wdVkxUt.js";
|
|
105
105
|
import "./pi-tools.policy-CQ0NqaBl.js";
|
|
106
|
-
import "./heartbeat-visibility-
|
|
106
|
+
import "./heartbeat-visibility-D7nLp3pi.js";
|
|
107
107
|
import "./runtime-guard-dBbuLE2m.js";
|
|
108
|
-
import "./program-context-
|
|
108
|
+
import "./program-context-C_BCGX6e.js";
|
|
109
109
|
import "./note-CYS1SoX6.js";
|
|
110
|
-
import { r as installCompletion } from "./completion-cli-
|
|
110
|
+
import { r as installCompletion } from "./completion-cli-CSoNdvYn.js";
|
|
111
111
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BR2zWQaj.js";
|
|
112
112
|
import { r as isSystemdUserServiceAvailable } from "./systemd-z4aO4iTi.js";
|
|
113
113
|
import { t as resolveGatewayService } from "./service-CW2RUNzh.js";
|
|
114
|
-
import { r as healthCommand } from "./health-
|
|
114
|
+
import { r as healthCommand } from "./health-CcIuOt6-.js";
|
|
115
115
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-CtKVON4w.js";
|
|
116
116
|
import { t as formatHealthCheckFailure } from "./health-format-Ct4VWeSk.js";
|
|
117
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
117
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-Cx_h4e8C.js";
|
|
118
118
|
import { t as runTui } from "./tui-Cb1kUTIe.js";
|
|
119
119
|
import os from "node:os";
|
|
120
120
|
import path from "node:path";
|
|
@@ -15,7 +15,7 @@ import "./client-CJIMV1WD.js";
|
|
|
15
15
|
import "./call-DgBbW7bk.js";
|
|
16
16
|
import "./message-channel-C9dERklz.js";
|
|
17
17
|
import "./pairing-token-Byh6drgn.js";
|
|
18
|
-
import "./subagent-registry-
|
|
18
|
+
import "./subagent-registry-k0ZBnJuU.js";
|
|
19
19
|
import "./sessions-D94fC0u0.js";
|
|
20
20
|
import "./tokens-BEvOiQ65.js";
|
|
21
21
|
import "./plugins-DTKQE9kt.js";
|
|
@@ -53,8 +53,8 @@ import "./tool-images-CVLISeRT.js";
|
|
|
53
53
|
import "./thinking-8sKPnzpp.js";
|
|
54
54
|
import "./models-config-BEX8iiQb.js";
|
|
55
55
|
import "./reply-prefix-Pz-5t5RS.js";
|
|
56
|
-
import "./memory-cli-
|
|
57
|
-
import "./manager-
|
|
56
|
+
import "./memory-cli-CFc9bXRp.js";
|
|
57
|
+
import "./manager-DrpXfTr8.js";
|
|
58
58
|
import "./gemini-auth-48fFOTO4.js";
|
|
59
59
|
import "./retry-C4Q_VPOo.js";
|
|
60
60
|
import "./sqlite-BP8tiuca.js";
|
|
@@ -99,20 +99,20 @@ import { b as waitForGatewayReachable, f as openUrl, g as resolveControlUiLinks,
|
|
|
99
99
|
import "./prompt-style-BxVdnrLq.js";
|
|
100
100
|
import "./pairing-labels-D5bj-6hr.js";
|
|
101
101
|
import "./pi-tools.policy-Dcon0Kdw.js";
|
|
102
|
-
import "./heartbeat-visibility-
|
|
102
|
+
import "./heartbeat-visibility-C1vHOBwO.js";
|
|
103
103
|
import "./note-DewoEWtc.js";
|
|
104
|
-
import "./register.subclis-
|
|
105
|
-
import "./command-registry-
|
|
104
|
+
import "./register.subclis-Bzag-xbt.js";
|
|
105
|
+
import "./command-registry-DvI-_9ed.js";
|
|
106
106
|
import "./program-context-DeZ44oQ9.js";
|
|
107
|
-
import { r as installCompletion } from "./completion-cli-
|
|
107
|
+
import { r as installCompletion } from "./completion-cli-D4db0jDk.js";
|
|
108
108
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-zr84-Tnf.js";
|
|
109
109
|
import "./runtime-guard-BofkqBu7.js";
|
|
110
110
|
import { r as isSystemdUserServiceAvailable } from "./systemd-CJ5L2ee4.js";
|
|
111
111
|
import { t as resolveGatewayService } from "./service-RxN7lQKN.js";
|
|
112
|
-
import { r as healthCommand } from "./health-
|
|
112
|
+
import { r as healthCommand } from "./health-CMNaNxdO.js";
|
|
113
113
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-DKcwWWGv.js";
|
|
114
114
|
import { t as formatHealthCheckFailure } from "./health-format-DkjSgkDx.js";
|
|
115
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
115
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-Dh1Ui0Jl.js";
|
|
116
116
|
import { t as runTui } from "./tui-lLpf5sOM.js";
|
|
117
117
|
import os from "node:os";
|
|
118
118
|
import path from "node:path";
|
|
@@ -37,7 +37,7 @@ import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as re
|
|
|
37
37
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-C8Tqw4td.js";
|
|
38
38
|
import { i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, r as sanitizeToolResultImages } from "./tool-images-CdTyeTEN.js";
|
|
39
39
|
import { S as ensureSymiModelsJson, _ as stripMinimaxToolCallXml, a as decodeDataUrl, b as stripReasoningTagsFromText, c as extractAssistantText$1, d as extractThinkingFromTaggedText, f as formatReasoningMessage, g as stripDowngradedToolCallText, h as promoteThinkingTagsToBlocks, i as coerceImageModelConfig, l as extractAssistantThinking, m as isAssistantMessage, o as resolveProviderVisionModelFromConfig, p as inferToolMetaFromArgs, r as coerceImageAssistantText, s as minimaxUnderstandImage, u as extractThinkingFromTaggedStream, v as stripThinkingTagsFromText, x as extractTextFromChatContent, y as resolveToolDisplay } from "./image-BwUdkv5g.js";
|
|
40
|
-
import { i as resolveMemorySearchConfig, n as probeOllamaEmbeddingModels, r as resolveOllamaBaseUrl } from "./manager-
|
|
40
|
+
import { i as resolveMemorySearchConfig, n as probeOllamaEmbeddingModels, r as resolveOllamaBaseUrl } from "./manager-ba9NOjzn.js";
|
|
41
41
|
import { c as normalizeExtraMemoryPaths, f as runTasksWithConcurrency, s as listMemoryFiles } from "./internal-479FB0St.js";
|
|
42
42
|
import { n as retryAsync } from "./retry-QGp0jvVi.js";
|
|
43
43
|
import { a as createActionGate, c as jsonResult, d as readReactionParams, f as readStringArrayParam, l as parseAvailableTags, m as readStringParam, n as missingTargetError, o as imageResult, p as readStringOrNumberParam, r as unknownTargetError, s as imageResultFromFile, t as ambiguousTargetError, u as readNumberParam } from "./target-errors-43lkDH_r.js";
|
|
@@ -3473,7 +3473,7 @@ async function getMemorySearchManager(params) {
|
|
|
3473
3473
|
const wrapper = new FallbackMemoryManager({
|
|
3474
3474
|
primary,
|
|
3475
3475
|
fallbackFactory: async () => {
|
|
3476
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
3476
|
+
const { MemoryIndexManager } = await import("./manager-ba9NOjzn.js").then((n) => n.t);
|
|
3477
3477
|
return await MemoryIndexManager.get(params);
|
|
3478
3478
|
}
|
|
3479
3479
|
}, () => QMD_MANAGER_CACHE.delete(cacheKey));
|
|
@@ -3486,7 +3486,7 @@ async function getMemorySearchManager(params) {
|
|
|
3486
3486
|
}
|
|
3487
3487
|
}
|
|
3488
3488
|
try {
|
|
3489
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
3489
|
+
const { MemoryIndexManager } = await import("./manager-ba9NOjzn.js").then((n) => n.t);
|
|
3490
3490
|
return { manager: await MemoryIndexManager.get(params) };
|
|
3491
3491
|
} catch (err) {
|
|
3492
3492
|
return {
|
|
@@ -22489,6 +22489,11 @@ function buildAgentSystemPrompt(params) {
|
|
|
22489
22489
|
"- Never narrate or quote tool output you did not actually receive from a real tool result. Writing \"I ran X and got Y\" without a corresponding tool invocation is fabrication and breaks user trust.",
|
|
22490
22490
|
"- For factual local-system lookups (hostname, file contents, process state, env vars, current dir, system info), the answer comes from invoking the appropriate tool — not from priors. Always invoke.",
|
|
22491
22491
|
"",
|
|
22492
|
+
"Example — when the user explicitly names a tool:",
|
|
22493
|
+
" User: \"Use the exec tool to run: echo hi\"",
|
|
22494
|
+
" Correct: call exec with command=\"echo hi\", then summarise the actual stdout you received.",
|
|
22495
|
+
" Wrong: emit \"hi\" as text without calling exec — that's fabrication.",
|
|
22496
|
+
"",
|
|
22492
22497
|
...compactMode ? [] : [
|
|
22493
22498
|
"## Tool Call Style",
|
|
22494
22499
|
"Default: do not narrate routine, low-risk tool calls (just call the tool).",
|
|
@@ -41604,6 +41609,91 @@ function createOutputNormalizer(profile, modelId) {
|
|
|
41604
41609
|
//#endregion
|
|
41605
41610
|
//#region src/agents/model-aware-stream.ts
|
|
41606
41611
|
/**
|
|
41612
|
+
* Match imperative tool requests:
|
|
41613
|
+
* "Use the exec tool to run X"
|
|
41614
|
+
* "use exec to ..."
|
|
41615
|
+
* "Please invoke the read tool"
|
|
41616
|
+
* "call memory_search with ..."
|
|
41617
|
+
*
|
|
41618
|
+
* Anchored to start-of-string, start-of-line, or after a closing-bracket
|
|
41619
|
+
* delimiter `] ` (covers Symi's `[Thu 2026-04-30 20:48 EDT] ` timestamp
|
|
41620
|
+
* envelope, the `[Outlook 365] ` plugin banner, and similar prefixes that
|
|
41621
|
+
* gateway middleware can inject before the user's actual prompt — verified
|
|
41622
|
+
* live: `chat.send` from Glass UI ships content like
|
|
41623
|
+
*
|
|
41624
|
+
* Conversation info (untrusted metadata):
|
|
41625
|
+
* ```json
|
|
41626
|
+
* { "message_id": "...", ... }
|
|
41627
|
+
* ```
|
|
41628
|
+
*
|
|
41629
|
+
* [Thu 2026-04-30 20:48 EDT] Use the exec tool to run: hostname
|
|
41630
|
+
*
|
|
41631
|
+
* so the `Use` is preceded by `] ` not by `\n` or `^`).
|
|
41632
|
+
*
|
|
41633
|
+
* Verb list is conservative (use/invoke/call/please-{use,call}) — pure
|
|
41634
|
+
* imperative verbs that read unambiguously as "do this for me." Tool name
|
|
41635
|
+
* must match EXPLICIT_TOOL_NAMES exactly to keep "use poetic language" /
|
|
41636
|
+
* "use clear writing" / etc. from triggering.
|
|
41637
|
+
*/
|
|
41638
|
+
const EXPLICIT_TOOL_REQUEST_PATTERN = new RegExp(String.raw`(?:^|\n|\]\s)\s*(?:please\s+)?(?:use|invoke|call)\s+(?:the\s+)?(?:` + [
|
|
41639
|
+
"exec",
|
|
41640
|
+
"bash",
|
|
41641
|
+
"read",
|
|
41642
|
+
"write",
|
|
41643
|
+
"edit",
|
|
41644
|
+
"patch",
|
|
41645
|
+
"web_search",
|
|
41646
|
+
"web_fetch",
|
|
41647
|
+
"browser",
|
|
41648
|
+
"browser_navigate",
|
|
41649
|
+
"browser_snapshot",
|
|
41650
|
+
"browser_click",
|
|
41651
|
+
"browser_type",
|
|
41652
|
+
"memory_search",
|
|
41653
|
+
"memory_get",
|
|
41654
|
+
"memory_pin",
|
|
41655
|
+
"memory_unpin",
|
|
41656
|
+
"spawn_agent",
|
|
41657
|
+
"message",
|
|
41658
|
+
"task_list",
|
|
41659
|
+
"task_cancel",
|
|
41660
|
+
"cron",
|
|
41661
|
+
"fetch",
|
|
41662
|
+
"skill_search"
|
|
41663
|
+
].map((n) => n.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")).join("|") + String.raw`)(?:\s+tool)?\b`, "i");
|
|
41664
|
+
/**
|
|
41665
|
+
* Extract the user-role text ONLY when it's the LAST message in the
|
|
41666
|
+
* conversation (i.e., we're at the start of a fresh turn, not in the
|
|
41667
|
+
* middle of an agent loop). Returns "" when:
|
|
41668
|
+
* - messages isn't an array
|
|
41669
|
+
* - the last message isn't user-role (= we're after a tool_call /
|
|
41670
|
+
* tool_result and the model is continuing — forcing tool_choice
|
|
41671
|
+
* "required" here would loop the agent: model must call a tool →
|
|
41672
|
+
* tool result → model must call ANOTHER tool → tool result → ...)
|
|
41673
|
+
*
|
|
41674
|
+
* Verified live on 3.0.7 dev: with the original "find any prior user
|
|
41675
|
+
* message" implementation, every agent-loop iteration saw the same
|
|
41676
|
+
* matching userText and re-forced tool_choice="required", spinning the
|
|
41677
|
+
* model in an infinite tool-call loop and timing out at 180s.
|
|
41678
|
+
*/
|
|
41679
|
+
function extractLastUserText(messages) {
|
|
41680
|
+
if (!Array.isArray(messages) || messages.length === 0) return "";
|
|
41681
|
+
const last = messages[messages.length - 1];
|
|
41682
|
+
if (!last || typeof last !== "object") return "";
|
|
41683
|
+
const msg = last;
|
|
41684
|
+
if (msg.role !== "user") return "";
|
|
41685
|
+
if (typeof msg.content === "string") return msg.content;
|
|
41686
|
+
if (Array.isArray(msg.content)) {
|
|
41687
|
+
const parts = [];
|
|
41688
|
+
for (const part of msg.content) if (part && typeof part === "object") {
|
|
41689
|
+
const block = part;
|
|
41690
|
+
if (block.type === "text" && typeof block.text === "string") parts.push(block.text);
|
|
41691
|
+
}
|
|
41692
|
+
return parts.join("\n");
|
|
41693
|
+
}
|
|
41694
|
+
return "";
|
|
41695
|
+
}
|
|
41696
|
+
/**
|
|
41607
41697
|
* Create a single stream function wrapper that handles all provider-specific
|
|
41608
41698
|
* param injection via one onPayload hook.
|
|
41609
41699
|
*
|
|
@@ -41651,6 +41741,10 @@ function createModelAwareStreamFn(opts) {
|
|
|
41651
41741
|
delete p.store;
|
|
41652
41742
|
}
|
|
41653
41743
|
if (Array.isArray(p.tools) && p.tools.length > 0 && p.tool_choice === void 0) p.tool_choice = "auto";
|
|
41744
|
+
if (Array.isArray(p.tools) && p.tools.length > 0 && p.tool_choice === "auto") {
|
|
41745
|
+
const userText = extractLastUserText(p.messages);
|
|
41746
|
+
if (userText && EXPLICIT_TOOL_REQUEST_PATTERN.test(userText)) p.tool_choice = "required";
|
|
41747
|
+
}
|
|
41654
41748
|
}
|
|
41655
41749
|
callerOnPayload?.(payload);
|
|
41656
41750
|
};
|
|
@@ -60936,7 +61030,7 @@ function setCliSessionId(entry, provider, sessionId) {
|
|
|
60936
61030
|
function createDefaultDeps() {
|
|
60937
61031
|
return {
|
|
60938
61032
|
sendMessageWhatsApp: async (...args) => {
|
|
60939
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
61033
|
+
const { sendMessageWhatsApp } = await import("./web-gqbdxJga.js");
|
|
60940
61034
|
return await sendMessageWhatsApp(...args);
|
|
60941
61035
|
},
|
|
60942
61036
|
sendMessageTelegram: async (...args) => {
|
|
@@ -76216,7 +76310,7 @@ function loadWebLoginQr() {
|
|
|
76216
76310
|
return webLoginQrPromise;
|
|
76217
76311
|
}
|
|
76218
76312
|
function loadWebChannel() {
|
|
76219
|
-
webChannelPromise ??= import("./web-
|
|
76313
|
+
webChannelPromise ??= import("./web-gqbdxJga.js");
|
|
76220
76314
|
return webChannelPromise;
|
|
76221
76315
|
}
|
|
76222
76316
|
function loadWhatsAppActions() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { s as loadSymiPlugins } from "./unified-runner-
|
|
2
|
+
import { s as loadSymiPlugins } from "./unified-runner-CzxCpDUC.js";
|
|
3
3
|
import { d as getActivePluginRegistry } from "./registry-ClO_zVv-.js";
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-zqierDLj.js";
|
|
5
5
|
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-BajBuriF.js";
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { M as getActivePluginRegistry, o as createSubsystemLogger } from "./entry.js";
|
|
3
3
|
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-xM36I1Em.js";
|
|
4
4
|
import { i as loadConfig } from "./config-CE_yCGtB.js";
|
|
5
|
-
import { m as loadSymiPlugins } from "./subagent-registry-
|
|
5
|
+
import { m as loadSymiPlugins } from "./subagent-registry-k0ZBnJuU.js";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/plugin-registry.ts
|
|
8
8
|
var plugin_registry_exports = /* @__PURE__ */ __exportAll({ ensurePluginRegistryLoaded: () => ensurePluginRegistryLoaded });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as normalizeAccountId } from "./session-key-C_0eELjb.js";
|
|
2
|
-
import { _ as createAccountListHelpers } from "./accounts-
|
|
2
|
+
import { _ as createAccountListHelpers } from "./accounts-Ddm33hQm.js";
|
|
3
3
|
|
|
4
4
|
//#region src/signal/accounts.ts
|
|
5
5
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("signal");
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { f as DEFAULT_ACCOUNT_ID, p as normalizeAccountId } from "./session-key-C_0eELjb.js";
|
|
2
2
|
import { a as resolveOAuthDir } from "./paths-DR2yt_mP.js";
|
|
3
|
-
import { P as resolveUserPath, W as info, X as success, k as jidToE164, tt as getChildLogger } from "./registry
|
|
4
|
-
import { i as defaultRuntime } from "./subsystem-
|
|
5
|
-
import { t as formatCliCommand } from "./command-format-
|
|
3
|
+
import { P as resolveUserPath, W as info, X as success, k as jidToE164, tt as getChildLogger } from "./registry-D0xTnUWt.js";
|
|
4
|
+
import { i as defaultRuntime } from "./subsystem-B2uDN3TV.js";
|
|
5
|
+
import { t as formatCliCommand } from "./command-format-GKSevep4.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs$1 from "node:fs/promises";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as normalizeAccountId } from "./session-key-C_0eELjb.js";
|
|
2
|
-
import { _ as createAccountListHelpers } from "./accounts-
|
|
2
|
+
import { _ as createAccountListHelpers } from "./accounts-Ddm33hQm.js";
|
|
3
3
|
|
|
4
4
|
//#region src/imessage/accounts.ts
|
|
5
5
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("imessage");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as DEFAULT_ACCOUNT_ID } from "./session-key-C_0eELjb.js";
|
|
2
|
-
import { t as formatCliCommand } from "./command-format-
|
|
2
|
+
import { t as formatCliCommand } from "./command-format-GKSevep4.js";
|
|
3
3
|
|
|
4
4
|
//#region src/web/active-listener.ts
|
|
5
5
|
const listeners = /* @__PURE__ */ new Map();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as isCronSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID, v as isSubagentSessionKey, y as parseAgentSessionKey } from "./session-key-C_0eELjb.js";
|
|
2
2
|
import { s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-DR2yt_mP.js";
|
|
3
|
-
import { P as resolveUserPath, U as danger, W as info, Y as shouldLogVerbose, Z as warn, j as pathExists, nt as getLogger, q as logVerboseConsole } from "./registry
|
|
4
|
-
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-
|
|
3
|
+
import { P as resolveUserPath, U as danger, W as info, Y as shouldLogVerbose, Z as warn, j as pathExists, nt as getLogger, q as logVerboseConsole } from "./registry-D0xTnUWt.js";
|
|
4
|
+
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-B2uDN3TV.js";
|
|
5
5
|
import fs from "node:fs";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import os from "node:os";
|
|
@@ -13,6 +13,26 @@
|
|
|
13
13
|
import type { StreamFn } from "@mariozechner/pi-agent-core";
|
|
14
14
|
import type { SymiConfig } from "../config/config.js";
|
|
15
15
|
import type { ModelProfile } from "../config/model-profiles.js";
|
|
16
|
+
/**
|
|
17
|
+
* Extract the user-role text ONLY when it's the LAST message in the
|
|
18
|
+
* conversation (i.e., we're at the start of a fresh turn, not in the
|
|
19
|
+
* middle of an agent loop). Returns "" when:
|
|
20
|
+
* - messages isn't an array
|
|
21
|
+
* - the last message isn't user-role (= we're after a tool_call /
|
|
22
|
+
* tool_result and the model is continuing — forcing tool_choice
|
|
23
|
+
* "required" here would loop the agent: model must call a tool →
|
|
24
|
+
* tool result → model must call ANOTHER tool → tool result → ...)
|
|
25
|
+
*
|
|
26
|
+
* Verified live on 3.0.7 dev: with the original "find any prior user
|
|
27
|
+
* message" implementation, every agent-loop iteration saw the same
|
|
28
|
+
* matching userText and re-forced tool_choice="required", spinning the
|
|
29
|
+
* model in an infinite tool-call loop and timing out at 180s.
|
|
30
|
+
*/
|
|
31
|
+
declare function extractLastUserText(messages: unknown): string;
|
|
32
|
+
/** Exposed for unit tests. */
|
|
33
|
+
export declare const __EXPLICIT_TOOL_REQUEST_PATTERN: RegExp;
|
|
34
|
+
/** Exposed for unit tests. */
|
|
35
|
+
export declare const __extractLastUserText: typeof extractLastUserText;
|
|
16
36
|
export interface ModelAwareStreamOptions {
|
|
17
37
|
/** Base streaming function — streamSimple or createOllamaStreamFn. */
|
|
18
38
|
baseStreamFn?: StreamFn;
|
|
@@ -39,3 +59,4 @@ export interface ModelAwareStreamOptions {
|
|
|
39
59
|
export declare function createModelAwareStreamFn(opts: ModelAwareStreamOptions): StreamFn;
|
|
40
60
|
/** Detect vLLM providers by model hints or baseUrl patterns. */
|
|
41
61
|
export declare function isVllmProvider(provider: string, modelId: string, config?: SymiConfig): boolean;
|
|
62
|
+
export {};
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import "./accounts-
|
|
1
|
+
import "./accounts-Ddm33hQm.js";
|
|
2
2
|
import "./paths-DR2yt_mP.js";
|
|
3
3
|
import "./github-copilot-token-D9X2phUj.js";
|
|
4
|
-
import "./plugins-
|
|
5
|
-
import { K as logVerbose, Y as shouldLogVerbose } from "./registry
|
|
6
|
-
import "./config-
|
|
7
|
-
import "./subsystem-
|
|
8
|
-
import "./command-format-
|
|
9
|
-
import "./model-selection-
|
|
10
|
-
import "./agent-scope-
|
|
11
|
-
import "./manifest-registry-
|
|
4
|
+
import "./plugins-DRWyzk5i.js";
|
|
5
|
+
import { K as logVerbose, Y as shouldLogVerbose } from "./registry-D0xTnUWt.js";
|
|
6
|
+
import "./config-gBtOrR8U.js";
|
|
7
|
+
import "./subsystem-B2uDN3TV.js";
|
|
8
|
+
import "./command-format-GKSevep4.js";
|
|
9
|
+
import "./model-selection-DSYL4oYC.js";
|
|
10
|
+
import "./agent-scope-BREbt-rZ.js";
|
|
11
|
+
import "./manifest-registry-BRx4JDK0.js";
|
|
12
12
|
import "./redact-DPnDWsnT.js";
|
|
13
13
|
import "./errors-Bv8oZiTO.js";
|
|
14
|
-
import "./image-ops-
|
|
14
|
+
import "./image-ops-DZ8OTT0B.js";
|
|
15
15
|
import "./ssrf-DKZ8eBrk.js";
|
|
16
|
-
import "./local-roots-
|
|
17
|
-
import "./message-channel-
|
|
18
|
-
import "./bindings-
|
|
19
|
-
import "./tool-images-
|
|
20
|
-
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-
|
|
21
|
-
import "./skills-
|
|
22
|
-
import "./chrome-
|
|
23
|
-
import "./thinking-
|
|
24
|
-
import "./accounts-
|
|
25
|
-
import "./accounts-
|
|
26
|
-
import "./pi-embedded-helpers-
|
|
16
|
+
import "./local-roots-CxzyCF23.js";
|
|
17
|
+
import "./message-channel-COTAJzHd.js";
|
|
18
|
+
import "./bindings-Da0i5ERM.js";
|
|
19
|
+
import "./tool-images-DvOrYSAO.js";
|
|
20
|
+
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-BbSYOhWN.js";
|
|
21
|
+
import "./skills-BDwS4XUE.js";
|
|
22
|
+
import "./chrome-BWTwV7zX.js";
|
|
23
|
+
import "./thinking-qM2Kzm92.js";
|
|
24
|
+
import "./accounts-s-AdhXVR.js";
|
|
25
|
+
import "./accounts-BtaOa4z_.js";
|
|
26
|
+
import "./pi-embedded-helpers-IgdlMVmo.js";
|
|
27
27
|
import "./paths-A0xdf3yk.js";
|
|
28
|
-
import "./store-
|
|
29
|
-
import "./image-
|
|
28
|
+
import "./store-Dt1oCaOn.js";
|
|
29
|
+
import "./image-B5JkxaYD.js";
|
|
30
30
|
import "./pi-model-discovery-Cdz3tuFk.js";
|
|
31
|
-
import "./gemini-auth-
|
|
31
|
+
import "./gemini-auth-tw0x8cTJ.js";
|
|
32
32
|
|
|
33
33
|
//#region src/media-understanding/audio-preflight.ts
|
|
34
34
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as normalizeAccountId, s as normalizeAgentId } from "./session-key-C_0eELjb.js";
|
|
2
|
-
import { s as normalizeChatChannelId } from "./registry
|
|
3
|
-
import { s as resolveDefaultAgentId } from "./agent-scope-
|
|
2
|
+
import { s as normalizeChatChannelId } from "./registry-D0xTnUWt.js";
|
|
3
|
+
import { s as resolveDefaultAgentId } from "./agent-scope-BREbt-rZ.js";
|
|
4
4
|
|
|
5
5
|
//#region src/routing/bindings.ts
|
|
6
6
|
function normalizeBindingChannelId(raw) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as retryAsync, t as resolveRetryConfig } from "./retry-
|
|
1
|
+
import { n as retryAsync, t as resolveRetryConfig } from "./retry-CwQ_iIj8.js";
|
|
2
2
|
import { n as formatErrorMessage } from "./errors-Bv8oZiTO.js";
|
|
3
3
|
import { RateLimitError } from "@buape/carbon";
|
|
4
4
|
|