remoteclaw 0.1.0-next.87fb2cd → 0.1.0-next.9da39bb
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/README.md +1 -1
- package/dist/{accounts-Dn9h7HHT.js → accounts-B5BNJ_lk.js} +2 -2
- package/dist/{accounts-Bexa80SB.js → accounts-BvXnQloJ.js} +1 -1
- package/dist/{accounts-Cl_cFv9X.js → accounts-DOwpPNpJ.js} +2 -2
- package/dist/{accounts-B1aJFYXr.js → accounts-Y6fBCsx_.js} +2 -2
- package/dist/{ack-reactions-B11TAC2D.js → ack-reactions-BFKo3Koo.js} +1 -1
- package/dist/{ack-reactions-CDUSdN8O.js → ack-reactions-Dwyidw3T.js} +2 -2
- package/dist/{acp-cli-CA1xMmVo.js → acp-cli-BCyjX4K5.js} +4 -8
- package/dist/{acp-cli-Dr83tqAg.js → acp-cli-aE-ffske.js} +15 -19
- package/dist/{active-listener-VzhWW8W6.js → active-listener-COHBjEry.js} +1 -1
- package/dist/{agent-D2RVoS5g.js → agent-AIzSM1vK.js} +27 -55
- package/dist/{agent-CFKgqSEH.js → agent-CgX8kUig.js} +35 -63
- package/dist/{agent-helpers-CTx5KKJu.js → agent-helpers-D83kfcF9.js} +1 -207
- package/dist/{agent-helpers-D_9mS2Ti.js → agent-helpers-Dv4rPlt_.js} +2 -208
- package/dist/{agent-scope-C50VuLKh.js → agent-scope-BDF8U7HM.js} +1 -21
- package/dist/{agent-scope-9WY5O-KK.js → agent-scope-Dzc3Pxwr.js} +3 -23
- package/dist/{agents-BBXCuDMp.js → agents-DVBdkX-G.js} +8 -8
- package/dist/{agents.config-p3V3b9u6.js → agents.config-BgeMZRrc.js} +1 -1
- package/dist/{agents.config-BPGQ3Qyn.js → agents.config-SHo6gmD5.js} +2 -2
- package/dist/{audio-preflight-Dj6hBcFR.js → audio-preflight-BcEEwEC8.js} +11 -11
- package/dist/{audio-preflight-BwmCYeuM.js → audio-preflight-zKteixjl.js} +3 -3
- package/dist/{audit-DhIKIeXD.js → audit-BmJMYEgJ.js} +30 -19
- package/dist/{audit-qgtCT3ik.js → audit-CRs3V3Gm.js} +24 -13
- package/dist/{auth-C6VDYgb7.js → auth-BZ9W_93P.js} +4 -4
- package/dist/{auth-profiles-CeDgZz_7.js → auth-profiles-DJsaxEsz.js} +2 -2
- package/dist/{banner-HCssFZcB.js → banner-W9C_U_lK.js} +1 -1
- package/dist/{binaries-X6FW-wD4.js → binaries-DdAb_BxQ.js} +2 -2
- package/dist/{bindings-B582pDIa.js → bindings-C6J0GYWO.js} +3 -3
- package/dist/{bindings-CRU_udk8.js → bindings-D0yqi_XP.js} +1 -1
- package/dist/{bonjour-discovery-BtPaR8vb.js → bonjour-discovery-STZGcDQV.js} +2 -2
- package/dist/boot/handler.js +30 -57
- package/dist/{browser-cli-TB-GNoZq.js → browser-cli-BvaV-ivh.js} +17 -17
- package/dist/{browser-cli-HH45lxP0.js → browser-cli-DE-ol_Wn.js} +4 -4
- package/dist/build-info.json +3 -3
- package/dist/{call-ByOzoLDI.js → call-DStm6xNU.js} +8 -10
- package/dist/{call-BbwtB9Y-.js → call-VMoa73XV.js} +1 -3
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{catalog-BqO6yem_.js → catalog-BVgiPlVN.js} +1 -1
- package/dist/{catalog-BY7OPtnz.js → catalog-DhWKDMFJ.js} +1 -1
- package/dist/{channel-account-context-CjXyzMXE.js → channel-account-context-BlOGpmo5.js} +2 -2
- package/dist/{channel-activity-hPfValKp.js → channel-activity-BZtWpdKA.js} +2 -2
- package/dist/{channel-activity-BeRrcCd8.js → channel-activity-Bb_Sbkt-.js} +2 -2
- package/dist/{channel-options-BQ61blla.js → channel-options-GJjALKXu.js} +3 -3
- package/dist/{channel-options-BLdLu0xk.js → channel-options-OcjVSFmE.js} +5 -5
- package/dist/{channel-selection-CJXZTxae.js → channel-selection-B5SqfNeA.js} +2 -2
- package/dist/{channel-selection-NNPbxnyZ.js → channel-selection-FwTh5pB-.js} +1 -1
- package/dist/{channel-web-DmhVkWbP.js → channel-web-BAXPDOsk.js} +18 -18
- package/dist/{channel-web-D1_mlyPg.js → channel-web-BoPiMjGj.js} +26 -26
- package/dist/{channels-cli-DAu1TXTH.js → channels-cli-CIQlC5iz.js} +52 -52
- package/dist/{channels-cli-C4O8pp1S.js → channels-cli-MR1Snp4Y.js} +87 -87
- package/dist/{channels-status-issues-BDAHISWe.js → channels-status-issues-DRBiGjad.js} +1 -1
- package/dist/{channels-status-issues-DwRDzwrV.js → channels-status-issues-DxKE4Gv8.js} +1 -1
- package/dist/{chat-envelope-el7Uo-Fe.js → chat-envelope-CRqgofiw.js} +1 -1
- package/dist/{chrome-CNDtczoM.js → chrome-BPS0qqQn.js} +4 -4
- package/dist/{chrome-CdcwZN9t.js → chrome-DrFJnK8A.js} +1 -1
- package/dist/{chunk-DAjFKt2g.js → chunk-DtPQ4ACP.js} +2 -2
- package/dist/{clack-prompter-CabwzmG4.js → clack-prompter-gcnWKHgT.js} +3 -3
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/cli-D-Bz1t1R.js +130 -0
- package/dist/{cli-Ci4DmAyk.js → cli-DxIYdlMx.js} +41 -41
- package/dist/{clipboard-B2j4qGIl.js → clipboard-DyO56X0d.js} +1 -1
- package/dist/command-logger/handler.js +1 -1
- package/dist/{command-registry-DxsFXB5t.js → command-registry-B-ZqoIvL.js} +11 -11
- package/dist/{commands-C2uNKRTf.js → commands-CX-o6Gzn.js} +1 -1
- package/dist/{commands-CDonBOrw.js → commands-ChY7s9hy.js} +1 -1
- package/dist/{commands-registry-CWJv6xe2.js → commands-registry-C-NFTH7P.js} +4 -5
- package/dist/{commands-registry-BvESmXoK.js → commands-registry-C_sd8Lmg.js} +5 -6
- package/dist/{common-Cp3rsBqx.js → common-XY1OwAbh.js} +1 -1
- package/dist/{completion-cli-DD3pVpPn.js → completion-cli-BFZAm27l.js} +2 -2
- package/dist/{completion-cli-B-X5nwdT.js → completion-cli-UVOmQ6zG.js} +2 -2
- package/dist/{config-BqY7k-L8.js → config-BXKZbG-n.js} +24 -69
- package/dist/{config-FHu9Bn4R.js → config-CtIjLqOj.js} +21 -66
- package/dist/{config-cli-CPH_PfVk.js → config-cli-BTQy5H3-.js} +4 -4
- package/dist/{config-cli-Czvt02PC.js → config-cli-CRplAGa2.js} +10 -10
- package/dist/{config-guard-cB5a_ANg.js → config-guard-B6oyGiZ9.js} +2 -2
- package/dist/{config-guard-5oI2BiSY.js → config-guard-C485TINq.js} +21 -21
- package/dist/{config-validation-J3cJ0OCa.js → config-validation-BAktOB-P.js} +1 -1
- package/dist/{config-validation-BPNyd9_3.js → config-validation-BvZBGQog.js} +1 -1
- package/dist/{configure-DiQaHI3s.js → configure-BF69cahc.js} +17 -17
- package/dist/{configure-Bi_9d94n.js → configure-BSIKQq18.js} +10 -10
- package/dist/{constants-BmRFoHl0.js → constants-DQTT0rbk.js} +7 -4
- package/dist/{constants-C9WPAluB.js → constants-QiF_zDC2.js} +7 -4
- package/dist/{control-auth-q4zZXaoS.js → control-auth-ByQ2UTJl.js} +3 -3
- package/dist/{control-auth-D0tpV3ts.js → control-auth-CSw3eEqF.js} +1 -1
- package/dist/control-ui/assets/{index-B4ZM1lW1.js → index-CuY3pfh1.js} +798 -820
- package/dist/control-ui/assets/index-CuY3pfh1.js.map +1 -0
- package/dist/control-ui/assets/{index-PED72sKF.css → index-D_fjkN3g.css} +1 -1
- package/dist/control-ui/index.html +2 -2
- package/dist/{control-ui-assets-D4yaD8jm.js → control-ui-assets-GJ4R_9nc.js} +2 -2
- package/dist/{cron-cli-Bfh7ftYz.js → cron-cli-CZqe2JG5.js} +18 -18
- package/dist/{cron-cli-C8j_uslU.js → cron-cli-bjoM1LJG.js} +6 -6
- package/dist/{daemon-cli-lTsfNeDm.js → daemon-cli-C6yedkyX.js} +17 -17
- package/dist/{daemon-cli-DQFZB1yM.js → daemon-cli-C7WWH6Ep.js} +9 -9
- package/dist/daemon-cli.js +29 -82
- package/dist/{daemon-install-CcohRvKV.js → daemon-install-D_TMhoqo.js} +4 -4
- package/dist/{daemon-install-DrTvAWhM.js → daemon-install-PDNZKHDV.js} +11 -11
- package/dist/{daemon-install-helpers-DIUzSFG1.js → daemon-install-helpers-B3iDmuw1.js} +1 -1
- package/dist/{daemon-install-helpers-CFGAfRlj.js → daemon-install-helpers-CWPt9X4V.js} +2 -2
- package/dist/{deliver-912khjLK.js → deliver-BQagyoLa.js} +6 -6
- package/dist/{deliver-D78pwuPC.js → deliver-DjOzd2jc.js} +9 -9
- package/dist/{devices-cli-CstkYXzr.js → devices-cli-DLrY-vXI.js} +15 -15
- package/dist/{devices-cli-0qDhTgZR.js → devices-cli-a0bPBWE-.js} +3 -3
- package/dist/{diagnostics-VC0cz7kX.js → diagnostics-CgSF6bdG.js} +1 -1
- package/dist/{diagnostics-HGkN467d.js → diagnostics-pnhexb9O.js} +1 -1
- package/dist/{directory-cli-duhBZl2c.js → directory-cli-XQdcVHdI.js} +14 -14
- package/dist/{directory-cli-5YXdoVdn.js → directory-cli-hp37Nspg.js} +5 -5
- package/dist/{dm-policy-shared-D8lgnmrC.js → dm-policy-shared-38ZSwYRy.js} +2 -2
- package/dist/{dm-policy-shared-BBfEyAN1.js → dm-policy-shared-BZRzLFhP.js} +2 -2
- package/dist/{dns-cli-11CtErVU.js → dns-cli-D4vlN3bm.js} +2 -2
- package/dist/{dns-cli-Sr6SB9ei.js → dns-cli-_FTDx5xD.js} +9 -9
- package/dist/{dock-BqNINg7k.js → dock-BtLbLczG.js} +1 -1
- package/dist/{dock-O8ArYwed.js → dock-_qq4sBie.js} +6 -6
- package/dist/{doctor-completion-B1UlvZFx.js → doctor-completion-NWQY57nZ.js} +1 -1
- package/dist/{doctor-completion-C0j7b_f8.js → doctor-completion-Pc12ptB2.js} +2 -2
- package/dist/{doctor-config-flow-BiShkCxs.js → doctor-config-flow-D3NAVY4u.js} +8 -8
- package/dist/{doctor-config-flow-BVkHcvoj.js → doctor-config-flow-xcnm1Sg5.js} +6 -6
- package/dist/{enable-DMIq6evt.js → enable-CJBIf5Q9.js} +1 -1
- package/dist/entry.js +1 -3
- package/dist/{env-Br2Bl6Ht.js → env-DUb5GiQe.js} +1 -1
- package/dist/{exec-C6ACg_Mn.js → exec-D6PvFXKb.js} +1 -1
- package/dist/export-html/template.css +0 -36
- package/dist/export-html/template.js +1 -32
- package/dist/extensionAPI.js +78 -88
- package/dist/{fetch-Bmv93nu9.js → fetch-1v6uP2tC.js} +1 -1
- package/dist/{gateway-cli-DuMjB8Ff.js → gateway-cli-DK60ibmy.js} +130 -149
- package/dist/{gateway-cli-D4cDhvZx.js → gateway-cli-xnU8Zeob.js} +184 -203
- package/dist/{gateway-rpc-Dq44SkOv.js → gateway-rpc-b8DDxKNk.js} +1 -1
- package/dist/{gateway-rpc-B4jTtupy.js → gateway-rpc-lloSJpSO.js} +3 -3
- package/dist/{gmail-setup-utils-BPmUIqso.js → gmail-setup-utils-DcvTRsFv.js} +1 -1
- package/dist/{health-SOuaKNRa.js → health-CBn9k6sb.js} +18 -25
- package/dist/{health-wr-JDHlc.js → health-DvHxqlAs.js} +26 -33
- package/dist/{heartbeat-visibility-ossI_l4t.js → heartbeat-visibility-BjRX-UuR.js} +1 -1
- package/dist/{heartbeat-visibility-BxkZjE5m.js → heartbeat-visibility-DZoDleYM.js} +1 -1
- package/dist/{helpers-kkeXif0Q.js → helpers-CN0aEvFf.js} +1 -1
- package/dist/{hook-runner-global-DJ14gXFP.js → hook-runner-global-DVQOzWKP.js} +4 -4
- package/dist/{hooks-cli-eqPYjw4l.js → hooks-cli-BhK-Q2mO.js} +71 -71
- package/dist/{hooks-cli-BUTtESiX.js → hooks-cli-DdFgfE3a.js} +43 -43
- package/dist/{image-ops-DRdKC0uO.js → image-ops-DBBLmYIV.js} +1 -1
- package/dist/{import-DQ6NI4Fz.js → import-B6Xn6yAg.js} +82 -2
- package/dist/{import-Be73VPF2.js → import-D2W4jaSE.js} +84 -4
- package/dist/{inbound-path-policy-C_Qo8rqg.js → inbound-path-policy-gHabNHWN.js} +1 -1
- package/dist/index.js +82 -82
- package/dist/{inspect-Dt8hogS3.js → inspect-BAPmGK9E.js} +6 -6
- package/dist/{inspect-B1Fq39RC.js → inspect-Cm2C9Ogh.js} +6 -6
- package/dist/{installs-pWdqG8HL.js → installs-BCAutccF.js} +1 -1
- package/dist/{installs-C8apg11p.js → installs-D1q4YUri.js} +2 -2
- package/dist/{ir-Ch9FC9Z_.js → ir-BpaWuxJC.js} +3 -3
- package/dist/{loader-u9FC6kYG.js → loader-D8Fp-_-g.js} +88 -309
- package/dist/{loader-Cuq-saEl.js → loader-DMtv1-eP.js} +70 -291
- package/dist/{local-roots-BrH0Q63K.js → local-roots-CWQNmgUt.js} +1 -1
- package/dist/{local-roots-z2u_s7jG.js → local-roots-DJo8GN9l.js} +2 -2
- package/dist/{logger-pznB_IdT.js → logger-BiVcvOhw.js} +2 -2
- package/dist/{login-DOmWDMeP.js → login-BLWuoXgk.js} +1 -1
- package/dist/{login-CYq-visu.js → login-DcLXhiXp.js} +5 -5
- package/dist/{login-qr-D85vVatX.js → login-qr-B7xqVGLa.js} +10 -10
- package/dist/{login-qr-CXU0wC5K.js → login-qr-CHX7SBSI.js} +2 -2
- package/dist/{logs-cli-D7ayUvz_.js → logs-cli-Be_gsxmt.js} +4 -4
- package/dist/{logs-cli-Cu2S08Y3.js → logs-cli-DDXsLG4-.js} +14 -14
- package/dist/{markdown-tables-hhOWaw8L.js → markdown-tables-42YE9A_H.js} +2 -2
- package/dist/{markdown-tables-jrnSPvZ6.js → markdown-tables-Bry8gXRC.js} +1 -1
- package/dist/{media-DOQIalam.js → media-BeBx3iHu.js} +30 -78
- package/dist/{media-DN7yRfrH.js → media-DNm8s1nv.js} +1 -1
- package/dist/{message-action-names-EsOcuFpq.js → message-action-names-BiJJY8F4.js} +17 -17
- package/dist/{message-action-names-Dk9kxwRd.js → message-action-names-BxTBtpYU.js} +24 -24
- package/dist/{message-channel-BlYrtmIp.js → message-channel-DF4I2vOK.js} +1 -1
- package/dist/{net-D6D0wgcF.js → net-Dl7oQfqm.js} +1 -1
- package/dist/{node-cli-Q2-n3Fgv.js → node-cli-DploXEZI.js} +1 -1
- package/dist/{nodes-cli-C2SoKfCv.js → nodes-cli-Dn27q6Li.js} +3 -3
- package/dist/{nodes-cli-BDq-4dHm.js → nodes-cli-yCpAOWVc.js} +15 -15
- package/dist/{note-DR8A0G5H.js → note-xRSpyX5s.js} +1 -1
- package/dist/{npm-registry-spec-Cobb5KYR.js → npm-registry-spec-BQzh4vvV.js} +1 -1
- package/dist/{npm-resolution-BmgD7x45.js → npm-resolution-CV1VtDq6.js} +4 -4
- package/dist/{npm-resolution-DNYcV-Br.js → npm-resolution-DY50j4jB.js} +3 -3
- package/dist/{onboard-uvDMehqu.js → onboard-66sal4TH.js} +11 -11
- package/dist/{onboard-Dy0q82Mj.js → onboard-CRFWNh60.js} +7 -7
- package/dist/{onboard-channels-9QS_7iph.js → onboard-channels-C1lJpRWd.js} +20 -20
- package/dist/{onboard-channels-EH2wvu6Y.js → onboard-channels-Cv-p_MDh.js} +11 -11
- package/dist/{onboard-config-y-2cgT0V.js → onboard-config-CLLvYuqo.js} +17 -2
- package/dist/{onboard-config-BCTthQ7J.js → onboard-config-CM9pKGnR.js} +17 -2
- package/dist/{onboard-helpers-Jy3345Jk.js → onboard-helpers-CSiK1DGB.js} +4 -4
- package/dist/{onboard-helpers-ChPmr3lh.js → onboard-helpers-CfH4S4p-.js} +9 -9
- package/dist/{onboard-remote-CM6Yl1oL.js → onboard-remote-Gb6uG0-e.js} +3 -3
- package/dist/{onboard-remote-Id80PV28.js → onboard-remote-Umk9b-4Z.js} +1 -1
- package/dist/{onboarding-DlXBAIDc.js → onboarding-BCVNKXZi.js} +11 -11
- package/dist/{onboarding-BVtzeopT.js → onboarding-BYAmj_f_.js} +14 -14
- package/dist/{onboarding.finalize-GIK3ktiW.js → onboarding.finalize-B9Wj2G6v.js} +68 -68
- package/dist/{onboarding.finalize-Dve-3p-y.js → onboarding.finalize-XszRDMw9.js} +39 -39
- package/dist/{onboarding.gateway-config-DW-09FX5.js → onboarding.gateway-config--b_-yoA6.js} +8 -8
- package/dist/{onboarding.gateway-config-BCV5T35-.js → onboarding.gateway-config-D4H5Skqb.js} +25 -25
- package/dist/{outbound-CFfJC1j5.js → outbound-0OjyS1ay.js} +4 -4
- package/dist/{outbound-CjFRpudN.js → outbound-DVyzk1hn.js} +6 -6
- package/dist/{outbound-attachment-BxMSma9v.js → outbound-attachment-CvF-d7SO.js} +2 -2
- package/dist/{outbound-attachment-DIiKB_mP.js → outbound-attachment-H1yBQoS2.js} +1 -1
- package/dist/{outbound-attachment-o0seS0CP.js → outbound-attachment-rwH8tE_j.js} +1 -1
- package/dist/{pairing-cli-BeydfoF9.js → pairing-cli-CoJZ8dTg.js} +6 -6
- package/dist/{pairing-cli-GgwzEWJX.js → pairing-cli-Ldq1VdFE.js} +13 -13
- package/dist/{pairing-labels-B_53dY5L.js → pairing-labels-BEzEtY3m.js} +1 -1
- package/dist/{pairing-labels-BiSZLitI.js → pairing-labels-DNY1LXbl.js} +1 -1
- package/dist/{pairing-store-BgAv4uN8.js → pairing-store-DlhFf9Sd.js} +1 -1
- package/dist/{pairing-store-CTkD51uW.js → pairing-store-ePSWRBuX.js} +1 -1
- package/dist/{path-env-ErEKbxOI.js → path-env-DdE_hfAk.js} +1 -1
- package/dist/{plugin-auto-enable-DuPS9XiJ.js → plugin-auto-enable-7lj3ONi8.js} +2 -2
- package/dist/{plugin-auto-enable-CloCFyTz.js → plugin-auto-enable-Cd9WE5kB.js} +4 -4
- package/dist/{plugin-registry-DnO3azwy.js → plugin-registry-B9resZ4x.js} +4 -4
- package/dist/{plugin-registry-D5QsH-IS.js → plugin-registry-oufihHBl.js} +3 -3
- package/dist/plugin-sdk/agents/agent-helpers.d.ts +0 -1
- package/dist/plugin-sdk/agents/agent-types.d.ts +1 -6
- package/dist/plugin-sdk/agents/agent-utils.d.ts +0 -14
- package/dist/plugin-sdk/agents/provider-utils.d.ts +0 -1
- package/dist/plugin-sdk/agents/subagent-spawn.d.ts +0 -1
- package/dist/plugin-sdk/agents/tools/sessions-helpers.d.ts +0 -1
- package/dist/plugin-sdk/auto-reply/reply/agent-runner-execution.d.ts +0 -1
- package/dist/plugin-sdk/auto-reply/reply/agent-runner-utils.d.ts +0 -2
- package/dist/plugin-sdk/auto-reply/reply/commands-status.d.ts +1 -4
- package/dist/plugin-sdk/auto-reply/reply/commands-types.d.ts +1 -4
- package/dist/plugin-sdk/auto-reply/reply/directive-handling.levels.d.ts +1 -7
- package/dist/plugin-sdk/auto-reply/reply/directive-handling.params.d.ts +1 -4
- package/dist/plugin-sdk/auto-reply/reply/directive-handling.parse.d.ts +1 -7
- package/dist/plugin-sdk/auto-reply/reply/directive-handling.shared.d.ts +1 -4
- package/dist/plugin-sdk/auto-reply/reply/directives.d.ts +3 -15
- package/dist/plugin-sdk/auto-reply/reply/get-reply-directives.d.ts +1 -5
- package/dist/plugin-sdk/auto-reply/reply/get-reply-inline-actions.d.ts +1 -5
- package/dist/plugin-sdk/auto-reply/reply/get-reply-run.d.ts +1 -5
- package/dist/plugin-sdk/auto-reply/reply/queue/types.d.ts +1 -3
- package/dist/plugin-sdk/auto-reply/reply/response-prefix-template.d.ts +4 -6
- package/dist/plugin-sdk/auto-reply/reply/session-run-accounting.d.ts +0 -7
- package/dist/plugin-sdk/auto-reply/reply/session-updates.d.ts +0 -10
- package/dist/plugin-sdk/auto-reply/reply.d.ts +1 -1
- package/dist/plugin-sdk/auto-reply/status.d.ts +2 -6
- package/dist/plugin-sdk/auto-reply/thinking.d.ts +0 -11
- package/dist/plugin-sdk/auto-reply/types.d.ts +1 -2
- package/dist/plugin-sdk/commands/agent/session.d.ts +1 -2
- package/dist/plugin-sdk/config/defaults.d.ts +0 -1
- package/dist/plugin-sdk/config/sessions/types.d.ts +0 -8
- package/dist/plugin-sdk/config/types.agent-defaults.d.ts +21 -112
- package/dist/plugin-sdk/config/types.messages.d.ts +1 -2
- package/dist/plugin-sdk/config/zod-schema.agent-defaults.d.ts +8 -66
- package/dist/plugin-sdk/config/zod-schema.agent-runtime.d.ts +2 -13
- package/dist/plugin-sdk/config/zod-schema.agents.d.ts +10 -76
- package/dist/plugin-sdk/config/zod-schema.d.ts +10 -76
- package/dist/plugin-sdk/daemon/constants.d.ts +2 -2
- package/dist/plugin-sdk/gateway/protocol/index.d.ts +1 -3
- package/dist/plugin-sdk/gateway/protocol/schema/sessions.d.ts +0 -2
- package/dist/plugin-sdk/gateway/session-utils.types.d.ts +0 -2
- package/dist/plugin-sdk/index.js +34 -95
- package/dist/plugin-sdk/middleware/channel-bridge.d.ts +4 -0
- package/dist/plugin-sdk/middleware/runtime-factory.d.ts +42 -0
- package/dist/plugin-sdk/middleware/types.d.ts +4 -0
- package/dist/{plugins-BflZz0sp.js → plugins-BtMu6L8i.js} +1 -1
- package/dist/{plugins-BXkDApVh.js → plugins-HyUNaoYP.js} +5 -5
- package/dist/{plugins-cli-Cf_RP_bn.js → plugins-cli-DiSLhdtP.js} +73 -73
- package/dist/{plugins-cli-DmbjYnO9.js → plugins-cli-ZwfTL788.js} +44 -44
- package/dist/{ports-DIYJq-SY.js → ports-DmM4pHmC.js} +3 -3
- package/dist/{ports-DPL-Pzfh.js → ports-nkccaDJy.js} +1 -1
- package/dist/{program-BaATq6CL.js → program-IV8xqENm.js} +49 -49
- package/dist/{program-context-C7b5MQbg.js → program-context-CCQfPhMi.js} +35 -35
- package/dist/{progress--dapuyZA.js → progress-C248R1Az.js} +1 -1
- package/dist/{prompt-select-styled-aqjxCbwP.js → prompt-select-styled-Dke0P6Lu.js} +19 -19
- package/dist/{prompt-select-styled-BAsxl6hj.js → prompt-select-styled-iKOStqrD.js} +31 -31
- package/dist/{provider-dispatcher-mAkRbPyH.js → provider-dispatcher-CN8WlGTX.js} +7 -7
- package/dist/{provider-dispatcher-B4QMe-I6.js → provider-dispatcher-DaNI6eMi.js} +6 -6
- package/dist/{push-apns-CLmNS5AZ.js → push-apns-CHI8oGCz.js} +4 -4
- package/dist/{pw-ai-ulOU3Ya1.js → pw-ai-BCATW7oj.js} +13 -13
- package/dist/{pw-ai-DuK87zsJ.js → pw-ai-DuWJR2bD.js} +3 -3
- package/dist/{qr-cli-hSLixZCe.js → qr-cli-BAbl97GR.js} +2 -2
- package/dist/{qr-cli-9WQBnauO.js → qr-cli-x6XLL1gs.js} +9 -9
- package/dist/{redact-snapshot-D2P_lRgf.js → redact-snapshot-CYzH7d_A.js} +2 -14
- package/dist/{redact-snapshot-BZYLIqe-.js → redact-snapshot-DsVGs4aN.js} +1 -13
- package/dist/{register.agent-DZL_fw2K.js → register.agent-CeceQfAP.js} +85 -85
- package/dist/{register.agent-CquY2yLI.js → register.agent-u1lNeFpV.js} +51 -51
- package/dist/{register.configure-C2HjaKO0.js → register.configure-AUH9J-JC.js} +55 -55
- package/dist/register.configure-nSogUhv7.js +130 -0
- package/dist/{register.import-CaJ0DS1t.js → register.import-BlsrD54G.js} +6 -6
- package/dist/{register.import-Bs-UkOs-.js → register.import-DdLGUSEK.js} +1 -1
- package/dist/{register.maintenance-CslelbHK.js → register.maintenance-CuLaszSR.js} +94 -94
- package/dist/{register.maintenance-Dd4fn6oX.js → register.maintenance-DTyGossb.js} +58 -58
- package/dist/{register.message-D2xmx0xB.js → register.message-BxezY8SV.js} +43 -43
- package/dist/{register.message-_Q8ehgQP.js → register.message-qrIalqDa.js} +71 -71
- package/dist/{register.onboard-CIupEYmX.js → register.onboard-CEAyr7D4.js} +11 -11
- package/dist/{register.onboard-BFSwh5g4.js → register.onboard-CO0NFyXJ.js} +30 -30
- package/dist/{register.setup-Bm1Jtx0c.js → register.setup-CMRdfoDN.js} +11 -11
- package/dist/{register.setup-7pk1r-54.js → register.setup-DWk6iVd_.js} +30 -30
- package/dist/{register.status-health-sessions-C-Pbi-qq.js → register.status-health-sessions-5pEWY3wf.js} +77 -82
- package/dist/{register.status-health-sessions-Cn4yWBWw.js → register.status-health-sessions-mMvRo8AQ.js} +40 -40
- package/dist/{register.subclis-DXmLofHX.js → register.subclis-9E3Ugk1T.js} +23 -23
- package/dist/{replies-BkXDql3c.js → replies-jKtjhQ-s.js} +2 -2
- package/dist/{replies-BKrzM0QI.js → replies-pwJGu9Jo.js} +1 -1
- package/dist/{reply-n8KWtBQB.js → reply-BbHyKA6K.js} +849 -1239
- package/dist/{reply-DSKC8kyS.js → reply-DUQyOCMK.js} +828 -1218
- package/dist/{reply-directives-CBeNSCHL.js → reply-directives-BdJZaTkb.js} +2 -2
- package/dist/{reply-directives-CD2WycBM.js → reply-directives-C6mKDSxU.js} +1 -1
- package/dist/{reply-payloads-CeL_cBnD.js → reply-payloads-B2kcd0dL.js} +6 -6
- package/dist/{reply-prefix-4zLS7A1Y.js → reply-prefix-BDI1sLXA.js} +1 -2
- package/dist/{reply-prefix-DBLCYiup.js → reply-prefix-SGmUA9cV.js} +1 -2
- package/dist/{resolve-route-CBVbY0xS.js → resolve-route-BNRMZ0km.js} +2 -2
- package/dist/{resolve-route-BDGdM-l3.js → resolve-route-CrSio4RY.js} +4 -4
- package/dist/{response-prefix-template-CSxp9HN5.js → response-prefix-template-C0XvOOPH.js} +4 -6
- package/dist/{response-prefix-template-up4REfuR.js → response-prefix-template-CA8pfT6v.js} +4 -6
- package/dist/{retry-C81p7BZU.js → retry-bFj4k6Ii.js} +1 -1
- package/dist/{run-main-CuA7VmAq.js → run-main-DPXDf7bs.js} +59 -77
- package/dist/{runner-z92MWZ3m.js → runner-B-FXPgK0.js} +1 -1
- package/dist/{runner-BbLPl1dz.js → runner-BvtNyNts.js} +4 -4
- package/dist/{runtime-guard-DZ_xuCc4.js → runtime-guard-CTl7OnCR.js} +1 -1
- package/dist/{secure-random-D2IOpBkk.js → secure-random-BJve6bb_.js} +1 -1
- package/dist/{security-cli-DP5QJpa5.js → security-cli-B_AEHvW8.js} +11 -11
- package/dist/{security-cli-BR3Y1FBJ.js → security-cli-h7bLwDzZ.js} +28 -28
- package/dist/{send-CBGSXjfD.js → send-1XO1XSXO.js} +6 -6
- package/dist/{send-BWSo3i3H.js → send-8yz2-_HH.js} +10 -10
- package/dist/{send-D_DUQJ6H.js → send-AlMsDde2.js} +4 -4
- package/dist/{send-DPttDPIR.js → send-B1iHZJdx.js} +6 -6
- package/dist/{send-dzS4fa9O.js → send-B2JN7CQJ.js} +5 -5
- package/dist/{send-DyftOlFD.js → send-BHlgcDpz.js} +3 -3
- package/dist/{send-CRS-OcnW.js → send-BNHQKlx7.js} +7 -7
- package/dist/{send-Lij9A7lk.js → send-CGHEEbNo.js} +6 -6
- package/dist/{send-0uEtKwU_.js → send-CGKCk8lN.js} +8 -8
- package/dist/{send-Bx9bUGav.js → send-CVf8xWQj.js} +4 -4
- package/dist/{send-xUPOqzUr.js → send-Cf2gNkoT.js} +4 -4
- package/dist/{send-YRVDWfSs.js → send-DJ0Zx-Ma.js} +4 -4
- package/dist/{send-B3O7bzYU.js → send-DkTW0Swe.js} +7 -7
- package/dist/{send-BkSUAGj6.js → send-KFCtT3Z5.js} +7 -7
- package/dist/send-mVVMFwmx.js +11 -0
- package/dist/{send-xnwty9cY.js → send-rnY4Ef4N.js} +6 -6
- package/dist/{server-LdLsvPPw.js → server-DUElvT3m.js} +6 -6
- package/dist/{server-BE5lybcS.js → server-GtJ6JX-O.js} +22 -22
- package/dist/{server-lifecycle-B3Rdmq7-.js → server-lifecycle-B4d1rFOm.js} +6 -6
- package/dist/{server-lifecycle-CFmE_Adm.js → server-lifecycle-t_S9_eG-.js} +9 -9
- package/dist/{server-node-events-d7eK4LBW.js → server-node-events-C5OhVZlR.js} +42 -46
- package/dist/{server-node-events-De4WZQQD.js → server-node-events-Cu-NnHZa.js} +20 -24
- package/dist/{service-Bjqii5nW.js → service-3Xcd2WIW.js} +2 -2
- package/dist/{service-BHos7oX8.js → service-BOIQUlgm.js} +2 -2
- package/dist/{session-aUptxSVD.js → session-DMl4z_Wj.js} +1 -1
- package/dist/{session-cost-usage-yYi525j3.js → session-cost-usage-DES0ywek.js} +4 -4
- package/dist/{session-dirs-BADAi9Iz.js → session-dirs-CHjQfl7x.js} +3 -3
- package/dist/{session-utils-CEtEq6bi.js → session-utils-CpZCzfZc.js} +12 -15
- package/dist/{session-utils-CiXbZkM2.js → session-utils-R7nW6YZu.js} +14 -17
- package/dist/{sessions-Bw4LRnSr.js → sessions-B4ejSv2C.js} +6 -11
- package/dist/{sessions--PykPynp.js → sessions-BxAqEHHy.js} +4 -29
- package/dist/{status-CrGLegI6.js → status-Dlp6uU5L.js} +17 -24
- package/dist/{status-D_3sszaS.js → status-lkm2lXHS.js} +28 -35
- package/dist/{status.update-CVnonGHu.js → status.update-DMfgnqeT.js} +1 -1
- package/dist/{store-C6w1sB5x.js → store-C_Dj8ASh.js} +2 -2
- package/dist/{store-DoOPG3rl.js → store-qGKdk2ZD.js} +10 -35
- package/dist/{subagent-registry-C-xI2uK4.js → subagent-registry-CpkkkUbU.js} +16 -21
- package/dist/{subagent-registry-Db4Ho_2Y.js → subagent-registry-DzPNxhIk.js} +10 -15
- package/dist/{subsystem-CrJCqjAh.js → subsystem-BgxIzx7w.js} +2 -4
- package/dist/{subsystem-CDhxwtDd.js → subsystem-rxNDBm7l.js} +2 -2
- package/dist/{system-cli-eAk5wVbP.js → system-cli-BZH8XgMa.js} +4 -4
- package/dist/{system-cli-CCKzF3uh.js → system-cli-B_HNwxrH.js} +14 -14
- package/dist/{systemd-B5lyaCc3.js → systemd-DCwD8aqg.js} +2 -2
- package/dist/{systemd-DSnlM3jX.js → systemd-eqdgvF51.js} +1 -1
- package/dist/{systemd-linger-_0_-RY4v.js → systemd-linger-CsQTTKKC.js} +1 -1
- package/dist/{systemd-linger-DRPSEQVw.js → systemd-linger-KG9RYSlH.js} +2 -2
- package/dist/{table-CpmqqcxJ.js → table-CGS1Ml9r.js} +1 -1
- package/dist/{tables-D_PTzthR.js → tables-6CkQRTJR.js} +1 -1
- package/dist/{tables-DI5LGEr1.js → tables-CamcS9gx.js} +1 -1
- package/dist/{tables-DcQUNIvB.js → tables-HN31BKCH.js} +1 -1
- package/dist/{tailscale-Dxyz13fn.js → tailscale-dtzyN0aT.js} +1 -1
- package/dist/{targets-Cm1X3IyA.js → targets-BEON1rlZ.js} +4 -4
- package/dist/{targets-B2vBpQdr.js → targets-BXHW0zVC.js} +97 -25
- package/dist/{targets-B54vK3wc.js → targets-BlVk-r3Q.js} +3 -3
- package/dist/{targets-DB4vBpIQ.js → targets-CYY3iBkV.js} +91 -19
- package/dist/{targets-D7OKVXMI.js → targets-Cvzqesmd.js} +1 -1
- package/dist/{targets-DyybKefq.js → targets-IkURIBGL.js} +1 -1
- package/dist/thinking-DeEBjYPc.js +88 -0
- package/dist/thinking-l-rrvZwu.js +88 -0
- package/dist/{tool-images-DVrUJEqc.js → tool-images-C6LHSeSs.js} +2 -2
- package/dist/{trash-DzrtBoP1.js → trash-7yJovaAx.js} +1 -1
- package/dist/{tui-CyHwc2uX.js → tui-DK5-19m7.js} +7 -80
- package/dist/{tui-cli-C9I18SfW.js → tui-cli-BuGYX7LC.js} +10 -10
- package/dist/{tui-cli-C7kQj9ef.js → tui-cli-u_3fCMg-.js} +26 -26
- package/dist/{tui-cHd20SZm.js → tui-gEa1FBSQ.js} +13 -86
- package/dist/{update-IX7vdqA8.js → update-COwDCdga.js} +2 -2
- package/dist/{update-DeQGoaIC.js → update-NMU1foyo.js} +2 -2
- package/dist/{update-cli-C52dmo3x.js → update-cli-B5gans2I.js} +62 -62
- package/dist/{update-cli-DY_iE1E5.js → update-cli-sW0u7h-c.js} +100 -100
- package/dist/{usage-B--dL37U.js → usage-CAM9Q3bX.js} +91 -122
- package/dist/{web-DMweaNnG.js → web-BnhT_Tfr.js} +14 -16
- package/dist/web-CcocPSQX.js +76 -0
- package/dist/{web-Dquzwqf4.js → web-D5JAxqw3.js} +32 -32
- package/dist/{webhooks-cli-CqFX8Ywl.js → webhooks-cli-C3H1XPNG.js} +10 -10
- package/dist/{webhooks-cli-BpZHQlVd.js → webhooks-cli-DqSPJMDG.js} +2 -2
- package/dist/{whatsapp-actions-C31Zdwez.js → whatsapp-actions-CDqFo3GP.js} +22 -22
- package/dist/{whatsapp-actions-DaA291Ya.js → whatsapp-actions-DNKQ1h0G.js} +9 -9
- package/dist/{workspace-B8qk__ff.js → workspace-C-QwN1zu.js} +3 -3
- package/dist/{workspace-B4ZvVYT9.js → workspace-CEBaVctV.js} +1 -1
- package/extensions/matrix/src/matrix/monitor/replies.ts +0 -24
- package/extensions/mattermost/src/mattermost/monitor-helpers.ts +0 -1
- package/package.json +3 -3
- package/dist/cli-BuMX-jRY.js +0 -130
- package/dist/control-ui/assets/index-B4ZM1lW1.js.map +0 -1
- package/dist/defaults-B5KStIBg.js +0 -7
- package/dist/defaults-xUAL2Z-F.js +0 -7
- package/dist/plugin-sdk/agents/agent-helpers/thinking.d.ts +0 -5
- package/dist/plugin-sdk/agents/defaults.d.ts +0 -3
- package/dist/plugin-sdk/auto-reply/model-runtime.d.ts +0 -17
- package/dist/plugin-sdk/config/model-input.d.ts +0 -9
- package/dist/plugin-sdk/config/zod-schema.agent-model.d.ts +0 -5
- package/dist/plugin-sdk/sessions/model-overrides.d.ts +0 -14
- package/dist/plugin-sdk/telegram/reasoning-lane-coordinator.d.ts +0 -18
- package/dist/register.configure-D7Di47Lb.js +0 -130
- package/dist/send-uchxcHYC.js +0 -11
- package/dist/session-key-5YLnn_qf.js +0 -235
- package/dist/web-CMxp78WA.js +0 -76
- /package/dist/{ansi-D04X81yq.js → ansi-aRwLYlzD.js} +0 -0
- /package/dist/{audio-DPOuhNq7.js → audio-B_mzy948.js} +0 -0
- /package/dist/{audio-VBcVDa08.js → audio-DDvXRwh-.js} +0 -0
- /package/dist/{client-DdpmATKq.js → client-CwnX0nXo.js} +0 -0
- /package/dist/{credentials-DFsi1_e8.js → credentials-C82aU5z-.js} +0 -0
- /package/dist/{fetch-C6XKGA11.js → fetch-Du9BJ20J.js} +0 -0
- /package/dist/{format-relative-79_Y1n2Y.js → format-relative-C6kUHuOj.js} +0 -0
- /package/dist/{inbound-context-DS_kpIYI.js → inbound-context-D94rw0Oq.js} +0 -0
- /package/dist/{input-provenance-Bn6thJNm.js → input-provenance-BDPOaXFk.js} +0 -0
- /package/dist/{json-files-CmpYSF4G.js → json-files-Ct2lDInr.js} +0 -0
- /package/dist/{lanes-ByWMUgrz.js → lanes-DKkroN9D.js} +0 -0
- /package/dist/{retry-CxXVRdes.js → retry-BbVJvOUo.js} +0 -0
- /package/dist/{runtime-DJNp29jv.js → runtime-Ds3E9SqF.js} +0 -0
- /package/dist/{secret-equal-BbHdTtqY.js → secret-equal-DgjJcvjv.js} +0 -0
- /package/dist/{strip-inbound-meta-jy3bkUab.js → strip-inbound-meta-B21Qdh8I.js} +0 -0
- /package/dist/{tailnet-PnMrjwGT.js → tailnet-wUV6epIk.js} +0 -0
- /package/dist/{targets-C-2xwh9f.js → targets-DfXObWaL.js} +0 -0
- /package/dist/{usage-format-DAaPzr_z.js → usage-format-C6Iz_Ws9.js} +0 -0
- /package/dist/{usage-BtQcAnf6.js → usage-sF5tij7A.js} +0 -0
|
@@ -1,163 +1,163 @@
|
|
|
1
1
|
import { h as resolveStateDir, i as isNixMode, l as resolveGatewayLockDir, o as resolveConfigPath, r as STATE_DIR, t as CONFIG_PATH, u as resolveGatewayPort } from "./paths-BTaH3rLn.js";
|
|
2
2
|
import { B as getResolvedLoggerSettings, C as truncateUtf16Safe, F as colorize, I as isRich, L as theme, M as shouldLogVerbose, R as getChildLogger, _ as resolveUserPath, j as setVerbose, k as logVerbose, l as isRecord, r as clamp, s as escapeRegExp, w as isPlainObject, z as getLogger } from "./utils-C5daYcFn.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { a as
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import "./
|
|
9
|
-
import {
|
|
3
|
+
import { n as normalizeUsageDisplay, r as normalizeVerboseLevel, t as normalizeElevatedLevel } from "./thinking-l-rrvZwu.js";
|
|
4
|
+
import { At as DEFAULT_INPUT_TIMEOUT_MS, B as setPreRestartDeferralCheck, C as truncateLine, Dt as DEFAULT_INPUT_IMAGE_MAX_BYTES, E as stopSubagentsForRequester, F as emitGatewayRestart, I as isGatewaySigusr1RestartExternallyAllowed, J as resolveSubagentTargetFromRuns, L as markGatewaySigusr1RestartHandled, Mt as extractImageContentFromSource, N as consumeGatewaySigusr1RestartAuthorization, Nt as normalizeMimeList, Ot as DEFAULT_INPUT_IMAGE_MIMES, P as deferGatewayRestartUntilIdle, Pt as resolveInputFileLimits, Q as loadProviderUsageSummary, R as scheduleGatewaySigusr1Restart, S as resolveTotalTokens, T as isAbortRequestText, V as unbindThreadBindingsBySessionKey, X as normalizeGroupActivation, Y as sortSubagentRuns, at as isTtsEnabled, b as formatDurationCompact, d as formatUserTime, dt as resolveTtsConfig, et as formatUsageWindowSummary, f as resolveUserTimeFormat, ft as resolveTtsPrefsPath, gt as textToSpeech, ht as setTtsProvider, i as formatZonedTimestamp, it as getTtsProvider, jt as extractFileContentFromSource, kt as DEFAULT_INPUT_MAX_REDIRECTS, l as BARE_SESSION_RESET_PROMPT, lt as resolveTtsApiKey, mt as setTtsEnabled, ot as isTtsProviderConfigured, p as resolveUserTimezone, pt as resolveTtsProviderOrder, q as resolveSubagentLabel, rt as buildStatusMessage, tt as resolveUsageProviderId, ut as resolveTtsAutoMode, v as SUBAGENT_SPAWN_MODES, vt as OPENAI_TTS_MODELS, x as formatTokenUsageDisplay, y as spawnSubagentDirect, yt as OPENAI_TTS_VOICES, z as setGatewaySigusr1RestartPolicy } from "./reply-BbHyKA6K.js";
|
|
5
|
+
import { A as createInternalHookEvent, M as triggerInternalHook, a as setConsoleSubsystemFilter, j as registerInternalHook, k as clearInternalHooks, l as CHANNEL_IDS, n as runtimeForLogger, o as setConsoleTimestampPrefix, t as createSubsystemLogger, v as getActivePluginRegistry, x as createEmptyPluginRegistry } from "./subsystem-BgxIzx7w.js";
|
|
6
|
+
import { n as defaultRuntime } from "./runtime-Ds3E9SqF.js";
|
|
7
|
+
import "./ansi-aRwLYlzD.js";
|
|
8
|
+
import { C as parseAgentSessionKey, S as isSubagentSessionKey, c as normalizeMainKey, d as sanitizeAgentId, f as toAgentRequestSessionKey, h as normalizeAccountId, l as resolveAgentIdFromSessionKey, m as DEFAULT_ACCOUNT_ID, o as classifySessionKeyShape, p as toAgentStoreSessionKey, r as buildAgentMainSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID, x as isCronRunSessionKey } from "./session-key-C2n-VILA.js";
|
|
9
|
+
import { a as resolveAgentWorkspaceDir, c as resolveSessionAgentId, i as resolveAgentDir, n as listAgentIds, r as resolveAgentConfig, s as resolveDefaultAgentId, t as listAgentEntries } from "./agent-scope-Dzc3Pxwr.js";
|
|
10
10
|
import { i as normalizeModelRef, o as parseModelRef, t as isCliProvider } from "./provider-utils-FaBmofiq.js";
|
|
11
|
-
import {
|
|
11
|
+
import { A as createSessionVisibilityGuard, B as extractTextFromChatContent, C as classifySessionKind, D as stripToolMessages, F as resolveInternalSessionKey, G as getFollowupQueueDepth, I as resolveMainSessionAlias, L as resolveSessionReference, M as resolveSandboxedSessionToolContext, N as isResolvedSessionVisibleToRequester, O as stripReasoningTagsFromText, P as resolveDisplaySessionKey, Q as getActiveTaskCount, R as shouldResolveSessionIdInput, S as runAgentStep, T as extractAssistantText, U as resolveQueueSettings, X as clearSessionQueues, _ as isAnnounceSkip, a as listDescendantRunsForRequester, b as resolvePingPongTurns, c as markSubagentRunTerminated, dt as stopDiagnosticHeartbeat, et as getTotalQueueSize, g as buildAgentToAgentReplyContext, gt as resolveAgentTimeoutMs, h as buildAgentToAgentMessageContext, i as initSubagentRegistry, j as resolveEffectiveSessionToolsVisibility, k as createAgentToAgentPolicy, m as buildAgentToAgentAnnounceContext, n as countActiveDescendantRuns, nt as setCommandLaneConcurrency, o as listSubagentRunsForRequester, p as runSubagentAnnounceFlow, pt as isDiagnosticsEnabled, rt as waitForActiveTasks, s as markSubagentRunForSteerRestart, t as clearSubagentRunSteerRestart, tt as resetAllLanes, u as replaceSubagentRunAfterSteer, ut as startDiagnosticHeartbeat, v as isReplySkip, w as deriveChannel, x as readLatestAssistantReply, y as resolveAnnounceTargetFromKey, z as getSubagentDepthFromSessionStore } from "./subagent-registry-CpkkkUbU.js";
|
|
12
12
|
import { t as ensureAgentWorkspace } from "./workspace-DkGLVfOl.js";
|
|
13
|
-
import { c as normalizeMessageChannel, d as GATEWAY_CLIENT_IDS, f as GATEWAY_CLIENT_MODES, i as isGatewayMessageChannel, m as hasGatewayClientCap, n as isDeliverableMessageChannel, o as isWebchatClient, p as GATEWAY_CLIENT_NAMES, r as isGatewayCliClient, t as INTERNAL_MESSAGE_CHANNEL, u as GATEWAY_CLIENT_CAPS } from "./message-channel-
|
|
14
|
-
import "./targets-
|
|
15
|
-
import { E as looksLikeAvatarPath, R as applyTestPluginDefaults, S as isAvatarImageDataUrl, X as applyLegacyMigrations, Y as applyMergePatch, _ as parseDurationMs, a as parseConfigJson5, c as resolveConfigSnapshotHash, ct as buildTalkConfigResponse, d as RemoteClawSchema, dt as resolveSubagentMaxConcurrent, i as loadConfig, l as writeConfigFile, lt as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, n as migrateLegacyConfig, o as readConfigFileSnapshot, s as readConfigFileSnapshotForWrite, st as isPathInsideWithRealpath, u as validateConfigObjectWithPlugins, ut as resolveAgentMaxConcurrent, v as parseByteSize, x as isAvatarHttpUrl, y as AVATAR_MAX_BYTES, z as normalizePluginsConfig } from "./config-
|
|
16
|
-
import { n as logAcceptedEnvOption, t as isTruthyEnvValue } from "./env-
|
|
13
|
+
import { c as normalizeMessageChannel, d as GATEWAY_CLIENT_IDS, f as GATEWAY_CLIENT_MODES, i as isGatewayMessageChannel, m as hasGatewayClientCap, n as isDeliverableMessageChannel, o as isWebchatClient, p as GATEWAY_CLIENT_NAMES, r as isGatewayCliClient, t as INTERNAL_MESSAGE_CHANNEL, u as GATEWAY_CLIENT_CAPS } from "./message-channel-DF4I2vOK.js";
|
|
14
|
+
import "./targets-BEON1rlZ.js";
|
|
15
|
+
import { E as looksLikeAvatarPath, R as applyTestPluginDefaults, S as isAvatarImageDataUrl, X as applyLegacyMigrations, Y as applyMergePatch, _ as parseDurationMs, a as parseConfigJson5, c as resolveConfigSnapshotHash, ct as buildTalkConfigResponse, d as RemoteClawSchema, dt as resolveSubagentMaxConcurrent, i as loadConfig, l as writeConfigFile, lt as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, n as migrateLegacyConfig, o as readConfigFileSnapshot, s as readConfigFileSnapshotForWrite, st as isPathInsideWithRealpath, u as validateConfigObjectWithPlugins, ut as resolveAgentMaxConcurrent, v as parseByteSize, x as isAvatarHttpUrl, y as AVATAR_MAX_BYTES, z as normalizePluginsConfig } from "./config-BXKZbG-n.js";
|
|
16
|
+
import { n as logAcceptedEnvOption, t as isTruthyEnvValue } from "./env-DUb5GiQe.js";
|
|
17
17
|
import "./host-env-security-Bms2_EMV.js";
|
|
18
|
-
import { n as isInboundPathAllowed } from "./inbound-path-policy-
|
|
18
|
+
import { n as isInboundPathAllowed } from "./inbound-path-policy-gHabNHWN.js";
|
|
19
19
|
import { i as resolveRuntimeServiceVersion, r as VERSION } from "./env-vars-CLGbxdpL.js";
|
|
20
|
-
import "./dock-
|
|
21
|
-
import { f as registerUnhandledRejectionHandler } from "./runner-
|
|
22
|
-
import { i as logWarn, t as logDebug } from "./logger-
|
|
20
|
+
import "./dock-_qq4sBie.js";
|
|
21
|
+
import { f as registerUnhandledRejectionHandler } from "./runner-BvtNyNts.js";
|
|
22
|
+
import { i as logWarn, t as logDebug } from "./logger-BiVcvOhw.js";
|
|
23
23
|
import "./ip-C9q3Oq20.js";
|
|
24
24
|
import { t as SsrFBlockedError } from "./ssrf-m7kFIobZ.js";
|
|
25
|
-
import { n as getDefaultMediaLocalRoots, o as fetchWithSsrFGuard } from "./local-roots-
|
|
26
|
-
import { n as runExec, t as runCommandWithTimeout } from "./exec-
|
|
27
|
-
import { n as resolveImageSanitizationLimits, t as sanitizeToolResultImages } from "./tool-images-
|
|
25
|
+
import { n as getDefaultMediaLocalRoots, o as fetchWithSsrFGuard } from "./local-roots-DJo8GN9l.js";
|
|
26
|
+
import { n as runExec, t as runCommandWithTimeout } from "./exec-D6PvFXKb.js";
|
|
27
|
+
import { n as resolveImageSanitizationLimits, t as sanitizeToolResultImages } from "./tool-images-C6LHSeSs.js";
|
|
28
28
|
import { n as redactSensitiveText } from "./redact-BsoXOV1y.js";
|
|
29
29
|
import { i as isErrno, n as formatErrorMessage } from "./errors-BpAidYqH.js";
|
|
30
30
|
import { i as imageMimeFromFormat } from "./mime-BS3jhcZE.js";
|
|
31
31
|
import { t as formatCliCommand } from "./command-format-DgXcqxBt.js";
|
|
32
|
-
import "./auth-profiles-
|
|
32
|
+
import "./auth-profiles-DJsaxEsz.js";
|
|
33
33
|
import { n as isPidAlive } from "./process-scoped-map-CV9kDvfG.js";
|
|
34
34
|
import "./file-lock-CIvloidc.js";
|
|
35
|
-
import { n as listChannelPlugins, o as normalizeWhatsAppTarget, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
36
|
-
import { i as resolveWhatsAppAccount } from "./accounts-
|
|
37
|
-
import "./accounts-
|
|
38
|
-
import "./accounts-
|
|
39
|
-
import { t as buildChannelAccountBindings } from "./bindings-
|
|
35
|
+
import { n as listChannelPlugins, o as normalizeWhatsAppTarget, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-HyUNaoYP.js";
|
|
36
|
+
import { i as resolveWhatsAppAccount } from "./accounts-Y6fBCsx_.js";
|
|
37
|
+
import "./accounts-B5BNJ_lk.js";
|
|
38
|
+
import "./accounts-DOwpPNpJ.js";
|
|
39
|
+
import { t as buildChannelAccountBindings } from "./bindings-C6J0GYWO.js";
|
|
40
40
|
import { r as isSilentReplyText, t as SILENT_REPLY_TOKEN } from "./tokens-qLtFu3nT.js";
|
|
41
|
-
import { f as normalizeTargetForProvider, h as runGlobalGatewayStopSafely, p as getGlobalHookRunner } from "./reply-payloads-
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import
|
|
46
|
-
import "./
|
|
47
|
-
import
|
|
48
|
-
import "./
|
|
49
|
-
import "./
|
|
50
|
-
import "./
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import
|
|
54
|
-
import "./
|
|
55
|
-
import
|
|
56
|
-
import "./
|
|
57
|
-
import { n as
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import { t as
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import { r as
|
|
64
|
-
import {
|
|
65
|
-
import
|
|
66
|
-
import "./image-ops-
|
|
41
|
+
import { f as normalizeTargetForProvider, h as runGlobalGatewayStopSafely, p as getGlobalHookRunner } from "./reply-payloads-B2kcd0dL.js";
|
|
42
|
+
import { C as resolveSendPolicy, S as normalizeSendPolicy, a as getCliSessionId, c as resolveCliRuntimeArgs, d as listChannelSupportedActions, f as resolveChannelMessageToolHints, g as parseVerboseOverride, h as applyVerboseOverride, i as resolveSessionDeliveryTarget, l as resolveCliRuntimeEnv, m as resolveSessionAuthProfileOverride, o as setCliSessionId, r as resolveOutboundTarget, s as ChannelBridge, u as resolveCliRuntimeProvider, v as enqueueSystemEvent, y as isSystemEventContextChanged } from "./targets-BXHW0zVC.js";
|
|
43
|
+
import { _ as isExternalHookSession, a as handleSlackHttpRequest, d as requestBodyErrorToText, g as getHookType, h as detectSuspiciousPatterns, m as buildSafeExternalPrompt, p as resolveAgentAvatar, t as loadRemoteClawPlugins, u as readJsonBodyWithLimit } from "./loader-D8Fp-_-g.js";
|
|
44
|
+
import { r as isRestartEnabled } from "./commands-CX-o6Gzn.js";
|
|
45
|
+
import "./commands-registry-C_sd8Lmg.js";
|
|
46
|
+
import { a as readChannelAllowFromStoreSync } from "./pairing-store-DlhFf9Sd.js";
|
|
47
|
+
import "./fetch-Du9BJ20J.js";
|
|
48
|
+
import "./retry-BbVJvOUo.js";
|
|
49
|
+
import "./client-CwnX0nXo.js";
|
|
50
|
+
import { c as resolveSessionFilePath, l as resolveSessionFilePathOptions, m as resolveStorePath, p as resolveSessionTranscriptsDirForAgent } from "./chat-envelope-CRqgofiw.js";
|
|
51
|
+
import { C as resolveSessionTranscriptCandidates, D as stripInlineDirectiveTagsForDisplay, I as CURRENT_SESSION_VERSION, J as resolveExplicitAgentSessionKey, K as canonicalizeMainSessionAlias, M as parseSessionThreadInfo, O as stripInlineDirectiveTagsFromMessageForDisplay, Q as snapshotSessionOrigin, T as stripEnvelopeFromMessages, V as resolveSessionResetPolicy, X as resolveMainSessionKeyFromConfig, Y as resolveMainSessionKey, _ as archiveSessionTranscripts, b as readSessionMessages, d as deliveryContextFromSession, f as mergeDeliveryContext, g as archiveFileOnDisk, j as extractDeliveryInfo, l as updateSessionStore, m as normalizeSessionDeliveryFields, n as loadSessionStore, q as resolveAgentMainSessionKey, rt as cleanStaleLockFiles, v as capArrayByJsonBytes, w as stripEnvelopeFromMessage, x as readSessionPreviewItemsFromTranscript, y as cleanupArchivedSessionTranscripts, z as evaluateSessionFreshness } from "./store-qGKdk2ZD.js";
|
|
52
|
+
import { r as normalizeInputProvenance } from "./input-provenance-BDPOaXFk.js";
|
|
53
|
+
import "./strip-inbound-meta-B21Qdh8I.js";
|
|
54
|
+
import { n as deriveSessionTotalTokens, r as hasNonzeroUsage } from "./usage-sF5tij7A.js";
|
|
55
|
+
import "./audio-B_mzy948.js";
|
|
56
|
+
import { n as formatTokenCount, r as formatUsd } from "./usage-format-C6Iz_Ws9.js";
|
|
57
|
+
import { $ as validateNodeInvokeResultParams, $t as upsertPendingPairingRequest, A as validateConfigApplyParams, At as PROTOCOL_VERSION, B as validateCronRunsParams, Bt as rejectDevicePairing, C as validateAgentsUpdateParams, Ct as validateWakeParams, D as validateChatHistoryParams, Dt as validateWizardNextParams, E as validateChatAbortParams, Et as validateWizardCancelParams, F as validateConnectParams, Ft as buildDeviceAuthPayload, G as validateDevicePairRejectParams, Gt as summarizeDeviceTokens, H as validateCronUpdateParams, Ht as requestDevicePairing, I as validateCronAddParams, It as approveDevicePairing, J as validateDeviceTokenRotateParams, Jt as generatePairingToken, K as validateDevicePairRemoveParams, Kt as updatePairedDeviceMetadata, L as validateCronListParams, Lt as ensureDeviceToken, M as validateConfigPatchParams, Mt as errorShape, N as validateConfigSchemaParams, Nt as SESSION_LABEL_MAX_LENGTH, O as validateChatInjectParams, Ot as validateWizardStartParams, P as validateConfigSetParams, Pt as parseSessionLabel, Q as validateNodeInvokeParams, Qt as resolvePairingPaths, R as validateCronRemoveParams, Rt as getPairedDevice, S as validateAgentsListParams, St as validateUpdateRunParams, T as validateChannelsStatusParams, Tt as validateWebLoginWaitParams, U as validateDevicePairApproveParams, Ut as revokeDeviceToken, V as validateCronStatusParams, Vt as removePairedDevice, W as validateDevicePairListParams, Wt as rotateDeviceToken, X as validateNodeDescribeParams, Xt as rejectPendingPairingRequest, Y as validateLogsTailParams, Yt as verifyPairingToken, Z as validateNodeEventParams, Zt as pruneExpiredPending, _ as validateAgentsCreateParams, _t as validateSessionsResolveParams, at as validateNodePairVerifyParams, b as validateAgentsFilesListParams, bt as validateTalkModeParams, ct as validatePushTestParams, d as resolveLeastPrivilegeOperatorScopesForMethod, dt as validateSessionsCompactParams, en as roleScopesAllow, et as validateNodeListParams, ft as validateSessionsDeleteParams, g as validateAgentWaitParams, gt as validateSessionsResetParams, h as validateAgentParams, ht as validateSessionsPreviewParams, in as verifyDeviceSignature, it as validateNodePairRequestParams, j as validateConfigGetParams, jt as ErrorCodes, k as validateChatSendParams, kt as validateWizardStatusParams, l as authorizeOperatorScopesForMethod, lt as validateRequestFrame, m as validateAgentIdentityParams, mt as validateSessionsPatchParams, n as callGateway, nn as deriveDeviceIdFromPublicKey, nt as validateNodePairListParams, ot as validateNodeRenameParams, p as formatValidationErrors, pt as validateSessionsListParams, q as validateDeviceTokenRevokeParams, qt as verifyDeviceToken, rn as normalizeDevicePublicKeyBase64Url, rt as validateNodePairRejectParams, s as ADMIN_SCOPE$3, st as validatePollParams, tn as loadGatewayTlsRuntime$1, tt as validateNodePairApproveParams, u as isNodeRoleMethod, ut as validateSendParams, v as validateAgentsDeleteParams, vt as validateSessionsUsageParams, w as validateChannelsLogoutParams, wt as validateWebLoginStartParams, x as validateAgentsFilesSetParams, xt as validateToolsCatalogParams, y as validateAgentsFilesGetParams, yt as validateTalkConfigParams, z as validateCronRunParams, zt as listDevicePairing } from "./call-DStm6xNU.js";
|
|
58
|
+
import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-Ct2lDInr.js";
|
|
59
|
+
import { t as safeEqualSecret } from "./secret-equal-DgjJcvjv.js";
|
|
60
|
+
import { a as isTrustedProxyAddress, c as pickPrimaryLanIPv4, d as resolveGatewayListenHosts, f as resolveHostName, l as resolveClientIp, n as isLoopbackAddress, o as isValidIPv4, p as rawDataToString, r as isLoopbackHost, s as normalizeHostHeader, t as isLocalishHost, u as resolveGatewayBindHost } from "./net-Dl7oQfqm.js";
|
|
61
|
+
import { n as pickPrimaryTailnetIPv4, r as pickPrimaryTailnetIPv6 } from "./tailnet-wUV6epIk.js";
|
|
62
|
+
import { r as trimToUndefined$1, t as resolveGatewayCredentialsFromConfig } from "./credentials-C82aU5z-.js";
|
|
63
|
+
import { a as emitAgentEvent, c as registerAgentRunContext, i as clearAgentRunContext, n as AGENT_LANE_SUBAGENT, o as getAgentRunContext, r as CommandLane, s as onAgentEvent, t as AGENT_LANE_NESTED } from "./lanes-DKkroN9D.js";
|
|
64
|
+
import { i as resolveAgentIdentity } from "./response-prefix-template-C0XvOOPH.js";
|
|
65
|
+
import "./agent-helpers-Dv4rPlt_.js";
|
|
66
|
+
import "./image-ops-DBBLmYIV.js";
|
|
67
67
|
import "./tool-display-B-nr7cSF.js";
|
|
68
|
-
import { t as getChannelActivity } from "./channel-activity-
|
|
69
|
-
import "./send-
|
|
68
|
+
import { t as getChannelActivity } from "./channel-activity-Bb_Sbkt-.js";
|
|
69
|
+
import "./send-CGKCk8lN.js";
|
|
70
70
|
import { n as normalizePollInput } from "./polls-B0CCBDeR.js";
|
|
71
71
|
import "./fs-safe-DkBhNAc3.js";
|
|
72
|
-
import "./ir-
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./markdown-tables-
|
|
72
|
+
import "./ir-BpaWuxJC.js";
|
|
73
|
+
import "./chunk-DtPQ4ACP.js";
|
|
74
|
+
import "./markdown-tables-42YE9A_H.js";
|
|
75
75
|
import "./render-CCLsW6Lz.js";
|
|
76
|
-
import "./tables-
|
|
77
|
-
import { c as resolveGatewayLaunchAgentLabel, d as resolveGatewaySystemdServiceName, f as resolveGatewayWindowsTaskName } from "./constants-
|
|
78
|
-
import { i as loadSessionUsageTimeSeries, n as loadCostUsageSummary, r as loadSessionCostSummary, t as discoverAllSessions } from "./session-cost-usage-
|
|
79
|
-
import { a as jsonResult, d as readStringParam, i as imageResult, l as readStringArrayParam, n as ToolInputError, s as readNumberParam } from "./common-
|
|
80
|
-
import "./reply-directives-
|
|
81
|
-
import { i as onHeartbeatEvent, r as getLastHeartbeatEvent, u as resolveCronStyleNow } from "./heartbeat-visibility-
|
|
82
|
-
import { C as computeBackoff, _ as buildHistoryContextFromEntries, w as sleepWithAbort } from "./ack-reactions-
|
|
83
|
-
import "./resolve-route-
|
|
84
|
-
import { a as createReplyDispatcher, i as dispatchInboundMessage, s as getTotalPendingReplies } from "./provider-dispatcher-
|
|
76
|
+
import "./tables-6CkQRTJR.js";
|
|
77
|
+
import { c as resolveGatewayLaunchAgentLabel, d as resolveGatewaySystemdServiceName, f as resolveGatewayWindowsTaskName } from "./constants-DQTT0rbk.js";
|
|
78
|
+
import { i as loadSessionUsageTimeSeries, n as loadCostUsageSummary, r as loadSessionCostSummary, t as discoverAllSessions } from "./session-cost-usage-DES0ywek.js";
|
|
79
|
+
import { a as jsonResult, d as readStringParam, i as imageResult, l as readStringArrayParam, n as ToolInputError, s as readNumberParam } from "./common-XY1OwAbh.js";
|
|
80
|
+
import "./reply-directives-BdJZaTkb.js";
|
|
81
|
+
import { i as onHeartbeatEvent, r as getLastHeartbeatEvent, u as resolveCronStyleNow } from "./heartbeat-visibility-BjRX-UuR.js";
|
|
82
|
+
import { C as computeBackoff, _ as buildHistoryContextFromEntries, w as sleepWithAbort } from "./ack-reactions-Dwyidw3T.js";
|
|
83
|
+
import "./resolve-route-CrSio4RY.js";
|
|
84
|
+
import { a as createReplyDispatcher, i as dispatchInboundMessage, s as getTotalPendingReplies } from "./provider-dispatcher-CN8WlGTX.js";
|
|
85
85
|
import { n as saveMediaBuffer } from "./store-BPZo49zT.js";
|
|
86
|
-
import { t as createReplyPrefixOptions } from "./reply-prefix-
|
|
87
|
-
import { a as createOutboundSendDeps, i as resolveAgentOutboundTarget, o as createDefaultDeps, r as resolveAgentDeliveryPlan, s as createOutboundSendDeps$1, t as agentCommand } from "./agent-
|
|
86
|
+
import { t as createReplyPrefixOptions } from "./reply-prefix-SGmUA9cV.js";
|
|
87
|
+
import { a as createOutboundSendDeps, i as resolveAgentOutboundTarget, o as createDefaultDeps, r as resolveAgentDeliveryPlan, s as createOutboundSendDeps$1, t as agentCommand } from "./agent-CgX8kUig.js";
|
|
88
88
|
import "./prompt-BVZVovoB.js";
|
|
89
|
-
import "./binaries-
|
|
90
|
-
import { t as ensureRemoteClawCliOnPath } from "./path-env-
|
|
91
|
-
import { a as inspectPortUsage, c as formatPortDiagnostics, r as ensurePortAvailable } from "./ports-
|
|
92
|
-
import "./runtime-guard-
|
|
93
|
-
import { t as forceFreePortAndWait } from "./ports-
|
|
94
|
-
import { t as buildChannelUiCatalog } from "./catalog-
|
|
95
|
-
import "./send-
|
|
96
|
-
import "./send-
|
|
97
|
-
import { d as loadCronStore, f as resolveCronStorePath, p as saveCronStore } from "./send-
|
|
89
|
+
import "./binaries-DdAb_BxQ.js";
|
|
90
|
+
import { t as ensureRemoteClawCliOnPath } from "./path-env-DdE_hfAk.js";
|
|
91
|
+
import { a as inspectPortUsage, c as formatPortDiagnostics, r as ensurePortAvailable } from "./ports-DmM4pHmC.js";
|
|
92
|
+
import "./runtime-guard-CTl7OnCR.js";
|
|
93
|
+
import { t as forceFreePortAndWait } from "./ports-nkccaDJy.js";
|
|
94
|
+
import { t as buildChannelUiCatalog } from "./catalog-DhWKDMFJ.js";
|
|
95
|
+
import "./send-KFCtT3Z5.js";
|
|
96
|
+
import "./send-CGHEEbNo.js";
|
|
97
|
+
import { d as loadCronStore, f as resolveCronStorePath, p as saveCronStore } from "./send-8yz2-_HH.js";
|
|
98
98
|
import "./proxy-DL3MD6-P.js";
|
|
99
|
-
import "./replies-
|
|
100
|
-
import { n as resolveMessageChannelSelection, t as listConfiguredMessageChannels } from "./channel-selection-
|
|
101
|
-
import { o as normalizeReplyPayloadsForDelivery, t as deliverOutboundPayloads } from "./deliver-
|
|
102
|
-
import "./outbound-attachment-
|
|
99
|
+
import "./replies-jKtjhQ-s.js";
|
|
100
|
+
import { n as resolveMessageChannelSelection, t as listConfiguredMessageChannels } from "./channel-selection-B5SqfNeA.js";
|
|
101
|
+
import { o as normalizeReplyPayloadsForDelivery, t as deliverOutboundPayloads } from "./deliver-DjOzd2jc.js";
|
|
102
|
+
import "./outbound-attachment-H1yBQoS2.js";
|
|
103
103
|
import "./delivery-queue-CxVRi4tw.js";
|
|
104
|
-
import "./send-
|
|
105
|
-
import { S as resolveAssistantAvatarUrl, b as buildControlUiAvatarUrl, x as normalizeControlUiBasePath, y as CONTROL_UI_AVATAR_PREFIX } from "./onboard-helpers-
|
|
104
|
+
import "./send-B2JN7CQJ.js";
|
|
105
|
+
import { S as resolveAssistantAvatarUrl, b as buildControlUiAvatarUrl, x as normalizeControlUiBasePath, y as CONTROL_UI_AVATAR_PREFIX } from "./onboard-helpers-CfH4S4p-.js";
|
|
106
106
|
import "./prompt-style-D0LUnqXi.js";
|
|
107
|
-
import "./pairing-labels-
|
|
107
|
+
import "./pairing-labels-BEzEtY3m.js";
|
|
108
108
|
import { t as formatDocsLink } from "./links-Cm43Vcft.js";
|
|
109
|
-
import "./chrome-
|
|
110
|
-
import { i as mergeGatewayTailscaleConfig, o as resolveBrowserConfig, r as ensureGatewayStartupAuth, t as ensureBrowserControlAuth } from "./control-auth-
|
|
111
|
-
import { i as enableTailscaleServe, n as disableTailscaleServe, o as getTailnetHostname, r as enableTailscaleFunnel, t as disableTailscaleFunnel } from "./tailscale-
|
|
112
|
-
import { a as resolveGatewayAuth, c as AUTH_RATE_LIMIT_SCOPE_SHARED_SECRET, i as isLocalDirectRequest, l as createAuthRateLimiter, n as authorizeHttpGatewayConnect, o as AUTH_RATE_LIMIT_SCOPE_DEVICE_TOKEN, r as authorizeWsControlUiGatewayConnect, s as AUTH_RATE_LIMIT_SCOPE_HOOK_AUTH, t as assertGatewayAuthConfigured, u as normalizeRateLimitClientIp } from "./auth-
|
|
113
|
-
import { i as registerBrowserRoutes, r as createBrowserRouteContext, t as ensureExtensionRelayForProfiles } from "./server-lifecycle-
|
|
114
|
-
import { t as movePathToTrash } from "./trash-
|
|
109
|
+
import "./chrome-BPS0qqQn.js";
|
|
110
|
+
import { i as mergeGatewayTailscaleConfig, o as resolveBrowserConfig, r as ensureGatewayStartupAuth, t as ensureBrowserControlAuth } from "./control-auth-ByQ2UTJl.js";
|
|
111
|
+
import { i as enableTailscaleServe, n as disableTailscaleServe, o as getTailnetHostname, r as enableTailscaleFunnel, t as disableTailscaleFunnel } from "./tailscale-dtzyN0aT.js";
|
|
112
|
+
import { a as resolveGatewayAuth, c as AUTH_RATE_LIMIT_SCOPE_SHARED_SECRET, i as isLocalDirectRequest, l as createAuthRateLimiter, n as authorizeHttpGatewayConnect, o as AUTH_RATE_LIMIT_SCOPE_DEVICE_TOKEN, r as authorizeWsControlUiGatewayConnect, s as AUTH_RATE_LIMIT_SCOPE_HOOK_AUTH, t as assertGatewayAuthConfigured, u as normalizeRateLimitClientIp } from "./auth-BZ9W_93P.js";
|
|
113
|
+
import { i as registerBrowserRoutes, r as createBrowserRouteContext, t as ensureExtensionRelayForProfiles } from "./server-lifecycle-t_S9_eG-.js";
|
|
114
|
+
import { t as movePathToTrash } from "./trash-7yJovaAx.js";
|
|
115
115
|
import { c as resolveCoreToolProfiles, i as PROFILE_OPTIONS, n as DEFAULT_GATEWAY_HTTP_TOOL_DENY, o as listCoreToolSections } from "./dangerous-tools-Baq7Q-i6.js";
|
|
116
116
|
import { n as inheritOptionFromParent } from "./command-options-CA30lfLK.js";
|
|
117
|
-
import { n as withProgress } from "./progress
|
|
117
|
+
import { n as withProgress } from "./progress-C248R1Az.js";
|
|
118
118
|
import { t as runCommandWithRuntime } from "./cli-utils-DZe_rVkZ.js";
|
|
119
119
|
import { t as formatHelpExamples } from "./help-format-sqWgYEdL.js";
|
|
120
|
-
import "./note-
|
|
121
|
-
import { n as WizardCancelledError } from "./clack-prompter-
|
|
122
|
-
import { t as resolveChannelDefaultAccountId } from "./helpers-
|
|
123
|
-
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-
|
|
120
|
+
import "./note-xRSpyX5s.js";
|
|
121
|
+
import { n as WizardCancelledError } from "./clack-prompter-gcnWKHgT.js";
|
|
122
|
+
import { t as resolveChannelDefaultAccountId } from "./helpers-CN0aEvFf.js";
|
|
123
|
+
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-Cd9WE5kB.js";
|
|
124
124
|
import { t as isWithinDir } from "./path-safety-juI2XbO1.js";
|
|
125
125
|
import { t as createPluginLoaderLogger } from "./logger-GvipVDfh.js";
|
|
126
126
|
import { t as buildChannelAccountSnapshot } from "./status-BmtCS3T1.js";
|
|
127
|
-
import "./channels-status-issues-
|
|
128
|
-
import { a as buildBaseHints, i as applySensitiveHints, n as redactConfigSnapshot, o as mapSensitivePaths, r as restoreRedactedValues, s as applyDerivedTags, t as redactConfigObject } from "./redact-snapshot-
|
|
127
|
+
import "./channels-status-issues-DRBiGjad.js";
|
|
128
|
+
import { a as buildBaseHints, i as applySensitiveHints, n as redactConfigSnapshot, o as mapSensitivePaths, r as restoreRedactedValues, s as applyDerivedTags, t as redactConfigObject } from "./redact-snapshot-CYzH7d_A.js";
|
|
129
129
|
import { i as parseAbsoluteTimeMs, n as resolveCronStaggerMs, r as resolveDefaultCronStaggerMs, t as normalizeCronStaggerMs } from "./stagger-MI9gd2rQ.js";
|
|
130
|
-
import "./daemon-install-helpers-
|
|
131
|
-
import "./systemd-
|
|
132
|
-
import { t as resolveGatewayService } from "./service-
|
|
133
|
-
import { c as parsePort$1, n as addGatewayServiceCommands } from "./daemon-cli-
|
|
134
|
-
import "./diagnostics-
|
|
135
|
-
import "./inspect-
|
|
136
|
-
import "./table-
|
|
130
|
+
import "./daemon-install-helpers-CWPt9X4V.js";
|
|
131
|
+
import "./systemd-DCwD8aqg.js";
|
|
132
|
+
import { t as resolveGatewayService } from "./service-BOIQUlgm.js";
|
|
133
|
+
import { c as parsePort$1, n as addGatewayServiceCommands } from "./daemon-cli-C6yedkyX.js";
|
|
134
|
+
import "./diagnostics-pnhexb9O.js";
|
|
135
|
+
import "./inspect-Cm2C9Ogh.js";
|
|
136
|
+
import "./table-CGS1Ml9r.js";
|
|
137
137
|
import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } from "./widearea-dns-BXGCmXnD.js";
|
|
138
|
-
import { b as probeGateway, c as resolveGroupToolPolicy, d as collectExplicitAllowlist, f as expandPolicyWithPluginGroups, g as resolveToolProfilePolicy, h as normalizeToolName, l as resolveSubagentToolPolicy, m as stripPluginOnlyAllowlist, n as collectEnabledInsecureOrDangerousFlags, o as filterToolsByPolicy, p as mergeAlsoAllowPolicy, s as resolveEffectiveToolPolicy, u as buildPluginToolGroups, v as isNodeCommandAllowed, y as resolveNodeCommandAllowlist } from "./audit-
|
|
139
|
-
import { t as discoverGatewayBeacons } from "./bonjour-discovery-
|
|
140
|
-
import { n as getStatusSummary, r as pickGatewaySelfPresence } from "./status-
|
|
141
|
-
import { a as styleHealthChannelLine, c as setHeartbeatsEnabled, l as startHeartbeatRunner, n as getHealthSnapshot, s as runHeartbeatOnce, t as formatHealthChannelLines } from "./health-
|
|
138
|
+
import { b as probeGateway, c as resolveGroupToolPolicy, d as collectExplicitAllowlist, f as expandPolicyWithPluginGroups, g as resolveToolProfilePolicy, h as normalizeToolName, l as resolveSubagentToolPolicy, m as stripPluginOnlyAllowlist, n as collectEnabledInsecureOrDangerousFlags, o as filterToolsByPolicy, p as mergeAlsoAllowPolicy, s as resolveEffectiveToolPolicy, u as buildPluginToolGroups, v as isNodeCommandAllowed, y as resolveNodeCommandAllowlist } from "./audit-BmJMYEgJ.js";
|
|
139
|
+
import { t as discoverGatewayBeacons } from "./bonjour-discovery-STZGcDQV.js";
|
|
140
|
+
import { n as getStatusSummary, r as pickGatewaySelfPresence } from "./status-lkm2lXHS.js";
|
|
141
|
+
import { a as styleHealthChannelLine, c as setHeartbeatsEnabled, l as startHeartbeatRunner, n as getHealthSnapshot, s as runHeartbeatOnce, t as formatHealthChannelLines } from "./health-DvHxqlAs.js";
|
|
142
142
|
import { t as requestHeartbeatNow } from "./heartbeat-wake-Y97geucO.js";
|
|
143
143
|
import { t as resolveRemoteClawPackageRoot } from "./remoteclaw-root-C2HV2VeC.js";
|
|
144
|
-
import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t as ensureControlUiAssetsBuilt } from "./control-ui-assets-
|
|
145
|
-
import { S as normalizeUpdateChannel, c as writeRestartSentinel, g as DEFAULT_PACKAGE_CHANNEL, i as formatRestartSentinelMessage, l as checkUpdateStatus, n as consumeRestartSentinel, o as summarizeRestartSentinel, p as resolveNpmChannelTag, r as formatDoctorNonInteractiveHint, u as compareSemverStrings } from "./channel-account-context-
|
|
144
|
+
import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t as ensureControlUiAssetsBuilt } from "./control-ui-assets-GJ4R_9nc.js";
|
|
145
|
+
import { S as normalizeUpdateChannel, c as writeRestartSentinel, g as DEFAULT_PACKAGE_CHANNEL, i as formatRestartSentinelMessage, l as checkUpdateStatus, n as consumeRestartSentinel, o as summarizeRestartSentinel, p as resolveNpmChannelTag, r as formatDoctorNonInteractiveHint, u as compareSemverStrings } from "./channel-account-context-BlOGpmo5.js";
|
|
146
146
|
import "./cleanup-utils-o2MM9xyf.js";
|
|
147
|
-
import "./import-
|
|
148
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
149
|
-
import { a as CHANNEL_TARGET_DESCRIPTION, c as supportsChannelMessageButtonsForChannel, d as ensureOutboundSessionEntry, f as resolveOutboundSessionRoute, i as CHANNEL_TARGETS_DESCRIPTION, l as supportsChannelMessageCards, m as resetDirectoryCache, n as getToolResult, o as listChannelMessageActions, r as runMessageAction, s as supportsChannelMessageButtons, t as CHANNEL_MESSAGE_ACTION_NAMES, u as supportsChannelMessageCardsForChannel } from "./message-action-names-
|
|
150
|
-
import { a as loadCombinedSessionStoreForGateway, c as resolveGatewaySessionStoreTarget, i as listSessionsFromStore, l as resolveSessionModelRef, o as loadSessionEntry, r as listAgentsForGateway, s as pruneLegacyStoreKeys, t as canonicalizeSpawnedByForAgent, u as openVerifiedFileSync } from "./session-utils-
|
|
151
|
-
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-
|
|
147
|
+
import "./import-D2W4jaSE.js";
|
|
148
|
+
import { t as runOnboardingWizard } from "./onboarding-BYAmj_f_.js";
|
|
149
|
+
import { a as CHANNEL_TARGET_DESCRIPTION, c as supportsChannelMessageButtonsForChannel, d as ensureOutboundSessionEntry, f as resolveOutboundSessionRoute, i as CHANNEL_TARGETS_DESCRIPTION, l as supportsChannelMessageCards, m as resetDirectoryCache, n as getToolResult, o as listChannelMessageActions, r as runMessageAction, s as supportsChannelMessageButtons, t as CHANNEL_MESSAGE_ACTION_NAMES, u as supportsChannelMessageCardsForChannel } from "./message-action-names-BxTBtpYU.js";
|
|
150
|
+
import { a as loadCombinedSessionStoreForGateway, c as resolveGatewaySessionStoreTarget, i as listSessionsFromStore, l as resolveSessionModelRef, o as loadSessionEntry, r as listAgentsForGateway, s as pruneLegacyStoreKeys, t as canonicalizeSpawnedByForAgent, u as openVerifiedFileSync } from "./session-utils-R7nW6YZu.js";
|
|
151
|
+
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-CHI8oGCz.js";
|
|
152
152
|
import { n as hasBinary } from "./config-eval-CjGZtLwx.js";
|
|
153
|
-
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-
|
|
154
|
-
import { i as pruneAgentConfig, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-
|
|
155
|
-
import "./dm-policy-shared-
|
|
156
|
-
import "./status.update-
|
|
157
|
-
import { n as runGatewayUpdate, t as resolveAgentSessionDirs } from "./session-dirs-
|
|
153
|
+
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-DcvTRsFv.js";
|
|
154
|
+
import { i as pruneAgentConfig, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-BgeMZRrc.js";
|
|
155
|
+
import "./dm-policy-shared-38ZSwYRy.js";
|
|
156
|
+
import "./status.update-DMfgnqeT.js";
|
|
157
|
+
import { n as runGatewayUpdate, t as resolveAgentSessionDirs } from "./session-dirs-CHjQfl7x.js";
|
|
158
158
|
import { a as resolveNodeIdFromCandidates, c as canvasSnapshotTempPath, d as parseCameraClipPayload, f as parseCameraSnapPayload, h as writeUrlToFile, i as parseEnvPairs, l as parseCanvasSnapshotPayload, m as writeCameraClipPayloadToFile, n as screenRecordTempPath, o as parseNodeList, p as writeBase64ToFile, r as writeScreenRecordToFile, s as parsePairingList, t as parseScreenRecordPayload, u as cameraTempPath } from "./nodes-screen-Bmp1l9wY.js";
|
|
159
159
|
import { t as parseTimeoutMs$1 } from "./parse-timeout-CDkco8kd.js";
|
|
160
|
-
import { i as shouldIncludeHook, r as resolveHookConfig, t as loadWorkspaceHookEntries } from "./workspace-
|
|
160
|
+
import { i as shouldIncludeHook, r as resolveHookConfig, t as loadWorkspaceHookEntries } from "./workspace-C-QwN1zu.js";
|
|
161
161
|
import { pathToFileURL } from "node:url";
|
|
162
162
|
import fs from "node:fs";
|
|
163
163
|
import os from "node:os";
|
|
@@ -3283,7 +3283,7 @@ async function runCronIsolatedAgentTurn(params) {
|
|
|
3283
3283
|
const workspaceDirRaw = resolveAgentWorkspaceDir(params.cfg, agentId);
|
|
3284
3284
|
const agentDir = resolveAgentDir(params.cfg, agentId);
|
|
3285
3285
|
const workspaceDir = await ensureAgentWorkspace(workspaceDirRaw);
|
|
3286
|
-
const resolvedDefault = normalizeModelRef(
|
|
3286
|
+
const resolvedDefault = normalizeModelRef("unknown", "unknown");
|
|
3287
3287
|
let provider = resolvedDefault.provider;
|
|
3288
3288
|
let model = resolvedDefault.model;
|
|
3289
3289
|
const modelOverrideRaw = params.job.payload.kind === "agentTurn" ? params.job.payload.model : void 0;
|
|
@@ -3395,11 +3395,13 @@ async function runCronIsolatedAgentTurn(params) {
|
|
|
3395
3395
|
if (abortSignal?.aborted) throw new Error(abortReason());
|
|
3396
3396
|
const sessionMap = createSessionMapAdapter({ getSessionId: () => getCliSessionId(cronSession.sessionEntry, provider) });
|
|
3397
3397
|
const bridge = new ChannelBridge({
|
|
3398
|
-
provider,
|
|
3398
|
+
provider: resolveCliRuntimeProvider(cfgWithAgentDefaults),
|
|
3399
3399
|
sessionMap,
|
|
3400
3400
|
gatewayUrl: resolveGatewayUrlFromConfig(cfgWithAgentDefaults),
|
|
3401
3401
|
gatewayToken: resolveGatewayTokenFromConfig(cfgWithAgentDefaults),
|
|
3402
|
-
workspaceDir
|
|
3402
|
+
workspaceDir,
|
|
3403
|
+
runtimeArgs: resolveCliRuntimeArgs(cfgWithAgentDefaults),
|
|
3404
|
+
runtimeEnv: resolveCliRuntimeEnv(cfgWithAgentDefaults)
|
|
3403
3405
|
});
|
|
3404
3406
|
const messageToolHints = resolveChannelMessageToolHints({
|
|
3405
3407
|
cfg: cfgWithAgentDefaults,
|
|
@@ -3439,11 +3441,9 @@ async function runCronIsolatedAgentTurn(params) {
|
|
|
3439
3441
|
} : void 0;
|
|
3440
3442
|
const modelUsed = fallbackModel ?? model;
|
|
3441
3443
|
const providerUsed = fallbackProvider ?? provider;
|
|
3442
|
-
const contextTokens = agentCfg?.contextTokens ??
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
model: modelUsed
|
|
3446
|
-
});
|
|
3444
|
+
const contextTokens = agentCfg?.contextTokens ?? 2e5;
|
|
3445
|
+
cronSession.sessionEntry.modelProvider = providerUsed;
|
|
3446
|
+
cronSession.sessionEntry.model = modelUsed;
|
|
3447
3447
|
cronSession.sessionEntry.contextTokens = contextTokens;
|
|
3448
3448
|
if (isCliProvider(providerUsed, cfgWithAgentDefaults)) {
|
|
3449
3449
|
const cliSessionId = runResult.run.sessionId?.trim();
|
|
@@ -7219,8 +7219,8 @@ async function applySessionsPatchToStore(params) {
|
|
|
7219
7219
|
const { cfg: _cfg, store, storeKey, patch } = params;
|
|
7220
7220
|
const now = Date.now();
|
|
7221
7221
|
const resolvedDefault = {
|
|
7222
|
-
provider:
|
|
7223
|
-
model:
|
|
7222
|
+
provider: "unknown",
|
|
7223
|
+
model: "unknown"
|
|
7224
7224
|
};
|
|
7225
7225
|
const existing = store[storeKey];
|
|
7226
7226
|
const next = existing ? {
|
|
@@ -7268,30 +7268,12 @@ async function applySessionsPatchToStore(params) {
|
|
|
7268
7268
|
next.label = parsed.label;
|
|
7269
7269
|
}
|
|
7270
7270
|
}
|
|
7271
|
-
if ("thinkingLevel" in patch) {
|
|
7272
|
-
const raw = patch.thinkingLevel;
|
|
7273
|
-
if (raw === null) delete next.thinkingLevel;
|
|
7274
|
-
else if (raw !== void 0) {
|
|
7275
|
-
const normalized = normalizeThinkLevel(String(raw));
|
|
7276
|
-
if (!normalized) return invalid(`invalid thinkingLevel (use ${formatThinkingLevels(existing?.providerOverride?.trim() || resolvedDefault.provider, existing?.modelOverride?.trim() || resolvedDefault.model, "|")})`);
|
|
7277
|
-
next.thinkingLevel = normalized;
|
|
7278
|
-
}
|
|
7279
|
-
}
|
|
7280
7271
|
if ("verboseLevel" in patch) {
|
|
7281
7272
|
const raw = patch.verboseLevel;
|
|
7282
7273
|
const parsed = parseVerboseOverride(raw);
|
|
7283
7274
|
if (!parsed.ok) return invalid(parsed.error);
|
|
7284
7275
|
applyVerboseOverride(next, parsed.value);
|
|
7285
7276
|
}
|
|
7286
|
-
if ("reasoningLevel" in patch) {
|
|
7287
|
-
const raw = patch.reasoningLevel;
|
|
7288
|
-
if (raw === null) delete next.reasoningLevel;
|
|
7289
|
-
else if (raw !== void 0) {
|
|
7290
|
-
const normalized = normalizeReasoningLevel(String(raw));
|
|
7291
|
-
if (!normalized) return invalid("invalid reasoningLevel (use \"on\"|\"off\"|\"stream\")");
|
|
7292
|
-
next.reasoningLevel = normalized;
|
|
7293
|
-
}
|
|
7294
|
-
}
|
|
7295
7277
|
if ("responseUsage" in patch) {
|
|
7296
7278
|
const raw = patch.responseUsage;
|
|
7297
7279
|
if (raw === null) delete next.responseUsage;
|
|
@@ -7349,34 +7331,30 @@ async function applySessionsPatchToStore(params) {
|
|
|
7349
7331
|
}
|
|
7350
7332
|
if ("model" in patch) {
|
|
7351
7333
|
const raw = patch.model;
|
|
7352
|
-
|
|
7353
|
-
|
|
7354
|
-
|
|
7355
|
-
|
|
7356
|
-
|
|
7357
|
-
|
|
7358
|
-
}
|
|
7359
|
-
});
|
|
7360
|
-
else if (raw !== void 0) {
|
|
7334
|
+
const prevProvider = next.providerOverride;
|
|
7335
|
+
const prevModel = next.modelOverride;
|
|
7336
|
+
if (raw === null) {
|
|
7337
|
+
delete next.providerOverride;
|
|
7338
|
+
delete next.modelOverride;
|
|
7339
|
+
} else if (raw !== void 0) {
|
|
7361
7340
|
const trimmed = String(raw).trim();
|
|
7362
7341
|
if (!trimmed) return invalid("invalid model: empty");
|
|
7363
7342
|
const parsed = parseModelRef(trimmed, resolvedDefault.provider);
|
|
7364
7343
|
if (!parsed) return invalid(`invalid model: "${trimmed}"`);
|
|
7365
|
-
|
|
7366
|
-
|
|
7367
|
-
|
|
7368
|
-
|
|
7369
|
-
|
|
7370
|
-
|
|
7371
|
-
|
|
7372
|
-
}
|
|
7373
|
-
});
|
|
7344
|
+
if (parsed.provider === resolvedDefault.provider && parsed.model === resolvedDefault.model) {
|
|
7345
|
+
delete next.providerOverride;
|
|
7346
|
+
delete next.modelOverride;
|
|
7347
|
+
} else {
|
|
7348
|
+
next.providerOverride = parsed.provider;
|
|
7349
|
+
next.modelOverride = parsed.model;
|
|
7350
|
+
}
|
|
7374
7351
|
}
|
|
7375
|
-
|
|
7376
|
-
|
|
7377
|
-
|
|
7378
|
-
|
|
7379
|
-
next.
|
|
7352
|
+
if (next.providerOverride !== prevProvider || next.modelOverride !== prevModel) {
|
|
7353
|
+
delete next.authProfileOverride;
|
|
7354
|
+
delete next.authProfileOverrideSource;
|
|
7355
|
+
delete next.fallbackNoticeSelectedModel;
|
|
7356
|
+
delete next.fallbackNoticeActiveModel;
|
|
7357
|
+
delete next.fallbackNoticeReason;
|
|
7380
7358
|
}
|
|
7381
7359
|
}
|
|
7382
7360
|
if ("sendPolicy" in patch) {
|
|
@@ -7791,9 +7769,7 @@ const sessionsHandlers = {
|
|
|
7791
7769
|
updatedAt: now,
|
|
7792
7770
|
systemSent: false,
|
|
7793
7771
|
abortedLastRun: false,
|
|
7794
|
-
thinkingLevel: entry?.thinkingLevel,
|
|
7795
7772
|
verboseLevel: entry?.verboseLevel,
|
|
7796
|
-
reasoningLevel: entry?.reasoningLevel,
|
|
7797
7773
|
responseUsage: entry?.responseUsage,
|
|
7798
7774
|
model: entry?.model,
|
|
7799
7775
|
modelProvider: entry?.modelProvider,
|
|
@@ -8217,9 +8193,7 @@ const agentHandlers = {
|
|
|
8217
8193
|
const nextEntry = {
|
|
8218
8194
|
sessionId,
|
|
8219
8195
|
updatedAt: now,
|
|
8220
|
-
thinkingLevel: entry?.thinkingLevel,
|
|
8221
8196
|
verboseLevel: entry?.verboseLevel,
|
|
8222
|
-
reasoningLevel: entry?.reasoningLevel,
|
|
8223
8197
|
systemSent: entry?.systemSent,
|
|
8224
8198
|
sendPolicy: entry?.sendPolicy,
|
|
8225
8199
|
deliveryContext: deliveryFields.deliveryContext,
|
|
@@ -9794,13 +9768,11 @@ const chatHandlers = {
|
|
|
9794
9768
|
chatHistoryPlaceholderEmitCount += placeholderCount;
|
|
9795
9769
|
context.logGateway.debug(`chat.history omitted oversized payloads placeholders=${placeholderCount} total=${chatHistoryPlaceholderEmitCount}`);
|
|
9796
9770
|
}
|
|
9797
|
-
const thinkingLevel = entry?.thinkingLevel ?? cfg.agents?.defaults?.thinkingDefault ?? void 0;
|
|
9798
9771
|
const verboseLevel = entry?.verboseLevel ?? cfg.agents?.defaults?.verboseDefault;
|
|
9799
9772
|
respond(true, {
|
|
9800
9773
|
sessionKey,
|
|
9801
9774
|
sessionId,
|
|
9802
9775
|
messages: bounded.messages,
|
|
9803
|
-
thinkingLevel,
|
|
9804
9776
|
verboseLevel
|
|
9805
9777
|
});
|
|
9806
9778
|
},
|
|
@@ -12150,7 +12122,7 @@ const nodeHandlers = {
|
|
|
12150
12122
|
const p = params;
|
|
12151
12123
|
const payloadJSON = typeof p.payloadJSON === "string" ? p.payloadJSON : p.payload !== void 0 ? JSON.stringify(p.payload) : null;
|
|
12152
12124
|
await respondUnavailableOnThrow(respond, async () => {
|
|
12153
|
-
const { handleNodeEvent } = await import("./server-node-events-
|
|
12125
|
+
const { handleNodeEvent } = await import("./server-node-events-C5OhVZlR.js");
|
|
12154
12126
|
const nodeId = client?.connect?.device?.id ?? client?.connect?.client?.id ?? "node";
|
|
12155
12127
|
await handleNodeEvent({
|
|
12156
12128
|
deps: context.deps,
|
|
@@ -13806,7 +13778,7 @@ const usageHandlers = {
|
|
|
13806
13778
|
const resolved = resolveSessionUsageFileOrRespond(key, respond);
|
|
13807
13779
|
if (!resolved) return;
|
|
13808
13780
|
const { config, entry, agentId, sessionId, sessionFile } = resolved;
|
|
13809
|
-
const { loadSessionLogs } = await import("./session-cost-usage-
|
|
13781
|
+
const { loadSessionLogs } = await import("./session-cost-usage-DES0ywek.js").then((n) => n.a);
|
|
13810
13782
|
respond(true, { logs: await loadSessionLogs({
|
|
13811
13783
|
sessionId,
|
|
13812
13784
|
sessionEntry: entry,
|
|
@@ -15004,7 +14976,7 @@ function normalizeAgentPayload(payload) {
|
|
|
15004
14976
|
async function startBrowserControlServerIfEnabled() {
|
|
15005
14977
|
if (isTruthyEnvValue(process.env.REMOTECLAW_SKIP_BROWSER_CONTROL_SERVER)) return null;
|
|
15006
14978
|
const override = process.env.REMOTECLAW_BROWSER_CONTROL_MODULE?.trim();
|
|
15007
|
-
const mod = override ? await import(override) : await import("./server-
|
|
14979
|
+
const mod = override ? await import(override) : await import("./server-GtJ6JX-O.js");
|
|
15008
14980
|
const start = typeof mod.startBrowserControlServiceFromConfig === "function" ? mod.startBrowserControlServiceFromConfig : mod.startBrowserControlServerFromConfig;
|
|
15009
14981
|
const stop = typeof mod.stopBrowserControlService === "function" ? mod.stopBrowserControlService : mod.stopBrowserControlServer;
|
|
15010
14982
|
if (!start) return null;
|
|
@@ -18667,9 +18639,9 @@ async function resolveModelOverride(params) {
|
|
|
18667
18639
|
const raw = params.raw.trim();
|
|
18668
18640
|
if (!raw) return { kind: "reset" };
|
|
18669
18641
|
if (raw.toLowerCase() === "default") return { kind: "reset" };
|
|
18670
|
-
const parsed = parseModelRef(raw, params.sessionEntry?.providerOverride?.trim() ||
|
|
18642
|
+
const parsed = parseModelRef(raw, params.sessionEntry?.providerOverride?.trim() || "unknown");
|
|
18671
18643
|
if (!parsed) throw new Error(`Unrecognized model "${raw}".`);
|
|
18672
|
-
const isDefault = parsed.provider ===
|
|
18644
|
+
const isDefault = parsed.provider === "unknown" && parsed.model === "unknown";
|
|
18673
18645
|
return {
|
|
18674
18646
|
kind: "set",
|
|
18675
18647
|
provider: parsed.provider,
|
|
@@ -18731,8 +18703,8 @@ function createSessionStatusTool(opts) {
|
|
|
18731
18703
|
throw new Error(`Unknown ${kind}: ${requestedKeyRaw}`);
|
|
18732
18704
|
}
|
|
18733
18705
|
const configured = {
|
|
18734
|
-
provider:
|
|
18735
|
-
model:
|
|
18706
|
+
provider: "unknown",
|
|
18707
|
+
model: "unknown"
|
|
18736
18708
|
};
|
|
18737
18709
|
const modelRaw = readStringParam(params, "model");
|
|
18738
18710
|
let changedModel = false;
|
|
@@ -18744,18 +18716,30 @@ function createSessionStatusTool(opts) {
|
|
|
18744
18716
|
agentId
|
|
18745
18717
|
});
|
|
18746
18718
|
const nextEntry = { ...resolved.entry };
|
|
18747
|
-
|
|
18748
|
-
|
|
18749
|
-
|
|
18750
|
-
|
|
18751
|
-
|
|
18752
|
-
|
|
18753
|
-
|
|
18754
|
-
|
|
18755
|
-
|
|
18756
|
-
|
|
18757
|
-
|
|
18758
|
-
|
|
18719
|
+
const overrideSelection = selection.kind === "reset" ? {
|
|
18720
|
+
provider: configured.provider,
|
|
18721
|
+
model: configured.model,
|
|
18722
|
+
isDefault: true
|
|
18723
|
+
} : {
|
|
18724
|
+
provider: selection.provider,
|
|
18725
|
+
model: selection.model,
|
|
18726
|
+
isDefault: selection.isDefault
|
|
18727
|
+
};
|
|
18728
|
+
const prevProvider = nextEntry.providerOverride;
|
|
18729
|
+
const prevModel = nextEntry.modelOverride;
|
|
18730
|
+
if (overrideSelection.isDefault) {
|
|
18731
|
+
delete nextEntry.providerOverride;
|
|
18732
|
+
delete nextEntry.modelOverride;
|
|
18733
|
+
delete nextEntry.authProfileOverride;
|
|
18734
|
+
delete nextEntry.authProfileOverrideSource;
|
|
18735
|
+
} else {
|
|
18736
|
+
nextEntry.providerOverride = overrideSelection.provider;
|
|
18737
|
+
nextEntry.modelOverride = overrideSelection.model;
|
|
18738
|
+
}
|
|
18739
|
+
if (nextEntry.providerOverride !== prevProvider || nextEntry.modelOverride !== prevModel) {
|
|
18740
|
+
delete nextEntry.fallbackNoticeSelectedModel;
|
|
18741
|
+
delete nextEntry.fallbackNoticeActiveModel;
|
|
18742
|
+
delete nextEntry.fallbackNoticeReason;
|
|
18759
18743
|
store[resolved.key] = nextEntry;
|
|
18760
18744
|
await updateSessionStore(storePath, (nextStore) => {
|
|
18761
18745
|
nextStore[resolved.key] = nextEntry;
|
|
@@ -18797,8 +18781,9 @@ function createSessionStatusTool(opts) {
|
|
|
18797
18781
|
const timeLine = userTime ? `🕒 Time: ${userTime} (${userTimezone})` : `🕒 Time zone: ${userTimezone}`;
|
|
18798
18782
|
const agentDefaults = cfg.agents?.defaults ?? {};
|
|
18799
18783
|
const defaultLabel = `${configured.provider}/${configured.model}`;
|
|
18800
|
-
const
|
|
18801
|
-
|
|
18784
|
+
const rawModel = agentDefaults.model;
|
|
18785
|
+
const agentModel = typeof rawModel === "object" && rawModel ? {
|
|
18786
|
+
...rawModel,
|
|
18802
18787
|
primary: defaultLabel
|
|
18803
18788
|
} : { primary: defaultLabel };
|
|
18804
18789
|
const statusText = buildStatusMessage({
|
|
@@ -19195,7 +19180,6 @@ function createSessionsListTool(opts) {
|
|
|
19195
19180
|
model: typeof entry.model === "string" ? entry.model : void 0,
|
|
19196
19181
|
contextTokens: typeof entry.contextTokens === "number" ? entry.contextTokens : void 0,
|
|
19197
19182
|
totalTokens: typeof entry.totalTokens === "number" ? entry.totalTokens : void 0,
|
|
19198
|
-
thinkingLevel: typeof entry.thinkingLevel === "string" ? entry.thinkingLevel : void 0,
|
|
19199
19183
|
verboseLevel: typeof entry.verboseLevel === "string" ? entry.verboseLevel : void 0,
|
|
19200
19184
|
systemSent: typeof entry.systemSent === "boolean" ? entry.systemSent : void 0,
|
|
19201
19185
|
abortedLastRun: typeof entry.abortedLastRun === "boolean" ? entry.abortedLastRun : void 0,
|
|
@@ -19683,7 +19667,6 @@ const SessionsSpawnToolSchema = Type.Object({
|
|
|
19683
19667
|
label: Type.Optional(Type.String()),
|
|
19684
19668
|
agentId: Type.Optional(Type.String()),
|
|
19685
19669
|
model: Type.Optional(Type.String()),
|
|
19686
|
-
thinking: Type.Optional(Type.String()),
|
|
19687
19670
|
runTimeoutSeconds: Type.Optional(Type.Number({ minimum: 0 })),
|
|
19688
19671
|
timeoutSeconds: Type.Optional(Type.Number({ minimum: 0 })),
|
|
19689
19672
|
thread: Type.Optional(Type.Boolean()),
|
|
@@ -19702,7 +19685,6 @@ function createSessionsSpawnTool(opts) {
|
|
|
19702
19685
|
const label = typeof params.label === "string" ? params.label.trim() : "";
|
|
19703
19686
|
const requestedAgentId = readStringParam(params, "agentId");
|
|
19704
19687
|
const modelOverride = readStringParam(params, "model");
|
|
19705
|
-
const thinkingOverrideRaw = readStringParam(params, "thinking");
|
|
19706
19688
|
const mode = params.mode === "run" || params.mode === "session" ? params.mode : void 0;
|
|
19707
19689
|
const cleanup = params.cleanup === "keep" || params.cleanup === "delete" ? params.cleanup : "keep";
|
|
19708
19690
|
const timeoutSecondsCandidate = typeof params.runTimeoutSeconds === "number" ? params.runTimeoutSeconds : typeof params.timeoutSeconds === "number" ? params.timeoutSeconds : void 0;
|
|
@@ -19713,7 +19695,6 @@ function createSessionsSpawnTool(opts) {
|
|
|
19713
19695
|
label: label || void 0,
|
|
19714
19696
|
agentId: requestedAgentId,
|
|
19715
19697
|
model: modelOverride,
|
|
19716
|
-
thinking: thinkingOverrideRaw,
|
|
19717
19698
|
runTimeoutSeconds,
|
|
19718
19699
|
thread,
|
|
19719
19700
|
mode,
|
|
@@ -22975,7 +22956,7 @@ async function startGatewayServer(port = 18789, opts = {}) {
|
|
|
22975
22956
|
if (!minimalTestGateway) cron.start().catch((err) => logCron.error(`failed to start: ${String(err)}`));
|
|
22976
22957
|
if (!minimalTestGateway) (async () => {
|
|
22977
22958
|
const { recoverPendingDeliveries } = await import("./delivery-queue-CxVRi4tw.js").then((n) => n.n);
|
|
22978
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
22959
|
+
const { deliverOutboundPayloads } = await import("./deliver-DjOzd2jc.js").then((n) => n.n);
|
|
22979
22960
|
await recoverPendingDeliveries({
|
|
22980
22961
|
deliver: deliverOutboundPayloads,
|
|
22981
22962
|
log: log.child("delivery-recovery"),
|