@symerian/symi 3.4.16 → 3.4.18
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/{agent-C4QXV3DM.js → agent-ZFfYdexc.js} +17 -17
- package/dist/{agent-scope-B6p555mP.js → agent-scope-Ck_TLGsV.js} +1 -1
- package/dist/{agent-scope-CKTVXF_1.js → agent-scope-DJI5ijOw.js} +21 -21
- package/dist/{agent-BxlwfrtS.js → agent-tdS4G7e8.js} +25 -25
- package/dist/{agents-MAWGh-MZ.js → agents-C8naPegc.js} +12 -12
- package/dist/{agents.config-D7cHU-OU.js → agents.config-LRW5SZoE.js} +1 -1
- package/dist/{agents.config-DDPgPAe-.js → agents.config-PPeqGzAc.js} +1 -1
- package/dist/{audit-BCJhGGs7.js → audit-DOfexJi4.js} +15 -15
- package/dist/{audit-Bhy0yCzM.js → audit-TmPjr_wD.js} +28 -28
- package/dist/{auth-BbwD4lRX.js → auth-BSmNj-Lv.js} +1 -1
- package/dist/{auth-choice-DERl6GbY.js → auth-choice-Bw2Kd6RM.js} +8 -8
- package/dist/{auth-choice-B3pG20oL.js → auth-choice-DxH-c3vK.js} +8 -8
- package/dist/{auth-profiles-Bs5D0GUv.js → auth-profiles-BG_wMJz6.js} +4 -4
- package/dist/{auth-profiles-BDvJK1Bg.js → auth-profiles-C1lvfaCM.js} +14 -14
- package/dist/{auth-token-Dh7cXEKa.js → auth-token-BwQ5Nv4O.js} +2 -2
- package/dist/{auth-token-Brb1Askz.js → auth-token-C0-TDuag.js} +2 -2
- package/dist/{banner-CrLh-2_L.js → banner-D7zYLyA8.js} +2 -2
- package/dist/{bindings-9LSA3Jr1.js → bindings-D5s2VRjL.js} +1 -1
- package/dist/{bonjour-discovery-CU1mz7AC.js → bonjour-discovery-CPzedvdf.js} +2 -2
- package/dist/{bonjour-discovery-BTpm6P8H.js → bonjour-discovery-YoubCASb.js} +1 -1
- package/dist/{browser-cli-CpVBXw3C.js → browser-cli-MYIql1Ic.js} +13 -13
- package/dist/{browser-cli-Ctdel5GZ.js → browser-cli-R6JagRCf.js} +23 -23
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +4 -4
- package/dist/bundled/session-memory/handler.js +4 -4
- package/dist/{call-Dwi3ARhD.js → call-D9U2Sfhp.js} +3 -3
- package/dist/{call-8H645eSK.js → call-sikajorp.js} +12 -12
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{catalog-CSgSg5Gp.js → catalog-Bc0hKvgn.js} +2 -2
- package/dist/{catalog-CJzUbDcX.js → catalog-DgsRZ5Yu.js} +2 -2
- package/dist/{channel-options-I01CE5I3.js → channel-options-9PzSNQLG.js} +2 -2
- package/dist/{channel-options-Jb0g65X3.js → channel-options-DrHwfPTb.js} +5 -5
- package/dist/{channel-selection-BvIcXQLj.js → channel-selection-Cc4Pvn6b.js} +2 -2
- package/dist/{channels-cli-Bhrx8sbn.js → channels-cli-C3XnNkE5.js} +61 -61
- package/dist/{channels-cli-BqFCS_7N.js → channels-cli-D50PQAPc.js} +89 -89
- package/dist/{channels-status-issues-DC8vgOMo.js → channels-status-issues-VZcSU4qT.js} +1 -1
- package/dist/{chrome-CQn8fDIy.js → chrome-B4P7ycw5.js} +4 -4
- package/dist/{chrome-CXZZLI1N.js → chrome-BM8HZu2p.js} +4 -4
- package/dist/{chrome-DT1fIVG1.js → chrome-CPSDqbK6.js} +4 -4
- package/dist/{chrome-B0wRtBRB.js → chrome-ClVIwINy.js} +3 -3
- package/dist/{chunk-DQGU0F8t.js → chunk-D2_aCcvs.js} +1 -1
- package/dist/{clack-prompter-CWQQn_CK.js → clack-prompter-BwhCW0Jc.js} +5 -5
- package/dist/cli-CK62Eh_9.js +128 -0
- package/dist/{cli-CmH8dZk4.js → cli-DhTdzhjk.js} +51 -51
- package/dist/{client-CFUQAIIE.js → client-Bcz3rG5V.js} +2 -2
- package/dist/{client-lkWaEu6S.js → client-BzacpVvW.js} +4 -4
- package/dist/{clipboard-McRwF3r0.js → clipboard-Dz-Ob0yt.js} +1 -1
- package/dist/{command-format-Xm6vX3qJ.js → command-format-6B5tP-i9.js} +1 -1
- package/dist/{command-registry-DJZ5J_NP.js → command-registry-BOwku-e8.js} +12 -12
- package/dist/{commands-CHkx0oTl.js → commands-BN08daX-.js} +1 -1
- package/dist/{commands-B3UrgxIz.js → commands-DgyiLrAe.js} +2 -2
- package/dist/{commands-registry-CLePPNDW.js → commands-registry-Bbs_ugoi.js} +5 -5
- package/dist/{commands-registry-Bccp0eH5.js → commands-registry-QB7xD3bc.js} +3 -3
- package/dist/{completion-cli-DF5DA16K.js → completion-cli-KZYbGY4H.js} +3 -3
- package/dist/{completion-cli-SuImt6E5.js → completion-cli-QxWULepB.js} +15 -15
- package/dist/{config-igdtSRrZ.js → config-Byd2Y9rr.js} +19 -5
- package/dist/{config-cli-D4ZuazGl.js → config-cli-CJ1CRfG8.js} +9 -9
- package/dist/{config-cli-CxfJyFzy.js → config-cli-CcZo2229.js} +13 -13
- package/dist/{config-guard-9KHqoVah.js → config-guard-CC-lFWDU.js} +21 -21
- package/dist/{config-guard-Cu-dwAgi.js → config-guard-zt0zhFHl.js} +4 -4
- package/dist/{config-validation-Bs1Gp2oG.js → config-validation-CRazk6Kd.js} +2 -2
- package/dist/{config-validation-DdA5SfZN.js → config-validation-DSnQNdDO.js} +1 -1
- package/dist/{config-e4gtNbYA.js → config-vtCLkS2w.js} +21 -7
- package/dist/{configure-CNG8CYHb.js → configure-C4Qjzxdq.js} +25 -25
- package/dist/{configure-C-N62SHF.js → configure-CFY_XEps.js} +14 -14
- package/dist/{consolidate-Cx7qF5Ht.js → consolidate-CPVaVTv0.js} +10 -10
- package/dist/{control-service-D3Iaavrm.js → control-service--TrXUUt_.js} +5 -5
- package/dist/{control-service-DO8FjrS6.js → control-service-DN6-IdFk.js} +4 -4
- package/dist/control-ui/js/slash-autocomplete.js +27 -8
- package/dist/{control-ui-assets-D22DSxhv.js → control-ui-assets-DI1jLkM6.js} +3 -3
- package/dist/{cron-cli-DVj7bddU.js → cron-cli-BfUM5_Kw.js} +19 -19
- package/dist/{cron-cli-9gskPfAH.js → cron-cli-fmiz43Pz.js} +10 -10
- package/dist/{daemon-cli-Bbv64XWl.js → daemon-cli-BilAL40g.js} +10 -10
- package/dist/{daemon-cli-nhO-a_Bi.js → daemon-cli-DRDkDw_M.js} +19 -19
- package/dist/{daemon-runtime-CJzKuFbC.js → daemon-runtime-CqMnoGym.js} +11 -11
- package/dist/{daemon-runtime-2Y9RfgcP.js → daemon-runtime-D4KHzQq2.js} +2 -2
- package/dist/{deliver-59sRVaYQ.js → deliver-BkCYBlzi.js} +4 -4
- package/dist/{deliver-izdrXPr4.js → deliver-CnsfN7km.js} +5 -5
- package/dist/{deliver-DvW5xHHr.js → deliver-Mqq3tgqB.js} +4 -4
- package/dist/{deliver-CxOAv44C.js → deliver-fvcQPsBc.js} +8 -8
- package/dist/{delivery-queue-nheCYaMd.js → delivery-queue-Bqja5xKq.js} +1 -1
- package/dist/{delivery-queue-DDs84baU.js → delivery-queue-Du1ukE9B.js} +1 -1
- package/dist/{deps-Cwq_3i09.js → deps-CeHgkkO6.js} +1 -1
- package/dist/{devices-cli-Cbez9Fap.js → devices-cli-D7HdOwRI.js} +9 -9
- package/dist/{devices-cli-BdRBoZbv.js → devices-cli-DV8wT4cj.js} +17 -17
- package/dist/{diagnostic-CwF3MnBL.js → diagnostic-Db9MI5bh.js} +1 -1
- package/dist/{diagnostics-nLP2i_BY.js → diagnostics-B9e2Kvx8.js} +5 -5
- package/dist/{directory-cli-CMa8Okul.js → directory-cli-B6Ja7314.js} +17 -17
- package/dist/{directory-cli-3wlYB9In.js → directory-cli-ed6QacBC.js} +7 -7
- package/dist/{dm-policy-shared-CSF4Tw_F.js → dm-policy-shared-BBTioONS.js} +1 -1
- package/dist/{dm-policy-shared-CQpFAzTa.js → dm-policy-shared-Bjdk2L7B.js} +2 -2
- package/dist/{dns-cli-CMBl2B2j.js → dns-cli-MEjZBWpL.js} +14 -14
- package/dist/{dns-cli-CoVIqRWx.js → dns-cli-RPa1dGTQ.js} +8 -8
- package/dist/{dock-CnGWTXL4.js → dock-CSF4Y7tm.js} +2 -2
- package/dist/{docs-cli-C2BEC5yU.js → docs-cli-Cc3Rhfkx.js} +8 -8
- package/dist/{docs-cli-CFklWCND.js → docs-cli-ZTdS_Gak.js} +4 -4
- package/dist/{doctor-completion-C4XUXnaA.js → doctor-completion-DpGX8dau.js} +2 -2
- package/dist/{doctor-completion-DKCccBNY.js → doctor-completion-rBc-f29C.js} +3 -3
- package/dist/{doctor-config-flow-wvoEFNeZ.js → doctor-config-flow-CIrG_yW_.js} +6 -6
- package/dist/{doctor-config-flow-Dwm_Y2h3.js → doctor-config-flow-CrnteetS.js} +12 -12
- package/dist/entry.js +5 -2
- package/dist/{env-B97Ms861.js → env-DoZWjLUy.js} +1 -1
- package/dist/{exec-DKyLtSjm.js → exec-BcMHopF9.js} +2 -2
- package/dist/{exec-approvals-CZOc8M5w.js → exec-approvals-BZBjOrJL.js} +1 -1
- package/dist/{exec-approvals-B8n8es8o.js → exec-approvals-BndOYKTM.js} +1 -1
- package/dist/{exec-approvals-cli-BtH1ykEU.js → exec-approvals-cli-65pcsa1y.js} +14 -14
- package/dist/{exec-approvals-cli-4n1jYMlS.js → exec-approvals-cli-Bqh3x_d1.js} +26 -26
- package/dist/extensionAPI.js +4 -4
- package/dist/{fetch-guard-DG6T0ZdL.js → fetch-guard-BuQQKfW1.js} +1 -1
- package/dist/{fs-safe-DjAKGGJ8.js → fs-safe-B6nMaZqV.js} +6 -6
- package/dist/{gateway-cli-6DYQ9V3M.js → gateway-cli-BrcMZGyF.js} +136 -136
- package/dist/{gateway-cli-Y6aR7DlZ.js → gateway-cli-CTi7Wl2k.js} +85 -85
- package/dist/{gateway-rpc-Mf07Va_c.js → gateway-rpc-2VPLhMhx.js} +1 -1
- package/dist/{gateway-rpc-Cb6Hsnx7.js → gateway-rpc-cpgRv0Yq.js} +3 -3
- package/dist/{github-copilot-token-a6a53zx_.js → github-copilot-token-CrM1aEWo.js} +1 -1
- package/dist/{github-copilot-token-BTNK6Tcd.js → github-copilot-token-DIIEouRg.js} +1 -1
- package/dist/{glass-ui-ws-D9lv_Fus.js → glass-ui-ws-Bah_A-jn.js} +67 -67
- package/dist/{glass-ui-ws-kUuNFNa_.js → glass-ui-ws-dERcmtve.js} +99 -99
- package/dist/{gmail-setup-utils-fA1VaWLv.js → gmail-setup-utils-5bVmaBiu.js} +3 -3
- package/dist/{gmail-setup-utils-B1BYpISg.js → gmail-setup-utils-C9WBC6Cd.js} +1 -1
- package/dist/{health-Citq_4AL.js → health-B5rRzhyV.js} +5 -5
- package/dist/{health-BNbL0vIk.js → health-Bpjd5_Oq.js} +10 -10
- package/dist/{health-format-39e76m9p.js → health-format-BQcmGV4C.js} +1 -1
- package/dist/{help-format-BI_G2p1e.js → help-format-Bm9CoBSa.js} +1 -1
- package/dist/{hooks-cli-BLVpSc2f.js → hooks-cli-Bkp-j7h6.js} +89 -89
- package/dist/{hooks-cli-9VgRbUTO.js → hooks-cli-CSDCGO-W.js} +58 -58
- package/dist/{hooks-status-COU9Cw9_.js → hooks-status-BjjfBQnp.js} +2 -2
- package/dist/{hooks-status-uaFS2SUa.js → hooks-status-OorbLcc2.js} +2 -2
- package/dist/{image-ops-c7_of0HT.js → image-ops-CiGlXf65.js} +11 -11
- package/dist/index.js +82 -82
- package/dist/{inspect-op0Ov-v4.js → inspect-B_hklr0u.js} +4 -4
- package/dist/{install-safe-path-B73BkVO3.js → install-safe-path-CQXx3s9R.js} +11 -11
- package/dist/{installs-cPraL4Dg.js → installs-B7y-N4mr.js} +2 -2
- package/dist/{installs-BzgwvqqQ.js → installs-DjzewzNC.js} +11 -11
- package/dist/{internal-C3o_xyzP.js → internal-CHnZdvRy.js} +9 -9
- package/dist/{lifecycle-core-uN2bsrZs.js → lifecycle-core-BRc-XqTk.js} +3 -3
- package/dist/{lifecycle-core-FlMrd9ab.js → lifecycle-core-CHB-QdED.js} +8 -8
- package/dist/{links-CSaUKNKm.js → links-Bmkpld9F.js} +1 -1
- package/dist/{links-Db3Rw0Tg.js → links-D4w-tJYZ.js} +1 -1
- package/dist/llm-slug-generator.js +4 -4
- package/dist/{local-roots-Bk3321gv.js → local-roots-DSeNuIW-.js} +2 -2
- package/dist/{local-roots-CUKhHNCV.js → local-roots-lknhM9c3.js} +3 -3
- package/dist/{logging-BeA4q4J_.js → logging-DrqPd0Fg.js} +1 -1
- package/dist/{logging-B96FQvnn.js → logging-miJdTAeb.js} +2 -2
- package/dist/{logs-cli-K2EqrFLO.js → logs-cli-CGcdfvBo.js} +18 -18
- package/dist/{logs-cli-rsKjIgKD.js → logs-cli-D5phVUOT.js} +11 -11
- package/dist/{manager-BeNnzSJv.js → manager-BfhHvsI9.js} +1 -1
- package/dist/{manager-ByEbqe6-.js → manager-DqMx0qDw.js} +19 -19
- package/dist/{manager-Abf6Ojpw.js → manager-DzBH9uQG.js} +6 -6
- package/dist/{manager-BSHK3Wl8.js → manager-uBAL1G42.js} +1 -1
- package/dist/{manifest-registry-DJcKcUQ9.js → manifest-registry-0FO1WTmC.js} +1 -1
- package/dist/{manifest-registry-D_LsBSyt.js → manifest-registry-DYQQ9Cci.js} +1 -1
- package/dist/{markdown-tables-GTLvbzuR.js → markdown-tables-Ca1j7TYS.js} +1 -1
- package/dist/{memory-BaDWe-xp.js → memory-BCj0cj5v.js} +6 -6
- package/dist/{memory-DC-qFwtN.js → memory-BXoRMmVn.js} +7 -7
- package/dist/{memory-cli-Ceun-Zo3.js → memory-cli-9WUMBHol.js} +8 -8
- package/dist/{memory-cli-DDXHC4Oc.js → memory-cli-BXclq7qt.js} +20 -20
- package/dist/{message-channel-C_V8IAYx.js → message-channel-BqrA0uMO.js} +1 -1
- package/dist/{model-DgN15006.js → model-Czbmn47-.js} +1 -1
- package/dist/{model-CbRy_3xW.js → model-DibfNW71.js} +1 -1
- package/dist/{model-catalog-C2rNhRI4.js → model-catalog-CD2kTz4V.js} +4 -4
- package/dist/{model-catalog-Bfu_yBpI.js → model-catalog-Ds0dg_ob.js} +4 -4
- package/dist/{model-picker-4NUXHy8M.js → model-picker-BbaEgNir.js} +3 -3
- package/dist/{model-picker-BEm4_Lpz.js → model-picker-CVd5UuXV.js} +3 -3
- package/dist/{models-cli-9VxvzSY6.js → models-cli-CZY5Me88.js} +87 -87
- package/dist/{models-cli-CQ7EMoEg.js → models-cli-rd4eX_6P.js} +58 -58
- package/dist/{models-config-B-YxzPLd.js → models-config-Box19p27.js} +8 -8
- package/dist/{models-config-yKxNCn4V.js → models-config-oxaGiRUT.js} +3 -3
- package/dist/{models-BvyDRpwv.js → models-sbKIrJBG.js} +21 -21
- package/dist/{node-cli-BUwT-V9W.js → node-cli-BFBfD3vK.js} +44 -44
- package/dist/{node-cli-BGHROzvW.js → node-cli-ClLXSdFL.js} +21 -21
- package/dist/{node-service-DuN9eBL6.js → node-service-CkP4-uRI.js} +1 -1
- package/dist/{nodes-cli-Deouq1_W.js → nodes-cli-BY4Ppctn.js} +24 -24
- package/dist/{nodes-cli-L9PE4_mv.js → nodes-cli-DY38p5In.js} +14 -14
- package/dist/{nodes-screen-CT94yu_w.js → nodes-screen-BMUoHTPZ.js} +5 -5
- package/dist/{nodes-screen-Bkq2kswx.js → nodes-screen-BfQScwqX.js} +2 -2
- package/dist/{note-CHrtEumO.js → note-C4Pc_hIl.js} +2 -2
- package/dist/{npm-registry-spec-B8X06AqB.js → npm-registry-spec-C8W7KCAB.js} +11 -11
- package/dist/{npm-registry-spec-NLo2PCol.js → npm-registry-spec-s-9OX2Kw.js} +1 -1
- package/dist/{onboard-4NbQl96N.js → onboard-BAyp_UFm.js} +13 -13
- package/dist/{onboard-8ohsW35T.js → onboard-DjlI4mIw.js} +19 -19
- package/dist/{onboard-channels-CWTpqREc.js → onboard-channels-C5EUFcLq.js} +9 -9
- package/dist/{onboard-channels-BBjQQeMN.js → onboard-channels-CUpkV_IJ.js} +7 -7
- package/dist/{onboard-custom-DcZ2SEUv.js → onboard-custom-BMgLK-vo.js} +3 -3
- package/dist/{onboard-custom-D6tlcthi.js → onboard-custom-C-6Cooq5.js} +3 -3
- package/dist/{onboard-helpers-DKnX4Zrl.js → onboard-helpers-Bpa6_3vl.js} +14 -14
- package/dist/{onboard-helpers-CAuQ1IWD.js → onboard-helpers-DIQjpQ-s.js} +5 -5
- package/dist/{onboard-hooks-DgRzMz0E.js → onboard-hooks-KZKmj5Dk.js} +4 -4
- package/dist/{onboard-hooks-zOcdg3uW.js → onboard-hooks-ggR6fsQs.js} +8 -8
- package/dist/{onboard-remote-CZmU-yNO.js → onboard-remote-C-_NUgBl.js} +3 -3
- package/dist/{onboard-remote-D2u2nh0i.js → onboard-remote-Cnxe89N8.js} +3 -3
- package/dist/{onboard-skills-CmD3Tuui.js → onboard-skills-CwvicFTi.js} +5 -5
- package/dist/{onboard-skills-B-meN1aW.js → onboard-skills-D5Ww8pwO.js} +4 -4
- package/dist/{onboarding-FLjy51GR.js → onboarding-BPmsmDud.js} +18 -18
- package/dist/{onboarding-BcuWzulD.js → onboarding-BxCNNo75.js} +16 -16
- package/dist/{onboarding.finalize-TsyIiWeF.js → onboarding.finalize-DgMPXTtO.js} +31 -31
- package/dist/{onboarding.finalize-DSdlsUwa.js → onboarding.finalize-QwO5yuPm.js} +54 -54
- package/dist/{onboarding.gateway-config-CM3sKyZo.js → onboarding.gateway-config-BAaWvPSX.js} +11 -11
- package/dist/{onboarding.gateway-config-C9led5lX.js → onboarding.gateway-config-BZDShYzP.js} +22 -22
- package/dist/{openai-model-default-C57VbKS7.js → openai-model-default-DT9-42Xb.js} +3 -3
- package/dist/{openai-model-default-BVPmAuXK.js → openai-model-default-Dxlm7Pvs.js} +3 -3
- package/dist/{outbound-send-deps-Dmc3B-LK.js → outbound-send-deps-qhFaNYAY.js} +1 -1
- package/dist/{pairing-cli-CRy4Sw1m.js → pairing-cli-C1TeY-2m.js} +15 -15
- package/dist/{pairing-cli-B_icqS8Y.js → pairing-cli-CFkiSx8t.js} +9 -9
- package/dist/{pairing-store-S9CXOhSG.js → pairing-store-5oyzSW2X.js} +4 -4
- package/dist/{pairing-store-CtBnCGHZ.js → pairing-store-B9MEud_Y.js} +2 -2
- package/dist/{pairing-token-DorpwP8O.js → pairing-token-BaZLnDjo.js} +8 -8
- package/dist/{pairing-token-Bnr7QjVF.js → pairing-token-Cup-49D-.js} +1 -1
- package/dist/{path-env-DuQralyy.js → path-env-C8hRAfiL.js} +1 -1
- package/dist/{paths-CsQkeUQ3.js → paths-7zaGPdLp.js} +1 -1
- package/dist/{paths-CJcw9nbZ.js → paths-BldkKgCk.js} +1 -1
- package/dist/{paths-BSzKwaxE.js → paths-By0XjHBk.js} +4 -1
- package/dist/{paths-DaQrPPet.js → paths-DeDKrl27.js} +2 -2
- package/dist/{paths-CNexk5_o.js → paths-gcw23t43.js} +1 -1
- package/dist/{pi-auth-json-CUZ7IgY7.js → pi-auth-json-BOXWkXms.js} +1 -1
- package/dist/{pi-auth-json-CVwNh4rb.js → pi-auth-json-DVUJqaKg.js} +5 -5
- package/dist/{pi-embedded-DJKetjip.js → pi-embedded-Cp7d6jtB.js} +10 -10
- package/dist/{pi-embedded-helpers-BwBjqJM5.js → pi-embedded-helpers-CRG5LMS7.js} +2 -2
- package/dist/{pi-embedded-helpers-DUx9ViYy.js → pi-embedded-helpers-DMVyRPBT.js} +8 -8
- package/dist/{pi-tools.policy-B0lPjw5N.js → pi-tools.policy-C5aC-K5q.js} +5 -5
- package/dist/{pi-tools.policy-BaRznBvu.js → pi-tools.policy-De6xHjVL.js} +3 -3
- package/dist/{plugin-auto-enable-DSliW8o4.js → plugin-auto-enable-BWd5lJQf.js} +3 -3
- package/dist/{plugin-auto-enable-BDPdHiLS.js → plugin-auto-enable-CYoZQPJO.js} +4 -4
- package/dist/{plugin-registry-CDwUvhG3.js → plugin-registry-BNe5jtPK.js} +3 -3
- package/dist/{plugin-registry-lssaEXUZ.js → plugin-registry-BouuQy-X.js} +5 -5
- package/dist/plugin-sdk/index.js +6 -6
- package/dist/{plugins-DuuHorqi.js → plugins-CypN_04v.js} +1 -1
- package/dist/{plugins-cli-CR6LA3Zk.js → plugins-cli-Bk7Al8u3.js} +82 -82
- package/dist/{plugins-cli-HROGUz9H.js → plugins-cli-CWj33_Hj.js} +57 -57
- package/dist/{ports-BAzQoIw0.js → ports-BgvsHTN5.js} +2 -2
- package/dist/{ports-ChuJYhEL.js → ports-BxtK6PMH.js} +2 -2
- package/dist/{ports-EAVAOFyK.js → ports-CduvYJlk.js} +5 -5
- package/dist/{ports-Cv4kt1bT.js → ports-YkSuli-C.js} +1 -1
- package/dist/{program-CVgY3xqh.js → program-Z2OLlhsB.js} +62 -62
- package/dist/{program-context-C5ExAuya.js → program-context-D73fzUUe.js} +39 -39
- package/dist/{progress-CyPyGCDn.js → progress-B3rWk9lR.js} +2 -2
- package/dist/{prompt-select-styled-DYWkAR4G.js → prompt-select-styled-BNwbBBcH.js} +24 -24
- package/dist/{prompt-select-styled-Eh0nzrZ8.js → prompt-select-styled-Bz1VV3Qu.js} +50 -50
- package/dist/{prompt-style-Cad0BDRS.js → prompt-style-LtRrtcTi.js} +1 -1
- package/dist/{provider-auth-helpers-B9NAbuRn.js → provider-auth-helpers-5qb15Hje.js} +5 -5
- package/dist/{provider-auth-helpers-4Z6bU9-3.js → provider-auth-helpers-D3hXI6HN.js} +8 -8
- package/dist/{push-apns-CUACAVd6.js → push-apns-C1guJr4R.js} +7 -7
- package/dist/{push-apns-DB-oyDXs.js → push-apns-D6qV5P4h.js} +3 -3
- package/dist/{pw-ai-C5MJKzUM.js → pw-ai-BsEf8C15.js} +1 -1
- package/dist/{pw-ai-B0-pgbYu.js → pw-ai-C7mvVllB.js} +9 -9
- package/dist/{pw-ai-Df15PGTL.js → pw-ai-EtT_bBJY.js} +15 -15
- package/dist/{pw-ai-BB1pJj9_.js → pw-ai-w6Qalz1W.js} +1 -1
- package/dist/{qmd-manager--kGuC39q.js → qmd-manager--xIse9H_.js} +4 -4
- package/dist/{qmd-manager-0KqWHsaN.js → qmd-manager-DgCmfS8D.js} +25 -25
- package/dist/{qr-cli-Cx7DYTSk.js → qr-cli-oENcXq8d.js} +5 -5
- package/dist/{qr-cli-LK6XUdA4.js → qr-cli-zto9YWnY.js} +11 -11
- package/dist/{redact-identifier-Cm1VfV7E.js → redact-identifier-ZE8OIUof.js} +4 -4
- package/dist/{register.agent-B2uaqVl1.js → register.agent-CNhg2KUt.js} +99 -99
- package/dist/{register.agent-Cw-xilkP.js → register.agent-DpiHPMca.js} +70 -70
- package/dist/register.configure-DRFaroYF.js +125 -0
- package/dist/register.configure-q33027ym.js +129 -0
- package/dist/{register.maintenance-g_pNbyVg.js → register.maintenance-BGNNTt_1.js} +69 -69
- package/dist/{register.maintenance-_6TRSsvd.js → register.maintenance-B_slxJa6.js} +102 -102
- package/dist/{register.message-BnpfKdYG.js → register.message-Bbtej3vy.js} +75 -75
- package/dist/{register.message-D3Ig-Jzq.js → register.message-R4AIHhlU.js} +54 -54
- package/dist/{register.onboard-Cd99utnP.js → register.onboard-Cl-_Suyv.js} +24 -24
- package/dist/{register.onboard-CrdHd4YG.js → register.onboard-Cu2KnArg.js} +42 -42
- package/dist/{register.setup-BEs9uiiC.js → register.setup-Ca6zdWpf.js} +45 -45
- package/dist/{register.setup-DkCfuBzx.js → register.setup-Dt98v2V3.js} +25 -25
- package/dist/{register.status-health-sessions-DYmKN4um.js → register.status-health-sessions-D9p0ClqJ.js} +62 -62
- package/dist/{register.status-health-sessions-DVBjRsJi.js → register.status-health-sessions-DiX5lVyr.js} +38 -38
- package/dist/{register.subclis-CVoaDyXE.js → register.subclis-DVObuR_P.js} +29 -29
- package/dist/{registry-DKJLAPDB.js → registry-Sbac4a4z.js} +2 -2
- package/dist/{replies-BLmn6tJz.js → replies-PetyGT0p.js} +3 -3
- package/dist/{replies-DIHkSwoW.js → replies-VTJu1jUK.js} +2 -2
- package/dist/{reply-prefix-B7pYEiW_.js → reply-prefix-CXsO5E1Z.js} +1 -1
- package/dist/{reply-prefix-DZQBodKF.js → reply-prefix-DKeEUCUp.js} +1 -1
- package/dist/{resolve-route-BbUl3Hi7.js → resolve-route-8JoEBwi6.js} +4 -4
- package/dist/{resolve-route-DNKcB7Q9.js → resolve-route-BcYnh5es.js} +1 -1
- package/dist/{routes-DgT1raBC.js → routes-CJ4en0jL.js} +12 -12
- package/dist/{routes-Cio8is5Y.js → routes-DOFg6X5M.js} +5 -5
- package/dist/{rpc-C6w0z2sB.js → rpc-BIHKXdlN.js} +1 -1
- package/dist/{rpc-Bki5OqHV.js → rpc-ElDiKzq4.js} +3 -3
- package/dist/{run-main-DGMiCTPr.js → run-main-NAgYKzSu.js} +72 -72
- package/dist/{runtime-guard-BZ3_1QqS.js → runtime-guard-oeRbIq84.js} +1 -1
- package/dist/{sandbox-BkYjPUBB.js → sandbox-C8Gh5iJW.js} +22 -22
- package/dist/{sandbox-B4RfQ7k1.js → sandbox-EB7cFSML.js} +9 -9
- package/dist/{sandbox-cli-B43FqqPT.js → sandbox-cli-D4dy6sUK.js} +16 -16
- package/dist/{sandbox-cli-0FmIDe_m.js → sandbox-cli-DkMmnojU.js} +30 -30
- package/dist/{security-cli-DFvPQsvu.js → security-cli-DwCKOrFm.js} +26 -26
- package/dist/{security-cli-ejJGH_gW.js → security-cli-pLoqKkfb.js} +46 -46
- package/dist/{send-EluKytgO.js → send-CkRtuQbr.js} +3 -3
- package/dist/{send-9PcWD4fG.js → send-DuYvWRLE.js} +13 -13
- package/dist/{server-context-B7dLOKCi.js → server-context-CJFU_WfI.js} +8 -8
- package/dist/{server-context-CDTuNR-O.js → server-context-ww1jytet.js} +5 -5
- package/dist/{server-methods-B9PH0oNz.js → server-methods-BDiZyPvS.js} +42 -41
- package/dist/{server-methods-BtlhJrhx.js → server-methods-RhVqtIqB.js} +76 -75
- package/dist/{server-node-events-CZwsbJJ7.js → server-node-events-9cY40B4m.js} +54 -54
- package/dist/{server-node-events-pgNK7gTw.js → server-node-events-UQx561GA.js} +75 -75
- package/dist/{service-9ItKCWWS.js → service-BCu0FBzN.js} +15 -15
- package/dist/{session-cost-usage-Cj3vd7lZ.js → session-cost-usage-5VmVPhKy.js} +1 -1
- package/dist/{session-cost-usage-DYcv40ss.js → session-cost-usage-XhPrxXSs.js} +1 -1
- package/dist/{session-dirs-B6PWqKEf.js → session-dirs-Chh7bBGo.js} +2 -2
- package/dist/{session-utils-D1VcHni_.js → session-utils-CStjqGE6.js} +7 -7
- package/dist/{session-utils-0LAFVJl4.js → session-utils-DFJztVrF.js} +19 -19
- package/dist/{sessions-iLfSd6VD.js → sessions-BSRHJH8T.js} +5 -5
- package/dist/{sessions-DJ9kN6ZB.js → sessions-BsGGoTdl.js} +18 -18
- package/dist/{sessions-BNEDanZO.js → sessions-CInbrqsF.js} +4 -4
- package/dist/{shared-ot5_jkpP.js → shared-B7nP44vU.js} +2 -2
- package/dist/{shared-BTKigB51.js → shared-CbUpEKXt.js} +3 -3
- package/dist/{shared-DP6YX7_w.js → shared-D7tsGdxc.js} +1 -1
- package/dist/{shared-CIeW3aWF.js → shared-DEAo94kI.js} +4 -4
- package/dist/{skill-commands-CcCCVblU.js → skill-commands-B45w-suH.js} +4 -4
- package/dist/{skill-commands-RbglvrSW.js → skill-commands-BkKfrbHt.js} +4 -4
- package/dist/{skill-scanner-CZK0TG9g.js → skill-scanner-YF2jR4RY.js} +5 -5
- package/dist/{skills-BP6p7GnN.js → skills-CFLijAZ-.js} +2 -2
- package/dist/{skills-cli-BJDvUT_e.js → skills-cli-BbagnO6p.js} +13 -13
- package/dist/{skills-cli-DHTm73Re.js → skills-cli-CV_42wby.js} +17 -17
- package/dist/{skills-DS1Vdylm.js → skills-haW9gU7e.js} +7 -7
- package/dist/{skills-install-CD4O4yWI.js → skills-install-B4JPO_Np.js} +6 -6
- package/dist/{skills-install-BzqoHn0x.js → skills-install-dLRO1KGp.js} +2 -2
- package/dist/{skills-remote-BDSyRdyX.js → skills-remote-BW2GvG2l.js} +5 -5
- package/dist/{skills-remote-DHfuS68n.js → skills-remote-DQVB-3Pj.js} +4 -4
- package/dist/{skills-status-F7nlolZZ.js → skills-status-C9lLJu0B.js} +3 -3
- package/dist/{skills-status-01KNlWUS.js → skills-status-HWybfj0K.js} +2 -2
- package/dist/{sqlite-l3CZYU6t.js → sqlite-67BqaVPd.js} +1 -1
- package/dist/{sqlite-BUXBg2yu.js → sqlite-DL_ZWVN-.js} +7 -7
- package/dist/{status-C27L1-B1.js → status-BSrVEUoJ.js} +3 -3
- package/dist/{status-Df_qWsKA.js → status-CrddsMfu.js} +4 -4
- package/dist/{status-DQQOJNd8.js → status-DPu7qNXE.js} +32 -32
- package/dist/{status-DfAxyxKZ.js → status-FIp7UKru.js} +18 -18
- package/dist/{status.update-Be8PuHCh.js → status.update-Cm8Fm8QD.js} +2 -2
- package/dist/{status.update-Bk4bidvt.js → status.update-Dfd0eZOH.js} +3 -3
- package/dist/{subagent-registry-B6hpdjMe.js → subagent-registry-DqryocLT.js} +58 -58
- package/dist/{subsystem-CtH6J8AV.js → subsystem-CHbO_DkH.js} +1 -1
- package/dist/{symi-root-0MUhiNlM.js → symi-root-DueRHNOE.js} +2 -2
- package/dist/{synthesis-BLGzIzgw.js → synthesis-BwcfS9jt.js} +4 -4
- package/dist/{synthesis-dplLmFIP.js → synthesis-CS-lrEGy.js} +4 -4
- package/dist/{synthesis-ZzOpDY0_.js → synthesis-CU_MR7nV.js} +72 -72
- package/dist/{synthesis-BQarjPR5.js → synthesis-DKhH0YwU.js} +51 -51
- package/dist/{system-cli-CMJlwDbx.js → system-cli-CCn-08Zm.js} +18 -18
- package/dist/{system-cli-D1KbTajz.js → system-cli-DYSI6cIB.js} +10 -10
- package/dist/{systemd-8KKQdTO_.js → systemd-bkj5giUQ.js} +7 -7
- package/dist/{systemd-hints-BejQ6J2Y.js → systemd-hints-EIfW5y8K.js} +2 -2
- package/dist/{systemd-hints-BdnQ93Ux.js → systemd-hints-UeG2BDXq.js} +6 -6
- package/dist/{systemd-linger-CnKJZBUr.js → systemd-linger-DVkUgWAi.js} +2 -2
- package/dist/{table-DkAQzCOR.js → table-B4DunWtf.js} +2 -2
- package/dist/{table-CSEp22Mk.js → table-Sfrx6RZ-.js} +1 -1
- package/dist/{tailscale-D7dC-5EX.js → tailscale-G_tEEN9T.js} +3 -3
- package/dist/{tokens-BKbemuIk.js → tokens-BdVB8KXo.js} +1 -1
- package/dist/{tokens-K3kGchJA.js → tokens-h4i8ww8n.js} +1 -1
- package/dist/{tool-display-Dr6VaTg5.js → tool-display-BngPYwnR.js} +1 -1
- package/dist/{tool-display-wSdT0Ynz.js → tool-display-DccYrlOh.js} +1 -1
- package/dist/{tool-loop-detection-CSSq5kkt.js → tool-loop-detection-DldKffR8.js} +4 -4
- package/dist/{tool-loop-detection-CLDr_JBu.js → tool-loop-detection-ckNnHN4a.js} +1 -1
- package/dist/{trash-BjVrPcAx.js → trash-S6FbJcDo.js} +1 -1
- package/dist/{tui-D2WEKSKp.js → tui-C20rHOeB.js} +8 -8
- package/dist/{tui-ZtRGw-US.js → tui-DroW8IOb.js} +10 -10
- package/dist/{tui-cli-D56ntFvh.js → tui-cli-1SpmbQMM.js} +37 -37
- package/dist/{tui-cli-CXZw2cb8.js → tui-cli-JwlzHCza.js} +23 -23
- package/dist/{unified-runner-BFLLzEHE.js → unified-runner-AM9tFC5q.js} +10 -10
- package/dist/{unified-runner-BiVD0QYP.js → unified-runner-CSPkKZHX.js} +128 -128
- package/dist/{update-C1rkPV1C.js → update-BITFZPr2.js} +3 -3
- package/dist/{update-lQHC4OGO.js → update-OkPZ3jjl.js} +5 -5
- package/dist/{update-check-BdSIMYWq.js → update-check-CMbKkelk.js} +7 -7
- package/dist/{update-cli-BX7yQdFR.js → update-cli-BYfA3RPc.js} +76 -76
- package/dist/{update-cli-DKtCvgSg.js → update-cli-Dh5dvdv-.js} +112 -112
- package/dist/{update-runner-D4-wGM5B.js → update-runner-BI8ZSR1b.js} +17 -17
- package/dist/{update-runner-ENJw0Mco.js → update-runner-CBG8p9iG.js} +2 -2
- package/dist/{utils-BU8jVQFM.js → utils-CTPsqyE_.js} +1 -1
- package/dist/{webhooks-cli-9-_fKRFZ.js → webhooks-cli-Cwhu9vyD.js} +14 -14
- package/dist/{webhooks-cli-UfO_WffC.js → webhooks-cli-MuG_QGLp.js} +10 -10
- package/dist/{widearea-dns-C5NqCQ3L.js → widearea-dns-BZ7fV_kq.js} +1 -1
- package/dist/{widearea-dns-drOINmDM.js → widearea-dns-D9KXb2gb.js} +1 -1
- package/dist/{with-timeout-BcL6qAbd.js → with-timeout-BvxaeAo6.js} +2 -2
- package/dist/{with-timeout-DNA2hy4y.js → with-timeout-D_FOTx48.js} +2 -2
- package/dist/{workspace-Bb1HX2I0.js → workspace-BHDa_VCi.js} +1 -1
- package/dist/{workspace-B3sO7QlN.js → workspace-D0d7Gi4-.js} +1 -1
- package/dist/{workspace-dirs-23IYtZj2.js → workspace-dirs-2xcWGse3.js} +1 -1
- package/dist/{workspace-dirs-QmSWJptJ.js → workspace-dirs-aYEM1rQE.js} +1 -1
- package/dist/{wsl-DO9usEVV.js → wsl-ZWGwnnKI.js} +2 -2
- package/package.json +1 -1
- package/dist/cli-DHDuQ1Ao.js +0 -128
- package/dist/register.configure-DcK9kvfL.js +0 -129
- package/dist/register.configure-PJAnKSja.js +0 -125
|
@@ -1,88 +1,88 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { D as shouldLogVerbose, H as createInternalHookEvent, M as getChildLogger, O as warn, R as normalizeLogLevel, W as triggerInternalHook, _ as executePluginCommand, b as danger, c as normalizeAnyChannelId, g as clearPluginCommands, h as createPluginRegistry, l as normalizeChannelId, n as CHAT_CHANNEL_ORDER, p as setActivePluginRegistry, v as listPluginCommands, w as logVerbose, y as matchPluginCommand } from "./registry-
|
|
3
|
-
import {
|
|
4
|
-
import { S as isPlainObject, _ as shortenHomeInString, b as sliceUtf16Safe, c as escapeRegExp, h as resolveUserPath, r as clampInt, t as CONFIG_DIR, u as isRecord, v as shortenHomePath, x as truncateUtf16Safe, y as sleep } from "./utils-
|
|
5
|
-
import { d as createNonExitingRuntime, f as defaultRuntime, t as createSubsystemLogger } from "./subsystem-
|
|
6
|
-
import { A as buildConfiguredAllowlistKeys, At as resolveShellEnvFallbackTimeoutMs, Ct as resolveEnvApiKey, Et as normalizeSecretInput, F as modelKey, H as resolveDefaultModelForAgent, Ht as DEFAULT_MODEL, I as normalizeModelRef$1, K as resolveSubagentSpawnModelSelection, L as normalizeProviderId, M as findNormalizedProviderValue, Ot as getShellPathFromLoginShell, T as resolveSymiAgentDir, Ut as DEFAULT_PROVIDER, V as resolveConfiguredModelRef, Vt as DEFAULT_CONTEXT_TOKENS, W as resolveModelRefFromString, Wt as resolveAuthProfileDisplayLabel, _t as createOllamaStreamFn, a as markAuthProfileFailure, b as ensureAuthProfileStore, bt as requireApiKey, et as normalizeGoogleModelId, g as markAuthProfileGood, gt as OLLAMA_NATIVE_BASE_URL, h as listProfilesForProvider, i as isProfileInCooldown, j as buildModelAliasIndex, k as buildAllowedModelSet, n as resolveAuthProfileOrder, o as markAuthProfileUsed, q as resolveThinkingDefault, r as getSoonestCooldownExpiry, vt as getApiKeyForModel, w as resolveAuthStorePathForDisplay, wt as resolveModelAuthMode, xt as resolveApiKeyForProvider, yt as getCustomProviderApiKey } from "./auth-profiles-
|
|
2
|
+
import { D as shouldLogVerbose, H as createInternalHookEvent, M as getChildLogger, O as warn, R as normalizeLogLevel, W as triggerInternalHook, _ as executePluginCommand, b as danger, c as normalizeAnyChannelId, g as clearPluginCommands, h as createPluginRegistry, l as normalizeChannelId, n as CHAT_CHANNEL_ORDER, p as setActivePluginRegistry, v as listPluginCommands, w as logVerbose, y as matchPluginCommand } from "./registry-Sbac4a4z.js";
|
|
3
|
+
import { _ as resolveStateDir, u as resolveGatewayPort } from "./paths-By0XjHBk.js";
|
|
4
|
+
import { S as isPlainObject, _ as shortenHomeInString, b as sliceUtf16Safe, c as escapeRegExp, h as resolveUserPath, r as clampInt, t as CONFIG_DIR, u as isRecord, v as shortenHomePath, x as truncateUtf16Safe, y as sleep } from "./utils-CTPsqyE_.js";
|
|
5
|
+
import { d as createNonExitingRuntime, f as defaultRuntime, t as createSubsystemLogger } from "./subsystem-CHbO_DkH.js";
|
|
6
|
+
import { A as buildConfiguredAllowlistKeys, At as resolveShellEnvFallbackTimeoutMs, Ct as resolveEnvApiKey, Et as normalizeSecretInput, F as modelKey, H as resolveDefaultModelForAgent, Ht as DEFAULT_MODEL, I as normalizeModelRef$1, K as resolveSubagentSpawnModelSelection, L as normalizeProviderId, M as findNormalizedProviderValue, Ot as getShellPathFromLoginShell, T as resolveSymiAgentDir, Ut as DEFAULT_PROVIDER, V as resolveConfiguredModelRef, Vt as DEFAULT_CONTEXT_TOKENS, W as resolveModelRefFromString, Wt as resolveAuthProfileDisplayLabel, _t as createOllamaStreamFn, a as markAuthProfileFailure, b as ensureAuthProfileStore, bt as requireApiKey, et as normalizeGoogleModelId, g as markAuthProfileGood, gt as OLLAMA_NATIVE_BASE_URL, h as listProfilesForProvider, i as isProfileInCooldown, j as buildModelAliasIndex, k as buildAllowedModelSet, n as resolveAuthProfileOrder, o as markAuthProfileUsed, q as resolveThinkingDefault, r as getSoonestCooldownExpiry, vt as getApiKeyForModel, w as resolveAuthStorePathForDisplay, wt as resolveModelAuthMode, xt as resolveApiKeyForProvider, yt as getCustomProviderApiKey } from "./auth-profiles-C1lvfaCM.js";
|
|
7
7
|
import { t as formatCliCommand } from "./command-format-BvAkTjTI.js";
|
|
8
8
|
import { S as resolveThreadParentSessionKey, _ as isAcpSessionKey, a as classifySessionKeyShape, b as isSubagentSessionKey, c as resolveAgentIdFromSessionKey, g as getSubagentDepth, l as resolveThreadSessionKeys, m as normalizeAccountId, o as normalizeAgentId, p as DEFAULT_ACCOUNT_ID, r as buildAgentMainSessionKey, s as normalizeMainKey, t as DEFAULT_AGENT_ID, u as sanitizeAgentId, x as parseAgentSessionKey, y as isCronSessionKey } from "./session-key-B_ZVH1kE.js";
|
|
9
|
-
import { n as resolveSymiPackageRootSync, t as resolveSymiPackageRoot } from "./symi-root-
|
|
10
|
-
import { a as logError, i as logDebug, n as runExec, o as logInfo, r as spawnWithFallback, s as logWarn, t as runCommandWithTimeout } from "./exec-
|
|
11
|
-
import { C as ensureAgentWorkspace, E as loadWorkspaceBootstrapFiles, c as resolveAgentWorkspaceDir, d as resolveSessionAgentId, f as resolveSessionAgentIds, h as DEFAULT_BOOTSTRAP_FILENAME, i as resolveAgentDir, l as resolveDefaultAgentId, m as DEFAULT_AGENT_WORKSPACE_DIR, r as resolveAgentConfig, s as resolveAgentSkillsFilter, w as filterBootstrapFilesForSession } from "./agent-scope-
|
|
12
|
-
import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-
|
|
9
|
+
import { n as resolveSymiPackageRootSync, t as resolveSymiPackageRoot } from "./symi-root-DueRHNOE.js";
|
|
10
|
+
import { a as logError, i as logDebug, n as runExec, o as logInfo, r as spawnWithFallback, s as logWarn, t as runCommandWithTimeout } from "./exec-BcMHopF9.js";
|
|
11
|
+
import { C as ensureAgentWorkspace, E as loadWorkspaceBootstrapFiles, c as resolveAgentWorkspaceDir, d as resolveSessionAgentId, f as resolveSessionAgentIds, h as DEFAULT_BOOTSTRAP_FILENAME, i as resolveAgentDir, l as resolveDefaultAgentId, m as DEFAULT_AGENT_WORKSPACE_DIR, r as resolveAgentConfig, s as resolveAgentSkillsFilter, w as filterBootstrapFilesForSession } from "./agent-scope-DJI5ijOw.js";
|
|
12
|
+
import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-DIIEouRg.js";
|
|
13
13
|
import { t as parseBooleanValue } from "./boolean-Wzu0-e0P.js";
|
|
14
|
-
import { t as isTruthyEnvValue } from "./env-
|
|
15
|
-
import { A as isRawApiErrorPayload, B as sanitizeGoogleTurnOrdering, C as isCloudCodeAssistFormatError, D as isFailoverErrorMessage, E as isFailoverAssistantError, F as sanitizeUserFacingText, I as buildBootstrapContextFiles, L as ensureSessionHeader, M as isTransientHttpError, N as parseImageDimensionError, O as isLikelyContextOverflowError, P as parseImageSizeError, R as resolveBootstrapMaxChars, S as isBillingAssistantError, T as isContextOverflowError, _ as formatAssistantErrorText, a as normalizeTextForComparison, b as getApiErrorPayloadFingerprint, c as sanitizeToolResultImages, d as extractToolResultId, f as downgradeOpenAIReasoningBlocks, g as classifyFailoverReason, h as BILLING_ERROR_USER_MESSAGE, i as isMessagingToolDuplicateNormalized, j as isTimeoutErrorMessage, k as isRateLimitAssistantError, l as resolveImageSanitizationLimits, m as isGoogleModelApi, n as validateGeminiTurns, o as sanitizeSessionMessagesImages, p as isAntigravityClaude, r as pickFallbackThinkingLevel, s as sanitizeImageBlocks, t as validateAnthropicTurns, u as extractToolCallsFromAssistant, v as formatBillingErrorMessage, w as isCompactionFailureError, x as isAuthAssistantError, y as formatRawAssistantErrorForUi, z as resolveBootstrapTotalMaxChars } from "./pi-embedded-helpers-
|
|
16
|
-
import { A as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, C as unsetConfigValueAtPath, N as VERSION, S as setConfigValueAtPath, _ as resetConfigOverrides, b as getConfigValueAtPath, c as resolveConfigSnapshotHash, f as parseDurationMs, g as getConfigOverrides, h as validateJsonSchemaValue, i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot, u as validateConfigObjectWithPlugins, v as setConfigOverride, x as parseConfigPath, y as unsetConfigOverride } from "./config-
|
|
17
|
-
import { a as safeStatSync, c as applyTestPluginDefaults, d as resolveEnableState, f as resolveMemorySlotDecision, h as isDangerousHostEnvVarName, i as isPathInside, n as loadPluginManifestRegistry, r as discoverSymiPlugins, u as normalizePluginsConfig } from "./manifest-registry-
|
|
14
|
+
import { t as isTruthyEnvValue } from "./env-DoZWjLUy.js";
|
|
15
|
+
import { A as isRawApiErrorPayload, B as sanitizeGoogleTurnOrdering, C as isCloudCodeAssistFormatError, D as isFailoverErrorMessage, E as isFailoverAssistantError, F as sanitizeUserFacingText, I as buildBootstrapContextFiles, L as ensureSessionHeader, M as isTransientHttpError, N as parseImageDimensionError, O as isLikelyContextOverflowError, P as parseImageSizeError, R as resolveBootstrapMaxChars, S as isBillingAssistantError, T as isContextOverflowError, _ as formatAssistantErrorText, a as normalizeTextForComparison, b as getApiErrorPayloadFingerprint, c as sanitizeToolResultImages, d as extractToolResultId, f as downgradeOpenAIReasoningBlocks, g as classifyFailoverReason, h as BILLING_ERROR_USER_MESSAGE, i as isMessagingToolDuplicateNormalized, j as isTimeoutErrorMessage, k as isRateLimitAssistantError, l as resolveImageSanitizationLimits, m as isGoogleModelApi, n as validateGeminiTurns, o as sanitizeSessionMessagesImages, p as isAntigravityClaude, r as pickFallbackThinkingLevel, s as sanitizeImageBlocks, t as validateAnthropicTurns, u as extractToolCallsFromAssistant, v as formatBillingErrorMessage, w as isCompactionFailureError, x as isAuthAssistantError, y as formatRawAssistantErrorForUi, z as resolveBootstrapTotalMaxChars } from "./pi-embedded-helpers-DMVyRPBT.js";
|
|
16
|
+
import { A as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, C as unsetConfigValueAtPath, N as VERSION, S as setConfigValueAtPath, _ as resetConfigOverrides, b as getConfigValueAtPath, c as resolveConfigSnapshotHash, f as parseDurationMs, g as getConfigOverrides, h as validateJsonSchemaValue, i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot, u as validateConfigObjectWithPlugins, v as setConfigOverride, x as parseConfigPath, y as unsetConfigOverride } from "./config-vtCLkS2w.js";
|
|
17
|
+
import { a as safeStatSync, c as applyTestPluginDefaults, d as resolveEnableState, f as resolveMemorySlotDecision, h as isDangerousHostEnvVarName, i as isPathInside, n as loadPluginManifestRegistry, r as discoverSymiPlugins, u as normalizePluginsConfig } from "./manifest-registry-DYQQ9Cci.js";
|
|
18
18
|
import { a as isPathInsideWithRealpath } from "./legacy-names-Catogrri.js";
|
|
19
|
-
import { C as stripPluginOnlyAllowlist, S as resolveToolProfilePolicy, T as matchesAnyGlobPattern, _ as collectExplicitAllowlist, a as ensureSandboxWorkspaceForSession, b as mergeAlsoAllowPolicy, c as resolveSandboxRuntimeStatus, d as getBridgeAuthForPort, g as buildPluginToolGroups, h as applyOwnerOnlyToolPolicy, o as resolveSandboxContext, v as expandPolicyWithPluginGroups, w as compileGlobPatterns, x as normalizeToolName } from "./sandbox-
|
|
20
|
-
import { T as DEFAULT_AI_SNAPSHOT_MAX_CHARS } from "./chrome-
|
|
21
|
-
import { i as resolveBrowserConfig, m as resolveBrowserControlAuth } from "./server-context-
|
|
19
|
+
import { C as stripPluginOnlyAllowlist, S as resolveToolProfilePolicy, T as matchesAnyGlobPattern, _ as collectExplicitAllowlist, a as ensureSandboxWorkspaceForSession, b as mergeAlsoAllowPolicy, c as resolveSandboxRuntimeStatus, d as getBridgeAuthForPort, g as buildPluginToolGroups, h as applyOwnerOnlyToolPolicy, o as resolveSandboxContext, v as expandPolicyWithPluginGroups, w as compileGlobPatterns, x as normalizeToolName } from "./sandbox-C8Gh5iJW.js";
|
|
20
|
+
import { T as DEFAULT_AI_SNAPSHOT_MAX_CHARS } from "./chrome-BM8HZu2p.js";
|
|
21
|
+
import { i as resolveBrowserConfig, m as resolveBrowserControlAuth } from "./server-context-CJFU_WfI.js";
|
|
22
22
|
import { l as parseFrontmatterBlock } from "./frontmatter-CHu3sfCM.js";
|
|
23
|
-
import { a as resolveSkillsPromptForRun, d as resolveSandboxInputPath, h as applySkillEnvOverridesFromSnapshot, i as loadWorkspaceSkillEntries, l as assertMediaNotDataUrl, m as applySkillEnvOverrides, p as resolveSandboxedMediaSource, r as buildWorkspaceSkillSnapshot, u as assertSandboxPath } from "./skills-
|
|
24
|
-
import { n as getMediaDir, r as saveMediaBuffer } from "./routes-
|
|
23
|
+
import { a as resolveSkillsPromptForRun, d as resolveSandboxInputPath, h as applySkillEnvOverridesFromSnapshot, i as loadWorkspaceSkillEntries, l as assertMediaNotDataUrl, m as applySkillEnvOverrides, p as resolveSandboxedMediaSource, r as buildWorkspaceSkillSnapshot, u as assertSandboxPath } from "./skills-haW9gU7e.js";
|
|
24
|
+
import { n as getMediaDir, r as saveMediaBuffer } from "./routes-CJ4en0jL.js";
|
|
25
25
|
import { n as formatErrorMessage, r as formatUncaughtError, t as extractErrorCode } from "./errors-Z-WkF18Q.js";
|
|
26
|
-
import { i as resolveExistingPathsWithinRoot, r as DEFAULT_UPLOAD_DIR } from "./paths-
|
|
26
|
+
import { i as resolveExistingPathsWithinRoot, r as DEFAULT_UPLOAD_DIR } from "./paths-DeDKrl27.js";
|
|
27
27
|
import { i as isBlockedHostnameOrIp, o as normalizeHostname, t as SsrFBlockedError } from "./ssrf-CC9kEPCT.js";
|
|
28
|
-
import { _ as mediaKindFromMime, c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, h as MAX_IMAGE_BYTES, i as getImageMetadata, l as extensionForMime, m as normalizeMimeType$1, p as kindFromMime, s as resizeToJpeg, u as getFileExtension } from "./image-ops-
|
|
29
|
-
import { C as capArrayByJsonBytes, F as resolveSessionResetType, H as resolveMainSessionKey, I as resolveThreadFlag, J as acquireSessionWriteLock, L as DEFAULT_RESET_TRIGGERS, M as evaluateSessionFreshness, N as resolveChannelResetConfig, P as resolveSessionResetPolicy, R as resolveFreshSessionTotalTokens, S as archiveSessionTranscripts, W as deriveSessionMetaPatch, X as resolveSessionLockMaxHoldFromTimeout, _ as mergeDeliveryContext, a as resolveAndPersistSessionFile, c as recordSessionMetaFromInbound, d as updateSessionStore, f as updateSessionStoreEntry, g as deliveryContextKey, h as deliveryContextFromSession, j as resolveSessionKey, m as resolveCacheTtlMs$1, o as loadSessionStore, p as isCacheEnabled, q as resolveGroupSessionKey, r as appendAssistantMessageToSessionTranscript, s as readSessionUpdatedAt, t as extractDeliveryInfo, u as updateLastRoute, v as normalizeDeliveryContext, y as normalizeSessionDeliveryFields } from "./sessions-
|
|
30
|
-
import { c as normalizeStringEntries, i as resolveChannelGroupRequireMention, l as normalizeStringEntriesLower, n as listChannelDocks, o as normalizeAtHashSlug, r as resolveChannelGroupPolicy, s as normalizeHyphenSlug, t as getChannelDock } from "./dock-
|
|
31
|
-
import { a as isInternalMessageChannel, c as listDeliverableMessageChannels, h as GATEWAY_CLIENT_NAMES, l as normalizeMessageChannel, m as GATEWAY_CLIENT_MODES, n as isDeliverableMessageChannel, o as isMarkdownCapableMessageChannel, p as GATEWAY_CLIENT_IDS, t as INTERNAL_MESSAGE_CHANNEL, u as resolveGatewayMessageChannel } from "./message-channel-
|
|
28
|
+
import { _ as mediaKindFromMime, c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, h as MAX_IMAGE_BYTES, i as getImageMetadata, l as extensionForMime, m as normalizeMimeType$1, p as kindFromMime, s as resizeToJpeg, u as getFileExtension } from "./image-ops-CiGlXf65.js";
|
|
29
|
+
import { C as capArrayByJsonBytes, F as resolveSessionResetType, H as resolveMainSessionKey, I as resolveThreadFlag, J as acquireSessionWriteLock, L as DEFAULT_RESET_TRIGGERS, M as evaluateSessionFreshness, N as resolveChannelResetConfig, P as resolveSessionResetPolicy, R as resolveFreshSessionTotalTokens, S as archiveSessionTranscripts, W as deriveSessionMetaPatch, X as resolveSessionLockMaxHoldFromTimeout, _ as mergeDeliveryContext, a as resolveAndPersistSessionFile, c as recordSessionMetaFromInbound, d as updateSessionStore, f as updateSessionStoreEntry, g as deliveryContextKey, h as deliveryContextFromSession, j as resolveSessionKey, m as resolveCacheTtlMs$1, o as loadSessionStore, p as isCacheEnabled, q as resolveGroupSessionKey, r as appendAssistantMessageToSessionTranscript, s as readSessionUpdatedAt, t as extractDeliveryInfo, u as updateLastRoute, v as normalizeDeliveryContext, y as normalizeSessionDeliveryFields } from "./sessions-BsGGoTdl.js";
|
|
30
|
+
import { c as normalizeStringEntries, i as resolveChannelGroupRequireMention, l as normalizeStringEntriesLower, n as listChannelDocks, o as normalizeAtHashSlug, r as resolveChannelGroupPolicy, s as normalizeHyphenSlug, t as getChannelDock } from "./dock-CSF4Y7tm.js";
|
|
31
|
+
import { a as isInternalMessageChannel, c as listDeliverableMessageChannels, h as GATEWAY_CLIENT_NAMES, l as normalizeMessageChannel, m as GATEWAY_CLIENT_MODES, n as isDeliverableMessageChannel, o as isMarkdownCapableMessageChannel, p as GATEWAY_CLIENT_IDS, t as INTERNAL_MESSAGE_CHANNEL, u as resolveGatewayMessageChannel } from "./message-channel-BqrA0uMO.js";
|
|
32
32
|
import { t as normalizeChatType } from "./chat-type-B7XD_ESN.js";
|
|
33
33
|
import { n as resolveConversationLabel } from "./conversation-label-CS5Zjc4w.js";
|
|
34
|
-
import { a as resolveSlackAccount, c as resolveSlackBotToken, n as listChannelPlugins, r as normalizeChannelId$1, s as resolveSlackAppToken, t as getChannelPlugin } from "./plugins-
|
|
35
|
-
import { _ as resolveSlackChannelId, a as markdownToIRWithMeta, c as MediaFetchError, d as createSlackWebClient, f as resolveSlackWebClientOptions, g as parseSlackTarget, h as buildSlackBlocksFallbackText, i as renderMarkdownWithMarkers, l as fetchRemoteMedia, m as validateSlackBlocksArray, o as getDefaultLocalRoots, p as parseSlackBlocksInput, s as loadWebMedia, t as sendMessageSlack, u as readResponseWithLimit } from "./send-
|
|
36
|
-
import { c as resolveStorePath, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, r as resolveSessionFilePathOptions, t as resolveDefaultSessionStorePath } from "./paths-
|
|
34
|
+
import { a as resolveSlackAccount, c as resolveSlackBotToken, n as listChannelPlugins, r as normalizeChannelId$1, s as resolveSlackAppToken, t as getChannelPlugin } from "./plugins-CypN_04v.js";
|
|
35
|
+
import { _ as resolveSlackChannelId, a as markdownToIRWithMeta, c as MediaFetchError, d as createSlackWebClient, f as resolveSlackWebClientOptions, g as parseSlackTarget, h as buildSlackBlocksFallbackText, i as renderMarkdownWithMarkers, l as fetchRemoteMedia, m as validateSlackBlocksArray, o as getDefaultLocalRoots, p as parseSlackBlocksInput, s as loadWebMedia, t as sendMessageSlack, u as readResponseWithLimit } from "./send-DuYvWRLE.js";
|
|
36
|
+
import { c as resolveStorePath, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, r as resolveSessionFilePathOptions, t as resolveDefaultSessionStorePath } from "./paths-BldkKgCk.js";
|
|
37
37
|
import { i as normalizeInputProvenance, n as applyInputProvenanceToUserMessage, r as hasInterSessionUserProvenance } from "./input-provenance-DsLesw6T.js";
|
|
38
38
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-Ch7wLX-j.js";
|
|
39
39
|
import { a as normalizeElevatedLevel, c as normalizeUsageDisplay, d as supportsXHighThinking, l as normalizeVerboseLevel, n as formatXHighModelHint, o as normalizeReasoningLevel, s as normalizeThinkLevel, t as formatThinkingLevels, u as resolveResponseUsageMode } from "./thinking-177f26eg.js";
|
|
40
|
-
import { n as isSilentReplyText, t as SILENT_REPLY_TOKEN } from "./tokens-
|
|
41
|
-
import { c as normalizeChannelTargetInput, d as parseReplyDirectives, f as MEDIA_TOKEN_RE, g as initializeGlobalHookRunner, h as getGlobalHookRunner, l as normalizeTargetForProvider, m as parseInlineDirectives$1, o as normalizeReplyPayloadsForDelivery, p as splitMediaFromOutput, s as buildTargetResolverSignature, t as deliverOutboundPayloads, u as throwIfAborted } from "./deliver-
|
|
42
|
-
import { a as logMessageProcessed, i as logLaneEnqueue, o as logMessageQueued, r as logLaneDequeue, s as logSessionStateChange, t as diag } from "./diagnostic-
|
|
40
|
+
import { n as isSilentReplyText, t as SILENT_REPLY_TOKEN } from "./tokens-BdVB8KXo.js";
|
|
41
|
+
import { c as normalizeChannelTargetInput, d as parseReplyDirectives, f as MEDIA_TOKEN_RE, g as initializeGlobalHookRunner, h as getGlobalHookRunner, l as normalizeTargetForProvider, m as parseInlineDirectives$1, o as normalizeReplyPayloadsForDelivery, p as splitMediaFromOutput, s as buildTargetResolverSignature, t as deliverOutboundPayloads, u as throwIfAborted } from "./deliver-fvcQPsBc.js";
|
|
42
|
+
import { a as logMessageProcessed, i as logLaneEnqueue, o as logMessageQueued, r as logLaneDequeue, s as logSessionStateChange, t as diag } from "./diagnostic-Db9MI5bh.js";
|
|
43
43
|
import { r as getDiagnosticSessionState } from "./diagnostic-session-state-I4x9gPY4.js";
|
|
44
|
-
import { t as ensureSymiModelsJson } from "./models-config-
|
|
45
|
-
import { t as ensurePiAuthJsonFromAuthProfiles } from "./pi-auth-json-
|
|
46
|
-
import { c as hasNonzeroUsage, l as normalizeUsage, n as loadCostUsageSummary, o as derivePromptTokens, r as loadSessionCostSummary } from "./session-cost-usage-
|
|
47
|
-
import { C as enqueueSystemEvent, E as buildChannelSummary, S as drainSystemEventEntries, _ as loadProviderUsageSummary, a as loadCombinedSessionStoreForGateway, b as resolveUsageProviderId, d as formatDoctorNonInteractiveHint, g as writeRestartSentinel, k as redactIdentifier, x as lookupContextTokens, y as formatUsageWindowSummary } from "./session-utils-
|
|
48
|
-
import { n as createBrowserRouteDispatcher, r as getMachineDisplayName, t as withTimeout$2 } from "./with-timeout-
|
|
49
|
-
import { i as resolveAckReaction, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig, t as createReplyPrefixOptions } from "./reply-prefix-
|
|
50
|
-
import { n as resolveMemoryBackendConfig, t as getMemorySearchManager } from "./memory-
|
|
51
|
-
import { a as parseGeminiAuth, c as resolveMemorySearchConfig, n as retryAsync, o as collectProviderApiKeysForExecution, s as executeWithApiKeyRotation } from "./manager-
|
|
52
|
-
import { f as runTasksWithConcurrency } from "./internal-
|
|
53
|
-
import { a as chunkText, c as resolveChunkMode, d as isSafeFenceBreak, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, o as chunkTextWithMode, r as chunkMarkdownText, t as chunkByNewline, u as findFenceSpanAt } from "./chunk-
|
|
54
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
44
|
+
import { t as ensureSymiModelsJson } from "./models-config-Box19p27.js";
|
|
45
|
+
import { t as ensurePiAuthJsonFromAuthProfiles } from "./pi-auth-json-DVUJqaKg.js";
|
|
46
|
+
import { c as hasNonzeroUsage, l as normalizeUsage, n as loadCostUsageSummary, o as derivePromptTokens, r as loadSessionCostSummary } from "./session-cost-usage-XhPrxXSs.js";
|
|
47
|
+
import { C as enqueueSystemEvent, E as buildChannelSummary, S as drainSystemEventEntries, _ as loadProviderUsageSummary, a as loadCombinedSessionStoreForGateway, b as resolveUsageProviderId, d as formatDoctorNonInteractiveHint, g as writeRestartSentinel, k as redactIdentifier, x as lookupContextTokens, y as formatUsageWindowSummary } from "./session-utils-DFJztVrF.js";
|
|
48
|
+
import { n as createBrowserRouteDispatcher, r as getMachineDisplayName, t as withTimeout$2 } from "./with-timeout-D_FOTx48.js";
|
|
49
|
+
import { i as resolveAckReaction, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig, t as createReplyPrefixOptions } from "./reply-prefix-CXsO5E1Z.js";
|
|
50
|
+
import { n as resolveMemoryBackendConfig, t as getMemorySearchManager } from "./memory-BXoRMmVn.js";
|
|
51
|
+
import { a as parseGeminiAuth, c as resolveMemorySearchConfig, n as retryAsync, o as collectProviderApiKeysForExecution, s as executeWithApiKeyRotation } from "./manager-DqMx0qDw.js";
|
|
52
|
+
import { f as runTasksWithConcurrency } from "./internal-CHnZdvRy.js";
|
|
53
|
+
import { a as chunkText, c as resolveChunkMode, d as isSafeFenceBreak, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, o as chunkTextWithMode, r as chunkMarkdownText, t as chunkByNewline, u as findFenceSpanAt } from "./chunk-D2_aCcvs.js";
|
|
54
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-Ca1j7TYS.js";
|
|
55
55
|
import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-CgmRK282.js";
|
|
56
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
57
|
-
import { n as getDefaultMediaLocalRoots } from "./local-roots-
|
|
58
|
-
import { i as resolveNativeSkillsEnabled, n as isRestartEnabled, r as resolveNativeCommandsEnabled, t as isCommandFlagEnabled } from "./commands-
|
|
59
|
-
import { a as shouldHandleTextCommands, i as normalizeCommandBody, n as listChatCommands, r as listChatCommandsForConfig } from "./commands-registry-
|
|
60
|
-
import { zt as SESSION_LABEL_MAX_LENGTH } from "./client-
|
|
61
|
-
import { a as randomIdempotencyKey, d as resolveLeastPrivilegeOperatorScopesForMethod, n as callGateway, r as callGatewayLeastPrivilege } from "./call-
|
|
62
|
-
import { n as resolveToolDisplay, t as formatToolDetail } from "./tool-display-
|
|
56
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-BuQQKfW1.js";
|
|
57
|
+
import { n as getDefaultMediaLocalRoots } from "./local-roots-lknhM9c3.js";
|
|
58
|
+
import { i as resolveNativeSkillsEnabled, n as isRestartEnabled, r as resolveNativeCommandsEnabled, t as isCommandFlagEnabled } from "./commands-DgyiLrAe.js";
|
|
59
|
+
import { a as shouldHandleTextCommands, i as normalizeCommandBody, n as listChatCommands, r as listChatCommandsForConfig } from "./commands-registry-Bbs_ugoi.js";
|
|
60
|
+
import { zt as SESSION_LABEL_MAX_LENGTH } from "./client-BzacpVvW.js";
|
|
61
|
+
import { a as randomIdempotencyKey, d as resolveLeastPrivilegeOperatorScopesForMethod, n as callGateway, r as callGatewayLeastPrivilege } from "./call-sikajorp.js";
|
|
62
|
+
import { n as resolveToolDisplay, t as formatToolDetail } from "./tool-display-BngPYwnR.js";
|
|
63
63
|
import { n as formatTimeAgo } from "./format-relative-Vm-Tqk0h.js";
|
|
64
64
|
import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-DqAyGDbE.js";
|
|
65
|
-
import { g as getSkillsSnapshotVersion, h as ensureSkillsWatcher, t as getRemoteSkillEligibility } from "./skills-remote-
|
|
65
|
+
import { g as getSkillsSnapshotVersion, h as ensureSkillsWatcher, t as getRemoteSkillEligibility } from "./skills-remote-BW2GvG2l.js";
|
|
66
66
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DdkUSfiI.js";
|
|
67
|
-
import { n as loadModelCatalog, r as modelSupportsVision, t as findModelInCatalog } from "./model-catalog-
|
|
68
|
-
import { i as resolveSkillCommandInvocation, n as listSkillCommandsForAgents, r as listSkillCommandsForWorkspace, t as listReservedChatSlashCommandNames } from "./skill-commands-
|
|
69
|
-
import { a as removeChannelAllowFromStoreEntry, c as listPairingChannels, i as readChannelAllowFromStore, o as upsertChannelPairingRequest, t as addChannelAllowFromStoreEntry } from "./pairing-store-
|
|
70
|
-
import { _ as getTrustedSafeBinDirs, b as buildSafeShellCommand, d as resolveExecApprovals, f as resolveExecApprovalsFromFile, g as resolveSafeBins, h as evaluateShellAllowlist, i as maxAsk, l as recordAllowlistUse, n as addAllowlistEntry, o as minSecurity, u as requiresExecApproval, y as buildSafeBinsShellCommand } from "./exec-approvals-
|
|
71
|
-
import { a as canvasSnapshotTempPath, c as parseCameraClipPayload, d as writeCameraClipPayloadToFile, f as writeUrlToFile, g as normalizePathPrepend, h as mergePathPrepend, i as parseEnvPairs, l as parseCameraSnapPayload, m as applyPathPrepend, n as screenRecordTempPath, o as parseCanvasSnapshotPayload, p as buildNodeShellCommand, r as writeScreenRecordToFile, s as cameraTempPath, t as parseScreenRecordPayload, u as writeBase64ToFile } from "./nodes-screen-
|
|
67
|
+
import { n as loadModelCatalog, r as modelSupportsVision, t as findModelInCatalog } from "./model-catalog-Ds0dg_ob.js";
|
|
68
|
+
import { i as resolveSkillCommandInvocation, n as listSkillCommandsForAgents, r as listSkillCommandsForWorkspace, t as listReservedChatSlashCommandNames } from "./skill-commands-B45w-suH.js";
|
|
69
|
+
import { a as removeChannelAllowFromStoreEntry, c as listPairingChannels, i as readChannelAllowFromStore, o as upsertChannelPairingRequest, t as addChannelAllowFromStoreEntry } from "./pairing-store-5oyzSW2X.js";
|
|
70
|
+
import { _ as getTrustedSafeBinDirs, b as buildSafeShellCommand, d as resolveExecApprovals, f as resolveExecApprovalsFromFile, g as resolveSafeBins, h as evaluateShellAllowlist, i as maxAsk, l as recordAllowlistUse, n as addAllowlistEntry, o as minSecurity, u as requiresExecApproval, y as buildSafeBinsShellCommand } from "./exec-approvals-BZBjOrJL.js";
|
|
71
|
+
import { a as canvasSnapshotTempPath, c as parseCameraClipPayload, d as writeCameraClipPayloadToFile, f as writeUrlToFile, g as normalizePathPrepend, h as mergePathPrepend, i as parseEnvPairs, l as parseCameraSnapPayload, m as applyPathPrepend, n as screenRecordTempPath, o as parseCanvasSnapshotPayload, p as buildNodeShellCommand, r as writeScreenRecordToFile, s as cameraTempPath, t as parseScreenRecordPayload, u as writeBase64ToFile } from "./nodes-screen-BMUoHTPZ.js";
|
|
72
72
|
import { n as parseNodeList, r as parsePairingList, t as resolveNodeIdFromCandidates } from "./node-match-dNgkVIEe.js";
|
|
73
73
|
import { t as formatDurationCompact$1 } from "./format-duration-DbZRICyO.js";
|
|
74
74
|
import { n as recordCommandPoll, r as resetCommandPollCount } from "./command-poll-backoff-2_Os41y-.js";
|
|
75
75
|
import { i as resolveModelCostConfig, n as formatTokenCount$2, r as formatUsd, t as estimateUsageCost } from "./usage-format-Ca9K30TH.js";
|
|
76
76
|
import { c as resolveGatewayLaunchAgentLabel, d as resolveGatewaySystemdServiceName } from "./constants-DsZw7bas.js";
|
|
77
|
-
import { n as createBrowserControlContext, r as startBrowserControlServiceFromConfig } from "./control-service
|
|
77
|
+
import { n as createBrowserControlContext, r as startBrowserControlServiceFromConfig } from "./control-service--TrXUUt_.js";
|
|
78
78
|
import { i as parseAbsoluteTimeMs, r as resolveDefaultCronStaggerMs, t as normalizeCronStaggerMs } from "./stagger-BhvnarfO.js";
|
|
79
|
-
import { n as resolveMessageChannelSelection, t as listConfiguredMessageChannels } from "./channel-selection-
|
|
80
|
-
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-
|
|
79
|
+
import { n as resolveMessageChannelSelection, t as listConfiguredMessageChannels } from "./channel-selection-Cc4Pvn6b.js";
|
|
80
|
+
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-8JoEBwi6.js";
|
|
81
81
|
import { t as parseTimeoutMs } from "./parse-timeout-CpgyC-LD.js";
|
|
82
|
-
import { n as registerMemoryCli } from "./memory-cli-
|
|
83
|
-
import { i as resolveSlackThreadTs, n as deliverReplies, t as createSlackReplyDeliveryPlan } from "./replies-
|
|
84
|
-
import { a as resolveSubagentToolPolicy, i as resolveGroupToolPolicy, n as isToolAllowedByPolicies, r as resolveEffectiveToolPolicy, t as filterToolsByPolicy } from "./pi-tools.policy-
|
|
85
|
-
import { a as buildModelAliasLines, n as resolveModel$2 } from "./model-
|
|
82
|
+
import { n as registerMemoryCli } from "./memory-cli-BXclq7qt.js";
|
|
83
|
+
import { i as resolveSlackThreadTs, n as deliverReplies, t as createSlackReplyDeliveryPlan } from "./replies-PetyGT0p.js";
|
|
84
|
+
import { a as resolveSubagentToolPolicy, i as resolveGroupToolPolicy, n as isToolAllowedByPolicies, r as resolveEffectiveToolPolicy, t as filterToolsByPolicy } from "./pi-tools.policy-C5aC-K5q.js";
|
|
85
|
+
import { a as buildModelAliasLines, n as resolveModel$2 } from "./model-DibfNW71.js";
|
|
86
86
|
import { createRequire } from "node:module";
|
|
87
87
|
import process$1 from "node:process";
|
|
88
88
|
import { fileURLToPath } from "node:url";
|
|
@@ -91,7 +91,7 @@ import path from "node:path";
|
|
|
91
91
|
import fs, { constants, existsSync, statSync } from "node:fs";
|
|
92
92
|
import os, { homedir } from "node:os";
|
|
93
93
|
import JSON5 from "json5";
|
|
94
|
-
import
|
|
94
|
+
import fs$1 from "node:fs/promises";
|
|
95
95
|
import { execFileSync, spawn, spawnSync } from "node:child_process";
|
|
96
96
|
import { complete, createAssistantMessageEventStream, streamSimple } from "@mariozechner/pi-ai";
|
|
97
97
|
import { CURRENT_SESSION_VERSION, DefaultResourceLoader, SessionManager, SettingsManager, codingTools, createAgentSession, createEditTool, createReadTool, createWriteTool, estimateTokens, generateSummary, readTool } from "@mariozechner/pi-coding-agent";
|
|
@@ -1841,7 +1841,7 @@ async function imageResult(params) {
|
|
|
1841
1841
|
}, params.label, params.imageSanitization);
|
|
1842
1842
|
}
|
|
1843
1843
|
async function imageResultFromFile(params) {
|
|
1844
|
-
const buf = await
|
|
1844
|
+
const buf = await fs$1.readFile(params.path);
|
|
1845
1845
|
const mimeType = await detectMime({ buffer: buf.slice(0, 256) }) ?? "image/png";
|
|
1846
1846
|
return await imageResult({
|
|
1847
1847
|
label: params.label,
|
|
@@ -4915,7 +4915,7 @@ async function recordLoopOutcome(args) {
|
|
|
4915
4915
|
if (!args.ctx?.sessionKey) return;
|
|
4916
4916
|
try {
|
|
4917
4917
|
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-I4x9gPY4.js").then((n) => n.n);
|
|
4918
|
-
const { recordToolCallOutcome } = await import("./tool-loop-detection-
|
|
4918
|
+
const { recordToolCallOutcome } = await import("./tool-loop-detection-DldKffR8.js");
|
|
4919
4919
|
recordToolCallOutcome(getDiagnosticSessionState({
|
|
4920
4920
|
sessionKey: args.ctx.sessionKey,
|
|
4921
4921
|
sessionId: args.ctx?.agentId
|
|
@@ -4936,8 +4936,8 @@ async function runBeforeToolCallHook(args) {
|
|
|
4936
4936
|
const params = args.params;
|
|
4937
4937
|
if (args.ctx?.sessionKey) {
|
|
4938
4938
|
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-I4x9gPY4.js").then((n) => n.n);
|
|
4939
|
-
const { logToolLoopAction } = await import("./diagnostic-
|
|
4940
|
-
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-
|
|
4939
|
+
const { logToolLoopAction } = await import("./diagnostic-Db9MI5bh.js").then((n) => n.n);
|
|
4940
|
+
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-DldKffR8.js");
|
|
4941
4941
|
const sessionState = getDiagnosticSessionState({
|
|
4942
4942
|
sessionKey: args.ctx.sessionKey,
|
|
4943
4943
|
sessionId: args.ctx?.agentId
|
|
@@ -5801,7 +5801,7 @@ async function routeReply(params) {
|
|
|
5801
5801
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
5802
5802
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
5803
5803
|
try {
|
|
5804
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
5804
|
+
const { deliverOutboundPayloads } = await import("./deliver-fvcQPsBc.js").then((n) => n.n);
|
|
5805
5805
|
return {
|
|
5806
5806
|
ok: true,
|
|
5807
5807
|
messageId: (await deliverOutboundPayloads({
|
|
@@ -11641,7 +11641,7 @@ var MediaAttachmentCache = class {
|
|
|
11641
11641
|
const size = await this.ensureLocalStat(entry);
|
|
11642
11642
|
if (entry.resolvedPath) {
|
|
11643
11643
|
if (size !== void 0 && size > params.maxBytes) throw new MediaUnderstandingSkipError("maxBytes", `Attachment ${params.attachmentIndex + 1} exceeds maxBytes ${params.maxBytes}`);
|
|
11644
|
-
const buffer = await
|
|
11644
|
+
const buffer = await fs$1.readFile(entry.resolvedPath);
|
|
11645
11645
|
entry.buffer = buffer;
|
|
11646
11646
|
entry.bufferMime = entry.bufferMime ?? entry.attachment.mime ?? await detectMime({
|
|
11647
11647
|
buffer,
|
|
@@ -11711,10 +11711,10 @@ var MediaAttachmentCache = class {
|
|
|
11711
11711
|
prefix: "symi-media",
|
|
11712
11712
|
extension: path.extname(bufferResult.fileName || "") || ""
|
|
11713
11713
|
});
|
|
11714
|
-
await
|
|
11714
|
+
await fs$1.writeFile(tmpPath, bufferResult.buffer);
|
|
11715
11715
|
entry.tempPath = tmpPath;
|
|
11716
11716
|
entry.tempCleanup = async () => {
|
|
11717
|
-
await
|
|
11717
|
+
await fs$1.unlink(tmpPath).catch(() => {});
|
|
11718
11718
|
};
|
|
11719
11719
|
return {
|
|
11720
11720
|
path: tmpPath,
|
|
@@ -11761,12 +11761,12 @@ var MediaAttachmentCache = class {
|
|
|
11761
11761
|
if (entry.statSize !== void 0) return entry.statSize;
|
|
11762
11762
|
try {
|
|
11763
11763
|
const currentPath = entry.resolvedPath;
|
|
11764
|
-
const stat = await
|
|
11764
|
+
const stat = await fs$1.stat(currentPath);
|
|
11765
11765
|
if (!stat.isFile()) {
|
|
11766
11766
|
entry.resolvedPath = void 0;
|
|
11767
11767
|
return;
|
|
11768
11768
|
}
|
|
11769
|
-
const canonicalPath = await
|
|
11769
|
+
const canonicalPath = await fs$1.realpath(currentPath).catch(() => currentPath);
|
|
11770
11770
|
if (!isInboundPathAllowed({
|
|
11771
11771
|
filePath: canonicalPath,
|
|
11772
11772
|
roots: await this.getCanonicalLocalPathRoots()
|
|
@@ -11788,7 +11788,7 @@ var MediaAttachmentCache = class {
|
|
|
11788
11788
|
if (this.canonicalLocalPathRoots) return await this.canonicalLocalPathRoots;
|
|
11789
11789
|
this.canonicalLocalPathRoots = (async () => mergeInboundPathRoots(this.localPathRoots, await Promise.all(this.localPathRoots.map(async (root) => {
|
|
11790
11790
|
if (root.includes("*")) return root;
|
|
11791
|
-
return await
|
|
11791
|
+
return await fs$1.realpath(root).catch(() => root);
|
|
11792
11792
|
}))))();
|
|
11793
11793
|
return await this.canonicalLocalPathRoots;
|
|
11794
11794
|
}
|
|
@@ -11859,7 +11859,7 @@ function formatAudioTranscripts(outputs) {
|
|
|
11859
11859
|
async function fileExists(filePath) {
|
|
11860
11860
|
if (!filePath) return false;
|
|
11861
11861
|
try {
|
|
11862
|
-
await
|
|
11862
|
+
await fs$1.stat(filePath);
|
|
11863
11863
|
return true;
|
|
11864
11864
|
} catch {
|
|
11865
11865
|
return false;
|
|
@@ -11959,7 +11959,7 @@ async function resolveCliOutput(params) {
|
|
|
11959
11959
|
const commandId = commandBase(params.command);
|
|
11960
11960
|
const fileOutput = commandId === "whisper-cli" ? resolveWhisperCppOutputPath(params.args) : commandId === "whisper" ? resolveWhisperOutputPath(params.args, params.mediaPath) : null;
|
|
11961
11961
|
if (fileOutput && await fileExists(fileOutput)) try {
|
|
11962
|
-
const content = await
|
|
11962
|
+
const content = await fs$1.readFile(fileOutput, "utf8");
|
|
11963
11963
|
if (content.trim()) return content.trim();
|
|
11964
11964
|
} catch {}
|
|
11965
11965
|
if (commandId === "gemini") {
|
|
@@ -12250,7 +12250,7 @@ async function runCliEntry(params) {
|
|
|
12250
12250
|
maxBytes,
|
|
12251
12251
|
timeoutMs
|
|
12252
12252
|
});
|
|
12253
|
-
const outputDir = await
|
|
12253
|
+
const outputDir = await fs$1.mkdtemp(path.join(os.tmpdir(), "symi-media-cli-"));
|
|
12254
12254
|
const mediaPath = pathResult.path;
|
|
12255
12255
|
const outputBase = path.join(outputDir, path.parse(mediaPath).name);
|
|
12256
12256
|
const templCtx = {
|
|
@@ -12284,7 +12284,7 @@ async function runCliEntry(params) {
|
|
|
12284
12284
|
model: command
|
|
12285
12285
|
};
|
|
12286
12286
|
} finally {
|
|
12287
|
-
await
|
|
12287
|
+
await fs$1.rm(outputDir, {
|
|
12288
12288
|
recursive: true,
|
|
12289
12289
|
force: true
|
|
12290
12290
|
}).catch(() => {});
|
|
@@ -12328,9 +12328,9 @@ function candidateBinaryNames(name) {
|
|
|
12328
12328
|
}
|
|
12329
12329
|
async function isExecutable$1(filePath) {
|
|
12330
12330
|
try {
|
|
12331
|
-
if (!(await
|
|
12331
|
+
if (!(await fs$1.stat(filePath)).isFile()) return false;
|
|
12332
12332
|
if (process.platform === "win32") return true;
|
|
12333
|
-
await
|
|
12333
|
+
await fs$1.access(filePath, constants.X_OK);
|
|
12334
12334
|
return true;
|
|
12335
12335
|
} catch {
|
|
12336
12336
|
return false;
|
|
@@ -14034,7 +14034,7 @@ async function createModelSelectionState(params) {
|
|
|
14034
14034
|
}
|
|
14035
14035
|
}
|
|
14036
14036
|
if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
|
|
14037
|
-
const { ensureAuthProfileStore } = await import("./auth-profiles-
|
|
14037
|
+
const { ensureAuthProfileStore } = await import("./auth-profiles-C1lvfaCM.js").then((n) => n.t);
|
|
14038
14038
|
const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
|
|
14039
14039
|
const providerKey = normalizeProviderId(provider);
|
|
14040
14040
|
if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
|
|
@@ -17178,7 +17178,7 @@ async function resolveSandboxWorkdir(params) {
|
|
|
17178
17178
|
cwd: process.cwd(),
|
|
17179
17179
|
root: params.sandbox.workspaceDir
|
|
17180
17180
|
});
|
|
17181
|
-
if (!(await
|
|
17181
|
+
if (!(await fs$1.stat(resolved.resolved)).isDirectory()) throw new Error("workdir is not a directory");
|
|
17182
17182
|
const relative = resolved.relative ? resolved.relative.split(path.sep).join(path.posix.sep) : "";
|
|
17183
17183
|
const containerWorkdir = relative ? path.posix.join(params.sandbox.containerWorkdir, relative) : params.sandbox.containerWorkdir;
|
|
17184
17184
|
return {
|
|
@@ -18192,13 +18192,13 @@ async function validateScriptFileForShellBleed(params) {
|
|
|
18192
18192
|
cwd: params.workdir,
|
|
18193
18193
|
root: params.workdir
|
|
18194
18194
|
});
|
|
18195
|
-
stat = await
|
|
18195
|
+
stat = await fs$1.stat(absPath);
|
|
18196
18196
|
} catch {
|
|
18197
18197
|
return;
|
|
18198
18198
|
}
|
|
18199
18199
|
if (!stat.isFile()) return;
|
|
18200
18200
|
if (stat.size > 512 * 1024) return;
|
|
18201
|
-
const content = await
|
|
18201
|
+
const content = await fs$1.readFile(absPath, "utf-8");
|
|
18202
18202
|
const first = /\$[A-Z_][A-Z0-9_]{1,}/g.exec(content);
|
|
18203
18203
|
if (first) {
|
|
18204
18204
|
const idx = first.index;
|
|
@@ -22874,7 +22874,7 @@ async function handleCommands(params) {
|
|
|
22874
22874
|
try {
|
|
22875
22875
|
const messages = [];
|
|
22876
22876
|
if (sessionFile) {
|
|
22877
|
-
const content = await
|
|
22877
|
+
const content = await fs$1.readFile(sessionFile, "utf-8");
|
|
22878
22878
|
for (const line of content.split("\n")) {
|
|
22879
22879
|
if (!line.trim()) continue;
|
|
22880
22880
|
try {
|
|
@@ -25061,7 +25061,7 @@ async function readJsonlFromPath(jsonlPath) {
|
|
|
25061
25061
|
if (shouldLogVerbose()) logVerbose(`Blocked canvas jsonlPath outside allowed roots: ${resolved}`);
|
|
25062
25062
|
throw new Error("jsonlPath outside allowed roots");
|
|
25063
25063
|
}
|
|
25064
|
-
const canonical = await
|
|
25064
|
+
const canonical = await fs$1.realpath(resolved).catch(() => resolved);
|
|
25065
25065
|
if (!isInboundPathAllowed({
|
|
25066
25066
|
filePath: canonical,
|
|
25067
25067
|
roots
|
|
@@ -25069,7 +25069,7 @@ async function readJsonlFromPath(jsonlPath) {
|
|
|
25069
25069
|
if (shouldLogVerbose()) logVerbose(`Blocked canvas jsonlPath outside allowed roots: ${canonical}`);
|
|
25070
25070
|
throw new Error("jsonlPath outside allowed roots");
|
|
25071
25071
|
}
|
|
25072
|
-
return await
|
|
25072
|
+
return await fs$1.readFile(canonical, "utf8");
|
|
25073
25073
|
}
|
|
25074
25074
|
const CanvasToolSchema = Type.Object({
|
|
25075
25075
|
action: stringEnum(CANVAS_ACTIONS),
|
|
@@ -26600,7 +26600,7 @@ async function hydrateAttachmentPayload(params) {
|
|
|
26600
26600
|
accountId: params.accountId
|
|
26601
26601
|
}),
|
|
26602
26602
|
sandboxValidated: true,
|
|
26603
|
-
readFile: (filePath) =>
|
|
26603
|
+
readFile: (filePath) => fs$1.readFile(filePath)
|
|
26604
26604
|
});
|
|
26605
26605
|
params.args.buffer = media.buffer.toString("base64");
|
|
26606
26606
|
if (!contentTypeParam && media.contentType) params.args.contentType = media.contentType;
|
|
@@ -33094,7 +33094,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
33094
33094
|
return;
|
|
33095
33095
|
}
|
|
33096
33096
|
try {
|
|
33097
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
33097
|
+
const { deliverOutboundPayloads } = await import("./deliver-fvcQPsBc.js").then((n) => n.n);
|
|
33098
33098
|
await deliverOutboundPayloads({
|
|
33099
33099
|
cfg: params.cfg,
|
|
33100
33100
|
channel,
|
|
@@ -33499,7 +33499,7 @@ async function stageSandboxMedia(params) {
|
|
|
33499
33499
|
};
|
|
33500
33500
|
try {
|
|
33501
33501
|
const destDir = sandbox ? path.join(effectiveWorkspaceDir, "media", "inbound") : effectiveWorkspaceDir;
|
|
33502
|
-
await
|
|
33502
|
+
await fs$1.mkdir(destDir, { recursive: true });
|
|
33503
33503
|
const remoteAttachmentRoots = resolveIMessageRemoteAttachmentRoots({
|
|
33504
33504
|
cfg,
|
|
33505
33505
|
accountId: ctx.AccountId
|
|
@@ -33549,7 +33549,7 @@ async function stageSandboxMedia(params) {
|
|
|
33549
33549
|
usedNames.add(fileName);
|
|
33550
33550
|
const dest = path.join(destDir, fileName);
|
|
33551
33551
|
if (ctx.MediaRemoteHost) await scpFile(ctx.MediaRemoteHost, source, dest);
|
|
33552
|
-
else await
|
|
33552
|
+
else await fs$1.copyFile(source, dest);
|
|
33553
33553
|
const stagedPath = sandbox ? path.posix.join("media", "inbound", fileName) : dest;
|
|
33554
33554
|
staged.set(source, stagedPath);
|
|
33555
33555
|
}
|
|
@@ -38860,7 +38860,7 @@ function readSlackExternalArgMenuToken(raw) {
|
|
|
38860
38860
|
}
|
|
38861
38861
|
let commandsRegistry;
|
|
38862
38862
|
async function getCommandsRegistry() {
|
|
38863
|
-
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-
|
|
38863
|
+
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-Bbs_ugoi.js").then((n) => n.t);
|
|
38864
38864
|
return commandsRegistry;
|
|
38865
38865
|
}
|
|
38866
38866
|
function encodeSlackCommandArgValue(parts) {
|
|
@@ -39202,11 +39202,11 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
39202
39202
|
const channelName = channelInfo?.name;
|
|
39203
39203
|
const roomLabel = channelName ? `#${channelName}` : `#${command.channel_id}`;
|
|
39204
39204
|
const [{ resolveAgentRoute }, { finalizeInboundContext }, { dispatchReplyWithDispatcher }] = await Promise.all([
|
|
39205
|
-
import("./resolve-route-
|
|
39205
|
+
import("./resolve-route-8JoEBwi6.js").then((n) => n.r),
|
|
39206
39206
|
import("./inbound-context-DqAyGDbE.js").then((n) => n.n),
|
|
39207
39207
|
Promise.resolve().then(() => provider_dispatcher_exports)
|
|
39208
39208
|
]);
|
|
39209
|
-
const [{ resolveConversationLabel }, { createReplyPrefixOptions }] = await Promise.all([import("./conversation-label-CS5Zjc4w.js").then((n) => n.t), import("./reply-prefix-
|
|
39209
|
+
const [{ resolveConversationLabel }, { createReplyPrefixOptions }] = await Promise.all([import("./conversation-label-CS5Zjc4w.js").then((n) => n.t), import("./reply-prefix-CXsO5E1Z.js").then((n) => n.n)]);
|
|
39210
39210
|
const route = resolveAgentRoute({
|
|
39211
39211
|
cfg,
|
|
39212
39212
|
channel: "slack",
|
|
@@ -39263,9 +39263,9 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
39263
39263
|
});
|
|
39264
39264
|
const deliverSlashPayloads = async (replies) => {
|
|
39265
39265
|
const [{ deliverSlackSlashReplies }, { resolveChunkMode }, { resolveMarkdownTableMode }] = await Promise.all([
|
|
39266
|
-
import("./replies-
|
|
39267
|
-
import("./chunk-
|
|
39268
|
-
import("./markdown-tables-
|
|
39266
|
+
import("./replies-PetyGT0p.js").then((n) => n.r),
|
|
39267
|
+
import("./chunk-D2_aCcvs.js").then((n) => n.s),
|
|
39268
|
+
import("./markdown-tables-Ca1j7TYS.js").then((n) => n.t)
|
|
39269
39269
|
]);
|
|
39270
39270
|
await deliverSlackSlashReplies({
|
|
39271
39271
|
replies,
|
|
@@ -39318,7 +39318,7 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
39318
39318
|
let nativeCommands = [];
|
|
39319
39319
|
if (nativeEnabled) {
|
|
39320
39320
|
reg = await getCommandsRegistry();
|
|
39321
|
-
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-
|
|
39321
|
+
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-B45w-suH.js").then((n) => n.a)).listSkillCommandsForAgents({ cfg }) : [];
|
|
39322
39322
|
nativeCommands = reg.listNativeCommandSpecsForConfig(cfg, {
|
|
39323
39323
|
skillCommands,
|
|
39324
39324
|
provider: "slack"
|
|
@@ -40451,7 +40451,7 @@ function resolvePluginTools(params) {
|
|
|
40451
40451
|
//#endregion
|
|
40452
40452
|
//#region src/agents/apply-patch-update.ts
|
|
40453
40453
|
async function defaultReadFile(filePath) {
|
|
40454
|
-
return
|
|
40454
|
+
return fs$1.readFile(filePath, "utf8");
|
|
40455
40455
|
}
|
|
40456
40456
|
async function applyUpdateHunk(filePath, chunks, options) {
|
|
40457
40457
|
const originalLines = (await (options?.readFile ?? defaultReadFile)(filePath).catch((err) => {
|
|
@@ -40695,10 +40695,10 @@ function resolvePatchFileOps(options) {
|
|
|
40695
40695
|
};
|
|
40696
40696
|
}
|
|
40697
40697
|
return {
|
|
40698
|
-
readFile: (filePath) =>
|
|
40699
|
-
writeFile: (filePath, content) =>
|
|
40700
|
-
remove: (filePath) =>
|
|
40701
|
-
mkdirp: (dir) =>
|
|
40698
|
+
readFile: (filePath) => fs$1.readFile(filePath, "utf8"),
|
|
40699
|
+
writeFile: (filePath, content) => fs$1.writeFile(filePath, content, "utf8"),
|
|
40700
|
+
remove: (filePath) => fs$1.rm(filePath),
|
|
40701
|
+
mkdirp: (dir) => fs$1.mkdir(dir, { recursive: true }).then(() => {})
|
|
40702
40702
|
};
|
|
40703
40703
|
}
|
|
40704
40704
|
async function ensureDir(filePath, ops) {
|
|
@@ -41865,7 +41865,7 @@ async function repairSessionFileIfNeeded(params) {
|
|
|
41865
41865
|
};
|
|
41866
41866
|
let content;
|
|
41867
41867
|
try {
|
|
41868
|
-
content = await
|
|
41868
|
+
content = await fs$1.readFile(sessionFile, "utf-8");
|
|
41869
41869
|
} catch (err) {
|
|
41870
41870
|
if (err?.code === "ENOENT") return {
|
|
41871
41871
|
repaired: false,
|
|
@@ -41913,15 +41913,15 @@ async function repairSessionFileIfNeeded(params) {
|
|
|
41913
41913
|
const backupPath = `${sessionFile}.bak-${process.pid}-${Date.now()}`;
|
|
41914
41914
|
const tmpPath = `${sessionFile}.repair-${process.pid}-${Date.now()}.tmp`;
|
|
41915
41915
|
try {
|
|
41916
|
-
const stat = await
|
|
41917
|
-
await
|
|
41918
|
-
if (stat) await
|
|
41919
|
-
await
|
|
41920
|
-
if (stat) await
|
|
41921
|
-
await
|
|
41916
|
+
const stat = await fs$1.stat(sessionFile).catch(() => null);
|
|
41917
|
+
await fs$1.writeFile(backupPath, content, "utf-8");
|
|
41918
|
+
if (stat) await fs$1.chmod(backupPath, stat.mode);
|
|
41919
|
+
await fs$1.writeFile(tmpPath, cleaned, "utf-8");
|
|
41920
|
+
if (stat) await fs$1.chmod(tmpPath, stat.mode);
|
|
41921
|
+
await fs$1.rename(tmpPath, sessionFile);
|
|
41922
41922
|
} catch (err) {
|
|
41923
41923
|
try {
|
|
41924
|
-
await
|
|
41924
|
+
await fs$1.unlink(tmpPath);
|
|
41925
41925
|
} catch (cleanupErr) {
|
|
41926
41926
|
params.warn?.(`session file repair cleanup failed: ${cleanupErr instanceof Error ? cleanupErr.message : "unknown error"} (${path.basename(tmpPath)})`);
|
|
41927
41927
|
}
|
|
@@ -43194,7 +43194,7 @@ async function prewarmSessionFile(sessionFile) {
|
|
|
43194
43194
|
if (!isSessionManagerCacheEnabled()) return;
|
|
43195
43195
|
if (isSessionManagerCached(sessionFile)) return;
|
|
43196
43196
|
try {
|
|
43197
|
-
const handle = await
|
|
43197
|
+
const handle = await fs$1.open(sessionFile, "r");
|
|
43198
43198
|
try {
|
|
43199
43199
|
const buffer = Buffer$1.alloc(4096);
|
|
43200
43200
|
await handle.read(buffer, 0, buffer.length, 0);
|
|
@@ -43327,14 +43327,14 @@ async function compactEmbeddedPiSessionDirect(params) {
|
|
|
43327
43327
|
if (!apiKeyInfo.apiKey) {
|
|
43328
43328
|
if (apiKeyInfo.mode !== "aws-sdk") throw new Error(`No API key resolved for provider "${model.provider}" (auth mode: ${apiKeyInfo.mode}).`);
|
|
43329
43329
|
} else if (model.provider === "github-copilot") {
|
|
43330
|
-
const { resolveCopilotApiToken } = await import("./github-copilot-token-
|
|
43330
|
+
const { resolveCopilotApiToken } = await import("./github-copilot-token-DIIEouRg.js").then((n) => n.n);
|
|
43331
43331
|
const copilotToken = await resolveCopilotApiToken({ githubToken: apiKeyInfo.apiKey });
|
|
43332
43332
|
authStorage.setRuntimeApiKey(model.provider, copilotToken.token);
|
|
43333
43333
|
} else authStorage.setRuntimeApiKey(model.provider, apiKeyInfo.apiKey);
|
|
43334
43334
|
} catch (err) {
|
|
43335
43335
|
return fail(describeUnknownError(err));
|
|
43336
43336
|
}
|
|
43337
|
-
await
|
|
43337
|
+
await fs$1.mkdir(resolvedWorkspace, { recursive: true });
|
|
43338
43338
|
const sandboxSessionKey = params.sessionKey?.trim() || params.sessionId;
|
|
43339
43339
|
const sandbox = await resolveSandboxContext({
|
|
43340
43340
|
config: params.config,
|
|
@@ -43342,7 +43342,7 @@ async function compactEmbeddedPiSessionDirect(params) {
|
|
|
43342
43342
|
workspaceDir: resolvedWorkspace
|
|
43343
43343
|
});
|
|
43344
43344
|
const effectiveWorkspace = sandbox?.enabled ? sandbox.workspaceAccess === "rw" ? resolvedWorkspace : sandbox.workspaceDir : resolvedWorkspace;
|
|
43345
|
-
await
|
|
43345
|
+
await fs$1.mkdir(effectiveWorkspace, { recursive: true });
|
|
43346
43346
|
await ensureSessionHeader({
|
|
43347
43347
|
sessionFile: params.sessionFile,
|
|
43348
43348
|
sessionId: params.sessionId,
|
|
@@ -43667,12 +43667,12 @@ function getQueuedFileWriter(writers, filePath) {
|
|
|
43667
43667
|
const existing = writers.get(filePath);
|
|
43668
43668
|
if (existing) return existing;
|
|
43669
43669
|
const dir = path.dirname(filePath);
|
|
43670
|
-
const ready =
|
|
43670
|
+
const ready = fs$1.mkdir(dir, { recursive: true }).catch(() => void 0);
|
|
43671
43671
|
let queue = Promise.resolve();
|
|
43672
43672
|
const writer = {
|
|
43673
43673
|
filePath,
|
|
43674
43674
|
write: (line) => {
|
|
43675
|
-
queue = queue.then(() => ready).then(() =>
|
|
43675
|
+
queue = queue.then(() => ready).then(() => fs$1.appendFile(filePath, line, "utf8")).catch(() => void 0);
|
|
43676
43676
|
}
|
|
43677
43677
|
};
|
|
43678
43678
|
writers.set(filePath, writer);
|
|
@@ -46852,7 +46852,7 @@ Use the message tool with buttons:
|
|
|
46852
46852
|
*/
|
|
46853
46853
|
async function readSessionFile(sessionFile) {
|
|
46854
46854
|
try {
|
|
46855
|
-
return await
|
|
46855
|
+
return await fs$1.readFile(sessionFile, "utf-8");
|
|
46856
46856
|
} catch {
|
|
46857
46857
|
return null;
|
|
46858
46858
|
}
|
|
@@ -46861,8 +46861,8 @@ async function writeAtomically(sessionFile, text) {
|
|
|
46861
46861
|
const dir = path.dirname(sessionFile);
|
|
46862
46862
|
const base = path.basename(sessionFile);
|
|
46863
46863
|
const tmp = path.join(dir, `.${base}.prune-${process.pid}-${Date.now()}.tmp`);
|
|
46864
|
-
await
|
|
46865
|
-
await
|
|
46864
|
+
await fs$1.writeFile(tmp, text, "utf-8");
|
|
46865
|
+
await fs$1.rename(tmp, sessionFile);
|
|
46866
46866
|
}
|
|
46867
46867
|
/**
|
|
46868
46868
|
* Remove empty assistant JSONL entries from the session file.
|
|
@@ -46964,7 +46964,7 @@ function isInPoisonRange(version) {
|
|
|
46964
46964
|
*/
|
|
46965
46965
|
async function checkSessionPoison(sessionFile) {
|
|
46966
46966
|
try {
|
|
46967
|
-
const firstLine = (await
|
|
46967
|
+
const firstLine = (await fs$1.readFile(sessionFile, "utf-8")).split("\n")[0];
|
|
46968
46968
|
if (!firstLine) return null;
|
|
46969
46969
|
const header = JSON.parse(firstLine);
|
|
46970
46970
|
if (header.type !== "session") return null;
|
|
@@ -46982,7 +46982,7 @@ async function checkSessionPoison(sessionFile) {
|
|
|
46982
46982
|
*/
|
|
46983
46983
|
async function archivePoisonedSession(sessionFile) {
|
|
46984
46984
|
const archiveName = `${sessionFile}.archived-poison.${(/* @__PURE__ */ new Date()).toISOString().replace(/[:.]/g, "-")}`;
|
|
46985
|
-
await
|
|
46985
|
+
await fs$1.rename(sessionFile, archiveName);
|
|
46986
46986
|
return archiveName;
|
|
46987
46987
|
}
|
|
46988
46988
|
/**
|
|
@@ -46991,14 +46991,14 @@ async function archivePoisonedSession(sessionFile) {
|
|
|
46991
46991
|
*/
|
|
46992
46992
|
async function stampSessionVersion(sessionFile) {
|
|
46993
46993
|
try {
|
|
46994
|
-
const lines = (await
|
|
46994
|
+
const lines = (await fs$1.readFile(sessionFile, "utf-8")).split("\n");
|
|
46995
46995
|
if (lines.length === 0) return;
|
|
46996
46996
|
const header = JSON.parse(lines[0]);
|
|
46997
46997
|
if (header.type !== "session") return;
|
|
46998
46998
|
if (header.symiVersion === VERSION) return;
|
|
46999
46999
|
header.symiVersion = VERSION;
|
|
47000
47000
|
lines[0] = JSON.stringify(header);
|
|
47001
|
-
await
|
|
47001
|
+
await fs$1.writeFile(sessionFile, lines.join("\n"), "utf-8");
|
|
47002
47002
|
} catch {}
|
|
47003
47003
|
}
|
|
47004
47004
|
/**
|
|
@@ -47227,7 +47227,7 @@ async function prepareSessionManagerForRun(params) {
|
|
|
47227
47227
|
return;
|
|
47228
47228
|
}
|
|
47229
47229
|
if (params.hadSessionFile && header && !hasAssistant) {
|
|
47230
|
-
await
|
|
47230
|
+
await fs$1.writeFile(params.sessionFile, "", "utf-8");
|
|
47231
47231
|
sm.fileEntries = [header];
|
|
47232
47232
|
sm.byId?.clear?.();
|
|
47233
47233
|
sm.labelsById?.clear?.();
|
|
@@ -47785,7 +47785,7 @@ async function runEmbeddedAttempt(params) {
|
|
|
47785
47785
|
const prevCwd = process.cwd();
|
|
47786
47786
|
const runAbortController = new AbortController();
|
|
47787
47787
|
log$7.debug(`embedded run start: runId=${params.runId} sessionId=${params.sessionId} provider=${params.provider} model=${params.modelId} thinking=${params.thinkLevel} messageChannel=${params.messageChannel ?? params.messageProvider ?? "unknown"}`);
|
|
47788
|
-
await
|
|
47788
|
+
await fs$1.mkdir(resolvedWorkspace, { recursive: true });
|
|
47789
47789
|
const sandboxSessionKey = params.sessionKey?.trim() || params.sessionId;
|
|
47790
47790
|
const sandbox = await resolveSandboxContext({
|
|
47791
47791
|
config: params.config,
|
|
@@ -47793,7 +47793,7 @@ async function runEmbeddedAttempt(params) {
|
|
|
47793
47793
|
workspaceDir: resolvedWorkspace
|
|
47794
47794
|
});
|
|
47795
47795
|
const effectiveWorkspace = sandbox?.enabled ? sandbox.workspaceAccess === "rw" ? resolvedWorkspace : sandbox.workspaceDir : resolvedWorkspace;
|
|
47796
|
-
await
|
|
47796
|
+
await fs$1.mkdir(effectiveWorkspace, { recursive: true });
|
|
47797
47797
|
let restoreSkillEnv;
|
|
47798
47798
|
process.chdir(effectiveWorkspace);
|
|
47799
47799
|
try {
|
|
@@ -48002,7 +48002,7 @@ async function runEmbeddedAttempt(params) {
|
|
|
48002
48002
|
sessionFile: params.sessionFile,
|
|
48003
48003
|
warn: (message) => log$7.warn(message)
|
|
48004
48004
|
});
|
|
48005
|
-
const hadSessionFile = await
|
|
48005
|
+
const hadSessionFile = await fs$1.stat(params.sessionFile).then(() => true).catch(() => false);
|
|
48006
48006
|
const transcriptPolicy = resolveTranscriptPolicy({
|
|
48007
48007
|
modelApi: params.model?.api,
|
|
48008
48008
|
provider: params.provider,
|
|
@@ -49009,7 +49009,7 @@ async function runEmbeddedPiAgent(params) {
|
|
|
49009
49009
|
return;
|
|
49010
49010
|
}
|
|
49011
49011
|
if (model.provider === "github-copilot") {
|
|
49012
|
-
const { resolveCopilotApiToken } = await import("./github-copilot-token-
|
|
49012
|
+
const { resolveCopilotApiToken } = await import("./github-copilot-token-DIIEouRg.js").then((n) => n.n);
|
|
49013
49013
|
const copilotToken = await resolveCopilotApiToken({ githubToken: apiKeyInfo.apiKey });
|
|
49014
49014
|
authStorage.setRuntimeApiKey(model.provider, copilotToken.token);
|
|
49015
49015
|
} else authStorage.setRuntimeApiKey(model.provider, apiKeyInfo.apiKey);
|
|
@@ -49094,7 +49094,7 @@ async function runEmbeddedPiAgent(params) {
|
|
|
49094
49094
|
}
|
|
49095
49095
|
runLoopIterations += 1;
|
|
49096
49096
|
attemptedThinking.add(thinkLevel);
|
|
49097
|
-
await
|
|
49097
|
+
await fs$1.mkdir(resolvedWorkspace, { recursive: true });
|
|
49098
49098
|
const prompt = provider === "anthropic" ? scrubAnthropicRefusalMagic(params.prompt) : params.prompt;
|
|
49099
49099
|
const attempt = await runEmbeddedAttempt({
|
|
49100
49100
|
sessionId: params.sessionId,
|