@symerian/symi 2.2.8 → 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{accounts-tNElYrCH.js → accounts-CI6zQTJj.js} +14 -14
- package/dist/{accounts-qtxJ-6em.js → accounts-CJR8j_Kq.js} +1 -1
- package/dist/{accounts-CWktKM8a.js → accounts-ChTFYj8Q.js} +1 -1
- package/dist/{acp-cli-C39L0DlT.js → acp-cli-Cu4icbJT.js} +2 -2
- package/dist/{acp-cli-C3PXowAr.js → acp-cli-NJzARaHq.js} +2 -2
- package/dist/{active-listener-C9r8ZB9m.js → active-listener-D6sXIjAg.js} +1 -1
- package/dist/{agent-scope-BxoUQqgM.js → agent-scope-Bw1Ed8W9.js} +3 -3
- package/dist/{agents-DbnUoR_W.js → agents-DzuttgJU.js} +7 -7
- package/dist/{agents.config-qyBeLoW5.js → agents.config-2HlZJsR3.js} +1 -1
- package/dist/{agents.config-D4WnZfkE.js → agents.config-CSucty2T.js} +1 -1
- package/dist/{audio-preflight-Cv9Z1hfd.js → audio-preflight-BsfqyC31.js} +29 -29
- package/dist/{audio-preflight-BsS_1f9-.js → audio-preflight-C40mKAp7.js} +5 -5
- package/dist/{audio-preflight-D6xo_ucC.js → audio-preflight-CWnxkaac.js} +11 -11
- package/dist/{audio-preflight-Dx82ytdb.js → audio-preflight-xSDULLAj.js} +11 -11
- package/dist/{audit-F6tyY79q.js → audit-Byo5jCLN.js} +5 -5
- package/dist/{audit-CbxXbquQ.js → audit-CrITRV6w.js} +5 -5
- package/dist/{auth-choice-DYxn5otk.js → auth-choice-ChrEc3cZ.js} +4 -4
- package/dist/{auth-choice-TbOBqNzh.js → auth-choice-Cve09z1a.js} +4 -4
- package/dist/{banner-BGxrGU83.js → banner-BoLflN_R.js} +1 -1
- package/dist/{bindings-B7Ke6LJi.js → bindings-BU2hsBd9.js} +2 -2
- package/dist/{browser-cli-BsdB0_5b.js → browser-cli-BG4qPxpM.js} +3 -3
- package/dist/{browser-cli-CTQX5_tu.js → browser-cli-CPcnnsJJ.js} +3 -3
- 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/{call-C7OJzLEL.js → call-BcE47FtD.js} +1 -1
- package/dist/{call-BOIceRVF.js → call-CJaS1iRF.js} +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-CsM_hJ_s.js → channel-activity-C9-gaquj.js} +1 -1
- package/dist/{channel-options-qDtKomWq.js → channel-options-Dkd1WQZx.js} +1 -1
- package/dist/{channel-options-8st4ZPAV.js → channel-options-DqgeO1f6.js} +1 -1
- package/dist/{channel-web-DQusem-l.js → channel-web-CJvDQ5Ea.js} +7 -7
- package/dist/{channels-cli-DZ9QSHcp.js → channels-cli-D0jjOLRb.js} +29 -29
- package/dist/{channels-cli-BfrCgEUI.js → channels-cli-DtqwJZWy.js} +30 -30
- package/dist/{chrome-Bf5N4gMh.js → chrome-CDJYxX5a.js} +8 -8
- package/dist/{chrome-CCN6Uf1O.js → chrome-Dq0bSDVx.js} +1 -1
- package/dist/{chrome-BtuJAYB6.js → chrome-DtPkPq9T.js} +1 -1
- package/dist/{chrome-CQNK4Of4.js → chrome-w3SLcQJF.js} +13 -13
- package/dist/{chunk-BW5f05BR.js → chunk-ClbN9Pqy.js} +1 -1
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-isTrIFLa.js → cli-CEtg8kql.js} +26 -26
- package/dist/{cli-D484UoYM.js → cli-CHOmeum9.js} +25 -25
- package/dist/{command-format-BaxDnULz.js → command-format-UKHV-j0K.js} +1 -1
- package/dist/{command-registry-D4kcHIMn.js → command-registry-Ba2z3dYq.js} +11 -11
- package/dist/{commands-registry-D7CTCQPm.js → commands-registry-VSmULp-g.js} +4 -4
- package/dist/{completion-cli-CtOpZu6z.js → completion-cli-BgX3MWVU.js} +1 -1
- package/dist/{completion-cli-1m5OvbnB.js → completion-cli-CD-306wt.js} +2 -2
- package/dist/{config-Btm9gODl.js → config-BmV60pPT.js} +28 -0
- package/dist/{config-CkPct-ND.js → config-CHwyw6l5.js} +28 -0
- package/dist/{config-CJigbfdK.js → config-DHBLS1Hl.js} +28 -0
- package/dist/{config-cli-BlpcRRjX.js → config-cli-Cz87-TYh.js} +2 -2
- package/dist/{config-cli-BVbYrdKA.js → config-cli-DAbXVRUL.js} +2 -2
- package/dist/{config-CT6a99bQ.js → config-eEaJddXj.js} +40 -12
- package/dist/{config-guard-Q2nmK4Xy.js → config-guard-BflmO0t7.js} +3 -3
- package/dist/{config-guard-Fe8ddF5U.js → config-guard-CPHvOzsC.js} +2 -2
- package/dist/{config-validation-CqVVl--v.js → config-validation-BITwrsxY.js} +1 -1
- package/dist/{config-validation-DXA9-y5q.js → config-validation-CmimHAES.js} +1 -1
- package/dist/{configure-D4WT6m8B.js → configure-0nrthdSf.js} +10 -10
- package/dist/{configure-C-o6fkN4.js → configure-D45ne4lm.js} +10 -10
- package/dist/{control-service-DWy5T1wZ.js → control-service-Bz7rxLWq.js} +4 -4
- package/dist/{control-service-D2-SfYYP.js → control-service-DEVN6FRR.js} +4 -4
- package/dist/control-ui/css/style.css +1437 -548
- package/dist/control-ui/index.html +912 -652
- package/dist/control-ui/js/app.js +82 -6
- package/dist/control-ui/js/debug.js +55 -0
- package/dist/control-ui/js/gateway.js +11 -0
- package/dist/control-ui/js/models.js +16 -1
- package/dist/control-ui/js/render.js +74 -1
- package/dist/control-ui/js/render.test.js +36 -35
- package/dist/control-ui/js/utils.js +6 -6
- package/dist/{cron-cli-DCjmF5-B.js → cron-cli-BP24xl6n.js} +3 -3
- package/dist/{cron-cli-BXgHvojs.js → cron-cli-DBIlCvp3.js} +3 -3
- package/dist/{daemon-cli-D-Ceof_K.js → daemon-cli-DscwlsKW.js} +6 -6
- package/dist/{daemon-cli-2Xzn9zI0.js → daemon-cli-wWnBIQtk.js} +6 -6
- package/dist/daemon-cli.js +28 -0
- package/dist/{daemon-runtime-DpFImSwP.js → daemon-runtime-2mwX-jqj.js} +1 -1
- package/dist/{daemon-runtime-Co0_hiZm.js → daemon-runtime-CfRwa6qh.js} +1 -1
- package/dist/{deliver-CBVqE05W.js → deliver-BH0l3UKW.js} +2 -2
- package/dist/{deliver-CeOnWRNZ.js → deliver-BmPK91JP.js} +20 -20
- package/dist/{deliver-PKvGnPCv.js → deliver-CXRSdUr1.js} +3 -3
- package/dist/{deliver-CuDHWgo8.js → deliver-CceEhg3d.js} +3 -3
- package/dist/{devices-cli-Sgz97CCh.js → devices-cli-BHiPx2c2.js} +2 -2
- package/dist/{devices-cli-gzdkKCIr.js → devices-cli-Dds-25Ve.js} +2 -2
- package/dist/{diagnostic-CI0kRQkt.js → diagnostic-C3nsWaw3.js} +1 -1
- package/dist/{directory-cli-B7qWiEB9.js → directory-cli-CpUByQew.js} +1 -1
- package/dist/{directory-cli-B3reyWxB.js → directory-cli-D6vlxPje.js} +1 -1
- package/dist/{dns-cli-w2PtF7dQ.js → dns-cli-BEub5qgQ.js} +1 -1
- package/dist/{dns-cli-CAyakH9y.js → dns-cli-Beyzdh3S.js} +1 -1
- package/dist/{doctor-completion-CU32z26S.js → doctor-completion-CcDVOtZ5.js} +1 -1
- package/dist/{doctor-completion-rtRPARP8.js → doctor-completion-CmGtqUHQ.js} +1 -1
- package/dist/{doctor-config-flow-Bvd_Aoem.js → doctor-config-flow-CA3eiKhd.js} +2 -2
- package/dist/{doctor-config-flow-q1cK5vqE.js → doctor-config-flow-QnaBd8kL.js} +2 -2
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-cli-BGR981x_.js → exec-approvals-cli--zyXYrNY.js} +4 -4
- package/dist/{exec-approvals-cli-qL61CX5W.js → exec-approvals-cli-BliRl8VB.js} +4 -4
- package/dist/extensionAPI.js +13 -13
- package/dist/{frontmatter-C_bv_0P8.js → frontmatter-DPlG6yha.js} +2 -2
- package/dist/{gateway-cli-dxsgPoqI.js → gateway-cli-BVN31fwu.js} +135 -45
- package/dist/{gateway-cli-D9tJexeo.js → gateway-cli-DajX3Pye.js} +134 -44
- package/dist/{gateway-rpc-o-EndnYx.js → gateway-rpc-BxkKeCZ0.js} +1 -1
- package/dist/{gateway-rpc-DjjmZ7bN.js → gateway-rpc-DfZSz5JF.js} +1 -1
- package/dist/{gemini-auth-CdSPHuLl.js → gemini-auth-CF48hUR9.js} +1 -1
- package/dist/{github-copilot-token-C_qUP7p5.js → github-copilot-token-DJqsJ2-r.js} +7 -7
- package/dist/{glass-ui-ws-BvSaDLuk.js → glass-ui-ws-CQG6acJl.js} +34 -34
- package/dist/{glass-ui-ws-BxliIaQO.js → glass-ui-ws-Z1IOT6Vc.js} +33 -33
- package/dist/{health-BpVkd1NR.js → health-D9eQW7fJ.js} +5 -5
- package/dist/{health-6atzBDlL.js → health-f056vLGT.js} +5 -5
- package/dist/{hooks-cli-BdV4KLxW.js → hooks-cli-CW-IRS72.js} +27 -27
- package/dist/{hooks-cli-A0zhogYG.js → hooks-cli-hJ4euq2R.js} +26 -26
- package/dist/{image-Crdjqg8r.js → image-CHzdaNJ4.js} +2 -2
- package/dist/{image-CAI2RIyk.js → image-CO4meYzg.js} +2 -2
- package/dist/{image-Bf75JOg6.js → image-D9uvDTrc.js} +2 -2
- package/dist/{image-ops-CvJzsyvE.js → image-ops-S8-8dAhx.js} +1 -1
- package/dist/{image-CAUuNGNO.js → image-rZ4x9VS9.js} +4 -4
- package/dist/index.js +34 -34
- package/dist/{ir-DccrnjsE.js → ir-CbFUkv_T.js} +4 -4
- package/dist/{lifecycle-core-S8m0j4NY.js → lifecycle-core-D6LYXpFj.js} +2 -2
- package/dist/{lifecycle-core-D7Ye5Yes.js → lifecycle-core-DIBHfMOL.js} +2 -2
- package/dist/llm-slug-generator.js +53 -53
- package/dist/{local-roots-DMwIh5cS.js → local-roots-C7OCYACU.js} +5 -5
- package/dist/{login-Bw5pRDS9.js → login-B8uiUAnV.js} +7 -7
- package/dist/{login-Cy0xKkFK.js → login-XprgoYoQ.js} +2 -2
- package/dist/{login-CLDr2P2d.js → login-dIlDkG4X.js} +2 -2
- package/dist/{login-qr-UgF5nhwc.js → login-qr-CIZk8uKX.js} +12 -12
- package/dist/{login-qr-B1vLxxOr.js → login-qr-CUErSLXH.js} +2 -2
- package/dist/{login-qr-x-m9V4_i.js → login-qr-CqPpNO1y.js} +2 -2
- package/dist/{login-qr-CJ3r_moH.js → login-qr-pbXdFORv.js} +2 -2
- package/dist/{login-CrnzK7Rc.js → login-tFW8qUTU.js} +2 -2
- package/dist/{logs-cli-DJIwkEZN.js → logs-cli-Du8FCgKK.js} +3 -3
- package/dist/{logs-cli-DoSU6ypE.js → logs-cli-xOzIPrHm.js} +3 -3
- package/dist/{manager-D_LwXbc6.js → manager-BoLr3xR_.js} +13 -13
- package/dist/{manifest-registry-D0IQ3WuX.js → manifest-registry-CneMHk0N.js} +19 -19
- package/dist/{markdown-tables-iMQQZu4Q.js → markdown-tables-DSHvnTLx.js} +1 -1
- package/dist/{memory-cli-B1eBVFD2.js → memory-cli-C2SWDd8g.js} +1 -1
- package/dist/{memory-cli-DKU7WTEa.js → memory-cli-Ca5r9AUb.js} +1 -1
- package/dist/{message-channel-Dz5lr5b0.js → message-channel-DbsRltF2.js} +1 -1
- package/dist/{model-auth-DK43VicI.js → model-auth-CwOuTuXl.js} +9 -9
- package/dist/{model-catalog-D2Q4fkGC.js → model-catalog-CqCsARJX.js} +2 -2
- package/dist/{model-catalog-67tJywj6.js → model-catalog-DvBJ8pMD.js} +3 -3
- package/dist/{model-picker-Cv_lMtfR.js → model-picker-D5nCutGW.js} +2 -2
- package/dist/{model-picker-C5-xr7Au.js → model-picker-Ddo3jHe-.js} +2 -2
- package/dist/{models-cli-BIM5pEpQ.js → models-cli-B2ticsCM.js} +29 -29
- package/dist/{models-cli-DlUDMBlo.js → models-cli-D9bG44Ao.js} +29 -29
- package/dist/{models-config--wR0kLo6.js → models-config-CCMpqFyr.js} +1 -1
- package/dist/{models-config-CZKT8W0M.js → models-config-qyOXrOli.js} +1 -1
- package/dist/{models-CBEZc-xT.js → models-nO_t1uzp.js} +8 -8
- package/dist/{node-cli-D8nG9EDD.js → node-cli-C_G-Q3h-.js} +9 -9
- package/dist/{node-cli-DGmvLskU.js → node-cli-DSEhcjUV.js} +9 -9
- package/dist/{nodes-cli-B058F0sZ.js → nodes-cli-BIPA9B8G.js} +3 -3
- package/dist/{nodes-cli-BZ5aitST.js → nodes-cli-BcnuJajV.js} +3 -3
- package/dist/{onboard-BXp3rpw1.js → onboard-BDbpfrZj.js} +7 -7
- package/dist/{onboard-DXEF3bw2.js → onboard-BtZ9WqhJ.js} +7 -7
- package/dist/{onboard-channels-OKIylMMu.js → onboard-channels-CHE8nfNA.js} +1 -1
- package/dist/{onboard-channels-qLCTzt3v.js → onboard-channels-HubyUVjT.js} +1 -1
- package/dist/{onboard-custom-BiDvzYz-.js → onboard-custom-C7O-zfQ1.js} +2 -2
- package/dist/{onboard-custom-Bcifi3N2.js → onboard-custom-DdWPfzJO.js} +2 -2
- package/dist/{onboard-helpers-DHgVt6rY.js → onboard-helpers-ZmZYzlq3.js} +2 -2
- package/dist/{onboard-helpers-Cammg0Xb.js → onboard-helpers-_pit1NZW.js} +2 -2
- package/dist/{onboard-remote-BnOKv_rG.js → onboard-remote-R1g6st9i.js} +1 -1
- package/dist/{onboard-remote-CPI1Dsgo.js → onboard-remote-zUjD7UtM.js} +1 -1
- package/dist/{onboard-skills-5R6rRZiZ.js → onboard-skills-BB0YhUmF.js} +1 -1
- package/dist/{onboard-skills-LkCNrrQL.js → onboard-skills-ByO_wSN5.js} +1 -1
- package/dist/{onboarding-HJJedJ3u.js → onboarding-DtP0sps0.js} +10 -10
- package/dist/{onboarding-m_e9LePg.js → onboarding-eVb5gvwo.js} +10 -10
- package/dist/{onboarding.finalize-CbjQ-91D.js → onboarding.finalize-CetxPTxL.js} +31 -31
- package/dist/{onboarding.finalize-CGVAc5-e.js → onboarding.finalize-D8035U2E.js} +33 -33
- package/dist/{onboarding.gateway-config-BOUh5scQ.js → onboarding.gateway-config-BQFO9a_h.js} +4 -4
- package/dist/{onboarding.gateway-config-xF_Hfx5r.js → onboarding.gateway-config-CJUgDC6Y.js} +4 -4
- package/dist/{outbound-DzTvHYT8.js → outbound-3MZ12YrQ.js} +1 -1
- package/dist/{outbound-DHZ4Sktx.js → outbound-DB5Zus0-.js} +1 -1
- package/dist/{outbound-attachment-DjNDa3zn.js → outbound-attachment-Co2diKdP.js} +2 -2
- package/dist/{outbound-DeJ-MyLv.js → outbound-drXCcH8D.js} +1 -1
- package/dist/{outbound-GuMlcXXN.js → outbound-opDNxv-l.js} +7 -7
- package/dist/{pairing-cli-BunHc86C.js → pairing-cli-CBLfGvqW.js} +1 -1
- package/dist/{pairing-cli-DNAQqsxT.js → pairing-cli-CQRAnpvm.js} +1 -1
- package/dist/{paths-DLyHUt31.js → paths-Cb87-LzP.js} +1 -1
- package/dist/{paths-Cce4PUkG.js → paths-CySxpNhH.js} +5 -5
- package/dist/{pi-auth-json-0SYBFZTt.js → pi-auth-json-DPWPoruO.js} +8 -8
- package/dist/{pi-auth-json-C3yexKNU.js → pi-auth-json-DayrlDg_.js} +1 -1
- package/dist/{pi-embedded-Cd7Gd0Am.js → pi-embedded-BY-dBus2.js} +250 -39
- package/dist/{pi-embedded-C4Cb6hc3.js → pi-embedded-Dc3muKtS.js} +374 -163
- package/dist/{pi-embedded-helpers-B86ZS0eB.js → pi-embedded-helpers-B2z46qeM.js} +52 -52
- package/dist/{pi-embedded-helpers-UsrsQKwr.js → pi-embedded-helpers-CNPyv_ax.js} +1 -1
- package/dist/{pi-embedded-helpers-B2k8Fh9T.js → pi-embedded-helpers-DE9h5GAu.js} +1 -1
- package/dist/{pi-embedded-helpers-xjO9noTy.js → pi-embedded-helpers-lgx_U5KS.js} +5 -5
- package/dist/{pi-tools.policy-DKHZCIA2.js → pi-tools.policy-CIDBbw6x.js} +2 -2
- package/dist/{pi-tools.policy-CwzwRugl.js → pi-tools.policy-De00gPXt.js} +2 -2
- package/dist/{plugin-registry-DOEhQFQJ.js → plugin-registry-CuoX8mar.js} +2 -2
- package/dist/{plugin-registry-D0iAVBbj.js → plugin-registry-fxcvycGr.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-B8X7BvQ5.js → audio-preflight-DoQQKlxa.js} +5 -5
- package/dist/plugin-sdk/{channel-web-B92UQWLf.js → channel-web-CV1KLtZh.js} +7 -7
- package/dist/plugin-sdk/{chrome-DxJPopF7.js → chrome-C7c_0I5M.js} +1 -1
- package/dist/plugin-sdk/config/model-profiles-builtin.d.ts +9 -0
- package/dist/plugin-sdk/config/model-profiles.d.ts +56 -0
- package/dist/plugin-sdk/config/resolve-model-profile.d.ts +15 -0
- package/dist/plugin-sdk/config/types.models.d.ts +28 -0
- package/dist/plugin-sdk/config/zod-schema.core.d.ts +54 -0
- package/dist/plugin-sdk/config/zod-schema.d.ts +27 -0
- package/dist/plugin-sdk/{config-B0SemGqU.js → config-DDkdiUOR.js} +28 -0
- package/dist/plugin-sdk/{deliver-C51eaClJ.js → deliver-BUns_L9e.js} +2 -2
- package/dist/plugin-sdk/{image-VGrV0d09.js → image-BOYy0Ump.js} +2 -2
- package/dist/plugin-sdk/index.js +17 -17
- package/dist/plugin-sdk/{login-CG8p5_rW.js → login-Bh3DZPam.js} +2 -2
- package/dist/plugin-sdk/{login-qr-buvA9Dp8.js → login-qr-DbR7odSr.js} +2 -2
- package/dist/plugin-sdk/{outbound-LqNDFLO5.js → outbound-rF6G8Xpr.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-IkpqVZZa.js → pi-embedded-helpers-BveUP4hk.js} +5 -5
- package/dist/plugin-sdk/{pw-ai-CjPImm6b.js → pw-ai-DjGUsee-.js} +2 -2
- package/dist/plugin-sdk/{replies-BLMuwbVf.js → replies-fI39rPGa.js} +1 -1
- package/dist/plugin-sdk/{reply-BS99Apig.js → reply-C4mijdMZ.js} +246 -35
- package/dist/plugin-sdk/{runner-pmvwohi9.js → runner-BVqnEfNe.js} +2 -2
- package/dist/plugin-sdk/{send-D8Zs62CE.js → send-BHbXh8Ly.js} +1 -1
- package/dist/plugin-sdk/{send-DOXV-BQw.js → send-BMfJIhCk.js} +1 -1
- package/dist/plugin-sdk/{send-BinD92v_.js → send-BtANzsAo.js} +1 -1
- package/dist/plugin-sdk/{send-cUp3Bf9t.js → send-Bxdu6ZZy.js} +1 -1
- package/dist/plugin-sdk/{send-BOrHNGsc.js → send-D6LMZJ_h.js} +1 -1
- package/dist/plugin-sdk/{session-B0bWB4Wf.js → session-kI0tzViQ.js} +1 -1
- package/dist/plugin-sdk/{web-CF79DBe3.js → web-B17UUsjm.js} +17 -17
- package/dist/plugin-sdk/{whatsapp-actions-Bp33E4JW.js → whatsapp-actions-CcBzDuL-.js} +2 -2
- package/dist/{plugins-DQYI3Fr-.js → plugins-C4C9637U.js} +9 -9
- package/dist/{plugins-cli-6nKHKPj8.js → plugins-cli-4OqSGHp-.js} +26 -26
- package/dist/{plugins-cli-DU06_0f6.js → plugins-cli-BbE_Qnlk.js} +27 -27
- package/dist/{program-D1icw1T9.js → program-DkXOdfM2.js} +33 -33
- package/dist/{program-context-Bqybavvo.js → program-context-0bDxGpMx.js} +38 -38
- package/dist/{prompt-select-styled-DptZ40df.js → prompt-select-styled-DJkRn30j.js} +14 -14
- package/dist/{prompt-select-styled-Cj3jTVJJ.js → prompt-select-styled-_6KbTFXs.js} +14 -14
- package/dist/{provider-auth-helpers-CDnMFdFw.js → provider-auth-helpers-Bnkj4QXS.js} +2 -2
- package/dist/{provider-auth-helpers-BVSJctmE.js → provider-auth-helpers-BpVAdwK_.js} +2 -2
- package/dist/{push-apns-DtKC_-eP.js → push-apns-C0wMP1XU.js} +1 -1
- package/dist/{push-apns-CpUJIlI7.js → push-apns-EKnCwrqK.js} +1 -1
- package/dist/{pw-ai-DgDn1s1W.js → pw-ai-CbyO1fbh.js} +2 -2
- package/dist/{pw-ai-C2hGnRfL.js → pw-ai-De-KR9_s.js} +2 -2
- package/dist/{pw-ai-CsvxsEwI.js → pw-ai-DqL87js3.js} +2 -2
- package/dist/{pw-ai-BcniFyZm.js → pw-ai-PiQUncix.js} +11 -11
- package/dist/{qmd-manager-QHUP-_em.js → qmd-manager-DdZh9PHs.js} +7 -7
- package/dist/{qr-cli-Deyb-bdE.js → qr-cli-jd9LdZpq.js} +1 -1
- package/dist/{qr-cli-DvDQ233a.js → qr-cli-mgnfD5ce.js} +1 -1
- package/dist/{register.agent-DesQbi0N.js → register.agent-B0S1CJEx.js} +32 -32
- package/dist/{register.agent-DszKb7kT.js → register.agent-B48Vf_DK.js} +34 -34
- package/dist/{register.configure-CPZ2pkCL.js → register.configure-Drr3E9OG.js} +36 -36
- package/dist/{register.configure-CiHbtNBW.js → register.configure-Wyv7vb24.js} +37 -37
- package/dist/{register.maintenance-BBjwt-34.js → register.maintenance-Cmf17EW0.js} +34 -34
- package/dist/{register.maintenance-hUQ3a2-X.js → register.maintenance-TgjAQ4E0.js} +36 -36
- package/dist/{register.message-BZ_faykn.js → register.message-BcsPnPvW.js} +26 -26
- package/dist/{register.message-BJG43ey1.js → register.message-Dwv2puIB.js} +27 -27
- package/dist/{register.onboard-CtDGWgek.js → register.onboard-BDGaSyq2.js} +32 -32
- package/dist/{register.onboard-BuvppItf.js → register.onboard-C8w7_w93.js} +33 -33
- package/dist/{register.setup-09FZm-3U.js → register.setup-CMGSNKXS.js} +33 -33
- package/dist/{register.setup-CK_rXwht.js → register.setup-CiEuZOlI.js} +32 -32
- package/dist/{register.status-health-sessions-CYBXZfzw.js → register.status-health-sessions-C8p0uINc.js} +29 -29
- package/dist/{register.status-health-sessions-Dq1GhVZd.js → register.status-health-sessions-zKjmZyOs.js} +31 -31
- package/dist/{register.subclis-oaqsIg7c.js → register.subclis-CofZE_pt.js} +28 -28
- package/dist/{registry-CK4e9hn8.js → registry-DP24za6g.js} +17 -17
- package/dist/{replies-CVeSBasT.js → replies-DO80zq73.js} +1 -1
- package/dist/{replies-9jiCJtyj.js → replies-DpPvWiGF.js} +3 -3
- package/dist/{replies-Dfqu9AXG.js → replies-ZYtI9jr0.js} +1 -1
- package/dist/{replies-ByiY6ZyB.js → replies-vgss3_QA.js} +1 -1
- package/dist/{reply-BnAPNcvn.js → reply-SBi_U7P7.js} +258 -47
- package/dist/{reply-prefix-XlyuyChD.js → reply-prefix-CtL0omgM.js} +1 -1
- package/dist/{resolve-route-CZ-1eqw0.js → resolve-route-BVikmvWO.js} +4 -4
- package/dist/{retry-Cly39XZB.js → retry-dGG-MbxL.js} +1 -1
- package/dist/{routes-br_73dY_.js → routes-BFw2-yAN.js} +3 -3
- package/dist/{routes-BZCzIvY1.js → routes-Ba9CUQ8M.js} +3 -3
- package/dist/{rpc-CbirYKS1.js → rpc-BfhojW8g.js} +1 -1
- package/dist/{rpc-BsIk35AA.js → rpc-BjLadgzu.js} +1 -1
- package/dist/{run-main-g9-g4T_a.js → run-main-BJaDO3WW.js} +44 -44
- package/dist/{runner-BPcjrrjx.js → runner-BORIO-D3.js} +3 -3
- package/dist/{runner-M7hSmkG1.js → runner-CCSMfQee.js} +9 -9
- package/dist/{runner-Iw-AU75D.js → runner-CUglpiFP.js} +3 -3
- package/dist/{runner-DFFbD4Jj.js → runner-DUBExAb5.js} +2 -2
- package/dist/{sandbox-C9zB9HTn.js → sandbox-BFzSUT19.js} +5 -5
- package/dist/{sandbox-BnivFdOs.js → sandbox-C-T6hOMv.js} +5 -5
- package/dist/{sandbox-cli-6RGP0CNN.js → sandbox-cli-BllVdQzR.js} +6 -6
- package/dist/{sandbox-cli-Dl8IMlpe.js → sandbox-cli-Cj5__-gh.js} +6 -6
- package/dist/{security-cli-BHG6kV1z.js → security-cli-BFLtWWHy.js} +9 -9
- package/dist/{security-cli-CtgTAznE.js → security-cli-Dmb1k47A.js} +9 -9
- package/dist/{send-uxuOCFdA.js → send-BArQpbtx.js} +1 -1
- package/dist/{send-C1DE47RQ.js → send-C1IYd3g7.js} +1 -1
- package/dist/{send-CdxBNofn.js → send-C4Ucr8ep.js} +1 -1
- package/dist/{send-Z6uznj5j.js → send-CHEOWVc8.js} +6 -6
- package/dist/{send-DB2tDd9M.js → send-CPF8hSFp.js} +1 -1
- package/dist/{send-DKvfyTNM.js → send-CR5fRDgW.js} +1 -1
- package/dist/{send-CU_BDzc0.js → send-CXxQ_f7L.js} +1 -1
- package/dist/{send-CkYljROn.js → send-CY8oqBFg.js} +1 -1
- package/dist/{send-Bf-tLRDW.js → send-CZr1hVHY.js} +1 -1
- package/dist/{send-DP6zL1r4.js → send-CukP8Vq4.js} +1 -1
- package/dist/{send-DKB9atcf.js → send-Cutb0ZDY.js} +1 -1
- package/dist/{send-DoiQ-lVY.js → send-D-hWrHoH.js} +1 -1
- package/dist/{send-rirP23D6.js → send-DK_pm_7l.js} +1 -1
- package/dist/{send-Dv5K7btg.js → send-DTTtmhjA.js} +1 -1
- package/dist/{send-DUWSrao-.js → send-DXW6mdgR.js} +1 -1
- package/dist/{send-KhJZHqoK.js → send-DbcLJb0P.js} +7 -7
- package/dist/{send-B2c8xd6F.js → send-DeEosX8F.js} +18 -18
- package/dist/{send-Dp3_Z9LN.js → send-DwKJK3sM.js} +10 -10
- package/dist/{send-Bv3GF77o.js → send-tanEMpHN.js} +1 -1
- package/dist/{send-IjhsR55j.js → send-zSarozV2.js} +6 -6
- package/dist/{server-context-Bn72icrR.js → server-context-CEpFjqSk.js} +5 -5
- package/dist/{server-context-BogDcclm.js → server-context-H24IFajW.js} +5 -5
- package/dist/{server-methods-CYVVBHwG.js → server-methods-Cm6W01ne.js} +15 -15
- package/dist/{server-methods-1TVNg0k5.js → server-methods-CyFB3XQf.js} +16 -16
- package/dist/{server-node-events-CPTRFOMY.js → server-node-events-Bhgt3xLw.js} +26 -26
- package/dist/{server-node-events-Cvqw-9rw.js → server-node-events-CX1plxJz.js} +27 -27
- package/dist/{session-CRf_exZ0.js → session-Ckw7cXeP.js} +1 -1
- package/dist/{session-eZHBxAr-.js → session-DIBTkyvE.js} +1 -1
- package/dist/{session-BvpMfKh-.js → session-DV1MNlbV.js} +8 -8
- package/dist/{session-C4z7523K.js → session-DtMfLMdP.js} +1 -1
- package/dist/{session-utils-D5F7F--L.js → session-utils-Bka9dR4m.js} +3 -3
- package/dist/{sessions-Cb4Hj78H.js → sessions-CJXnZVjR.js} +1 -1
- package/dist/{sessions-B2cR2hug.js → sessions-DgYpBvse.js} +1 -1
- package/dist/{sessions-DHCZbuoQ.js → sessions-WBoXk-Ag.js} +3 -3
- package/dist/{shared-zPQArNFi.js → shared-D8K9MkWg.js} +1 -1
- package/dist/{shared-CxsYh_6Q.js → shared-Knv1hy6h.js} +1 -1
- package/dist/{skill-commands-BJMb_psG.js → skill-commands-D610IKhm.js} +9 -9
- package/dist/{skills-cli-urhcJuu8.js → skills-cli-BZTBLQTt.js} +1 -1
- package/dist/{skills-cli-XmXhTH3z.js → skills-cli-CkTGL9dR.js} +1 -1
- package/dist/{skills-BFekKL7i.js → skills-o5WVqM4V.js} +21 -21
- package/dist/{sqlite-DRbx2dhW.js → sqlite-6H6Zw1cs.js} +4 -4
- package/dist/{status-B7VIwi53.js → status-BBpD_1pG.js} +10 -10
- package/dist/{status-CDpLvmFd.js → status-BdmYV3_x.js} +2 -2
- package/dist/{status-CCrlpUEA.js → status-CwXg8OO1.js} +9 -9
- package/dist/{status-BS3y9HjF.js → status-U_1mE-yc.js} +2 -2
- package/dist/{status.update-D8lzj5TK.js → status.update-DbmZz0Aq.js} +1 -1
- package/dist/{status.update-Cu6R3wwz.js → status.update-DtwCUTf-.js} +1 -1
- package/dist/{store-C0wvOkae.js → store-vVE6N2mH.js} +2 -2
- package/dist/{subagent-registry-BSgPGZxs.js → subagent-registry-Du9P0G2U.js} +259 -48
- package/dist/{subsystem-Bs9YvKLa.js → subsystem-DgpxyDQ_.js} +1 -1
- package/dist/{system-cli-BXvpbG10.js → system-cli-D_EIZpBm.js} +3 -3
- package/dist/{system-cli-CD1cvYkc.js → system-cli-UMsMEurS.js} +3 -3
- package/dist/{systemd-hints-Cn-fd1AF.js → systemd-hints-BR6gChwm.js} +1 -1
- package/dist/{systemd-hints-BMl55p2_.js → systemd-hints-sQipWGd1.js} +1 -1
- package/dist/{tables-DuZspiBu.js → tables-BIWsCKXJ.js} +1 -1
- package/dist/{target-errors-Be1SwYlW.js → target-errors-DyItGyW9.js} +2 -2
- package/dist/{thinking-CdlENGRW.js → thinking-Ni0HF-w6.js} +5 -5
- package/dist/{tokens-H1H1LiSQ.js → tokens-c_SLAkVb.js} +1 -1
- package/dist/{tool-images-DXB7tqWi.js → tool-images-DBCfXdli.js} +2 -2
- package/dist/{tool-loop-detection-Cs8_HCsx.js → tool-loop-detection-Bbc9OPFR.js} +3 -3
- package/dist/{tui-OUhw8eT1.js → tui-BJB80muc.js} +4 -4
- package/dist/{tui-DJefgPwz.js → tui-CriznorL.js} +4 -4
- package/dist/{tui-cli-_ohekmDR.js → tui-cli-C7Q9lK8Q.js} +9 -9
- package/dist/{tui-cli-C-CoSVeQ.js → tui-cli-CSIdfCTR.js} +9 -9
- package/dist/{update-cli-DL3Tb3b0.js → update-cli-DJzF_9UX.js} +37 -37
- package/dist/{update-cli-C8sM6pAA.js → update-cli-_45TJ3hZ.js} +39 -39
- package/dist/{update-runner-ChoWv-od.js → update-runner-8Ac4bJ1w.js} +1 -1
- package/dist/{update-runner-Dm7EwGFW.js → update-runner-BSQFv9b6.js} +1 -1
- package/dist/{web-sQrQA6or.js → web-BZSI7b07.js} +29 -29
- package/dist/{web-0w8t_r2B.js → web-BqRsq6mP.js} +57 -57
- package/dist/{web-UEqiaso9.js → web-C1Zn8_qW.js} +16 -16
- package/dist/{web-VbydcdAk.js → web-w-vV1rCZ.js} +29 -29
- package/dist/{webhooks-cli-B8gdUXw-.js → webhooks-cli-ChiCyIaD.js} +1 -1
- package/dist/{webhooks-cli-DpiLQ_-A.js → webhooks-cli-cD58DWAE.js} +1 -1
- package/dist/{whatsapp-actions-DrReF5st.js → whatsapp-actions-C8nNH4ax.js} +2 -2
- package/dist/{whatsapp-actions-xolxich-.js → whatsapp-actions-DbcsdOH3.js} +2 -2
- package/dist/{whatsapp-actions-D_KIOhRu.js → whatsapp-actions-DvhI5-DC.js} +2 -2
- package/dist/{whatsapp-actions-BVZaCecm.js → whatsapp-actions-oRQjcdQe.js} +23 -23
- package/dist/{with-timeout-vknUanNX.js → with-timeout-Di0nddLY.js} +1 -1
- package/dist/{with-timeout-DIHZxCIl.js → with-timeout-gmK6RciS.js} +1 -1
- package/dist/{workspace-wAaHI8-5.js → workspace-CbvamIU6.js} +6 -6
- package/docs/reference/templates/CONFIG-SCHEMA.md +173 -0
- package/docs/reference/templates/SYMICORE.md +24 -0
- package/package.json +1 -1
|
@@ -12,20 +12,20 @@ import { a as isSilentReplyText, i as isSilentReplyPrefixText, n as SILENT_REPLY
|
|
|
12
12
|
import { _ as resolveDiscordAccount, a as normalizeWhatsAppTarget, c as listTelegramAccountIds, d as resolveSlackAccount, g as listEnabledDiscordAccounts, h as createDiscordActionGate, i as isWhatsAppGroupJid, l as resolveTelegramAccount, m as resolveSlackBotToken, n as listChannelPlugins, o as createTelegramActionGate, p as resolveSlackAppToken, r as normalizeChannelId$1, s as listEnabledTelegramAccounts, t as getChannelPlugin, u as resolveTelegramToken, v as normalizeDiscordToken } from "./plugins-71oIavrF.js";
|
|
13
13
|
import { a as logoutWeb, i as logWebSelfId, l as readWebSelfId, p as webAuthExists, r as getWebAuthAgeMs, t as resolveWhatsAppAccount } from "./accounts-DDEyGwby.js";
|
|
14
14
|
import { t as normalizeChatType } from "./chat-type-DFDuk3FY.js";
|
|
15
|
-
import { a as resolveSlackWebClientOptions, c as buildSlackBlocksFallbackText, i as createSlackWebClient, l as parseSlackTarget, o as parseSlackBlocksInput, s as validateSlackBlocksArray, t as sendMessageSlack, u as resolveSlackChannelId } from "./send-
|
|
16
|
-
import { $ as fetchChannelPermissionsDiscord, A as unpinMessageDiscord, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveTimestampMs, D as pinMessageDiscord, Dt as normalizeChannelSlug, E as listThreadsDiscord, Et as buildChannelKeyCandidates, F as fetchMemberInfoDiscord, G as uploadStickerDiscord, H as timeoutMemberDiscord, I as fetchRoleInfoDiscord, J as editChannelDiscord, K as createChannelDiscord, L as fetchVoiceStatusDiscord, M as banMemberDiscord, N as createScheduledEventDiscord, O as readMessagesDiscord, Ot as resolveChannelEntryMatchWithFallback, P as fetchChannelInfoDiscord, Q as stripUndefinedFields, R as kickMemberDiscord, S as deleteMessageDiscord, St as resolveDiscordSystemLocation, T as listPinsDiscord, Tt as applyChannelMatchMeta, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendPollDiscord, _t as resolveDiscordShouldRequireMention, a as removeReactionDiscord, at as resolveDiscordChannelId, b as sendWebhookMessageDiscord, bt as formatDiscordReactionEmoji, c as formatDiscordComponentEventText, ct as allowListMatches$1, d as parseDiscordModalCustomId, dt as normalizeDiscordSlug, et as hasAnyGuildPermissionDiscord, f as parseDiscordModalCustomIdForCarbon, ft as resolveDiscordAllowListMatch, g as sendMessageDiscord, gt as resolveDiscordOwnerAllowFrom, h as resolveDiscordModalEntry, ht as resolveDiscordMemberAccessState, i as removeOwnReactionsDiscord, it as parseDiscordTarget, j as addRoleDiscord, k as searchMessagesDiscord, l as parseDiscordComponentCustomId, lt as isDiscordGroupAllowedByPolicy, m as resolveDiscordComponentEntry, mt as resolveDiscordGuildEntry, n as fetchReactionsDiscord, nt as createDiscordClient, o as sendDiscordComponentMessage, ot as listDiscordDirectoryGroupsLive, p as readDiscordComponentSpec, pt as resolveDiscordChannelConfigWithFallback, q as deleteChannelDiscord, r as reactMessageDiscord, rt as createDiscordRestClient, s as createDiscordFormModal, st as listDiscordDirectoryPeersLive, tt as chunkDiscordTextWithMode, u as parseDiscordComponentCustomIdForCarbon, ut as normalizeDiscordAllowList, v as sendStickerDiscord, vt as resolveGroupDmAllow, w as fetchMessageDiscord, wt as fetchDiscord, x as createThreadDiscord, xt as formatDiscordUserTag, y as sendVoiceMessageDiscord, yt as shouldEmitDiscordReactionNotification, z as listGuildChannelsDiscord } from "./send-
|
|
17
|
-
import { C as getGlobalHookRunner, S as parseInlineDirectives$1, _ as normalizeTargetForProvider, a as normalizeOutboundPayloadsForJson, b as MEDIA_TOKEN_RE, c as applyReplyThreading, d as isRenderablePayload, f as shouldSuppressMessagingToolReplies, g as normalizeChannelTargetInput, h as buildTargetResolverSignature, i as normalizeOutboundPayloads, l as filterMessagingToolDuplicates, m as resolveReplyToMode, o as normalizeReplyPayloadsForDelivery, p as createReplyToModeFilterForChannel, r as formatOutboundPayloadLog, s as applyReplyTagsToPayload, t as deliverOutboundPayloads, u as filterMessagingToolMediaDuplicates, v as throwIfAborted, w as initializeGlobalHookRunner, x as splitMediaFromOutput, y as parseReplyDirectives } from "./deliver-
|
|
15
|
+
import { a as resolveSlackWebClientOptions, c as buildSlackBlocksFallbackText, i as createSlackWebClient, l as parseSlackTarget, o as parseSlackBlocksInput, s as validateSlackBlocksArray, t as sendMessageSlack, u as resolveSlackChannelId } from "./send-D-hWrHoH.js";
|
|
16
|
+
import { $ as fetchChannelPermissionsDiscord, A as unpinMessageDiscord, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveTimestampMs, D as pinMessageDiscord, Dt as normalizeChannelSlug, E as listThreadsDiscord, Et as buildChannelKeyCandidates, F as fetchMemberInfoDiscord, G as uploadStickerDiscord, H as timeoutMemberDiscord, I as fetchRoleInfoDiscord, J as editChannelDiscord, K as createChannelDiscord, L as fetchVoiceStatusDiscord, M as banMemberDiscord, N as createScheduledEventDiscord, O as readMessagesDiscord, Ot as resolveChannelEntryMatchWithFallback, P as fetchChannelInfoDiscord, Q as stripUndefinedFields, R as kickMemberDiscord, S as deleteMessageDiscord, St as resolveDiscordSystemLocation, T as listPinsDiscord, Tt as applyChannelMatchMeta, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendPollDiscord, _t as resolveDiscordShouldRequireMention, a as removeReactionDiscord, at as resolveDiscordChannelId, b as sendWebhookMessageDiscord, bt as formatDiscordReactionEmoji, c as formatDiscordComponentEventText, ct as allowListMatches$1, d as parseDiscordModalCustomId, dt as normalizeDiscordSlug, et as hasAnyGuildPermissionDiscord, f as parseDiscordModalCustomIdForCarbon, ft as resolveDiscordAllowListMatch, g as sendMessageDiscord, gt as resolveDiscordOwnerAllowFrom, h as resolveDiscordModalEntry, ht as resolveDiscordMemberAccessState, i as removeOwnReactionsDiscord, it as parseDiscordTarget, j as addRoleDiscord, k as searchMessagesDiscord, l as parseDiscordComponentCustomId, lt as isDiscordGroupAllowedByPolicy, m as resolveDiscordComponentEntry, mt as resolveDiscordGuildEntry, n as fetchReactionsDiscord, nt as createDiscordClient, o as sendDiscordComponentMessage, ot as listDiscordDirectoryGroupsLive, p as readDiscordComponentSpec, pt as resolveDiscordChannelConfigWithFallback, q as deleteChannelDiscord, r as reactMessageDiscord, rt as createDiscordRestClient, s as createDiscordFormModal, st as listDiscordDirectoryPeersLive, tt as chunkDiscordTextWithMode, u as parseDiscordComponentCustomIdForCarbon, ut as normalizeDiscordAllowList, v as sendStickerDiscord, vt as resolveGroupDmAllow, w as fetchMessageDiscord, wt as fetchDiscord, x as createThreadDiscord, xt as formatDiscordUserTag, y as sendVoiceMessageDiscord, yt as shouldEmitDiscordReactionNotification, z as listGuildChannelsDiscord } from "./send-C1IYd3g7.js";
|
|
17
|
+
import { C as getGlobalHookRunner, S as parseInlineDirectives$1, _ as normalizeTargetForProvider, a as normalizeOutboundPayloadsForJson, b as MEDIA_TOKEN_RE, c as applyReplyThreading, d as isRenderablePayload, f as shouldSuppressMessagingToolReplies, g as normalizeChannelTargetInput, h as buildTargetResolverSignature, i as normalizeOutboundPayloads, l as filterMessagingToolDuplicates, m as resolveReplyToMode, o as normalizeReplyPayloadsForDelivery, p as createReplyToModeFilterForChannel, r as formatOutboundPayloadLog, s as applyReplyTagsToPayload, t as deliverOutboundPayloads, u as filterMessagingToolMediaDuplicates, v as throwIfAborted, w as initializeGlobalHookRunner, x as splitMediaFromOutput, y as parseReplyDirectives } from "./deliver-BH0l3UKW.js";
|
|
18
18
|
import { a as logMessageProcessed, c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, i as logLaneEnqueue, l as logWebhookProcessed, m as isDiagnosticsEnabled, o as logMessageQueued, p as emitDiagnosticEvent, r as logLaneDequeue, s as logSessionStateChange, t as diag, u as logWebhookReceived } from "./diagnostic-D0xmLpej.js";
|
|
19
19
|
import { r as getDiagnosticSessionState } from "./diagnostic-session-state-C1vRJs5w.js";
|
|
20
20
|
import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-8zZqL37v.js";
|
|
21
|
-
import { $ as isVoiceCompatibleAudio, A as extractTelegramLocation, B as normalizeAllowFromWithStore$1, C as buildTelegramGroupFrom, D as buildTypingThreadParams, E as buildTelegramThreadParams, F as resolveTelegramMediaPlaceholder, G as formatLocationText, H as firstDefined$1, I as resolveTelegramReplyId, J as readChannelAllowFromStore, K as toLocationContext, L as resolveTelegramStreamMode, M as normalizeForwardedContext, N as resolveTelegramForumThreadId, O as describeReplyTarget, P as resolveTelegramGroupAllowFromContext, Q as listPairingChannels, R as resolveTelegramThreadSpec, S as buildSenderName, T as buildTelegramParentPeer, U as isSenderIdAllowed, V as resolveSenderAllowMatch, W as mergeAllowFromSources, X as upsertChannelPairingRequest, Y as removeChannelAllowFromStoreEntry, Z as getPairingAdapter, _ as resolveTelegramFetch, a as reactMessageTelegram, b as buildGroupLabel, c as sendStickerTelegram, d as wasSentByBot, et as parseTelegramTarget, f as isRecoverableTelegramNetworkError, g as wrapFileReferencesInHtml, h as renderTelegramHtmlText, i as editMessageTelegram, j as hasBotMention, k as expandTextLinks, m as markdownToTelegramHtml, n as createForumTopicTelegram, o as sendMessageTelegram, p as markdownToTelegramChunks, q as addChannelAllowFromStoreEntry, r as deleteMessageTelegram, s as sendPollTelegram, t as buildInlineKeyboard, tt as resolveTelegramTargetChatType, u as resolveTelegramVoiceSend, v as splitTelegramCaption, w as buildTelegramGroupPeerId, x as buildSenderLabel, y as withTelegramApiErrorLogging, z as isSenderAllowed$1 } from "./send-
|
|
21
|
+
import { $ as isVoiceCompatibleAudio, A as extractTelegramLocation, B as normalizeAllowFromWithStore$1, C as buildTelegramGroupFrom, D as buildTypingThreadParams, E as buildTelegramThreadParams, F as resolveTelegramMediaPlaceholder, G as formatLocationText, H as firstDefined$1, I as resolveTelegramReplyId, J as readChannelAllowFromStore, K as toLocationContext, L as resolveTelegramStreamMode, M as normalizeForwardedContext, N as resolveTelegramForumThreadId, O as describeReplyTarget, P as resolveTelegramGroupAllowFromContext, Q as listPairingChannels, R as resolveTelegramThreadSpec, S as buildSenderName, T as buildTelegramParentPeer, U as isSenderIdAllowed, V as resolveSenderAllowMatch, W as mergeAllowFromSources, X as upsertChannelPairingRequest, Y as removeChannelAllowFromStoreEntry, Z as getPairingAdapter, _ as resolveTelegramFetch, a as reactMessageTelegram, b as buildGroupLabel, c as sendStickerTelegram, d as wasSentByBot, et as parseTelegramTarget, f as isRecoverableTelegramNetworkError, g as wrapFileReferencesInHtml, h as renderTelegramHtmlText, i as editMessageTelegram, j as hasBotMention, k as expandTextLinks, m as markdownToTelegramHtml, n as createForumTopicTelegram, o as sendMessageTelegram, p as markdownToTelegramChunks, q as addChannelAllowFromStoreEntry, r as deleteMessageTelegram, s as sendPollTelegram, t as buildInlineKeyboard, tt as resolveTelegramTargetChatType, u as resolveTelegramVoiceSend, v as splitTelegramCaption, w as buildTelegramGroupPeerId, x as buildSenderLabel, y as withTelegramApiErrorLogging, z as isSenderAllowed$1 } from "./send-C4Ucr8ep.js";
|
|
22
22
|
import { d as detectMime, f as extensionForMime, g as isGifMedia, h as isAudioFileName, i as getImageMetadata, m as imageMimeFromFormat, s as resizeToJpeg, x as mediaKindFromMime, y as MAX_IMAGE_BYTES } from "./image-ops-ByaQt43P.js";
|
|
23
23
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-j5tVLINv.js";
|
|
24
24
|
import { a as isMarkdownCapableMessageChannel, c as resolveGatewayMessageChannel, d as GATEWAY_CLIENT_MODES, f as GATEWAY_CLIENT_NAMES, i as isInternalMessageChannel, l as resolveMessageChannel, n as isDeliverableMessageChannel, o as listDeliverableMessageChannels, r as isGatewayMessageChannel, s as normalizeMessageChannel, t as INTERNAL_MESSAGE_CHANNEL, u as GATEWAY_CLIENT_IDS } from "./message-channel-BQINJQIT.js";
|
|
25
|
-
import { $ as mergeDeliveryContext, A as isTransientHttpError, At as DEFAULT_UPLOAD_DIR, Bt as expandToolGroups, C as isContextOverflowError, Ct as resolveGroupSessionKey, D as isRateLimitAssistantError, Dt as registerBrowserRoutes, E as isLikelyContextOverflowError, Et as createBrowserRouteContext, F as resolveSandboxContext, Ft as resolveSandboxConfigForAgent, Gt as compileGlobPatterns, H as loadSessionStore, Ht as normalizeToolName, I as resolveSandboxRuntimeStatus, It as applyOwnerOnlyToolPolicy, J as updateSessionStoreEntry, Jt as ensureSessionHeader, K as updateLastRoute, Kt as matchesAnyGlobPattern, L as extractDeliveryInfo, Lt as buildPluginToolGroups, M as parseImageSizeError, Mt as getBridgeAuthForPort, N as sanitizeUserFacingText, Nt as ensureBrowserControlAuth, O as isRawApiErrorPayload, Ot as resolveBrowserConfig, P as ensureSandboxWorkspaceForSession, Pt as resolveBrowserControlAuth, Q as deliveryContextKey, R as parseSessionThreadInfo, Rt as collectExplicitAllowlist, S as isCompactionFailureError, St as deriveSessionMetaPatch, T as isFailoverErrorMessage, Tt as resolveSessionLockMaxHoldFromTimeout, U as readSessionUpdatedAt, Ut as resolveToolProfilePolicy, V as resolveAndPersistSessionFile, Vt as mergeAlsoAllowPolicy, W as recordSessionMetaFromInbound, Wt as stripPluginOnlyAllowlist, X as resolveCacheTtlMs$1, Xt as resolveBootstrapTotalMaxChars, Y as isCacheEnabled, Yt as resolveBootstrapMaxChars, Z as deliveryContextFromSession, Zt as sanitizeGoogleTurnOrdering, _ as formatRawAssistantErrorForUi, _t as DEFAULT_RESET_TRIGGERS, a as isMessagingToolDuplicateNormalized, at as countToolResults, b as isBillingAssistantError, bt as resolveExplicitAgentSessionKey, c as extractToolCallsFromAssistant, ct as applyInputProvenanceToUserMessage, d as isAntigravityClaude, dt as resolveSessionKey, et as normalizeDeliveryContext, f as isGoogleModelApi, ft as evaluateSessionFreshness, g as formatBillingErrorMessage, gt as resolveThreadFlag, h as formatAssistantErrorText, ht as resolveSessionResetType, it as capArrayByJsonBytes, j as parseImageDimensionError, jt as resolveExistingPathsWithinRoot, k as isTimeoutErrorMessage, kt as resolveProfile, l as extractToolResultId, lt as hasInterSessionUserProvenance, m as classifyFailoverReason, mt as resolveSessionResetPolicy, n as validateGeminiTurns, nt as normalizeAccountId$3, o as normalizeTextForComparison, ot as extractToolCallNames, p as BILLING_ERROR_USER_MESSAGE, pt as resolveChannelResetConfig, q as updateSessionStore, qt as buildBootstrapContextFiles, r as pickFallbackThinkingLevel, rt as archiveSessionTranscripts, s as sanitizeSessionMessagesImages, st as INPUT_PROVENANCE_KIND_VALUES, t as validateAnthropicTurns, tt as normalizeSessionDeliveryFields, u as downgradeOpenAIReasoningBlocks, ut as normalizeInputProvenance, v as getApiErrorPayloadFingerprint, vt as resolveFreshSessionTotalTokens, w as isFailoverAssistantError, wt as acquireSessionWriteLock, x as isCloudCodeAssistFormatError, xt as resolveMainSessionKey, y as isAuthAssistantError, yt as canonicalizeMainSessionAlias, z as appendAssistantMessageToSessionTranscript, zt as expandPolicyWithPluginGroups } from "./pi-embedded-helpers-
|
|
26
|
-
import { A as VERSION, C as getConfigValueAtPath, D as isSafeExecutableValue, E as unsetConfigValueAtPath, O as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, S as unsetConfigOverride, T as setConfigValueAtPath, _ as parseDurationMs, a as writeConfigFile, b as resetConfigOverrides, c as TELEGRAM_COMMAND_NAME_PATTERN, f as isInboundPathAllowed, g as normalizeScpRemoteHost, h as resolveIMessageRemoteAttachmentRoots, i as resolveConfigSnapshotHash, k as resolveAgentMaxConcurrent, l as normalizeTelegramCommandName, m as resolveIMessageAttachmentRoots, n as loadConfig, o as validateConfigObjectWithPlugins, r as readConfigFileSnapshot, u as resolveTelegramCustomCommands, v as validateJsonSchemaValue, w as parseConfigPath, x as setConfigOverride, y as getConfigOverrides } from "./config-
|
|
25
|
+
import { $ as mergeDeliveryContext, A as isTransientHttpError, At as DEFAULT_UPLOAD_DIR, Bt as expandToolGroups, C as isContextOverflowError, Ct as resolveGroupSessionKey, D as isRateLimitAssistantError, Dt as registerBrowserRoutes, E as isLikelyContextOverflowError, Et as createBrowserRouteContext, F as resolveSandboxContext, Ft as resolveSandboxConfigForAgent, Gt as compileGlobPatterns, H as loadSessionStore, Ht as normalizeToolName, I as resolveSandboxRuntimeStatus, It as applyOwnerOnlyToolPolicy, J as updateSessionStoreEntry, Jt as ensureSessionHeader, K as updateLastRoute, Kt as matchesAnyGlobPattern, L as extractDeliveryInfo, Lt as buildPluginToolGroups, M as parseImageSizeError, Mt as getBridgeAuthForPort, N as sanitizeUserFacingText, Nt as ensureBrowserControlAuth, O as isRawApiErrorPayload, Ot as resolveBrowserConfig, P as ensureSandboxWorkspaceForSession, Pt as resolveBrowserControlAuth, Q as deliveryContextKey, R as parseSessionThreadInfo, Rt as collectExplicitAllowlist, S as isCompactionFailureError, St as deriveSessionMetaPatch, T as isFailoverErrorMessage, Tt as resolveSessionLockMaxHoldFromTimeout, U as readSessionUpdatedAt, Ut as resolveToolProfilePolicy, V as resolveAndPersistSessionFile, Vt as mergeAlsoAllowPolicy, W as recordSessionMetaFromInbound, Wt as stripPluginOnlyAllowlist, X as resolveCacheTtlMs$1, Xt as resolveBootstrapTotalMaxChars, Y as isCacheEnabled, Yt as resolveBootstrapMaxChars, Z as deliveryContextFromSession, Zt as sanitizeGoogleTurnOrdering, _ as formatRawAssistantErrorForUi, _t as DEFAULT_RESET_TRIGGERS, a as isMessagingToolDuplicateNormalized, at as countToolResults, b as isBillingAssistantError, bt as resolveExplicitAgentSessionKey, c as extractToolCallsFromAssistant, ct as applyInputProvenanceToUserMessage, d as isAntigravityClaude, dt as resolveSessionKey, et as normalizeDeliveryContext, f as isGoogleModelApi, ft as evaluateSessionFreshness, g as formatBillingErrorMessage, gt as resolveThreadFlag, h as formatAssistantErrorText, ht as resolveSessionResetType, it as capArrayByJsonBytes, j as parseImageDimensionError, jt as resolveExistingPathsWithinRoot, k as isTimeoutErrorMessage, kt as resolveProfile, l as extractToolResultId, lt as hasInterSessionUserProvenance, m as classifyFailoverReason, mt as resolveSessionResetPolicy, n as validateGeminiTurns, nt as normalizeAccountId$3, o as normalizeTextForComparison, ot as extractToolCallNames, p as BILLING_ERROR_USER_MESSAGE, pt as resolveChannelResetConfig, q as updateSessionStore, qt as buildBootstrapContextFiles, r as pickFallbackThinkingLevel, rt as archiveSessionTranscripts, s as sanitizeSessionMessagesImages, st as INPUT_PROVENANCE_KIND_VALUES, t as validateAnthropicTurns, tt as normalizeSessionDeliveryFields, u as downgradeOpenAIReasoningBlocks, ut as normalizeInputProvenance, v as getApiErrorPayloadFingerprint, vt as resolveFreshSessionTotalTokens, w as isFailoverAssistantError, wt as acquireSessionWriteLock, x as isCloudCodeAssistFormatError, xt as resolveMainSessionKey, y as isAuthAssistantError, yt as canonicalizeMainSessionAlias, z as appendAssistantMessageToSessionTranscript, zt as expandPolicyWithPluginGroups } from "./pi-embedded-helpers-lgx_U5KS.js";
|
|
26
|
+
import { A as VERSION, C as getConfigValueAtPath, D as isSafeExecutableValue, E as unsetConfigValueAtPath, O as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, S as unsetConfigOverride, T as setConfigValueAtPath, _ as parseDurationMs, a as writeConfigFile, b as resetConfigOverrides, c as TELEGRAM_COMMAND_NAME_PATTERN, f as isInboundPathAllowed, g as normalizeScpRemoteHost, h as resolveIMessageRemoteAttachmentRoots, i as resolveConfigSnapshotHash, k as resolveAgentMaxConcurrent, l as normalizeTelegramCommandName, m as resolveIMessageAttachmentRoots, n as loadConfig, o as validateConfigObjectWithPlugins, r as readConfigFileSnapshot, u as resolveTelegramCustomCommands, v as validateJsonSchemaValue, w as parseConfigPath, x as setConfigOverride, y as getConfigOverrides } from "./config-BmV60pPT.js";
|
|
27
27
|
import { c as normalizePluginsConfig, f as isPathInsideWithRealpath, i as safeStatSync, l as resolveEnableState, n as discoverSymiPlugins, p as isDangerousHostEnvVarName, r as isPathInside, s as applyTestPluginDefaults, t as loadPluginManifestRegistry, u as resolveMemorySlotDecision } from "./manifest-registry-D-mTF1cj.js";
|
|
28
|
-
import { C as rawDataToString, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, T as isSecureWebSocketUrl, x as ensureChromeExtensionRelayServer } from "./chrome-
|
|
28
|
+
import { C as rawDataToString, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, T as isSecureWebSocketUrl, x as ensureChromeExtensionRelayServer } from "./chrome-CDJYxX5a.js";
|
|
29
29
|
import { c as assertSandboxPath, d as resolveSandboxedMediaSource, f as applySkillEnvOverrides, i as resolveSkillsPromptForRun, l as resolveSandboxInputPath, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverridesFromSnapshot, r as loadWorkspaceSkillEntries, s as assertMediaNotDataUrl } from "./skills-BNpGMnp-.js";
|
|
30
30
|
import { n as formatErrorMessage, r as formatUncaughtError } from "./errors-CPfngF0S.js";
|
|
31
31
|
import { i as isBlockedHostnameOrIp, o as normalizeHostname, t as SsrFBlockedError } from "./ssrf-CxfFyMRZ.js";
|
|
@@ -36,7 +36,7 @@ import { t as resolveIMessageAccount } from "./accounts-DImOt9jX.js";
|
|
|
36
36
|
import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-DkMamAQ-.js";
|
|
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-ChC2CXaN.js";
|
|
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-
|
|
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-CHzdaNJ4.js";
|
|
40
40
|
import { i as resolveMemorySearchConfig, n as probeOllamaEmbeddingModels, r as resolveOllamaBaseUrl } from "./manager-jpn5vRTY.js";
|
|
41
41
|
import { d as listMemoryFiles, f as normalizeExtraMemoryPaths, g as runTasksWithConcurrency } from "./sqlite-BNh23mUR.js";
|
|
42
42
|
import { n as retryAsync } from "./retry-QGp0jvVi.js";
|
|
@@ -49,17 +49,17 @@ import { a as loadWebMedia, i as getDefaultLocalRoots } from "./ir-F0moAwIl.js";
|
|
|
49
49
|
import { _ as resolveNativeCommandsEnabled, a as listChatCommandsForConfig, c as normalizeCommandBody, d as resolveCommandArgMenu, f as serializeCommandArgs, g as isRestartEnabled, h as isNativeCommandsExplicitlyDisabled, i as listChatCommands, l as parseCommandArgs, m as isCommandFlagEnabled, o as listNativeCommandSpecs, p as shouldHandleTextCommands, r as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as resolveCommandArgChoices, v as resolveNativeSkillsEnabled } from "./commands-registry-C_aYUwpl.js";
|
|
50
50
|
import { c as getSkillsSnapshotVersion, d as createAsyncLock, f as readJsonFile, i as resolveSkillCommandInvocation, l as pruneExpiredPending, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, p as writeJsonAtomic, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as resolvePairingPaths } from "./skill-commands-DklY7Cj7.js";
|
|
51
51
|
import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-QOi5vzUt.js";
|
|
52
|
-
import { _ as resolveMediaUnderstandingScope, a as resolveMediaAttachmentLocalRoots, c as loadModelCatalog, d as resolveAttachmentKind, f as buildRandomTempFilePath, g as normalizeMediaUnderstandingChatType, h as resolveTimeoutMs$1, i as resolveAutoImageModel, l as modelSupportsVision, m as resolveConcurrency, n as createMediaAttachmentCache, o as runCapability, p as registerUnhandledRejectionHandler, r as normalizeMediaAttachments, s as findModelInCatalog, t as buildProviderRegistry, v as CLI_OUTPUT_MAX_BUFFER, y as applyTemplate } from "./runner-
|
|
52
|
+
import { _ as resolveMediaUnderstandingScope, a as resolveMediaAttachmentLocalRoots, c as loadModelCatalog, d as resolveAttachmentKind, f as buildRandomTempFilePath, g as normalizeMediaUnderstandingChatType, h as resolveTimeoutMs$1, i as resolveAutoImageModel, l as modelSupportsVision, m as resolveConcurrency, n as createMediaAttachmentCache, o as runCapability, p as registerUnhandledRejectionHandler, r as normalizeMediaAttachments, s as findModelInCatalog, t as buildProviderRegistry, v as CLI_OUTPUT_MAX_BUFFER, y as applyTemplate } from "./runner-DUBExAb5.js";
|
|
53
53
|
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-DtLn7YU3.js";
|
|
54
54
|
import { n as recordCommandPoll, r as resetCommandPollCount } from "./command-poll-backoff-DtXYsHEc.js";
|
|
55
55
|
import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-D9q-fIPB.js";
|
|
56
56
|
import { n as normalizePollInput } from "./polls-DQcEziPg.js";
|
|
57
57
|
import { t as convertMarkdownTables } from "./tables-COnZ169v.js";
|
|
58
|
-
import { a as resolveSignalRpcContext, c as streamSignalEvents, n as sendReadReceiptSignal, o as signalCheck, r as sendTypingSignal, s as signalRpcRequest, t as sendMessageSignal } from "./send-
|
|
59
|
-
import { a as formatIMessageChatTarget, c as parseIMessageTarget, i as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, o as isAllowedIMessageSender, r as createIMessageRpcClient, s as normalizeIMessageHandle, t as sendMessageIMessage } from "./send-
|
|
58
|
+
import { a as resolveSignalRpcContext, c as streamSignalEvents, n as sendReadReceiptSignal, o as signalCheck, r as sendTypingSignal, s as signalRpcRequest, t as sendMessageSignal } from "./send-DXW6mdgR.js";
|
|
59
|
+
import { a as formatIMessageChatTarget, c as parseIMessageTarget, i as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, o as isAllowedIMessageSender, r as createIMessageRpcClient, s as normalizeIMessageHandle, t as sendMessageIMessage } from "./send-BArQpbtx.js";
|
|
60
60
|
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-We7ViAbg.js";
|
|
61
61
|
import { t as makeProxyFetch } from "./proxy-BaSHbVlA.js";
|
|
62
|
-
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-
|
|
62
|
+
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-ZYtI9jr0.js";
|
|
63
63
|
import { t as getActiveWebListener } from "./active-listener-1krIj9TM.js";
|
|
64
64
|
import { createRequire } from "node:module";
|
|
65
65
|
import * as path$1 from "node:path";
|
|
@@ -79,7 +79,7 @@ import { EdgeTTS } from "node-edge-tts";
|
|
|
79
79
|
import AjvPkg from "ajv";
|
|
80
80
|
import { createServer } from "node:http";
|
|
81
81
|
import { ProxyAgent, fetch as fetch$1 } from "undici";
|
|
82
|
-
import WebSocket, { WebSocket
|
|
82
|
+
import WebSocket$1, { WebSocket } from "ws";
|
|
83
83
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
84
84
|
import { createJiti } from "jiti";
|
|
85
85
|
import { Type } from "@sinclair/typebox";
|
|
@@ -5714,7 +5714,7 @@ var GatewayClient = class {
|
|
|
5714
5714
|
if (fingerprint !== expected) return /* @__PURE__ */ new Error("gateway tls fingerprint mismatch");
|
|
5715
5715
|
});
|
|
5716
5716
|
}
|
|
5717
|
-
this.ws = new WebSocket
|
|
5717
|
+
this.ws = new WebSocket(url, wsOptions);
|
|
5718
5718
|
this.ws.on("open", () => {
|
|
5719
5719
|
if (url.startsWith("wss://") && this.opts.tlsFingerprint) {
|
|
5720
5720
|
const tlsError = this.validateTlsFingerprint();
|
|
@@ -5933,7 +5933,7 @@ var GatewayClient = class {
|
|
|
5933
5933
|
return null;
|
|
5934
5934
|
}
|
|
5935
5935
|
async request(method, params, opts) {
|
|
5936
|
-
if (!this.ws || this.ws.readyState !== WebSocket
|
|
5936
|
+
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error("gateway not connected");
|
|
5937
5937
|
const id = randomUUID();
|
|
5938
5938
|
const frame = {
|
|
5939
5939
|
type: "req",
|
|
@@ -7199,7 +7199,7 @@ async function routeReply(params) {
|
|
|
7199
7199
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
7200
7200
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
7201
7201
|
try {
|
|
7202
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
7202
|
+
const { deliverOutboundPayloads } = await import("./deliver-BH0l3UKW.js").then((n) => n.n);
|
|
7203
7203
|
return {
|
|
7204
7204
|
ok: true,
|
|
7205
7205
|
messageId: (await deliverOutboundPayloads({
|
|
@@ -41673,7 +41673,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
41673
41673
|
return;
|
|
41674
41674
|
}
|
|
41675
41675
|
try {
|
|
41676
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
41676
|
+
const { deliverOutboundPayloads } = await import("./deliver-BH0l3UKW.js").then((n) => n.n);
|
|
41677
41677
|
await deliverOutboundPayloads({
|
|
41678
41678
|
cfg: params.cfg,
|
|
41679
41679
|
channel,
|
|
@@ -45119,7 +45119,7 @@ async function describeStickerImage(params) {
|
|
|
45119
45119
|
logVerbose(`telegram: describing sticker with ${provider}/${model}`);
|
|
45120
45120
|
try {
|
|
45121
45121
|
const buffer = await fs$1.readFile(imagePath);
|
|
45122
|
-
const { describeImageWithModel } = await import("./image-
|
|
45122
|
+
const { describeImageWithModel } = await import("./image-CHzdaNJ4.js").then((n) => n.n);
|
|
45123
45123
|
return (await describeImageWithModel({
|
|
45124
45124
|
buffer,
|
|
45125
45125
|
fileName: "sticker.webp",
|
|
@@ -45542,7 +45542,7 @@ function createWhatsAppLoginTool() {
|
|
|
45542
45542
|
force: Type.Optional(Type.Boolean())
|
|
45543
45543
|
}),
|
|
45544
45544
|
execute: async (_toolCallId, args) => {
|
|
45545
|
-
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-
|
|
45545
|
+
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-CUErSLXH.js");
|
|
45546
45546
|
if ((args?.action ?? "start") === "wait") {
|
|
45547
45547
|
const result = await waitForWebLogin({ timeoutMs: typeof args.timeoutMs === "number" ? args.timeoutMs : void 0 });
|
|
45548
45548
|
return {
|
|
@@ -47781,7 +47781,7 @@ async function preflightDiscordMessage(params) {
|
|
|
47781
47781
|
let preflightTranscript;
|
|
47782
47782
|
const hasAudioAttachment = message.attachments?.some((att) => att.contentType?.startsWith("audio/"));
|
|
47783
47783
|
if (!isDirectMessage && shouldRequireMention && hasAudioAttachment && !baseText && mentionRegexes.length > 0) try {
|
|
47784
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
47784
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-C40mKAp7.js");
|
|
47785
47785
|
const audioPaths = message.attachments?.filter((att) => att.contentType?.startsWith("audio/")).map((att) => att.url) ?? [];
|
|
47786
47786
|
if (audioPaths.length > 0) preflightTranscript = await transcribeFirstAudio({
|
|
47787
47787
|
ctx: {
|
|
@@ -51787,27 +51787,27 @@ function isVoiceChannelType(type) {
|
|
|
51787
51787
|
function createDefaultDeps() {
|
|
51788
51788
|
return {
|
|
51789
51789
|
sendMessageWhatsApp: async (...args) => {
|
|
51790
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
51790
|
+
const { sendMessageWhatsApp } = await import("./web-C1Zn8_qW.js");
|
|
51791
51791
|
return await sendMessageWhatsApp(...args);
|
|
51792
51792
|
},
|
|
51793
51793
|
sendMessageTelegram: async (...args) => {
|
|
51794
|
-
const { sendMessageTelegram } = await import("./send-
|
|
51794
|
+
const { sendMessageTelegram } = await import("./send-C4Ucr8ep.js").then((n) => n.l);
|
|
51795
51795
|
return await sendMessageTelegram(...args);
|
|
51796
51796
|
},
|
|
51797
51797
|
sendMessageDiscord: async (...args) => {
|
|
51798
|
-
const { sendMessageDiscord } = await import("./send-
|
|
51798
|
+
const { sendMessageDiscord } = await import("./send-C1IYd3g7.js").then((n) => n.t);
|
|
51799
51799
|
return await sendMessageDiscord(...args);
|
|
51800
51800
|
},
|
|
51801
51801
|
sendMessageSlack: async (...args) => {
|
|
51802
|
-
const { sendMessageSlack } = await import("./send-
|
|
51802
|
+
const { sendMessageSlack } = await import("./send-D-hWrHoH.js").then((n) => n.n);
|
|
51803
51803
|
return await sendMessageSlack(...args);
|
|
51804
51804
|
},
|
|
51805
51805
|
sendMessageSignal: async (...args) => {
|
|
51806
|
-
const { sendMessageSignal } = await import("./send-
|
|
51806
|
+
const { sendMessageSignal } = await import("./send-DXW6mdgR.js").then((n) => n.i);
|
|
51807
51807
|
return await sendMessageSignal(...args);
|
|
51808
51808
|
},
|
|
51809
51809
|
sendMessageIMessage: async (...args) => {
|
|
51810
|
-
const { sendMessageIMessage } = await import("./send-
|
|
51810
|
+
const { sendMessageIMessage } = await import("./send-BArQpbtx.js").then((n) => n.n);
|
|
51811
51811
|
return await sendMessageIMessage(...args);
|
|
51812
51812
|
}
|
|
51813
51813
|
};
|
|
@@ -54694,7 +54694,7 @@ function createDiscordGatewayPlugin(params) {
|
|
|
54694
54694
|
super(options);
|
|
54695
54695
|
}
|
|
54696
54696
|
createWebSocket(url) {
|
|
54697
|
-
return new WebSocket(url, { agent });
|
|
54697
|
+
return new WebSocket$1(url, { agent });
|
|
54698
54698
|
}
|
|
54699
54699
|
}
|
|
54700
54700
|
return new ProxyGatewayPlugin();
|
|
@@ -62639,7 +62639,7 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
62639
62639
|
});
|
|
62640
62640
|
const deliverSlashPayloads = async (replies) => {
|
|
62641
62641
|
const [{ deliverSlackSlashReplies }, { resolveChunkMode }, { resolveMarkdownTableMode }] = await Promise.all([
|
|
62642
|
-
import("./replies-
|
|
62642
|
+
import("./replies-ZYtI9jr0.js").then((n) => n.r),
|
|
62643
62643
|
import("./chunk-DTMTDXwE.js").then((n) => n.s),
|
|
62644
62644
|
import("./markdown-tables-DawaaZEe.js").then((n) => n.t)
|
|
62645
62645
|
]);
|
|
@@ -64912,7 +64912,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, storeAllowFro
|
|
|
64912
64912
|
const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
|
|
64913
64913
|
let preflightTranscript;
|
|
64914
64914
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
|
|
64915
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
64915
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-C40mKAp7.js");
|
|
64916
64916
|
preflightTranscript = await transcribeFirstAudio({
|
|
64917
64917
|
ctx: {
|
|
64918
64918
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -67057,23 +67057,23 @@ let webLoginQrPromise = null;
|
|
|
67057
67057
|
let webChannelPromise = null;
|
|
67058
67058
|
let whatsappActionsPromise = null;
|
|
67059
67059
|
function loadWebOutbound() {
|
|
67060
|
-
webOutboundPromise ??= import("./outbound-
|
|
67060
|
+
webOutboundPromise ??= import("./outbound-3MZ12YrQ.js").then((n) => n.t);
|
|
67061
67061
|
return webOutboundPromise;
|
|
67062
67062
|
}
|
|
67063
67063
|
function loadWebLogin() {
|
|
67064
|
-
webLoginPromise ??= import("./login-
|
|
67064
|
+
webLoginPromise ??= import("./login-XprgoYoQ.js").then((n) => n.n);
|
|
67065
67065
|
return webLoginPromise;
|
|
67066
67066
|
}
|
|
67067
67067
|
function loadWebLoginQr() {
|
|
67068
|
-
webLoginQrPromise ??= import("./login-qr-
|
|
67068
|
+
webLoginQrPromise ??= import("./login-qr-CUErSLXH.js");
|
|
67069
67069
|
return webLoginQrPromise;
|
|
67070
67070
|
}
|
|
67071
67071
|
function loadWebChannel() {
|
|
67072
|
-
webChannelPromise ??= import("./web-
|
|
67072
|
+
webChannelPromise ??= import("./web-C1Zn8_qW.js");
|
|
67073
67073
|
return webChannelPromise;
|
|
67074
67074
|
}
|
|
67075
67075
|
function loadWhatsAppActions() {
|
|
67076
|
-
whatsappActionsPromise ??= import("./whatsapp-actions-
|
|
67076
|
+
whatsappActionsPromise ??= import("./whatsapp-actions-DvhI5-DC.js");
|
|
67077
67077
|
return whatsappActionsPromise;
|
|
67078
67078
|
}
|
|
67079
67079
|
function createPluginRuntime() {
|
|
@@ -70460,6 +70460,7 @@ function guardSessionManager(sessionManager, opts) {
|
|
|
70460
70460
|
|
|
70461
70461
|
//#endregion
|
|
70462
70462
|
//#region src/agents/transcript-policy.ts
|
|
70463
|
+
const GEMMA_MODEL_HINTS = ["gemma", "redsand/"];
|
|
70463
70464
|
const MISTRAL_MODEL_HINTS = [
|
|
70464
70465
|
"mistral",
|
|
70465
70466
|
"mixtral",
|
|
@@ -70488,6 +70489,12 @@ function isAnthropicApi(modelApi, provider) {
|
|
|
70488
70489
|
if (modelApi === "anthropic-messages") return true;
|
|
70489
70490
|
return normalizeProviderId(provider ?? "") === "anthropic";
|
|
70490
70491
|
}
|
|
70492
|
+
function isGemmaModel(params) {
|
|
70493
|
+
if (normalizeProviderId(params.provider ?? "") === "redsand") return true;
|
|
70494
|
+
const modelId = (params.modelId ?? "").toLowerCase();
|
|
70495
|
+
if (!modelId) return false;
|
|
70496
|
+
return GEMMA_MODEL_HINTS.some((hint) => modelId.includes(hint));
|
|
70497
|
+
}
|
|
70491
70498
|
function isMistralModel(params) {
|
|
70492
70499
|
if (normalizeProviderId(params.provider ?? "") === "mistral") return true;
|
|
70493
70500
|
const modelId = (params.modelId ?? "").toLowerCase();
|
|
@@ -70504,6 +70511,10 @@ function resolveTranscriptPolicy(params) {
|
|
|
70504
70511
|
provider,
|
|
70505
70512
|
modelId
|
|
70506
70513
|
});
|
|
70514
|
+
const isGemma = isGemmaModel({
|
|
70515
|
+
provider,
|
|
70516
|
+
modelId
|
|
70517
|
+
});
|
|
70507
70518
|
const isOpenRouterGemini = (provider === "openrouter" || provider === "opencode") && modelId.toLowerCase().includes("gemini");
|
|
70508
70519
|
const isAntigravityClaudeModel = isAntigravityClaude({
|
|
70509
70520
|
api: params.modelApi,
|
|
@@ -70511,13 +70522,13 @@ function resolveTranscriptPolicy(params) {
|
|
|
70511
70522
|
modelId
|
|
70512
70523
|
});
|
|
70513
70524
|
const dropThinkingBlocks = provider === "github-copilot" && modelId.toLowerCase().includes("claude");
|
|
70514
|
-
const needsNonImageSanitize = isGoogle || isAnthropic || isMistral || isOpenRouterGemini;
|
|
70515
|
-
const sanitizeToolCallIds = isGoogle || isMistral || isAnthropic;
|
|
70525
|
+
const needsNonImageSanitize = isGoogle || isAnthropic || isMistral || isOpenRouterGemini || isGemma;
|
|
70526
|
+
const sanitizeToolCallIds = isGoogle || isMistral || isAnthropic || isGemma;
|
|
70516
70527
|
return {
|
|
70517
70528
|
sanitizeMode: isOpenAi ? "images-only" : needsNonImageSanitize ? "full" : "images-only",
|
|
70518
70529
|
sanitizeToolCallIds: !isOpenAi && sanitizeToolCallIds,
|
|
70519
70530
|
toolCallIdMode: isMistral ? "strict9" : sanitizeToolCallIds ? "strict" : void 0,
|
|
70520
|
-
repairToolUseResultPairing: !isOpenAi && (isGoogle || isAnthropic),
|
|
70531
|
+
repairToolUseResultPairing: !isOpenAi && (isGoogle || isAnthropic || isGemma),
|
|
70521
70532
|
preserveSignatures: isAntigravityClaudeModel,
|
|
70522
70533
|
sanitizeThoughtSignatures: isOpenAi ? void 0 : isOpenRouterGemini ? {
|
|
70523
70534
|
allowBase64Only: true,
|
|
@@ -72575,6 +72586,162 @@ async function compactEmbeddedPiSession(params) {
|
|
|
72575
72586
|
return enqueueCommandInLane(sessionLane, () => enqueueGlobal(async () => compactEmbeddedPiSessionDirect(params)));
|
|
72576
72587
|
}
|
|
72577
72588
|
|
|
72589
|
+
//#endregion
|
|
72590
|
+
//#region src/config/model-profiles-builtin.ts
|
|
72591
|
+
/**
|
|
72592
|
+
* Built-in model profiles. Ordered from most-specific to least-specific so
|
|
72593
|
+
* that `resolveModelProfile` can return the first match.
|
|
72594
|
+
*
|
|
72595
|
+
* Order matters: "ollama/" must precede "gemma" because model IDs like
|
|
72596
|
+
* "ollama/gemma4:31b-128k" contain both substrings.
|
|
72597
|
+
*/
|
|
72598
|
+
const BUILTIN_PROFILES = [
|
|
72599
|
+
{
|
|
72600
|
+
match: ["ollama/"],
|
|
72601
|
+
label: "Ollama Local",
|
|
72602
|
+
params: {
|
|
72603
|
+
temperature: 1,
|
|
72604
|
+
top_p: .95,
|
|
72605
|
+
top_k: 64,
|
|
72606
|
+
max_tokens: 4096,
|
|
72607
|
+
stop: ["<end_of_turn>", "<eos>"]
|
|
72608
|
+
},
|
|
72609
|
+
streaming: {
|
|
72610
|
+
deltaThrottleMs: 50,
|
|
72611
|
+
flushOnFinal: true,
|
|
72612
|
+
chunkPattern: "burst"
|
|
72613
|
+
},
|
|
72614
|
+
filters: {
|
|
72615
|
+
stripPatterns: [
|
|
72616
|
+
"<\\|channel>\\w*",
|
|
72617
|
+
"<channel\\|>",
|
|
72618
|
+
"<start_of_turn>(?:model|user)?",
|
|
72619
|
+
"<end_of_turn>"
|
|
72620
|
+
],
|
|
72621
|
+
suppressMonologue: true,
|
|
72622
|
+
hasStructuredThinking: false
|
|
72623
|
+
},
|
|
72624
|
+
promptAdditions: ["You are running locally via Ollama. Do not output raw control tokens or internal monologue. Send brief progress updates on long tasks."],
|
|
72625
|
+
ui: {
|
|
72626
|
+
badge: "Local",
|
|
72627
|
+
watchdogMs: 9e5,
|
|
72628
|
+
armWatchdogOnSend: true
|
|
72629
|
+
}
|
|
72630
|
+
},
|
|
72631
|
+
{
|
|
72632
|
+
match: ["anthropic/", "claude-"],
|
|
72633
|
+
label: "Claude",
|
|
72634
|
+
params: {
|
|
72635
|
+
temperature: 1,
|
|
72636
|
+
top_p: 1,
|
|
72637
|
+
max_tokens: 8192
|
|
72638
|
+
},
|
|
72639
|
+
streaming: {
|
|
72640
|
+
deltaThrottleMs: 150,
|
|
72641
|
+
flushOnFinal: false,
|
|
72642
|
+
chunkPattern: "token"
|
|
72643
|
+
},
|
|
72644
|
+
filters: {
|
|
72645
|
+
stripPatterns: [],
|
|
72646
|
+
suppressMonologue: false,
|
|
72647
|
+
hasStructuredThinking: true
|
|
72648
|
+
},
|
|
72649
|
+
promptAdditions: [],
|
|
72650
|
+
ui: {
|
|
72651
|
+
badge: "API",
|
|
72652
|
+
watchdogMs: 3e5,
|
|
72653
|
+
armWatchdogOnSend: false
|
|
72654
|
+
}
|
|
72655
|
+
},
|
|
72656
|
+
{
|
|
72657
|
+
match: ["gemma", "redsand/"],
|
|
72658
|
+
label: "Gemma 4",
|
|
72659
|
+
params: {
|
|
72660
|
+
temperature: 1,
|
|
72661
|
+
top_p: .95,
|
|
72662
|
+
top_k: 64,
|
|
72663
|
+
max_tokens: 4096,
|
|
72664
|
+
stop: ["<end_of_turn>", "<eos>"]
|
|
72665
|
+
},
|
|
72666
|
+
streaming: {
|
|
72667
|
+
deltaThrottleMs: 50,
|
|
72668
|
+
flushOnFinal: true,
|
|
72669
|
+
chunkPattern: "burst"
|
|
72670
|
+
},
|
|
72671
|
+
filters: {
|
|
72672
|
+
stripPatterns: [
|
|
72673
|
+
"<\\|channel>\\w*",
|
|
72674
|
+
"<channel\\|>",
|
|
72675
|
+
"<start_of_turn>(?:model|user)?",
|
|
72676
|
+
"<end_of_turn>",
|
|
72677
|
+
"<\\|(?:fim_prefix|fim_suffix|fim_middle)\\|>",
|
|
72678
|
+
"^\\s*<bos>\\s*"
|
|
72679
|
+
],
|
|
72680
|
+
suppressMonologue: true,
|
|
72681
|
+
hasStructuredThinking: false
|
|
72682
|
+
},
|
|
72683
|
+
promptAdditions: [
|
|
72684
|
+
"You are running as Gemma 4 via vLLM. Important behavioral rules:",
|
|
72685
|
+
"- Never output raw control tokens, channel tags, or turn markers in your responses.",
|
|
72686
|
+
"- Never display internal status checks, plans, or self-assessments. Your visible output should only be conversational responses and final results.",
|
|
72687
|
+
"- When working on multi-step tasks, send a brief one-line status update every 30-60 seconds so the user knows you are active.",
|
|
72688
|
+
"- Keep planning and reasoning internal. Only speak when you have a result or need user input.",
|
|
72689
|
+
"- Do not use <|channel>thought or similar syntax. If you need to reason, do so silently."
|
|
72690
|
+
],
|
|
72691
|
+
ui: {
|
|
72692
|
+
badge: "CoreWeave",
|
|
72693
|
+
watchdogMs: 6e5,
|
|
72694
|
+
armWatchdogOnSend: true
|
|
72695
|
+
}
|
|
72696
|
+
}
|
|
72697
|
+
];
|
|
72698
|
+
|
|
72699
|
+
//#endregion
|
|
72700
|
+
//#region src/config/resolve-model-profile.ts
|
|
72701
|
+
/** Default profile returned when no match is found. */
|
|
72702
|
+
const FALLBACK_PROFILE = {
|
|
72703
|
+
match: "*",
|
|
72704
|
+
label: "Generic",
|
|
72705
|
+
params: {
|
|
72706
|
+
temperature: 1,
|
|
72707
|
+
max_tokens: 4096
|
|
72708
|
+
},
|
|
72709
|
+
streaming: {
|
|
72710
|
+
deltaThrottleMs: 150,
|
|
72711
|
+
flushOnFinal: true,
|
|
72712
|
+
chunkPattern: "burst"
|
|
72713
|
+
},
|
|
72714
|
+
filters: {
|
|
72715
|
+
stripPatterns: [],
|
|
72716
|
+
suppressMonologue: false,
|
|
72717
|
+
hasStructuredThinking: false
|
|
72718
|
+
},
|
|
72719
|
+
promptAdditions: [],
|
|
72720
|
+
ui: {
|
|
72721
|
+
watchdogMs: 3e5,
|
|
72722
|
+
armWatchdogOnSend: true
|
|
72723
|
+
}
|
|
72724
|
+
};
|
|
72725
|
+
/**
|
|
72726
|
+
* Resolve the active model profile for a given model ID.
|
|
72727
|
+
*
|
|
72728
|
+
* Resolution order:
|
|
72729
|
+
* 1. User-defined profiles (from `models.profiles` in symi.json)
|
|
72730
|
+
* 2. Built-in profiles ({@link BUILTIN_PROFILES})
|
|
72731
|
+
* 3. Fallback "Generic" profile
|
|
72732
|
+
*
|
|
72733
|
+
* Matching is case-insensitive prefix/substring against the model ID.
|
|
72734
|
+
*/
|
|
72735
|
+
function resolveModelProfile(modelId, userProfiles) {
|
|
72736
|
+
const id = modelId.toLowerCase();
|
|
72737
|
+
const allProfiles = [...userProfiles ?? [], ...BUILTIN_PROFILES];
|
|
72738
|
+
for (const profile of allProfiles) {
|
|
72739
|
+
const patterns = Array.isArray(profile.match) ? profile.match : [profile.match];
|
|
72740
|
+
for (const pattern of patterns) if (id.startsWith(pattern.toLowerCase()) || id.includes(pattern.toLowerCase())) return profile;
|
|
72741
|
+
}
|
|
72742
|
+
return FALLBACK_PROFILE;
|
|
72743
|
+
}
|
|
72744
|
+
|
|
72578
72745
|
//#endregion
|
|
72579
72746
|
//#region src/agents/pi-embedded-runner/extra-params.ts
|
|
72580
72747
|
const OPENROUTER_APP_HEADERS = {
|
|
@@ -72594,7 +72761,9 @@ const OPENAI_RESPONSES_PROVIDERS = new Set(["openai"]);
|
|
|
72594
72761
|
function resolveExtraParams(params) {
|
|
72595
72762
|
const modelKey = `${params.provider}/${params.modelId}`;
|
|
72596
72763
|
const modelConfig = params.cfg?.agents?.defaults?.models?.[modelKey];
|
|
72597
|
-
|
|
72764
|
+
if (modelConfig?.params) return { ...modelConfig.params };
|
|
72765
|
+
const profile = resolveModelProfile(modelKey, params.cfg?.models?.profiles);
|
|
72766
|
+
if (profile.params && Object.keys(profile.params).length > 0) return { ...profile.params };
|
|
72598
72767
|
}
|
|
72599
72768
|
/**
|
|
72600
72769
|
* Resolve cacheRetention from extraParams, supporting both new `cacheRetention`
|
|
@@ -72624,6 +72793,7 @@ function createStreamFnWithExtraParams(baseStreamFn, extraParams, provider) {
|
|
|
72624
72793
|
if (typeof extraParams.top_p === "number") streamParams.top_p = extraParams.top_p;
|
|
72625
72794
|
if (typeof extraParams.top_k === "number") streamParams.top_k = extraParams.top_k;
|
|
72626
72795
|
if (typeof extraParams.repeat_penalty === "number") streamParams.repeat_penalty = extraParams.repeat_penalty;
|
|
72796
|
+
if (Array.isArray(extraParams.stop) && extraParams.stop.length > 0) streamParams.stop = extraParams.stop;
|
|
72627
72797
|
if (extraParams.chat_template_kwargs && typeof extraParams.chat_template_kwargs === "object") streamParams.chat_template_kwargs = extraParams.chat_template_kwargs;
|
|
72628
72798
|
const cacheRetention = resolveCacheRetention(extraParams, provider);
|
|
72629
72799
|
if (cacheRetention) streamParams.cacheRetention = cacheRetention;
|
|
@@ -72752,6 +72922,42 @@ function createZaiToolStreamWrapper(baseStreamFn, enabled) {
|
|
|
72752
72922
|
});
|
|
72753
72923
|
};
|
|
72754
72924
|
}
|
|
72925
|
+
const GEMMA_STOP_SEQUENCES = ["<end_of_turn>", "<eos>"];
|
|
72926
|
+
const VLLM_GEMMA_HINTS = ["gemma", "redsand"];
|
|
72927
|
+
function isVllmOrGemmaProvider(provider, modelId, cfg) {
|
|
72928
|
+
const lower = `${provider}/${modelId}`.toLowerCase();
|
|
72929
|
+
if (VLLM_GEMMA_HINTS.some((h) => lower.includes(h))) return true;
|
|
72930
|
+
const baseUrl = ((cfg?.models?.providers?.[provider])?.baseUrl ?? "").toLowerCase();
|
|
72931
|
+
return baseUrl.includes("coreweave") || baseUrl.includes("vllm");
|
|
72932
|
+
}
|
|
72933
|
+
/**
|
|
72934
|
+
* Wrap the stream function to fix vLLM/Gemma compat issues via onPayload:
|
|
72935
|
+
* 1. Replace `max_completion_tokens` with `max_tokens` (vLLM ignores the former)
|
|
72936
|
+
* 2. Inject Gemma stop sequences if none are set
|
|
72937
|
+
* 3. Remove unsupported fields (store, stream_options.include_usage on older vLLM)
|
|
72938
|
+
*/
|
|
72939
|
+
function createVllmCompatWrapper(baseStreamFn, extraParams) {
|
|
72940
|
+
const underlying = baseStreamFn ?? streamSimple;
|
|
72941
|
+
const configuredStop = Array.isArray(extraParams.stop) ? extraParams.stop : GEMMA_STOP_SEQUENCES;
|
|
72942
|
+
return (model, context, options) => {
|
|
72943
|
+
const originalOnPayload = options?.onPayload;
|
|
72944
|
+
return underlying(model, context, {
|
|
72945
|
+
...options,
|
|
72946
|
+
onPayload: (payload) => {
|
|
72947
|
+
if (payload && typeof payload === "object") {
|
|
72948
|
+
const p = payload;
|
|
72949
|
+
if (p.max_completion_tokens && !p.max_tokens) {
|
|
72950
|
+
p.max_tokens = p.max_completion_tokens;
|
|
72951
|
+
delete p.max_completion_tokens;
|
|
72952
|
+
}
|
|
72953
|
+
if (!p.stop && configuredStop.length > 0) p.stop = configuredStop;
|
|
72954
|
+
delete p.store;
|
|
72955
|
+
}
|
|
72956
|
+
originalOnPayload?.(payload);
|
|
72957
|
+
}
|
|
72958
|
+
});
|
|
72959
|
+
};
|
|
72960
|
+
}
|
|
72755
72961
|
/**
|
|
72756
72962
|
* Apply extra params (like temperature) to an agent's streamFn.
|
|
72757
72963
|
* Also adds OpenRouter app attribution headers when using the OpenRouter provider.
|
|
@@ -72786,6 +72992,10 @@ function applyExtraParamsToAgent(agent, cfg, provider, modelId, extraParamsOverr
|
|
|
72786
72992
|
agent.streamFn = createZaiToolStreamWrapper(agent.streamFn, true);
|
|
72787
72993
|
}
|
|
72788
72994
|
}
|
|
72995
|
+
if (isVllmOrGemmaProvider(provider, modelId, cfg)) {
|
|
72996
|
+
log$2.debug(`applying vLLM/Gemma compat wrapper for ${provider}/${modelId}`);
|
|
72997
|
+
agent.streamFn = createVllmCompatWrapper(agent.streamFn, merged);
|
|
72998
|
+
}
|
|
72789
72999
|
agent.streamFn = createOpenAIResponsesStoreWrapper(agent.streamFn);
|
|
72790
73000
|
}
|
|
72791
73001
|
|
|
@@ -75992,7 +76202,8 @@ async function runEmbeddedAttempt(params) {
|
|
|
75992
76202
|
skillsPrompt,
|
|
75993
76203
|
tools
|
|
75994
76204
|
});
|
|
75995
|
-
const
|
|
76205
|
+
const modelProfile = resolveModelProfile(params.modelId ?? "", params.config?.models?.profiles);
|
|
76206
|
+
const systemPromptText = createSystemPromptOverride(appendPrompt + (modelProfile.promptAdditions.length > 0 ? "\n\n" + modelProfile.promptAdditions.join("\n") : ""))();
|
|
75996
76207
|
const sessionLock = await acquireSessionWriteLock({
|
|
75997
76208
|
sessionFile: params.sessionFile,
|
|
75998
76209
|
maxHoldMs: resolveSessionLockMaxHoldFromTimeout({ timeoutMs: params.timeoutMs })
|