@symerian/symi 2.3.1 → 2.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{accounts-ChTFYj8Q.js → accounts-CWktKM8a.js} +1 -1
- package/dist/{accounts-DDuIpcln.js → accounts-Cd816n6l.js} +7 -7
- package/dist/{accounts-bK-Yqdwx.js → accounts-CokRskCl.js} +1 -1
- package/dist/{accounts-DyJN4_vR.js → accounts-mN_EcgxC.js} +1 -1
- package/dist/{accounts-CJR8j_Kq.js → accounts-qtxJ-6em.js} +1 -1
- package/dist/{accounts-CI6zQTJj.js → accounts-tNElYrCH.js} +14 -14
- package/dist/{acp-cli-Cu4icbJT.js → acp-cli-BgyJMtqt.js} +6 -6
- package/dist/{active-listener-D6sXIjAg.js → active-listener-C9r8ZB9m.js} +1 -1
- package/dist/{agent-scope-CgUHAtCo.js → agent-scope-BRwEc2pG.js} +18 -18
- package/dist/{agent-scope-Bw1Ed8W9.js → agent-scope-BxoUQqgM.js} +3 -3
- package/dist/{agents-DzuttgJU.js → agents-DjLt6jc3.js} +4 -4
- package/dist/{agents.config-CSucty2T.js → agents.config-Dt7B_P5o.js} +1 -1
- package/dist/{agents.config-2HlZJsR3.js → agents.config-u_ibObha.js} +2 -2
- package/dist/{api-key-rotation-CzuPlV2t.js → api-key-rotation-CEr3lKih.js} +1 -1
- package/dist/{audio-preflight-C40mKAp7.js → audio-preflight-CPBOQV4I.js} +4 -4
- package/dist/{audio-preflight-CWnxkaac.js → audio-preflight-CjysqO8U.js} +28 -28
- package/dist/{audio-preflight-BsfqyC31.js → audio-preflight-D02HwB-I.js} +29 -29
- package/dist/{audit-CrITRV6w.js → audit-BSB9NPSO.js} +23 -23
- package/dist/{auth-choice-Cve09z1a.js → auth-choice-DUUu6Nhg.js} +1 -1
- package/dist/{auth-choice-ChrEc3cZ.js → auth-choice-DmSG7c8J.js} +8 -8
- package/dist/{auth-token-BnOynwk4.js → auth-token-DC5w1WoS.js} +1 -1
- package/dist/{banner-BoLflN_R.js → banner-BiAcdT2T.js} +1 -1
- package/dist/{bindings-BU2hsBd9.js → bindings-B7Ke6LJi.js} +2 -2
- package/dist/{bindings-DFaVVCsf.js → bindings-ChzePa8q.js} +1 -1
- package/dist/{browser-cli-BG4qPxpM.js → browser-cli-C4D9Ql3c.js} +9 -9
- 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-CJaS1iRF.js → call-Dd7-bkfG.js} +9 -9
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-C9-gaquj.js → channel-activity-CsM_hJ_s.js} +1 -1
- package/dist/{channel-options-DqgeO1f6.js → channel-options-ClfXE1B7.js} +1 -1
- package/dist/{channel-options-Dkd1WQZx.js → channel-options-vQREpu-n.js} +2 -2
- package/dist/{channel-selection-DuWs0Aak.js → channel-selection-DjfBv8kq.js} +1 -1
- package/dist/{channel-web-CJvDQ5Ea.js → channel-web-y6pd_GHr.js} +17 -17
- package/dist/{channels-cli-D0jjOLRb.js → channels-cli-CjYD1_OO.js} +75 -75
- package/dist/{channels-cli-DtqwJZWy.js → channels-cli-suXRcyfF.js} +4 -4
- package/dist/{channels-status-issues-B_kBkl_u.js → channels-status-issues-BoH1ZJPN.js} +1 -1
- package/dist/{chrome-CDJYxX5a.js → chrome-D2SKJnR7.js} +7 -7
- package/dist/{chrome-w3SLcQJF.js → chrome-EyvdASWt.js} +20 -20
- package/dist/{chrome-DtPkPq9T.js → chrome-r4RThPxq.js} +2 -2
- package/dist/{chunk-ClbN9Pqy.js → chunk-BW5f05BR.js} +1 -1
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-CHOmeum9.js → cli-B-911QZL.js} +62 -62
- package/dist/{cli-CEtg8kql.js → cli-mbfUlFn3.js} +1 -1
- package/dist/{client-CQSyCS4M.js → client-BsrZnuSi.js} +1 -1
- package/dist/{command-format-UKHV-j0K.js → command-format-BaxDnULz.js} +1 -1
- package/dist/{command-registry-Ba2z3dYq.js → command-registry-y8CXSD5O.js} +9 -9
- package/dist/{commands-BNLCWX6e.js → commands-CtocZ4Lg.js} +1 -1
- package/dist/{commands-registry-BT0-zzs3.js → commands-registry-BZ0ZSQpM.js} +3 -3
- package/dist/{commands-registry-VSmULp-g.js → commands-registry-D7CTCQPm.js} +4 -4
- package/dist/{completion-cli-CD-306wt.js → completion-cli-2Mi5hts2.js} +2 -2
- package/dist/{completion-cli-BgX3MWVU.js → completion-cli-BLrwUAyo.js} +12 -12
- package/dist/{config-CHwyw6l5.js → config-CJMcIRQM.js} +2 -2
- package/dist/{config-eEaJddXj.js → config-DRbjHIwD.js} +12 -12
- package/dist/{config-cli-Cz87-TYh.js → config-cli-CF-wdLkO.js} +4 -4
- package/dist/{config-cli-DAbXVRUL.js → config-cli-tYZAnvgQ.js} +1 -1
- package/dist/{config-guard-BflmO0t7.js → config-guard-C1Rs8NZG.js} +12 -12
- package/dist/{config-validation-CmimHAES.js → config-validation-ChQQVndI.js} +1 -1
- package/dist/{configure-D45ne4lm.js → configure-BHKdqhLb.js} +15 -15
- package/dist/{configure-0nrthdSf.js → configure-si19m30s.js} +3 -3
- package/dist/{control-service-Bz7rxLWq.js → control-service-B8H3Bqpv.js} +4 -4
- package/dist/{control-ui-assets-Z947tKLt.js → control-ui-assets-DqGziq7x.js} +1 -1
- package/dist/{cron-cli-DBIlCvp3.js → cron-cli-YrMWJCkm.js} +10 -10
- package/dist/{daemon-cli-DscwlsKW.js → daemon-cli-Dx4SXRyp.js} +11 -11
- package/dist/{daemon-runtime-2mwX-jqj.js → daemon-runtime--RiRUx_2.js} +10 -10
- package/dist/{deliver-BH0l3UKW.js → deliver-C-37cZUe.js} +1 -1
- package/dist/{deliver-BmPK91JP.js → deliver-D1ZN6-fl.js} +20 -20
- package/dist/{deliver-CceEhg3d.js → deliver-Um8yyhRA.js} +7 -7
- package/dist/{devices-cli-Dds-25Ve.js → devices-cli-DAJ84AOe.js} +6 -6
- package/dist/{diagnostic-C3nsWaw3.js → diagnostic-CI0kRQkt.js} +1 -1
- package/dist/{diagnostics-BAMlsVVX.js → diagnostics-D2yUMZN1.js} +5 -5
- package/dist/{directory-cli-CpUByQew.js → directory-cli-C4h8KQLH.js} +7 -7
- package/dist/{dm-policy-shared-Bh3TbexU.js → dm-policy-shared-BCSw0GJS.js} +2 -2
- package/dist/{dns-cli-Beyzdh3S.js → dns-cli-s0ZWvTPm.js} +3 -3
- package/dist/{dock-BhS32F6E.js → dock-BYiRZSgZ.js} +4 -4
- package/dist/{docs-cli-BpnEOtJi.js → docs-cli-BfPfHTDs.js} +1 -1
- package/dist/{doctor-completion-CcDVOtZ5.js → doctor-completion-C19QYsQN.js} +2 -2
- package/dist/{doctor-completion-CmGtqUHQ.js → doctor-completion-Dn_Kn4gz.js} +1 -1
- package/dist/{doctor-config-flow-QnaBd8kL.js → doctor-config-flow-D05HlWdn.js} +10 -10
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-cli-BliRl8VB.js → exec-approvals-cli-Df1lyRyE.js} +13 -13
- package/dist/extensionAPI.js +6 -6
- package/dist/{frontmatter-DPlG6yha.js → frontmatter-C_bv_0P8.js} +2 -2
- package/dist/{fs-safe-CUjO1ca2.js → fs-safe-CTDvb1DF.js} +6 -6
- package/dist/{gateway-cli-DajX3Pye.js → gateway-cli-B7khyAHs.js} +139 -155
- package/dist/{gateway-cli-BVN31fwu.js → gateway-cli-DG_Mdw0H.js} +35 -51
- package/dist/{gateway-rpc-BxkKeCZ0.js → gateway-rpc-DFeD8pZh.js} +1 -1
- package/dist/{gemini-auth-CF48hUR9.js → gemini-auth-CdSPHuLl.js} +1 -1
- package/dist/{github-copilot-token-DJqsJ2-r.js → github-copilot-token-C_qUP7p5.js} +7 -7
- package/dist/{glass-ui-ws-CQG6acJl.js → glass-ui-ws-BAub_JoN.js} +7 -7
- package/dist/{glass-ui-ws-Z1IOT6Vc.js → glass-ui-ws-BmQAULMj.js} +82 -82
- package/dist/{health-D9eQW7fJ.js → health-CboWXJkq.js} +1 -1
- package/dist/{health-f056vLGT.js → health-DkKXiUEF.js} +13 -13
- package/dist/{hooks-cli-hJ4euq2R.js → hooks-cli-BrO_9pas.js} +76 -76
- package/dist/{hooks-cli-CW-IRS72.js → hooks-cli-DLM_5caf.js} +2 -2
- package/dist/{image-D9uvDTrc.js → image-BiY-PfMh.js} +3 -3
- package/dist/{image-rZ4x9VS9.js → image-Cp3JDEBB.js} +4 -4
- package/dist/{image-CHzdaNJ4.js → image-DcpMiprB.js} +1 -1
- package/dist/{image-ops-S8-8dAhx.js → image-ops-CvJzsyvE.js} +1 -1
- package/dist/{image-ops-1OJMSAUX.js → image-ops-DYbDWaIA.js} +10 -10
- package/dist/index.js +72 -72
- package/dist/{inspect-CllGjsWo.js → inspect-ZJkNX0WL.js} +4 -4
- package/dist/{install-safe-path-tCLiMpmO.js → install-safe-path-Qqr_t_tH.js} +11 -11
- package/dist/{installs-C1Cebk97.js → installs-O9KlRu9h.js} +10 -10
- package/dist/{ir-CbFUkv_T.js → ir-DccrnjsE.js} +4 -4
- package/dist/{ir-DZam9q5M.js → ir-Dt4hOzxG.js} +6 -6
- package/dist/{lifecycle-core-D6LYXpFj.js → lifecycle-core-BkPSoGM2.js} +5 -5
- package/dist/llm-slug-generator.js +53 -53
- package/dist/{local-roots-aAFLQGkY.js → local-roots-BBeKX7PX.js} +2 -2
- package/dist/{local-roots-C7OCYACU.js → local-roots-DMwIh5cS.js} +5 -5
- package/dist/{login-dIlDkG4X.js → login-1sleXoB4.js} +3 -3
- package/dist/{login-B8uiUAnV.js → login-CwCoxapk.js} +7 -7
- package/dist/{login-qr-CIZk8uKX.js → login-qr-Batf3PT5.js} +12 -12
- package/dist/{login-qr-pbXdFORv.js → login-qr-wCWBOMwB.js} +5 -5
- package/dist/{logs-cli-xOzIPrHm.js → logs-cli-DVeEdUCU.js} +7 -7
- package/dist/{manager-D4LJSRyZ.js → manager-C1CfGzZ2.js} +13 -13
- package/dist/{manager-BoLr3xR_.js → manager-D_LwXbc6.js} +13 -13
- package/dist/{manifest-registry-CneMHk0N.js → manifest-registry-D0IQ3WuX.js} +19 -19
- package/dist/{markdown-tables-CEbN0fEm.js → markdown-tables-ZwP14ydw.js} +1 -1
- package/dist/{markdown-tables-DSHvnTLx.js → markdown-tables-iMQQZu4Q.js} +1 -1
- package/dist/{memory-cli-Ca5r9AUb.js → memory-cli-lk6fRiwy.js} +14 -14
- package/dist/{message-channel-DbsRltF2.js → message-channel-Dz5lr5b0.js} +1 -1
- package/dist/{model-tWhwnFf8.js → model-CeeOcylL.js} +1 -1
- package/dist/{model-auth-CwOuTuXl.js → model-auth-DK43VicI.js} +9 -9
- package/dist/{model-catalog-DvBJ8pMD.js → model-catalog-C3NLvWC2.js} +4 -4
- package/dist/{model-picker-Ddo3jHe-.js → model-picker-LKZLY2DL.js} +3 -3
- package/dist/{model-selection-CyFvYcRt.js → model-selection-X1oLh3CE.js} +9 -9
- package/dist/{models-nO_t1uzp.js → models-BmiRYEVd.js} +2 -2
- package/dist/{models-cli-B2ticsCM.js → models-cli-4vQrbW6G.js} +72 -72
- package/dist/{models-cli-D9bG44Ao.js → models-cli-Tf61I97Q.js} +3 -3
- package/dist/{models-config-qyOXrOli.js → models-config-CqDdkHJq.js} +7 -7
- package/dist/{node-cli-C_G-Q3h-.js → node-cli-Jj2LTGzF.js} +28 -28
- package/dist/{node-service-Cxz4e-Qd.js → node-service-CJygtY5M.js} +1 -1
- package/dist/{nodes-cli-BcnuJajV.js → nodes-cli-C43ifECe.js} +10 -10
- package/dist/{nodes-screen-VBGXKdLk.js → nodes-screen-C99kfE1u.js} +4 -4
- package/dist/{npm-registry-spec-C2JDdSZS.js → npm-registry-spec-DR_at_Hp.js} +9 -9
- package/dist/{onboard-BDbpfrZj.js → onboard-D8uxVvMq.js} +13 -13
- package/dist/{onboard-BtZ9WqhJ.js → onboard-FpptSqHZ.js} +2 -2
- package/dist/{onboard-channels-HubyUVjT.js → onboard-channels-DOKid2w1.js} +5 -5
- package/dist/{onboard-channels-CHE8nfNA.js → onboard-channels-Q_xxgZ8O.js} +1 -1
- package/dist/{onboard-custom-C7O-zfQ1.js → onboard-custom-DPJiy9aT.js} +3 -3
- package/dist/{onboard-helpers-ZmZYzlq3.js → onboard-helpers-Dixh6cNh.js} +8 -8
- package/dist/{onboard-hooks-BAA8CoVv.js → onboard-hooks-lsws7g2s.js} +1 -1
- package/dist/{onboard-remote-zUjD7UtM.js → onboard-remote-B66ZWtkN.js} +1 -1
- package/dist/{onboard-skills-BB0YhUmF.js → onboard-skills-B0IA09ig.js} +4 -4
- package/dist/{onboarding-eVb5gvwo.js → onboarding-CdlGKa0U.js} +13 -13
- package/dist/{onboarding-DtP0sps0.js → onboarding-DhIEUmp5.js} +3 -3
- package/dist/{onboarding.finalize-D8035U2E.js → onboarding.finalize-CEYLIXkq.js} +6 -6
- package/dist/{onboarding.finalize-CetxPTxL.js → onboarding.finalize-DyBsPxXJ.js} +74 -74
- package/dist/{onboarding.gateway-config-CJUgDC6Y.js → onboarding.gateway-config-CCJqI0kw.js} +14 -14
- package/dist/{openai-model-default-DMjQRsb1.js → openai-model-default-BJ1IZ3TN.js} +2 -2
- package/dist/{outbound-opDNxv-l.js → outbound-D4fN_ZlE.js} +7 -7
- package/dist/{outbound-DB5Zus0-.js → outbound-NJCy0h4x.js} +4 -4
- package/dist/{outbound-attachment-D_QuKi8U.js → outbound-attachment-D62E0xDI.js} +2 -2
- package/dist/{outbound-attachment-Co2diKdP.js → outbound-attachment-DjNDa3zn.js} +2 -2
- package/dist/{pairing-cli-CBLfGvqW.js → pairing-cli-CcW0ndhB.js} +8 -8
- package/dist/{pairing-labels-2S6x2UoV.js → pairing-labels-27SOKDzJ.js} +1 -1
- package/dist/{pairing-store-CK726Dzq.js → pairing-store-B8ktu-6j.js} +2 -2
- package/dist/{pairing-token-CX3NN_qj.js → pairing-token-AV-MMfVE.js} +7 -7
- package/dist/{paths-BBm9fwuG.js → paths-CT6jsi4E.js} +1 -1
- package/dist/{paths-CySxpNhH.js → paths-Cce4PUkG.js} +5 -5
- package/dist/{paths-Cb87-LzP.js → paths-DLyHUt31.js} +1 -1
- package/dist/{pi-auth-json-DPWPoruO.js → pi-auth-json-0SYBFZTt.js} +8 -8
- package/dist/{pi-auth-json-DayrlDg_.js → pi-auth-json-CCneTXUh.js} +3 -3
- package/dist/{pi-embedded-BY-dBus2.js → pi-embedded-BThV36aG.js} +109 -21
- package/dist/{pi-embedded-helpers-lgx_U5KS.js → pi-embedded-helpers-B8kqLWns.js} +4 -4
- package/dist/{pi-embedded-helpers-CNPyv_ax.js → pi-embedded-helpers-DO6u9K2t.js} +6 -6
- package/dist/{pi-embedded-helpers-B2z46qeM.js → pi-embedded-helpers-ag2bosuj.js} +52 -52
- package/dist/{pi-embedded-Dc3muKtS.js → pi-embedded-wr4HXhzm.js} +255 -167
- package/dist/{pi-tools.policy-CIDBbw6x.js → pi-tools.policy-juZV2uUv.js} +4 -4
- package/dist/{plugin-auto-enable-BzX1uAKy.js → plugin-auto-enable-Bbm7MwFV.js} +2 -2
- package/dist/{plugin-registry-CuoX8mar.js → plugin-registry-DvWWctC9.js} +1 -1
- package/dist/{plugin-registry-fxcvycGr.js → plugin-registry-lWWSu9UD.js} +3 -3
- package/dist/plugin-sdk/agents/model-token-filter.d.ts +15 -0
- package/dist/plugin-sdk/{channel-web-CV1KLtZh.js → channel-web-BnrTC55Y.js} +1 -1
- package/dist/plugin-sdk/index.js +2 -2
- package/dist/plugin-sdk/{reply-C4mijdMZ.js → reply-kuMxu6Q4.js} +95 -7
- package/dist/plugin-sdk/{web-B17UUsjm.js → web-TMIhKQyF.js} +2 -2
- package/dist/{plugins-DKDeQZF0.js → plugins-BAyxWQSz.js} +2 -2
- package/dist/{plugins-C4C9637U.js → plugins-DQYI3Fr-.js} +9 -9
- package/dist/{plugins-cli-4OqSGHp-.js → plugins-cli-BHfzYAq6.js} +71 -71
- package/dist/{plugins-cli-BbE_Qnlk.js → plugins-cli-wlWRx4Oj.js} +2 -2
- package/dist/{ports-BOmtxoTv.js → ports-OZQlocB7.js} +2 -2
- package/dist/{ports-BX0kKI0g.js → ports-b36gHZbA.js} +1 -1
- package/dist/{program-DkXOdfM2.js → program-CKy7s-bm.js} +7 -7
- package/dist/{program-context-0bDxGpMx.js → program-context-D4gbh6dg.js} +39 -39
- package/dist/{prompt-select-styled-DJkRn30j.js → prompt-select-styled-DlGPNq9c.js} +38 -38
- package/dist/{prompt-select-styled-_6KbTFXs.js → prompt-select-styled-bh0GLMiQ.js} +4 -4
- package/dist/{provider-auth-helpers-BpVAdwK_.js → provider-auth-helpers-B-YsKbwc.js} +1 -1
- package/dist/{provider-auth-helpers-Bnkj4QXS.js → provider-auth-helpers-Bd5VVReu.js} +5 -5
- package/dist/{push-apns-EKnCwrqK.js → push-apns-0et2AR44.js} +4 -4
- package/dist/{push-apns-C0wMP1XU.js → push-apns-ByyOJyDl.js} +1 -1
- package/dist/{pw-ai-De-KR9_s.js → pw-ai-1htA-NnS.js} +1 -1
- package/dist/{pw-ai-PiQUncix.js → pw-ai-Ch7liUOW.js} +11 -11
- package/dist/{pw-ai-DqL87js3.js → pw-ai-MVzi113V.js} +7 -7
- package/dist/{qmd-manager-D85GJrir.js → qmd-manager-BP2r8b1D.js} +18 -18
- package/dist/{qmd-manager-DdZh9PHs.js → qmd-manager-QHUP-_em.js} +7 -7
- package/dist/{qr-cli-jd9LdZpq.js → qr-cli-17laLZm_.js} +3 -3
- package/dist/{register.agent-B0S1CJEx.js → register.agent-Dhijhxr5.js} +81 -81
- package/dist/{register.agent-B48Vf_DK.js → register.agent-oKma6YjU.js} +6 -6
- package/dist/{register.configure-Wyv7vb24.js → register.configure-BX8vQ2Np.js} +6 -6
- package/dist/register.configure-BcZ-7Yir.js +147 -0
- package/dist/{register.maintenance-Cmf17EW0.js → register.maintenance-B3TPb969.js} +84 -84
- package/dist/{register.maintenance-TgjAQ4E0.js → register.maintenance-OJCduNdt.js} +8 -8
- package/dist/{register.message-Dwv2puIB.js → register.message-CX8C_Fds.js} +2 -2
- package/dist/{register.message-BcsPnPvW.js → register.message-D0aswsGo.js} +63 -63
- package/dist/{register.onboard-BDGaSyq2.js → register.onboard-BHTyEs6d.js} +74 -74
- package/dist/{register.onboard-C8w7_w93.js → register.onboard-CSepiSPt.js} +4 -4
- package/dist/{register.setup-CMGSNKXS.js → register.setup-lZSHKiGQ.js} +4 -4
- package/dist/{register.setup-CiEuZOlI.js → register.setup-uhpgkBjU.js} +77 -77
- package/dist/{register.status-health-sessions-zKjmZyOs.js → register.status-health-sessions-Cbavf8do.js} +3 -3
- package/dist/{register.status-health-sessions-C8p0uINc.js → register.status-health-sessions-v1KN3eEp.js} +75 -75
- package/dist/{register.subclis-CofZE_pt.js → register.subclis-DBEv5xOP.js} +9 -9
- package/dist/{registry-DP24za6g.js → registry-CK4e9hn8.js} +17 -17
- package/dist/{replies-DpPvWiGF.js → replies-BIX_isV7.js} +3 -3
- package/dist/{replies-vgss3_QA.js → replies-BL7IBg12.js} +1 -1
- package/dist/{reply-SBi_U7P7.js → reply-DVxU0AMq.js} +225 -137
- package/dist/{reply-prefix-CtL0omgM.js → reply-prefix-BLOOs1aW.js} +1 -1
- package/dist/{reply-prefix-CE2YmmsD.js → reply-prefix-XlyuyChD.js} +1 -1
- package/dist/{resolve-route-BMoTaVAH.js → resolve-route-BcnaXYvh.js} +2 -2
- package/dist/{resolve-route-BVikmvWO.js → resolve-route-CZ-1eqw0.js} +4 -4
- package/dist/{retry-dGG-MbxL.js → retry-Cly39XZB.js} +1 -1
- package/dist/{routes-Ba9CUQ8M.js → routes-CE-ohckF.js} +8 -8
- package/dist/{rpc-BfhojW8g.js → rpc-wovSCB5v.js} +1 -1
- package/dist/{run-main-BJaDO3WW.js → run-main-DspjiCY1.js} +14 -14
- package/dist/{runner-DUBExAb5.js → runner-BcQ0sF9T.js} +1 -1
- package/dist/{runner-CUglpiFP.js → runner-Cen70krW.js} +20 -20
- package/dist/{runner-CCSMfQee.js → runner-D0QUGA_X.js} +9 -9
- package/dist/{sandbox-C-T6hOMv.js → sandbox-BzNrUHpt.js} +18 -18
- package/dist/{sandbox-cli-BllVdQzR.js → sandbox-cli-CZrMO34w.js} +20 -20
- package/dist/{security-cli-BFLtWWHy.js → security-cli-CeBoEmeN.js} +36 -36
- package/dist/{send-DeEosX8F.js → send-B1u-LrcS.js} +18 -18
- package/dist/{send-Cutb0ZDY.js → send-BEeuDXqy.js} +6 -6
- package/dist/{send-tanEMpHN.js → send-BjdAgYLu.js} +6 -6
- package/dist/{send-CZr1hVHY.js → send-BnuIB59F.js} +13 -13
- package/dist/{send-CXxQ_f7L.js → send-C95ZRvja.js} +6 -6
- package/dist/{send-DwKJK3sM.js → send-CiTGOvEc.js} +10 -10
- package/dist/{send-zSarozV2.js → send-DW96zgDL.js} +6 -6
- package/dist/{send-CHEOWVc8.js → send-DeFniOjh.js} +6 -6
- package/dist/{send-DbcLJb0P.js → send-WyRqb4WD.js} +7 -7
- package/dist/{send-CPF8hSFp.js → send-dH0xroTu.js} +4 -4
- package/dist/{server-context-CEpFjqSk.js → server-context-DUXqnh6l.js} +5 -5
- package/dist/{server-methods-CyFB3XQf.js → server-methods-B9alalq5.js} +7 -7
- package/dist/{server-methods-Cm6W01ne.js → server-methods-BgBq7KRL.js} +54 -54
- package/dist/{server-node-events-Bhgt3xLw.js → server-node-events-BrBsrcCd.js} +63 -63
- package/dist/{server-node-events-CX1plxJz.js → server-node-events-DWG81_Fo.js} +2 -2
- package/dist/{service-Cl74hx8J.js → service--qMN5DPm.js} +15 -15
- package/dist/{session-DIBTkyvE.js → session-CsIk0Sqq.js} +2 -2
- package/dist/{session-DV1MNlbV.js → session-SM36BTsl.js} +8 -8
- package/dist/session-dirs-D3qlvucD.js +18 -0
- package/dist/{sessions-DgYpBvse.js → sessions-D5a7H247.js} +13 -13
- package/dist/{shared-Knv1hy6h.js → shared-Gi3l7nlY.js} +3 -3
- package/dist/{shared-BJvwnR5z.js → shared-Jm_QdQJQ.js} +1 -1
- package/dist/{skill-commands-D610IKhm.js → skill-commands-BJMb_psG.js} +9 -9
- package/dist/{skill-commands-Cxw-jNxU.js → skill-commands-ZXbEITKi.js} +5 -5
- package/dist/{skill-scanner-CLs8u6vQ.js → skill-scanner-CXg9eeyc.js} +5 -5
- package/dist/{skills-o5WVqM4V.js → skills-BFekKL7i.js} +21 -21
- package/dist/{skills-6jdJQ5ZL.js → skills-DqQUtOph.js} +4 -4
- package/dist/{skills-cli-BZTBLQTt.js → skills-cli-D1JL_utC.js} +7 -7
- package/dist/{skills-install-D67isO1L.js → skills-install-DjcTy3CT.js} +3 -3
- package/dist/{skills-status-CURJKnyY.js → skills-status-DS-NZQiq.js} +1 -1
- package/dist/{sqlite-Dx3J_aSE.js → sqlite-BV5ILFtC.js} +12 -12
- package/dist/{sqlite-6H6Zw1cs.js → sqlite-DRbx2dhW.js} +4 -4
- package/dist/{status-CwXg8OO1.js → status-CgPPKk09.js} +25 -25
- package/dist/{status-U_1mE-yc.js → status-CkJV2sl6.js} +3 -3
- package/dist/{status-BdmYV3_x.js → status-DqMwkAnF.js} +1 -1
- package/dist/{status-BBpD_1pG.js → status-DxodHhzX.js} +2 -2
- package/dist/{status.update-DtwCUTf-.js → status.update-CmGpjKSr.js} +3 -3
- package/dist/{store-vVE6N2mH.js → store-C0wvOkae.js} +2 -2
- package/dist/{store-r1DJSDq-.js → store-DvtcmOKj.js} +5 -5
- package/dist/{subagent-registry-Du9P0G2U.js → subagent-registry-CBklD0OL.js} +96 -8
- package/dist/{subsystem-DgpxyDQ_.js → subsystem-Bs9YvKLa.js} +1 -1
- package/dist/{symi-root-CrGJbkzf.js → symi-root-MF6_6SCS.js} +2 -2
- package/dist/{system-cli-UMsMEurS.js → system-cli-Buhvt_H5.js} +11 -11
- package/dist/{systemd-riq8uNJQ.js → systemd-AhJEsmIk.js} +5 -5
- package/dist/{systemd-hints-BR6gChwm.js → systemd-hints-Db0oImvK.js} +6 -6
- package/dist/{systemd-linger-aQ75ZlXY.js → systemd-linger-BXwqn1jL.js} +1 -1
- package/dist/{tables-BEzT0Da4.js → tables-C38rzF6E.js} +1 -1
- package/dist/{tables-BIWsCKXJ.js → tables-DuZspiBu.js} +1 -1
- package/dist/{target-errors-DyItGyW9.js → target-errors-Be1SwYlW.js} +2 -2
- package/dist/{target-errors-7AvoVa10.js → target-errors-CCz79CmV.js} +4 -4
- package/dist/{thinking-Ni0HF-w6.js → thinking-CdlENGRW.js} +5 -5
- package/dist/{tokens-c_SLAkVb.js → tokens-H1H1LiSQ.js} +1 -1
- package/dist/{tool-images-DvUBlqjX.js → tool-images-B-pqX3nX.js} +1 -1
- package/dist/{tool-images-DBCfXdli.js → tool-images-DXB7tqWi.js} +2 -2
- package/dist/{tool-loop-detection-Bbc9OPFR.js → tool-loop-detection-Cs8_HCsx.js} +3 -3
- package/dist/{tui-CriznorL.js → tui-C0A9W969.js} +7 -7
- package/dist/{tui-cli-CSIdfCTR.js → tui-cli-tCnkNdSx.js} +28 -28
- package/dist/{update-rw7wJwHd.js → update-Df4sEKtI.js} +3 -3
- package/dist/{update-check-CtckACbb.js → update-check-C0oYCI89.js} +5 -5
- package/dist/{update-cli-_45TJ3hZ.js → update-cli-BqdgQuYp.js} +8 -8
- package/dist/{update-cli-DJzF_9UX.js → update-cli-DYrpyu4a.js} +94 -94
- package/dist/{update-runner-BSQFv9b6.js → update-runner-BgzyPjF5.js} +15 -15
- package/dist/{update-runner-8Ac4bJ1w.js → update-runner-CmZW3aeK.js} +1 -1
- package/dist/{web-C1Zn8_qW.js → web-CfZp0Jv6.js} +6 -6
- package/dist/{web-BqRsq6mP.js → web-DNQzo8ao.js} +57 -57
- package/dist/web-DsCqmzyk.js +109 -0
- package/dist/{web-w-vV1rCZ.js → web-GL_nqURg.js} +1 -1
- package/dist/{webhooks-cli-cD58DWAE.js → webhooks-cli-Bp-7Rs2Y.js} +4 -4
- package/dist/{whatsapp-actions-DbcsdOH3.js → whatsapp-actions-CFXNPLco.js} +15 -15
- package/dist/{whatsapp-actions-oRQjcdQe.js → whatsapp-actions-D1RsnX7P.js} +23 -23
- package/dist/{with-timeout-gmK6RciS.js → with-timeout-Cs6_LnHB.js} +1 -1
- package/dist/{workspace-dirs-GpkFi6Kw.js → workspace-dirs-DKu48umx.js} +1 -1
- package/dist/{workspace-CbvamIU6.js → workspace-wAaHI8-5.js} +6 -6
- package/dist/{wsl-C4424szg.js → wsl-BbXxnokd.js} +2 -2
- package/package.json +1 -1
- package/dist/register.configure-Drr3E9OG.js +0 -147
- package/dist/web-BZSI7b07.js +0 -109
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as normalizeAccountId } from "./session-key-BCzIW1Y2.js";
|
|
2
|
-
import { m as createAccountListHelpers } from "./accounts-
|
|
2
|
+
import { m as createAccountListHelpers } from "./accounts-tNElYrCH.js";
|
|
3
3
|
|
|
4
4
|
//#region src/signal/accounts.ts
|
|
5
5
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("signal");
|
|
@@ -5,7 +5,7 @@ import { f as defaultRuntime } from "./subsystem-D9vIQve0.js";
|
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-COaS-S7B.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import path from "node:path";
|
|
8
|
-
import
|
|
8
|
+
import fsPromises from "node:fs/promises";
|
|
9
9
|
|
|
10
10
|
//#region src/channels/plugins/account-helpers.ts
|
|
11
11
|
function createAccountListHelpers(channelKey) {
|
|
@@ -86,14 +86,14 @@ async function webAuthExists(authDir = resolveDefaultWebAuthDir()) {
|
|
|
86
86
|
maybeRestoreCredsFromBackup(resolvedAuthDir);
|
|
87
87
|
const credsPath = resolveWebCredsPath(resolvedAuthDir);
|
|
88
88
|
try {
|
|
89
|
-
await
|
|
89
|
+
await fsPromises.access(resolvedAuthDir);
|
|
90
90
|
} catch {
|
|
91
91
|
return false;
|
|
92
92
|
}
|
|
93
93
|
try {
|
|
94
|
-
const stats = await
|
|
94
|
+
const stats = await fsPromises.stat(credsPath);
|
|
95
95
|
if (!stats.isFile() || stats.size <= 1) return false;
|
|
96
|
-
const raw = await
|
|
96
|
+
const raw = await fsPromises.readFile(credsPath, "utf-8");
|
|
97
97
|
JSON.parse(raw);
|
|
98
98
|
return true;
|
|
99
99
|
} catch {
|
|
@@ -101,7 +101,7 @@ async function webAuthExists(authDir = resolveDefaultWebAuthDir()) {
|
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
async function clearLegacyBaileysAuthState(authDir) {
|
|
104
|
-
const entries = await
|
|
104
|
+
const entries = await fsPromises.readdir(authDir, { withFileTypes: true });
|
|
105
105
|
const shouldDelete = (name) => {
|
|
106
106
|
if (name === "oauth.json") return false;
|
|
107
107
|
if (name === "creds.json" || name === "creds.json.bak") return true;
|
|
@@ -111,7 +111,7 @@ async function clearLegacyBaileysAuthState(authDir) {
|
|
|
111
111
|
await Promise.all(entries.map(async (entry) => {
|
|
112
112
|
if (!entry.isFile()) return;
|
|
113
113
|
if (!shouldDelete(entry.name)) return;
|
|
114
|
-
await
|
|
114
|
+
await fsPromises.rm(path.join(authDir, entry.name), { force: true });
|
|
115
115
|
}));
|
|
116
116
|
}
|
|
117
117
|
async function logoutWeb(params) {
|
|
@@ -122,7 +122,7 @@ async function logoutWeb(params) {
|
|
|
122
122
|
return false;
|
|
123
123
|
}
|
|
124
124
|
if (params.isLegacyAuthDir) await clearLegacyBaileysAuthState(resolvedAuthDir);
|
|
125
|
-
else await
|
|
125
|
+
else await fsPromises.rm(resolvedAuthDir, {
|
|
126
126
|
recursive: true,
|
|
127
127
|
force: true
|
|
128
128
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h as normalizeAccountId } from "./session-key-DCt45XZa.js";
|
|
2
|
-
import { h as createAccountListHelpers } from "./accounts-
|
|
2
|
+
import { h as createAccountListHelpers } from "./accounts-Cd816n6l.js";
|
|
3
3
|
|
|
4
4
|
//#region src/imessage/accounts.ts
|
|
5
5
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("imessage");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h as normalizeAccountId } from "./session-key-DCt45XZa.js";
|
|
2
|
-
import { h as createAccountListHelpers } from "./accounts-
|
|
2
|
+
import { h as createAccountListHelpers } from "./accounts-Cd816n6l.js";
|
|
3
3
|
|
|
4
4
|
//#region src/signal/accounts.ts
|
|
5
5
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("signal");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as normalizeAccountId } from "./session-key-BCzIW1Y2.js";
|
|
2
|
-
import { m as createAccountListHelpers } from "./accounts-
|
|
2
|
+
import { m as createAccountListHelpers } from "./accounts-tNElYrCH.js";
|
|
3
3
|
|
|
4
4
|
//#region src/imessage/accounts.ts
|
|
5
5
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("imessage");
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a as resolveOAuthDir } from "./paths-
|
|
1
|
+
import { a as resolveOAuthDir } from "./paths-Cce4PUkG.js";
|
|
2
2
|
import { f as DEFAULT_ACCOUNT_ID, p as normalizeAccountId } from "./session-key-BCzIW1Y2.js";
|
|
3
|
-
import { I as resolveUserPath, K as info, Q as success, j as jidToE164, rt as getChildLogger } from "./registry-
|
|
4
|
-
import { r as defaultRuntime } from "./subsystem-
|
|
5
|
-
import { t as formatCliCommand } from "./command-format-
|
|
3
|
+
import { I as resolveUserPath, K as info, Q as success, j as jidToE164, rt as getChildLogger } from "./registry-CK4e9hn8.js";
|
|
4
|
+
import { r as defaultRuntime } from "./subsystem-Bs9YvKLa.js";
|
|
5
|
+
import { t as formatCliCommand } from "./command-format-BaxDnULz.js";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
7
7
|
import path from "node:path";
|
|
8
|
-
import
|
|
8
|
+
import fs$1 from "node:fs";
|
|
9
9
|
|
|
10
10
|
//#region src/channels/plugins/account-helpers.ts
|
|
11
11
|
function createAccountListHelpers(channelKey) {
|
|
@@ -45,10 +45,10 @@ function resolveWebCredsBackupPath(authDir) {
|
|
|
45
45
|
}
|
|
46
46
|
function readCredsJsonRaw(filePath) {
|
|
47
47
|
try {
|
|
48
|
-
if (!
|
|
49
|
-
const stats =
|
|
48
|
+
if (!fs$1.existsSync(filePath)) return null;
|
|
49
|
+
const stats = fs$1.statSync(filePath);
|
|
50
50
|
if (!stats.isFile() || stats.size <= 1) return null;
|
|
51
|
-
return
|
|
51
|
+
return fs$1.readFileSync(filePath, "utf-8");
|
|
52
52
|
} catch {
|
|
53
53
|
return null;
|
|
54
54
|
}
|
|
@@ -66,9 +66,9 @@ function maybeRestoreCredsFromBackup(authDir) {
|
|
|
66
66
|
const backupRaw = readCredsJsonRaw(backupPath);
|
|
67
67
|
if (!backupRaw) return;
|
|
68
68
|
JSON.parse(backupRaw);
|
|
69
|
-
|
|
69
|
+
fs$1.copyFileSync(backupPath, credsPath);
|
|
70
70
|
try {
|
|
71
|
-
|
|
71
|
+
fs$1.chmodSync(credsPath, 384);
|
|
72
72
|
} catch {}
|
|
73
73
|
logger.warn({ credsPath }, "restored corrupted WhatsApp creds.json from backup");
|
|
74
74
|
} catch {}
|
|
@@ -124,11 +124,11 @@ async function logoutWeb(params) {
|
|
|
124
124
|
function readWebSelfId(authDir = resolveDefaultWebAuthDir()) {
|
|
125
125
|
try {
|
|
126
126
|
const credsPath = resolveWebCredsPath(resolveUserPath(authDir));
|
|
127
|
-
if (!
|
|
127
|
+
if (!fs$1.existsSync(credsPath)) return {
|
|
128
128
|
e164: null,
|
|
129
129
|
jid: null
|
|
130
130
|
};
|
|
131
|
-
const raw =
|
|
131
|
+
const raw = fs$1.readFileSync(credsPath, "utf-8");
|
|
132
132
|
const jid = JSON.parse(raw)?.me?.id ?? null;
|
|
133
133
|
return {
|
|
134
134
|
e164: jid ? jidToE164(jid, { authDir }) : null,
|
|
@@ -147,7 +147,7 @@ function readWebSelfId(authDir = resolveDefaultWebAuthDir()) {
|
|
|
147
147
|
*/
|
|
148
148
|
function getWebAuthAgeMs(authDir = resolveDefaultWebAuthDir()) {
|
|
149
149
|
try {
|
|
150
|
-
const stats =
|
|
150
|
+
const stats = fs$1.statSync(resolveWebCredsPath(resolveUserPath(authDir)));
|
|
151
151
|
return Date.now() - stats.mtimeMs;
|
|
152
152
|
} catch {
|
|
153
153
|
return null;
|
|
@@ -182,7 +182,7 @@ function resolveLegacyAuthDir() {
|
|
|
182
182
|
}
|
|
183
183
|
function legacyAuthExists(authDir) {
|
|
184
184
|
try {
|
|
185
|
-
return
|
|
185
|
+
return fs$1.existsSync(path.join(authDir, "creds.json"));
|
|
186
186
|
} catch {
|
|
187
187
|
return false;
|
|
188
188
|
}
|
|
@@ -3,19 +3,19 @@ import { B as theme, S as shortenHomePath, y as resolveUserPath } from "./utils-
|
|
|
3
3
|
import "./registry-Cja8eT7G.js";
|
|
4
4
|
import { f as defaultRuntime } from "./subsystem-D9vIQve0.js";
|
|
5
5
|
import "./exec-CWkblSrI.js";
|
|
6
|
-
import "./agent-scope-
|
|
7
|
-
import "./model-selection-
|
|
6
|
+
import "./agent-scope-BRwEc2pG.js";
|
|
7
|
+
import "./model-selection-X1oLh3CE.js";
|
|
8
8
|
import "./github-copilot-token-DAu1a6BX.js";
|
|
9
9
|
import "./boolean-BsqeuxE6.js";
|
|
10
10
|
import "./env-DPCHYPeH.js";
|
|
11
11
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-aT-I_DTX.js";
|
|
12
|
-
import { H as VERSION, i as loadConfig } from "./config-
|
|
12
|
+
import { H as VERSION, i as loadConfig } from "./config-CJMcIRQM.js";
|
|
13
13
|
import "./manifest-registry-C4BxOMWX.js";
|
|
14
14
|
import "./tailscale-D5dKabOc.js";
|
|
15
15
|
import { a as resolveGatewayAuth } from "./auth-B741uFtk.js";
|
|
16
|
-
import { t as GatewayClient } from "./client-
|
|
17
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
18
|
-
import "./pairing-token-
|
|
16
|
+
import { t as GatewayClient } from "./client-BsrZnuSi.js";
|
|
17
|
+
import { t as buildGatewayConnectionDetails } from "./call-Dd7-bkfG.js";
|
|
18
|
+
import "./pairing-token-AV-MMfVE.js";
|
|
19
19
|
import { t as formatDocsLink } from "./links-3i1eUga4.js";
|
|
20
20
|
import { t as isMainModule } from "./is-main-DrpmTCqv.js";
|
|
21
21
|
import { t as ensureSymiCliOnPath } from "./path-env-MnzRq6nD.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as DEFAULT_ACCOUNT_ID } from "./session-key-BCzIW1Y2.js";
|
|
2
|
-
import { t as formatCliCommand } from "./command-format-
|
|
2
|
+
import { t as formatCliCommand } from "./command-format-BaxDnULz.js";
|
|
3
3
|
|
|
4
4
|
//#region src/web/active-listener.ts
|
|
5
5
|
const listeners = /* @__PURE__ */ new Map();
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { g as resolveStateDir, y as resolveRequiredHomeDir } from "./paths-Cqn-zk3M.js";
|
|
2
2
|
import { h as pathExists, y as resolveUserPath } from "./utils-B-0b9bGM.js";
|
|
3
3
|
import { S as parseAgentSessionKey, b as isCronSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID, x as isSubagentSessionKey } from "./session-key-DCt45XZa.js";
|
|
4
|
-
import { i as normalizeSkillFilter, t as resolveSymiPackageRoot } from "./symi-root-
|
|
4
|
+
import { i as normalizeSkillFilter, t as resolveSymiPackageRoot } from "./symi-root-MF6_6SCS.js";
|
|
5
5
|
import { t as runCommandWithTimeout } from "./exec-CWkblSrI.js";
|
|
6
6
|
import { fileURLToPath } from "node:url";
|
|
7
7
|
import os from "node:os";
|
|
8
8
|
import path from "node:path";
|
|
9
|
-
import
|
|
9
|
+
import fsPromises from "node:fs/promises";
|
|
10
10
|
|
|
11
11
|
//#region src/agents/workspace-templates.ts
|
|
12
12
|
const FALLBACK_TEMPLATE_DIR = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "../../docs/reference/templates");
|
|
@@ -73,10 +73,10 @@ const workspaceFileCache = /* @__PURE__ */ new Map();
|
|
|
73
73
|
*/
|
|
74
74
|
async function readFileWithCache(filePath) {
|
|
75
75
|
try {
|
|
76
|
-
const mtimeMs = (await
|
|
76
|
+
const mtimeMs = (await fsPromises.stat(filePath)).mtimeMs;
|
|
77
77
|
const cached = workspaceFileCache.get(filePath);
|
|
78
78
|
if (cached && cached.mtimeMs === mtimeMs) return cached.content;
|
|
79
|
-
const content = await
|
|
79
|
+
const content = await fsPromises.readFile(filePath, "utf-8");
|
|
80
80
|
workspaceFileCache.set(filePath, {
|
|
81
81
|
content,
|
|
82
82
|
mtimeMs
|
|
@@ -103,7 +103,7 @@ async function loadTemplate(name) {
|
|
|
103
103
|
const templateDir = await resolveWorkspaceTemplateDir();
|
|
104
104
|
const templatePath = path.join(templateDir, name);
|
|
105
105
|
try {
|
|
106
|
-
return stripFrontMatter(await
|
|
106
|
+
return stripFrontMatter(await fsPromises.readFile(templatePath, "utf-8"));
|
|
107
107
|
} catch {
|
|
108
108
|
throw new Error(`Missing workspace template: ${name} (${templatePath}). Ensure docs/reference/templates are packaged.`);
|
|
109
109
|
}
|
|
@@ -118,7 +118,7 @@ async function loadTemplate(name) {
|
|
|
118
118
|
}
|
|
119
119
|
async function writeFileIfMissing(filePath, content) {
|
|
120
120
|
try {
|
|
121
|
-
await
|
|
121
|
+
await fsPromises.writeFile(filePath, content, {
|
|
122
122
|
encoding: "utf-8",
|
|
123
123
|
flag: "wx"
|
|
124
124
|
});
|
|
@@ -130,7 +130,7 @@ async function writeFileIfMissing(filePath, content) {
|
|
|
130
130
|
}
|
|
131
131
|
async function fileExists(filePath) {
|
|
132
132
|
try {
|
|
133
|
-
await
|
|
133
|
+
await fsPromises.access(filePath);
|
|
134
134
|
return true;
|
|
135
135
|
} catch {
|
|
136
136
|
return false;
|
|
@@ -154,7 +154,7 @@ function parseWorkspaceOnboardingState(raw) {
|
|
|
154
154
|
}
|
|
155
155
|
async function readWorkspaceOnboardingState(statePath) {
|
|
156
156
|
try {
|
|
157
|
-
return parseWorkspaceOnboardingState(await
|
|
157
|
+
return parseWorkspaceOnboardingState(await fsPromises.readFile(statePath, "utf-8")) ?? { version: WORKSPACE_STATE_VERSION };
|
|
158
158
|
} catch (err) {
|
|
159
159
|
if (err.code !== "ENOENT") throw err;
|
|
160
160
|
return { version: WORKSPACE_STATE_VERSION };
|
|
@@ -168,20 +168,20 @@ async function isWorkspaceOnboardingCompleted(dir) {
|
|
|
168
168
|
return typeof state.onboardingCompletedAt === "string" && state.onboardingCompletedAt.trim().length > 0;
|
|
169
169
|
}
|
|
170
170
|
async function writeWorkspaceOnboardingState(statePath, state) {
|
|
171
|
-
await
|
|
171
|
+
await fsPromises.mkdir(path.dirname(statePath), { recursive: true });
|
|
172
172
|
const payload = `${JSON.stringify(state, null, 2)}\n`;
|
|
173
173
|
const tmpPath = `${statePath}.tmp-${process.pid}-${Date.now().toString(36)}`;
|
|
174
174
|
try {
|
|
175
|
-
await
|
|
176
|
-
await
|
|
175
|
+
await fsPromises.writeFile(tmpPath, payload, { encoding: "utf-8" });
|
|
176
|
+
await fsPromises.rename(tmpPath, statePath);
|
|
177
177
|
} catch (err) {
|
|
178
|
-
await
|
|
178
|
+
await fsPromises.unlink(tmpPath).catch(() => {});
|
|
179
179
|
throw err;
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
182
|
async function hasGitRepo(dir) {
|
|
183
183
|
try {
|
|
184
|
-
await
|
|
184
|
+
await fsPromises.stat(path.join(dir, ".git"));
|
|
185
185
|
return true;
|
|
186
186
|
} catch {
|
|
187
187
|
return false;
|
|
@@ -211,7 +211,7 @@ async function ensureGitRepo(dir, isBrandNewWorkspace) {
|
|
|
211
211
|
}
|
|
212
212
|
async function ensureAgentWorkspace(params) {
|
|
213
213
|
const dir = resolveUserPath(params?.dir?.trim() ? params.dir.trim() : DEFAULT_AGENT_WORKSPACE_DIR);
|
|
214
|
-
await
|
|
214
|
+
await fsPromises.mkdir(dir, { recursive: true });
|
|
215
215
|
if (!params?.ensureBootstrapFiles) return { dir };
|
|
216
216
|
const agentsPath = path.join(dir, DEFAULT_AGENTS_FILENAME);
|
|
217
217
|
const symicorePath = path.join(dir, DEFAULT_SYMICORE_FILENAME);
|
|
@@ -232,7 +232,7 @@ async function ensureAgentWorkspace(params) {
|
|
|
232
232
|
];
|
|
233
233
|
return (await Promise.all(paths.map(async (p) => {
|
|
234
234
|
try {
|
|
235
|
-
await
|
|
235
|
+
await fsPromises.access(p);
|
|
236
236
|
return true;
|
|
237
237
|
} catch {
|
|
238
238
|
return false;
|
|
@@ -265,7 +265,7 @@ async function ensureAgentWorkspace(params) {
|
|
|
265
265
|
if (!state.bootstrapSeededAt && bootstrapExists) markState({ bootstrapSeededAt: nowIso() });
|
|
266
266
|
if (!state.onboardingCompletedAt && state.bootstrapSeededAt && !bootstrapExists) markState({ onboardingCompletedAt: nowIso() });
|
|
267
267
|
if (!state.bootstrapSeededAt && !state.onboardingCompletedAt && !bootstrapExists) {
|
|
268
|
-
const [identityContent, userContent] = await Promise.all([
|
|
268
|
+
const [identityContent, userContent] = await Promise.all([fsPromises.readFile(identityPath, "utf-8"), fsPromises.readFile(userPath, "utf-8")]);
|
|
269
269
|
if (identityContent !== identityTemplate || userContent !== userTemplate) markState({ onboardingCompletedAt: nowIso() });
|
|
270
270
|
else {
|
|
271
271
|
if (!await writeFileIfMissing(bootstrapPath, await loadTemplate(DEFAULT_BOOTSTRAP_FILENAME))) bootstrapExists = await fileExists(bootstrapPath);
|
|
@@ -292,7 +292,7 @@ async function resolveMemoryBootstrapEntries(resolvedDir) {
|
|
|
292
292
|
for (const name of candidates) {
|
|
293
293
|
const filePath = path.join(resolvedDir, name);
|
|
294
294
|
try {
|
|
295
|
-
await
|
|
295
|
+
await fsPromises.access(filePath);
|
|
296
296
|
entries.push({
|
|
297
297
|
name,
|
|
298
298
|
filePath
|
|
@@ -305,7 +305,7 @@ async function resolveMemoryBootstrapEntries(resolvedDir) {
|
|
|
305
305
|
for (const entry of entries) {
|
|
306
306
|
let key = entry.filePath;
|
|
307
307
|
try {
|
|
308
|
-
key = await
|
|
308
|
+
key = await fsPromises.realpath(entry.filePath);
|
|
309
309
|
} catch {}
|
|
310
310
|
if (seen.has(key)) continue;
|
|
311
311
|
seen.add(key);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { s as resolveStateDir } from "./paths-
|
|
1
|
+
import { s as resolveStateDir } from "./paths-Cce4PUkG.js";
|
|
2
2
|
import { s as normalizeAgentId, t as DEFAULT_AGENT_ID, y as parseAgentSessionKey } from "./session-key-BCzIW1Y2.js";
|
|
3
|
-
import { I as resolveUserPath } from "./registry-
|
|
4
|
-
import { p as resolveDefaultAgentWorkspaceDir } from "./workspace-
|
|
3
|
+
import { I as resolveUserPath } from "./registry-CK4e9hn8.js";
|
|
4
|
+
import { p as resolveDefaultAgentWorkspaceDir } from "./workspace-wAaHI8-5.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
|
|
7
7
|
//#region src/agents/skills/filter.ts
|
|
@@ -5,19 +5,19 @@ import { t as formatCliCommand } from "./command-format-BtYOfWxC.js";
|
|
|
5
5
|
import { m as DEFAULT_ACCOUNT_ID, s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-DjZ7Z1hW.js";
|
|
6
6
|
import { c as resolveAgentWorkspaceDir, g as DEFAULT_IDENTITY_FILENAME, i as resolveAgentDir, l as resolveDefaultAgentId, t as listAgentEntries } from "./agent-scope-D-jRCY0d.js";
|
|
7
7
|
import { l as writeConfigFile } from "./config-DHBLS1Hl.js";
|
|
8
|
-
import {
|
|
8
|
+
import { F as identityHasValues, L as parseIdentityMarkdown } from "./subagent-registry-CBklD0OL.js";
|
|
9
9
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-CwSlLxM8.js";
|
|
10
10
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-DNdWAq7b.js";
|
|
11
11
|
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-_pit1NZW.js";
|
|
12
12
|
import { t as WizardCancelledError } from "./prompts-m1IJwIAx.js";
|
|
13
13
|
import { t as createClackPrompter } from "./clack-prompter-B1aVoXd5.js";
|
|
14
14
|
import { t as resolveChannelDefaultAccountId } from "./helpers-cLP5YLeQ.js";
|
|
15
|
-
import { r as setupChannels } from "./onboard-channels-
|
|
15
|
+
import { r as setupChannels } from "./onboard-channels-Q_xxgZ8O.js";
|
|
16
16
|
import { t as requireValidConfigSnapshot } from "./config-validation-BITwrsxY.js";
|
|
17
|
-
import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-
|
|
17
|
+
import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-Dt7B_P5o.js";
|
|
18
18
|
import { n as logConfigUpdated } from "./logging-BGewRZy0.js";
|
|
19
19
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-DVcYPG2v.js";
|
|
20
|
-
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-
|
|
20
|
+
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-DUUu6Nhg.js";
|
|
21
21
|
import path from "node:path";
|
|
22
22
|
import fs from "node:fs/promises";
|
|
23
23
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { s as normalizeAgentId } from "./session-key-DjZ7Z1hW.js";
|
|
2
2
|
import { c as resolveAgentWorkspaceDir, i as resolveAgentDir, l as resolveDefaultAgentId, t as listAgentEntries } from "./agent-scope-D-jRCY0d.js";
|
|
3
|
-
import { F as
|
|
3
|
+
import { F as identityHasValues, I as loadAgentIdentityFromWorkspace } from "./subagent-registry-CBklD0OL.js";
|
|
4
4
|
|
|
5
5
|
//#region src/commands/agents.config.ts
|
|
6
6
|
function findAgentEntryIndex(list, agentId) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $t as loadAgentIdentityFromWorkspace, Qt as identityHasValues } from "./reply-DVxU0AMq.js";
|
|
2
2
|
import { s as normalizeAgentId } from "./session-key-DCt45XZa.js";
|
|
3
|
-
import { c as resolveAgentWorkspaceDir, i as resolveAgentDir, l as resolveDefaultAgentId, t as listAgentEntries } from "./agent-scope-
|
|
3
|
+
import { c as resolveAgentWorkspaceDir, i as resolveAgentDir, l as resolveDefaultAgentId, t as listAgentEntries } from "./agent-scope-BRwEc2pG.js";
|
|
4
4
|
|
|
5
5
|
//#region src/commands/agents.config.ts
|
|
6
6
|
function findAgentEntryIndex(list, agentId) {
|
|
@@ -12,10 +12,10 @@ import "./accounts-8zZqL37v.js";
|
|
|
12
12
|
import "./image-ops-ByaQt43P.js";
|
|
13
13
|
import "./pi-model-discovery-j5tVLINv.js";
|
|
14
14
|
import "./message-channel-BQINJQIT.js";
|
|
15
|
-
import "./pi-embedded-helpers-
|
|
15
|
+
import "./pi-embedded-helpers-B8kqLWns.js";
|
|
16
16
|
import "./config-BmV60pPT.js";
|
|
17
17
|
import "./manifest-registry-D-mTF1cj.js";
|
|
18
|
-
import "./chrome-
|
|
18
|
+
import "./chrome-D2SKJnR7.js";
|
|
19
19
|
import "./skills-BNpGMnp-.js";
|
|
20
20
|
import "./redact-1NGYV_8p.js";
|
|
21
21
|
import "./errors-CPfngF0S.js";
|
|
@@ -25,10 +25,10 @@ import "./thinking-W85Rb32m.js";
|
|
|
25
25
|
import "./accounts-DImOt9jX.js";
|
|
26
26
|
import "./paths-DkMamAQ-.js";
|
|
27
27
|
import "./tool-images-ChC2CXaN.js";
|
|
28
|
-
import "./image-
|
|
28
|
+
import "./image-DcpMiprB.js";
|
|
29
29
|
import "./gemini-auth-CSlZZ1Pw.js";
|
|
30
30
|
import "./local-roots-CC8jiKDk.js";
|
|
31
|
-
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-
|
|
31
|
+
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-BcQ0sF9T.js";
|
|
32
32
|
|
|
33
33
|
//#region src/media-understanding/audio-preflight.ts
|
|
34
34
|
/**
|
|
@@ -4,51 +4,51 @@ import "./thinking-EAliFiVK.js";
|
|
|
4
4
|
import "./registry-Cja8eT7G.js";
|
|
5
5
|
import "./subsystem-D9vIQve0.js";
|
|
6
6
|
import "./exec-CWkblSrI.js";
|
|
7
|
-
import "./agent-scope-
|
|
8
|
-
import "./model-selection-
|
|
7
|
+
import "./agent-scope-BRwEc2pG.js";
|
|
8
|
+
import "./model-selection-X1oLh3CE.js";
|
|
9
9
|
import "./github-copilot-token-DAu1a6BX.js";
|
|
10
10
|
import "./boolean-BsqeuxE6.js";
|
|
11
11
|
import "./env-DPCHYPeH.js";
|
|
12
12
|
import "./message-channel-aT-I_DTX.js";
|
|
13
|
-
import "./config-
|
|
13
|
+
import "./config-CJMcIRQM.js";
|
|
14
14
|
import "./manifest-registry-C4BxOMWX.js";
|
|
15
|
-
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, s as isAudioAttachment, t as buildProviderRegistry } from "./runner-
|
|
16
|
-
import "./image-
|
|
17
|
-
import "./models-config-
|
|
15
|
+
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, s as isAudioAttachment, t as buildProviderRegistry } from "./runner-Cen70krW.js";
|
|
16
|
+
import "./image-BiY-PfMh.js";
|
|
17
|
+
import "./models-config-CqDdkHJq.js";
|
|
18
18
|
import "./pi-model-discovery-4uUnLc3n.js";
|
|
19
|
-
import "./pi-embedded-helpers-
|
|
20
|
-
import "./sandbox-
|
|
21
|
-
import "./chrome-
|
|
19
|
+
import "./pi-embedded-helpers-DO6u9K2t.js";
|
|
20
|
+
import "./sandbox-BzNrUHpt.js";
|
|
21
|
+
import "./chrome-r4RThPxq.js";
|
|
22
22
|
import "./tailscale-D5dKabOc.js";
|
|
23
23
|
import "./auth-B741uFtk.js";
|
|
24
|
-
import "./server-context-
|
|
24
|
+
import "./server-context-DUXqnh6l.js";
|
|
25
25
|
import "./frontmatter-DWQhtOo7.js";
|
|
26
|
-
import "./skills-
|
|
27
|
-
import "./routes-
|
|
26
|
+
import "./skills-DqQUtOph.js";
|
|
27
|
+
import "./routes-CE-ohckF.js";
|
|
28
28
|
import "./redact-f-Q-hFt_.js";
|
|
29
29
|
import "./errors-BF3TeRH2.js";
|
|
30
|
-
import "./fs-safe-
|
|
31
|
-
import "./paths-
|
|
30
|
+
import "./fs-safe-CTDvb1DF.js";
|
|
31
|
+
import "./paths-CT6jsi4E.js";
|
|
32
32
|
import "./ssrf-BCYMnxkM.js";
|
|
33
|
-
import "./image-ops-
|
|
34
|
-
import "./store-
|
|
35
|
-
import "./ports-
|
|
33
|
+
import "./image-ops-DYbDWaIA.js";
|
|
34
|
+
import "./store-DvtcmOKj.js";
|
|
35
|
+
import "./ports-OZQlocB7.js";
|
|
36
36
|
import "./trash-DcMh1i4B.js";
|
|
37
|
-
import "./sessions-
|
|
38
|
-
import "./dock-
|
|
39
|
-
import "./plugins-
|
|
40
|
-
import "./accounts-
|
|
41
|
-
import "./accounts-
|
|
42
|
-
import "./accounts-
|
|
43
|
-
import "./bindings-
|
|
37
|
+
import "./sessions-D5a7H247.js";
|
|
38
|
+
import "./dock-BYiRZSgZ.js";
|
|
39
|
+
import "./plugins-BAyxWQSz.js";
|
|
40
|
+
import "./accounts-Cd816n6l.js";
|
|
41
|
+
import "./accounts-CokRskCl.js";
|
|
42
|
+
import "./accounts-mN_EcgxC.js";
|
|
43
|
+
import "./bindings-ChzePa8q.js";
|
|
44
44
|
import "./logging-w5jq5901.js";
|
|
45
45
|
import "./paths-CyhzMxFA.js";
|
|
46
|
-
import "./tool-images-
|
|
46
|
+
import "./tool-images-B-pqX3nX.js";
|
|
47
47
|
import "./tool-display-D8N3rsYt.js";
|
|
48
48
|
import "./fetch-guard-DOPkVbh3.js";
|
|
49
|
-
import "./api-key-rotation-
|
|
50
|
-
import "./local-roots-
|
|
51
|
-
import "./model-catalog-
|
|
49
|
+
import "./api-key-rotation-CEr3lKih.js";
|
|
50
|
+
import "./local-roots-BBeKX7PX.js";
|
|
51
|
+
import "./model-catalog-C3NLvWC2.js";
|
|
52
52
|
|
|
53
53
|
//#region src/media-understanding/audio-preflight.ts
|
|
54
54
|
/**
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import { J as logVerbose, Z as shouldLogVerbose } from "./registry-
|
|
3
|
-
import "./agent-scope-
|
|
4
|
-
import "./subsystem-
|
|
5
|
-
import "./workspace-
|
|
6
|
-
import "./plugins-
|
|
7
|
-
import "./accounts-
|
|
1
|
+
import "./paths-Cce4PUkG.js";
|
|
2
|
+
import { J as logVerbose, Z as shouldLogVerbose } from "./registry-CK4e9hn8.js";
|
|
3
|
+
import "./agent-scope-BxoUQqgM.js";
|
|
4
|
+
import "./subsystem-Bs9YvKLa.js";
|
|
5
|
+
import "./workspace-wAaHI8-5.js";
|
|
6
|
+
import "./plugins-DQYI3Fr-.js";
|
|
7
|
+
import "./accounts-tNElYrCH.js";
|
|
8
8
|
import "./boolean-B8-BqKGQ.js";
|
|
9
|
-
import "./command-format-
|
|
10
|
-
import "./bindings-
|
|
11
|
-
import "./accounts-
|
|
12
|
-
import "./image-ops-
|
|
13
|
-
import "./model-auth-
|
|
14
|
-
import "./github-copilot-token-
|
|
9
|
+
import "./command-format-BaxDnULz.js";
|
|
10
|
+
import "./bindings-B7Ke6LJi.js";
|
|
11
|
+
import "./accounts-CWktKM8a.js";
|
|
12
|
+
import "./image-ops-CvJzsyvE.js";
|
|
13
|
+
import "./model-auth-DK43VicI.js";
|
|
14
|
+
import "./github-copilot-token-C_qUP7p5.js";
|
|
15
15
|
import "./pi-model-discovery-DaNAekda.js";
|
|
16
|
-
import "./message-channel-
|
|
17
|
-
import "./pi-embedded-helpers-
|
|
18
|
-
import "./config-
|
|
19
|
-
import "./manifest-registry-
|
|
20
|
-
import "./chrome-
|
|
21
|
-
import "./frontmatter-
|
|
22
|
-
import "./skills-
|
|
16
|
+
import "./message-channel-Dz5lr5b0.js";
|
|
17
|
+
import "./pi-embedded-helpers-ag2bosuj.js";
|
|
18
|
+
import "./config-DRbjHIwD.js";
|
|
19
|
+
import "./manifest-registry-D0IQ3WuX.js";
|
|
20
|
+
import "./chrome-EyvdASWt.js";
|
|
21
|
+
import "./frontmatter-C_bv_0P8.js";
|
|
22
|
+
import "./skills-BFekKL7i.js";
|
|
23
23
|
import "./redact-jSxx6Ep2.js";
|
|
24
24
|
import "./errors-BoQgnc8X.js";
|
|
25
25
|
import "./ssrf-BTMDZjHT.js";
|
|
26
|
-
import "./store-
|
|
27
|
-
import "./thinking-
|
|
28
|
-
import "./accounts-
|
|
29
|
-
import "./paths-
|
|
30
|
-
import "./tool-images-
|
|
31
|
-
import "./image-
|
|
32
|
-
import "./gemini-auth-
|
|
33
|
-
import "./local-roots-
|
|
34
|
-
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-
|
|
26
|
+
import "./store-C0wvOkae.js";
|
|
27
|
+
import "./thinking-CdlENGRW.js";
|
|
28
|
+
import "./accounts-qtxJ-6em.js";
|
|
29
|
+
import "./paths-DLyHUt31.js";
|
|
30
|
+
import "./tool-images-DXB7tqWi.js";
|
|
31
|
+
import "./image-Cp3JDEBB.js";
|
|
32
|
+
import "./gemini-auth-CdSPHuLl.js";
|
|
33
|
+
import "./local-roots-DMwIh5cS.js";
|
|
34
|
+
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-D0QUGA_X.js";
|
|
35
35
|
|
|
36
36
|
//#region src/media-understanding/audio-preflight.ts
|
|
37
37
|
/**
|