@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
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { i as resolveGatewayPort, t as STATE_DIR, u as resolveRequiredHomeDir } from "./paths-
|
|
1
|
+
import { i as resolveGatewayPort, t as STATE_DIR, u as resolveRequiredHomeDir } from "./paths-CySxpNhH.js";
|
|
2
2
|
import { c as normalizeMainKey, l as resolveAgentIdFromSessionKey, m as normalizeOptionalAccountId, r as buildAgentMainSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-BCzIW1Y2.js";
|
|
3
|
-
import { I as resolveUserPath, M as normalizeE164, U as truncateUtf16Safe, dt as resolvePreferredSymiTmpDir, t as CHANNEL_IDS } from "./registry-
|
|
4
|
-
import { n as resolveAgentConfig, u as resolveSessionAgentId } from "./agent-scope-
|
|
5
|
-
import { r as defaultRuntime, t as createSubsystemLogger } from "./subsystem-
|
|
6
|
-
import { _ as runExec, a as DEFAULT_SYMICORE_FILENAME, c as DEFAULT_USER_FILENAME, i as DEFAULT_IDENTITY_FILENAME, l as ensureAgentWorkspace, n as DEFAULT_AGENT_WORKSPACE_DIR, o as DEFAULT_SYMIPULSE_FILENAME, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_TOOLS_FILENAME, t as DEFAULT_AGENTS_FILENAME } from "./workspace-
|
|
7
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
3
|
+
import { I as resolveUserPath, M as normalizeE164, U as truncateUtf16Safe, dt as resolvePreferredSymiTmpDir, t as CHANNEL_IDS } from "./registry-DP24za6g.js";
|
|
4
|
+
import { n as resolveAgentConfig, u as resolveSessionAgentId } from "./agent-scope-Bw1Ed8W9.js";
|
|
5
|
+
import { r as defaultRuntime, t as createSubsystemLogger } from "./subsystem-DgpxyDQ_.js";
|
|
6
|
+
import { _ as runExec, a as DEFAULT_SYMICORE_FILENAME, c as DEFAULT_USER_FILENAME, i as DEFAULT_IDENTITY_FILENAME, l as ensureAgentWorkspace, n as DEFAULT_AGENT_WORKSPACE_DIR, o as DEFAULT_SYMIPULSE_FILENAME, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_TOOLS_FILENAME, t as DEFAULT_AGENTS_FILENAME } from "./workspace-CbvamIU6.js";
|
|
7
|
+
import { r as normalizeChannelId } from "./plugins-C4C9637U.js";
|
|
8
8
|
import { t as normalizeChatType } from "./chat-type-C_KiWNAH.js";
|
|
9
9
|
import { t as parseBooleanValue } from "./boolean-B8-BqKGQ.js";
|
|
10
|
-
import { t as formatCliCommand } from "./command-format-
|
|
11
|
-
import { c as SafeOpenError, i as getImageMetadata, l as openFileWithinRoot, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-
|
|
12
|
-
import { S as isPidAlive, x as resolveProcessScopedMap } from "./model-auth-
|
|
13
|
-
import { o as listDeliverableMessageChannels, s as normalizeMessageChannel } from "./message-channel-
|
|
14
|
-
import { _ as parseDurationMs, a as writeConfigFile, n as loadConfig, s as parseByteSize, t as createConfigIO } from "./config-
|
|
15
|
-
import { A as DEFAULT_BROWSER_EVALUATE_ENABLED, D as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, E as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, M as DEFAULT_SYMI_BROWSER_ENABLED, N as DEFAULT_SYMI_BROWSER_PROFILE_NAME, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, S as stopChromeExtensionRelayServer, _ as fetchJson, a as resolveSymiUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, g as appendCdpPath, h as withBrowserNavigationPolicy, i as launchSymiChrome, j as DEFAULT_SYMI_BROWSER_COLOR, k as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, l as createTargetViaCdp, m as assertBrowserNavigationAllowed, n as isChromeCdpReady, o as stopSymiChrome, p as InvalidBrowserNavigationUrlError, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as fetchOk, w as isLoopbackHost, x as ensureChromeExtensionRelayServer } from "./chrome-
|
|
16
|
-
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-
|
|
10
|
+
import { t as formatCliCommand } from "./command-format-UKHV-j0K.js";
|
|
11
|
+
import { c as SafeOpenError, i as getImageMetadata, l as openFileWithinRoot, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-S8-8dAhx.js";
|
|
12
|
+
import { S as isPidAlive, x as resolveProcessScopedMap } from "./model-auth-CwOuTuXl.js";
|
|
13
|
+
import { o as listDeliverableMessageChannels, s as normalizeMessageChannel } from "./message-channel-DbsRltF2.js";
|
|
14
|
+
import { _ as parseDurationMs, a as writeConfigFile, n as loadConfig, s as parseByteSize, t as createConfigIO } from "./config-eEaJddXj.js";
|
|
15
|
+
import { A as DEFAULT_BROWSER_EVALUATE_ENABLED, D as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, E as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, M as DEFAULT_SYMI_BROWSER_ENABLED, N as DEFAULT_SYMI_BROWSER_PROFILE_NAME, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, S as stopChromeExtensionRelayServer, _ as fetchJson, a as resolveSymiUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, g as appendCdpPath, h as withBrowserNavigationPolicy, i as launchSymiChrome, j as DEFAULT_SYMI_BROWSER_COLOR, k as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, l as createTargetViaCdp, m as assertBrowserNavigationAllowed, n as isChromeCdpReady, o as stopSymiChrome, p as InvalidBrowserNavigationUrlError, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as fetchOk, w as isLoopbackHost, x as ensureChromeExtensionRelayServer } from "./chrome-w3SLcQJF.js";
|
|
16
|
+
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-o5WVqM4V.js";
|
|
17
17
|
import { n as formatErrorMessage, t as extractErrorCode } from "./errors-BoQgnc8X.js";
|
|
18
18
|
import { t as SsrFBlockedError } from "./ssrf-BTMDZjHT.js";
|
|
19
|
-
import { r as saveMediaBuffer, t as ensureMediaDir } from "./store-
|
|
20
|
-
import { d as getChannelDock, o as normalizeThinkLevel, v as normalizeHyphenSlug } from "./thinking-
|
|
19
|
+
import { r as saveMediaBuffer, t as ensureMediaDir } from "./store-vVE6N2mH.js";
|
|
20
|
+
import { d as getChannelDock, o as normalizeThinkLevel, v as normalizeHyphenSlug } from "./thinking-Ni0HF-w6.js";
|
|
21
21
|
import { n as resolveConversationLabel } from "./conversation-label-DXUkoKcB.js";
|
|
22
|
-
import { a as resolveSessionTranscriptPathInDir, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-
|
|
22
|
+
import { a as resolveSessionTranscriptPathInDir, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-Cb87-LzP.js";
|
|
23
23
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-DDYvbmRV.js";
|
|
24
|
-
import { t as sanitizeContentBlocksImages } from "./tool-images-
|
|
24
|
+
import { t as sanitizeContentBlocksImages } from "./tool-images-DBCfXdli.js";
|
|
25
25
|
import fs from "node:fs/promises";
|
|
26
26
|
import os from "node:os";
|
|
27
27
|
import path, { posix } from "node:path";
|
|
28
|
-
import
|
|
28
|
+
import fsSync, { existsSync, realpathSync } from "node:fs";
|
|
29
29
|
import { spawn } from "node:child_process";
|
|
30
30
|
import { CURRENT_SESSION_VERSION, SessionManager } from "@mariozechner/pi-coding-agent";
|
|
31
31
|
import crypto, { createHash, timingSafeEqual } from "node:crypto";
|
|
@@ -933,7 +933,7 @@ function isModuleNotFoundError(err) {
|
|
|
933
933
|
}
|
|
934
934
|
async function loadPwAiModule(mode) {
|
|
935
935
|
try {
|
|
936
|
-
return await import("./pw-ai-
|
|
936
|
+
return await import("./pw-ai-PiQUncix.js");
|
|
937
937
|
} catch (err) {
|
|
938
938
|
if (mode === "soft") return null;
|
|
939
939
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -2689,11 +2689,11 @@ async function movePathToTrash(targetPath) {
|
|
|
2689
2689
|
return targetPath;
|
|
2690
2690
|
} catch {
|
|
2691
2691
|
const trashDir = path.join(os.homedir(), ".Trash");
|
|
2692
|
-
|
|
2692
|
+
fsSync.mkdirSync(trashDir, { recursive: true });
|
|
2693
2693
|
const base = path.basename(targetPath);
|
|
2694
2694
|
let dest = path.join(trashDir, `${base}-${Date.now()}`);
|
|
2695
|
-
if (
|
|
2696
|
-
|
|
2695
|
+
if (fsSync.existsSync(dest)) dest = path.join(trashDir, `${base}-${Date.now()}-${Math.random()}`);
|
|
2696
|
+
fsSync.renameSync(targetPath, dest);
|
|
2697
2697
|
return dest;
|
|
2698
2698
|
}
|
|
2699
2699
|
}
|
|
@@ -2771,7 +2771,7 @@ function createBrowserProfilesService(ctx) {
|
|
|
2771
2771
|
} catch {}
|
|
2772
2772
|
const userDataDir = resolveSymiUserDataDir(name);
|
|
2773
2773
|
const profileDir = path.dirname(userDataDir);
|
|
2774
|
-
if (
|
|
2774
|
+
if (fsSync.existsSync(profileDir)) {
|
|
2775
2775
|
await movePathToTrash(profileDir);
|
|
2776
2776
|
deleted = true;
|
|
2777
2777
|
}
|
|
@@ -3473,13 +3473,13 @@ function createProfileContext(opts, profile) {
|
|
|
3473
3473
|
const userDataDir = resolveSymiUserDataDir(profile.name);
|
|
3474
3474
|
const profileState = getProfileState();
|
|
3475
3475
|
if (await isHttpReachable(300) && !profileState.running) try {
|
|
3476
|
-
await (await import("./pw-ai-
|
|
3476
|
+
await (await import("./pw-ai-PiQUncix.js")).closePlaywrightBrowserConnection();
|
|
3477
3477
|
} catch {}
|
|
3478
3478
|
if (profileState.running) await stopRunningBrowser();
|
|
3479
3479
|
try {
|
|
3480
|
-
await (await import("./pw-ai-
|
|
3480
|
+
await (await import("./pw-ai-PiQUncix.js")).closePlaywrightBrowserConnection();
|
|
3481
3481
|
} catch {}
|
|
3482
|
-
if (!
|
|
3482
|
+
if (!fsSync.existsSync(userDataDir)) return {
|
|
3483
3483
|
moved: false,
|
|
3484
3484
|
from: userDataDir
|
|
3485
3485
|
};
|
|
@@ -3898,7 +3898,7 @@ function releaseAllLocksSync() {
|
|
|
3898
3898
|
if (typeof held.handle.close === "function") held.handle.close().catch(() => {});
|
|
3899
3899
|
} catch {}
|
|
3900
3900
|
try {
|
|
3901
|
-
|
|
3901
|
+
fsSync.rmSync(held.lockPath, { force: true });
|
|
3902
3902
|
} catch {}
|
|
3903
3903
|
HELD_LOCKS.delete(sessionFile);
|
|
3904
3904
|
}
|
|
@@ -5699,7 +5699,7 @@ function resolveSessionTranscriptCandidates(sessionId, storePath, sessionFile, a
|
|
|
5699
5699
|
}
|
|
5700
5700
|
function archiveFileOnDisk(filePath, reason) {
|
|
5701
5701
|
const archived = `${filePath}.${reason}.${(/* @__PURE__ */ new Date()).toISOString().replaceAll(":", "-")}`;
|
|
5702
|
-
|
|
5702
|
+
fsSync.renameSync(filePath, archived);
|
|
5703
5703
|
return archived;
|
|
5704
5704
|
}
|
|
5705
5705
|
/**
|
|
@@ -5709,7 +5709,7 @@ function archiveFileOnDisk(filePath, reason) {
|
|
|
5709
5709
|
function archiveSessionTranscripts(opts) {
|
|
5710
5710
|
const archived = [];
|
|
5711
5711
|
for (const candidate of resolveSessionTranscriptCandidates(opts.sessionId, opts.storePath, opts.sessionFile, opts.agentId)) {
|
|
5712
|
-
if (!
|
|
5712
|
+
if (!fsSync.existsSync(candidate)) continue;
|
|
5713
5713
|
try {
|
|
5714
5714
|
archived.push(archiveFileOnDisk(candidate, opts.reason));
|
|
5715
5715
|
} catch {}
|
|
@@ -5741,15 +5741,15 @@ async function cleanupArchivedSessionTranscripts(opts) {
|
|
|
5741
5741
|
let removed = 0;
|
|
5742
5742
|
let scanned = 0;
|
|
5743
5743
|
for (const dir of directories) {
|
|
5744
|
-
const entries = await
|
|
5744
|
+
const entries = await fsSync.promises.readdir(dir).catch(() => []);
|
|
5745
5745
|
for (const entry of entries) {
|
|
5746
5746
|
const timestamp = parseArchivedTimestamp(entry, reason);
|
|
5747
5747
|
if (timestamp == null) continue;
|
|
5748
5748
|
scanned += 1;
|
|
5749
5749
|
if (now - timestamp <= opts.olderThanMs) continue;
|
|
5750
5750
|
const fullPath = path.join(dir, entry);
|
|
5751
|
-
if (!(await
|
|
5752
|
-
await
|
|
5751
|
+
if (!(await fsSync.promises.stat(fullPath).catch(() => null))?.isFile()) continue;
|
|
5752
|
+
await fsSync.promises.rm(fullPath).catch(() => void 0);
|
|
5753
5753
|
removed += 1;
|
|
5754
5754
|
}
|
|
5755
5755
|
}
|
|
@@ -5885,7 +5885,7 @@ function isCacheEnabled(ttlMs) {
|
|
|
5885
5885
|
}
|
|
5886
5886
|
function getFileMtimeMs(filePath) {
|
|
5887
5887
|
try {
|
|
5888
|
-
return
|
|
5888
|
+
return fsSync.statSync(filePath).mtimeMs;
|
|
5889
5889
|
} catch {
|
|
5890
5890
|
return;
|
|
5891
5891
|
}
|
|
@@ -5964,7 +5964,7 @@ function loadSessionStore(storePath, opts = {}) {
|
|
|
5964
5964
|
const maxReadAttempts = process.platform === "win32" ? 3 : 1;
|
|
5965
5965
|
const retryBuf = maxReadAttempts > 1 ? new Int32Array(new SharedArrayBuffer(4)) : void 0;
|
|
5966
5966
|
for (let attempt = 0; attempt < maxReadAttempts; attempt++) try {
|
|
5967
|
-
const raw =
|
|
5967
|
+
const raw = fsSync.readFileSync(storePath, "utf-8");
|
|
5968
5968
|
if (raw.length === 0 && attempt < maxReadAttempts - 1) {
|
|
5969
5969
|
Atomics.wait(retryBuf, 0, 0, 50);
|
|
5970
5970
|
continue;
|
|
@@ -6116,7 +6116,7 @@ function capEntryCount(store, overrideMax, opts = {}) {
|
|
|
6116
6116
|
}
|
|
6117
6117
|
async function getSessionFileSize(storePath) {
|
|
6118
6118
|
try {
|
|
6119
|
-
return (await
|
|
6119
|
+
return (await fsSync.promises.stat(storePath)).size;
|
|
6120
6120
|
} catch {
|
|
6121
6121
|
return null;
|
|
6122
6122
|
}
|
|
@@ -6133,7 +6133,7 @@ async function rotateSessionFile(storePath, overrideBytes) {
|
|
|
6133
6133
|
if (fileSize <= maxBytes) return false;
|
|
6134
6134
|
const backupPath = `${storePath}.bak.${Date.now()}`;
|
|
6135
6135
|
try {
|
|
6136
|
-
await
|
|
6136
|
+
await fsSync.promises.rename(storePath, backupPath);
|
|
6137
6137
|
log.info("rotated session store file", {
|
|
6138
6138
|
backupPath: path.basename(backupPath),
|
|
6139
6139
|
sizeBytes: fileSize
|
|
@@ -6144,11 +6144,11 @@ async function rotateSessionFile(storePath, overrideBytes) {
|
|
|
6144
6144
|
try {
|
|
6145
6145
|
const dir = path.dirname(storePath);
|
|
6146
6146
|
const baseName = path.basename(storePath);
|
|
6147
|
-
const backups = (await
|
|
6147
|
+
const backups = (await fsSync.promises.readdir(dir)).filter((f) => f.startsWith(`${baseName}.bak.`)).toSorted().toReversed();
|
|
6148
6148
|
const maxBackups = 3;
|
|
6149
6149
|
if (backups.length > maxBackups) {
|
|
6150
6150
|
const toDelete = backups.slice(maxBackups);
|
|
6151
|
-
for (const old of toDelete) await
|
|
6151
|
+
for (const old of toDelete) await fsSync.promises.unlink(path.join(dir, old)).catch(() => void 0);
|
|
6152
6152
|
log.info("cleaned up old session store backups", { deleted: toDelete.length });
|
|
6153
6153
|
}
|
|
6154
6154
|
} catch {}
|
|
@@ -6203,14 +6203,14 @@ async function saveSessionStoreUnlocked(storePath, store, opts) {
|
|
|
6203
6203
|
await rotateSessionFile(storePath, maintenance.rotateBytes);
|
|
6204
6204
|
}
|
|
6205
6205
|
}
|
|
6206
|
-
await
|
|
6206
|
+
await fsSync.promises.mkdir(path.dirname(storePath), { recursive: true });
|
|
6207
6207
|
const json = JSON.stringify(store, null, 2);
|
|
6208
6208
|
if (process.platform === "win32") {
|
|
6209
6209
|
const tmp = `${storePath}.${process.pid}.${crypto.randomUUID()}.tmp`;
|
|
6210
6210
|
try {
|
|
6211
|
-
await
|
|
6211
|
+
await fsSync.promises.writeFile(tmp, json, "utf-8");
|
|
6212
6212
|
for (let i = 0; i < 5; i++) try {
|
|
6213
|
-
await
|
|
6213
|
+
await fsSync.promises.rename(tmp, storePath);
|
|
6214
6214
|
break;
|
|
6215
6215
|
} catch {
|
|
6216
6216
|
if (i < 4) await new Promise((r) => setTimeout(r, 50 * (i + 1)));
|
|
@@ -6220,27 +6220,27 @@ async function saveSessionStoreUnlocked(storePath, store, opts) {
|
|
|
6220
6220
|
if ((err && typeof err === "object" && "code" in err ? String(err.code) : null) === "ENOENT") return;
|
|
6221
6221
|
throw err;
|
|
6222
6222
|
} finally {
|
|
6223
|
-
await
|
|
6223
|
+
await fsSync.promises.rm(tmp, { force: true }).catch(() => void 0);
|
|
6224
6224
|
}
|
|
6225
6225
|
return;
|
|
6226
6226
|
}
|
|
6227
6227
|
const tmp = `${storePath}.${process.pid}.${crypto.randomUUID()}.tmp`;
|
|
6228
6228
|
try {
|
|
6229
|
-
await
|
|
6229
|
+
await fsSync.promises.writeFile(tmp, json, {
|
|
6230
6230
|
mode: 384,
|
|
6231
6231
|
encoding: "utf-8"
|
|
6232
6232
|
});
|
|
6233
|
-
await
|
|
6234
|
-
await
|
|
6233
|
+
await fsSync.promises.rename(tmp, storePath);
|
|
6234
|
+
await fsSync.promises.chmod(storePath, 384);
|
|
6235
6235
|
} catch (err) {
|
|
6236
6236
|
if ((err && typeof err === "object" && "code" in err ? String(err.code) : null) === "ENOENT") {
|
|
6237
6237
|
try {
|
|
6238
|
-
await
|
|
6239
|
-
await
|
|
6238
|
+
await fsSync.promises.mkdir(path.dirname(storePath), { recursive: true });
|
|
6239
|
+
await fsSync.promises.writeFile(storePath, json, {
|
|
6240
6240
|
mode: 384,
|
|
6241
6241
|
encoding: "utf-8"
|
|
6242
6242
|
});
|
|
6243
|
-
await
|
|
6243
|
+
await fsSync.promises.chmod(storePath, 384);
|
|
6244
6244
|
} catch (err2) {
|
|
6245
6245
|
if ((err2 && typeof err2 === "object" && "code" in err2 ? String(err2.code) : null) === "ENOENT") return;
|
|
6246
6246
|
throw err2;
|
|
@@ -6249,7 +6249,7 @@ async function saveSessionStoreUnlocked(storePath, store, opts) {
|
|
|
6249
6249
|
}
|
|
6250
6250
|
throw err;
|
|
6251
6251
|
} finally {
|
|
6252
|
-
await
|
|
6252
|
+
await fsSync.promises.rm(tmp, { force: true });
|
|
6253
6253
|
}
|
|
6254
6254
|
}
|
|
6255
6255
|
async function updateSessionStore(storePath, mutator, opts) {
|
|
@@ -6494,8 +6494,8 @@ function resolveMirroredTranscriptText(params) {
|
|
|
6494
6494
|
return trimmed ? trimmed : null;
|
|
6495
6495
|
}
|
|
6496
6496
|
async function ensureSessionHeader(params) {
|
|
6497
|
-
if (
|
|
6498
|
-
await
|
|
6497
|
+
if (fsSync.existsSync(params.sessionFile)) return;
|
|
6498
|
+
await fsSync.promises.mkdir(path.dirname(params.sessionFile), { recursive: true });
|
|
6499
6499
|
const header = {
|
|
6500
6500
|
type: "session",
|
|
6501
6501
|
version: CURRENT_SESSION_VERSION,
|
|
@@ -6503,7 +6503,7 @@ async function ensureSessionHeader(params) {
|
|
|
6503
6503
|
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
6504
6504
|
cwd: process.cwd()
|
|
6505
6505
|
};
|
|
6506
|
-
await
|
|
6506
|
+
await fsSync.promises.writeFile(params.sessionFile, `${JSON.stringify(header)}\n`, {
|
|
6507
6507
|
encoding: "utf-8",
|
|
6508
6508
|
mode: 384
|
|
6509
6509
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { E as truncateUtf16Safe } from "./utils-B-0b9bGM.js";
|
|
2
2
|
import { s as normalizeThinkLevel } from "./thinking-EAliFiVK.js";
|
|
3
|
-
import { s as formatSandboxToolPolicyBlockedMessage } from "./sandbox-
|
|
3
|
+
import { s as formatSandboxToolPolicyBlockedMessage } from "./sandbox-C-T6hOMv.js";
|
|
4
4
|
import { t as sanitizeContentBlocksImages } from "./tool-images-DvUBlqjX.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { pt as truncateUtf16Safe } from "./entry.js";
|
|
2
|
-
import { s as formatSandboxToolPolicyBlockedMessage } from "./sandbox-
|
|
2
|
+
import { s as formatSandboxToolPolicyBlockedMessage } from "./sandbox-BFzSUT19.js";
|
|
3
3
|
import { t as sanitizeContentBlocksImages } from "./tool-images-CVLISeRT.js";
|
|
4
4
|
import { s as normalizeThinkLevel } from "./thinking-8sKPnzpp.js";
|
|
5
5
|
import path from "node:path";
|
|
@@ -9,8 +9,8 @@ import { r as normalizeChannelId } from "./plugins-71oIavrF.js";
|
|
|
9
9
|
import { t as normalizeChatType } from "./chat-type-DFDuk3FY.js";
|
|
10
10
|
import { c as SafeOpenError, i as getImageMetadata, l as openFileWithinRoot, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-ByaQt43P.js";
|
|
11
11
|
import { o as listDeliverableMessageChannels, s as normalizeMessageChannel } from "./message-channel-BQINJQIT.js";
|
|
12
|
-
import { _ as parseDurationMs, a as writeConfigFile, n as loadConfig, s as parseByteSize, t as createConfigIO } from "./config-
|
|
13
|
-
import { A as DEFAULT_BROWSER_EVALUATE_ENABLED, D as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, E as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, M as DEFAULT_SYMI_BROWSER_ENABLED, N as DEFAULT_SYMI_BROWSER_PROFILE_NAME, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, S as stopChromeExtensionRelayServer, _ as fetchJson, a as resolveSymiUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, g as appendCdpPath, h as withBrowserNavigationPolicy, i as launchSymiChrome, j as DEFAULT_SYMI_BROWSER_COLOR, k as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, l as createTargetViaCdp, m as assertBrowserNavigationAllowed, n as isChromeCdpReady, o as stopSymiChrome, p as InvalidBrowserNavigationUrlError, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as fetchOk, w as isLoopbackHost, x as ensureChromeExtensionRelayServer } from "./chrome-
|
|
12
|
+
import { _ as parseDurationMs, a as writeConfigFile, n as loadConfig, s as parseByteSize, t as createConfigIO } from "./config-BmV60pPT.js";
|
|
13
|
+
import { A as DEFAULT_BROWSER_EVALUATE_ENABLED, D as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, E as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, M as DEFAULT_SYMI_BROWSER_ENABLED, N as DEFAULT_SYMI_BROWSER_PROFILE_NAME, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, S as stopChromeExtensionRelayServer, _ as fetchJson, a as resolveSymiUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, g as appendCdpPath, h as withBrowserNavigationPolicy, i as launchSymiChrome, j as DEFAULT_SYMI_BROWSER_COLOR, k as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, l as createTargetViaCdp, m as assertBrowserNavigationAllowed, n as isChromeCdpReady, o as stopSymiChrome, p as InvalidBrowserNavigationUrlError, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as fetchOk, w as isLoopbackHost, x as ensureChromeExtensionRelayServer } from "./chrome-CDJYxX5a.js";
|
|
14
14
|
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-BNpGMnp-.js";
|
|
15
15
|
import { n as formatErrorMessage, t as extractErrorCode } from "./errors-CPfngF0S.js";
|
|
16
16
|
import { t as SsrFBlockedError } from "./ssrf-CxfFyMRZ.js";
|
|
@@ -931,7 +931,7 @@ function isModuleNotFoundError(err) {
|
|
|
931
931
|
}
|
|
932
932
|
async function loadPwAiModule(mode) {
|
|
933
933
|
try {
|
|
934
|
-
return await import("./pw-ai-
|
|
934
|
+
return await import("./pw-ai-De-KR9_s.js");
|
|
935
935
|
} catch (err) {
|
|
936
936
|
if (mode === "soft") return null;
|
|
937
937
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -3471,11 +3471,11 @@ function createProfileContext(opts, profile) {
|
|
|
3471
3471
|
const userDataDir = resolveSymiUserDataDir(profile.name);
|
|
3472
3472
|
const profileState = getProfileState();
|
|
3473
3473
|
if (await isHttpReachable(300) && !profileState.running) try {
|
|
3474
|
-
await (await import("./pw-ai-
|
|
3474
|
+
await (await import("./pw-ai-De-KR9_s.js")).closePlaywrightBrowserConnection();
|
|
3475
3475
|
} catch {}
|
|
3476
3476
|
if (profileState.running) await stopRunningBrowser();
|
|
3477
3477
|
try {
|
|
3478
|
-
await (await import("./pw-ai-
|
|
3478
|
+
await (await import("./pw-ai-De-KR9_s.js")).closePlaywrightBrowserConnection();
|
|
3479
3479
|
} catch {}
|
|
3480
3480
|
if (!fs.existsSync(userDataDir)) return {
|
|
3481
3481
|
moved: false,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { C as resolveThreadParentSessionKey, l as resolveAgentIdFromSessionKey } from "./session-key-DCt45XZa.js";
|
|
2
2
|
import { r as resolveAgentConfig } from "./agent-scope-CgUHAtCo.js";
|
|
3
3
|
import { l as normalizeMessageChannel } from "./message-channel-aT-I_DTX.js";
|
|
4
|
-
import { z as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH } from "./config-
|
|
5
|
-
import { T as matchesAnyGlobPattern, w as compileGlobPatterns, x as normalizeToolName, y as expandToolGroups } from "./sandbox-
|
|
4
|
+
import { z as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH } from "./config-CHwyw6l5.js";
|
|
5
|
+
import { T as matchesAnyGlobPattern, w as compileGlobPatterns, x as normalizeToolName, y as expandToolGroups } from "./sandbox-C-T6hOMv.js";
|
|
6
6
|
import { o as resolveChannelGroupToolsPolicy, t as getChannelDock } from "./dock-BhS32F6E.js";
|
|
7
7
|
|
|
8
8
|
//#region src/agents/sandbox-tool-policy.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { C as resolveThreadParentSessionKey, l as resolveAgentIdFromSessionKey } from "./session-key-DjZ7Z1hW.js";
|
|
2
2
|
import { r as resolveAgentConfig } from "./agent-scope-D-jRCY0d.js";
|
|
3
|
-
import { z as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH } from "./config-
|
|
3
|
+
import { z as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH } from "./config-DHBLS1Hl.js";
|
|
4
4
|
import { l as normalizeMessageChannel } from "./message-channel-C9dERklz.js";
|
|
5
|
-
import { T as matchesAnyGlobPattern, w as compileGlobPatterns, x as normalizeToolName, y as expandToolGroups } from "./sandbox-
|
|
5
|
+
import { T as matchesAnyGlobPattern, w as compileGlobPatterns, x as normalizeToolName, y as expandToolGroups } from "./sandbox-BFzSUT19.js";
|
|
6
6
|
import { o as resolveChannelGroupToolsPolicy, t as getChannelDock } from "./dock-DKxQXuAg.js";
|
|
7
7
|
|
|
8
8
|
//#region src/agents/sandbox-tool-policy.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
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-D-jRCY0d.js";
|
|
4
|
-
import { i as loadConfig } from "./config-
|
|
5
|
-
import {
|
|
4
|
+
import { i as loadConfig } from "./config-DHBLS1Hl.js";
|
|
5
|
+
import { y as loadSymiPlugins } from "./subagent-registry-Du9P0G2U.js";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/plugin-registry.ts
|
|
8
8
|
var plugin_registry_exports = /* @__PURE__ */ __exportAll({ ensurePluginRegistryLoaded: () => ensurePluginRegistryLoaded });
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import {
|
|
2
|
+
import { _t as loadSymiPlugins } from "./reply-SBi_U7P7.js";
|
|
3
3
|
import { d as getActivePluginRegistry } from "./registry-Cja8eT7G.js";
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-D9vIQve0.js";
|
|
5
5
|
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-CgUHAtCo.js";
|
|
6
|
-
import { i as loadConfig } from "./config-
|
|
6
|
+
import { i as loadConfig } from "./config-CHwyw6l5.js";
|
|
7
7
|
|
|
8
8
|
//#region src/cli/plugin-registry.ts
|
|
9
9
|
var plugin_registry_exports = /* @__PURE__ */ __exportAll({ ensurePluginRegistryLoaded: () => ensurePluginRegistryLoaded });
|
|
@@ -3,7 +3,7 @@ import "./paths-DR2yt_mP.js";
|
|
|
3
3
|
import "./github-copilot-token-D9X2phUj.js";
|
|
4
4
|
import "./plugins-BbAvhC25.js";
|
|
5
5
|
import { K as logVerbose, Y as shouldLogVerbose } from "./registry--_pGht6S.js";
|
|
6
|
-
import "./config-
|
|
6
|
+
import "./config-DDkdiUOR.js";
|
|
7
7
|
import "./subsystem-Coz2AgU8.js";
|
|
8
8
|
import "./command-format-DSdvQ_M5.js";
|
|
9
9
|
import "./model-selection-OpU8HN50.js";
|
|
@@ -17,16 +17,16 @@ import "./local-roots-Ckk1QfzI.js";
|
|
|
17
17
|
import "./message-channel-BdI5Ra9S.js";
|
|
18
18
|
import "./bindings-BbwoUGPx.js";
|
|
19
19
|
import "./tool-images-D7Lno-TE.js";
|
|
20
|
-
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-
|
|
20
|
+
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-BVqnEfNe.js";
|
|
21
21
|
import "./skills-B1GeRYlu.js";
|
|
22
|
-
import "./chrome-
|
|
22
|
+
import "./chrome-C7c_0I5M.js";
|
|
23
23
|
import "./thinking-DCNUIAHY.js";
|
|
24
24
|
import "./accounts-Dtszw3Zn.js";
|
|
25
25
|
import "./accounts-BToL3HlP.js";
|
|
26
|
-
import "./pi-embedded-helpers-
|
|
26
|
+
import "./pi-embedded-helpers-BveUP4hk.js";
|
|
27
27
|
import "./paths-A0xdf3yk.js";
|
|
28
28
|
import "./store-Do3t33-c.js";
|
|
29
|
-
import "./image-
|
|
29
|
+
import "./image-BOYy0Ump.js";
|
|
30
30
|
import "./pi-model-discovery-LbcEa65a.js";
|
|
31
31
|
import "./api-key-rotation-CVBMpnPc.js";
|
|
32
32
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as buildGroupHistoryKey, n as DEFAULT_MAIN_KEY, r as buildAgentMainSessionKey, s as normalizeAgentId } from "./session-key-C_0eELjb.js";
|
|
2
2
|
import { f as readWebSelfId, o as getWebAuthAgeMs, r as resolveWhatsAppAccount } from "./accounts-D9zGZU5t.js";
|
|
3
|
-
import { E as enqueueSystemEvent, G as resolveMentionGating, W as shouldAckReactionForWhatsApp, X as buildHistoryContextFromEntries, Y as DEFAULT_GROUP_HISTORY_LIMIT, _ as resolveEnvelopeFormatOptions, c as computeBackoff, d as formatDurationPrecise, f as dispatchReplyWithBufferedBlockDispatcher, g as formatInboundEnvelope, h as resolveInboundDebounceMs, ht as createDedupeCache, l as sleepWithAbort, m as createInboundDebouncer, n as normalizeGroupActivation, nt as buildMentionRegexes, r as parseActivationCommand, rt as normalizeMentionText, t as getReplyFromConfig, tt as recordPendingHistoryEntryIfEnabled, u as buildPairingReply, v as hasControlCommand, y as shouldComputeCommandAuthorized } from "./reply-
|
|
3
|
+
import { E as enqueueSystemEvent, G as resolveMentionGating, W as shouldAckReactionForWhatsApp, X as buildHistoryContextFromEntries, Y as DEFAULT_GROUP_HISTORY_LIMIT, _ as resolveEnvelopeFormatOptions, c as computeBackoff, d as formatDurationPrecise, f as dispatchReplyWithBufferedBlockDispatcher, g as formatInboundEnvelope, h as resolveInboundDebounceMs, ht as createDedupeCache, l as sleepWithAbort, m as createInboundDebouncer, n as normalizeGroupActivation, nt as buildMentionRegexes, r as parseActivationCommand, rt as normalizeMentionText, t as getReplyFromConfig, tt as recordPendingHistoryEntryIfEnabled, u as buildPairingReply, v as hasControlCommand, y as shouldComputeCommandAuthorized } from "./reply-C4mijdMZ.js";
|
|
4
4
|
import { A as normalizeE164, B as toWhatsappJid, K as logVerbose, N as resolveJidToE164, O as isSelfChatMode, R as sleep, Y as shouldLogVerbose, k as jidToE164, s as normalizeChatChannelId, tt as getChildLogger, x as clamp } from "./registry--_pGht6S.js";
|
|
5
|
-
import { n as loadConfig } from "./config-
|
|
5
|
+
import { n as loadConfig } from "./config-DDkdiUOR.js";
|
|
6
6
|
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-Coz2AgU8.js";
|
|
7
7
|
import { t as formatCliCommand } from "./command-format-DSdvQ_M5.js";
|
|
8
8
|
import { n as recordChannelActivity } from "./channel-activity-Ji7f0gqq.js";
|
|
@@ -11,18 +11,18 @@ import { a as loadWebMedia } from "./ir-Fb3qpcis.js";
|
|
|
11
11
|
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-jvk9axTQ.js";
|
|
12
12
|
import { n as resolveMarkdownTableMode } from "./markdown-tables-Dfaqilz6.js";
|
|
13
13
|
import { t as convertMarkdownTables } from "./tables-DR0NmBeH.js";
|
|
14
|
-
import { G as readChannelAllowFromStore, J as upsertChannelPairingRequest, K as readChannelAllowFromStoreSync, nt as toLocationContext, tt as formatLocationText } from "./send-
|
|
15
|
-
import { f as registerUnhandledRejectionHandler } from "./runner-
|
|
14
|
+
import { G as readChannelAllowFromStore, J as upsertChannelPairingRequest, K as readChannelAllowFromStoreSync, nt as toLocationContext, tt as formatLocationText } from "./send-D6LMZJ_h.js";
|
|
15
|
+
import { f as registerUnhandledRejectionHandler } from "./runner-BVqnEfNe.js";
|
|
16
16
|
import { l as resolveIdentityNamePrefix, n as createReplyPrefixOptions, u as resolveMessagePrefix } from "./reply-prefix-BHuV5t70.js";
|
|
17
17
|
import { F as resolveChannelGroupRequireMention, P as resolveChannelGroupPolicy } from "./thinking-DCNUIAHY.js";
|
|
18
|
-
import { Xt as resolveGroupSessionKey, _t as updateLastRoute, gt as recordSessionMetaFromInbound, ht as readSessionUpdatedAt, mt as loadSessionStore } from "./pi-embedded-helpers-
|
|
18
|
+
import { Xt as resolveGroupSessionKey, _t as updateLastRoute, gt as recordSessionMetaFromInbound, ht as readSessionUpdatedAt, mt as loadSessionStore } from "./pi-embedded-helpers-BveUP4hk.js";
|
|
19
19
|
import { s as resolveStorePath } from "./paths-A0xdf3yk.js";
|
|
20
20
|
import { i as saveMediaBuffer } from "./store-Do3t33-c.js";
|
|
21
21
|
import { t as finalizeInboundContext } from "./inbound-context-D5EzMeL_.js";
|
|
22
22
|
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-D3JH_D2N.js";
|
|
23
23
|
import { r as setActiveWebListener } from "./active-listener-bEk__wbB.js";
|
|
24
|
-
import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-
|
|
25
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
24
|
+
import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-rF6G8Xpr.js";
|
|
25
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-kI0tzViQ.js";
|
|
26
26
|
import { randomUUID } from "node:crypto";
|
|
27
27
|
import { DisconnectReason, downloadMediaMessage, extractMessageContent, getContentType, isJidGroup, normalizeMessageContent } from "@whiskeysockets/baileys";
|
|
28
28
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { b as CONFIG_DIR } from "./registry--_pGht6S.js";
|
|
2
|
-
import { n as loadConfig } from "./config-
|
|
2
|
+
import { n as loadConfig } from "./config-DDkdiUOR.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-Coz2AgU8.js";
|
|
4
4
|
import { i as isErrno } from "./errors-Bv8oZiTO.js";
|
|
5
5
|
import { s as resolvePinnedHostnameWithPolicy } from "./ssrf-DKZ8eBrk.js";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ModelProfile } from "./model-profiles.js";
|
|
2
|
+
/**
|
|
3
|
+
* Built-in model profiles. Ordered from most-specific to least-specific so
|
|
4
|
+
* that `resolveModelProfile` can return the first match.
|
|
5
|
+
*
|
|
6
|
+
* Order matters: "ollama/" must precede "gemma" because model IDs like
|
|
7
|
+
* "ollama/gemma4:31b-128k" contain both substrings.
|
|
8
|
+
*/
|
|
9
|
+
export declare const BUILTIN_PROFILES: readonly ModelProfile[];
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Model Profile — bundles all model-specific pipeline settings into a single
|
|
3
|
+
* switchable unit. When the user toggles between Claude and Gemma in the
|
|
4
|
+
* Glass UI, the active profile drives delta throttling, text filtering,
|
|
5
|
+
* prompt additions, and UI behavior.
|
|
6
|
+
*
|
|
7
|
+
* Profiles are resolved by {@link resolveModelProfile} in
|
|
8
|
+
* `resolve-model-profile.ts`.
|
|
9
|
+
*/
|
|
10
|
+
export interface ModelProfileStreaming {
|
|
11
|
+
/** Minimum ms between delta broadcasts (default 150). */
|
|
12
|
+
deltaThrottleMs: number;
|
|
13
|
+
/** If true, force-flush accumulated text on final event. */
|
|
14
|
+
flushOnFinal: boolean;
|
|
15
|
+
/** Expected chunk pattern: "token" (Claude) or "burst" (vLLM/Gemma). */
|
|
16
|
+
chunkPattern: "token" | "burst";
|
|
17
|
+
}
|
|
18
|
+
export interface ModelProfileFilters {
|
|
19
|
+
/** Regex patterns (as strings) to strip from output text before rendering. */
|
|
20
|
+
stripPatterns: string[];
|
|
21
|
+
/** If true, run self-reflection heuristic filter on assistant output. */
|
|
22
|
+
suppressMonologue: boolean;
|
|
23
|
+
/** If true, the model produces structured thinking blocks (Claude-style). */
|
|
24
|
+
hasStructuredThinking: boolean;
|
|
25
|
+
}
|
|
26
|
+
export interface ModelProfileUi {
|
|
27
|
+
/** Badge text shown next to model name in Glass UI header. */
|
|
28
|
+
badge?: string;
|
|
29
|
+
/** Override watchdog timeout (ms). Longer for slower models. */
|
|
30
|
+
watchdogMs?: number;
|
|
31
|
+
/** If true, arm watchdog immediately on send (don't wait for streaming). */
|
|
32
|
+
armWatchdogOnSend: boolean;
|
|
33
|
+
}
|
|
34
|
+
export interface ModelProfileParams {
|
|
35
|
+
temperature?: number;
|
|
36
|
+
top_p?: number;
|
|
37
|
+
top_k?: number;
|
|
38
|
+
max_tokens?: number;
|
|
39
|
+
stop?: string[];
|
|
40
|
+
}
|
|
41
|
+
export interface ModelProfile {
|
|
42
|
+
/** Match pattern(s) — checked against model ID via prefix/substring. */
|
|
43
|
+
match: string | string[];
|
|
44
|
+
/** Human label shown in Glass UI. */
|
|
45
|
+
label: string;
|
|
46
|
+
/** Sampling parameters applied to this model. */
|
|
47
|
+
params: ModelProfileParams;
|
|
48
|
+
/** Streaming behavior hints. */
|
|
49
|
+
streaming: ModelProfileStreaming;
|
|
50
|
+
/** Post-processing filters applied to streamed text. */
|
|
51
|
+
filters: ModelProfileFilters;
|
|
52
|
+
/** System prompt additions for this model. */
|
|
53
|
+
promptAdditions: string[];
|
|
54
|
+
/** UI hints sent to Glass UI. */
|
|
55
|
+
ui: ModelProfileUi;
|
|
56
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ModelProfile } from "./model-profiles.js";
|
|
2
|
+
/** Default profile returned when no match is found. */
|
|
3
|
+
declare const FALLBACK_PROFILE: ModelProfile;
|
|
4
|
+
/**
|
|
5
|
+
* Resolve the active model profile for a given model ID.
|
|
6
|
+
*
|
|
7
|
+
* Resolution order:
|
|
8
|
+
* 1. User-defined profiles (from `models.profiles` in symi.json)
|
|
9
|
+
* 2. Built-in profiles ({@link BUILTIN_PROFILES})
|
|
10
|
+
* 3. Fallback "Generic" profile
|
|
11
|
+
*
|
|
12
|
+
* Matching is case-insensitive prefix/substring against the model ID.
|
|
13
|
+
*/
|
|
14
|
+
export declare function resolveModelProfile(modelId: string, userProfiles?: readonly ModelProfile[]): ModelProfile;
|
|
15
|
+
export { FALLBACK_PROFILE };
|
|
@@ -47,8 +47,36 @@ export type BedrockDiscoveryConfig = {
|
|
|
47
47
|
defaultContextWindow?: number;
|
|
48
48
|
defaultMaxTokens?: number;
|
|
49
49
|
};
|
|
50
|
+
export type ModelProfileConfig = {
|
|
51
|
+
match: string | string[];
|
|
52
|
+
label?: string;
|
|
53
|
+
params?: {
|
|
54
|
+
temperature?: number;
|
|
55
|
+
top_p?: number;
|
|
56
|
+
top_k?: number;
|
|
57
|
+
max_tokens?: number;
|
|
58
|
+
stop?: string[];
|
|
59
|
+
};
|
|
60
|
+
streaming?: {
|
|
61
|
+
deltaThrottleMs?: number;
|
|
62
|
+
flushOnFinal?: boolean;
|
|
63
|
+
chunkPattern?: "token" | "burst";
|
|
64
|
+
};
|
|
65
|
+
filters?: {
|
|
66
|
+
stripPatterns?: string[];
|
|
67
|
+
suppressMonologue?: boolean;
|
|
68
|
+
hasStructuredThinking?: boolean;
|
|
69
|
+
};
|
|
70
|
+
promptAdditions?: string[];
|
|
71
|
+
ui?: {
|
|
72
|
+
badge?: string;
|
|
73
|
+
watchdogMs?: number;
|
|
74
|
+
armWatchdogOnSend?: boolean;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
50
77
|
export type ModelsConfig = {
|
|
51
78
|
mode?: "merge" | "replace";
|
|
52
79
|
providers?: Record<string, ModelProviderConfig>;
|
|
80
|
+
profiles?: ModelProfileConfig[];
|
|
53
81
|
bedrockDiscovery?: BedrockDiscoveryConfig;
|
|
54
82
|
};
|