@symerian/symi 3.4.2 → 3.4.7
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-CDUpwXQX.js → agent-BaSGoKPq.js} +8 -8
- package/dist/{agent-BcHmIY_n.js → agent-C8IIjDyn.js} +18 -18
- package/dist/{agent-scope-CKTVXF_1.js → agent-scope-DIjW66iO.js} +18 -18
- package/dist/{agents-Dx_B11LV.js → agents-D6Ygz9ED.js} +8 -8
- package/dist/{agents.config-D6lBCMyT.js → agents.config-D1nFwU81.js} +1 -1
- package/dist/{audit-CMPCYnHv.js → audit-BI8Rbs5q.js} +21 -21
- package/dist/{audit-FMN4BTKc.js → audit-nqP-JeOr.js} +8 -8
- package/dist/{auth-choice-s1SGAS0u.js → auth-choice-BBrEzoy2.js} +8 -8
- package/dist/{auth-choice-BJgf7XV6.js → auth-choice-Bx4Duu6u.js} +6 -6
- package/dist/{auth-choice-options-B5NLwpLs.js → auth-choice-options-BBYiPleR.js} +1 -1
- package/dist/{auth-choice-options-EWUh0VM6.js → auth-choice-options-C5b4PCvw.js} +1 -1
- package/dist/{auth-choice-prompt-BkTmN4sy.js → auth-choice-prompt-D8GvjOBX.js} +1 -1
- package/dist/{auth-choice-prompt-CXcrToaB.js → auth-choice-prompt-DBfm0y9l.js} +1 -1
- package/dist/{auth-profiles-BDvJK1Bg.js → auth-profiles-BFSVvFKy.js} +9 -9
- package/dist/{auth-token-BKp_ClDP.js → auth-token-SebYuqfR.js} +1 -1
- package/dist/{banner-C1DH2kVa.js → banner-l9GjW5Rm.js} +1 -1
- package/dist/{browser-cli-DW3CxkSc.js → browser-cli-BAxOL41p.js} +9 -9
- package/dist/{browser-cli-C6G2Ql9l.js → browser-cli-Bk8DxxeA.js} +4 -4
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +8 -8
- package/dist/bundled/session-memory/handler.js +7 -7
- package/dist/{call-Dy_T6f6d.js → call-5IE9ycvm.js} +2 -4
- package/dist/{call-BjHvYJx2.js → call-BPJn2_th.js} +9 -11
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-77nGDc70.js → channel-options-COanIUoQ.js} +1 -1
- package/dist/{channel-options-BMZyRh5E.js → channel-options-DGUqfnbP.js} +1 -1
- package/dist/{channels-cli-C048Z7h-.js → channels-cli-B1zmnm5a.js} +54 -54
- package/dist/{channels-cli-CjQ8Rfpv.js → channels-cli-CZ3M3yE1.js} +27 -27
- package/dist/{chrome-BxWRyWC_.js → chrome-B0wRtBRB.js} +1 -1
- package/dist/{chrome-C0vnHDyY.js → chrome-B4P7ycw5.js} +1 -1
- package/dist/{chrome-droANDig.js → chrome-CPSDqbK6.js} +8 -8
- package/dist/{chrome-BQoO4LXq.js → chrome-VbDUdW0_.js} +2 -2
- package/dist/{cli-CXAyZ9dx.js → cli-C7I5uEFC.js} +42 -42
- package/dist/{cli-CpmVizCT.js → cli-CC5GrdTI.js} +23 -23
- package/dist/{client-CAz5aPpp.js → client-Dp8LUTmF.js} +2 -5
- package/dist/{client-Bs2zB0rY.js → client-qjXXRKCO.js} +3 -6
- package/dist/{command-registry-B9TplwzB.js → command-registry-ByBvyNis.js} +11 -11
- package/dist/{commands-registry-CLePPNDW.js → commands-registry-BNCcZy2y.js} +1 -1
- package/dist/{completion-cli-Dv8CNTMW.js → completion-cli-BFBbL-u4.js} +2 -2
- package/dist/{completion-cli-ecfjoaIU.js → completion-cli-rzEsCzmE.js} +12 -12
- package/dist/{config-BEaq2Sb6.js → config-DqMsGcSQ.js} +2 -4
- package/dist/{config-cli-CAwWFZwh.js → config-cli-BqzjDmIH.js} +4 -4
- package/dist/{config-cli-zMpHOTSD.js → config-cli-DSDGwckX.js} +2 -2
- package/dist/{config-guard-29sjAeg8.js → config-guard-CJcSKMuP.js} +6 -6
- package/dist/{config-guard-B2j-KuUQ.js → config-guard-Cu-dwAgi.js} +2 -2
- package/dist/{config-Cw7uo7Dh.js → config-igdtSRrZ.js} +0 -2
- package/dist/{config-validation-Bp2AdKjN.js → config-validation-Bp2wJ610.js} +1 -1
- package/dist/{config-validation-MUkEKwbD.js → config-validation-Bs1Gp2oG.js} +1 -1
- package/dist/{configure-Bh0-A3hM.js → configure-BazJdwKU.js} +15 -15
- package/dist/{configure-DvVtZB1V.js → configure-Dl1f1Den.js} +18 -18
- package/dist/{consolidate-DeA11kIO.js → consolidate-7Usm-b2g.js} +6 -6
- package/dist/{control-service-BTydj9Kk.js → control-service-DO8FjrS6.js} +4 -4
- package/dist/{control-service-DhlgNQGb.js → control-service-Fn3d9AlH.js} +4 -4
- package/dist/{control-ui-assets-D22DSxhv.js → control-ui-assets-DUhvOLUL.js} +1 -1
- package/dist/{cron-cli-5souN2YC.js → cron-cli-DXgI5Lid.js} +7 -10
- package/dist/{cron-cli-Cr8hrEDQ.js → cron-cli-DZyH2BfZ.js} +10 -13
- package/dist/{daemon-cli-OZuuMobs.js → daemon-cli-C6FSROt1.js} +11 -11
- package/dist/{daemon-cli-AVJLjFd5.js → daemon-cli-DmMYx5Uf.js} +6 -6
- package/dist/daemon-cli.js +2 -9
- package/dist/{daemon-runtime-CkBw3gG5.js → daemon-runtime-2Y9RfgcP.js} +1 -1
- package/dist/{daemon-runtime-Dr_xKl0r.js → daemon-runtime-BpfA4d6Q.js} +10 -10
- package/dist/{deliver-BwcK0QD6.js → deliver-BkCYBlzi.js} +5 -5
- package/dist/{deliver-vzAN9mRl.js → deliver-Mqq3tgqB.js} +5 -5
- package/dist/{deliver-ccf_boim.js → deliver-RwovDEDy.js} +2 -2
- package/dist/{deliver-Cl2fWxx4.js → deliver-izdrXPr4.js} +1 -1
- package/dist/{deps-B6QYsl_-.js → deps-bCHNuszw.js} +1 -1
- package/dist/{devices-cli-DN3SH89Z.js → devices-cli-D6xXc9Ym.js} +6 -6
- package/dist/{devices-cli-BXaodSI7.js → devices-cli-IMv-0zor.js} +3 -3
- package/dist/{diagnostics-nLP2i_BY.js → diagnostics-DxdqTfpW.js} +5 -5
- package/dist/{directory-cli-cK6CHm4W.js → directory-cli-3wlYB9In.js} +1 -1
- package/dist/{directory-cli-B72WzWuP.js → directory-cli-ClbYhd6z.js} +3 -3
- package/dist/{dm-policy-shared-DiZ3lMtl.js → dm-policy-shared-5HLej1br.js} +1 -1
- package/dist/{dns-cli-DPO4AuUq.js → dns-cli-CY2voLuR.js} +3 -3
- package/dist/{dns-cli-D6uc55C9.js → dns-cli-CoVIqRWx.js} +1 -1
- package/dist/{docs-cli-C2BEC5yU.js → docs-cli-DjQ3SvBq.js} +1 -1
- package/dist/{doctor-completion-Cvu8koMQ.js → doctor-completion-B8cqL1A0.js} +2 -2
- package/dist/{doctor-completion-DwrIExJJ.js → doctor-completion-BqbhVdbe.js} +1 -1
- package/dist/{doctor-config-flow-Cu1ZuFHd.js → doctor-config-flow-CYDx1U0Z.js} +9 -9
- package/dist/{doctor-config-flow-BayEnbIy.js → doctor-config-flow-wvoEFNeZ.js} +2 -2
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-cli-BN5OFwrg.js → exec-approvals-cli-B_P-1zVp.js} +13 -13
- package/dist/{exec-approvals-cli-BI9yAGI5.js → exec-approvals-cli-Dy1jvh2M.js} +5 -5
- package/dist/extensionAPI.js +6 -6
- package/dist/{fs-safe-DjAKGGJ8.js → fs-safe-B6nMaZqV.js} +6 -6
- package/dist/{gateway-cli-C_wDspkm.js → gateway-cli-DYJxZ5dh.js} +377 -9751
- package/dist/{gateway-cli-uquFQTQW.js → gateway-cli-DfRlFuH-.js} +334 -9708
- package/dist/{gateway-rpc-B5_ZCiHW.js → gateway-rpc-C1xjWlxu.js} +1 -1
- package/dist/{gateway-rpc-fQLZhzRK.js → gateway-rpc-DD_aXogj.js} +1 -1
- package/dist/glass-ui-ws-BNJkhJrL.js +346 -0
- package/dist/glass-ui-ws-BZvH4MBO.js +341 -0
- package/dist/{health-DUulgHFK.js → health-D8cKia4i.js} +5 -61
- package/dist/{health-D2CsIdFz.js → health-DdzNc1yA.js} +4 -60
- package/dist/{hooks-cli-6UBBpeAz.js → hooks-cli-DkP3Y4ou.js} +58 -58
- package/dist/{hooks-cli-C6XdXNdl.js → hooks-cli-qO421UdO.js} +26 -26
- package/dist/{hooks-status-DGjgoBZt.js → hooks-status-COU9Cw9_.js} +1 -1
- package/dist/{hooks-status-BQAuzmwT.js → hooks-status-uaFS2SUa.js} +1 -1
- package/dist/{image-ops-c7_of0HT.js → image-ops-C-gIIp7Q.js} +10 -10
- package/dist/index.js +49 -49
- package/dist/{inspect-op0Ov-v4.js → inspect-BDzd6yBs.js} +4 -4
- package/dist/{install-safe-path-B73BkVO3.js → install-safe-path-CQXx3s9R.js} +11 -11
- package/dist/{installs-BzgwvqqQ.js → installs-DhSLZRT7.js} +10 -10
- package/dist/{internal-C3o_xyzP.js → internal-CHnZdvRy.js} +9 -9
- package/dist/{lifecycle-core-BmGPBj_P.js → lifecycle-core-BEmljRfh.js} +5 -5
- package/dist/{lifecycle-core-Dark4HHr.js → lifecycle-core-uN2bsrZs.js} +2 -2
- package/dist/llm-slug-generator.js +7 -7
- package/dist/{local-roots-CUKhHNCV.js → local-roots-BnDnugq3.js} +1 -1
- package/dist/{logs-cli-Dg7J424l.js → logs-cli-BB0Mq8D1.js} +4 -4
- package/dist/{logs-cli-BXBN6_Kf.js → logs-cli-Dbmzz8m_.js} +7 -7
- package/dist/{manager-WHZtXzz0.js → manager-BD_cpL9b.js} +1 -1
- package/dist/{manager-tYTYy-pH.js → manager-BQaZlWzK.js} +1 -1
- package/dist/{manager-C_5p8DxF.js → manager-DOiW-Koo.js} +14 -14
- package/dist/{manager-DOfc0hW0.js → manager-MbrGCH4o.js} +1 -1
- package/dist/{memory-CjpS9o50.js → memory-Cl4I_45k.js} +4 -4
- package/dist/{memory-cli-CbV91o_X.js → memory-cli-CszP57Ee.js} +3 -3
- package/dist/{memory-cli-4vj-LpgO.js → memory-cli-DkD_OD70.js} +12 -12
- package/dist/{memory-BZPO-RoX.js → memory-kIYeV9aO.js} +5 -5
- package/dist/{model-CbRy_3xW.js → model-BRcKPW49.js} +1 -1
- package/dist/{model-catalog-Ba4R_zVe.js → model-catalog-C2rNhRI4.js} +2 -2
- package/dist/{model-catalog-BrW9BL1p.js → model-catalog-CaGfL-2g.js} +4 -4
- package/dist/{model-picker-DAOOfQUH.js → model-picker-4NUXHy8M.js} +2 -2
- package/dist/{model-picker-UrQQVAuN.js → model-picker-CV56GE8A.js} +3 -3
- package/dist/{models-EthIDORJ.js → models-BYi0Fo1a.js} +13 -13
- package/dist/{models-cli-BRnmApgY.js → models-cli-Bn9M1TgO.js} +55 -55
- package/dist/{models-cli-DSW-aLCj.js → models-cli-EdjvkvFO.js} +29 -29
- package/dist/{models-config-Dh1tABIl.js → models-config-Unnduxgs.js} +7 -7
- package/dist/{models-config-C2OLw8vc.js → models-config-yKxNCn4V.js} +1 -1
- package/dist/{node-cli-DXCDRV3y.js → node-cli-39H0MZ8q.js} +28 -28
- package/dist/{node-cli-SMqarSas.js → node-cli-C8FYMIjN.js} +12 -12
- package/dist/{node-service-n6G8Ybbk.js → node-service-tPO_yUk7.js} +1 -1
- package/dist/{nodes-cli-Fyv-oG6A.js → nodes-cli-C-03nIJ0.js} +10 -10
- package/dist/{nodes-cli-BpG8jU6q.js → nodes-cli-CqxQexTU.js} +4 -4
- package/dist/{nodes-screen-CT94yu_w.js → nodes-screen-JELuBMBi.js} +4 -4
- package/dist/{npm-registry-spec-B8X06AqB.js → npm-registry-spec-BXw_6vF6.js} +9 -9
- package/dist/{onboard-CLSFAKKt.js → onboard-_3W1qIFk.js} +13 -13
- package/dist/{onboard-channels-LkgOp2vs.js → onboard-channels-B2l6OoMg.js} +1 -1
- package/dist/{onboard-channels-DqhDDHZ3.js → onboard-channels-D_uUQbem.js} +4 -4
- package/dist/{onboard-custom-BRFhBogJ.js → onboard-custom-B2fJvyxt.js} +3 -3
- package/dist/{onboard-custom-BD_6SIA8.js → onboard-custom-DcZ2SEUv.js} +2 -2
- package/dist/{onboard-helpers-C5YryU1N.js → onboard-helpers-Bm-oyLWy.js} +2 -2
- package/dist/{onboard-helpers-wgkj6qF2.js → onboard-helpers-CHfdRdZR.js} +8 -8
- package/dist/{onboard-hooks-CknstfLG.js → onboard-hooks-DBYkemjF.js} +3 -3
- package/dist/{onboard-hooks-DotvaUqG.js → onboard-hooks-DgRzMz0E.js} +2 -2
- package/dist/{onboard-CEyd79t_.js → onboard-kDOde8WJ.js} +16 -16
- package/dist/{onboard-remote-DR9mcFjZ.js → onboard-remote-ecyetiyL.js} +1 -1
- package/dist/{onboard-remote-B5rlIYUq.js → onboard-remote-z8XLK4M0.js} +1 -1
- package/dist/{onboard-skills-_6kHqhHz.js → onboard-skills-BLvL0KPR.js} +4 -4
- package/dist/{onboard-skills-5rA5bRSG.js → onboard-skills-C53RGq_5.js} +2 -2
- package/dist/{onboarding-CJuG6AyD.js → onboarding-BJ27gXxY.js} +15 -15
- package/dist/{onboarding-CREA0oQK.js → onboarding-CXaQnqxR.js} +16 -16
- package/dist/{onboarding.finalize-CkgL8Zde.js → onboarding.finalize-CSgYg74M.js} +32 -32
- package/dist/{onboarding.finalize-7iPylQyi.js → onboarding.finalize-CsyhJcuq.js} +19 -19
- package/dist/{onboarding.gateway-config-DtNG0As8.js → onboarding.gateway-config-3JMN1xRf.js} +9 -9
- package/dist/{onboarding.gateway-config-BzM2v2U5.js → onboarding.gateway-config-Ft3f6Jba.js} +6 -6
- package/dist/{openai-model-default-CSl0PZzK.js → openai-model-default-BVPmAuXK.js} +1 -1
- package/dist/{openai-model-default-DeTAMJKz.js → openai-model-default-CDDFpxUr.js} +2 -2
- package/dist/{outbound-send-deps-CBRh4LsL.js → outbound-send-deps-Dmc3B-LK.js} +1 -1
- package/dist/{pairing-cli-MwIIeBee.js → pairing-cli-B_icqS8Y.js} +1 -1
- package/dist/{pairing-cli-BvP6MoPZ.js → pairing-cli-CJGA4j6G.js} +4 -4
- package/dist/{pairing-store-S9CXOhSG.js → pairing-store-BGf29nPx.js} +1 -1
- package/dist/{pairing-token-DorpwP8O.js → pairing-token-CURbSHdi.js} +7 -7
- package/dist/{paths-DaQrPPet.js → paths-Dc6A9_vI.js} +1 -1
- package/dist/{pi-auth-json-CVwNh4rb.js → pi-auth-json-SHGGQzOL.js} +5 -5
- package/dist/{pi-embedded-B7_uthwZ.js → pi-embedded-8Zh_Y5ur.js} +20 -41
- package/dist/{pi-embedded-helpers-BbBfO9m_.js → pi-embedded-helpers-BwBjqJM5.js} +1 -1
- package/dist/{pi-embedded-helpers-DGW2untm.js → pi-embedded-helpers-CAdI9wJ5.js} +6 -6
- package/dist/{pi-tools.policy--USPnaLr.js → pi-tools.policy-BaRznBvu.js} +2 -2
- package/dist/{pi-tools.policy-BcTgKDG6.js → pi-tools.policy-Dyx3nBmp.js} +3 -3
- package/dist/{plugin-auto-enable-BDPdHiLS.js → plugin-auto-enable-D2TNEv3x.js} +1 -1
- package/dist/{plugin-registry-5aIoUu-O.js → plugin-registry-D7ACpV2Y.js} +2 -2
- package/dist/{plugin-registry-bskbnEuW.js → plugin-registry-d4hMhLLZ.js} +3 -3
- package/dist/plugin-sdk/agents/system-prompt.d.ts +1 -1
- package/dist/plugin-sdk/agents/unified-runner.d.ts +5 -5
- package/dist/plugin-sdk/auto-reply/reply/turn-middleware.d.ts +2 -2
- package/dist/plugin-sdk/channels/plugins/types.adapters.d.ts +1 -21
- package/dist/plugin-sdk/channels/plugins/types.core.d.ts +1 -5
- package/dist/plugin-sdk/channels/plugins/types.d.ts +2 -2
- package/dist/plugin-sdk/channels/plugins/types.plugin.d.ts +1 -2
- package/dist/plugin-sdk/commands/health.d.ts +0 -12
- package/dist/plugin-sdk/config/types.base.d.ts +0 -1
- package/dist/plugin-sdk/config/types.hooks.d.ts +0 -1
- package/dist/plugin-sdk/config/types.tools.d.ts +1 -1
- package/dist/plugin-sdk/config/zod-schema.d.ts +0 -2
- package/dist/plugin-sdk/config/zod-schema.hooks.d.ts +0 -1
- package/dist/plugin-sdk/cron/service/ops.d.ts +0 -1
- package/dist/plugin-sdk/cron/service/state.d.ts +1 -1
- package/dist/plugin-sdk/cron/service/timer.d.ts +0 -1
- package/dist/plugin-sdk/cron/service.d.ts +0 -1
- package/dist/plugin-sdk/cron/types.d.ts +1 -1
- package/dist/plugin-sdk/gateway/protocol/index.d.ts +1 -2
- package/dist/plugin-sdk/gateway/protocol/schema/agent.d.ts +0 -1
- package/dist/plugin-sdk/gateway/protocol/schema/cron.d.ts +3 -3
- package/dist/plugin-sdk/index.js +6 -8
- package/dist/plugin-sdk/plugin-sdk/index.d.ts +1 -1
- package/dist/{plugins-cli-LQUO7D2v.js → plugins-cli-CPf1hMaZ.js} +51 -51
- package/dist/{plugins-cli-DMCWSACj.js → plugins-cli-D1gd8p9T.js} +25 -25
- package/dist/{ports-ChuJYhEL.js → ports-DRHSHvqY.js} +1 -1
- package/dist/{ports-EAVAOFyK.js → ports-DqxP-bXz.js} +2 -2
- package/dist/{program-BgrmtnFn.js → program-BPcy7UBj.js} +31 -31
- package/dist/{program-context-C_uJXnZV.js → program-context-DYS38Clb.js} +39 -39
- package/dist/{prompt-select-styled-B3nTSykf.js → prompt-select-styled-Kgvc0-w2.js} +38 -37
- package/dist/{prompt-select-styled-CuGBQ9LO.js → prompt-select-styled-uUOSg6Qq.js} +20 -19
- package/dist/{provider-auth-helpers-MMYRbW_U.js → provider-auth-helpers-BUC4xGK9.js} +4 -4
- package/dist/{provider-auth-helpers-IsZNkaS0.js → provider-auth-helpers-DpRoNr_8.js} +6 -6
- package/dist/{push-apns-C7t2qAZ6.js → push-apns-Bm39oOO9.js} +4 -4
- package/dist/{push-apns-qCbh6Vhl.js → push-apns-DqmFEcqh.js} +1 -1
- package/dist/{pw-ai-DuPDo_Ia.js → pw-ai-B0-pgbYu.js} +2 -2
- package/dist/{pw-ai-YJhl5L-z.js → pw-ai-B2NuWIL7.js} +7 -7
- package/dist/{pw-ai-Bc5uzn_J.js → pw-ai-BsEf8C15.js} +2 -2
- package/dist/{pw-ai-Tm3pd-HP.js → pw-ai-w6Qalz1W.js} +2 -2
- package/dist/{qmd-manager-CrRvB46v.js → qmd-manager-358OTDns.js} +19 -19
- package/dist/{qr-cli-Bv4zF-WM.js → qr-cli-Cx7DYTSk.js} +1 -1
- package/dist/{qr-cli-D1U-qIkG.js → qr-cli-hPIeUYAT.js} +3 -3
- package/dist/{redact-identifier-QYENCXvy.js → redact-identifier-Cm1VfV7E.js} +1 -1
- package/dist/{register.agent-BblNQlzT.js → register.agent-CCKcgAXs.js} +66 -66
- package/dist/{register.agent-BWcxonR9.js → register.agent-DZuxoC0a.js} +37 -37
- package/dist/register.configure-CJErdFO_.js +129 -0
- package/dist/{register.configure-D0T0kOp7.js → register.configure-JT8T7HO5.js} +41 -41
- package/dist/{register.maintenance-DLJpeuc4.js → register.maintenance-BMswbbSL.js} +66 -66
- package/dist/{register.maintenance-w7sKxODf.js → register.maintenance-CNcd1-Vv.js} +38 -38
- package/dist/{register.message-CXEwBJ1O.js → register.message-CpOXi1rz.js} +45 -45
- package/dist/{register.message-C3dCPjVc.js → register.message-_bfhetTg.js} +25 -25
- package/dist/{register.onboard-DJmVC_6h.js → register.onboard-CRNjEhnQ.js} +19 -19
- package/dist/{register.onboard-B520Ixsd.js → register.onboard-DR2Wu59i.js} +24 -24
- package/dist/{register.setup-BTse4F3a.js → register.setup-Crrj2t2B.js} +26 -26
- package/dist/{register.setup-Br-aZ0qD.js → register.setup-Dbe-Z2xu.js} +18 -18
- package/dist/{register.status-health-sessions-Dbizirr2.js → register.status-health-sessions-DZnebsxZ.js} +38 -38
- package/dist/{register.status-health-sessions-4dxLj6hJ.js → register.status-health-sessions-DmX0DLAt.js} +22 -22
- package/dist/{register.subclis-CSJZQox4.js → register.subclis-BRPnstmu.js} +28 -28
- package/dist/{replies-CbipVshj.js → replies-B2O2eRh6.js} +1 -1
- package/dist/{replies-CH1VlYZQ.js → replies-Bnh0owwH.js} +1 -1
- package/dist/{replies-DIWartyA.js → replies-DIHkSwoW.js} +1 -1
- package/dist/{replies-CjSfYK97.js → replies-DU-fXkSk.js} +1 -1
- package/dist/{reply-prefix-DZQBodKF.js → reply-prefix-BOdARKaY.js} +1 -1
- package/dist/{resolve-route-BbUl3Hi7.js → resolve-route-CRWE36h5.js} +1 -1
- package/dist/{routes-DiqMB1cp.js → routes-BMShi_eY.js} +10 -10
- package/dist/{routes-CWYyvbxi.js → routes-Cio8is5Y.js} +3 -3
- package/dist/{rpc-DLfjbTSu.js → rpc-CEhoSTGo.js} +1 -1
- package/dist/{rpc-BcPBUUXl.js → rpc-D0Ldc6Hv.js} +1 -1
- package/dist/{run-main-DISYU1dh.js → run-main-CMQVjdht.js} +41 -41
- package/dist/{sandbox-B6P9-J8g.js → sandbox-B4RfQ7k1.js} +5 -5
- package/dist/{sandbox-DPn-s_K5.js → sandbox-C-UeHmuJ.js} +18 -18
- package/dist/{sandbox-cli-bOFig9Jd.js → sandbox-cli-B43FqqPT.js} +6 -6
- package/dist/{sandbox-cli-Bl5CMRjH.js → sandbox-cli-CNAPNXJ4.js} +13 -13
- package/dist/{security-cli-DuxEuSGr.js → security-cli-BSd8_Gsq.js} +28 -28
- package/dist/{security-cli-C7LBaB0e.js → security-cli-DDM0Z6IW.js} +11 -11
- package/dist/{send-6IYv-yRp.js → send-CGXxBSKh.js} +1 -1
- package/dist/{send-CYJucYob.js → send-DSK6O8SC.js} +7 -7
- package/dist/{send-C3ZXgOXw.js → send-EluKytgO.js} +1 -1
- package/dist/{server-context-Vd9sEFb9.js → server-context-CDTuNR-O.js} +5 -5
- package/dist/{server-context-BUbuOgNz.js → server-context-DFO6o83F.js} +5 -5
- package/dist/server-methods-Dz6NGEg3.js +9414 -0
- package/dist/server-methods-vp5zi6v5.js +9416 -0
- package/dist/{server-node-events-BH4-UlAH.js → server-node-events-4ufB_olv.js} +26 -26
- package/dist/{server-node-events-7ToqdaU5.js → server-node-events-B7UtUhkC.js} +46 -46
- package/dist/{service-9ItKCWWS.js → service-AP9pR9R5.js} +15 -15
- package/dist/session-dirs-Chh7bBGo.js +18 -0
- package/dist/session-dirs-Sl_x6tjD.js +18 -0
- package/dist/{session-utils-CqSXwGYa.js → session-utils-CgGDr4eh.js} +14 -14
- package/dist/{session-utils-CJfEkQQQ.js → session-utils-D1VcHni_.js} +5 -5
- package/dist/{sessions-BHrlpR92.js → sessions-BNEDanZO.js} +1 -1
- package/dist/{sessions-DorP6zY8.js → sessions-Dh88Kqd6.js} +11 -11
- package/dist/{sessions-Chjdz1Gx.js → sessions-iLfSd6VD.js} +3 -3
- package/dist/{shared-B-64oefu.js → shared-CIeW3aWF.js} +1 -1
- package/dist/{shared-ot5_jkpP.js → shared-DmYHvtn2.js} +1 -1
- package/dist/{shared-Z3KjnA8n.js → shared-_wwqvx84.js} +3 -3
- package/dist/{skill-commands-RbglvrSW.js → skill-commands-5QB5E8bv.js} +4 -4
- package/dist/{skill-scanner-CZK0TG9g.js → skill-scanner-YF2jR4RY.js} +5 -5
- package/dist/{skills-DS1Vdylm.js → skills-Bmjf5nFv.js} +4 -4
- package/dist/{skills-cli-DbhEEC78.js → skills-cli-BJDvUT_e.js} +1 -1
- package/dist/{skills-cli-BmIb-9--.js → skills-cli-Byp9MfZh.js} +7 -7
- package/dist/{skills-install-DcX1Txvp.js → skills-install-BB27sD4d.js} +3 -3
- package/dist/{skills-remote-BDSyRdyX.js → skills-remote-CqwR3Zvp.js} +3 -3
- package/dist/{skills-status-F7nlolZZ.js → skills-status-BNDqwHkP.js} +1 -1
- package/dist/{sqlite-BUXBg2yu.js → sqlite-DBEvS-Ne.js} +5 -5
- package/dist/{ssrf-CJor4ewC.js → ssrf-CBajKNWO.js} +0 -2
- package/dist/{ssrf-BzPY2FrA.js → ssrf-CeQ2Aub-.js} +0 -2
- package/dist/{status-CR4VgVZ0.js → status-B0HecH1s.js} +3 -3
- package/dist/{status-dHYcVtbb.js → status-BD8gFYKH.js} +14 -45
- package/dist/{status-Hf__QNbH.js → status-DEXnB1sw.js} +26 -57
- package/dist/{status-CeaJlVQK.js → status-MMLxoRgQ.js} +2 -2
- package/dist/{status.update-lna4Lub4.js → status.update-Be8PuHCh.js} +1 -1
- package/dist/{status.update-DOj5ifHZ.js → status.update-CB9e3eWW.js} +3 -3
- package/dist/{subagent-registry-BbQL79Gk.js → subagent-registry-C57PFGHU.js} +30 -46
- package/dist/{symi-root-0MUhiNlM.js → symi-root-DueRHNOE.js} +2 -2
- package/dist/{synthesis-CK0K7wFk.js → synthesis-CjsIBd8X.js} +42 -42
- package/dist/{synthesis-B4G0BnU5.js → synthesis-DSdF0vsi.js} +7 -7
- package/dist/{synthesis-C-IePZG6.js → synthesis-iB7TWRW4.js} +6 -6
- package/dist/{synthesis-DiPl8Usv.js → synthesis-j_kjlFo1.js} +23 -23
- package/dist/system-cli-BM8KbtUc.js +48 -0
- package/dist/system-cli-CQFH_HwX.js +43 -0
- package/dist/{systemd-8KKQdTO_.js → systemd-9LEEqibe.js} +5 -5
- package/dist/{systemd-hints-BefHB3bX.js → systemd-hints-A1W3AdVo.js} +6 -6
- package/dist/{systemd-hints-DQKA3tTS.js → systemd-hints-BejQ6J2Y.js} +1 -1
- package/dist/{systemd-linger-C0-G8yq4.js → systemd-linger-PqG8iGCt.js} +1 -1
- package/dist/{tui-C_yv1hvy.js → tui-B4Pd0T9l.js} +5 -15
- package/dist/{tui-BheB3rbE.js → tui-DBrpAw57.js} +7 -17
- package/dist/{tui-cli-D7wYLESM.js → tui-cli-B-obcHoZ.js} +10 -10
- package/dist/{tui-cli-BDcU-VgA.js → tui-cli-tbUaY-Pu.js} +19 -19
- package/dist/{unified-runner-BSdnT6eM.js → unified-runner-BNt7TQKM.js} +18 -39
- package/dist/{unified-runner-D6p4N2vu.js → unified-runner-DCiPB--z.js} +104 -120
- package/dist/{update-Djvyvehx.js → update-CjZgU686.js} +3 -3
- package/dist/{update-check-BdSIMYWq.js → update-check-CZxZhEXr.js} +5 -5
- package/dist/{update-cli-BmQuYKTw.js → update-cli-CUgElk5d.js} +42 -42
- package/dist/{update-cli-CwznFR5g.js → update-cli-Mpq0iwGk.js} +76 -76
- package/dist/{session-dirs-DONOhYc3.js → update-runner-Dq5UYQbo.js} +16 -30
- package/dist/{session-dirs-6atzU47U.js → update-runner-ENJw0Mco.js} +2 -16
- package/dist/{webhooks-cli-D_wAaLOU.js → webhooks-cli-Clx8DGfA.js} +5 -5
- package/dist/{webhooks-cli-B2_nrbvn.js → webhooks-cli-UfO_WffC.js} +2 -2
- package/dist/{with-timeout-CAUWEPmp.js → with-timeout-BE7lxhxW.js} +1 -1
- package/dist/{with-timeout-BhDKgIeU.js → with-timeout-BcL6qAbd.js} +1 -1
- package/dist/{workspace-dirs-QmSWJptJ.js → workspace-dirs-D5OnUmvw.js} +1 -1
- package/dist/{wsl-DO9usEVV.js → wsl-ZWGwnnKI.js} +2 -2
- package/package.json +1 -1
- package/dist/register.configure-BJ7xtOUZ.js +0 -129
- package/dist/system-cli-BKp2K0sb.js +0 -85
- package/dist/system-cli-C9uTFA4c.js +0 -80
- /package/dist/{agents.config-gkq5o5Hy.js → agents.config-D7cHU-OU.js} +0 -0
- /package/dist/{auth-choice-legacy-DlTku0W1.js → auth-choice-legacy-CsjluQCN.js} +0 -0
- /package/dist/{auth-choice-legacy-y8ZXjhDq.js → auth-choice-legacy-D9WcUI_J.js} +0 -0
- /package/dist/{auth-token-2yjfGFTo.js → auth-token-Brb1Askz.js} +0 -0
- /package/dist/{consolidate-CTKMVS1l.js → consolidate-D1GUJ5qq.js} +0 -0
- /package/dist/{dm-policy-shared-BcYwq7H9.js → dm-policy-shared-CSF4Tw_F.js} +0 -0
- /package/dist/{format-CUJQOEUj.js → format-BGzoTHhD.js} +0 -0
- /package/dist/{format-Cj8gNX2r.js → format-C-0EAOjI.js} +0 -0
- /package/dist/{gmail-setup-utils-C5QXoiTl.js → gmail-setup-utils-B1BYpISg.js} +0 -0
- /package/dist/{gmail-setup-utils-DO0-mXYp.js → gmail-setup-utils-fA1VaWLv.js} +0 -0
- /package/dist/{health-format-BQdYy0nL.js → health-format-39e76m9p.js} +0 -0
- /package/dist/{health-format-OIqaDZ2V.js → health-format-DaP03FBk.js} +0 -0
- /package/dist/{ipv4-CFw4fYIH.js → ipv4-CfVqgiTN.js} +0 -0
- /package/dist/{ipv4-DBwTCOBu.js → ipv4-DK4xoUQ-.js} +0 -0
- /package/dist/{logging-BA2NbxMy.js → logging-B96FQvnn.js} +0 -0
- /package/dist/{logging-Dt9kBzoO.js → logging-BeA4q4J_.js} +0 -0
- /package/dist/{model-param-b-CErLzOT8.js → model-param-b-B34yvxBN.js} +0 -0
- /package/dist/{model-param-b-DnsFCAGo.js → model-param-b-CmgmcGoJ.js} +0 -0
- /package/dist/{node-service-B7zf4WFE.js → node-service-DDDCEDdv.js} +0 -0
- /package/dist/{onboard-config-CIBKQuYV.js → onboard-config-Barp7MT9.js} +0 -0
- /package/dist/{onboard-config-D6L72_zg.js → onboard-config-DQkZqcyq.js} +0 -0
- /package/dist/{outbound-send-deps-pzO0D6kV.js → outbound-send-deps-BpziI1pC.js} +0 -0
- /package/dist/{ports-B3NnaSHu.js → ports-BAzQoIw0.js} +0 -0
- /package/dist/{qmd-manager-CX0jtKS5.js → qmd-manager--kGuC39q.js} +0 -0
- /package/dist/{skills-install-Q5hgZITy.js → skills-install-BzqoHn0x.js} +0 -0
- /package/dist/{system-run-command-XG1_P_la.js → system-run-command-QikSIqYG.js} +0 -0
- /package/dist/{systemd-linger-CoyAJEZx.js → systemd-linger-BM4qvprK.js} +0 -0
- /package/dist/{update-CbkItCeC.js → update-C1rkPV1C.js} +0 -0
- /package/dist/{workspace-2m2BLIbx.js → workspace-B3sO7QlN.js} +0 -0
- /package/dist/{workspace-CxAs2tsz.js → workspace-Bb1HX2I0.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Dt as escapeRegExp, Mt as resolveConfigDir } from "./entry.js";
|
|
2
2
|
import { B as resolveAllowlistModelKey, Ut as DEFAULT_PROVIDER } from "./auth-profiles-Bs5D0GUv.js";
|
|
3
3
|
import { n as fetchWithTimeout } from "./fetch-timeout-PV2_ySyb.js";
|
|
4
|
-
import { St as ZAI_GLOBAL_BASE_URL, bt as ZAI_CODING_CN_BASE_URL, xt as ZAI_CODING_GLOBAL_BASE_URL, yt as ZAI_CN_BASE_URL } from "./auth-token-
|
|
4
|
+
import { St as ZAI_GLOBAL_BASE_URL, bt as ZAI_CODING_CN_BASE_URL, xt as ZAI_CODING_GLOBAL_BASE_URL, yt as ZAI_CN_BASE_URL } from "./auth-token-Brb1Askz.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as escapeRegExp, p as resolveConfigDir } from "./utils-BU8jVQFM.js";
|
|
2
|
-
import { B as resolveAllowlistModelKey, Ut as DEFAULT_PROVIDER } from "./auth-profiles-
|
|
2
|
+
import { B as resolveAllowlistModelKey, Ut as DEFAULT_PROVIDER } from "./auth-profiles-BFSVvFKy.js";
|
|
3
3
|
import { n as fetchWithTimeout } from "./fetch-timeout-CgmRK282.js";
|
|
4
|
-
import { St as ZAI_GLOBAL_BASE_URL, bt as ZAI_CODING_CN_BASE_URL, xt as ZAI_CODING_GLOBAL_BASE_URL, yt as ZAI_CN_BASE_URL } from "./auth-token-
|
|
4
|
+
import { St as ZAI_GLOBAL_BASE_URL, bt as ZAI_CODING_CN_BASE_URL, xt as ZAI_CODING_GLOBAL_BASE_URL, yt as ZAI_CN_BASE_URL } from "./auth-token-SebYuqfR.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//#region src/cli/deps.ts
|
|
2
2
|
function createDefaultDeps() {
|
|
3
3
|
return { sendMessageSlack: async (...args) => {
|
|
4
|
-
const { sendMessageSlack } = await import("./send-
|
|
4
|
+
const { sendMessageSlack } = await import("./send-EluKytgO.js").then((n) => n.n);
|
|
5
5
|
return await sendMessageSlack(...args);
|
|
6
6
|
} };
|
|
7
7
|
}
|
|
@@ -5,7 +5,7 @@ import "./exec-B6oWJSJW.js";
|
|
|
5
5
|
import "./agent-scope-B6p555mP.js";
|
|
6
6
|
import "./github-copilot-token-a6a53zx_.js";
|
|
7
7
|
import "./manifest-registry-DJcKcUQ9.js";
|
|
8
|
-
import { i as loadConfig } from "./config-
|
|
8
|
+
import { i as loadConfig } from "./config-igdtSRrZ.js";
|
|
9
9
|
import { r as normalizeChannelId } from "./plugins-Bq-Msc8Z.js";
|
|
10
10
|
import { c as listPairingChannels, l as notifyPairingApproved, n as approveChannelPairingCode, r as listChannelPairingRequests, s as getPairingAdapter } from "./pairing-store-CtBnCGHZ.js";
|
|
11
11
|
import { t as formatDocsLink } from "./links-Db3Rw0Tg.js";
|
|
@@ -2,17 +2,17 @@ import { j as theme } from "./registry-DKJLAPDB.js";
|
|
|
2
2
|
import "./paths-BSzKwaxE.js";
|
|
3
3
|
import "./utils-BU8jVQFM.js";
|
|
4
4
|
import { f as defaultRuntime } from "./subsystem-CtH6J8AV.js";
|
|
5
|
-
import "./auth-profiles-
|
|
5
|
+
import "./auth-profiles-BFSVvFKy.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-BvAkTjTI.js";
|
|
7
7
|
import "./exec-DKyLtSjm.js";
|
|
8
|
-
import "./agent-scope-
|
|
8
|
+
import "./agent-scope-DIjW66iO.js";
|
|
9
9
|
import "./github-copilot-token-BTNK6Tcd.js";
|
|
10
10
|
import "./boolean-Wzu0-e0P.js";
|
|
11
11
|
import "./env-B97Ms861.js";
|
|
12
|
-
import { i as loadConfig } from "./config-
|
|
12
|
+
import { i as loadConfig } from "./config-DqMsGcSQ.js";
|
|
13
13
|
import "./manifest-registry-D_LsBSyt.js";
|
|
14
14
|
import { r as normalizeChannelId } from "./plugins-DuuHorqi.js";
|
|
15
|
-
import { c as listPairingChannels, l as notifyPairingApproved, n as approveChannelPairingCode, r as listChannelPairingRequests, s as getPairingAdapter } from "./pairing-store-
|
|
15
|
+
import { c as listPairingChannels, l as notifyPairingApproved, n as approveChannelPairingCode, r as listChannelPairingRequests, s as getPairingAdapter } from "./pairing-store-BGf29nPx.js";
|
|
16
16
|
import { t as formatDocsLink } from "./links-CSaUKNKm.js";
|
|
17
17
|
import { t as renderTable } from "./table-DkAQzCOR.js";
|
|
18
18
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as resolveStateDir, m as resolveOAuthDir, y as resolveRequiredHomeDir } from "./paths-BSzKwaxE.js";
|
|
2
2
|
import { g as safeParseJson } from "./utils-BU8jVQFM.js";
|
|
3
|
-
import { E as withFileLock$1 } from "./auth-profiles-
|
|
3
|
+
import { E as withFileLock$1 } from "./auth-profiles-BFSVvFKy.js";
|
|
4
4
|
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-DuuHorqi.js";
|
|
5
5
|
import crypto from "node:crypto";
|
|
6
6
|
import path from "node:path";
|
|
@@ -2,12 +2,12 @@ import { g as resolveStateDir } from "./paths-BSzKwaxE.js";
|
|
|
2
2
|
import { t as safeEqualSecret } from "./secret-equal-D1BCVB1D.js";
|
|
3
3
|
import { randomBytes, randomUUID } from "node:crypto";
|
|
4
4
|
import path from "node:path";
|
|
5
|
-
import
|
|
5
|
+
import fs from "node:fs/promises";
|
|
6
6
|
|
|
7
7
|
//#region src/infra/json-files.ts
|
|
8
8
|
async function readJsonFile(filePath) {
|
|
9
9
|
try {
|
|
10
|
-
const raw = await
|
|
10
|
+
const raw = await fs.readFile(filePath, "utf8");
|
|
11
11
|
return JSON.parse(raw);
|
|
12
12
|
} catch {
|
|
13
13
|
return null;
|
|
@@ -16,15 +16,15 @@ async function readJsonFile(filePath) {
|
|
|
16
16
|
async function writeJsonAtomic(filePath, value, options) {
|
|
17
17
|
const mode = options?.mode ?? 384;
|
|
18
18
|
const dir = path.dirname(filePath);
|
|
19
|
-
await
|
|
19
|
+
await fs.mkdir(dir, { recursive: true });
|
|
20
20
|
const tmp = `${filePath}.${randomUUID()}.tmp`;
|
|
21
|
-
await
|
|
21
|
+
await fs.writeFile(tmp, JSON.stringify(value, null, 2), "utf8");
|
|
22
22
|
try {
|
|
23
|
-
await
|
|
23
|
+
await fs.chmod(tmp, mode);
|
|
24
24
|
} catch {}
|
|
25
|
-
await
|
|
25
|
+
await fs.rename(tmp, filePath);
|
|
26
26
|
try {
|
|
27
|
-
await
|
|
27
|
+
await fs.chmod(filePath, mode);
|
|
28
28
|
} catch {}
|
|
29
29
|
}
|
|
30
30
|
function createAsyncLock() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { B as resolvePreferredSymiTmpDir } from "./registry-DKJLAPDB.js";
|
|
2
|
-
import { n as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-
|
|
2
|
+
import { n as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-B6nMaZqV.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
|
|
5
5
|
//#region src/browser/paths.ts
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { L as normalizeProviderId, Tt as normalizeOptionalSecretInput, b as ensureAuthProfileStore } from "./auth-profiles-
|
|
2
|
+
import { L as normalizeProviderId, Tt as normalizeOptionalSecretInput, b as ensureAuthProfileStore } from "./auth-profiles-BFSVvFKy.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fs from "node:fs/promises";
|
|
5
5
|
|
|
6
6
|
//#region src/agents/pi-auth-json.ts
|
|
7
7
|
var pi_auth_json_exports = /* @__PURE__ */ __exportAll({ ensurePiAuthJsonFromAuthProfiles: () => ensurePiAuthJsonFromAuthProfiles });
|
|
8
8
|
async function readAuthJson(filePath) {
|
|
9
9
|
try {
|
|
10
|
-
const raw = await
|
|
10
|
+
const raw = await fs.readFile(filePath, "utf8");
|
|
11
11
|
const parsed = JSON.parse(raw);
|
|
12
12
|
if (!parsed || typeof parsed !== "object") return {};
|
|
13
13
|
return parsed;
|
|
@@ -118,11 +118,11 @@ async function ensurePiAuthJsonFromAuthProfiles(agentDir, options) {
|
|
|
118
118
|
wrote: false,
|
|
119
119
|
authPath
|
|
120
120
|
};
|
|
121
|
-
await
|
|
121
|
+
await fs.mkdir(agentDir, {
|
|
122
122
|
recursive: true,
|
|
123
123
|
mode: 448
|
|
124
124
|
});
|
|
125
|
-
await
|
|
125
|
+
await fs.writeFile(authPath, `${JSON.stringify(existing, null, 2)}\n`, { mode: 384 });
|
|
126
126
|
return {
|
|
127
127
|
wrote: true,
|
|
128
128
|
authPath
|
|
@@ -9,14 +9,14 @@ import { i as resolveAckReaction, o as resolveEffectiveMessagesConfig, r as reso
|
|
|
9
9
|
import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-BbsJ0Qbo.js";
|
|
10
10
|
import { t as normalizeChatType } from "./chat-type-C_KiWNAH.js";
|
|
11
11
|
import { i as resolveSlackAccount, n as listChannelPlugins, o as resolveSlackAppToken, r as normalizeChannelId$1, s as resolveSlackBotToken, t as getChannelPlugin } from "./plugins-Cp39v6b_.js";
|
|
12
|
-
import { S as resolveSlackChannelId, _ as resolveSlackWebClientOptions, a as sendMessageSlack, b as buildSlackBlocksFallbackText, c as getDefaultLocalRoots, d as fetchRemoteMedia, f as readResponseWithLimit, g as createSlackWebClient, h as fetchWithTimeout, i as resolveSlackThreadTs, l as loadWebMedia, m as bindAbortRelay, n as deliverReplies, o as renderMarkdownWithMarkers, p as fetchWithSsrFGuard, s as markdownToIRWithMeta, t as createSlackReplyDeliveryPlan, u as MediaFetchError, v as parseSlackBlocksInput, x as parseSlackTarget, y as validateSlackBlocksArray } from "./replies-
|
|
13
|
-
import { $ as loadSessionStore, $t as resolveToolProfilePolicy, A as formatRawAssistantErrorForUi, At as resolveMainSessionKey, B as isRateLimitAssistantError, Bt as saveMediaBuffer, C as downgradeOpenAIReasoningBlocks, Ct as resolveChannelResetConfig, D as classifyFailoverReason, Dt as DEFAULT_RESET_TRIGGERS, E as BILLING_ERROR_USER_MESSAGE, Et as resolveThreadFlag, F as isCompactionFailureError, Ft as createBrowserRouteContext, G as parseImageSizeError, Gt as resolveBrowserControlAuth, H as isTimeoutErrorMessage, Ht as resolveExistingPathsWithinRoot, I as isContextOverflowError, It as registerBrowserRoutes, J as resolveSandboxContext, Jt as collectExplicitAllowlist, K as sanitizeUserFacingText, Kt as applyOwnerOnlyToolPolicy, L as isFailoverAssistantError, Lt as resolveBrowserConfig, M as isAuthAssistantError, Mt as resolveGroupSessionKey, N as isBillingAssistantError, Nt as acquireSessionWriteLock, O as formatAssistantErrorText, Ot as resolveFreshSessionTotalTokens, P as isCloudCodeAssistFormatError, Pt as resolveSessionLockMaxHoldFromTimeout, Q as resolveAndPersistSessionFile, Qt as normalizeToolName$1, R as isFailoverErrorMessage, Rt as resolveProfile, S as extractToolResultId, St as evaluateSessionFreshness, T as isGoogleModelApi, Tt as resolveSessionResetType, U as isTransientHttpError, Ut as getBridgeAuthForPort, V as isRawApiErrorPayload, Vt as DEFAULT_UPLOAD_DIR, W as parseImageDimensionError, Wt as ensureBrowserControlAuth, X as extractDeliveryInfo, Xt as expandToolGroups, Y as resolveSandboxRuntimeStatus, Yt as expandPolicyWithPluginGroups, Z as appendAssistantMessageToSessionTranscript, Zt as mergeAlsoAllowPolicy, _ as sanitizeSessionMessagesImages, _t as INPUT_PROVENANCE_KIND_VALUES, a as normalizeChannelTargetInput, an as resolveBootstrapMaxChars, at as updateSessionStoreEntry, b as resolveImageSanitizationLimits, bt as normalizeInputProvenance, c as parseReplyDirectives, cn as getGlobalHookRunner, ct as deliveryContextFromSession, d as parseInlineDirectives$1, dt as normalizeDeliveryContext, en as stripPluginOnlyAllowlist, et as readSessionUpdatedAt, f as validateAnthropicTurns, ft as normalizeSessionDeliveryFields, g as normalizeTextForComparison, gt as extractToolCallNames, h as isMessagingToolDuplicateNormalized, ht as countToolResults, i as buildTargetResolverSignature, in as ensureSessionHeader, it as updateSessionStore, j as getApiErrorPayloadFingerprint, jt as deriveSessionMetaPatch, k as formatBillingErrorMessage, kt as canonicalizeMainSessionAlias, l as MEDIA_TOKEN_RE, ln as initializeGlobalHookRunner, lt as deliveryContextKey, m as pickFallbackThinkingLevel, mt as capArrayByJsonBytes, nn as matchesAnyGlobPattern, o as normalizeTargetForProvider, on as resolveBootstrapTotalMaxChars, ot as isCacheEnabled, p as validateGeminiTurns, pt as archiveSessionTranscripts, q as ensureSandboxWorkspaceForSession, qt as buildPluginToolGroups, r as normalizeReplyPayloadsForDelivery, rn as buildBootstrapContextFiles, rt as updateLastRoute, s as throwIfAborted, sn as sanitizeGoogleTurnOrdering, st as resolveCacheTtlMs$1, t as deliverOutboundPayloads, tn as compileGlobPatterns, tt as recordSessionMetaFromInbound, u as splitMediaFromOutput, ut as mergeDeliveryContext, v as sanitizeImageBlocks, vt as applyInputProvenanceToUserMessage, w as isAntigravityClaude, wt as resolveSessionResetPolicy, x as extractToolCallsFromAssistant, xt as resolveSessionKey, y as sanitizeToolResultImages, yt as hasInterSessionUserProvenance, z as isLikelyContextOverflowError, zt as getMediaDir } from "./deliver-
|
|
12
|
+
import { S as resolveSlackChannelId, _ as resolveSlackWebClientOptions, a as sendMessageSlack, b as buildSlackBlocksFallbackText, c as getDefaultLocalRoots, d as fetchRemoteMedia, f as readResponseWithLimit, g as createSlackWebClient, h as fetchWithTimeout, i as resolveSlackThreadTs, l as loadWebMedia, m as bindAbortRelay, n as deliverReplies, o as renderMarkdownWithMarkers, p as fetchWithSsrFGuard, s as markdownToIRWithMeta, t as createSlackReplyDeliveryPlan, u as MediaFetchError, v as parseSlackBlocksInput, x as parseSlackTarget, y as validateSlackBlocksArray } from "./replies-DU-fXkSk.js";
|
|
13
|
+
import { $ as loadSessionStore, $t as resolveToolProfilePolicy, A as formatRawAssistantErrorForUi, At as resolveMainSessionKey, B as isRateLimitAssistantError, Bt as saveMediaBuffer, C as downgradeOpenAIReasoningBlocks, Ct as resolveChannelResetConfig, D as classifyFailoverReason, Dt as DEFAULT_RESET_TRIGGERS, E as BILLING_ERROR_USER_MESSAGE, Et as resolveThreadFlag, F as isCompactionFailureError, Ft as createBrowserRouteContext, G as parseImageSizeError, Gt as resolveBrowserControlAuth, H as isTimeoutErrorMessage, Ht as resolveExistingPathsWithinRoot, I as isContextOverflowError, It as registerBrowserRoutes, J as resolveSandboxContext, Jt as collectExplicitAllowlist, K as sanitizeUserFacingText, Kt as applyOwnerOnlyToolPolicy, L as isFailoverAssistantError, Lt as resolveBrowserConfig, M as isAuthAssistantError, Mt as resolveGroupSessionKey, N as isBillingAssistantError, Nt as acquireSessionWriteLock, O as formatAssistantErrorText, Ot as resolveFreshSessionTotalTokens, P as isCloudCodeAssistFormatError, Pt as resolveSessionLockMaxHoldFromTimeout, Q as resolveAndPersistSessionFile, Qt as normalizeToolName$1, R as isFailoverErrorMessage, Rt as resolveProfile, S as extractToolResultId, St as evaluateSessionFreshness, T as isGoogleModelApi, Tt as resolveSessionResetType, U as isTransientHttpError, Ut as getBridgeAuthForPort, V as isRawApiErrorPayload, Vt as DEFAULT_UPLOAD_DIR, W as parseImageDimensionError, Wt as ensureBrowserControlAuth, X as extractDeliveryInfo, Xt as expandToolGroups, Y as resolveSandboxRuntimeStatus, Yt as expandPolicyWithPluginGroups, Z as appendAssistantMessageToSessionTranscript, Zt as mergeAlsoAllowPolicy, _ as sanitizeSessionMessagesImages, _t as INPUT_PROVENANCE_KIND_VALUES, a as normalizeChannelTargetInput, an as resolveBootstrapMaxChars, at as updateSessionStoreEntry, b as resolveImageSanitizationLimits, bt as normalizeInputProvenance, c as parseReplyDirectives, cn as getGlobalHookRunner, ct as deliveryContextFromSession, d as parseInlineDirectives$1, dt as normalizeDeliveryContext, en as stripPluginOnlyAllowlist, et as readSessionUpdatedAt, f as validateAnthropicTurns, ft as normalizeSessionDeliveryFields, g as normalizeTextForComparison, gt as extractToolCallNames, h as isMessagingToolDuplicateNormalized, ht as countToolResults, i as buildTargetResolverSignature, in as ensureSessionHeader, it as updateSessionStore, j as getApiErrorPayloadFingerprint, jt as deriveSessionMetaPatch, k as formatBillingErrorMessage, kt as canonicalizeMainSessionAlias, l as MEDIA_TOKEN_RE, ln as initializeGlobalHookRunner, lt as deliveryContextKey, m as pickFallbackThinkingLevel, mt as capArrayByJsonBytes, nn as matchesAnyGlobPattern, o as normalizeTargetForProvider, on as resolveBootstrapTotalMaxChars, ot as isCacheEnabled, p as validateGeminiTurns, pt as archiveSessionTranscripts, q as ensureSandboxWorkspaceForSession, qt as buildPluginToolGroups, r as normalizeReplyPayloadsForDelivery, rn as buildBootstrapContextFiles, rt as updateLastRoute, s as throwIfAborted, sn as sanitizeGoogleTurnOrdering, st as resolveCacheTtlMs$1, t as deliverOutboundPayloads, tn as compileGlobPatterns, tt as recordSessionMetaFromInbound, u as splitMediaFromOutput, ut as mergeDeliveryContext, v as sanitizeImageBlocks, vt as applyInputProvenanceToUserMessage, w as isAntigravityClaude, wt as resolveSessionResetPolicy, x as extractToolCallsFromAssistant, xt as resolveSessionKey, y as sanitizeToolResultImages, yt as hasInterSessionUserProvenance, z as isLikelyContextOverflowError, zt as getMediaDir } from "./deliver-Mqq3tgqB.js";
|
|
14
14
|
import { a as logMessageProcessed, i as logLaneEnqueue, o as logMessageQueued, r as logLaneDequeue, s as logSessionStateChange, t as diag } from "./diagnostic-BvZmqxYI.js";
|
|
15
15
|
import { n as getDiagnosticSessionState } from "./diagnostic-session-state-CWtaDOiK.js";
|
|
16
16
|
import { S as GATEWAY_CLIENT_NAMES, _ as listDeliverableMessageChannels, a as chunkText, b as GATEWAY_CLIENT_IDS, c as resolveChunkMode, d as isSafeFenceBreak, f as parseFenceSpans, g as isMarkdownCapableMessageChannel, h as isInternalMessageChannel, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, m as isDeliverableMessageChannel, o as chunkTextWithMode, p as INTERNAL_MESSAGE_CHANNEL, r as chunkMarkdownText, t as chunkByNewline, u as findFenceSpanAt, v as normalizeMessageChannel, x as GATEWAY_CLIENT_MODES, y as resolveGatewayMessageChannel } from "./chunk-BjnT3w_x.js";
|
|
17
|
-
import { C as unsetConfigValueAtPath, S as setConfigValueAtPath, T as VERSION, _ as resetConfigOverrides, b as getConfigValueAtPath, c as loadConfig, d as writeConfigFile, f as validateConfigObjectWithPlugins, g as getConfigOverrides, h as validateJsonSchemaValue, i as isBlockedHostnameOrIp, l as readConfigFileSnapshot, o as normalizeHostname, p as parseDurationMs, t as SsrFBlockedError, u as resolveConfigSnapshotHash, v as setConfigOverride, w as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, x as parseConfigPath, y as unsetConfigOverride } from "./ssrf-
|
|
17
|
+
import { C as unsetConfigValueAtPath, S as setConfigValueAtPath, T as VERSION, _ as resetConfigOverrides, b as getConfigValueAtPath, c as loadConfig, d as writeConfigFile, f as validateConfigObjectWithPlugins, g as getConfigOverrides, h as validateJsonSchemaValue, i as isBlockedHostnameOrIp, l as readConfigFileSnapshot, o as normalizeHostname, p as parseDurationMs, t as SsrFBlockedError, u as resolveConfigSnapshotHash, v as setConfigOverride, w as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, x as parseConfigPath, y as unsetConfigOverride } from "./ssrf-CBajKNWO.js";
|
|
18
18
|
import { c as normalizePluginsConfig, f as isPathInsideWithRealpath, i as safeStatSync, l as resolveEnableState, n as discoverSymiPlugins, p as isDangerousHostEnvVarName, r as isPathInside, s as applyTestPluginDefaults, t as loadPluginManifestRegistry, u as resolveMemorySlotDecision } from "./manifest-registry-CAWGTwb5.js";
|
|
19
|
-
import { C as rawDataToString, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, T as isSecureWebSocketUrl, x as ensureChromeExtensionRelayServer } from "./chrome-
|
|
19
|
+
import { C as rawDataToString, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, T as isSecureWebSocketUrl, x as ensureChromeExtensionRelayServer } from "./chrome-CPSDqbK6.js";
|
|
20
20
|
import { c as assertSandboxPath, d as resolveSandboxedMediaSource, f as applySkillEnvOverrides, h as parseFrontmatterBlock, i as resolveSkillsPromptForRun, l as resolveSandboxInputPath, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverridesFromSnapshot, r as loadWorkspaceSkillEntries, s as assertMediaNotDataUrl } from "./skills-Bn0f9KTL.js";
|
|
21
21
|
import { n as redactToolDetail } from "./redact-ojHFHOAb.js";
|
|
22
22
|
import { n as formatErrorMessage } from "./errors-C6sHIFo_.js";
|
|
@@ -25,7 +25,7 @@ import { _ as normalizeHyphenSlug, a as normalizeReasoningLevel, c as normalizeV
|
|
|
25
25
|
import { n as resolveConversationLabel } from "./conversation-label-CPUfoQmh.js";
|
|
26
26
|
import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-N698mtPE.js";
|
|
27
27
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-fUhPZcB5.js";
|
|
28
|
-
import { a as parseGeminiAuth, c as resolveMemorySearchConfig, i as resolveOllamaBaseUrl, n as retryAsync, o as collectProviderApiKeysForExecution, r as probeOllamaEmbeddingModels, s as executeWithApiKeyRotation } from "./manager-
|
|
28
|
+
import { a as parseGeminiAuth, c as resolveMemorySearchConfig, i as resolveOllamaBaseUrl, n as retryAsync, o as collectProviderApiKeysForExecution, r as probeOllamaEmbeddingModels, s as executeWithApiKeyRotation } from "./manager-MbrGCH4o.js";
|
|
29
29
|
import { c as normalizeExtraMemoryPaths, f as runTasksWithConcurrency, s as listMemoryFiles } from "./internal-DWs9CjHs.js";
|
|
30
30
|
import { n as resolveMarkdownTableMode } from "./markdown-tables-BtWlyyt1.js";
|
|
31
31
|
import { a as shouldHandleTextCommands, c as resolveNativeCommandsEnabled, i as normalizeCommandBody, l as resolveNativeSkillsEnabled, n as listChatCommands, o as isCommandFlagEnabled, r as listChatCommandsForConfig, s as isRestartEnabled } from "./commands-registry-BRWqR35Z.js";
|
|
@@ -49,7 +49,7 @@ import crypto, { X509Certificate, createHash, createHmac, randomBytes, randomUUI
|
|
|
49
49
|
import { complete, createAssistantMessageEventStream, streamSimple } from "@mariozechner/pi-ai";
|
|
50
50
|
import { CURRENT_SESSION_VERSION, DefaultResourceLoader, SessionManager, SettingsManager, codingTools, createAgentSession, createEditTool, createReadTool, createWriteTool, estimateTokens, generateSummary, readTool } from "@mariozechner/pi-coding-agent";
|
|
51
51
|
import AjvPkg from "ajv";
|
|
52
|
-
import { WebSocket } from "ws";
|
|
52
|
+
import { WebSocket as WebSocket$1 } from "ws";
|
|
53
53
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
54
54
|
import { createJiti } from "jiti";
|
|
55
55
|
import { Type } from "@sinclair/typebox";
|
|
@@ -1028,7 +1028,7 @@ async function getMemorySearchManager(params) {
|
|
|
1028
1028
|
const wrapper = new FallbackMemoryManager({
|
|
1029
1029
|
primary,
|
|
1030
1030
|
fallbackFactory: async () => {
|
|
1031
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
1031
|
+
const { MemoryIndexManager } = await import("./manager-MbrGCH4o.js").then((n) => n.t);
|
|
1032
1032
|
return await MemoryIndexManager.get(params);
|
|
1033
1033
|
}
|
|
1034
1034
|
}, () => QMD_MANAGER_CACHE.delete(cacheKey));
|
|
@@ -1041,7 +1041,7 @@ async function getMemorySearchManager(params) {
|
|
|
1041
1041
|
}
|
|
1042
1042
|
}
|
|
1043
1043
|
try {
|
|
1044
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
1044
|
+
const { MemoryIndexManager } = await import("./manager-MbrGCH4o.js").then((n) => n.t);
|
|
1045
1045
|
return { manager: await MemoryIndexManager.get(params) };
|
|
1046
1046
|
} catch (err) {
|
|
1047
1047
|
return {
|
|
@@ -2378,10 +2378,7 @@ const AgentWaitParamsSchema = Type.Object({
|
|
|
2378
2378
|
runId: NonEmptyString,
|
|
2379
2379
|
timeoutMs: Type.Optional(Type.Integer({ minimum: 0 }))
|
|
2380
2380
|
}, { additionalProperties: false });
|
|
2381
|
-
const WakeParamsSchema = Type.Object({
|
|
2382
|
-
mode: Type.Union([Type.Literal("now"), Type.Literal("next-heartbeat")]),
|
|
2383
|
-
text: NonEmptyString
|
|
2384
|
-
}, { additionalProperties: false });
|
|
2381
|
+
const WakeParamsSchema = Type.Object({ text: NonEmptyString }, { additionalProperties: false });
|
|
2385
2382
|
|
|
2386
2383
|
//#endregion
|
|
2387
2384
|
//#region src/gateway/protocol/schema/agents-models-skills.ts
|
|
@@ -2636,7 +2633,7 @@ function cronAgentTurnPayloadSchema(params) {
|
|
|
2636
2633
|
}, { additionalProperties: false });
|
|
2637
2634
|
}
|
|
2638
2635
|
const CronSessionTargetSchema = Type.Union([Type.Literal("main"), Type.Literal("isolated")]);
|
|
2639
|
-
const CronWakeModeSchema = Type.
|
|
2636
|
+
const CronWakeModeSchema = Type.Literal("now");
|
|
2640
2637
|
const CronCommonOptionalFields = {
|
|
2641
2638
|
agentId: Type.Optional(Type.Union([NonEmptyString, Type.Null()])),
|
|
2642
2639
|
sessionKey: Type.Optional(Type.Union([NonEmptyString, Type.Null()])),
|
|
@@ -3557,7 +3554,7 @@ var GatewayClient = class {
|
|
|
3557
3554
|
if (fingerprint !== expected) return /* @__PURE__ */ new Error("gateway tls fingerprint mismatch");
|
|
3558
3555
|
});
|
|
3559
3556
|
}
|
|
3560
|
-
this.ws = new WebSocket(url, wsOptions);
|
|
3557
|
+
this.ws = new WebSocket$1(url, wsOptions);
|
|
3561
3558
|
this.ws.on("open", () => {
|
|
3562
3559
|
if (url.startsWith("wss://") && this.opts.tlsFingerprint) {
|
|
3563
3560
|
const tlsError = this.validateTlsFingerprint();
|
|
@@ -3776,7 +3773,7 @@ var GatewayClient = class {
|
|
|
3776
3773
|
return null;
|
|
3777
3774
|
}
|
|
3778
3775
|
async request(method, params, opts) {
|
|
3779
|
-
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error("gateway not connected");
|
|
3776
|
+
if (!this.ws || this.ws.readyState !== WebSocket$1.OPEN) throw new Error("gateway not connected");
|
|
3780
3777
|
const id = randomUUID();
|
|
3781
3778
|
const frame = {
|
|
3782
3779
|
type: "req",
|
|
@@ -3857,7 +3854,6 @@ const METHOD_SCOPE_GROUPS = {
|
|
|
3857
3854
|
"cron.runs",
|
|
3858
3855
|
"tasks.list",
|
|
3859
3856
|
"system-presence",
|
|
3860
|
-
"last-heartbeat",
|
|
3861
3857
|
"node.list",
|
|
3862
3858
|
"node.describe",
|
|
3863
3859
|
"chat.history",
|
|
@@ -3905,7 +3901,6 @@ const METHOD_SCOPE_GROUPS = {
|
|
|
3905
3901
|
"chat.inject",
|
|
3906
3902
|
"web.login.start",
|
|
3907
3903
|
"web.login.wait",
|
|
3908
|
-
"set-heartbeats",
|
|
3909
3904
|
"system-event",
|
|
3910
3905
|
"agents.files.set"
|
|
3911
3906
|
]
|
|
@@ -4724,7 +4719,7 @@ async function routeReply(params) {
|
|
|
4724
4719
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
4725
4720
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
4726
4721
|
try {
|
|
4727
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
4722
|
+
const { deliverOutboundPayloads } = await import("./deliver-Mqq3tgqB.js").then((n) => n.n);
|
|
4728
4723
|
return {
|
|
4729
4724
|
ok: true,
|
|
4730
4725
|
messageId: (await deliverOutboundPayloads({
|
|
@@ -7677,7 +7672,7 @@ function buildSubagentSystemPrompt(params) {
|
|
|
7677
7672
|
"## Rules",
|
|
7678
7673
|
"1. **Stay focused** - Do your assigned task, nothing else",
|
|
7679
7674
|
`2. **Complete the task** - Your final message will be automatically reported to the ${parentLabel}`,
|
|
7680
|
-
"3. **Don't initiate** - No
|
|
7675
|
+
"3. **Don't initiate** - No proactive actions, no side quests",
|
|
7681
7676
|
"4. **Be ephemeral** - You may be terminated after task completion. That's fine.",
|
|
7682
7677
|
"5. **Trust push-based completion** - Descendant results are auto-announced back to you; do not busy-poll for status.",
|
|
7683
7678
|
"6. **Recover from compacted/truncated tool output** - If you see `[compacted: tool output removed to free context]` or `[truncated: output exceeded context limit]`, assume prior output was reduced. Re-read only what you need using smaller chunks (`read` with offset/limit, or targeted `rg`/`head`/`tail`) instead of full-file `cat`.",
|
|
@@ -10233,10 +10228,6 @@ async function prependSystemEvents(params) {
|
|
|
10233
10228
|
const compactSystemEvent = (line) => {
|
|
10234
10229
|
const trimmed = line.trim();
|
|
10235
10230
|
if (!trimmed) return null;
|
|
10236
|
-
const lower = trimmed.toLowerCase();
|
|
10237
|
-
if (lower.includes("reason periodic")) return null;
|
|
10238
|
-
if (lower.startsWith("read symipulse.md")) return null;
|
|
10239
|
-
if (lower.includes("heartbeat poll") || lower.includes("heartbeat wake")) return null;
|
|
10240
10231
|
if (trimmed.startsWith("Node:")) return trimmed.replace(/ · last input [^·]+/i, "").trim();
|
|
10241
10232
|
return trimmed;
|
|
10242
10233
|
};
|
|
@@ -30231,7 +30222,7 @@ function normalizeSessionTarget(raw) {
|
|
|
30231
30222
|
function normalizeWakeMode(raw) {
|
|
30232
30223
|
if (typeof raw !== "string") return;
|
|
30233
30224
|
const trimmed = raw.trim().toLowerCase();
|
|
30234
|
-
if (trimmed === "now" || trimmed === "next-heartbeat") return
|
|
30225
|
+
if (trimmed === "now" || trimmed === "next-heartbeat") return "now";
|
|
30235
30226
|
}
|
|
30236
30227
|
function copyTopLevelAgentTurnFields(next, payload) {
|
|
30237
30228
|
const copyString = (field) => {
|
|
@@ -30408,7 +30399,6 @@ const CRON_ACTIONS = [
|
|
|
30408
30399
|
"runs",
|
|
30409
30400
|
"wake"
|
|
30410
30401
|
];
|
|
30411
|
-
const CRON_WAKE_MODES = ["now", "next-heartbeat"];
|
|
30412
30402
|
const CRON_RUN_MODES = ["due", "force"];
|
|
30413
30403
|
const REMINDER_CONTEXT_MESSAGES_MAX = 10;
|
|
30414
30404
|
const REMINDER_CONTEXT_PER_MESSAGE_MAX = 220;
|
|
@@ -30425,7 +30415,6 @@ const CronToolSchema = Type.Object({
|
|
|
30425
30415
|
id: Type.Optional(Type.String()),
|
|
30426
30416
|
patch: Type.Optional(Type.Object({}, { additionalProperties: true })),
|
|
30427
30417
|
text: Type.Optional(Type.String()),
|
|
30428
|
-
mode: optionalStringEnum(CRON_WAKE_MODES),
|
|
30429
30418
|
runMode: optionalStringEnum(CRON_RUN_MODES),
|
|
30430
30419
|
contextMessages: Type.Optional(Type.Number({
|
|
30431
30420
|
minimum: 0,
|
|
@@ -30566,10 +30555,6 @@ CRITICAL CONSTRAINTS:
|
|
|
30566
30555
|
- For webhook callbacks, use delivery.mode="webhook" with delivery.to set to a URL.
|
|
30567
30556
|
Default: prefer isolated agentTurn jobs unless the user explicitly wants a main-session system event.
|
|
30568
30557
|
|
|
30569
|
-
WAKE MODES (for wake action):
|
|
30570
|
-
- "next-heartbeat" (default): Wake on next heartbeat
|
|
30571
|
-
- "now": Wake immediately
|
|
30572
|
-
|
|
30573
30558
|
Use jobId as the canonical identifier; id is accepted for compatibility. Use contextMessages (0-10) to add previous messages as context to the job text.`,
|
|
30574
30559
|
parameters: CronToolSchema,
|
|
30575
30560
|
execute: async (_toolCallId, args) => {
|
|
@@ -30690,13 +30675,7 @@ Use jobId as the canonical identifier; id is accepted for compatibility. Use con
|
|
|
30690
30675
|
if (!id) throw new Error("jobId required (id accepted for backward compatibility)");
|
|
30691
30676
|
return jsonResult(await callGateway("cron.runs", gatewayOpts, { id }));
|
|
30692
30677
|
}
|
|
30693
|
-
case "wake": {
|
|
30694
|
-
const text = readStringParam(params, "text", { required: true });
|
|
30695
|
-
return jsonResult(await callGateway("wake", gatewayOpts, {
|
|
30696
|
-
mode: params.mode === "now" || params.mode === "next-heartbeat" ? params.mode : "next-heartbeat",
|
|
30697
|
-
text
|
|
30698
|
-
}, { expectFinal: false }));
|
|
30699
|
-
}
|
|
30678
|
+
case "wake": return jsonResult(await callGateway("wake", gatewayOpts, { text: readStringParam(params, "text", { required: true }) }, { expectFinal: false }));
|
|
30700
30679
|
default: throw new Error(`Unknown action: ${action}`);
|
|
30701
30680
|
}
|
|
30702
30681
|
}
|
|
@@ -38795,7 +38774,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
38795
38774
|
return;
|
|
38796
38775
|
}
|
|
38797
38776
|
try {
|
|
38798
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
38777
|
+
const { deliverOutboundPayloads } = await import("./deliver-Mqq3tgqB.js").then((n) => n.n);
|
|
38799
38778
|
await deliverOutboundPayloads({
|
|
38800
38779
|
cfg: params.cfg,
|
|
38801
38780
|
channel,
|
|
@@ -50991,8 +50970,8 @@ function buildChannelProfile(opts) {
|
|
|
50991
50970
|
//#region src/auto-reply/run-channel-turn.ts
|
|
50992
50971
|
/**
|
|
50993
50972
|
* Deliver one or more early-reply payloads through the surface's payload
|
|
50994
|
-
* chain (
|
|
50995
|
-
*
|
|
50973
|
+
* chain (typing-signals → tool-result-serialization → channel-routing →
|
|
50974
|
+
* dispatcher). Used for prep-emitted finals
|
|
50996
50975
|
* (directive ack, inline action, auth rejection) and for the abort
|
|
50997
50976
|
* payload from `withFastAbort`.
|
|
50998
50977
|
*/
|
|
@@ -56066,7 +56045,7 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
56066
56045
|
});
|
|
56067
56046
|
const deliverSlashPayloads = async (replies) => {
|
|
56068
56047
|
const [{ deliverSlackSlashReplies }, { resolveChunkMode }, { resolveMarkdownTableMode }] = await Promise.all([
|
|
56069
|
-
import("./replies-
|
|
56048
|
+
import("./replies-DU-fXkSk.js").then((n) => n.r),
|
|
56070
56049
|
import("./chunk-BjnT3w_x.js").then((n) => n.s),
|
|
56071
56050
|
import("./markdown-tables-BtWlyyt1.js").then((n) => n.t)
|
|
56072
56051
|
]);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Bt as truncateUtf16Safe, o as createSubsystemLogger } from "./entry.js";
|
|
2
|
-
import { s as formatSandboxToolPolicyBlockedMessage } from "./sandbox-
|
|
2
|
+
import { s as formatSandboxToolPolicyBlockedMessage } from "./sandbox-B4RfQ7k1.js";
|
|
3
3
|
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-CZPSKxgE.js";
|
|
4
4
|
import { s as normalizeThinkLevel } from "./thinking-BDh5LPh-.js";
|
|
5
5
|
import path from "node:path";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { x as truncateUtf16Safe } from "./utils-BU8jVQFM.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-CtH6J8AV.js";
|
|
3
|
-
import { s as formatSandboxToolPolicyBlockedMessage } from "./sandbox-
|
|
4
|
-
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-
|
|
3
|
+
import { s as formatSandboxToolPolicyBlockedMessage } from "./sandbox-C-UeHmuJ.js";
|
|
4
|
+
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-C-gIIp7Q.js";
|
|
5
5
|
import { s as normalizeThinkLevel } from "./thinking-177f26eg.js";
|
|
6
6
|
import { createHash } from "node:crypto";
|
|
7
7
|
import path from "node:path";
|
|
8
|
-
import
|
|
8
|
+
import fs from "node:fs/promises";
|
|
9
9
|
|
|
10
10
|
//#region src/agents/pi-embedded-helpers/bootstrap.ts
|
|
11
11
|
function isBase64Signature(value) {
|
|
@@ -102,10 +102,10 @@ function clampToBudget(content, budget) {
|
|
|
102
102
|
async function ensureSessionHeader(params) {
|
|
103
103
|
const file = params.sessionFile;
|
|
104
104
|
try {
|
|
105
|
-
await
|
|
105
|
+
await fs.stat(file);
|
|
106
106
|
return;
|
|
107
107
|
} catch {}
|
|
108
|
-
await
|
|
108
|
+
await fs.mkdir(path.dirname(file), { recursive: true });
|
|
109
109
|
const entry = {
|
|
110
110
|
type: "session",
|
|
111
111
|
version: 2,
|
|
@@ -113,7 +113,7 @@ async function ensureSessionHeader(params) {
|
|
|
113
113
|
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
114
114
|
cwd: params.cwd
|
|
115
115
|
};
|
|
116
|
-
await
|
|
116
|
+
await fs.writeFile(file, `${JSON.stringify(entry)}\n`, "utf-8");
|
|
117
117
|
}
|
|
118
118
|
function buildBootstrapContextFiles(files, opts) {
|
|
119
119
|
const maxChars = opts?.maxChars ?? DEFAULT_BOOTSTRAP_MAX_CHARS;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { S as resolveThreadParentSessionKey, c as resolveAgentIdFromSessionKey } from "./session-key-BfskPVEs.js";
|
|
2
2
|
import { r as resolveAgentConfig } from "./agent-scope-B6p555mP.js";
|
|
3
|
-
import { A as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH } from "./config-
|
|
3
|
+
import { A as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH } from "./config-igdtSRrZ.js";
|
|
4
4
|
import { l as normalizeMessageChannel } from "./message-channel-CNPAq1Tl.js";
|
|
5
|
-
import { T as matchesAnyGlobPattern, w as compileGlobPatterns, x as normalizeToolName, y as expandToolGroups } from "./sandbox-
|
|
5
|
+
import { T as matchesAnyGlobPattern, w as compileGlobPatterns, x as normalizeToolName, y as expandToolGroups } from "./sandbox-B4RfQ7k1.js";
|
|
6
6
|
import { a as resolveChannelGroupToolsPolicy, t as getChannelDock } from "./dock-Cq5LxV1L.js";
|
|
7
7
|
|
|
8
8
|
//#region src/agents/sandbox-tool-policy.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { S as resolveThreadParentSessionKey, c as resolveAgentIdFromSessionKey } from "./session-key-B_ZVH1kE.js";
|
|
2
|
-
import { r as resolveAgentConfig } from "./agent-scope-
|
|
3
|
-
import { A as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH } from "./config-
|
|
4
|
-
import { T as matchesAnyGlobPattern, w as compileGlobPatterns, x as normalizeToolName, y as expandToolGroups } from "./sandbox-
|
|
2
|
+
import { r as resolveAgentConfig } from "./agent-scope-DIjW66iO.js";
|
|
3
|
+
import { A as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH } from "./config-DqMsGcSQ.js";
|
|
4
|
+
import { T as matchesAnyGlobPattern, w as compileGlobPatterns, x as normalizeToolName, y as expandToolGroups } from "./sandbox-C-UeHmuJ.js";
|
|
5
5
|
import { a as resolveChannelGroupToolsPolicy, t as getChannelDock } from "./dock-CnGWTXL4.js";
|
|
6
6
|
import { l as normalizeMessageChannel } from "./message-channel-C_V8IAYx.js";
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { o as getChatChannelMeta, s as listChatChannels, u as normalizeChatChannelId } from "./registry-DKJLAPDB.js";
|
|
2
2
|
import { u as isRecord } from "./utils-BU8jVQFM.js";
|
|
3
|
-
import { L as normalizeProviderId } from "./auth-profiles-
|
|
3
|
+
import { L as normalizeProviderId } from "./auth-profiles-BFSVvFKy.js";
|
|
4
4
|
import { n as getChannelPluginCatalogEntry, r as listChannelPluginCatalogEntries } from "./catalog-CSgSg5Gp.js";
|
|
5
5
|
import { t as ensurePluginAllowlisted } from "./plugins-allowlist-D2tS9tcu.js";
|
|
6
6
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { M as getActivePluginRegistry, o as createSubsystemLogger } from "./entry.js";
|
|
3
3
|
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-B6p555mP.js";
|
|
4
|
-
import { i as loadConfig } from "./config-
|
|
5
|
-
import { m as loadSymiPlugins } from "./subagent-registry-
|
|
4
|
+
import { i as loadConfig } from "./config-igdtSRrZ.js";
|
|
5
|
+
import { m as loadSymiPlugins } from "./subagent-registry-C57PFGHU.js";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/plugin-registry.ts
|
|
8
8
|
var plugin_registry_exports = /* @__PURE__ */ __exportAll({ ensurePluginRegistryLoaded: () => ensurePluginRegistryLoaded });
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { s as loadSymiPlugins } from "./unified-runner-
|
|
2
|
+
import { s as loadSymiPlugins } from "./unified-runner-DCiPB--z.js";
|
|
3
3
|
import { d as getActivePluginRegistry } from "./registry-DKJLAPDB.js";
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-CtH6J8AV.js";
|
|
5
|
-
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-
|
|
6
|
-
import { i as loadConfig } from "./config-
|
|
5
|
+
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-DIjW66iO.js";
|
|
6
|
+
import { i as loadConfig } from "./config-DqMsGcSQ.js";
|
|
7
7
|
|
|
8
8
|
//#region src/cli/plugin-registry.ts
|
|
9
9
|
var plugin_registry_exports = /* @__PURE__ */ __exportAll({ ensurePluginRegistryLoaded: () => ensurePluginRegistryLoaded });
|
|
@@ -5,7 +5,7 @@ import type { EmbeddedContextFile } from "./pi-embedded-helpers.js";
|
|
|
5
5
|
/**
|
|
6
6
|
* Controls which hardcoded sections are included in the system prompt.
|
|
7
7
|
* - "full": All sections (default, for main agent)
|
|
8
|
-
* - "coding": Strips non-coding sections (messaging,
|
|
8
|
+
* - "coding": Strips non-coding sections (messaging, etc.) to reduce instruction noise
|
|
9
9
|
* - "minimal": Reduced sections (Tooling, Workspace, Runtime) - used for subagents
|
|
10
10
|
* - "none": Just basic identity line, no sections
|
|
11
11
|
*/
|
|
@@ -157,16 +157,16 @@ export interface AgentTurnResult {
|
|
|
157
157
|
* Final response text after the gateway-boundary outbound filter.
|
|
158
158
|
*
|
|
159
159
|
* `outbound.action === "drop"` means the model produced a bare NO_REPLY
|
|
160
|
-
*
|
|
161
|
-
*
|
|
162
|
-
*
|
|
160
|
+
* token (silent reply); `text` is empty and downstream surfaces should
|
|
161
|
+
* suppress delivery. The unfiltered text is still available via
|
|
162
|
+
* `rawResult.payloads`.
|
|
163
163
|
*/
|
|
164
164
|
text: string;
|
|
165
165
|
/**
|
|
166
166
|
* Pre-filter response text — the joined assistant payloads as they
|
|
167
167
|
* arrived from the model. Useful for telemetry and for callers that
|
|
168
|
-
* want to inspect what would have been sent before the silent-reply
|
|
169
|
-
*
|
|
168
|
+
* want to inspect what would have been sent before the silent-reply
|
|
169
|
+
* rules dropped it.
|
|
170
170
|
*/
|
|
171
171
|
rawText: string;
|
|
172
172
|
/**
|
|
@@ -64,7 +64,7 @@ export declare function withTimingTelemetry(opts: {
|
|
|
64
64
|
* Pre-flight validation — refuse to call the runner if `runId` is missing
|
|
65
65
|
* or empty. Inside `runAgentTurn` a missing runId leads to the run-context
|
|
66
66
|
* lookup returning the wrong thing (or nothing) and silently dropping the
|
|
67
|
-
*
|
|
67
|
+
* verbose / sessionKey state.
|
|
68
68
|
*
|
|
69
69
|
* Throws synchronously before invoking the inner runner, so the caller
|
|
70
70
|
* gets a clear error instead of a half-executed turn.
|
|
@@ -72,7 +72,7 @@ export declare function withTimingTelemetry(opts: {
|
|
|
72
72
|
export declare function withRunIdValidation(): TurnMiddleware;
|
|
73
73
|
/**
|
|
74
74
|
* Post-process — when the Phase 1 outbound filter says `action: "drop"`
|
|
75
|
-
* (bare NO_REPLY
|
|
75
|
+
* (bare NO_REPLY), invoke a side-effect hook so callers
|
|
76
76
|
* can suppress downstream delivery uniformly. The middleware does NOT
|
|
77
77
|
* mutate the result — it just notifies. Callers decide what to do
|
|
78
78
|
* (typically: skip transcript append, skip channel send, log).
|
|
@@ -4,7 +4,7 @@ import type { GroupToolPolicyConfig } from "../../config/types.tools.js";
|
|
|
4
4
|
import type { OutboundDeliveryResult, OutboundSendDeps } from "../../infra/outbound/deliver.js";
|
|
5
5
|
import type { OutboundIdentity } from "../../infra/outbound/identity.js";
|
|
6
6
|
import type { RuntimeEnv } from "../../runtime.js";
|
|
7
|
-
import type { ChannelAccountSnapshot, ChannelAccountState, ChannelDirectoryEntry, ChannelGroupContext,
|
|
7
|
+
import type { ChannelAccountSnapshot, ChannelAccountState, ChannelDirectoryEntry, ChannelGroupContext, ChannelLogSink, ChannelOutboundTargetMode, ChannelPollContext, ChannelPollResult, ChannelSecurityContext, ChannelSecurityDmPolicy, ChannelSetupInput, ChannelStatusIssue } from "./types.core.js";
|
|
8
8
|
export type ChannelSetupAdapter = {
|
|
9
9
|
resolveAccountId?: (params: {
|
|
10
10
|
cfg: SymiConfig;
|
|
@@ -207,26 +207,6 @@ export type ChannelAuthAdapter = {
|
|
|
207
207
|
channelInput?: string | null;
|
|
208
208
|
}) => Promise<void>;
|
|
209
209
|
};
|
|
210
|
-
export type ChannelHeartbeatAdapter = {
|
|
211
|
-
checkReady?: (params: {
|
|
212
|
-
cfg: SymiConfig;
|
|
213
|
-
accountId?: string | null;
|
|
214
|
-
deps?: ChannelHeartbeatDeps;
|
|
215
|
-
}) => Promise<{
|
|
216
|
-
ok: boolean;
|
|
217
|
-
reason: string;
|
|
218
|
-
}>;
|
|
219
|
-
resolveRecipients?: (params: {
|
|
220
|
-
cfg: SymiConfig;
|
|
221
|
-
opts?: {
|
|
222
|
-
to?: string;
|
|
223
|
-
all?: boolean;
|
|
224
|
-
};
|
|
225
|
-
}) => {
|
|
226
|
-
recipients: string[];
|
|
227
|
-
source: string;
|
|
228
|
-
};
|
|
229
|
-
};
|
|
230
210
|
export type ChannelDirectoryAdapter = {
|
|
231
211
|
self?: (params: {
|
|
232
212
|
cfg: SymiConfig;
|
|
@@ -8,7 +8,7 @@ import type { ChatType } from "../chat-type.js";
|
|
|
8
8
|
import type { ChatChannelId } from "../registry.js";
|
|
9
9
|
import type { ChannelMessageActionName as ChannelMessageActionNameFromList } from "./message-action-names.js";
|
|
10
10
|
export type ChannelId = ChatChannelId | (string & {});
|
|
11
|
-
export type ChannelOutboundTargetMode = "explicit" | "implicit"
|
|
11
|
+
export type ChannelOutboundTargetMode = "explicit" | "implicit";
|
|
12
12
|
export type ChannelAgentTool = AgentTool<TSchema, unknown> & {
|
|
13
13
|
ownerOnly?: boolean;
|
|
14
14
|
};
|
|
@@ -56,10 +56,6 @@ export type ChannelStatusIssue = {
|
|
|
56
56
|
fix?: string;
|
|
57
57
|
};
|
|
58
58
|
export type ChannelAccountState = "linked" | "not linked" | "configured" | "not configured" | "enabled" | "disabled";
|
|
59
|
-
export type ChannelHeartbeatDeps = {
|
|
60
|
-
webAuthExists?: () => Promise<boolean>;
|
|
61
|
-
hasActiveWebListener?: () => boolean;
|
|
62
|
-
};
|
|
63
59
|
export type ChannelMeta = {
|
|
64
60
|
id: ChannelId;
|
|
65
61
|
label: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ChannelMessageActionName as ChannelMessageActionNameFromList } from "./message-action-names.js";
|
|
2
2
|
export { CHANNEL_MESSAGE_ACTION_NAMES } from "./message-action-names.js";
|
|
3
3
|
export type ChannelMessageActionName = ChannelMessageActionNameFromList;
|
|
4
|
-
export type { ChannelAuthAdapter, ChannelCommandAdapter, ChannelConfigAdapter, ChannelDirectoryAdapter, ChannelResolveKind, ChannelResolveResult, ChannelResolverAdapter, ChannelElevatedAdapter, ChannelGatewayAdapter, ChannelGatewayContext, ChannelGroupAdapter,
|
|
5
|
-
export type { ChannelAccountSnapshot, ChannelAccountState, ChannelAgentPromptAdapter, ChannelAgentTool, ChannelAgentToolFactory, ChannelCapabilities, ChannelDirectoryEntry, ChannelDirectoryEntryKind, ChannelGroupContext,
|
|
4
|
+
export type { ChannelAuthAdapter, ChannelCommandAdapter, ChannelConfigAdapter, ChannelDirectoryAdapter, ChannelResolveKind, ChannelResolveResult, ChannelResolverAdapter, ChannelElevatedAdapter, ChannelGatewayAdapter, ChannelGatewayContext, ChannelGroupAdapter, ChannelLoginWithQrStartResult, ChannelLoginWithQrWaitResult, ChannelLogoutContext, ChannelLogoutResult, ChannelOutboundAdapter, ChannelOutboundContext, ChannelPairingAdapter, ChannelSecurityAdapter, ChannelSetupAdapter, ChannelStatusAdapter, } from "./types.adapters.js";
|
|
5
|
+
export type { ChannelAccountSnapshot, ChannelAccountState, ChannelAgentPromptAdapter, ChannelAgentTool, ChannelAgentToolFactory, ChannelCapabilities, ChannelDirectoryEntry, ChannelDirectoryEntryKind, ChannelGroupContext, ChannelId, ChannelLogSink, ChannelMentionAdapter, ChannelMessageActionAdapter, ChannelMessageActionContext, ChannelMessagingAdapter, ChannelMeta, ChannelOutboundTargetMode, ChannelPollContext, ChannelPollResult, ChannelSecurityContext, ChannelSecurityDmPolicy, ChannelSetupInput, ChannelStatusIssue, ChannelStreamingAdapter, ChannelThreadingAdapter, ChannelThreadingContext, ChannelThreadingToolContext, ChannelToolSend, BaseProbeResult, BaseTokenResolution, } from "./types.core.js";
|
|
6
6
|
export type { ChannelPlugin } from "./types.plugin.js";
|