remoteclaw 0.1.0-next.2b10b69 → 0.1.0-next.2e9a6cd
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{accounts-eGF8pbZH.js → accounts-Bomfgw0M.js} +1 -1
- package/dist/{ack-reactions-CLsQr2VU.js → ack-reactions-CMDRj7fJ.js} +1 -1
- package/dist/{ack-reactions-WOCO-wyP.js → ack-reactions-D7VScSny.js} +1 -1
- package/dist/{acp-cli-BfgCKAg2.js → acp-cli-BpMS0SsZ.js} +3 -3
- package/dist/{acp-cli-CfuPALms.js → acp-cli-DkXTlCpF.js} +3 -3
- package/dist/{agent-BIc_SJut.js → agent-C76P7tEr.js} +13 -13
- package/dist/{agent-scope-BV-Hg1l_.js → agent-scope-BrDeaWWf.js} +15 -1
- package/dist/{agent-scope-zFv4opB7.js → agent-scope-DxqtYjuJ.js} +15 -1
- package/dist/{agent-CM-5cfkt.js → agent-ue8p9AIv.js} +13 -13
- package/dist/{agents-CJaVvFzW.js → agents--24oKN80.js} +7 -7
- package/dist/{agents.config-BUL6coCe.js → agents.config-CWAUoPzG.js} +1 -1
- package/dist/{agents.config-Dh1oX7-1.js → agents.config-Ck45E_ce.js} +1 -1
- package/dist/{audio-preflight-BkmfUwW2.js → audio-preflight-B3f0x3zu.js} +3 -3
- package/dist/{audio-preflight-DV15Iosz.js → audio-preflight-Dv76vFTu.js} +3 -3
- package/dist/{audit-Do3T75cI.js → audit-BAbBf2MU.js} +9 -9
- package/dist/{audit-DaDkfdqO.js → audit-g55SYz1m.js} +9 -9
- package/dist/{banner-COLdejNZ.js → banner-CyPQJybO.js} +1 -1
- package/dist/{bindings-ByBgLgDQ.js → bindings-6KojDoIi.js} +1 -1
- package/dist/{bindings-17cTGP6h.js → bindings-B6icMMUx.js} +1 -1
- package/dist/boot/handler.js +29 -29
- package/dist/{browser-cli-BLKuIsbO.js → browser-cli-BH41geGr.js} +4 -4
- package/dist/{browser-cli-CB4a1TuE.js → browser-cli-u4nrjp1h.js} +4 -4
- package/dist/build-info.json +3 -3
- package/dist/{call-BlTHYxiR.js → call-CMDcRlGW.js} +1 -1
- package/dist/{call-7n49ecJq.js → call-D5YKTYSM.js} +5 -5
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{catalog-Bsy0ou-7.js → catalog-CUY_iTaG.js} +1 -1
- package/dist/{catalog-DkHDHmE3.js → catalog-p6W09S2j.js} +1 -1
- package/dist/{channel-activity-BZtWpdKA.js → channel-activity-daCpxHdT.js} +2 -2
- package/dist/{channel-options-6tsHMs0E.js → channel-options-CAlClffy.js} +3 -3
- package/dist/{channel-options-eBdabbFP.js → channel-options-Hl_ep3UG.js} +3 -3
- package/dist/{channel-selection-C7-xETm-.js → channel-selection-CHJ7TumC.js} +1 -1
- package/dist/{channel-selection-4B0amBiC.js → channel-selection-DR7eW8UG.js} +1 -1
- package/dist/{channel-web-DZtZoJua.js → channel-web-B79j9fSC.js} +17 -17
- package/dist/{channel-web-BPSUxfTB.js → channel-web-DHTTcipm.js} +17 -17
- package/dist/{channels-cli-B_bL2GGF.js → channels-cli-DeZ95hcx.js} +50 -50
- package/dist/{channels-cli-DMPktfYA.js → channels-cli-eUCi6jXk.js} +50 -50
- package/dist/{channels-status-issues-COhXr19z.js → channels-status-issues-By77REbh.js} +1 -1
- package/dist/{channels-status-issues-EXZjUvNx.js → channels-status-issues-DXyOO-KH.js} +1 -1
- package/dist/{chrome-DhIX5ZXR.js → chrome-BuAi16Rq.js} +1 -1
- package/dist/{chrome-QGS_nPol.js → chrome-IR-2ukph.js} +10 -10
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-DjK3rbeL.js → cli-CK4Y43rx.js} +39 -39
- package/dist/{cli-CDJBozOk.js → cli-Cha5Uk29.js} +39 -39
- package/dist/command-logger/handler.js +3 -3
- package/dist/{command-registry-C_ZDcDdA.js → command-registry-07zlvSN8.js} +11 -11
- package/dist/{commands-B8CnFl2l.js → commands-DChC3pIF.js} +1 -1
- package/dist/{commands-D8dOiIMW.js → commands-DFHMoQgH.js} +1 -1
- package/dist/{commands-registry-Bfk_i3kU.js → commands-registry-BN04GIlJ.js} +2 -2
- package/dist/{commands-registry-d86t1JRf.js → commands-registry-DbS9NHeX.js} +2 -2
- package/dist/{completion-cli-D7rs6itS.js → completion-cli--Jcg794c.js} +2 -2
- package/dist/{completion-cli-DtovlPDc.js → completion-cli-B8n7umme.js} +1 -1
- package/dist/{config-Dn-AOs9C.js → config-BupC6eiJ.js} +2 -2
- package/dist/{config-BUG2-b_c.js → config-CHDaGquZ.js} +2 -2
- package/dist/{config-cli-CH3kQ5po.js → config-cli-Cu79BThx.js} +3 -3
- package/dist/{config-cli-DzOPMRUS.js → config-cli-DrJtiyW-.js} +3 -3
- package/dist/{config-guard-D7ZwSyVq.js → config-guard-BLsqW1qt.js} +9 -9
- package/dist/{config-guard-Bxmnh90A.js → config-guard-NQ7jaYM4.js} +2 -2
- package/dist/{config-validation-HBwpuXhW.js → config-validation-BLllMW0t.js} +1 -1
- package/dist/{config-validation-BTmMmGZ0.js → config-validation-DT29VEco.js} +1 -1
- package/dist/{configure-dfVJ3zfJ.js → configure-B25UEQnQ.js} +6 -6
- package/dist/{configure-BzbCd2PA.js → configure-CqMUE4Zw.js} +6 -6
- package/dist/{control-auth-Bx4kGbyS.js → control-auth-BFbDXKLK.js} +1 -1
- package/dist/{control-auth-Cue2WyeN.js → control-auth-BiiO-FNy.js} +1 -1
- package/dist/{cron-cli-DXhBQPiE.js → cron-cli-BV1o0UgM.js} +6 -6
- package/dist/{cron-cli-xmCCq5u0.js → cron-cli-C8j-P8GF.js} +6 -6
- package/dist/{daemon-cli-5LdpTqZh.js → daemon-cli-BDvU0Xv6.js} +3 -3
- package/dist/{daemon-cli-CQ1lo3k0.js → daemon-cli-CoNl2Ugf.js} +3 -3
- package/dist/{deliver-B5_s8OJS.js → deliver-D8P9_nk-.js} +6 -6
- package/dist/{deliver-B_Z_1kNY.js → deliver-F9ed3dhp.js} +6 -6
- package/dist/{devices-cli-85CwoD14.js → devices-cli-DZgxMNLD.js} +3 -3
- package/dist/{devices-cli-Cq8T9xJ6.js → devices-cli-DlG9ehK0.js} +3 -3
- package/dist/{directory-cli-6yrkngVv.js → directory-cli-CY6tHRIZ.js} +5 -5
- package/dist/{directory-cli-DM_-11Uh.js → directory-cli-HyvRJ1Ua.js} +5 -5
- package/dist/{dm-policy-shared-CwF5vseI.js → dm-policy-shared-1FdjwGtJ.js} +2 -2
- package/dist/{dm-policy-shared-COlYMxtM.js → dm-policy-shared-CT3er5HI.js} +2 -2
- package/dist/{dns-cli-BWO3224U.js → dns-cli-Cu-wYvll.js} +2 -2
- package/dist/{dns-cli-C2PQTe4l.js → dns-cli-DQdnNJh4.js} +2 -2
- package/dist/{dock-BXOeNbue.js → dock-D038fZZl.js} +1 -1
- package/dist/{dock-C2JY6fLh.js → dock-D5pZ3a44.js} +1 -1
- package/dist/{doctor-completion-B4zKiuEl.js → doctor-completion-BrHnayfU.js} +1 -1
- package/dist/{doctor-completion-BdBvF459.js → doctor-completion-CoZP2KiR.js} +1 -1
- package/dist/{doctor-config-flow-CE8H42FZ.js → doctor-config-flow-DJ1nWCTZ.js} +6 -6
- package/dist/{doctor-config-flow-BeAhXtHc.js → doctor-config-flow-DYhXUwEq.js} +6 -6
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +148 -86
- package/dist/{fetch-DIsxaqeZ.js → fetch-oku6r8tJ.js} +1 -1
- package/dist/{gateway-cli-CvrV19cN.js → gateway-cli-CJs4Mxlv.js} +60 -60
- package/dist/{gateway-cli-8HoG2k87.js → gateway-cli-gUVR20v7.js} +60 -60
- package/dist/{gateway-rpc-Dsw9rTFn.js → gateway-rpc-CSdrtPzg.js} +1 -1
- package/dist/{gateway-rpc-Cx5SmFxe.js → gateway-rpc-PNA_wUoe.js} +1 -1
- package/dist/{health-BuBWWW2q.js → health-BCidscV-.js} +12 -12
- package/dist/{health-CVeDiSQZ.js → health-Cw2dr19V.js} +12 -12
- package/dist/{heartbeat-visibility-DUbt8Gap.js → heartbeat-visibility-C5Vxudi9.js} +1 -1
- package/dist/{heartbeat-visibility-CjR7WIvw.js → heartbeat-visibility-DHeZ-ko1.js} +1 -1
- package/dist/{hook-runner-global-0V6n-Vf7.js → hook-runner-global-Vj-YQxeR.js} +3 -3
- package/dist/{hooks-cli-CRxy3Nz7.js → hooks-cli---vy0V0j.js} +41 -41
- package/dist/{hooks-cli-DF3F4B8J.js → hooks-cli-CX-JUHdJ.js} +41 -41
- package/dist/{import-VapgNLeq.js → import-DIjlFm_Y.js} +179 -4
- package/dist/{import-DNGJD1o2.js → import-DdQvVR-_.js} +179 -4
- package/dist/index.js +48 -48
- package/dist/{installs-Cksm6vsG.js → installs-QUjSL2ZA.js} +1 -1
- package/dist/{installs-Cmb4NT-T.js → installs-vT5wnxC4.js} +1 -1
- package/dist/{ir-BU0QMAQ-.js → ir-CnMQRFBu.js} +1 -1
- package/dist/{loader-Cg92Q5wa.js → loader-CYigLbch.js} +49 -49
- package/dist/{loader-D9yzzfmH.js → loader-ElWX62xE.js} +47 -47
- package/dist/{local-roots-BSqSH6vu.js → local-roots-B0QcJDJI.js} +1 -1
- package/dist/{local-roots-CcApw3bD.js → local-roots-BfXsZRkm.js} +1 -1
- package/dist/{login-BA-Cg_v7.js → login-C8jHYLxN.js} +1 -1
- package/dist/{login-DH651f21.js → login-D__FYZX9.js} +1 -1
- package/dist/{login-qr-DDkN_xFG.js → login-qr-C0Gd6ybl.js} +2 -2
- package/dist/{login-qr-CEM_OfsQ.js → login-qr-D7dw54Yp.js} +2 -2
- package/dist/{logs-cli-DZ2ZJ2sP.js → logs-cli-CFOVARdJ.js} +4 -4
- package/dist/{logs-cli-e0RtYvYw.js → logs-cli-DtAR__VH.js} +4 -4
- package/dist/{markdown-tables-BSwaLSWE.js → markdown-tables-ChBqQA_Q.js} +1 -1
- package/dist/{markdown-tables-CDbWkshn.js → markdown-tables-xMuH3QnS.js} +1 -1
- package/dist/{media-CtQ6OwEk.js → media-CmiNXiOZ.js} +54 -54
- package/dist/{media-CuA9inrP.js → media-DYopaoc0.js} +1 -1
- package/dist/{message-action-names-C077VyVA.js → message-action-names-CACBi-HB.js} +17 -17
- package/dist/{message-action-names-DYTRKMO6.js → message-action-names-CFwlz01T.js} +17 -17
- package/dist/{nodes-cli-tng63KM_.js → nodes-cli-B4lvU9N5.js} +3 -3
- package/dist/{nodes-cli-BLAf02N9.js → nodes-cli-B8iTBsI6.js} +3 -3
- package/dist/{npm-resolution-C0xUKTXh.js → npm-resolution-CcZYnzrL.js} +3 -3
- package/dist/{npm-resolution-BFy5tI_7.js → npm-resolution-DsATEEGx.js} +3 -3
- package/dist/{onboard-DVfn-Zo7.js → onboard-Csm4bDd_.js} +4 -4
- package/dist/{onboard-BAsuFdGV.js → onboard-D1b535pC.js} +4 -4
- package/dist/{onboard-channels-D4d74rez.js → onboard-channels-5EIXyDZh.js} +11 -11
- package/dist/{onboard-channels-LUucMhAH.js → onboard-channels-bedB47Hs.js} +11 -11
- package/dist/{onboard-helpers-CG1N1AbD.js → onboard-helpers-BHNXyhA4.js} +2 -2
- package/dist/{onboard-helpers-C-4xNq93.js → onboard-helpers-eTUU00t8.js} +2 -2
- package/dist/{onboard-remote-JH1tZaJ2.js → onboard-remote-DwDKQk1K.js} +1 -1
- package/dist/{onboard-remote-B6hVF0-x.js → onboard-remote-TPbiye5m.js} +1 -1
- package/dist/{onboarding-C6yVyhil.js → onboarding-D0YGZ_Ux.js} +8 -8
- package/dist/{onboarding-D4w2qffr.js → onboarding-DCfmKzl2.js} +8 -8
- package/dist/{onboarding.finalize-BQZbcQ_B.js → onboarding.finalize-BhpsVwME.js} +33 -33
- package/dist/{onboarding.finalize-CWVwXTLy.js → onboarding.finalize-CY8vgmi9.js} +32 -32
- package/dist/{onboarding.gateway-config-C4DVSd0T.js → onboarding.gateway-config-C_eqpJ7D.js} +8 -8
- package/dist/{onboarding.gateway-config-CKVOMTs6.js → onboarding.gateway-config-DR1ey6tU.js} +8 -8
- package/dist/{outbound-BakpK4QQ.js → outbound-Be4BgVqF.js} +4 -4
- package/dist/{outbound-BvYF_0gT.js → outbound-CXJLn8kn.js} +4 -4
- package/dist/{outbound-attachment-CfqBeITy.js → outbound-attachment-CbNLn0lk.js} +1 -1
- package/dist/{outbound-attachment-B3mkrvPX.js → outbound-attachment-DNCMF74c.js} +1 -1
- package/dist/{outbound-attachment-EaNtc-Nr.js → outbound-attachment-DaStRTGv.js} +2 -2
- package/dist/{pairing-cli-RV0Hf5iL.js → pairing-cli-CxGDUsLT.js} +6 -6
- package/dist/{pairing-cli-C7hQWQOq.js → pairing-cli-D83T3PG9.js} +6 -6
- package/dist/{pairing-labels-BjIme5ml.js → pairing-labels-6f8FqSS5.js} +1 -1
- package/dist/{pairing-labels-YB3ZrGiK.js → pairing-labels-CI5j-OUT.js} +1 -1
- package/dist/{pairing-store-Cya-CfOl.js → pairing-store-DnTHRcnO.js} +1 -1
- package/dist/{pairing-store-v3Gkfqei.js → pairing-store-ONzqxcNb.js} +1 -1
- package/dist/{plugin-auto-enable-3jbKb_W_.js → plugin-auto-enable-BnCQKkIK.js} +2 -2
- package/dist/{plugin-auto-enable-BvMj37DE.js → plugin-auto-enable-CFRs-pcA.js} +2 -2
- package/dist/{plugin-registry-7W2jEfhq.js → plugin-registry-CV5pfXOU.js} +3 -3
- package/dist/{plugin-registry-Dj5pZmtW.js → plugin-registry-CmG34W0u.js} +3 -3
- package/dist/plugin-sdk/auth/env-injection.d.ts +41 -0
- package/dist/plugin-sdk/index.js +45 -24
- package/dist/plugin-sdk/middleware/auth-key-retry.d.ts +32 -0
- package/dist/plugin-sdk/middleware/error-classifier.d.ts +5 -0
- package/dist/{plugins-JyKGZ4vK.js → plugins-B4waLB_f.js} +1 -1
- package/dist/{plugins-B2BD3_FH.js → plugins-D6-JJ1il.js} +1 -1
- package/dist/{plugins-cli-c01nlnom.js → plugins-cli-DG2zHgdP.js} +42 -42
- package/dist/{plugins-cli-BfehDKSg.js → plugins-cli-DZvQzkWd.js} +42 -42
- package/dist/{program-BnOZ9_tc.js → program-CX-EtQ9W.js} +47 -47
- package/dist/{program-context-CLIohpL6.js → program-context-R3wsjl2f.js} +33 -33
- package/dist/{prompt-select-styled-Keh8rIhr.js → prompt-select-styled-BzL7v1zQ.js} +12 -12
- package/dist/{prompt-select-styled-DDJe9DdT.js → prompt-select-styled-g5q4srtu.js} +12 -12
- package/dist/{provider-dispatcher-XyTjyKAC.js → provider-dispatcher-D7qFGoUR.js} +5 -5
- package/dist/{provider-dispatcher-Cn6FP2P6.js → provider-dispatcher-dB_rm6tV.js} +5 -5
- package/dist/{pw-ai-CoqJfRWB.js → pw-ai-DOQMJFB-.js} +3 -3
- package/dist/{pw-ai-IaJZZ3hC.js → pw-ai-oqtYDmjQ.js} +3 -3
- package/dist/{qr-cli-CmoVibfU.js → qr-cli-CBGm_Cik.js} +2 -2
- package/dist/{qr-cli-BW0LYR3W.js → qr-cli-D2jZPdW9.js} +2 -2
- package/dist/{register.agent-CErgmhLM.js → register.agent-DLSuiqWE.js} +49 -49
- package/dist/{register.agent-CGe-oDLF.js → register.agent-DcvEt3hG.js} +48 -48
- package/dist/{register.configure-c1Gr25OX.js → register.configure-3edoYZai.js} +49 -49
- package/dist/{register.configure-CRQ0HUjL.js → register.configure-CyOJCmnY.js} +49 -49
- package/dist/{register.import-uoLzzezU.js → register.import-Cku0T-PA.js} +1 -1
- package/dist/{register.import-Cx0y8YCl.js → register.import-Dr8TiUVx.js} +1 -1
- package/dist/{register.maintenance-D6wpayrD.js → register.maintenance-5aaPQbJk.js} +50 -50
- package/dist/{register.maintenance-BCOR2-L5.js → register.maintenance-DPSswZDJ.js} +49 -49
- package/dist/{register.message-BvnvbkOW.js → register.message-BaSVFv92.js} +41 -41
- package/dist/{register.message-IE7nxjjZ.js → register.message-FEI0RiNN.js} +41 -41
- package/dist/{register.onboard-CPz3KvRa.js → register.onboard-CO1UZL-9.js} +11 -11
- package/dist/{register.onboard-GdHLVMEt.js → register.onboard-DuLKxjXl.js} +11 -11
- package/dist/{register.setup-kgRP89sw.js → register.setup-CFYYd_Ev.js} +11 -11
- package/dist/{register.setup-DAd41OGt.js → register.setup-P0UHDBMS.js} +11 -11
- package/dist/{register.status-health-sessions-tO2kCw9b.js → register.status-health-sessions-D_3vm2yw.js} +35 -35
- package/dist/{register.status-health-sessions-BZAQj7ug.js → register.status-health-sessions-z9x79dmg.js} +34 -34
- package/dist/{register.subclis-B06nywBa.js → register.subclis-B-d970d6.js} +23 -23
- package/dist/{replies-CZfNjVWx.js → replies-BvarRpHb.js} +1 -1
- package/dist/{replies-Dhu5vvS7.js → replies-CSzm5168.js} +1 -1
- package/dist/{reply-CNbfMQYt.js → reply-CTgksTO1.js} +212 -29
- package/dist/{reply-BaiBy5TB.js → reply-CUyafs4J.js} +212 -29
- package/dist/{reply-directives-DjJb7OMz.js → reply-directives-Caq4zVTg.js} +1 -1
- package/dist/{reply-directives-xAXbScZL.js → reply-directives-D91fapDF.js} +1 -1
- package/dist/{reply-payloads-B36nopEQ.js → reply-payloads-te0YnESs.js} +3 -3
- package/dist/{reply-prefix-BMPgiidY.js → reply-prefix-Bv8Mv9q8.js} +1 -1
- package/dist/{reply-prefix-Cloz8gO5.js → reply-prefix-Rk_UEaJa.js} +1 -1
- package/dist/{resolve-route-B331K2uj.js → resolve-route-BPa6q23t.js} +2 -2
- package/dist/{resolve-route-HR0-JPvG.js → resolve-route-CN9BEALz.js} +2 -2
- package/dist/{response-prefix-template-CFep0aLY.js → response-prefix-template-D-ptXREi.js} +1 -1
- package/dist/{response-prefix-template-CHYkGv-O.js → response-prefix-template-Dckjdftg.js} +1 -1
- package/dist/{retry-bFj4k6Ii.js → retry-BzWBtFpP.js} +1 -1
- package/dist/{run-main-DTCaxqR3.js → run-main-BugUkGES.js} +56 -56
- package/dist/{runner-LlWW71Od.js → runner-CVMXkHe9.js} +1 -1
- package/dist/{runner-BJwspNxs.js → runner-DOWTBU0-.js} +1 -1
- package/dist/{secure-random-ecLqbmqo.js → secure-random-CBwDBdj1.js} +1 -1
- package/dist/{security-cli-DXAoDc-w.js → security-cli-BQzdzJUp.js} +11 -11
- package/dist/{security-cli-Clcfo3Gy.js → security-cli-D2d8RvsT.js} +11 -11
- package/dist/{send-DgZ_TEXm.js → send-B3G3I3II.js} +4 -4
- package/dist/{send-BBYecFpQ.js → send-B6IB6ELR.js} +4 -4
- package/dist/{send-D27AVHmm.js → send-BT8XEvZB.js} +3 -3
- package/dist/{send-B35b12JJ.js → send-BTupAHVX.js} +6 -6
- package/dist/{send-CjxVcEWA.js → send-BZCfto_I.js} +16 -16
- package/dist/{send-CMXAg994.js → send-C5EDjThR.js} +4 -4
- package/dist/{send-BwtjoN7o.js → send-CBM54hgN.js} +4 -4
- package/dist/{send-DAVkGLr8.js → send-CPBd6ItT.js} +7 -7
- package/dist/{send-Urg1FQav.js → send-CzYm7ULP.js} +6 -6
- package/dist/{send-BCtNQNvS.js → send-D2m_x8xM.js} +6 -6
- package/dist/{send-XfivIUZ5.js → send-DmEBPE2S.js} +5 -5
- package/dist/{send-DBPUUgmV.js → send-Dt4iCx61.js} +4 -4
- package/dist/send-MWjpLHEV.js +11 -0
- package/dist/{send-BuHoT4O3.js → send-qpwqt34s.js} +4 -4
- package/dist/{send-C8JNU6CY.js → send-rW25uKNz.js} +5 -5
- package/dist/{send-BAggoIc2.js → send-uqa6CNuP.js} +4 -4
- package/dist/{server-DeDULwdO.js → server-BhmYVCED.js} +6 -6
- package/dist/{server-Cf6Af-yT.js → server-DaUw1o2B.js} +6 -6
- package/dist/{server-lifecycle-B-nBTkRz.js → server-lifecycle-BeZsBQwF.js} +6 -6
- package/dist/{server-lifecycle-D1EOPVh_.js → server-lifecycle-C2F1_TE2.js} +6 -6
- package/dist/{server-node-events-BfCISQxc.js → server-node-events-DoRFbKCT.js} +19 -19
- package/dist/{server-node-events-c754FA18.js → server-node-events-jbbbt-4R.js} +19 -19
- package/dist/{session-utils-Kf4o4FnD.js → session-utils-BgWDCbyx.js} +3 -3
- package/dist/{session-utils-CJ4_W4fg.js → session-utils-CxxOeC1M.js} +3 -3
- package/dist/{sessions-Zt7H2aAB.js → sessions-Bwu0l_CG.js} +3 -3
- package/dist/{sessions-DvrUtbf6.js → sessions-CiuFFCnt.js} +4 -4
- package/dist/{status-CWFMc1iO.js → status-BOFm7iyj.js} +12 -12
- package/dist/{status-CbH2Cq7P.js → status-RI2y_M21.js} +12 -12
- package/dist/{store-EaFaTdkI.js → store-Dv76bGHg.js} +3 -3
- package/dist/{store-DDu7FqWo.js → store-Dw93tSB-.js} +5 -5
- package/dist/{subagent-registry-g9xCAAKe.js → subagent-registry-DWL-tayF.js} +8 -8
- package/dist/{subagent-registry-IgAXh_T2.js → subagent-registry-HjR1tO3-.js} +8 -8
- package/dist/{subsystem-rxNDBm7l.js → subsystem-BCkt9Ocb.js} +21 -21
- package/dist/{system-cli-CT7YogPi.js → system-cli-DtrDDmCt.js} +4 -4
- package/dist/{system-cli-CkJjY9Dp.js → system-cli-xDr_Yyaa.js} +4 -4
- package/dist/{tables-omygWbJB.js → tables-Cy3gObW7.js} +1 -1
- package/dist/{tables-CZVG7S4H.js → tables-DAuk-Y6F.js} +1 -1
- package/dist/{tables-CzHK57t9.js → tables-DRh09aPZ.js} +1 -1
- package/dist/{targets-D3WkRcT8.js → targets-3hewwPvM.js} +3 -3
- package/dist/{targets-C-L5fGBe.js → targets-Bkw_co-B.js} +3 -3
- package/dist/{targets-BPN0DvHP.js → targets-C1Tt0ZWd.js} +192 -114
- package/dist/{targets-pBytVUFu.js → targets-CsrqF2M4.js} +1 -1
- package/dist/{targets-Clj7l2Nn.js → targets-DTM2OPnS.js} +1 -1
- package/dist/{targets-ahUn6mlN.js → targets-yq1kGK1_.js} +192 -114
- package/dist/{tui-Re3x9FR4.js → tui-Cbe1EW-B.js} +4 -4
- package/dist/{tui-B3luE_3h.js → tui-Dj3XrTCV.js} +4 -4
- package/dist/{tui-cli-BC2KZKAF.js → tui-cli-EGqEcdfE.js} +9 -9
- package/dist/{tui-cli-CBqhGmSQ.js → tui-cli-KKmqnNs2.js} +9 -9
- package/dist/{update-XA444Io6.js → update-DruVguh4.js} +2 -2
- package/dist/{update-cli-DpSM6b_j.js → update-cli-C5tdQeGG.js} +53 -53
- package/dist/{update-cli-Dh5YH99C.js → update-cli-Canq11sh.js} +52 -52
- package/dist/{update-BMbqeL2I.js → update-y8nz-3OC.js} +2 -2
- package/dist/{usage-D0YekYqR.js → usage-CAuX4vsd.js} +175 -121
- package/dist/{web-DOqxASa3.js → web-B9gR_cGR.js} +26 -18
- package/dist/{web-C3MEt14b.js → web-DZ8ahrhK.js} +30 -30
- package/dist/{web-TsKHBSJW.js → web-DkYPsnyd.js} +30 -30
- package/dist/{webhooks-cli-DBPl8Qox.js → webhooks-cli-DFqGwW1f.js} +2 -2
- package/dist/{webhooks-cli-BBSfGM3_.js → webhooks-cli-y-E-q0Xo.js} +2 -2
- package/dist/{whatsapp-actions-Bms2wcXx.js → whatsapp-actions-BXIe-Uei.js} +9 -9
- package/dist/{whatsapp-actions-BAvGY5o8.js → whatsapp-actions-BictxOCB.js} +9 -9
- package/dist/{workspace-DoiuJC1a.js → workspace-DvbSDgO_.js} +1 -1
- package/dist/{workspace-DGMxt6vS.js → workspace-zLfKNRwR.js} +1 -1
- package/package.json +1 -1
- package/dist/send-CHP1Ej9r.js +0 -11
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { mt as normalizeAccountId, nt as resolveAccountEntry, tt as createAccountListHelpers } from "./media-CmiNXiOZ.js";
|
|
2
2
|
|
|
3
3
|
//#region src/imessage/accounts.ts
|
|
4
4
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("imessage");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as normalizeChatType } from "./chat-type-BKe459rw.js";
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-KkslAzwV.js";
|
|
3
|
-
import { O as CURRENT_MESSAGE_MARKER, a as resolveTimezone, i as formatZonedTimestamp, p as resolveUserTimezone, r as formatUtcTimestamp, u as resolveSenderLabel } from "./reply-
|
|
3
|
+
import { O as CURRENT_MESSAGE_MARKER, a as resolveTimezone, i as formatZonedTimestamp, p as resolveUserTimezone, r as formatUtcTimestamp, u as resolveSenderLabel } from "./reply-CUyafs4J.js";
|
|
4
4
|
import { n as formatTimeAgo } from "./format-relative-8cNYQsqb.js";
|
|
5
5
|
import { setTimeout as setTimeout$1 } from "node:timers/promises";
|
|
6
6
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as CURRENT_MESSAGE_MARKER, a as resolveTimezone, i as formatZonedTimestamp, p as resolveUserTimezone, r as formatUtcTimestamp, u as resolveSenderLabel } from "./reply-
|
|
1
|
+
import { O as CURRENT_MESSAGE_MARKER, a as resolveTimezone, i as formatZonedTimestamp, p as resolveUserTimezone, r as formatUtcTimestamp, u as resolveSenderLabel } from "./reply-CTgksTO1.js";
|
|
2
2
|
import { t as normalizeChatType } from "./chat-type-DyovJwCt.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-D0vKipG9.js";
|
|
4
4
|
import { n as formatTimeAgo } from "./format-relative-CZOlQ2pA.js";
|
|
@@ -3,9 +3,9 @@ import { L as theme, _ as resolveUserPath, b as shortenHomePath } from "./utils-
|
|
|
3
3
|
import "./subsystem-BgxIzx7w.js";
|
|
4
4
|
import { n as defaultRuntime } from "./runtime-Ds3E9SqF.js";
|
|
5
5
|
import "./ansi-aRwLYlzD.js";
|
|
6
|
-
import "./agent-scope-
|
|
6
|
+
import "./agent-scope-BrDeaWWf.js";
|
|
7
7
|
import { f as GATEWAY_CLIENT_MODES, p as GATEWAY_CLIENT_NAMES } from "./message-channel-DF4I2vOK.js";
|
|
8
|
-
import { i as loadConfig } from "./config-
|
|
8
|
+
import { i as loadConfig } from "./config-CHDaGquZ.js";
|
|
9
9
|
import "./env-DUb5GiQe.js";
|
|
10
10
|
import "./host-env-security-Bms2_EMV.js";
|
|
11
11
|
import "./shell-env-CsV_IkJj.js";
|
|
@@ -13,7 +13,7 @@ import { r as VERSION } from "./env-vars-CLGbxdpL.js";
|
|
|
13
13
|
import "./zod-schema-D3hQ5SKe.js";
|
|
14
14
|
import "./logger-BtwpYD7c.js";
|
|
15
15
|
import "./ip-BAhS4rY2.js";
|
|
16
|
-
import { f as GatewayClient, t as buildGatewayConnectionDetails } from "./call-
|
|
16
|
+
import { f as GatewayClient, t as buildGatewayConnectionDetails } from "./call-D5YKTYSM.js";
|
|
17
17
|
import "./net-COL170MG.js";
|
|
18
18
|
import "./tailnet-BoTa0e2q.js";
|
|
19
19
|
import { t as resolveGatewayCredentialsFromConfig } from "./credentials-eZcqWNG_.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Ct as theme, _ as defaultRuntime, ot as shortenHomePath, rt as resolveUserPath, t as isMainModule } from "./entry.js";
|
|
2
|
-
import { i as loadConfig } from "./config-
|
|
2
|
+
import { i as loadConfig } from "./config-BupC6eiJ.js";
|
|
3
3
|
import "./host-env-security-CbiODGvQ.js";
|
|
4
4
|
import "./shell-env-hZW9j-Uc.js";
|
|
5
5
|
import { r as VERSION } from "./env-vars-C8WMB8Ix.js";
|
|
6
6
|
import "./zod-schema-B9RGngMW.js";
|
|
7
|
-
import "./agent-scope-
|
|
7
|
+
import "./agent-scope-DxqtYjuJ.js";
|
|
8
8
|
import { f as GATEWAY_CLIENT_MODES, p as GATEWAY_CLIENT_NAMES } from "./message-channel-D72Bc6Tb.js";
|
|
9
|
-
import { f as GatewayClient, t as buildGatewayConnectionDetails } from "./call-
|
|
9
|
+
import { f as GatewayClient, t as buildGatewayConnectionDetails } from "./call-CMDcRlGW.js";
|
|
10
10
|
import "./net-QZ8IHNXc.js";
|
|
11
11
|
import "./logger-DWbwXLjl.js";
|
|
12
12
|
import "./ip-BcdPcLiP.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Ht as resolveGatewayPort, _ as defaultRuntime } from "./entry.js";
|
|
2
|
-
import { i as loadConfig } from "./config-
|
|
2
|
+
import { i as loadConfig } from "./config-BupC6eiJ.js";
|
|
3
3
|
import { c as normalizeMainKey, l as resolveAgentIdFromSessionKey, s as normalizeAgentId } from "./session-key-BF-9YzxC.js";
|
|
4
4
|
import { i as normalizeModelRef, t as isCliProvider } from "./provider-utils-DiLhkKQp.js";
|
|
5
|
-
import {
|
|
5
|
+
import { l as resolveSessionAgentId, n as listAgentIds, o as resolveAgentWorkspaceDir } from "./agent-scope-DxqtYjuJ.js";
|
|
6
6
|
import { a as isInternalMessageChannel, c as normalizeMessageChannel, i as isGatewayMessageChannel, l as resolveMessageChannel, n as isDeliverableMessageChannel, t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-D72Bc6Tb.js";
|
|
7
|
-
import { B as resolveChannelResetConfig, C as normalizeAccountId, H as resolveSessionResetType, J as resolveExplicitAgentSessionKey, R as resolveSessionKey, V as resolveSessionResetPolicy, g as updateSessionStore, l as loadSessionStore, o as resolveAndPersistSessionFile, r as parseSessionThreadInfo, z as evaluateSessionFreshness } from "./sessions-
|
|
8
|
-
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
7
|
+
import { B as resolveChannelResetConfig, C as normalizeAccountId, H as resolveSessionResetType, J as resolveExplicitAgentSessionKey, R as resolveSessionKey, V as resolveSessionResetPolicy, g as updateSessionStore, l as loadSessionStore, o as resolveAndPersistSessionFile, r as parseSessionThreadInfo, z as evaluateSessionFreshness } from "./sessions-Bwu0l_CG.js";
|
|
8
|
+
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-B4waLB_f.js";
|
|
9
9
|
import { t as formatCliCommand } from "./command-format-KkslAzwV.js";
|
|
10
10
|
import { l as resolveSessionFilePathOptions, m as resolveStorePath, u as resolveSessionTranscriptPath } from "./chat-envelope-vJJUdDE7.js";
|
|
11
11
|
import { t as resolveGatewayCredentialsFromConfig } from "./credentials-BhnauW0K.js";
|
|
@@ -13,10 +13,10 @@ import { a as emitAgentEvent, c as registerAgentRunContext, i as clearAgentRunCo
|
|
|
13
13
|
import { a as ensureAuthProfileStore } from "./auth-DTWpZJ1a.js";
|
|
14
14
|
import { r as normalizeVerboseLevel } from "./thinking-XA5P_zFw.js";
|
|
15
15
|
import { t as ensureAgentWorkspace } from "./workspace-9__vtmnA.js";
|
|
16
|
-
import {
|
|
16
|
+
import { a as getCliSessionId, c as resolveCliRuntimeArgs, g as applyVerboseOverride, i as resolveSessionDeliveryTarget, l as resolveCliRuntimeEnv, m as clearSessionAuthProfileOverride, o as setCliSessionId, p as resolveChannelMessageToolHints, r as resolveOutboundTarget, s as ChannelBridge, u as resolveCliRuntimeProvider, w as resolveSendPolicy } from "./targets-C1Tt0ZWd.js";
|
|
17
17
|
import { n as deriveSessionTotalTokens, r as hasNonzeroUsage } from "./usage-BEjWlD9A.js";
|
|
18
|
-
import { n as resolveMessageChannelSelection } from "./channel-selection-
|
|
19
|
-
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-
|
|
18
|
+
import { n as resolveMessageChannelSelection } from "./channel-selection-CHJ7TumC.js";
|
|
19
|
+
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-F9ed3dhp.js";
|
|
20
20
|
import crypto from "node:crypto";
|
|
21
21
|
|
|
22
22
|
//#region src/cli/outbound-send-mapping.ts
|
|
@@ -36,27 +36,27 @@ function createOutboundSendDepsFromCliSource(deps) {
|
|
|
36
36
|
function createDefaultDeps() {
|
|
37
37
|
return {
|
|
38
38
|
sendMessageWhatsApp: async (...args) => {
|
|
39
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
39
|
+
const { sendMessageWhatsApp } = await import("./web-DkYPsnyd.js");
|
|
40
40
|
return await sendMessageWhatsApp(...args);
|
|
41
41
|
},
|
|
42
42
|
sendMessageTelegram: async (...args) => {
|
|
43
|
-
const { sendMessageTelegram } = await import("./send-
|
|
43
|
+
const { sendMessageTelegram } = await import("./send-rW25uKNz.js").then((n) => n.l);
|
|
44
44
|
return await sendMessageTelegram(...args);
|
|
45
45
|
},
|
|
46
46
|
sendMessageDiscord: async (...args) => {
|
|
47
|
-
const { sendMessageDiscord } = await import("./send-
|
|
47
|
+
const { sendMessageDiscord } = await import("./send-CzYm7ULP.js").then((n) => n.t);
|
|
48
48
|
return await sendMessageDiscord(...args);
|
|
49
49
|
},
|
|
50
50
|
sendMessageSlack: async (...args) => {
|
|
51
|
-
const { sendMessageSlack } = await import("./send-
|
|
51
|
+
const { sendMessageSlack } = await import("./send-CBM54hgN.js").then((n) => n.n);
|
|
52
52
|
return await sendMessageSlack(...args);
|
|
53
53
|
},
|
|
54
54
|
sendMessageSignal: async (...args) => {
|
|
55
|
-
const { sendMessageSignal } = await import("./send-
|
|
55
|
+
const { sendMessageSignal } = await import("./send-B6IB6ELR.js").then((n) => n.i);
|
|
56
56
|
return await sendMessageSignal(...args);
|
|
57
57
|
},
|
|
58
58
|
sendMessageIMessage: async (...args) => {
|
|
59
|
-
const { sendMessageIMessage } = await import("./send-
|
|
59
|
+
const { sendMessageIMessage } = await import("./send-C5EDjThR.js").then((n) => n.n);
|
|
60
60
|
return await sendMessageIMessage(...args);
|
|
61
61
|
}
|
|
62
62
|
};
|
|
@@ -79,6 +79,20 @@ function resolveAgentConfig(cfg, agentId) {
|
|
|
79
79
|
auth: entry.auth
|
|
80
80
|
};
|
|
81
81
|
}
|
|
82
|
+
/**
|
|
83
|
+
* Resolve the effective auth setting for an agent.
|
|
84
|
+
*
|
|
85
|
+
* Resolution: agent entry `auth` overrides `agents.defaults.auth`.
|
|
86
|
+
* - Explicit `auth: false` on the entry is an opt-out (not the same as undefined).
|
|
87
|
+
* - `undefined` (missing) on the entry inherits from defaults.
|
|
88
|
+
* - Returns `undefined` when neither the entry nor defaults define auth.
|
|
89
|
+
*/
|
|
90
|
+
function resolveAgentAuth(cfg, agentId) {
|
|
91
|
+
const entry = resolveAgentEntry(cfg, normalizeAgentId(agentId));
|
|
92
|
+
if (entry && entry.auth !== void 0) return entry.auth;
|
|
93
|
+
const defaultsAuth = cfg.agents?.defaults?.auth;
|
|
94
|
+
return defaultsAuth !== void 0 ? defaultsAuth : void 0;
|
|
95
|
+
}
|
|
82
96
|
function resolveAgentWorkspaceDir(cfg, agentId) {
|
|
83
97
|
const id = normalizeAgentId(agentId);
|
|
84
98
|
const configured = resolveAgentConfig(cfg, id)?.workspace?.trim();
|
|
@@ -99,4 +113,4 @@ function resolveAgentDir(cfg, agentId) {
|
|
|
99
113
|
}
|
|
100
114
|
|
|
101
115
|
//#endregion
|
|
102
|
-
export {
|
|
116
|
+
export { resolveAgentDir as a, resolveDefaultAgentId as c, resolveAgentConfig as i, resolveSessionAgentId as l, listAgentIds as n, resolveAgentWorkspaceDir as o, resolveAgentAuth as r, resolveAgentWorkspaceDirOrNull as s, listAgentEntries as t };
|
|
@@ -77,6 +77,20 @@ function resolveAgentConfig(cfg, agentId) {
|
|
|
77
77
|
auth: entry.auth
|
|
78
78
|
};
|
|
79
79
|
}
|
|
80
|
+
/**
|
|
81
|
+
* Resolve the effective auth setting for an agent.
|
|
82
|
+
*
|
|
83
|
+
* Resolution: agent entry `auth` overrides `agents.defaults.auth`.
|
|
84
|
+
* - Explicit `auth: false` on the entry is an opt-out (not the same as undefined).
|
|
85
|
+
* - `undefined` (missing) on the entry inherits from defaults.
|
|
86
|
+
* - Returns `undefined` when neither the entry nor defaults define auth.
|
|
87
|
+
*/
|
|
88
|
+
function resolveAgentAuth(cfg, agentId) {
|
|
89
|
+
const entry = resolveAgentEntry(cfg, normalizeAgentId(agentId));
|
|
90
|
+
if (entry && entry.auth !== void 0) return entry.auth;
|
|
91
|
+
const defaultsAuth = cfg.agents?.defaults?.auth;
|
|
92
|
+
return defaultsAuth !== void 0 ? defaultsAuth : void 0;
|
|
93
|
+
}
|
|
80
94
|
function resolveAgentWorkspaceDir(cfg, agentId) {
|
|
81
95
|
const id = normalizeAgentId(agentId);
|
|
82
96
|
const configured = resolveAgentConfig(cfg, id)?.workspace?.trim();
|
|
@@ -97,4 +111,4 @@ function resolveAgentDir(cfg, agentId) {
|
|
|
97
111
|
}
|
|
98
112
|
|
|
99
113
|
//#endregion
|
|
100
|
-
export {
|
|
114
|
+
export { resolveAgentDir as a, resolveDefaultAgentId as c, resolveAgentConfig as i, resolveSessionAgentId as l, listAgentIds as n, resolveAgentWorkspaceDir as o, resolveAgentAuth as r, resolveAgentWorkspaceDirOrNull as s, listAgentEntries as t };
|
|
@@ -2,22 +2,22 @@ import { u as resolveGatewayPort } from "./paths-BTaH3rLn.js";
|
|
|
2
2
|
import { r as normalizeVerboseLevel } from "./thinking-l-rrvZwu.js";
|
|
3
3
|
import { n as defaultRuntime } from "./runtime-Ds3E9SqF.js";
|
|
4
4
|
import { c as normalizeMainKey, l as resolveAgentIdFromSessionKey, s as normalizeAgentId } from "./session-key-C2n-VILA.js";
|
|
5
|
-
import {
|
|
5
|
+
import { l as resolveSessionAgentId, n as listAgentIds, o as resolveAgentWorkspaceDir } from "./agent-scope-BrDeaWWf.js";
|
|
6
6
|
import { i as normalizeModelRef, t as isCliProvider } from "./provider-utils-FaBmofiq.js";
|
|
7
7
|
import { t as ensureAgentWorkspace } from "./workspace-DkGLVfOl.js";
|
|
8
8
|
import { a as isInternalMessageChannel, c as normalizeMessageChannel, i as isGatewayMessageChannel, l as resolveMessageChannel, n as isDeliverableMessageChannel, t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-DF4I2vOK.js";
|
|
9
|
-
import { i as loadConfig } from "./config-
|
|
9
|
+
import { i as loadConfig } from "./config-CHDaGquZ.js";
|
|
10
10
|
import { t as formatCliCommand } from "./command-format-D0vKipG9.js";
|
|
11
11
|
import { a as ensureAuthProfileStore } from "./auth-CVfoI--S.js";
|
|
12
|
-
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
13
|
-
import {
|
|
12
|
+
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-D6-JJ1il.js";
|
|
13
|
+
import { a as getCliSessionId, c as resolveCliRuntimeArgs, g as applyVerboseOverride, i as resolveSessionDeliveryTarget, l as resolveCliRuntimeEnv, m as clearSessionAuthProfileOverride, o as setCliSessionId, p as resolveChannelMessageToolHints, r as resolveOutboundTarget, s as ChannelBridge, u as resolveCliRuntimeProvider, w as resolveSendPolicy } from "./targets-yq1kGK1_.js";
|
|
14
14
|
import { l as resolveSessionFilePathOptions, m as resolveStorePath, u as resolveSessionTranscriptPath } from "./chat-envelope-BEDutlnF.js";
|
|
15
|
-
import { B as resolveChannelResetConfig, F as resolveAndPersistSessionFile, H as resolveSessionResetType, J as resolveExplicitAgentSessionKey, M as parseSessionThreadInfo, R as resolveSessionKey, V as resolveSessionResetPolicy, h as normalizeAccountId, l as updateSessionStore, n as loadSessionStore, z as evaluateSessionFreshness } from "./store-
|
|
15
|
+
import { B as resolveChannelResetConfig, F as resolveAndPersistSessionFile, H as resolveSessionResetType, J as resolveExplicitAgentSessionKey, M as parseSessionThreadInfo, R as resolveSessionKey, V as resolveSessionResetPolicy, h as normalizeAccountId, l as updateSessionStore, n as loadSessionStore, z as evaluateSessionFreshness } from "./store-Dv76bGHg.js";
|
|
16
16
|
import { n as deriveSessionTotalTokens, r as hasNonzeroUsage } from "./usage-o8O_TxA-.js";
|
|
17
17
|
import { t as resolveGatewayCredentialsFromConfig } from "./credentials-eZcqWNG_.js";
|
|
18
18
|
import { a as emitAgentEvent, c as registerAgentRunContext, i as clearAgentRunContext, t as AGENT_LANE_NESTED } from "./lanes-COs3zODW.js";
|
|
19
|
-
import { n as resolveMessageChannelSelection } from "./channel-selection-
|
|
20
|
-
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-
|
|
19
|
+
import { n as resolveMessageChannelSelection } from "./channel-selection-DR7eW8UG.js";
|
|
20
|
+
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-D8P9_nk-.js";
|
|
21
21
|
import crypto from "node:crypto";
|
|
22
22
|
|
|
23
23
|
//#region src/cli/outbound-send-mapping.ts
|
|
@@ -37,27 +37,27 @@ function createOutboundSendDepsFromCliSource(deps) {
|
|
|
37
37
|
function createDefaultDeps() {
|
|
38
38
|
return {
|
|
39
39
|
sendMessageWhatsApp: async (...args) => {
|
|
40
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
40
|
+
const { sendMessageWhatsApp } = await import("./web-DZ8ahrhK.js");
|
|
41
41
|
return await sendMessageWhatsApp(...args);
|
|
42
42
|
},
|
|
43
43
|
sendMessageTelegram: async (...args) => {
|
|
44
|
-
const { sendMessageTelegram } = await import("./send-
|
|
44
|
+
const { sendMessageTelegram } = await import("./send-DmEBPE2S.js").then((n) => n.l);
|
|
45
45
|
return await sendMessageTelegram(...args);
|
|
46
46
|
},
|
|
47
47
|
sendMessageDiscord: async (...args) => {
|
|
48
|
-
const { sendMessageDiscord } = await import("./send-
|
|
48
|
+
const { sendMessageDiscord } = await import("./send-BTupAHVX.js").then((n) => n.t);
|
|
49
49
|
return await sendMessageDiscord(...args);
|
|
50
50
|
},
|
|
51
51
|
sendMessageSlack: async (...args) => {
|
|
52
|
-
const { sendMessageSlack } = await import("./send-
|
|
52
|
+
const { sendMessageSlack } = await import("./send-B3G3I3II.js").then((n) => n.n);
|
|
53
53
|
return await sendMessageSlack(...args);
|
|
54
54
|
},
|
|
55
55
|
sendMessageSignal: async (...args) => {
|
|
56
|
-
const { sendMessageSignal } = await import("./send-
|
|
56
|
+
const { sendMessageSignal } = await import("./send-qpwqt34s.js").then((n) => n.i);
|
|
57
57
|
return await sendMessageSignal(...args);
|
|
58
58
|
},
|
|
59
59
|
sendMessageIMessage: async (...args) => {
|
|
60
|
-
const { sendMessageIMessage } = await import("./send-
|
|
60
|
+
const { sendMessageIMessage } = await import("./send-uqa6CNuP.js").then((n) => n.n);
|
|
61
61
|
return await sendMessageIMessage(...args);
|
|
62
62
|
}
|
|
63
63
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { _ as defaultRuntime, ot as shortenHomePath, rt as resolveUserPath } from "./entry.js";
|
|
3
|
-
import { l as writeConfigFile } from "./config-
|
|
3
|
+
import { l as writeConfigFile } from "./config-BupC6eiJ.js";
|
|
4
4
|
import { m as DEFAULT_ACCOUNT_ID, s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-BF-9YzxC.js";
|
|
5
|
-
import { a as
|
|
6
|
-
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
5
|
+
import { a as resolveAgentDir, c as resolveDefaultAgentId, o as resolveAgentWorkspaceDir, t as listAgentEntries } from "./agent-scope-DxqtYjuJ.js";
|
|
6
|
+
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-B4waLB_f.js";
|
|
7
7
|
import { t as formatCliCommand } from "./command-format-KkslAzwV.js";
|
|
8
8
|
import { p as resolveSessionTranscriptsDirForAgent } from "./chat-envelope-vJJUdDE7.js";
|
|
9
9
|
import { c as resolveAuthStorePath, i as upsertAuthProfile } from "./auth-DTWpZJ1a.js";
|
|
10
10
|
import { n as WizardCancelledError, t as createClackPrompter } from "./clack-prompter-D6HhVlZW.js";
|
|
11
11
|
import { t as resolveChannelDefaultAccountId } from "./helpers-B4NWktS8.js";
|
|
12
|
-
import { c as moveToTrash, i as ensureWorkspaceAndSessions } from "./onboard-helpers-
|
|
13
|
-
import { r as setupChannels } from "./onboard-channels-
|
|
14
|
-
import { t as requireValidConfigSnapshot } from "./config-validation-
|
|
15
|
-
import { i as pruneAgentConfig, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-
|
|
12
|
+
import { c as moveToTrash, i as ensureWorkspaceAndSessions } from "./onboard-helpers-eTUU00t8.js";
|
|
13
|
+
import { r as setupChannels } from "./onboard-channels-5EIXyDZh.js";
|
|
14
|
+
import { t as requireValidConfigSnapshot } from "./config-validation-BLllMW0t.js";
|
|
15
|
+
import { i as pruneAgentConfig, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-CWAUoPzG.js";
|
|
16
16
|
import { n as logConfigUpdated } from "./logging-CAgCb3n3.js";
|
|
17
17
|
import path from "node:path";
|
|
18
18
|
import fsp from "node:fs/promises";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { s as normalizeAgentId } from "./session-key-BF-9YzxC.js";
|
|
2
|
-
import { a as
|
|
2
|
+
import { a as resolveAgentDir, c as resolveDefaultAgentId, o as resolveAgentWorkspaceDir, t as listAgentEntries } from "./agent-scope-DxqtYjuJ.js";
|
|
3
3
|
|
|
4
4
|
//#region src/commands/agents.config.ts
|
|
5
5
|
function findAgentEntryIndex(list, agentId) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { s as normalizeAgentId } from "./session-key-C2n-VILA.js";
|
|
2
|
-
import { a as
|
|
2
|
+
import { a as resolveAgentDir, c as resolveDefaultAgentId, o as resolveAgentWorkspaceDir, t as listAgentEntries } from "./agent-scope-BrDeaWWf.js";
|
|
3
3
|
|
|
4
4
|
//#region src/commands/agents.config.ts
|
|
5
5
|
function findAgentEntryIndex(list, agentId) {
|
|
@@ -3,15 +3,15 @@ import { M as shouldLogVerbose, k as logVerbose } from "./utils-C5daYcFn.js";
|
|
|
3
3
|
import "./subsystem-BgxIzx7w.js";
|
|
4
4
|
import "./runtime-Ds3E9SqF.js";
|
|
5
5
|
import "./ansi-aRwLYlzD.js";
|
|
6
|
-
import "./agent-scope-
|
|
6
|
+
import "./agent-scope-BrDeaWWf.js";
|
|
7
7
|
import "./env-DUb5GiQe.js";
|
|
8
8
|
import "./host-env-security-Bms2_EMV.js";
|
|
9
9
|
import "./shell-env-CsV_IkJj.js";
|
|
10
|
-
import { a as runCapability, c as isAudioAttachment, i as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, r as normalizeMediaAttachments, t as buildProviderRegistry } from "./runner-
|
|
10
|
+
import { a as runCapability, c as isAudioAttachment, i as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, r as normalizeMediaAttachments, t as buildProviderRegistry } from "./runner-DOWTBU0-.js";
|
|
11
11
|
import "./logger-BtwpYD7c.js";
|
|
12
12
|
import "./ip-BAhS4rY2.js";
|
|
13
13
|
import "./ssrf-B-rF_tZB.js";
|
|
14
|
-
import "./local-roots-
|
|
14
|
+
import "./local-roots-BfXsZRkm.js";
|
|
15
15
|
import "./exec-BhkXWg7V.js";
|
|
16
16
|
import "./redact-gXuh8MFk.js";
|
|
17
17
|
import "./errors-CdmXrBic.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { ht as logVerbose, vt as shouldLogVerbose } from "./entry.js";
|
|
2
2
|
import "./host-env-security-CbiODGvQ.js";
|
|
3
3
|
import "./shell-env-hZW9j-Uc.js";
|
|
4
|
-
import "./agent-scope-
|
|
4
|
+
import "./agent-scope-DxqtYjuJ.js";
|
|
5
5
|
import "./logger-DWbwXLjl.js";
|
|
6
6
|
import "./ip-BcdPcLiP.js";
|
|
7
7
|
import "./exec-ClUTXFZ9.js";
|
|
8
8
|
import "./redact-BTeK8lMZ.js";
|
|
9
9
|
import "./mime-D4bQLMJL.js";
|
|
10
10
|
import "./ssrf-D6fl_7ww.js";
|
|
11
|
-
import "./local-roots-
|
|
11
|
+
import "./local-roots-B0QcJDJI.js";
|
|
12
12
|
import "./auth-DTWpZJ1a.js";
|
|
13
13
|
import "./file-lock-Ks-RPU6W.js";
|
|
14
|
-
import { a as runCapability, c as isAudioAttachment, i as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, r as normalizeMediaAttachments, t as buildProviderRegistry } from "./runner-
|
|
14
|
+
import { a as runCapability, c as isAudioAttachment, i as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, r as normalizeMediaAttachments, t as buildProviderRegistry } from "./runner-CVMXkHe9.js";
|
|
15
15
|
import "./errors-DdLfwEVi.js";
|
|
16
16
|
|
|
17
17
|
//#region src/media-understanding/audio-preflight.ts
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { Kt as resolveOAuthDir, Rt as resolveConfigPath, qt as resolveStateDir } from "./entry.js";
|
|
2
|
-
import { G as extensionUsesSkippedScannerPath, K as isPathInside, O as MANIFEST_KEY, U as INCLUDE_KEY, W as MAX_INCLUDE_DEPTH, Y as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, j as normalizePluginsConfig, r as createConfigIO } from "./config-
|
|
2
|
+
import { G as extensionUsesSkippedScannerPath, K as isPathInside, O as MANIFEST_KEY, U as INCLUDE_KEY, W as MAX_INCLUDE_DEPTH, Y as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, j as normalizePluginsConfig, r as createConfigIO } from "./config-BupC6eiJ.js";
|
|
3
3
|
import { l as resolveAgentIdFromSessionKey, s as normalizeAgentId, w as resolveThreadParentSessionKey } from "./session-key-BF-9YzxC.js";
|
|
4
|
-
import {
|
|
5
|
-
import { l as normalizeStringEntries, o as resolveChannelGroupToolsPolicy, t as getChannelDock } from "./dock-
|
|
4
|
+
import { c as resolveDefaultAgentId, i as resolveAgentConfig } from "./agent-scope-DxqtYjuJ.js";
|
|
5
|
+
import { l as normalizeStringEntries, o as resolveChannelGroupToolsPolicy, t as getChannelDock } from "./dock-D5pZ3a44.js";
|
|
6
6
|
import { c as normalizeMessageChannel, f as GATEWAY_CLIENT_MODES, p as GATEWAY_CLIENT_NAMES } from "./message-channel-D72Bc6Tb.js";
|
|
7
|
-
import { n as listChannelPlugins } from "./plugins-
|
|
7
|
+
import { n as listChannelPlugins } from "./plugins-B4waLB_f.js";
|
|
8
8
|
import { t as formatCliCommand } from "./command-format-KkslAzwV.js";
|
|
9
|
-
import { c as READ_SCOPE, f as GatewayClient, t as buildGatewayConnectionDetails } from "./call-
|
|
9
|
+
import { c as READ_SCOPE, f as GatewayClient, t as buildGatewayConnectionDetails } from "./call-CMDcRlGW.js";
|
|
10
10
|
import { t as resolveGatewayCredentialsFromConfig } from "./credentials-BhnauW0K.js";
|
|
11
11
|
import { n as runExec } from "./exec-ClUTXFZ9.js";
|
|
12
|
-
import { i as resolveNativeCommandsEnabled } from "./commands-
|
|
12
|
+
import { i as resolveNativeCommandsEnabled } from "./commands-DChC3pIF.js";
|
|
13
13
|
import { n as formatErrorMessage } from "./errors-DdLfwEVi.js";
|
|
14
|
-
import { i as readChannelAllowFromStore } from "./pairing-store-
|
|
15
|
-
import { n as resolveBrowserControlAuth, o as resolveBrowserConfig, s as resolveProfile } from "./control-auth-
|
|
14
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-DnTHRcnO.js";
|
|
15
|
+
import { n as resolveBrowserControlAuth, o as resolveBrowserConfig, s as resolveProfile } from "./control-auth-BiiO-FNy.js";
|
|
16
16
|
import { a as resolveGatewayAuth } from "./auth-Bq44qPUd.js";
|
|
17
17
|
import { n as DEFAULT_GATEWAY_HTTP_TOOL_DENY, r as CORE_TOOL_GROUPS, s as resolveCoreToolProfilePolicy } from "./dangerous-tools-CripTfYv.js";
|
|
18
18
|
import { t as resolveChannelDefaultAccountId } from "./helpers-B4NWktS8.js";
|
|
19
19
|
import { n as isDangerousNameMatchingEnabled } from "./dangerous-name-matching-oVb1EqYT.js";
|
|
20
20
|
import { c as normalizeTelegramAllowFromEntry, s as isNumericTelegramUserId, t as isDiscordMutableAllowEntry } from "./mutable-allowlist-detectors-NtI6s4TE.js";
|
|
21
|
-
import { t as resolveDmAllowState } from "./dm-policy-shared-
|
|
21
|
+
import { t as resolveDmAllowState } from "./dm-policy-shared-CT3er5HI.js";
|
|
22
22
|
import os from "node:os";
|
|
23
23
|
import path from "node:path";
|
|
24
24
|
import JSON5 from "json5";
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { h as resolveStateDir, m as resolveOAuthDir, o as resolveConfigPath } from "./paths-BTaH3rLn.js";
|
|
2
2
|
import { l as resolveAgentIdFromSessionKey, s as normalizeAgentId, w as resolveThreadParentSessionKey } from "./session-key-C2n-VILA.js";
|
|
3
|
-
import {
|
|
3
|
+
import { c as resolveDefaultAgentId, i as resolveAgentConfig } from "./agent-scope-BrDeaWWf.js";
|
|
4
4
|
import { c as normalizeMessageChannel, f as GATEWAY_CLIENT_MODES, p as GATEWAY_CLIENT_NAMES } from "./message-channel-DF4I2vOK.js";
|
|
5
|
-
import { G as extensionUsesSkippedScannerPath, K as isPathInside, O as MANIFEST_KEY, U as INCLUDE_KEY, W as MAX_INCLUDE_DEPTH, Y as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, j as normalizePluginsConfig, r as createConfigIO } from "./config-
|
|
6
|
-
import { o as normalizeStringEntries, t as getChannelDock, u as resolveChannelGroupToolsPolicy } from "./dock-
|
|
5
|
+
import { G as extensionUsesSkippedScannerPath, K as isPathInside, O as MANIFEST_KEY, U as INCLUDE_KEY, W as MAX_INCLUDE_DEPTH, Y as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, j as normalizePluginsConfig, r as createConfigIO } from "./config-CHDaGquZ.js";
|
|
6
|
+
import { o as normalizeStringEntries, t as getChannelDock, u as resolveChannelGroupToolsPolicy } from "./dock-D038fZZl.js";
|
|
7
7
|
import { n as runExec } from "./exec-BhkXWg7V.js";
|
|
8
8
|
import { n as formatErrorMessage } from "./errors-CdmXrBic.js";
|
|
9
9
|
import { t as formatCliCommand } from "./command-format-D0vKipG9.js";
|
|
10
|
-
import { n as listChannelPlugins } from "./plugins-
|
|
11
|
-
import { i as resolveNativeCommandsEnabled } from "./commands-
|
|
12
|
-
import { i as readChannelAllowFromStore } from "./pairing-store-
|
|
13
|
-
import { c as READ_SCOPE, f as GatewayClient, t as buildGatewayConnectionDetails } from "./call-
|
|
10
|
+
import { n as listChannelPlugins } from "./plugins-D6-JJ1il.js";
|
|
11
|
+
import { i as resolveNativeCommandsEnabled } from "./commands-DFHMoQgH.js";
|
|
12
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-ONzqxcNb.js";
|
|
13
|
+
import { c as READ_SCOPE, f as GatewayClient, t as buildGatewayConnectionDetails } from "./call-D5YKTYSM.js";
|
|
14
14
|
import { t as resolveGatewayCredentialsFromConfig } from "./credentials-eZcqWNG_.js";
|
|
15
15
|
import { n as isDangerousNameMatchingEnabled } from "./dangerous-name-matching-YeatnYIA.js";
|
|
16
|
-
import { n as resolveBrowserControlAuth, o as resolveBrowserConfig, s as resolveProfile } from "./control-auth-
|
|
16
|
+
import { n as resolveBrowserControlAuth, o as resolveBrowserConfig, s as resolveProfile } from "./control-auth-BFbDXKLK.js";
|
|
17
17
|
import { a as resolveGatewayAuth } from "./auth-VItd2pwK.js";
|
|
18
18
|
import { n as DEFAULT_GATEWAY_HTTP_TOOL_DENY, r as CORE_TOOL_GROUPS, s as resolveCoreToolProfilePolicy } from "./dangerous-tools-BMt8-6jE.js";
|
|
19
19
|
import { t as resolveChannelDefaultAccountId } from "./helpers-ryxLx-aM.js";
|
|
20
20
|
import { c as normalizeTelegramAllowFromEntry, s as isNumericTelegramUserId, t as isDiscordMutableAllowEntry } from "./mutable-allowlist-detectors-nAmo9v5u.js";
|
|
21
|
-
import { t as resolveDmAllowState } from "./dm-policy-shared-
|
|
21
|
+
import { t as resolveDmAllowState } from "./dm-policy-shared-1FdjwGtJ.js";
|
|
22
22
|
import os from "node:os";
|
|
23
23
|
import path from "node:path";
|
|
24
24
|
import JSON5 from "json5";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Ct as theme, St as isRich, h as visibleWidth, sn as hasRootVersionAlias } from "./entry.js";
|
|
2
|
-
import { it as resolveCommitHash } from "./reply-
|
|
2
|
+
import { it as resolveCommitHash } from "./reply-CUyafs4J.js";
|
|
3
3
|
|
|
4
4
|
//#region src/cli/tagline.ts
|
|
5
5
|
const DEFAULT_TAGLINE = "All your chats, one RemoteClaw.";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { A as normalizeChatChannelId } from "./entry.js";
|
|
2
2
|
import { h as normalizeAccountId, s as normalizeAgentId } from "./session-key-BF-9YzxC.js";
|
|
3
|
-
import {
|
|
3
|
+
import { c as resolveDefaultAgentId } from "./agent-scope-DxqtYjuJ.js";
|
|
4
4
|
|
|
5
5
|
//#region src/routing/bindings.ts
|
|
6
6
|
function normalizeBindingChannelId(raw) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as normalizeChatChannelId } from "./subsystem-BgxIzx7w.js";
|
|
2
2
|
import { h as normalizeAccountId, s as normalizeAgentId } from "./session-key-C2n-VILA.js";
|
|
3
|
-
import {
|
|
3
|
+
import { c as resolveDefaultAgentId } from "./agent-scope-BrDeaWWf.js";
|
|
4
4
|
|
|
5
5
|
//#region src/routing/bindings.ts
|
|
6
6
|
function normalizeBindingChannelId(raw) {
|
package/dist/boot/handler.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { D as createInternalHookEvent, M as resolveGatewayPort, O as isGatewayStartupEvent, P as resolveStateDir, k as triggerInternalHook, n as defaultRuntime, s as getActivePluginRegistry, t as createSubsystemLogger } from "../subsystem-
|
|
2
|
-
import { A as
|
|
3
|
-
import { A as resolveSessionKey, B as resolveMainSessionKey, C as appendAssistantMessageToSessionTranscript, D as updateSessionStore, E as loadSessionStore, F as resolveSessionFilePathOptions, G as resolveChannelMessageToolHints, H as ensureAgentWorkspace, I as resolveSessionTranscriptPath, K as SILENT_REPLY_TOKEN, L as resolveStorePath, M as resolveChannelResetConfig, N as resolveSessionResetPolicy, O as normalizeAccountId$1, P as resolveSessionResetType, R as resolveAgentMainSessionKey, S as parseSessionThreadInfo, T as resolveAndPersistSessionFile, U as getCliSessionId, V as ensureAuthProfileStore, W as setCliSessionId, _ as emitAgentEvent, a as parseReplyDirectives, b as normalizeVerboseLevel, c as AGENT_LANE_NESTED, d as ChannelBridge, f as resolveCliRuntimeArgs, g as clearAgentRunContext, h as getGlobalHookRunner, i as shouldSuppressReasoningPayload, j as evaluateSessionFreshness, l as resolveSendPolicy, m as resolveCliRuntimeProvider, n as hasNonzeroUsage, o as resolveOutboundTarget, p as resolveCliRuntimeEnv, r as isRenderablePayload, s as resolveSessionDeliveryTarget, t as deriveSessionTotalTokens, u as applyVerboseOverride, v as registerAgentRunContext, w as resolveMirroredTranscriptText, x as clearSessionAuthProfileOverride, y as resolveGatewayCredentialsFromConfig, z as resolveExplicitAgentSessionKey } from "../usage-
|
|
4
|
-
import "../accounts-
|
|
5
|
-
import { t as generateSecureUuid } from "../secure-random-
|
|
6
|
-
import "../targets-
|
|
7
|
-
import "../fetch-
|
|
8
|
-
import "../retry-
|
|
9
|
-
import "../targets-
|
|
10
|
-
import { n as markdownToSignalTextChunks, t as sendMessageSignal } from "../send-
|
|
11
|
-
import "../store-
|
|
12
|
-
import "../outbound-attachment-
|
|
1
|
+
import { D as createInternalHookEvent, M as resolveGatewayPort, O as isGatewayStartupEvent, P as resolveStateDir, k as triggerInternalHook, n as defaultRuntime, s as getActivePluginRegistry, t as createSubsystemLogger } from "../subsystem-BCkt9Ocb.js";
|
|
2
|
+
import { A as INTERNAL_MESSAGE_CHANNEL, B as normalizeModelRef, C as loadConfig, F as normalizeMessageChannel, H as getChannelPlugin, I as resolveMessageChannel, M as isGatewayMessageChannel, N as isInternalMessageChannel, P as listDeliverableMessageChannels, U as listChannelPlugins, W as normalizeChannelId, a as getAgentScopedMediaLocalRoots, at as resolveAgentConfig, c as chunkByParagraph, d as resolveTextChunkLimit, dt as normalizeMainKey, ft as resolveAgentIdFromSessionKey, it as listAgentIds, j as isDeliverableMessageChannel, l as chunkMarkdownTextWithMode, mt as normalizeAccountId, ot as resolveAgentWorkspaceDir, rt as formatCliCommand, s as resolveMarkdownTableMode, st as resolveSessionAgentId, u as resolveChunkMode, ut as normalizeAgentId, z as isCliProvider } from "../media-CmiNXiOZ.js";
|
|
3
|
+
import { A as resolveSessionKey, B as resolveMainSessionKey, C as appendAssistantMessageToSessionTranscript, D as updateSessionStore, E as loadSessionStore, F as resolveSessionFilePathOptions, G as resolveChannelMessageToolHints, H as ensureAgentWorkspace, I as resolveSessionTranscriptPath, K as SILENT_REPLY_TOKEN, L as resolveStorePath, M as resolveChannelResetConfig, N as resolveSessionResetPolicy, O as normalizeAccountId$1, P as resolveSessionResetType, R as resolveAgentMainSessionKey, S as parseSessionThreadInfo, T as resolveAndPersistSessionFile, U as getCliSessionId, V as ensureAuthProfileStore, W as setCliSessionId, _ as emitAgentEvent, a as parseReplyDirectives, b as normalizeVerboseLevel, c as AGENT_LANE_NESTED, d as ChannelBridge, f as resolveCliRuntimeArgs, g as clearAgentRunContext, h as getGlobalHookRunner, i as shouldSuppressReasoningPayload, j as evaluateSessionFreshness, l as resolveSendPolicy, m as resolveCliRuntimeProvider, n as hasNonzeroUsage, o as resolveOutboundTarget, p as resolveCliRuntimeEnv, r as isRenderablePayload, s as resolveSessionDeliveryTarget, t as deriveSessionTotalTokens, u as applyVerboseOverride, v as registerAgentRunContext, w as resolveMirroredTranscriptText, x as clearSessionAuthProfileOverride, y as resolveGatewayCredentialsFromConfig, z as resolveExplicitAgentSessionKey } from "../usage-CAuX4vsd.js";
|
|
4
|
+
import "../accounts-Bomfgw0M.js";
|
|
5
|
+
import { t as generateSecureUuid } from "../secure-random-CBwDBdj1.js";
|
|
6
|
+
import "../targets-3hewwPvM.js";
|
|
7
|
+
import "../fetch-oku6r8tJ.js";
|
|
8
|
+
import "../retry-BzWBtFpP.js";
|
|
9
|
+
import "../targets-Bkw_co-B.js";
|
|
10
|
+
import { n as markdownToSignalTextChunks, t as sendMessageSignal } from "../send-Dt4iCx61.js";
|
|
11
|
+
import "../store-Dw93tSB-.js";
|
|
12
|
+
import "../outbound-attachment-DaStRTGv.js";
|
|
13
|
+
import fs from "node:fs/promises";
|
|
13
14
|
import path from "node:path";
|
|
14
|
-
import
|
|
15
|
-
import fs$1 from "node:fs/promises";
|
|
15
|
+
import fsSync from "node:fs";
|
|
16
16
|
import crypto from "node:crypto";
|
|
17
17
|
|
|
18
18
|
//#region src/cli/outbound-send-mapping.ts
|
|
@@ -32,27 +32,27 @@ function createOutboundSendDepsFromCliSource(deps) {
|
|
|
32
32
|
function createDefaultDeps() {
|
|
33
33
|
return {
|
|
34
34
|
sendMessageWhatsApp: async (...args) => {
|
|
35
|
-
const { sendMessageWhatsApp } = await import("../web-
|
|
35
|
+
const { sendMessageWhatsApp } = await import("../web-B9gR_cGR.js");
|
|
36
36
|
return await sendMessageWhatsApp(...args);
|
|
37
37
|
},
|
|
38
38
|
sendMessageTelegram: async (...args) => {
|
|
39
|
-
const { sendMessageTelegram } = await import("../send-
|
|
39
|
+
const { sendMessageTelegram } = await import("../send-BZCfto_I.js");
|
|
40
40
|
return await sendMessageTelegram(...args);
|
|
41
41
|
},
|
|
42
42
|
sendMessageDiscord: async (...args) => {
|
|
43
|
-
const { sendMessageDiscord } = await import("../send-
|
|
43
|
+
const { sendMessageDiscord } = await import("../send-MWjpLHEV.js");
|
|
44
44
|
return await sendMessageDiscord(...args);
|
|
45
45
|
},
|
|
46
46
|
sendMessageSlack: async (...args) => {
|
|
47
|
-
const { sendMessageSlack } = await import("../send-
|
|
47
|
+
const { sendMessageSlack } = await import("../send-BT8XEvZB.js");
|
|
48
48
|
return await sendMessageSlack(...args);
|
|
49
49
|
},
|
|
50
50
|
sendMessageSignal: async (...args) => {
|
|
51
|
-
const { sendMessageSignal } = await import("../send-
|
|
51
|
+
const { sendMessageSignal } = await import("../send-CPBd6ItT.js");
|
|
52
52
|
return await sendMessageSignal(...args);
|
|
53
53
|
},
|
|
54
54
|
sendMessageIMessage: async (...args) => {
|
|
55
|
-
const { sendMessageIMessage } = await import("../send-
|
|
55
|
+
const { sendMessageIMessage } = await import("../send-D2m_x8xM.js");
|
|
56
56
|
return await sendMessageIMessage(...args);
|
|
57
57
|
}
|
|
58
58
|
};
|
|
@@ -253,11 +253,11 @@ function resolveFailedDir(stateDir) {
|
|
|
253
253
|
/** Ensure the queue directory (and failed/ subdirectory) exist. */
|
|
254
254
|
async function ensureQueueDir(stateDir) {
|
|
255
255
|
const queueDir = resolveQueueDir(stateDir);
|
|
256
|
-
await
|
|
256
|
+
await fsSync.promises.mkdir(queueDir, {
|
|
257
257
|
recursive: true,
|
|
258
258
|
mode: 448
|
|
259
259
|
});
|
|
260
|
-
await
|
|
260
|
+
await fsSync.promises.mkdir(resolveFailedDir(stateDir), {
|
|
261
261
|
recursive: true,
|
|
262
262
|
mode: 448
|
|
263
263
|
});
|
|
@@ -284,18 +284,18 @@ async function enqueueDelivery(params, stateDir) {
|
|
|
284
284
|
const filePath = path.join(queueDir, `${id}.json`);
|
|
285
285
|
const tmp = `${filePath}.${process.pid}.tmp`;
|
|
286
286
|
const json = JSON.stringify(entry, null, 2);
|
|
287
|
-
await
|
|
287
|
+
await fsSync.promises.writeFile(tmp, json, {
|
|
288
288
|
encoding: "utf-8",
|
|
289
289
|
mode: 384
|
|
290
290
|
});
|
|
291
|
-
await
|
|
291
|
+
await fsSync.promises.rename(tmp, filePath);
|
|
292
292
|
return id;
|
|
293
293
|
}
|
|
294
294
|
/** Remove a successfully delivered entry from the queue. */
|
|
295
295
|
async function ackDelivery(id, stateDir) {
|
|
296
296
|
const filePath = path.join(resolveQueueDir(stateDir), `${id}.json`);
|
|
297
297
|
try {
|
|
298
|
-
await
|
|
298
|
+
await fsSync.promises.unlink(filePath);
|
|
299
299
|
} catch (err) {
|
|
300
300
|
if ((err && typeof err === "object" && "code" in err ? String(err.code) : null) !== "ENOENT") throw err;
|
|
301
301
|
}
|
|
@@ -303,16 +303,16 @@ async function ackDelivery(id, stateDir) {
|
|
|
303
303
|
/** Update a queue entry after a failed delivery attempt. */
|
|
304
304
|
async function failDelivery(id, error, stateDir) {
|
|
305
305
|
const filePath = path.join(resolveQueueDir(stateDir), `${id}.json`);
|
|
306
|
-
const raw = await
|
|
306
|
+
const raw = await fsSync.promises.readFile(filePath, "utf-8");
|
|
307
307
|
const entry = JSON.parse(raw);
|
|
308
308
|
entry.retryCount += 1;
|
|
309
309
|
entry.lastError = error;
|
|
310
310
|
const tmp = `${filePath}.${process.pid}.tmp`;
|
|
311
|
-
await
|
|
311
|
+
await fsSync.promises.writeFile(tmp, JSON.stringify(entry, null, 2), {
|
|
312
312
|
encoding: "utf-8",
|
|
313
313
|
mode: 384
|
|
314
314
|
});
|
|
315
|
-
await
|
|
315
|
+
await fsSync.promises.rename(tmp, filePath);
|
|
316
316
|
}
|
|
317
317
|
|
|
318
318
|
//#endregion
|
|
@@ -1314,7 +1314,7 @@ async function resolveBootPrompt(boot, workspaceDir) {
|
|
|
1314
1314
|
if (boot.file !== void 0) {
|
|
1315
1315
|
const filePath = path.isAbsolute(boot.file) ? boot.file : path.join(workspaceDir, boot.file);
|
|
1316
1316
|
try {
|
|
1317
|
-
const trimmed = (await fs
|
|
1317
|
+
const trimmed = (await fs.readFile(filePath, "utf-8")).trim();
|
|
1318
1318
|
if (!trimmed) return { status: "empty" };
|
|
1319
1319
|
return {
|
|
1320
1320
|
status: "ok",
|
|
@@ -3,9 +3,9 @@ import { E as info, L as theme, T as danger, b as shortenHomePath } from "./util
|
|
|
3
3
|
import "./subsystem-BgxIzx7w.js";
|
|
4
4
|
import { n as defaultRuntime } from "./runtime-Ds3E9SqF.js";
|
|
5
5
|
import "./ansi-aRwLYlzD.js";
|
|
6
|
-
import "./agent-scope-
|
|
6
|
+
import "./agent-scope-BrDeaWWf.js";
|
|
7
7
|
import "./message-channel-DF4I2vOK.js";
|
|
8
|
-
import { i as loadConfig } from "./config-
|
|
8
|
+
import { i as loadConfig } from "./config-CHDaGquZ.js";
|
|
9
9
|
import { i as parseBooleanValue } from "./env-DUb5GiQe.js";
|
|
10
10
|
import "./host-env-security-Bms2_EMV.js";
|
|
11
11
|
import "./shell-env-CsV_IkJj.js";
|
|
@@ -17,7 +17,7 @@ import "./exec-BhkXWg7V.js";
|
|
|
17
17
|
import "./redact-gXuh8MFk.js";
|
|
18
18
|
import "./errors-CdmXrBic.js";
|
|
19
19
|
import { t as formatCliCommand } from "./command-format-D0vKipG9.js";
|
|
20
|
-
import "./call-
|
|
20
|
+
import "./call-D5YKTYSM.js";
|
|
21
21
|
import "./net-COL170MG.js";
|
|
22
22
|
import "./tailnet-BoTa0e2q.js";
|
|
23
23
|
import "./fs-safe-93aDW4mH.js";
|
|
@@ -25,7 +25,7 @@ import { t as formatDocsLink } from "./links-CIHbVNO_.js";
|
|
|
25
25
|
import { a as resolveExistingPathsWithinRoot, i as DEFAULT_UPLOAD_DIR, t as movePathToTrash } from "./trash--8b4GDyV.js";
|
|
26
26
|
import { n as inheritOptionFromParent } from "./command-options-7y5Zrv4M.js";
|
|
27
27
|
import "./progress-DQ1drugY.js";
|
|
28
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
28
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-CSdrtPzg.js";
|
|
29
29
|
import { t as runCommandWithRuntime } from "./cli-utils-C5nQDfa6.js";
|
|
30
30
|
import { t as copyToClipboard } from "./clipboard-Cbj3McM_.js";
|
|
31
31
|
import { t as formatHelpExamples } from "./help-format-Ch0EWh7N.js";
|