wednesdayai 0.4.12-dev.715 → 0.4.12-dev.716
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-turn-enqueue-Dwz_R_DW.js → agent-turn-enqueue-Cqo34Swm.js} +4 -4
- package/dist/{agent-turn-enqueue-Da7B-J9y.js → agent-turn-enqueue-N-q0v3mc.js} +4 -4
- package/dist/{agent-turn-execute-DvP2nf2J.js → agent-turn-execute-Bw9hhkAP.js} +69 -24
- package/dist/{agent-turn-recovery-adapter-SdyNUgzD.js → agent-turn-recovery-adapter-BkIal4FW.js} +1 -1
- package/dist/{agent-turn-recovery-adapter-DF3vdyE5.js → agent-turn-recovery-adapter-CLY2Dn04.js} +1 -1
- package/dist/{agent-turn-runner-D20dK54z.js → agent-turn-runner-Bvj00mHU.js} +3 -3
- package/dist/{agent-turn-runner-CzcuyJfX.js → agent-turn-runner-CImqp_RN.js} +1 -1
- package/dist/{agent-turn-runner-PbFFnq5P.js → agent-turn-runner-CUCOdxhH.js} +1 -1
- package/dist/{agent-turn-runner-DFZxbjaC.js → agent-turn-runner-Vd3aTCni.js} +1 -1
- package/dist/{agents-D7wjsCEZ.js → agents-BBoIqOw6.js} +4 -4
- package/dist/{agents.config-iUjxdoPw.js → agents.config-C8RJrfbr.js} +1 -1
- package/dist/{agents.config-C-pTu-0T.js → agents.config-Ctnm8o8d.js} +1 -1
- package/dist/{audio-preflight-nrbQcAOS.js → audio-preflight-BKQpd1eU.js} +6 -6
- package/dist/{audio-preflight-BZFphz4E.js → audio-preflight-bEi-KkBn.js} +6 -6
- package/dist/{audio-preflight-ifCgpG3c.js → audio-preflight-yuM9Q3qh.js} +5 -5
- package/dist/{audio-transcription-runner-C2Q9mEhB.js → audio-transcription-runner-BD7UgbNj.js} +1 -1
- package/dist/{audio-transcription-runner-D-d42kdt.js → audio-transcription-runner-CGTNNwbm.js} +1 -1
- package/dist/{audio-transcription-runner-ipSQoPp8.js → audio-transcription-runner-CgPA8_eG.js} +1 -1
- package/dist/{audit-BlUclRcb.js → audit-BM8WZyx6.js} +3 -3
- package/dist/{audit-C_g-UVNn.js → audit-CcNEpaG6.js} +3 -3
- package/dist/{auth-choice-ZsDU-57A.js → auth-choice-DTg-b2da.js} +1 -1
- package/dist/{auth-choice-D9ydQCkO.js → auth-choice-VnJYar-i.js} +1 -1
- package/dist/{banner-U4ziIXHD.js → banner-_g-nCJoZ.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +12 -12
- package/dist/bundled/session-journal/handler.js +12 -12
- package/dist/bundled/session-memory/handler.js +12 -12
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-IkZTBShY.js → channel-options-BX8MFfPW.js} +1 -1
- package/dist/{channel-options-CdXOmeJN.js → channel-options-Dod3uWTl.js} +1 -1
- package/dist/{channels-cli-CUTJf_vC.js → channels-cli-DyfFtAZa.js} +23 -23
- package/dist/{channels-cli-CBBGSlVe.js → channels-cli-MbAArXF1.js} +23 -23
- package/dist/{chrome-DTJprCGv.js → chrome-BkJgMZjT.js} +8 -8
- package/dist/{cli-DCyFadMx.js → cli-CdrO5h4P.js} +17 -17
- package/dist/{cli-BtY_juql.js → cli-DF91S8Cf.js} +17 -17
- package/dist/{command-queue-B1RxJ6bM.js → command-queue-DmXWCoY0.js} +1 -1
- package/dist/{command-queue-BTAxEdto.js → command-queue-DucYxKKF.js} +1 -1
- package/dist/{command-queue-6Jucg1io.js → command-queue-URs9pYSC.js} +1 -1
- package/dist/{command-registry-BMq2CUSD.js → command-registry-NOHWjbDr.js} +9 -9
- package/dist/{completion-cli-Dbszfn8D.js → completion-cli-BQ5pz74O.js} +1 -1
- package/dist/{completion-cli-CATJLvVa.js → completion-cli-BfKoz1jW.js} +2 -2
- package/dist/{config-cli-3a-9iNyI.js → config-cli-BGFZu6JD.js} +1 -1
- package/dist/{config-cli-O9P0EpgL.js → config-cli-cFzUpYdg.js} +1 -1
- package/dist/{configure-DAA_ncD3.js → configure-DYAZJ3GF.js} +3 -3
- package/dist/{configure-Dld8IaT8.js → configure-DrrwPxlu.js} +3 -3
- package/dist/{deliver-Bhlx9VG9.js → deliver-8xg5ISEI.js} +1 -1
- package/dist/{deliver-DT4v-Go0.js → deliver-C5SDo7TP.js} +1 -1
- package/dist/{deliver-CVWbwPkb.js → deliver-fwGuXC0n.js} +1 -1
- package/dist/{diagnostic-DI-K8155.js → diagnostic-BB6k_yiT.js} +1 -1
- package/dist/{diagnostic-BTSirPP0.js → diagnostic-D7DvV7NT.js} +1 -1
- package/dist/{diagnostic-DRvqMPW7.js → diagnostic-Dv8UWiI0.js} +1 -1
- package/dist/{dm-policy-shared-BE04dZam.js → dm-policy-shared-BLJbsZzf.js} +1 -1
- package/dist/{doctor-completion-Ca_SREXp.js → doctor-completion-B94pFOFt.js} +1 -1
- package/dist/{doctor-completion-BJpzpRx6.js → doctor-completion-CtR8yetH.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/extensionAPI.js +2 -2
- package/dist/{gateway-cli-BYqWX_fq.js → gateway-cli-C_veSlCx.js} +113 -76
- package/dist/{gateway-cli-BTuK5wC4.js → gateway-cli-DI7_gxH-.js} +113 -76
- package/dist/{health-fB9rLTPD.js → health-Cooqit6V.js} +2 -2
- package/dist/{health-DFWpyp9O.js → health-DFat5vO5.js} +2 -2
- package/dist/{hooks-cli-DKZeKlmX.js → hooks-cli-CB-96Su8.js} +19 -19
- package/dist/{hooks-cli-CriP6g_q.js → hooks-cli-yNAgxRQS.js} +19 -19
- package/dist/index.js +21 -21
- package/dist/{installs-CBHXvqKf.js → installs-CdLdL1gD.js} +1 -1
- package/dist/{installs-CnAcm0ba.js → installs-CpnJwZZ_.js} +1 -1
- package/dist/llm-slug-generator.js +12 -12
- package/dist/{models-DXRXVywP.js → models-Dlat36jl.js} +1 -1
- package/dist/{models-cli-C7bSvLGL.js → models-cli-DMjHkAqq.js} +17 -17
- package/dist/{models-cli-h6ejcNF7.js → models-cli-vjFaOcNS.js} +18 -18
- package/dist/{node-cli-CS8E71Vc.js → node-cli-m0j_YD0V.js} +3 -3
- package/dist/{node-cli-CPo0jR3t.js → node-cli-yC-cX-mJ.js} +3 -3
- package/dist/{npm-pack-install-CFiN84Qw.js → npm-pack-install-B7wQANiM.js} +1 -1
- package/dist/{npm-pack-install-bdyXL1bZ.js → npm-pack-install-DcBobJp3.js} +1 -1
- package/dist/{npm-resolution-CaEc_FBL.js → npm-resolution-B0rqOBgy.js} +2 -2
- package/dist/{npm-resolution-B7regLLc.js → npm-resolution-SdoNL0ud.js} +2 -2
- package/dist/{onboard-B_6H9HpS.js → onboard-B9-DxI_m.js} +2 -2
- package/dist/{onboard-B1WwaAdf.js → onboard-D8MZoOum.js} +2 -2
- package/dist/{onboard-channels-BWrbGzK9.js → onboard-channels-28JqVvAv.js} +2 -2
- package/dist/{onboard-channels-CxiuviBR.js → onboard-channels-P7F-dNwm.js} +2 -2
- package/dist/{onboarding-DemzhSFH.js → onboarding-0WSY8o8f.js} +3 -3
- package/dist/{onboarding-D9VO9_5U.js → onboarding-BfpXrIw7.js} +3 -3
- package/dist/{onboarding.finalize-DeJ35Prz.js → onboarding.finalize-BnIw1M2b.js} +22 -22
- package/dist/{onboarding.finalize-C8Pqseaq.js → onboarding.finalize-QITC8MsS.js} +23 -23
- package/dist/{operator-commands-Dwtv8SyF.js → operator-commands-CIz47IKl.js} +2 -2
- package/dist/{operator-commands-BRKxpjt9.js → operator-commands-CtYCnspr.js} +2 -2
- package/dist/{pi-embedded-BcRvgwKi.js → pi-embedded-BBId5n_k.js} +49 -28
- package/dist/{pi-embedded-helpers-D19zTumt.js → pi-embedded-helpers-BU47jdPO.js} +1 -1
- package/dist/{pi-embedded-helpers-5JApWu7A.js → pi-embedded-helpers-DVvJRC5S.js} +3 -3
- package/dist/{pi-embedded-helpers-DEHXX7Dr.js → pi-embedded-helpers-i0-tPaxH.js} +1 -1
- package/dist/{pi-embedded-recovery-adapter-MaU4SQ3X.js → pi-embedded-recovery-adapter-1Lgt8q1h.js} +2 -2
- package/dist/{pi-embedded-recovery-adapter-licel-RD.js → pi-embedded-recovery-adapter-B2AFWrYt.js} +2 -2
- package/dist/{pi-embedded-recovery-adapter-ZV9u5snz.js → pi-embedded-recovery-adapter-CNdSU-s7.js} +8 -8
- package/dist/{pi-embedded-recovery-adapter-DB4blfKA.js → pi-embedded-recovery-adapter-DL78oCTf.js} +8 -8
- package/dist/{pi-embedded-utils-oIHgFob3.js → pi-embedded-utils-8OzPnJMh.js} +1 -1
- package/dist/{pi-embedded-utils-kHMmP2Xh.js → pi-embedded-utils-BoaQCwP7.js} +1 -1
- package/dist/{pi-embedded-utils-BhOMYPQU.js → pi-embedded-utils-BtOzugyp.js} +1 -1
- package/dist/{pi-embedded-DsDG-ETP.js → pi-embedded-wjGM_bNN.js} +22 -1
- package/dist/{pi-tools.policy-4GqIom7_.js → pi-tools.policy-DPm2eos4.js} +1 -1
- package/dist/{plugin-registry-CxDNClOG.js → plugin-registry-CC8YsXPr.js} +1 -1
- package/dist/{plugin-registry-alYBvHFE.js → plugin-registry-CPS5bO_-.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-BLF4nZUv.js → agent-scope-BYp_CjdU.js} +2 -2
- package/dist/plugin-sdk/agent-turn-execute-BCE3FS2s.js +61 -0
- package/dist/plugin-sdk/{agent-turn-execute-Cjl_kBtQ.js → agent-turn-execute-Dd5AJiKY.js} +2 -2
- package/dist/plugin-sdk/{agent-turn-runner-YBWX_qXk.js → agent-turn-runner-B9_FKVSu.js} +6 -6
- package/dist/plugin-sdk/{agent-turn-runner-CDA8JPSH.js → agent-turn-runner-DL5jOnXC.js} +1 -1
- package/dist/plugin-sdk/agent-turn-runner-gf0ARmuP.js +11 -0
- package/dist/plugin-sdk/{api-key-rotation-XDUKz2gd.js → api-key-rotation-CDNf_4cI.js} +2 -2
- package/dist/plugin-sdk/{artifacts-HAYpGlG1.js → artifacts-BMLMg3MG.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-BS29OWk3.js → audio-preflight-BmKL6FNP.js} +2 -2
- package/dist/plugin-sdk/audio-preflight-DlGohKMs.js +28 -0
- package/dist/plugin-sdk/{audio-transcription-runner-BNafitZj.js → audio-transcription-runner-TBjJv_mZ.js} +10 -10
- package/dist/plugin-sdk/{auth-profiles-CCJQoedi.js → auth-profiles-DHZjW8Vk.js} +5 -5
- package/dist/plugin-sdk/{channel-activity-BKwRzYJb.js → channel-activity-Dr4PYej7.js} +3 -3
- package/dist/plugin-sdk/{chrome-D0eLSqkP.js → chrome-BDy1zYAr.js} +4 -4
- package/dist/plugin-sdk/{chunk-DI-5pBck.js → chunk-BTSnO1wn.js} +6 -6
- package/dist/plugin-sdk/{chunk-CDvvv9SU.js → chunk-DGQdf0JN.js} +3 -3
- package/dist/plugin-sdk/{command-detection-B3xgM_Na.js → command-detection-DdTnFMU3.js} +106 -85
- package/dist/plugin-sdk/{command-queue-BnJsJc_w.js → command-queue-CeaLVs8O.js} +8 -8
- package/dist/plugin-sdk/{command-queue-CHiQj9Ji.js → command-queue-DFSOdqCK.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-Do_g2It_.js → commands-registry-8sy0wsK_.js} +6 -6
- package/dist/plugin-sdk/{commands-registry-DpLk11E7.js → commands-registry-N6f_lsxF.js} +2 -2
- package/dist/plugin-sdk/{config-CQNfmIC8.js → config-Biusjzx-.js} +7 -7
- package/dist/plugin-sdk/{deliver-L6eu6zyG.js → deliver-BgHA8c9F.js} +11 -11
- package/dist/plugin-sdk/deliver-DBCz1GqU.js +32 -0
- package/dist/plugin-sdk/{diagnostic-DfxuMWHd.js → diagnostic-Bni_8VyY.js} +7 -7
- package/dist/plugin-sdk/{diagnostic-C7lPoqyv.js → diagnostic-D6hSjxiv.js} +5 -5
- package/dist/plugin-sdk/{fetch-guard-CZT8FU1i.js → fetch-guard-C1a1KfEb.js} +3 -3
- package/dist/plugin-sdk/{fs-safe-B0JgGdXa.js → fs-safe-CbZ6uRVv.js} +3 -3
- package/dist/plugin-sdk/{hook-runner-global-WRI53ibi.js → hook-runner-global-BvxlnAyu.js} +3 -3
- package/dist/plugin-sdk/{image-ops-kuILYHZv.js → image-ops-DY_SZfXk.js} +1 -1
- package/dist/plugin-sdk/index.js +54 -54
- package/dist/plugin-sdk/{ir-Bm7oqkwT.js → ir-BNohi6ZW.js} +5 -5
- package/dist/plugin-sdk/{local-roots-D-CHzVr1.js → local-roots-Bm7nDW20.js} +7 -7
- package/dist/plugin-sdk/{logger-BSK-0Yjx.js → logger-D6KsqbNW.js} +1 -1
- package/dist/plugin-sdk/{manager-D2jffdjH.js → manager-B_vK9MbM.js} +8 -8
- package/dist/plugin-sdk/manager-ByaW_O4Y.js +16 -0
- package/dist/plugin-sdk/{markdown-tables-DIWQQ2W1.js → markdown-tables-G4vK24xc.js} +2 -2
- package/dist/plugin-sdk/markdown-tables-J4hZ7eWU.js +10 -0
- package/dist/plugin-sdk/{outbound-attachment-CtKKNyms.js → outbound-attachment-Cw7T2Mrt.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-CHfCMaeX.js → path-alias-guards-CVybi_GQ.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-BRymkO_1.js → pi-embedded-helpers-B_jgacW8.js} +11 -11
- package/dist/plugin-sdk/{pi-embedded-utils-BHmc3RVS.js → pi-embedded-utils-DOXEm_H8.js} +3 -3
- package/dist/plugin-sdk/{pi-model-discovery-6BBajZds.js → pi-model-discovery-DWUrLRLg.js} +1 -1
- package/dist/plugin-sdk/{pi-model-discovery-4X7_2_nP.js → pi-model-discovery-DWw1ReX-.js} +6 -6
- package/dist/plugin-sdk/provider-dispatcher-Byy-KtUn.js +61 -0
- package/dist/plugin-sdk/{provider-dispatcher-D7HHFW68.js → provider-dispatcher-C4-urx2x.js} +2 -2
- package/dist/plugin-sdk/provider-image-B_dJDOl5.js +22 -0
- package/dist/plugin-sdk/{provider-image-DBye3Ln5.js → provider-image-CEQrHWYz.js} +5 -5
- package/dist/plugin-sdk/provider-media-understanding.js +7 -7
- package/dist/plugin-sdk/{proxy-DJ2nskkh.js → proxy-BWc9guJs.js} +1 -1
- package/dist/plugin-sdk/proxy-DwbYzxBy.js +7 -0
- package/dist/plugin-sdk/{proxy-fetch-CuQpjpkI.js → proxy-fetch-BYkGxQnh.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-BJrhPMHJ.js → pw-ai-DQv6Xhce.js} +10 -10
- package/dist/plugin-sdk/{qmd-manager-DhW_frb3.js → qmd-manager-CpV0SFnY.js} +8 -8
- package/dist/plugin-sdk/{query-expansion-NpBeKA8F.js → query-expansion-CwmHvvV_.js} +3 -3
- package/dist/plugin-sdk/{recorder-DdbAQ2HO.js → recorder-BXZMRSjO.js} +4 -4
- package/dist/plugin-sdk/{redact-CUjmZn2Y.js → redact-C88Ryyfs.js} +1 -1
- package/dist/plugin-sdk/replies-B9uDLFOE.js +25 -0
- package/dist/plugin-sdk/{replies-Dw3jvqpR.js → replies-l2hZAzbt.js} +4 -4
- package/dist/plugin-sdk/{reply-directives-BS8Ge06Z.js → reply-directives-BwxzQXmX.js} +2 -2
- package/dist/plugin-sdk/reply-prefix-BQMEQam1.js +7 -0
- package/dist/plugin-sdk/{reply-prefix-Dt1hESHJ.js → reply-prefix-qLQRxqrf.js} +1 -1
- package/dist/plugin-sdk/{resolve-route-BpLuk-wC.js → resolve-route-50KoArP9.js} +4 -4
- package/dist/plugin-sdk/{resolve-route-DiQTL1qI.js → resolve-route-6v1HVvWk.js} +6 -6
- package/dist/plugin-sdk/runs-BQhYekhr.js +25 -0
- package/dist/plugin-sdk/{runs-D6fAvItC.js → runs-CiohhBb8.js} +7 -7
- package/dist/plugin-sdk/{send-CpXGZgrS.js → send-BMSqETcU.js} +6 -6
- package/dist/plugin-sdk/send-CeWqZTK0.js +23 -0
- package/dist/plugin-sdk/{send-BDwTyH6I.js → send-Cv2CGnsK.js} +8 -8
- package/dist/plugin-sdk/{send-Ce2XBaKF.js → send-Cx6gHjnA.js} +6 -6
- package/dist/plugin-sdk/send-CzcKgBBf.js +25 -0
- package/dist/plugin-sdk/{send-R0HB1-l-.js → send-DG4MQPPm.js} +13 -13
- package/dist/plugin-sdk/{send-CE_6VOiQ.js → send-DM6RpDCL.js} +7 -7
- package/dist/plugin-sdk/{send-GMYUhBtJ.js → send-DO0C4Uva.js} +19 -19
- package/dist/plugin-sdk/send-Dvna5ey-.js +27 -0
- package/dist/plugin-sdk/send-xPV0QIjh.js +24 -0
- package/dist/plugin-sdk/{session-meta-BU2WXD0N.js → session-meta-CiqJP0pO.js} +2 -2
- package/dist/plugin-sdk/session-meta-n4SCcAbJ.js +10 -0
- package/dist/plugin-sdk/skill-commands-BOV3NIbU.js +14 -0
- package/dist/plugin-sdk/{skill-commands-BYfWIPfV.js → skill-commands-CE_SkRQk.js} +5 -5
- package/dist/plugin-sdk/{skills-BuJjEYto.js → skills-CjW6uGTa.js} +6 -6
- package/dist/plugin-sdk/src/config/sessions/run-pending-writes.d.ts +22 -0
- package/dist/plugin-sdk/{ssrf-DiAz1Z_z.js → ssrf-BUCEDxp5.js} +2 -2
- package/dist/plugin-sdk/{store-Bl3Yjf_w.js → store-yBNTHg3N.js} +2 -2
- package/dist/plugin-sdk/{subagent-registry-DxZN7H_j.js → subagent-registry-B0gD-Lof.js} +2 -2
- package/dist/plugin-sdk/subagent-registry-CZBK6615.js +61 -0
- package/dist/plugin-sdk/{subsystem-B2x33s9h.js → subsystem-CUUKL6Fr.js} +4 -4
- package/dist/plugin-sdk/{tables-CTmQQyfU.js → tables-DKYi6grj.js} +1 -1
- package/dist/plugin-sdk/testing.js +2 -2
- package/dist/plugin-sdk/{tokens-DxJSOoJn.js → tokens-ysZUkYZZ.js} +1 -1
- package/dist/plugin-sdk/{tool-loop-detection-Buouaxew.js → tool-loop-detection-LsvZ1dIY.js} +1 -1
- package/dist/plugin-sdk/{tools-CmHC6oYK.js → tools-PVG4MyCb.js} +26 -5
- package/dist/plugin-sdk/{user-run-recording-juCW_uQ-.js → user-run-recording-BMaK7jNR.js} +2 -2
- package/dist/plugin-sdk/user-run-recording-DiKcNdjn.js +11 -0
- package/dist/{plugins-cli-DRuMDJWf.js → plugins-cli-Cpq4XXoA.js} +22 -22
- package/dist/{plugins-cli-DnMc_Sn3.js → plugins-cli-yjyVyPjc.js} +22 -22
- package/dist/{program-Gb3aULCK.js → program-CLZlTcBu.js} +23 -23
- package/dist/{program-context-CJuzphrY.js → program-context-DN3ucEgK.js} +22 -22
- package/dist/{prompt-select-styled-Db6swA6j.js → prompt-select-styled-BNUoeaMg.js} +6 -6
- package/dist/{prompt-select-styled-C-FwsHQX.js → prompt-select-styled-CtLCU2VG.js} +6 -6
- package/dist/{provider-image-Cb4z6zUu.js → provider-image-Bi2L9LWh.js} +1 -1
- package/dist/{provider-image-RxbXQIow.js → provider-image-CZlpEJVI.js} +1 -1
- package/dist/{provider-image-XyDuLsir.js → provider-image-UXLX6qTH.js} +1 -1
- package/dist/{push-apns-BGOaVxug.js → push-apns-DYlVj3Sd.js} +2 -2
- package/dist/{push-apns-Mp5OOpUH.js → push-apns-uBiZYT2e.js} +2 -2
- package/dist/{pw-ai-DmE1ofBV.js → pw-ai-2o8dgziH.js} +1 -1
- package/dist/{pw-ai-QjFlAu_X.js → pw-ai-CZJk6UyG.js} +1 -1
- package/dist/{pw-ai-DziGw6Jy.js → pw-ai-pYtWxKPR.js} +1 -1
- package/dist/{reconcile-bundled-jiPnEB1a.js → reconcile-bundled-Dx64x8xr.js} +1 -1
- package/dist/{reconcile-bundled-BMWDZl32.js → reconcile-bundled-oQwTCU_A.js} +1 -1
- package/dist/{recovery-adapter-BMqm3Nm4.js → recovery-adapter-BT7EyQzh.js} +8 -8
- package/dist/{recovery-adapter-NtvPZ47M.js → recovery-adapter-BcPtMfaC.js} +1 -1
- package/dist/{recovery-adapter-DvFGPqmC.js → recovery-adapter-BvRiQZIb.js} +8 -8
- package/dist/{recovery-adapter-B_wvSNpI.js → recovery-adapter-CTqGLqLj.js} +1 -1
- package/dist/{register.agent-B5_L0CjL.js → register.agent-DpYKNZhv.js} +22 -22
- package/dist/{register.agent-kUHQvJ5-.js → register.agent-DxsC-Szl.js} +23 -23
- package/dist/{register.configure-CgSKgJn_.js → register.configure-Ceru0oh0.js} +23 -23
- package/dist/{register.configure-BbDac1C1.js → register.configure-CiYkPB_K.js} +23 -23
- package/dist/{register.maintenance-Co2DeyQ1.js → register.maintenance-BCSq69vI.js} +23 -23
- package/dist/{register.maintenance-YmHWu7iX.js → register.maintenance-D-kzdtog.js} +24 -24
- package/dist/{register.message-8tfreZAx.js → register.message-B3NWvxgd.js} +18 -18
- package/dist/{register.message-BWeca9Pc.js → register.message-D-e6_UXf.js} +18 -18
- package/dist/{register.onboard-4mSx6LtC.js → register.onboard-BHBpxcRv.js} +2 -2
- package/dist/{register.onboard-Cs4xO4E5.js → register.onboard-BPko9BHz.js} +2 -2
- package/dist/{register.setup-DCRrXbdT.js → register.setup-BE-sR-Dc.js} +2 -2
- package/dist/{register.setup-BkZyVbO-.js → register.setup-Bjx48C4T.js} +2 -2
- package/dist/{register.status-health-sessions-CgAKAaPq.js → register.status-health-sessions-BczZXjHB.js} +20 -20
- package/dist/{register.status-health-sessions-DK12_BeX.js → register.status-health-sessions-CQQWiYcu.js} +20 -20
- package/dist/{register.subclis-CKq7CiVv.js → register.subclis-Bn9Re4fV.js} +14 -14
- package/dist/{reply-BIZ2zaUq.js → reply-BzUdF5qW.js} +69 -24
- package/dist/{run-main-Bjfr1wYn.js → run-main-Cfccgza4.js} +30 -30
- package/dist/{runs-ucQd8Fc-.js → runs-BauIdJqy.js} +3 -3
- package/dist/{runs-Yajg-SST.js → runs-DVNBpgv0.js} +3 -3
- package/dist/{runs-CUs5xDZ_.js → runs-i5IuTzQX.js} +3 -3
- package/dist/{sandbox-DfzTmaAX.js → sandbox-QsMPF2u6.js} +1 -1
- package/dist/{sandbox-Ft7cM-PQ.js → sandbox-bbN1dfIo.js} +1 -1
- package/dist/{sandbox-cli-DvMqiG0-.js → sandbox-cli-CuG1HCrw.js} +2 -2
- package/dist/{sandbox-cli-DyRvKmR5.js → sandbox-cli-nx3ctiYX.js} +2 -2
- package/dist/{security-cli-p_5UwabW.js → security-cli-BfZEQFxV.js} +4 -4
- package/dist/{security-cli-Brok3WFE.js → security-cli-BmfAwh-0.js} +4 -4
- package/dist/{send-DzSRMjOr.js → send-BKkvuHI9.js} +1 -1
- package/dist/{send-Cy2xiH02.js → send-CvkM5xAx.js} +1 -1
- package/dist/{send-TscXeVY8.js → send-Dd2SE0h0.js} +1 -1
- package/dist/{server-l9oy68N_.js → server-BMSgu_SV.js} +4 -4
- package/dist/{server-CywvGQHz.js → server-DRVR_pkr.js} +4 -4
- package/dist/{server-context-Dezs5R_M.js → server-context-Bbi-nqKD.js} +2 -2
- package/dist/{server-context-97Vej0yV.js → server-context-CTilcbO4.js} +2 -2
- package/dist/{server-lifecycle-CHhQugi7.js → server-lifecycle-BIOS9ErD.js} +1 -1
- package/dist/{server-lifecycle-DcVZS1ln.js → server-lifecycle-DrAGY_SC.js} +1 -1
- package/dist/{server-node-events-BG6KvV6u.js → server-node-events-B3c2ctcO.js} +18 -18
- package/dist/{server-node-events-BaFY8QcO.js → server-node-events-lwnuZDvV.js} +18 -18
- package/dist/{sessions-BQYQBpX0.js → sessions-Cy_VVMEN.js} +4 -4
- package/dist/{sessions-CuDbhYmU.js → sessions-DCXadUdD.js} +4 -4
- package/dist/{status-BYesh62t.js → status-Dh0qVJb_.js} +4 -4
- package/dist/{status-DlD1uBWJ.js → status-PwhjcAYw.js} +4 -4
- package/dist/{task-pipeline-boot-D9T_Earg.js → task-pipeline-boot-CcSZVGUe.js} +17 -17
- package/dist/{task-pipeline-boot-CaVeITev.js → task-pipeline-boot-UcskPjY2.js} +17 -17
- package/dist/{tui-naozJ5Qh.js → tui-WSQKUD4o.js} +1 -1
- package/dist/{tui-cli-hVvCHoLU.js → tui-cli-C3Sopj4_.js} +4 -4
- package/dist/{tui-cli-Dn_Is1pu.js → tui-cli-CpRsjtOO.js} +4 -4
- package/dist/{tui-Bo4LZvgz.js → tui-dccCFhet.js} +1 -1
- package/dist/{update-CXf5cJ0D.js → update-D86-cS_v.js} +1 -1
- package/dist/{update-CAXQiGSa.js → update-DJaR3w6x.js} +1 -1
- package/dist/{update-cli-BYDYDEO5.js → update-cli-BSxfgTyN.js} +27 -27
- package/dist/{update-cli-BB7ybH-w.js → update-cli-f5iTpbNn.js} +26 -26
- package/dist/{update-runner-BYv_ec3N.js → update-runner-DqE_9Axt.js} +1 -1
- package/dist/{update-runner-JoI-EXBr.js → update-runner-DwM4xj8C.js} +1 -1
- package/dist/{validation-cli-ZFUB2tzh.js → validation-cli-C8XHeLjI.js} +18 -18
- package/dist/{validation-cli-CGimO4ZJ.js → validation-cli-jSmCMkkm.js} +18 -18
- package/dist/{with-timeout-Cl_OttOS.js → with-timeout-BvxLQUTs.js} +2 -2
- package/dist/{with-timeout-NhJMC1fC.js → with-timeout-CII3PkDO.js} +2 -2
- package/extensions/acpx/package.json +1 -1
- package/extensions/anthropic/package.json +1 -1
- package/extensions/bifrost/package.json +1 -1
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/deepgram/package.json +1 -1
- package/extensions/deepinfra/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/diffs/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/dream-cycle/package.json +1 -1
- package/extensions/elevenlabs/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/gemini-search/package.json +1 -1
- package/extensions/google/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/grok-search/package.json +1 -1
- package/extensions/groq/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/kimi-search/package.json +1 -1
- package/extensions/learning-core/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/lobster/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +1 -1
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/package.json +1 -1
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/mistral/package.json +1 -1
- package/extensions/moonshot/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +1 -1
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +1 -1
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/openai/package.json +1 -1
- package/extensions/openai-realtime/package.json +1 -1
- package/extensions/openrouter/package.json +1 -1
- package/extensions/perplexity-search/package.json +1 -1
- package/extensions/searxng-search/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/synology-chat/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +1 -1
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +1 -1
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zai/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +1 -1
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +1 -1
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
- package/dist/plugin-sdk/agent-turn-execute-C4MQxaT2.js +0 -61
- package/dist/plugin-sdk/agent-turn-runner-e_lJzDgA.js +0 -11
- package/dist/plugin-sdk/audio-preflight-DE04bi4M.js +0 -28
- package/dist/plugin-sdk/deliver-D4fWK65M.js +0 -32
- package/dist/plugin-sdk/manager-BlYRVNJI.js +0 -16
- package/dist/plugin-sdk/markdown-tables-cZSKCBuW.js +0 -10
- package/dist/plugin-sdk/provider-dispatcher-D7bchiJq.js +0 -61
- package/dist/plugin-sdk/provider-image-CNlYbRab.js +0 -22
- package/dist/plugin-sdk/proxy-D2uiu68M.js +0 -7
- package/dist/plugin-sdk/replies-XUkqz_7S.js +0 -25
- package/dist/plugin-sdk/reply-prefix-MU3uY52y.js +0 -7
- package/dist/plugin-sdk/runs-R28wdt7j.js +0 -25
- package/dist/plugin-sdk/send-Cg2VXcO0.js +0 -27
- package/dist/plugin-sdk/send-DAs6FmWB.js +0 -23
- package/dist/plugin-sdk/send-UIQH_kN6.js +0 -25
- package/dist/plugin-sdk/send-tASIQF-Q.js +0 -24
- package/dist/plugin-sdk/session-meta-Dd1ZONel.js +0 -10
- package/dist/plugin-sdk/skill-commands-C7ZE3rKj.js +0 -14
- package/dist/plugin-sdk/subagent-registry-2P8D5Trx.js +0 -61
- package/dist/plugin-sdk/user-run-recording-BMikDBXR.js +0 -11
|
@@ -17,17 +17,17 @@ import { c as optionalStringEnum, l as stringEnum } from "./retry-policy-BdHwnvO
|
|
|
17
17
|
import { c as resolveSessionFilePath, l as resolveSessionFilePathOptions, m as resolveStorePath, p as resolveSessionTranscriptsDirForAgent, u as resolveSessionTranscriptPath } from "./artifacts-C9Cr_S5Y.js";
|
|
18
18
|
import "./send-B_t3X0hK.js";
|
|
19
19
|
import "./send-BBFfvgK9.js";
|
|
20
|
-
import { $ as
|
|
20
|
+
import { $ as buildHistoryContextFromEntries, $n as getTtsProvider, $t as consumeGatewaySigusr1RestartAuthorization, A as loadOpenClawPlugins, An as extractImageContentFromSource, Bt as buildSafeExternalPrompt, C as buildDefaultToolPolicyPipelineSteps, Ct as resetDirectoryCache, Dn as DEFAULT_INPUT_MAX_REDIRECTS, Dt as consumeRestartSentinel, E as resolvePluginTools, En as DEFAULT_INPUT_IMAGE_MIMES, F as resolveAgentOutboundIdentity, Fn as isAbortRequestText, Ft as normalizeCronJobPatch, G as resolveAgentOutboundTarget, Gn as clearSessionQueues, Gt as persistBrowserProxyFiles, H as agentCommandFromIngress, Hn as resolveAnnounceTargetFromKey, Ht as getHookType, It as migrateLegacyCronPayload, J as createOutboundSendDeps$1, Jn as getAcpSessionManager, K as createOutboundSendDeps, Kn as getExistingFollowupQueue, Kt as resolveSessionAuthProfileOverride, L as handleSlackHttpRequest, Ln as countActiveDescendantRuns, Lt as buildDeliveryFromLegacyPayload, M as createPluginRuntime, Mn as resolveInputFileLimits, N as requestNudge, Nt as writeRestartSentinel, O as clearPluginRegistryCaches, On as DEFAULT_INPUT_TIMEOUT_MS, Ot as formatDoctorNonInteractiveHint, Pn as resolveSendPolicy, Pt as normalizeCronJobCreate, Qn as DEFAULT_MAX_PARALLEL, R as readJsonBodyWithLimit, Rn as initSubagentRegistry, Rt as hasLegacyDeliveryHints, S as applyToolPolicyPipeline, T as getPluginToolMeta, Tn as DEFAULT_INPUT_IMAGE_MAX_BYTES, Tt as runWithModelFallback, Un as readLatestAssistantReply, Ut as isExternalHookSession, Vn as runSubagentAnnounceFlow, Vt as detectSuspiciousPatterns, W as resolveAgentDeliveryPlan, Wn as resolveAgentTimeoutMs, Wt as applyBrowserProxyPaths, Xn as ToolInputError, Y as resolveAgentAvatar, Yn as resolveAgentSessionDirs, Zn as setTaskPipelineStatus, _ as prepareSessionManagerForRun, _n as isSystemEventContextChanged, _t as resolveOutboundSessionRoute, a as runHeartbeatOnce, an as setGatewaySigusr1RestartPolicy, ar as resolveTtsPrefsPath, bt as resolveSessionDeliveryTarget, c as startHeartbeatRunner, cr as setTtsProvider, d as getLastHeartbeatEvent, dr as OPENAI_TTS_VOICES, dt as getCliSessionId, en as deferGatewayRestartUntilIdle, er as isTtsEnabled, f as onHeartbeatEvent, fr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, ft as setCliSessionId, g as runEmbeddedPiAgent, gn as enqueueSystemEvent, gt as ensureOutboundSessionEntry, h as resolveCronSession, hr as resolveUserTimezone, i as resolveHeartbeatSummaryForAgent, in as scheduleGatewaySigusr1Restart, ir as resolveTtsConfig, it as getTotalPendingReplies, j as takePendingActivationMigration, jn as normalizeMimeList, jt as summarizeRestartSentinel, k as getLoadedAnalysisConcurrency, kn as extractFileContentFromSource, kt as formatRestartSentinelMessage, l as runWakeGate, lr as textToSpeech, lt as resolveChannelAccountEnabled, m as isCronSystemEvent, mr as resolveCronStyleNow, mt as createOpenClawTools, n as runMainAgentTurn, nn as isGatewaySigusr1RestartExternallyAllowed, nr as resolveTtsApiKey, nt as setDispatchInboundAdmissionRejectionFor, on as setPreRestartDeferralCheck, or as resolveTtsProviderOrder, p as redactSensitiveHeartbeatEvent, pr as stripHeartbeatToken, pt as runCliAgent, q as createDefaultDeps, qn as removeQueuedFollowupRun, r as resolveHeartbeatConfig, rn as markGatewaySigusr1RestartHandled, rr as resolveTtsAutoMode, rt as createReplyDispatcher, s as setHeartbeatsEnabled, sn as triggerOpenClawRestart, sr as setTtsEnabled, tn as emitGatewayRestart, tr as isTtsProviderConfigured, tt as dispatchInboundMessage, u as resolveHeartbeatVisibility, un as loadProviderUsageSummary, ur as OPENAI_TTS_MODELS, ut as BARE_SESSION_RESET_PROMPT, v as snapshotRunPendingWrites, vt as resolveHeartbeatDeliveryTarget, wn as ACP_SESSION_IDENTITY_RENDERER_VERSION, x as resolveExecConfig, xn as requestHeartbeatNow, xt as resolveOutboundChannelPlugin, y as waitForPendingWrites, yt as resolveOutboundTarget, z as requestBodyErrorToText, zn as listDescendantRunsForRequester, zt as stripLegacyDeliveryFields } from "./agent-turn-execute-Bw9hhkAP.js";
|
|
21
21
|
import { l as deriveSessionTotalTokens, u as hasNonzeroUsage } from "./chat-envelope-DfuAGxmg.js";
|
|
22
22
|
import { c as isDiagnosticsEnabled, l as onDiagnosticEvent, s as emitDiagnosticEvent } from "./task-run-types-B6n0W8Rb.js";
|
|
23
23
|
import { n as USER_CLIENT_ID, o as buildUserClientRuntimeConfig, s as handleUserClientHttpRequest } from "./static-server-CRGPIP-a.js";
|
|
24
24
|
import { t as redactIdentifier } from "./redact-identifier-BcqQpFrh.js";
|
|
25
|
-
import { a as cancelDelayedAgentTurnWaiters, c as enqueueAgentTurn, i as agentTurnIdempotencyKey, l as isClaimableAgentTurnWorkId, r as AGENT_TURN_TOPIC, s as createRecoveryAgentTurnStager } from "./agent-turn-enqueue-
|
|
25
|
+
import { a as cancelDelayedAgentTurnWaiters, c as enqueueAgentTurn, i as agentTurnIdempotencyKey, l as isClaimableAgentTurnWorkId, r as AGENT_TURN_TOPIC, s as createRecoveryAgentTurnStager } from "./agent-turn-enqueue-N-q0v3mc.js";
|
|
26
26
|
import { t as CommandLane } from "./lanes-BN1DVTrA.js";
|
|
27
|
-
import { A as registerBeforeCreate, C as artifactTokenFor, D as markRemoved, E as markClientRemovedAcknowledged, M as buildVerificationEnvelope, N as redactVerificationProjection, O as markRetained, P as verificationEnvelopeFingerprint, S as accountSessionArtifactsAtTerminalSweep, T as listSessionArtifacts, _ as requireProcessBootIdentityPair, a as setAgentTurnRuntime, b as installGatewayRestartRecoveryRuntime, d as isSoakError, f as readTrustedBuildInfo, g as isBootIdentityError, h as deriveBootIdentityPair, i as getAgentTurnRuntime, j as VERIFICATION_CONFIG_SCENARIO, k as redactArtifactLogId, l as buildSoakDeploymentRecord, m as armBarrier, n as createAgentTurnRuntimeFromStorage, o as tryGetAgentTurnRuntime, p as acceptSuccessorExecution, r as getActiveAgentTurnCount, u as evaluateSoak, v as clearGatewayRestartRecoveryRuntimeIf, w as isArtifactRegistrationError, x as RETAINED_ARTIFACT_KIND, y as getGatewayRestartRecoveryRuntime } from "./agent-turn-runner-
|
|
27
|
+
import { A as registerBeforeCreate, C as artifactTokenFor, D as markRemoved, E as markClientRemovedAcknowledged, M as buildVerificationEnvelope, N as redactVerificationProjection, O as markRetained, P as verificationEnvelopeFingerprint, S as accountSessionArtifactsAtTerminalSweep, T as listSessionArtifacts, _ as requireProcessBootIdentityPair, a as setAgentTurnRuntime, b as installGatewayRestartRecoveryRuntime, d as isSoakError, f as readTrustedBuildInfo, g as isBootIdentityError, h as deriveBootIdentityPair, i as getAgentTurnRuntime, j as VERIFICATION_CONFIG_SCENARIO, k as redactArtifactLogId, l as buildSoakDeploymentRecord, m as armBarrier, n as createAgentTurnRuntimeFromStorage, o as tryGetAgentTurnRuntime, p as acceptSuccessorExecution, r as getActiveAgentTurnCount, u as evaluateSoak, v as clearGatewayRestartRecoveryRuntimeIf, w as isArtifactRegistrationError, x as RETAINED_ARTIFACT_KIND, y as getGatewayRestartRecoveryRuntime } from "./agent-turn-runner-CUCOdxhH.js";
|
|
28
28
|
import { a as getGatewayInstanceId, o as resolveSessionRunStore, t as createSessionRunRecorder } from "./recorder-Ca_njjjH.js";
|
|
29
|
-
import "./pi-embedded-helpers-
|
|
30
|
-
import { C as resolveToolProfilePolicy, _ as collectExplicitAllowlist, y as mergeAlsoAllowPolicy } from "./sandbox-
|
|
29
|
+
import "./pi-embedded-helpers-BU47jdPO.js";
|
|
30
|
+
import { C as resolveToolProfilePolicy, _ as collectExplicitAllowlist, y as mergeAlsoAllowPolicy } from "./sandbox-QsMPF2u6.js";
|
|
31
31
|
import { i as listCoreToolSections, n as PROFILE_OPTIONS, o as resolveCoreToolProfiles } from "./tool-catalog-BWgva5h1.js";
|
|
32
32
|
import { i as resolveRelayAuthTokenForPort, n as resolveGatewayRelayToken } from "./extension-relay-auth-DD-U9VUc.js";
|
|
33
33
|
import { i as enableTailscaleServe, n as disableTailscaleServe, o as getTailnetHostname, r as enableTailscaleFunnel, t as disableTailscaleFunnel } from "./tailscale-BrZL_MiW.js";
|
|
@@ -35,7 +35,7 @@ import { t as safeEqualSecret } from "./secret-equal-CQn9WoXt.js";
|
|
|
35
35
|
import { n as pickPrimaryTailnetIPv4, r as pickPrimaryTailnetIPv6 } from "./tailnet-BSKE3pk_.js";
|
|
36
36
|
import { c as normalizeHostHeader, d as resolveGatewayBindHost, f as resolveGatewayListenHosts, i as isLoopbackHost, l as pickPrimaryLanIPv4, n as isLocalishHost, o as isTrustedProxyAddress, r as isLoopbackAddress, s as isValidIPv4, t as rawDataToString, u as resolveClientIp } from "./ws-DESjYW7M.js";
|
|
37
37
|
import { a as isDirectLoopbackProvenance, c as AUTH_RATE_LIMIT_SCOPE_BROWSER_EXTENSION, d as AUTH_RATE_LIMIT_SCOPE_SHARED_SECRET, f as createAuthRateLimiter, i as captureTransportProvenance, l as AUTH_RATE_LIMIT_SCOPE_DEVICE_TOKEN, n as authorizeHttpGatewayConnect, o as isLocalDirectRequest, p as normalizeRateLimitClientIp, r as authorizeWsControlUiGatewayConnect, s as resolveGatewayAuth, t as assertGatewayAuthConfigured, u as AUTH_RATE_LIMIT_SCOPE_HOOK_AUTH } from "./auth-Cx-Q9zgv.js";
|
|
38
|
-
import { o as ensureGatewayStartupAuth, s as mergeGatewayTailscaleConfig } from "./server-context-
|
|
38
|
+
import { o as ensureGatewayStartupAuth, s as mergeGatewayTailscaleConfig } from "./server-context-CTilcbO4.js";
|
|
39
39
|
import { d as hasBinary } from "./frontmatter-Dn2qUSOb.js";
|
|
40
40
|
import { i as loadWorkspaceSkillEntries, r as buildWorkspaceSkillSnapshot } from "./skills-D3kpiNaJ.js";
|
|
41
41
|
import { n as assertNoPathAliasEscape } from "./path-alias-guards-CHFrrzxZ.js";
|
|
@@ -53,12 +53,12 @@ import "./server-middleware-CrJMxxfQ.js";
|
|
|
53
53
|
import { d as supportsXHighThinking, l as normalizeVerboseLevel, s as normalizeThinkLevel } from "./thinking-NawgaQgc.js";
|
|
54
54
|
import { a as resolveAgentIdentity, t as createReplyPrefixOptions } from "./reply-prefix-B8M4IWrd.js";
|
|
55
55
|
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-B6PaaeVv.js";
|
|
56
|
-
import { a as getMachineDisplayName, i as startBrowserControlServiceFromConfig, n as createBrowserRouteDispatcher, r as createBrowserControlContext } from "./with-timeout-
|
|
56
|
+
import { a as getMachineDisplayName, i as startBrowserControlServiceFromConfig, n as createBrowserRouteDispatcher, r as createBrowserControlContext } from "./with-timeout-BvxLQUTs.js";
|
|
57
57
|
import { f as getGlobalHookRunner, h as runGlobalGatewayStopSafely, m as resetGlobalHookRunner, u as buildOutboundSessionContext } from "./outbound-message-hooks-BBtH97ZV.js";
|
|
58
|
-
import { A as setActiveRunProbe, M as stopDiagnosticHeartbeat, j as startDiagnosticHeartbeat, k as resolveStuckSessionWarnMs, t as clearActiveRunProbe } from "./diagnostic-
|
|
58
|
+
import { A as setActiveRunProbe, M as stopDiagnosticHeartbeat, j as startDiagnosticHeartbeat, k as resolveStuckSessionWarnMs, t as clearActiveRunProbe } from "./diagnostic-Dv8UWiI0.js";
|
|
59
59
|
import { u as snapshotActiveRuns } from "./diagnostic-session-state-DCr9T3zW.js";
|
|
60
|
-
import { a as getActiveTaskCount, c as getTotalQueueSize, d as setCommandLaneConcurrency, f as setGatewayDrainState, l as markGatewayDraining, p as waitForActiveTasks, u as resetAllLanes } from "./command-queue-
|
|
61
|
-
import { F as resolveCronStorePath, I as saveCronStore, P as loadCronStore, S as collectTelegramDuplicatePollerDiagnostics } from "./send-
|
|
60
|
+
import { a as getActiveTaskCount, c as getTotalQueueSize, d as setCommandLaneConcurrency, f as setGatewayDrainState, l as markGatewayDraining, p as waitForActiveTasks, u as resetAllLanes } from "./command-queue-URs9pYSC.js";
|
|
61
|
+
import { F as resolveCronStorePath, I as saveCronStore, P as loadCronStore, S as collectTelegramDuplicatePollerDiagnostics } from "./send-BKkvuHI9.js";
|
|
62
62
|
import { n as resolveModel } from "./model-BbeosLtF.js";
|
|
63
63
|
import "./pi-model-discovery-CZ9wxcE8.js";
|
|
64
64
|
import "./models-config-BMgEFu57.js";
|
|
@@ -67,12 +67,12 @@ import "./exec-safe-bin-runtime-policy-C3eU8CKJ.js";
|
|
|
67
67
|
import "./session-consumer-agents-5ORspv9c.js";
|
|
68
68
|
import { n as loadModelCatalog } from "./model-catalog-Bjfzg68Q.js";
|
|
69
69
|
import "./fetch-ByEEe-Yd.js";
|
|
70
|
-
import { D as registerUnhandledRejectionHandler, _ as getProviderDeclaredEnvVars, c as transcribeBufferedPcmWithMediaUnderstanding, f as resolveModelEntries, n as buildProviderRegistry, u as resolveCapabilityConfig, v as listAutoDetectableProviders, y as normalizeMediaProviderId } from "./audio-transcription-runner-
|
|
70
|
+
import { D as registerUnhandledRejectionHandler, _ as getProviderDeclaredEnvVars, c as transcribeBufferedPcmWithMediaUnderstanding, f as resolveModelEntries, n as buildProviderRegistry, u as resolveCapabilityConfig, v as listAutoDetectableProviders, y as normalizeMediaProviderId } from "./audio-transcription-runner-BD7UgbNj.js";
|
|
71
71
|
import { t as fetchWithSsrFGuard } from "./fetch-guard-BzXFjlMV.js";
|
|
72
72
|
import "./proxy-fetch-BqVhGKFd.js";
|
|
73
73
|
import "./api-key-rotation-DiMQTef3.js";
|
|
74
|
-
import "./provider-image-
|
|
75
|
-
import { h as extractTextFromChatContent } from "./pi-embedded-utils-
|
|
74
|
+
import "./provider-image-UXLX6qTH.js";
|
|
75
|
+
import { h as extractTextFromChatContent } from "./pi-embedded-utils-8OzPnJMh.js";
|
|
76
76
|
import "./tool-display-DiZGbhL2.js";
|
|
77
77
|
import { n as formatTokenCount, r as formatUsd } from "./usage-format-DFNB1c7t.js";
|
|
78
78
|
import "./chunk-DiXpyRAz.js";
|
|
@@ -85,8 +85,8 @@ import "./registry-DXmhuMNN.js";
|
|
|
85
85
|
import { $ as validateNodeListParams, $t as validateTalkSessionCreateParams, A as validateCronRunParams, B as validateExecApprovalRequestParams, Bn as verifyDeviceToken, Bt as validateTalkConfigParams, C as validateConfigPatchParams, Cn as normalizeDeviceMetadataForAuth, D as validateCronAddParams, Dn as consumeDeviceBootstrapToken, E as validateConnectParams, En as approveDevicePairing, F as validateDevicePairListParams, Fn as revokeDeviceToken, Ft as validateSkillsBinsParams, G as validateExecApprovalsSetParams, Gt as validateTalkRealtimeSessionParams, H as validateExecApprovalsGetParams, Ht as validateTalkRealtimeAudioParams, I as validateDevicePairRejectParams, In as rotateDeviceToken, It as validateSkillsInstallParams, J as validateModelsListParams, Jt as validateTalkRealtimeToolResultParams, K as validateLogsTailParams, Kt as validateTalkRealtimeStatusParams, L as validateDevicePairRemoveParams, Ln as summarizeDeviceTokens, Lt as validateSkillsStatusParams, M as validateCronStatusParams, Mn as rejectDevicePairing, N as validateCronUpdateParams, Nn as removePairedDevice, Nt as validateSessionsTitlePrepareParams, O as validateCronListParams, On as ensureDeviceToken, P as validateDevicePairApproveParams, Pn as requestDevicePairing, Pt as validateSessionsUsageParams, Q as validateNodeInvokeResultParams, Qt as validateTalkSessionCloseParams, R as validateDeviceTokenRevokeParams, Rn as updatePairedDeviceMetadata, Rt as validateSkillsUpdateParams, S as validateConfigGetParams, Sn as buildDeviceAuthPayloadV3, T as validateConfigSetParams, Tn as approveBootstrapDevicePairing, U as validateExecApprovalsNodeGetParams, Un as operatorScopeSatisfied, Ut as validateTalkRealtimeBargeInParams, V as validateExecApprovalResolveParams, Vt as validateTalkModeParams, W as validateExecApprovalsNodeSetParams, Wn as roleScopesAllow, Wt as validateTalkRealtimeMarkParams, X as validateNodeEventParams, Xn as verifyDeviceSignature, Xt as validateTalkSessionBargeInParams, Y as validateNodeDescribeParams, Yn as normalizeDevicePublicKeyBase64Url, Yt as validateTalkSessionAppendAudioParams, Z as validateNodeInvokeParams, Zt as validateTalkSessionCancelTurnParams, _ as validateChatAbortParams, _n as ErrorCodes, a as validateAgentNudgeParams, an as validateToolsCatalogParams, at as validateNodeRenameParams, b as validateChatSendParams, c as validateAgentsCreateParams, cn as validateWebLoginStartParams, ct as validateRequestFrame, d as validateAgentsFilesListParams, dn as validateWizardNextParams, dt as validateSendParams, en as validateTalkSessionMarkParams, et as validateNodePairApproveParams, f as validateAgentsFilesSetParams, fn as validateWizardStartParams, ft as validateSessionsAbortParams, g as validateChannelsStatusParams, h as validateChannelsLogoutParams, hn as RUNS_INVALIDATED_EVENT, i as validateAgentIdentityParams, in as validateTasksRunsListParams, it as validateNodePairVerifyParams, j as validateCronRunsParams, jn as listDevicePairing, jt as validateSessionsSteerParams, k as validateCronRemoveParams, kn as getPairedDevice, l as validateAgentsDeleteParams, ln as validateWebLoginWaitParams, lt as validateSecretsResolveParams, m as validateAgentsUpdateParams, mn as PROTOCOL_VERSION, nn as validateTasksRunsEventsParams, nt as validateNodePairRejectParams, o as validateAgentParams, on as validateUpdateRunParams, ot as validatePollParams, p as validateAgentsListParams, pn as validateWizardStatusParams, q as validateModelsAuthStatusParams, qn as deriveDeviceIdFromPublicKey, qt as validateTalkRealtimeStopParams, r as formatValidationErrors, rn as validateTasksRunsGetParams, rt as validateNodePairRequestParams, s as validateAgentWaitParams, sn as validateWakeParams, st as validatePushTestParams, tn as validateTasksRunEventsParams, tt as validateNodePairListParams, u as validateAgentsFilesGetParams, un as validateWizardCancelParams, ut as validateSecretsResolveResult, v as validateChatHistoryParams, vn as errorShape, w as validateConfigSchemaParams, x as validateConfigApplyParams, xn as buildDeviceAuthPayload, y as validateChatInjectParams, z as validateDeviceTokenRotateParams, zn as verifyDeviceBootstrapToken, zt as validateTalkCatalogParams } from "./client-BMkNNUux.js";
|
|
86
86
|
import { _ as hasNarrowSessionScope, d as APPROVALS_SCOPE, f as PAIRING_SCOPE, g as authorizeOperatorScopesForMethod, h as WRITE_SCOPE, m as SESSION_READ_SCOPE, n as callGateway, p as READ_SCOPE, u as ADMIN_SCOPE$1, v as isHealthProbeAllowedForScopes, x as loadGatewayTlsRuntime$1, y as isNodeRoleMethod } from "./call-BIVg1gmJ.js";
|
|
87
87
|
import "./pairing-token-BfRB0jVM.js";
|
|
88
|
-
import { D as onAgentEvent, E as getAgentRunContext, O as registerAgentRunContext, T as emitAgentEvent, a as getActiveEmbeddedRunCount, c as isEmbeddedPiRunInFlight, d as isInFlightVoiceAttempt, f as peekActiveEmbeddedRun, g as waitForEmbeddedPiRunEnd, l as isEmbeddedPiRunSteerable, o as getActiveEmbeddedRunOwner, r as clearActiveEmbeddedRun, s as isEmbeddedPiRunActive, t as abortEmbeddedPiRun, w as clearAgentRunContext } from "./runs-
|
|
89
|
-
import { o as normalizeReplyPayloadsForDelivery, t as deliverOutboundPayloads } from "./deliver-
|
|
88
|
+
import { D as onAgentEvent, E as getAgentRunContext, O as registerAgentRunContext, T as emitAgentEvent, a as getActiveEmbeddedRunCount, c as isEmbeddedPiRunInFlight, d as isInFlightVoiceAttempt, f as peekActiveEmbeddedRun, g as waitForEmbeddedPiRunEnd, l as isEmbeddedPiRunSteerable, o as getActiveEmbeddedRunOwner, r as clearActiveEmbeddedRun, s as isEmbeddedPiRunActive, t as abortEmbeddedPiRun, w as clearAgentRunContext } from "./runs-i5IuTzQX.js";
|
|
89
|
+
import { o as normalizeReplyPayloadsForDelivery, t as deliverOutboundPayloads } from "./deliver-C5SDo7TP.js";
|
|
90
90
|
import "./user-run-recording-DXNyfjMq.js";
|
|
91
91
|
import "./fetch--Fn4tlfW.js";
|
|
92
92
|
import { a as readChannelAllowFromStoreSync } from "./pairing-store-BZFrD-fJ.js";
|
|
@@ -100,10 +100,10 @@ import { a as buildBaseHints, i as applySensitiveHints, n as redactConfigSnapsho
|
|
|
100
100
|
import { i as normalizePollInput, t as getChannelActivity } from "./channel-activity-SqK9nKf7.js";
|
|
101
101
|
import "./tables-CCEXTXTG.js";
|
|
102
102
|
import { i as loadSessionUsageTimeSeries, n as loadCostUsageSummary, r as loadSessionCostSummary, t as discoverAllSessions } from "./session-cost-usage-BTDAzt-T.js";
|
|
103
|
-
import "./server-lifecycle-
|
|
103
|
+
import "./server-lifecycle-BIOS9ErD.js";
|
|
104
104
|
import { i as parseAbsoluteTimeMs, r as resolveDefaultCronStaggerMs, t as normalizeCronStaggerMs } from "./stagger-CT5G1TCV.js";
|
|
105
105
|
import { a as normalizeHttpWebhookUrl, l as normalizeOptionalText, o as inferLegacyName } from "./heartbeat-tick-By0WI8YD.js";
|
|
106
|
-
import { d as resolveGroupToolPolicy, f as resolveSubagentToolPolicy, u as resolveEffectiveToolPolicy } from "./dm-policy-shared-
|
|
106
|
+
import { d as resolveGroupToolPolicy, f as resolveSubagentToolPolicy, u as resolveEffectiveToolPolicy } from "./dm-policy-shared-BLJbsZzf.js";
|
|
107
107
|
import "./reply-directives-Bc2RQAcJ.js";
|
|
108
108
|
import { n as resolveMessageChannelSelection } from "./channel-selection-DfNPCJXK.js";
|
|
109
109
|
import { i as applyPluginAutoEnable, n as collectUnsafeTelegramPollingTimeouts, s as buildChannelUiCatalog } from "./polling-timeout-DoMlNx_D.js";
|
|
@@ -135,12 +135,12 @@ import { n as DEFAULT_GATEWAY_HTTP_TOOL_DENY } from "./dangerous-tools-C2gmG0PE.
|
|
|
135
135
|
import { n as inheritOptionFromParent } from "./command-options-vZSwrzpA.js";
|
|
136
136
|
import { t as WizardCancelledError } from "./prompts-BBkof-cQ.js";
|
|
137
137
|
import { t as resolveChannelDefaultAccountId } from "./helpers-GPI9o9AS.js";
|
|
138
|
-
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-
|
|
138
|
+
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-C8RJrfbr.js";
|
|
139
139
|
import { t as isWithinDir } from "./path-safety-CCSB65fm.js";
|
|
140
140
|
import "./install-safe-path-4YfMRsxN.js";
|
|
141
|
-
import "./npm-pack-install-
|
|
141
|
+
import "./npm-pack-install-DcBobJp3.js";
|
|
142
142
|
import "./skill-scanner-BrEkff8K.js";
|
|
143
|
-
import "./installs-
|
|
143
|
+
import "./installs-CdLdL1gD.js";
|
|
144
144
|
import { n as formatConfigIssueLines } from "./issue-format-BG8o87sf.js";
|
|
145
145
|
import { t as buildChannelAccountSnapshot } from "./status-yrDGXYZM.js";
|
|
146
146
|
import "./channels-status-issues-B4p6AXBG.js";
|
|
@@ -157,32 +157,32 @@ import "./diagnostics-C4-TUVnm.js";
|
|
|
157
157
|
import "./table-H366JkfJ.js";
|
|
158
158
|
import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } from "./widearea-dns-B1ALOpPn.js";
|
|
159
159
|
import { i as toOptionString, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-CJd0QML9.js";
|
|
160
|
-
import { a as probeGateway, n as collectEnabledInsecureOrDangerousFlags } from "./audit-
|
|
160
|
+
import { a as probeGateway, n as collectEnabledInsecureOrDangerousFlags } from "./audit-BM8WZyx6.js";
|
|
161
161
|
import { t as discoverGatewayBeacons } from "./bonjour-discovery-B1GbNHC3.js";
|
|
162
|
-
import { a as getStorageV1Snapshot, c as pickGatewaySelfPresence, i as createStorageSupervisor, o as noteStorageReplayResult, r as getStatusSummary, s as noteStorageRestartRequired } from "./status-
|
|
163
|
-
import { c as redactOwner, d as redactSensitiveHealthSummary, f as styleHealthChannelLine, n as getHealthSnapshot, t as formatHealthChannelLines } from "./health-
|
|
162
|
+
import { a as getStorageV1Snapshot, c as pickGatewaySelfPresence, i as createStorageSupervisor, o as noteStorageReplayResult, r as getStatusSummary, s as noteStorageRestartRequired } from "./status-PwhjcAYw.js";
|
|
163
|
+
import { c as redactOwner, d as redactSensitiveHealthSummary, f as styleHealthChannelLine, n as getHealthSnapshot, t as formatHealthChannelLines } from "./health-Cooqit6V.js";
|
|
164
164
|
import { a as readPostQuiesceTranscriptDelta, i as readBulkTranscriptLines, o as replaySource, r as mergeBulkTranscriptSnapshotAndDelta, t as ReplayRowConflictError } from "./replay-B9P8F4Td.js";
|
|
165
165
|
import "./session-key-resolution-CvnTXaSw.js";
|
|
166
166
|
import { c as waitForStopDrain, l as withTimeout, o as tasksHandlers, r as getTaskOperatorRegistry, s as retryDelayMs, t as DEFAULT_RETENTION_DAYS } from "./task-runlog-retention-cEBecqvb.js";
|
|
167
167
|
import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t as ensureControlUiAssetsBuilt } from "./control-ui-assets-BXkk_vKO.js";
|
|
168
168
|
import { h as normalizeUpdateChannel, l as DEFAULT_PACKAGE_CHANNEL, n as checkUpdateStatus, o as resolveNpmChannelTag, r as compareSemverStrings } from "./channel-account-context-DM1npKXX.js";
|
|
169
|
-
import { t as reconcileBundledInstalls } from "./reconcile-bundled-
|
|
169
|
+
import { t as reconcileBundledInstalls } from "./reconcile-bundled-Dx64x8xr.js";
|
|
170
170
|
import { a as resolveCommandSecretsFromActiveRuntimeSnapshot, i as prepareSecretsRuntimeSnapshot, n as clearSecretsRuntimeSnapshot, r as getActiveSecretsRuntimeSnapshot, t as activateSecretsRuntimeSnapshot } from "./runtime-ACR3KU8j.js";
|
|
171
171
|
import "./onboarding.secret-input-YvW1rg1V.js";
|
|
172
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
172
|
+
import { t as runOnboardingWizard } from "./onboarding-0WSY8o8f.js";
|
|
173
173
|
import { a as computeJobNextRunAtMs, c as findJobOrThrow, d as recomputeNextRuns, f as recomputeNextRunsForMaintenance, h as produceCronAgentTurn, i as applyJobPatch, l as isJobDue, m as resolveJobPayloadTextForMain, o as createJob, p as recordScheduleComputeError, r as resolveStaleClaimAdoptionMs, s as cronShapeSupportsIdentity, t as CRON_HEARTBEAT_ADAPTER_ID, u as nextWakeAtMs } from "./recovery-adapter-CPQ9-014.js";
|
|
174
|
-
import { a as sendApnsAlert, c as parseMessageWithAttachments, d as shouldLogWs, f as summarizeAgentEventForWsLog, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, p as setGatewayWsLogStyle, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration, u as logWs } from "./push-apns-
|
|
174
|
+
import { a as sendApnsAlert, c as parseMessageWithAttachments, d as shouldLogWs, f as summarizeAgentEventForWsLog, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, p as setGatewayWsLogStyle, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration, u as logWs } from "./push-apns-DYlVj3Sd.js";
|
|
175
175
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-BzuIKryU.js";
|
|
176
|
-
import { a as readChatHistoryPage, c as unsubscribeSessionChanges, i as decodeHistoryCursor, l as assertValidParams, o as resolveDbLeafEntryId, r as InvalidHistoryCursorError, s as resolveDbMessageEntryById, t as sessionsHandlers } from "./sessions-
|
|
176
|
+
import { a as readChatHistoryPage, c as unsubscribeSessionChanges, i as decodeHistoryCursor, l as assertValidParams, o as resolveDbLeafEntryId, r as InvalidHistoryCursorError, s as resolveDbMessageEntryById, t as sessionsHandlers } from "./sessions-DCXadUdD.js";
|
|
177
177
|
import { n as isNodeCommandAllowed, r as resolveNodeCommandAllowlist } from "./node-command-policy-wwMY6dIH.js";
|
|
178
178
|
import "./node-service-r64yexlb.js";
|
|
179
179
|
import "./status.update-C4YRQzqD.js";
|
|
180
180
|
import { i as resolveActiveLogFile, n as readLogSlice } from "./log-tail-Dg2oYTZ6.js";
|
|
181
181
|
import { t as installSkill } from "./skills-install-B23U6yk5.js";
|
|
182
|
-
import { r as runGatewayUpdate } from "./update-runner-
|
|
182
|
+
import { r as runGatewayUpdate } from "./update-runner-DwM4xj8C.js";
|
|
183
183
|
import { n as resolveWebClientPackagedRootSync, t as WEB_CLIENT_BUNDLE_MISSING_MESSAGE } from "./web-client-assets-nkeo2cLh.js";
|
|
184
184
|
import { i as shouldIncludeHook, r as resolveHookConfig, t as loadWorkspaceHookEntries } from "./workspace-DkkkJ4GX.js";
|
|
185
|
-
import { c as heartbeatProbeRunArtifactId, d as runIsolatedHeartbeatProbe, i as HEARTBEAT_PROBE_REASON, l as isHeartbeatProbeError, o as assertHeartbeatProbeDeliveryIsSafe, p as readValidationActivation, r as HEARTBEAT_PROBE_ALLOWED_TARGET, s as assertHeartbeatProbeParamsAreClosed, t as VALIDATION_ABORT_COMMAND, u as probeSessionKey$1 } from "./operator-commands-
|
|
185
|
+
import { c as heartbeatProbeRunArtifactId, d as runIsolatedHeartbeatProbe, i as HEARTBEAT_PROBE_REASON, l as isHeartbeatProbeError, o as assertHeartbeatProbeDeliveryIsSafe, p as readValidationActivation, r as HEARTBEAT_PROBE_ALLOWED_TARGET, s as assertHeartbeatProbeParamsAreClosed, t as VALIDATION_ABORT_COMMAND, u as probeSessionKey$1 } from "./operator-commands-CIz47IKl.js";
|
|
186
186
|
import { n as forceFreePortAndWait } from "./ports-BxjQwKMc.js";
|
|
187
187
|
import { createRequire } from "node:module";
|
|
188
188
|
import { spawn, spawnSync } from "node:child_process";
|
|
@@ -1083,7 +1083,7 @@ function resolveVerificationStore(params = {}) {
|
|
|
1083
1083
|
|
|
1084
1084
|
//#endregion
|
|
1085
1085
|
//#region src/infra/exec-approval-forwarder.ts
|
|
1086
|
-
const log$
|
|
1086
|
+
const log$29 = createSubsystemLogger("gateway/exec-approvals");
|
|
1087
1087
|
const DEFAULT_MODE = "session";
|
|
1088
1088
|
function normalizeMode(mode) {
|
|
1089
1089
|
return mode ?? DEFAULT_MODE;
|
|
@@ -1221,7 +1221,7 @@ async function deliverToTargets(params) {
|
|
|
1221
1221
|
payloads: [{ text: params.text }]
|
|
1222
1222
|
});
|
|
1223
1223
|
} catch (err) {
|
|
1224
|
-
log$
|
|
1224
|
+
log$29.error(`exec approvals: failed to deliver to ${channel}:${target.to}: ${String(err)}`);
|
|
1225
1225
|
}
|
|
1226
1226
|
});
|
|
1227
1227
|
await Promise.allSettled(deliveries);
|
|
@@ -1310,7 +1310,7 @@ function createExecApprovalForwarder(deps = {}) {
|
|
|
1310
1310
|
deliver,
|
|
1311
1311
|
shouldSend: () => pending.get(request.id) === pendingEntry
|
|
1312
1312
|
}).catch((err) => {
|
|
1313
|
-
log$
|
|
1313
|
+
log$29.error(`exec approvals: failed to deliver request ${request.id}: ${String(err)}`);
|
|
1314
1314
|
});
|
|
1315
1315
|
return true;
|
|
1316
1316
|
};
|
|
@@ -1682,7 +1682,7 @@ function scheduleGatewayUpdateCheck(params) {
|
|
|
1682
1682
|
|
|
1683
1683
|
//#endregion
|
|
1684
1684
|
//#region src/sessions/session-runs/restart-transitions.ts
|
|
1685
|
-
const log$
|
|
1685
|
+
const log$28 = createSubsystemLogger("sessions/restart-transitions");
|
|
1686
1686
|
async function transition(input, recoveryEnabled) {
|
|
1687
1687
|
const store = input.store ?? getConfiguredSessionStorageRuntime()?.runtime?.runs;
|
|
1688
1688
|
if (!store) return [];
|
|
@@ -1693,14 +1693,14 @@ async function transition(input, recoveryEnabled) {
|
|
|
1693
1693
|
recoveryReason: input.reason,
|
|
1694
1694
|
recoveryEnabled
|
|
1695
1695
|
});
|
|
1696
|
-
if (transitioned.length > 0) log$
|
|
1696
|
+
if (transitioned.length > 0) log$28.info("transitioned active runs for restart", {
|
|
1697
1697
|
count: transitioned.length,
|
|
1698
1698
|
recoveryEnabled,
|
|
1699
1699
|
reason: input.reason
|
|
1700
1700
|
});
|
|
1701
1701
|
return transitioned;
|
|
1702
1702
|
} catch (err) {
|
|
1703
|
-
log$
|
|
1703
|
+
log$28.warn("failed to transition active runs for restart", {
|
|
1704
1704
|
recoveryEnabled,
|
|
1705
1705
|
error: String(err)
|
|
1706
1706
|
});
|
|
@@ -1769,7 +1769,7 @@ function resolveChannelRestartReason(snapshot, evaluation) {
|
|
|
1769
1769
|
|
|
1770
1770
|
//#endregion
|
|
1771
1771
|
//#region src/gateway/channel-health-monitor.ts
|
|
1772
|
-
const log$
|
|
1772
|
+
const log$27 = createSubsystemLogger("gateway/health-monitor");
|
|
1773
1773
|
const DEFAULT_CHECK_INTERVAL_MS = 5 * 6e4;
|
|
1774
1774
|
const DEFAULT_MONITOR_STARTUP_GRACE_MS = 6e4;
|
|
1775
1775
|
const DEFAULT_COOLDOWN_CYCLES = 2;
|
|
@@ -1829,11 +1829,11 @@ function startChannelHealthMonitor(deps) {
|
|
|
1829
1829
|
if (now - record.lastRestartAt <= cooldownMs) continue;
|
|
1830
1830
|
pruneOldRestarts(record, now);
|
|
1831
1831
|
if (record.restartsThisHour.length >= maxRestartsPerHour) {
|
|
1832
|
-
log$
|
|
1832
|
+
log$27.warn?.(`[${channelId}:${accountId}] health-monitor: hit ${maxRestartsPerHour} restarts/hour limit, skipping`);
|
|
1833
1833
|
continue;
|
|
1834
1834
|
}
|
|
1835
1835
|
const reason = resolveChannelRestartReason(status, health);
|
|
1836
|
-
log$
|
|
1836
|
+
log$27.info?.(`[${channelId}:${accountId}] health-monitor: restarting (reason: ${reason})`);
|
|
1837
1837
|
try {
|
|
1838
1838
|
if (status.running) await channelManager.stopChannel(channelId, accountId);
|
|
1839
1839
|
channelManager.resetRestartAttempts(channelId, accountId);
|
|
@@ -1842,7 +1842,7 @@ function startChannelHealthMonitor(deps) {
|
|
|
1842
1842
|
record.restartsThisHour.push({ at: now });
|
|
1843
1843
|
restartRecords.set(key, record);
|
|
1844
1844
|
} catch (err) {
|
|
1845
|
-
log$
|
|
1845
|
+
log$27.error?.(`[${channelId}:${accountId}] health-monitor: restart failed: ${String(err)}`);
|
|
1846
1846
|
}
|
|
1847
1847
|
}
|
|
1848
1848
|
}
|
|
@@ -1862,7 +1862,7 @@ function startChannelHealthMonitor(deps) {
|
|
|
1862
1862
|
abortSignal?.addEventListener("abort", stop, { once: true });
|
|
1863
1863
|
timer = setInterval(() => void runCheck(), checkIntervalMs);
|
|
1864
1864
|
if (typeof timer === "object" && "unref" in timer) timer.unref();
|
|
1865
|
-
log$
|
|
1865
|
+
log$27.info?.(`started (interval: ${Math.round(checkIntervalMs / 1e3)}s, startup-grace: ${Math.round(timing.monitorStartupGraceMs / 1e3)}s, channel-connect-grace: ${Math.round(timing.channelConnectGraceMs / 1e3)}s)`);
|
|
1866
1866
|
}
|
|
1867
1867
|
return { stop };
|
|
1868
1868
|
}
|
|
@@ -3068,10 +3068,10 @@ async function assembleFirstPartyAdapters(cfg, wiring) {
|
|
|
3068
3068
|
const { getConfiguredSessionStorageRuntime } = await import("./config-BPACL-n5.js").then((n) => n.Hn);
|
|
3069
3069
|
const runtime = getConfiguredSessionStorageRuntime()?.runtime;
|
|
3070
3070
|
const gatewayInstanceId = getGatewayInstanceId();
|
|
3071
|
-
const { tryGetAgentTurnRuntime } = await import("./agent-turn-runner-
|
|
3071
|
+
const { tryGetAgentTurnRuntime } = await import("./agent-turn-runner-CUCOdxhH.js").then((n) => n.t);
|
|
3072
3072
|
const backbone = tryGetAgentTurnRuntime()?.backbone;
|
|
3073
3073
|
const { createOutboundDeliveryRecoveryAdapter } = await import("./delivery-recovery-adapter-Bj3mCcg9.js");
|
|
3074
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
3074
|
+
const { deliverOutboundPayloads } = await import("./deliver-C5SDo7TP.js").then((n) => n.n);
|
|
3075
3075
|
adapters.push(createOutboundDeliveryRecoveryAdapter({
|
|
3076
3076
|
cfg,
|
|
3077
3077
|
deliver: deliverOutboundPayloads,
|
|
@@ -3085,7 +3085,7 @@ async function assembleFirstPartyAdapters(cfg, wiring) {
|
|
|
3085
3085
|
sessionRuns = void 0;
|
|
3086
3086
|
}
|
|
3087
3087
|
if (sessionRuns && wiring?.agentTurnStager) {
|
|
3088
|
-
const { createSessionRunRecoveryAdapter } = await import("./recovery-adapter-
|
|
3088
|
+
const { createSessionRunRecoveryAdapter } = await import("./recovery-adapter-CTqGLqLj.js");
|
|
3089
3089
|
adapters.push(createSessionRunRecoveryAdapter({
|
|
3090
3090
|
store: sessionRuns,
|
|
3091
3091
|
cfg,
|
|
@@ -3101,7 +3101,7 @@ async function assembleFirstPartyAdapters(cfg, wiring) {
|
|
|
3101
3101
|
lease: wiring?.lease ? () => wiring.lease?.() ?? { isArmed: () => false } : void 0
|
|
3102
3102
|
}));
|
|
3103
3103
|
if (backbone && wiring?.agentTurnStager) {
|
|
3104
|
-
const { createAgentTurnRecoveryAdapter } = await import("./agent-turn-recovery-adapter-
|
|
3104
|
+
const { createAgentTurnRecoveryAdapter } = await import("./agent-turn-recovery-adapter-BkIal4FW.js");
|
|
3105
3105
|
adapters.push(createAgentTurnRecoveryAdapter({
|
|
3106
3106
|
backbone,
|
|
3107
3107
|
stager: wiring.agentTurnStager
|
|
@@ -3123,7 +3123,7 @@ async function assembleFirstPartyAdapters(cfg, wiring) {
|
|
|
3123
3123
|
}));
|
|
3124
3124
|
}
|
|
3125
3125
|
if (sessionRuns) {
|
|
3126
|
-
const { createEmbeddedPiRecoveryAdapter } = await import("./pi-embedded-recovery-adapter-
|
|
3126
|
+
const { createEmbeddedPiRecoveryAdapter } = await import("./pi-embedded-recovery-adapter-DL78oCTf.js");
|
|
3127
3127
|
adapters.push(createEmbeddedPiRecoveryAdapter({
|
|
3128
3128
|
sessionRuns,
|
|
3129
3129
|
cfg,
|
|
@@ -3131,7 +3131,7 @@ async function assembleFirstPartyAdapters(cfg, wiring) {
|
|
|
3131
3131
|
stager: wiring?.agentTurnStager,
|
|
3132
3132
|
isRunActive: isEmbeddedPiRunActive
|
|
3133
3133
|
}));
|
|
3134
|
-
const { createAcpRuntimeRecoveryAdapter } = await import("./recovery-adapter-
|
|
3134
|
+
const { createAcpRuntimeRecoveryAdapter } = await import("./recovery-adapter-BvRiQZIb.js");
|
|
3135
3135
|
adapters.push(createAcpRuntimeRecoveryAdapter({ sessionRuns }));
|
|
3136
3136
|
}
|
|
3137
3137
|
if (backbone) {
|
|
@@ -3772,6 +3772,8 @@ function createChannelManager(opts) {
|
|
|
3772
3772
|
|
|
3773
3773
|
//#endregion
|
|
3774
3774
|
//#region src/gateway/server-chat.ts
|
|
3775
|
+
const log$26 = createSubsystemLogger("gateway/chat-final");
|
|
3776
|
+
const CHAT_TERMINAL_DURABILITY_TIMEOUT_MS = 5e3;
|
|
3775
3777
|
function resolveHeartbeatAckMaxChars$1() {
|
|
3776
3778
|
try {
|
|
3777
3779
|
const cfg = loadConfig();
|
|
@@ -3928,6 +3930,15 @@ function createToolEventRecipientRegistry() {
|
|
|
3928
3930
|
};
|
|
3929
3931
|
}
|
|
3930
3932
|
function createAgentEventHandler({ broadcast, broadcastToConnIds, nodeSendToSession, agentRunSeq, chatRunState, resolveSessionKeyForRun, clearAgentRunContext, toolEventRecipients }) {
|
|
3933
|
+
const pendingTerminalBySession = /* @__PURE__ */ new Map();
|
|
3934
|
+
const sendInSessionOrder = (sessionKey, send) => {
|
|
3935
|
+
const pending = pendingTerminalBySession.get(sessionKey);
|
|
3936
|
+
if (!pending) {
|
|
3937
|
+
send();
|
|
3938
|
+
return;
|
|
3939
|
+
}
|
|
3940
|
+
pending.then(send).catch(() => void 0);
|
|
3941
|
+
};
|
|
3931
3942
|
const emitChatDelta = (sessionKey, clientRunId, sourceRunId, seq, text) => {
|
|
3932
3943
|
const cleaned = stripInlineDirectiveTagsForDisplay(text).text;
|
|
3933
3944
|
if (!cleaned) return;
|
|
@@ -3952,10 +3963,12 @@ function createAgentEventHandler({ broadcast, broadcastToConnIds, nodeSendToSess
|
|
|
3952
3963
|
timestamp: now
|
|
3953
3964
|
}
|
|
3954
3965
|
};
|
|
3955
|
-
|
|
3956
|
-
|
|
3966
|
+
sendInSessionOrder(sessionKey, () => {
|
|
3967
|
+
broadcast("chat", payload, { dropIfSlow: true });
|
|
3968
|
+
nodeSendToSession(sessionKey, "chat", payload);
|
|
3969
|
+
});
|
|
3957
3970
|
};
|
|
3958
|
-
const
|
|
3971
|
+
const buildChatTerminalPayload = (sessionKey, clientRunId, sourceRunId, seq, jobState, error) => {
|
|
3959
3972
|
const normalizedHeartbeatText = normalizeHeartbeatChatFinalText({
|
|
3960
3973
|
runId: clientRunId,
|
|
3961
3974
|
sourceRunId,
|
|
@@ -3965,35 +3978,59 @@ function createAgentEventHandler({ broadcast, broadcastToConnIds, nodeSendToSess
|
|
|
3965
3978
|
const shouldSuppressSilent = normalizedHeartbeatText.suppress || isSilentReplyText(text, SILENT_REPLY_TOKEN);
|
|
3966
3979
|
chatRunState.buffers.delete(clientRunId);
|
|
3967
3980
|
chatRunState.deltaSentAt.delete(clientRunId);
|
|
3968
|
-
if (jobState === "done") {
|
|
3969
|
-
|
|
3970
|
-
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
|
|
3982
|
-
|
|
3983
|
-
broadcast("chat", payload);
|
|
3984
|
-
nodeSendToSession(sessionKey, "chat", payload);
|
|
3985
|
-
return;
|
|
3986
|
-
}
|
|
3987
|
-
const payload = {
|
|
3981
|
+
if (jobState === "done") return {
|
|
3982
|
+
runId: clientRunId,
|
|
3983
|
+
sessionKey,
|
|
3984
|
+
seq,
|
|
3985
|
+
state: "final",
|
|
3986
|
+
message: text && !shouldSuppressSilent ? {
|
|
3987
|
+
role: "assistant",
|
|
3988
|
+
content: [{
|
|
3989
|
+
type: "text",
|
|
3990
|
+
text
|
|
3991
|
+
}],
|
|
3992
|
+
timestamp: Date.now()
|
|
3993
|
+
} : void 0
|
|
3994
|
+
};
|
|
3995
|
+
return {
|
|
3988
3996
|
runId: clientRunId,
|
|
3989
3997
|
sessionKey,
|
|
3990
3998
|
seq,
|
|
3991
3999
|
state: "error",
|
|
3992
4000
|
errorMessage: error ? formatForLog(error) : void 0
|
|
3993
4001
|
};
|
|
4002
|
+
};
|
|
4003
|
+
const sendChatTerminal = (sessionKey, payload) => {
|
|
3994
4004
|
broadcast("chat", payload);
|
|
3995
4005
|
nodeSendToSession(sessionKey, "chat", payload);
|
|
3996
4006
|
};
|
|
4007
|
+
const emitChatTerminal = (sessionKey, clientRunId, sourceRunId, seq, jobState, error) => {
|
|
4008
|
+
const payload = buildChatTerminalPayload(sessionKey, clientRunId, sourceRunId, seq, jobState, error);
|
|
4009
|
+
const writes = snapshotRunPendingWrites(sourceRunId);
|
|
4010
|
+
if (!writes) {
|
|
4011
|
+
sendInSessionOrder(sessionKey, () => sendChatTerminal(sessionKey, payload));
|
|
4012
|
+
return;
|
|
4013
|
+
}
|
|
4014
|
+
const pending = pendingTerminalBySession.get(sessionKey);
|
|
4015
|
+
const durability = waitForPendingWrites(writes, CHAT_TERMINAL_DURABILITY_TIMEOUT_MS);
|
|
4016
|
+
const gate = (pending ?? Promise.resolve()).then(() => durability).then((outcome) => {
|
|
4017
|
+
if (outcome === "timeout") log$26.warn("chat terminal broadcast before transcript durability (timeout)", {
|
|
4018
|
+
runId: sourceRunId,
|
|
4019
|
+
sessionKey,
|
|
4020
|
+
timeoutMs: CHAT_TERMINAL_DURABILITY_TIMEOUT_MS
|
|
4021
|
+
});
|
|
4022
|
+
sendChatTerminal(sessionKey, payload);
|
|
4023
|
+
}).catch((err) => {
|
|
4024
|
+
log$26.warn("chat terminal broadcast failed while waiting for transcript durability", {
|
|
4025
|
+
runId: sourceRunId,
|
|
4026
|
+
sessionKey,
|
|
4027
|
+
err
|
|
4028
|
+
});
|
|
4029
|
+
}).finally(() => {
|
|
4030
|
+
if (pendingTerminalBySession.get(sessionKey) === gate) pendingTerminalBySession.delete(sessionKey);
|
|
4031
|
+
});
|
|
4032
|
+
pendingTerminalBySession.set(sessionKey, gate);
|
|
4033
|
+
};
|
|
3997
4034
|
const resolveToolVerboseLevel = (runId, sessionKey) => {
|
|
3998
4035
|
const runVerbose = normalizeVerboseLevel(getAgentRunContext(runId)?.verboseLevel);
|
|
3999
4036
|
if (runVerbose) return runVerbose;
|
|
@@ -4064,8 +4101,8 @@ function createAgentEventHandler({ broadcast, broadcastToConnIds, nodeSendToSess
|
|
|
4064
4101
|
clearAgentRunContext(evt.runId);
|
|
4065
4102
|
return;
|
|
4066
4103
|
}
|
|
4067
|
-
|
|
4068
|
-
} else
|
|
4104
|
+
emitChatTerminal(finished.sessionKey, finished.clientRunId, evt.runId, evt.seq, lifecyclePhase === "error" ? "error" : "done", evt.data?.error);
|
|
4105
|
+
} else emitChatTerminal(sessionKey, eventRunId, evt.runId, evt.seq, lifecyclePhase === "error" ? "error" : "done", evt.data?.error);
|
|
4069
4106
|
else if (isAborted && (lifecyclePhase === "end" || lifecyclePhase === "error")) {
|
|
4070
4107
|
chatRunState.abortedRuns.delete(clientRunId);
|
|
4071
4108
|
chatRunState.abortedRuns.delete(evt.runId);
|
|
@@ -16258,7 +16295,7 @@ const nodeHandlers = {
|
|
|
16258
16295
|
const p = params;
|
|
16259
16296
|
const payloadJSON = typeof p.payloadJSON === "string" ? p.payloadJSON : p.payload !== void 0 ? JSON.stringify(p.payload) : null;
|
|
16260
16297
|
await respondUnavailableOnThrow(respond, async () => {
|
|
16261
|
-
const { handleNodeEvent } = await import("./server-node-events-
|
|
16298
|
+
const { handleNodeEvent } = await import("./server-node-events-B3c2ctcO.js");
|
|
16262
16299
|
const nodeId = client?.connect?.device?.id ?? client?.connect?.client?.id ?? "node";
|
|
16263
16300
|
await handleNodeEvent({
|
|
16264
16301
|
deps: context.deps,
|
|
@@ -24817,7 +24854,7 @@ function normalizeAgentPayload(payload) {
|
|
|
24817
24854
|
async function startBrowserControlServerIfEnabled() {
|
|
24818
24855
|
if (isTruthyEnvValue(process.env.OPENCLAW_SKIP_BROWSER_CONTROL_SERVER)) return null;
|
|
24819
24856
|
const override = process.env.OPENCLAW_BROWSER_CONTROL_MODULE?.trim();
|
|
24820
|
-
const mod = override ? await import(override) : await import("./server-
|
|
24857
|
+
const mod = override ? await import(override) : await import("./server-DRVR_pkr.js");
|
|
24821
24858
|
const start = typeof mod.startBrowserControlServiceFromConfig === "function" ? mod.startBrowserControlServiceFromConfig : mod.startBrowserControlServerFromConfig;
|
|
24822
24859
|
const stop = typeof mod.stopBrowserControlService === "function" ? mod.stopBrowserControlService : mod.stopBrowserControlServer;
|
|
24823
24860
|
if (!start) return null;
|
|
@@ -35541,7 +35578,7 @@ async function bootGatewayServer(port, opts) {
|
|
|
35541
35578
|
const sweepLog = log.child("session-consumer-claim-sweep");
|
|
35542
35579
|
const { createDiagnosticRingBuffer } = await import("./session-consumer-diagnostics-BUKxP8bu.js");
|
|
35543
35580
|
const diagnostics = createDiagnosticRingBuffer();
|
|
35544
|
-
const { setDiagnostics } = await import("./sessions-
|
|
35581
|
+
const { setDiagnostics } = await import("./sessions-DCXadUdD.js").then((n) => n.n);
|
|
35545
35582
|
if (sessionConsumerClaimSweepCancelled) return;
|
|
35546
35583
|
setDiagnostics(diagnostics);
|
|
35547
35584
|
const lastKnownEnabledState = /* @__PURE__ */ new Map();
|
|
@@ -35580,7 +35617,7 @@ async function bootGatewayServer(port, opts) {
|
|
|
35580
35617
|
lastKnownEnabledState,
|
|
35581
35618
|
cfg: loadConfig()
|
|
35582
35619
|
});
|
|
35583
|
-
const { setLastSweepTimestamp } = await import("./sessions-
|
|
35620
|
+
const { setLastSweepTimestamp } = await import("./sessions-DCXadUdD.js").then((n) => n.n);
|
|
35584
35621
|
setLastSweepTimestamp(Date.now());
|
|
35585
35622
|
} catch (err) {
|
|
35586
35623
|
sweepLog.warn(`session consumer-claim sweep failed: ${String(err)}`);
|
|
@@ -35602,7 +35639,7 @@ async function bootGatewayServer(port, opts) {
|
|
|
35602
35639
|
prepare: () => {
|
|
35603
35640
|
taskPipelineBoot = (async () => {
|
|
35604
35641
|
const { getConfiguredSessionStorageRuntime } = await import("./config-BPACL-n5.js").then((n) => n.Hn);
|
|
35605
|
-
const { startTaskPipeline } = await import("./task-pipeline-boot-
|
|
35642
|
+
const { startTaskPipeline } = await import("./task-pipeline-boot-CcSZVGUe.js");
|
|
35606
35643
|
const pipeline = startTaskPipeline({
|
|
35607
35644
|
getConfigured: getConfiguredSessionStorageRuntime,
|
|
35608
35645
|
cfg: cfgAtStart,
|