remoteclaw 0.1.0-next.2abd2fa → 0.1.0-next.4ca8fbb
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-DBohBlww.js → accounts-6bE7_6RL.js} +1 -1
- package/dist/{accounts-BFy_Z3od.js → accounts-B1aJFYXr.js} +1 -1
- package/dist/{accounts-iODF3SK2.js → accounts-Cl_cFv9X.js} +1 -1
- package/dist/{accounts-DqRQ75w3.js → accounts-Dn9h7HHT.js} +1 -1
- package/dist/{ack-reactions-B11TAC2D.js → ack-reactions-C5kPZvda.js} +1 -1
- package/dist/{ack-reactions-BWVjL4H6.js → ack-reactions-obWeK7Rw.js} +1 -1
- package/dist/{acp-cli-CGo6fJVZ.js → acp-cli-B-wqDGbE.js} +11 -11
- package/dist/{acp-cli-CA1xMmVo.js → acp-cli-BWhVu-KY.js} +2 -2
- package/dist/{agent-D2RVoS5g.js → agent-D0tKpxob.js} +10 -10
- package/dist/{agent-CTizRPIJ.js → agent-DfNHqNSe.js} +16 -16
- package/dist/{agent-helpers-B6VfZ9_u.js → agent-helpers-D_9mS2Ti.js} +1 -1
- package/dist/{agent-scope-BGYzhtWQ.js → agent-scope-9WY5O-KK.js} +2 -2
- package/dist/{agents-BuYn-obw.js → agents-VeVj5NN9.js} +4 -4
- package/dist/{agents.config-BSTxuTVd.js → agents.config-BPGQ3Qyn.js} +1 -1
- package/dist/{audio-preflight-co8gjlPX.js → audio-preflight-Dj6hBcFR.js} +12 -12
- package/dist/{audit-oH4urD3G.js → audit-C1GUK9MZ.js} +13 -13
- package/dist/{audit-qgtCT3ik.js → audit-CakTmUvV.js} +3 -3
- package/dist/{auth-CAczFgAO.js → auth-C6VDYgb7.js} +1 -1
- package/dist/{auth-profiles-D8vKiBPq.js → auth-profiles-CeDgZz_7.js} +2 -2
- package/dist/{banner-Cf978khN.js → banner-D0g6Jqg7.js} +4 -4
- package/dist/{binaries-DXW6oATV.js → binaries-X6FW-wD4.js} +1 -1
- package/dist/{bindings-DQZAu8Wv.js → bindings-B582pDIa.js} +2 -2
- package/dist/{bonjour-discovery-DdAk1VyO.js → bonjour-discovery-BtPaR8vb.js} +2 -2
- package/dist/boot/handler.js +29 -29
- package/dist/{browser-cli-DAgi_aQk.js → browser-cli-ZGejewVU.js} +23 -23
- package/dist/{browser-cli-CZC4h5V4.js → browser-cli-apM-sb95.js} +8 -8
- package/dist/build-info.json +3 -3
- package/dist/{call-BbwtB9Y-.js → call-C1c3rcy7.js} +1 -1
- package/dist/{call-PivL7Uex.js → call-EndUQoN2.js} +4 -4
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{catalog-DFmaYwfk.js → catalog-BMf9kYo4.js} +2 -2
- package/dist/{catalog-BqO6yem_.js → catalog-DTOwqzdA.js} +1 -1
- package/dist/{channel-account-context-q-o0pG1A.js → channel-account-context-CjXyzMXE.js} +1 -1
- package/dist/{channel-activity-C-G4n9BK.js → channel-activity-BZbNMyql.js} +2 -2
- package/dist/{channel-activity-BaCNOZpP.js → channel-activity-BeRrcCd8.js} +3 -3
- package/dist/{channel-options-DFnypY5S.js → channel-options-A-6mAxk3.js} +5 -5
- package/dist/{channel-options-Cyappik_.js → channel-options-CUMGATrC.js} +2 -2
- package/dist/{channel-selection-BGl53D5K.js → channel-selection-CJXZTxae.js} +2 -2
- package/dist/{channel-web-kRC3UYBJ.js → channel-web-BI274Kbc.js} +24 -24
- package/dist/{channel-web-DmhVkWbP.js → channel-web-tkULzsN2.js} +7 -7
- package/dist/{channels-cli-C5XRkPJl.js → channels-cli-GMS9bQeR.js} +30 -30
- package/dist/{channels-cli-D6TqCI0m.js → channels-cli-GQ1h5nQo.js} +82 -82
- package/dist/{channels-status-issues-CUc9mpeW.js → channels-status-issues-BDAHISWe.js} +1 -1
- package/dist/{chrome-CFeWdP0Y.js → chrome-5KCwEdqq.js} +7 -7
- package/dist/{chrome-0QaGKb3L.js → chrome-bU1D1n_G.js} +4 -4
- package/dist/{chunk-D0Y_w4oX.js → chunk-DAjFKt2g.js} +1 -1
- package/dist/{clack-prompter-B7tOxhJd.js → clack-prompter-CabwzmG4.js} +4 -4
- package/dist/{cleanup-utils-CqAVZz2b.js → cleanup-utils-o2MM9xyf.js} +1 -1
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/cli-BRKebcMX.js +130 -0
- package/dist/{cli-BR2J3c4l.js → cli-DaI8rboT.js} +20 -20
- package/dist/{clipboard-D7_SKHPK.js → clipboard-B2j4qGIl.js} +1 -1
- package/dist/command-logger/handler.js +1 -1
- package/dist/{command-registry-CYjvOp8W.js → command-registry-Bs3-JoFa.js} +11 -11
- package/dist/{commands-D_-bgTlO.js → commands-C2uNKRTf.js} +2 -2
- package/dist/{commands-registry-Ci8_cFk9.js → commands-registry-BvESmXoK.js} +4 -4
- package/dist/{common-CMI-qsF8.js → common-Cp3rsBqx.js} +1 -1
- package/dist/{completion-cli-CYDjEZSt.js → completion-cli-Bq8ob7bJ.js} +4 -4
- package/dist/{completion-cli-8iZJqfmX.js → completion-cli-yFjHOtnN.js} +2 -2
- package/dist/{config-FHu9Bn4R.js → config-CKjn6ORX.js} +5 -3
- package/dist/{config-D5XU45KD.js → config-Dx2muBSJ.js} +9 -7
- package/dist/{config-cli-RC9qMgJq.js → config-cli-DPSj7xEW.js} +9 -9
- package/dist/{config-cli-Gehy4sav.js → config-cli-uCJAolq3.js} +3 -3
- package/dist/{config-guard-cB5a_ANg.js → config-guard-C2g3LlWk.js} +2 -2
- package/dist/{config-guard-J-Q_DFWk.js → config-guard-D1htIUcx.js} +19 -19
- package/dist/{config-validation-BPNyd9_3.js → config-validation-CqVJLiYT.js} +1 -1
- package/dist/{config-validation-BPWuvhVe.js → config-validation-D3Up1-Pq.js} +1 -1
- package/dist/{configure-CC2XdRRm.js → configure-CExN5RUz.js} +19 -19
- package/dist/{configure-DxFBJuhZ.js → configure-sLl4dSHU.js} +5 -5
- package/dist/{control-auth-D0tpV3ts.js → control-auth--fCnBrmu.js} +1 -1
- package/dist/{control-auth-_-0PGRUs.js → control-auth-894Ezu61.js} +2 -2
- package/dist/{control-ui-assets-W1AUuGrO.js → control-ui-assets-D4yaD8jm.js} +1 -1
- package/dist/{cron-cli-BzERxhr5.js → cron-cli-CzNB7gey.js} +15 -15
- package/dist/{cron-cli-C8j_uslU.js → cron-cli-kN6pZBMh.js} +3 -3
- package/dist/{daemon-cli-C95XNbX0.js → daemon-cli-Bf5va8oF.js} +13 -13
- package/dist/{daemon-cli-e6sURMqd.js → daemon-cli-TuWhoQ3H.js} +3 -3
- package/dist/daemon-cli.js +20 -19
- package/dist/{daemon-install-DDshfT0J.js → daemon-install-DrTvAWhM.js} +9 -9
- package/dist/{deliver-912khjLK.js → deliver-Dm7GkHXJ.js} +4 -4
- package/dist/{deliver-D56J4-1F.js → deliver-wTlFm59G.js} +8 -8
- package/dist/{devices-cli-0qDhTgZR.js → devices-cli-CAcVSiHC.js} +2 -2
- package/dist/{devices-cli-6SKMR2bV.js → devices-cli-rX6imHCj.js} +11 -11
- package/dist/{diagnostics-99iCgBUh.js → diagnostics-HGkN467d.js} +1 -1
- package/dist/{directory-cli-D3IKCHmn.js → directory-cli-D83Q7y5H.js} +14 -14
- package/dist/{directory-cli-5YXdoVdn.js → directory-cli-DVfyUHCz.js} +1 -1
- package/dist/{dm-policy-shared-4rkjhcrM.js → dm-policy-shared-BBfEyAN1.js} +2 -2
- package/dist/{dns-cli-11CtErVU.js → dns-cli-5SrjpIcy.js} +1 -1
- package/dist/{dns-cli-SiEd_1Lq.js → dns-cli-Canj4LtY.js} +9 -9
- package/dist/{dock-CQuu41bw.js → dock-O8ArYwed.js} +6 -6
- package/dist/{doctor-completion-CZwpEhIK.js → doctor-completion-BPBjYlMB.js} +2 -2
- package/dist/{doctor-completion-BR1SlAT3.js → doctor-completion-C56A3tON.js} +1 -1
- package/dist/{doctor-config-flow-BVkHcvoj.js → doctor-config-flow-DXnCqDd9.js} +3 -3
- package/dist/{doctor-config-flow-DVYRn0An.js → doctor-config-flow-DZG6oOAj.js} +8 -8
- package/dist/{enable-DcJnkzfz.js → enable-DMIq6evt.js} +1 -1
- package/dist/entry.js +14 -14
- package/dist/{env-DeF64iu0.js → env-Br2Bl6Ht.js} +1 -1
- package/dist/{errors-8F-77i6m.js → errors-BpAidYqH.js} +1 -1
- package/dist/{exec-DbKuYyM1.js → exec-C6ACg_Mn.js} +2 -2
- package/dist/extensionAPI.js +22 -15
- package/dist/{fetch-BFSBLBkA.js → fetch-BFuS-EfP.js} +1 -1
- package/dist/{gateway-cli-Nob0g_4y.js → gateway-cli-CN3qPG2T.js} +39 -39
- package/dist/{gateway-cli-BEEZhCHv.js → gateway-cli-CqSlcKnb.js} +113 -113
- package/dist/{gateway-rpc-CksB-N83.js → gateway-rpc-BxH8V6gB.js} +3 -3
- package/dist/{gateway-rpc-Dq44SkOv.js → gateway-rpc-CMsfRKML.js} +1 -1
- package/dist/{gmail-setup-utils-nkabbKOE.js → gmail-setup-utils-BPmUIqso.js} +2 -2
- package/dist/{health-SOuaKNRa.js → health-DeNxtGCn.js} +8 -8
- package/dist/{health-RT-F3hzT.js → health-DwKPQOTn.js} +17 -17
- package/dist/{health-format-BG95OE6N.js → health-format-Bygse7KA.js} +1 -1
- package/dist/{heartbeat-visibility-CGG-G7px.js → heartbeat-visibility-BvJaUOFC.js} +1 -1
- package/dist/{heartbeat-visibility-BxkZjE5m.js → heartbeat-visibility-EBPnhcaa.js} +1 -1
- package/dist/{help-format-DAxf0l_h.js → help-format-sqWgYEdL.js} +1 -1
- package/dist/{hook-runner-global-DJ14gXFP.js → hook-runner-global-BSklbS52.js} +1 -1
- package/dist/{hooks-cli-RuEn0-oy.js → hooks-cli-BuWpetaT.js} +69 -69
- package/dist/{hooks-cli-DyEKryW8.js → hooks-cli-C1BG-IlR.js} +22 -22
- package/dist/{image-ops-Bi6JPSkD.js → image-ops-DRdKC0uO.js} +1 -1
- package/dist/{import-DQ6NI4Fz.js → import-B6Xn6yAg.js} +82 -2
- package/dist/{import-D8BBZQgl.js → import-CIIB1Q1J.js} +84 -4
- package/dist/{inbound-path-policy-Bg4gZBx-.js → inbound-path-policy-C_Qo8rqg.js} +1 -1
- package/dist/index.js +82 -82
- package/dist/{inspect-vYIL1oA0.js → inspect-B1Fq39RC.js} +3 -3
- package/dist/{installs-pWdqG8HL.js → installs-B1rNHwnF.js} +1 -1
- package/dist/{installs-aM5dWAyn.js → installs-ClyOD2BY.js} +3 -3
- package/dist/{ir-BpaAMTfW.js → ir-Ch9FC9Z_.js} +4 -4
- package/dist/{links-C3soDNDH.js → links-Cm43Vcft.js} +1 -1
- package/dist/{loader-y9MhJewT.js → loader-Bkhoi4yR.js} +25 -25
- package/dist/{loader-Ccwsh8Sh.js → loader-DrZ6VM0f.js} +63 -63
- package/dist/{local-roots-nImrw2WR.js → local-roots-z2u_s7jG.js} +3 -3
- package/dist/{logger-Bw3cFE5t.js → logger-pznB_IdT.js} +2 -2
- package/dist/{logging-C-nxX2fn.js → logging-D8R0sLY9.js} +1 -1
- package/dist/{login-DOmWDMeP.js → login-BIgEFDBJ.js} +1 -1
- package/dist/{login-C_Kt57nO.js → login-CqST6Yyp.js} +5 -5
- package/dist/{login-qr-D0u6fdeO.js → login-qr-ChZo1oB2.js} +9 -9
- package/dist/{login-qr-CXU0wC5K.js → login-qr-lciTI8Ue.js} +1 -1
- package/dist/{logs-cli-CschwP4d.js → logs-cli-B4DaUuwW.js} +12 -12
- package/dist/{logs-cli-D7ayUvz_.js → logs-cli-BBWcmNEs.js} +3 -3
- package/dist/{markdown-tables-CrmghPAr.js → markdown-tables-hhOWaw8L.js} +1 -1
- package/dist/{media-CojxZ45J.js → media-BrtsoHDf.js} +56 -49
- package/dist/{message-action-names-WglOO_DT.js → message-action-names-DYTTi8gx.js} +10 -10
- package/dist/{message-action-names-CtEZcmlU.js → message-action-names-oFjla2Uc.js} +19 -19
- package/dist/{message-channel-DzJqHVZD.js → message-channel-BlYrtmIp.js} +1 -1
- package/dist/{nodes-cli-CQmlfx0K.js → nodes-cli-BAYWaRF9.js} +16 -16
- package/dist/{nodes-cli-C2SoKfCv.js → nodes-cli-C0b4ae_w.js} +2 -2
- package/dist/{nodes-screen-BR9sYoPa.js → nodes-screen-Bmp1l9wY.js} +1 -1
- package/dist/{note-kvWV4xtw.js → note-DR8A0G5H.js} +1 -1
- package/dist/{npm-registry-spec-0qiKawvv.js → npm-registry-spec-Cobb5KYR.js} +2 -2
- package/dist/{npm-resolution-6v_Zm-9G.js → npm-resolution-D6VFpSMk.js} +4 -4
- package/dist/{npm-resolution-BFz7LeoN.js → npm-resolution-DCVQ6Y0K.js} +2 -2
- package/dist/{onboard-RI4vNTZd.js → onboard-CyM-s2Q9.js} +4 -4
- package/dist/{onboard-CgyU-mDL.js → onboard-Dt9aqz5a.js} +9 -9
- package/dist/{onboard-channels-DyAd1OZr.js → onboard-channels-BMwYGHjJ.js} +8 -8
- package/dist/{onboard-channels-DN5JoKPd.js → onboard-channels-Cm2oMc5h.js} +20 -20
- package/dist/{onboard-helpers-sDc2Ky6H.js → onboard-helpers-DC1_Uz_K.js} +8 -8
- package/dist/{onboard-helpers-BCzZUD0z.js → onboard-helpers-zH14EFKa.js} +13 -13
- package/dist/{onboard-remote-CJrMtttl.js → onboard-remote-DKLIRtxz.js} +3 -3
- package/dist/{onboard-remote-hyQIBguz.js → onboard-remote-G7myeQp9.js} +1 -1
- package/dist/{onboarding-DCu1iBTV.js → onboarding-CJzQIK_p.js} +15 -24
- package/dist/{onboarding-zKMitzpb.js → onboarding-DcL0Bg41.js} +22 -31
- package/dist/{onboarding.finalize-D5JkVJgg.js → onboarding.finalize-C-2u_67y.js} +18 -18
- package/dist/{onboarding.finalize-ClHhYE2E.js → onboarding.finalize-C7V8SbPj.js} +64 -64
- package/dist/{onboarding.gateway-config-DFh71Ndn.js → onboarding.gateway-config-DbL694q5.js} +22 -22
- package/dist/{onboarding.gateway-config-VBk6AP9U.js → onboarding.gateway-config-mAUMPQtE.js} +4 -4
- package/dist/{outbound-BYlZshIw.js → outbound-BSrQB04F.js} +6 -6
- package/dist/{outbound-CFfJC1j5.js → outbound-UQ05e6hy.js} +1 -1
- package/dist/{outbound-attachment-BCNs1u1F.js → outbound-attachment-DIiKB_mP.js} +2 -2
- package/dist/{outbound-attachment-B_0D60Yr.js → outbound-attachment-DvxfVMMN.js} +2 -2
- package/dist/{pairing-cli-BeydfoF9.js → pairing-cli-Dg7flTtc.js} +1 -1
- package/dist/{pairing-cli-DWzX866x.js → pairing-cli-DyOmIkR8.js} +13 -13
- package/dist/{pairing-labels-B-N8S5Fc.js → pairing-labels-BiSZLitI.js} +1 -1
- package/dist/{pairing-store-BxdqFZGK.js → pairing-store-BgAv4uN8.js} +2 -2
- package/dist/{path-env-DR5vn3QL.js → path-env-ErEKbxOI.js} +1 -1
- package/dist/{plugin-auto-enable-D23gv7Aw.js → plugin-auto-enable-C2C0yYb0.js} +5 -5
- package/dist/{plugin-auto-enable-DuPS9XiJ.js → plugin-auto-enable-CqeLGGEe.js} +2 -2
- package/dist/{plugin-registry-DeHwd2jk.js → plugin-registry-ByWYnPMd.js} +2 -2
- package/dist/{plugin-registry-CNu_1KZz.js → plugin-registry-D1XLfwHj.js} +4 -4
- package/dist/plugin-sdk/config/types.tools.d.ts +1 -1
- package/dist/plugin-sdk/config/zod-schema.agent-defaults.d.ts +1 -0
- package/dist/plugin-sdk/config/zod-schema.agents.d.ts +1 -0
- package/dist/plugin-sdk/config/zod-schema.d.ts +1 -0
- package/dist/plugin-sdk/index.js +20 -19
- package/dist/plugin-sdk/terminal/palette.d.ts +2 -2
- package/dist/{plugins-woGRXMzU.js → plugins-BXkDApVh.js} +5 -5
- package/dist/{plugins-cli-DV82scUw.js → plugins-cli-Dq7-gN1i.js} +71 -71
- package/dist/{plugins-cli-Qj1UyIZO.js → plugins-cli-TDt5Ap1o.js} +23 -23
- package/dist/{ports-DrruB2fK.js → ports-DIYJq-SY.js} +4 -4
- package/dist/{ports-GT1yV-Tg.js → ports-DPL-Pzfh.js} +2 -2
- package/dist/{program-CQmIaRUI.js → program-Dm6RlSCG.js} +28 -28
- package/dist/{program-context-DEU6ACnL.js → program-context-CR8elel3.js} +34 -34
- package/dist/{progress-CBkSaM6z.js → progress--dapuyZA.js} +1 -1
- package/dist/{prompt-Bllj1dhc.js → prompt-BVZVovoB.js} +1 -1
- package/dist/{prompt-select-styled-BhTN6zE2.js → prompt-select-styled-CLzKernl.js} +30 -30
- package/dist/{prompt-select-styled-WopXnjIy.js → prompt-select-styled-D--1U3Qh.js} +8 -8
- package/dist/{prompt-style-DVEm3BZW.js → prompt-style-D0LUnqXi.js} +1 -1
- package/dist/{provider-dispatcher-Bfauw6zz.js → provider-dispatcher-CbJCfJNB.js} +7 -7
- package/dist/{provider-dispatcher-B4QMe-I6.js → provider-dispatcher-pOqMXfLQ.js} +4 -4
- package/dist/{push-apns-C0LyG-WB.js → push-apns-CLmNS5AZ.js} +4 -4
- package/dist/{pw-ai-D9n6-Wa6.js → pw-ai-B2LkFeUC.js} +2 -2
- package/dist/{pw-ai-T280E6Mn.js → pw-ai-CwC1FQEH.js} +12 -12
- package/dist/{qr-cli-DVECWTHN.js → qr-cli-9iFACuGt.js} +9 -9
- package/dist/{qr-cli-hSLixZCe.js → qr-cli-CDRHTGnv.js} +1 -1
- package/dist/{redact-eZq1uwNK.js → redact-BsoXOV1y.js} +1 -1
- package/dist/{redact-snapshot-BZYLIqe-.js → redact-snapshot-CJApG-fd.js} +1 -1
- package/dist/{redact-snapshot-C6hVx_9I.js → redact-snapshot-DR_-YlRl.js} +2 -2
- package/dist/{register.agent-Dmj-sgEl.js → register.agent-BYxDAKY7.js} +82 -82
- package/dist/{register.agent-IspcBFeD.js → register.agent-CUANybY6.js} +30 -30
- package/dist/{register.configure-PPkU_4Ea.js → register.configure-BP0t9Uwl.js} +30 -30
- package/dist/register.configure-DyhKPvnk.js +130 -0
- package/dist/{register.import-DLng8g-e.js → register.import-Dc7m8NdP.js} +8 -8
- package/dist/{register.import-Bs-UkOs-.js → register.import-DdLGUSEK.js} +1 -1
- package/dist/{register.maintenance-BbpkJil3.js → register.maintenance-gcZeh5o7.js} +93 -93
- package/dist/{register.maintenance-C5nkOQxa.js → register.maintenance-haVwPL96.js} +29 -29
- package/dist/{register.message-D16isu4u.js → register.message-CKl_lHTO.js} +69 -69
- package/dist/{register.message-C83Hi1b3.js → register.message-ZbmkQ5ht.js} +22 -22
- package/dist/{register.onboard-B8EzX3wY.js → register.onboard-D-5OnZ0M.js} +7 -7
- package/dist/{register.onboard-CyRbr_0V.js → register.onboard-DYdJLgGd.js} +30 -30
- package/dist/{register.setup-Dz6GwMnu.js → register.setup-Cj7MYjtC.js} +30 -30
- package/dist/{register.setup-DWyoowAz.js → register.setup-hF1vdJl1.js} +7 -7
- package/dist/{register.status-health-sessions-DXIWG47y.js → register.status-health-sessions-BBFNCrfS.js} +72 -72
- package/dist/{register.status-health-sessions-CbQOfycz.js → register.status-health-sessions-ClYWL_wb.js} +18 -18
- package/dist/{register.subclis-DeGP5UPU.js → register.subclis-l2adzhui.js} +23 -23
- package/dist/{replies-BKrzM0QI.js → replies-BGYU-p0J.js} +1 -1
- package/dist/{replies-Cl2gYBVt.js → replies-Bn1oXSB8.js} +3 -3
- package/dist/{reply-DSKC8kyS.js → reply-Cepi2flR.js} +9 -9
- package/dist/{reply-CCu_DY64.js → reply-CmeV20ii.js} +32 -32
- package/dist/{reply-directives-BHJKp1Du.js → reply-directives-DOPAdviR.js} +3 -3
- package/dist/{reply-directives-CD2WycBM.js → reply-directives-DspqGGVJ.js} +1 -1
- package/dist/{reply-payloads-D_BM1Anb.js → reply-payloads-MIecsqo-.js} +5 -5
- package/dist/{reply-prefix-Q4DOJSn_.js → reply-prefix-4zLS7A1Y.js} +1 -1
- package/dist/{resolve-route-DGEgTEif.js → resolve-route-BDGdM-l3.js} +4 -4
- package/dist/{response-prefix-template-rVZQOViK.js → response-prefix-template-CSxp9HN5.js} +1 -1
- package/dist/{retry-BhuXOEVR.js → retry-CxXVRdes.js} +1 -1
- package/dist/{retry-DUjAzOBy.js → retry-D_-vU9CD.js} +1 -1
- package/dist/{run-main-Um5xhxla.js → run-main-D0u55bX8.js} +38 -56
- package/dist/{runner-yVJ4HB2K.js → runner-BbLPl1dz.js} +6 -6
- package/dist/{secure-random-Pl9rPl0l.js → secure-random-B7stcuHs.js} +1 -1
- package/dist/{security-cli-DP5QJpa5.js → security-cli-BvhB_SJV.js} +4 -4
- package/dist/{security-cli-CdwbWZUj.js → security-cli-DZ_pwUS6.js} +29 -29
- package/dist/{send-DHldI3gf.js → send-5HyMBvLh.js} +6 -6
- package/dist/{send-Ds63eF4a.js → send-B0elLDis.js} +6 -6
- package/dist/{send-YRVDWfSs.js → send-Bh75o8GE.js} +1 -1
- package/dist/{send-B84axiIa.js → send-C2BVmzi6.js} +7 -7
- package/dist/{send-BN_zYVlx.js → send-CHquO379.js} +5 -5
- package/dist/{send-Bx9bUGav.js → send-CltrzWlk.js} +1 -1
- package/dist/send-D9zlp5S9.js +11 -0
- package/dist/{send-BqVOxAmK.js → send-DD5szdZD.js} +13 -13
- package/dist/{send-CGXyTF22.js → send-DIO6FcGs.js} +4 -4
- package/dist/{send-xnwty9cY.js → send-DWzItTE9.js} +1 -1
- package/dist/{send-C3pdJ6p-.js → send-JUsdp68w.js} +9 -9
- package/dist/{send-CBGSXjfD.js → send-W1ofaGo7.js} +1 -1
- package/dist/{send-D1aYEG-k.js → send-fmudAAFF.js} +3 -3
- package/dist/{send-D_DUQJ6H.js → send-jN0cqz2d.js} +1 -1
- package/dist/{send-B1_Ymjb9.js → send-pZWXl_O3.js} +11 -11
- package/dist/{send-D08Je6DL.js → send-uNEzfw9q.js} +6 -6
- package/dist/{server-DhXw25Jq.js → server-55CHFsiA.js} +22 -22
- package/dist/{server-BQFoyCRR.js → server-Bk0uMX7-.js} +5 -5
- package/dist/{server-lifecycle-Coyr6Lda.js → server-lifecycle-CEOTZr99.js} +6 -6
- package/dist/{server-lifecycle-BjCCyD3w.js → server-lifecycle-DGais-nv.js} +11 -11
- package/dist/{server-node-events-De4WZQQD.js → server-node-events-BT_YSlcA.js} +9 -9
- package/dist/{server-node-events-dXXayuqY.js → server-node-events-CiqYClwC.js} +39 -39
- package/dist/{service-fp29z5Ww.js → service-BHos7oX8.js} +1 -1
- package/dist/{session-xKIW6gL2.js → session-aUptxSVD.js} +2 -2
- package/dist/{session-dirs-Cj5xi7zX.js → session-dirs-BADAi9Iz.js} +4 -4
- package/dist/{session-utils-CEtEq6bi.js → session-utils-BuXY8tQT.js} +2 -2
- package/dist/{session-utils-WmlWAs1r.js → session-utils-ByK5sFXr.js} +3 -3
- package/dist/{sessions-Bw4LRnSr.js → sessions-B_zoH4sM.js} +3 -3
- package/dist/{sessions--PykPynp.js → sessions-BntNl3-l.js} +1 -1
- package/dist/{status-CtzYFLLF.js → status-B47idaLU.js} +9 -9
- package/dist/{status-DiN1cq2p.js → status-Dof6X4RY.js} +22 -22
- package/dist/{status.update-CBmPXwYN.js → status.update-CVnonGHu.js} +1 -1
- package/dist/{store-C3tOpizT.js → store-BPZo49zT.js} +1 -1
- package/dist/{store-SusmIfz7.js → store-BsEwlSm1.js} +6 -6
- package/dist/{store-CPJXuhvQ.js → store-Bxy7EHAf.js} +5 -5
- package/dist/{subagent-registry-Db4Ho_2Y.js → subagent-registry-DN3omJzH.js} +5 -5
- package/dist/{subagent-registry-Du_j0Fnt.js → subagent-registry-NTmURwBx.js} +12 -12
- package/dist/{subsystem-BUXAJwPD.js → subsystem-C_FedsH7.js} +31 -31
- package/dist/{subsystem-COd61u0P.js → subsystem-CrJCqjAh.js} +1 -1
- package/dist/{system-cli-DYCpLO3T.js → system-cli-ByjvquTo.js} +12 -12
- package/dist/{system-cli-eAk5wVbP.js → system-cli-C8iA6NZ0.js} +3 -3
- package/dist/{systemd-TfK8GuTx.js → systemd-B5lyaCc3.js} +2 -2
- package/dist/{systemd-linger-Axnc1xCb.js → systemd-linger-DRPSEQVw.js} +2 -2
- package/dist/{table-DPTzZyhu.js → table-CpmqqcxJ.js} +1 -1
- package/dist/{tables-PxcSPSO0.js → tables-BO6GU4qX.js} +1 -1
- package/dist/{tables-TWiml6b1.js → tables-D_PTzthR.js} +1 -1
- package/dist/{tailscale-DTATQxAG.js → tailscale-Dxyz13fn.js} +2 -2
- package/dist/{targets-C1NeMn2J.js → targets-B-hWtwfx.js} +3 -3
- package/dist/{targets-JCISV-hS.js → targets-CMhBAn87.js} +3 -3
- package/dist/{targets-D-u6Kyio.js → targets-Cm1X3IyA.js} +2 -2
- package/dist/{targets-DfqPGOmM.js → targets-D1e9eyXc.js} +10 -10
- package/dist/{targets-DB4vBpIQ.js → targets-DK9MVsjx.js} +2 -2
- package/dist/{tokens-DzFOtLlW.js → tokens-qLtFu3nT.js} +1 -1
- package/dist/{tool-display-sgNwLOBj.js → tool-display-B-nr7cSF.js} +2 -2
- package/dist/{tool-images-BNfIJ_Kj.js → tool-images-DVrUJEqc.js} +2 -2
- package/dist/{trash-D_Jd_yQZ.js → trash-DzrtBoP1.js} +2 -2
- package/dist/{tui-CyHwc2uX.js → tui-ByoaOs-l.js} +2 -2
- package/dist/{tui-CHc0EfJO.js → tui-C9l1U4r8.js} +7 -7
- package/dist/{tui-cli-BvwbrIYO.js → tui-cli-1Jp507CR.js} +25 -25
- package/dist/{tui-cli-C9I18SfW.js → tui-cli-DvjBEn7h.js} +3 -3
- package/dist/{update-DxyjwCL2.js → update-Cj-HdoD2.js} +3 -3
- package/dist/{update-IX7vdqA8.js → update-CrKl8Exj.js} +2 -2
- package/dist/{update-cli-DkAWmUrp.js → update-cli-C7WnLi19.js} +34 -34
- package/dist/{update-cli-CBeXUSzq.js → update-cli-b3W8RwJh.js} +100 -100
- package/dist/{usage-CYlQW4M2.js → usage-DY7X9Iud.js} +56 -56
- package/dist/{utils-LBKvDoPx.js → utils-C5daYcFn.js} +13 -13
- package/dist/{web-Dquzwqf4.js → web-B9EiMNAf.js} +14 -14
- package/dist/web-Bp50XopI.js +76 -0
- package/dist/{web-BUYUdnRH.js → web-C5EBMd1-.js} +16 -16
- package/dist/{webhooks-cli-BpZHQlVd.js → webhooks-cli-D7kHy94s.js} +1 -1
- package/dist/{webhooks-cli-B7Vw3CMz.js → webhooks-cli-o4indVra.js} +10 -10
- package/dist/{whatsapp-actions-DaA291Ya.js → whatsapp-actions-BOMh8Mlv.js} +2 -2
- package/dist/{whatsapp-actions-D5HXezjp.js → whatsapp-actions-CT2Z1Iab.js} +21 -21
- package/dist/{widearea-dns-DSoaA-eH.js → widearea-dns-BXGCmXnD.js} +1 -1
- package/dist/{workspace-B8PA8oxJ.js → workspace-Bnn6LXsc.js} +4 -4
- package/dist/{workspace-B4ZvVYT9.js → workspace-C6kLpOuR.js} +1 -1
- package/package.json +1 -1
- package/dist/cli-C1q1vSmN.js +0 -130
- package/dist/register.configure-BqJEqyGL.js +0 -130
- package/dist/send-CKavrhXj.js +0 -11
- package/dist/web-tS8diboh.js +0 -76
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as VERSION } from "./env-vars-CLGbxdpL.js";
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-DgXcqxBt.js";
|
|
3
3
|
import { t as resolveRemoteClawPackageRoot } from "./remoteclaw-root-C2HV2VeC.js";
|
|
4
|
-
import { l as checkUpdateStatus, u as compareSemverStrings } from "./channel-account-context-
|
|
4
|
+
import { l as checkUpdateStatus, u as compareSemverStrings } from "./channel-account-context-CjXyzMXE.js";
|
|
5
5
|
|
|
6
6
|
//#region src/commands/status.update.ts
|
|
7
7
|
async function getUpdateCheckResult(params) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as resolveConfigDir } from "./utils-
|
|
1
|
+
import { m as resolveConfigDir } from "./utils-C5daYcFn.js";
|
|
2
2
|
import { n as extensionForMime, t as detectMime } from "./mime-BS3jhcZE.js";
|
|
3
3
|
import { createWriteStream } from "node:fs";
|
|
4
4
|
import path from "node:path";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { v as resolveRequiredHomeDir } from "./paths-BTaH3rLn.js";
|
|
3
|
-
import { f as normalizeE164 } from "./utils-
|
|
4
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
3
|
+
import { f as normalizeE164 } from "./utils-C5daYcFn.js";
|
|
4
|
+
import { t as createSubsystemLogger } from "./subsystem-CrJCqjAh.js";
|
|
5
5
|
import { c as normalizeMainKey, g as normalizeOptionalAccountId, l as resolveAgentIdFromSessionKey, r as buildAgentMainSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-5YLnn_qf.js";
|
|
6
|
-
import { c as normalizeMessageChannel, s as listDeliverableMessageChannels } from "./message-channel-
|
|
7
|
-
import { _ as parseDurationMs, i as loadConfig, v as parseByteSize } from "./config-
|
|
8
|
-
import { a as normalizeHyphenSlug, t as getChannelDock } from "./dock-
|
|
6
|
+
import { c as normalizeMessageChannel, s as listDeliverableMessageChannels } from "./message-channel-BlYrtmIp.js";
|
|
7
|
+
import { _ as parseDurationMs, i as loadConfig, v as parseByteSize } from "./config-Dx2muBSJ.js";
|
|
8
|
+
import { a as normalizeHyphenSlug, t as getChannelDock } from "./dock-O8ArYwed.js";
|
|
9
9
|
import { t as normalizeChatType } from "./chat-type-DKb2TlGZ.js";
|
|
10
10
|
import { n as resolveConversationLabel } from "./conversation-label-D1frnvYe.js";
|
|
11
11
|
import { n as isPidAlive, t as resolveProcessScopedMap } from "./process-scoped-map-CV9kDvfG.js";
|
|
12
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
12
|
+
import { r as normalizeChannelId } from "./plugins-BXkDApVh.js";
|
|
13
13
|
import { a as hasToolCall, c as resolveSessionFilePath, d as resolveSessionTranscriptPathInDir, f as resolveSessionTranscriptsDir, h as validateSessionId, i as extractToolCallNames, l as resolveSessionFilePathOptions, m as resolveStorePath, n as stripMessageIdHints, o as SAFE_SESSION_ID_RE, p as resolveSessionTranscriptsDirForAgent, s as resolveDefaultSessionStorePath, t as stripEnvelope, u as resolveSessionTranscriptPath } from "./chat-envelope-el7Uo-Fe.js";
|
|
14
14
|
import { n as hasInterSessionUserProvenance } from "./input-provenance-Bn6thJNm.js";
|
|
15
15
|
import { t as stripInboundMetadata } from "./strip-inbound-meta-jy3bkUab.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as detectMime, r as extensionForMime } from "./media-
|
|
2
|
-
import { p as resolveConfigDir } from "./subsystem-
|
|
1
|
+
import { n as detectMime, r as extensionForMime } from "./media-BrtsoHDf.js";
|
|
2
|
+
import { p as resolveConfigDir } from "./subsystem-C_FedsH7.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import fs
|
|
4
|
+
import fs from "node:fs/promises";
|
|
5
5
|
import crypto from "node:crypto";
|
|
6
6
|
|
|
7
7
|
//#region src/media/store.ts
|
|
@@ -22,7 +22,7 @@ function sanitizeFilename(name) {
|
|
|
22
22
|
async function saveMediaBuffer(buffer, contentType, subdir = "inbound", maxBytes = MAX_BYTES, originalFilename) {
|
|
23
23
|
if (buffer.byteLength > maxBytes) throw new Error(`Media exceeds ${(maxBytes / (1024 * 1024)).toFixed(0)}MB limit`);
|
|
24
24
|
const dir = path.join(resolveMediaDir(), subdir);
|
|
25
|
-
await fs
|
|
25
|
+
await fs.mkdir(dir, {
|
|
26
26
|
recursive: true,
|
|
27
27
|
mode: 448
|
|
28
28
|
});
|
|
@@ -40,7 +40,7 @@ async function saveMediaBuffer(buffer, contentType, subdir = "inbound", maxBytes
|
|
|
40
40
|
id = sanitized ? `${sanitized}---${uuid}${ext}` : `${uuid}${ext}`;
|
|
41
41
|
} else id = ext ? `${uuid}${ext}` : uuid;
|
|
42
42
|
const dest = path.join(dir, id);
|
|
43
|
-
await fs
|
|
43
|
+
await fs.writeFile(dest, buffer, { mode: 384 });
|
|
44
44
|
return {
|
|
45
45
|
id,
|
|
46
46
|
path: dest,
|
|
@@ -2,18 +2,18 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { _ as defaultRuntime, k as normalizeChannelId, o as createSubsystemLogger, qt as resolveStateDir } from "./entry.js";
|
|
3
3
|
import { n as saveJsonFile, t as loadJsonFile } from "./json-file-ChO_R9yh.js";
|
|
4
4
|
import { C as parseAgentSessionKey, S as isSubagentSessionKey, b as isAcpSessionKey, c as normalizeMainKey, h as normalizeAccountId, l as resolveAgentIdFromSessionKey, y as getSubagentDepth } from "./session-key-C2n-VILA.js";
|
|
5
|
-
import { _ as parseDurationMs, i as loadConfig, lt as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH } from "./config-
|
|
5
|
+
import { _ as parseDurationMs, i as loadConfig, lt as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH } from "./config-CKjn6ORX.js";
|
|
6
6
|
import { c as resolveSessionAgentId, s as resolveDefaultAgentId } from "./agent-scope-C50VuLKh.js";
|
|
7
7
|
import { a as isInternalMessageChannel, c as normalizeMessageChannel, n as isDeliverableMessageChannel, t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-uWMAiywE.js";
|
|
8
|
-
import { X as resolveMainSessionKey, b as mergeDeliveryContext, l as loadSessionStore, x as normalizeDeliveryContext, y as deliveryContextFromSession } from "./sessions
|
|
8
|
+
import { X as resolveMainSessionKey, b as mergeDeliveryContext, l as loadSessionStore, x as normalizeDeliveryContext, y as deliveryContextFromSession } from "./sessions-BntNl3-l.js";
|
|
9
9
|
import { r as normalizeChannelId$1, t as getChannelPlugin } from "./plugins-BflZz0sp.js";
|
|
10
10
|
import { m as resolveStorePath } from "./chat-envelope-DEZ-5RY8.js";
|
|
11
|
-
import { n as callGateway } from "./call-
|
|
11
|
+
import { n as callGateway } from "./call-C1c3rcy7.js";
|
|
12
12
|
import { r as CommandLane, s as onAgentEvent, t as AGENT_LANE_NESTED } from "./lanes-cHJ5arWg.js";
|
|
13
13
|
import { a as resolveEffectiveMessagesConfig, n as resolveResponsePrefixTemplate } from "./response-prefix-template-up4REfuR.js";
|
|
14
14
|
import { _ as sanitizeUserFacingText } from "./agent-helpers-CTx5KKJu.js";
|
|
15
15
|
import { r as isSilentReplyText, t as SILENT_REPLY_TOKEN } from "./tokens-B-jmvNR9.js";
|
|
16
|
-
import { t as getGlobalHookRunner, u as shouldSuppressReasoningPayload } from "./hook-runner-global-
|
|
16
|
+
import { t as getGlobalHookRunner, u as shouldSuppressReasoningPayload } from "./hook-runner-global-BSklbS52.js";
|
|
17
17
|
import os from "node:os";
|
|
18
18
|
import path from "node:path";
|
|
19
19
|
import fs from "node:fs";
|
|
@@ -1943,7 +1943,7 @@ async function routeReply(params) {
|
|
|
1943
1943
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
1944
1944
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
1945
1945
|
try {
|
|
1946
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
1946
|
+
const { deliverOutboundPayloads } = await import("./deliver-Dm7GkHXJ.js").then((n) => n.n);
|
|
1947
1947
|
return {
|
|
1948
1948
|
ok: true,
|
|
1949
1949
|
messageId: (await deliverOutboundPayloads({
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { h as resolveStateDir } from "./paths-BTaH3rLn.js";
|
|
3
|
-
import { s as sanitizeUserFacingText } from "./agent-helpers-
|
|
4
|
-
import { c as resolveSessionAgentId, s as resolveDefaultAgentId } from "./agent-scope-
|
|
5
|
-
import { g as normalizeChannelId, t as createSubsystemLogger } from "./subsystem-
|
|
3
|
+
import { s as sanitizeUserFacingText } from "./agent-helpers-D_9mS2Ti.js";
|
|
4
|
+
import { c as resolveSessionAgentId, s as resolveDefaultAgentId } from "./agent-scope-9WY5O-KK.js";
|
|
5
|
+
import { g as normalizeChannelId, t as createSubsystemLogger } from "./subsystem-CrJCqjAh.js";
|
|
6
6
|
import { n as defaultRuntime } from "./runtime-DJNp29jv.js";
|
|
7
7
|
import { C as parseAgentSessionKey, S as isSubagentSessionKey, b as isAcpSessionKey, c as normalizeMainKey, h as normalizeAccountId, l as resolveAgentIdFromSessionKey, y as getSubagentDepth } from "./session-key-5YLnn_qf.js";
|
|
8
|
-
import { a as isInternalMessageChannel, c as normalizeMessageChannel, n as isDeliverableMessageChannel, t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-
|
|
9
|
-
import { _ as parseDurationMs, i as loadConfig, lt as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH } from "./config-
|
|
8
|
+
import { a as isInternalMessageChannel, c as normalizeMessageChannel, n as isDeliverableMessageChannel, t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-BlYrtmIp.js";
|
|
9
|
+
import { _ as parseDurationMs, i as loadConfig, lt as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH } from "./config-Dx2muBSJ.js";
|
|
10
10
|
import { n as saveJsonFile, t as loadJsonFile } from "./json-file-B7l5-Xhr.js";
|
|
11
|
-
import { r as normalizeChannelId$1, t as getChannelPlugin } from "./plugins-
|
|
12
|
-
import { r as isSilentReplyText, t as SILENT_REPLY_TOKEN } from "./tokens-
|
|
13
|
-
import { p as getGlobalHookRunner, s as shouldSuppressReasoningPayload } from "./reply-payloads-
|
|
11
|
+
import { r as normalizeChannelId$1, t as getChannelPlugin } from "./plugins-BXkDApVh.js";
|
|
12
|
+
import { r as isSilentReplyText, t as SILENT_REPLY_TOKEN } from "./tokens-qLtFu3nT.js";
|
|
13
|
+
import { p as getGlobalHookRunner, s as shouldSuppressReasoningPayload } from "./reply-payloads-MIecsqo-.js";
|
|
14
14
|
import { m as resolveStorePath } from "./chat-envelope-el7Uo-Fe.js";
|
|
15
|
-
import { X as resolveMainSessionKey, d as deliveryContextFromSession, f as mergeDeliveryContext, n as loadSessionStore, p as normalizeDeliveryContext } from "./store-
|
|
16
|
-
import { n as callGateway } from "./call-
|
|
15
|
+
import { X as resolveMainSessionKey, d as deliveryContextFromSession, f as mergeDeliveryContext, n as loadSessionStore, p as normalizeDeliveryContext } from "./store-BsEwlSm1.js";
|
|
16
|
+
import { n as callGateway } from "./call-EndUQoN2.js";
|
|
17
17
|
import { r as CommandLane, s as onAgentEvent, t as AGENT_LANE_NESTED } from "./lanes-ByWMUgrz.js";
|
|
18
|
-
import { a as resolveEffectiveMessagesConfig, n as resolveResponsePrefixTemplate } from "./response-prefix-template-
|
|
18
|
+
import { a as resolveEffectiveMessagesConfig, n as resolveResponsePrefixTemplate } from "./response-prefix-template-CSxp9HN5.js";
|
|
19
19
|
import fs from "node:fs";
|
|
20
20
|
import os from "node:os";
|
|
21
21
|
import path from "node:path";
|
|
@@ -1974,7 +1974,7 @@ async function routeReply(params) {
|
|
|
1974
1974
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
1975
1975
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
1976
1976
|
try {
|
|
1977
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
1977
|
+
const { deliverOutboundPayloads } = await import("./deliver-wTlFm59G.js").then((n) => n.n);
|
|
1978
1978
|
return {
|
|
1979
1979
|
ok: true,
|
|
1980
1980
|
messageId: (await deliverOutboundPayloads({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import path from "node:path";
|
|
2
|
-
import
|
|
2
|
+
import fsSync from "node:fs";
|
|
3
3
|
import os from "node:os";
|
|
4
4
|
import chalk, { Chalk } from "chalk";
|
|
5
5
|
import { Logger } from "tslog";
|
|
@@ -97,10 +97,10 @@ function resolveStateDir(env = process.env, homedir = envHomedir(env)) {
|
|
|
97
97
|
if (override) return resolveUserPath$1(override, env, effectiveHomedir);
|
|
98
98
|
const newDir = newStateDir(effectiveHomedir);
|
|
99
99
|
const legacyDirs = legacyStateDirs(effectiveHomedir);
|
|
100
|
-
if (
|
|
100
|
+
if (fsSync.existsSync(newDir)) return newDir;
|
|
101
101
|
const existingLegacy = legacyDirs.find((dir) => {
|
|
102
102
|
try {
|
|
103
|
-
return
|
|
103
|
+
return fsSync.existsSync(dir);
|
|
104
104
|
} catch {
|
|
105
105
|
return false;
|
|
106
106
|
}
|
|
@@ -139,7 +139,7 @@ function resolveCanonicalConfigPath(env = process.env, stateDir = resolveStateDi
|
|
|
139
139
|
function resolveConfigPathCandidate(env = process.env, homedir = envHomedir(env)) {
|
|
140
140
|
const existing = resolveDefaultConfigCandidates(env, homedir).find((candidate) => {
|
|
141
141
|
try {
|
|
142
|
-
return
|
|
142
|
+
return fsSync.existsSync(candidate);
|
|
143
143
|
} catch {
|
|
144
144
|
return false;
|
|
145
145
|
}
|
|
@@ -156,7 +156,7 @@ function resolveConfigPath(env = process.env, stateDir = resolveStateDir(env, en
|
|
|
156
156
|
const stateOverride = env.REMOTECLAW_STATE_DIR?.trim();
|
|
157
157
|
const existing = [path.join(stateDir, CONFIG_FILENAME), ...LEGACY_CONFIG_FILENAMES.map((name) => path.join(stateDir, name))].find((candidate) => {
|
|
158
158
|
try {
|
|
159
|
-
return
|
|
159
|
+
return fsSync.existsSync(candidate);
|
|
160
160
|
} catch {
|
|
161
161
|
return false;
|
|
162
162
|
}
|
|
@@ -276,9 +276,9 @@ function isNodeErrorWithCode(err, code) {
|
|
|
276
276
|
return typeof err === "object" && err !== null && "code" in err && err.code === code;
|
|
277
277
|
}
|
|
278
278
|
function resolvePreferredRemoteClawTmpDir(options = {}) {
|
|
279
|
-
const accessSync = options.accessSync ??
|
|
280
|
-
const lstatSync = options.lstatSync ??
|
|
281
|
-
const mkdirSync = options.mkdirSync ??
|
|
279
|
+
const accessSync = options.accessSync ?? fsSync.accessSync;
|
|
280
|
+
const lstatSync = options.lstatSync ?? fsSync.lstatSync;
|
|
281
|
+
const mkdirSync = options.mkdirSync ?? fsSync.mkdirSync;
|
|
282
282
|
const getuid = options.getuid ?? (() => {
|
|
283
283
|
try {
|
|
284
284
|
return typeof process.getuid === "function" ? process.getuid() : void 0;
|
|
@@ -305,7 +305,7 @@ function resolvePreferredRemoteClawTmpDir(options = {}) {
|
|
|
305
305
|
const resolvePreferredState = (requireWritableAccess) => {
|
|
306
306
|
try {
|
|
307
307
|
if (!isTrustedPreferredDir(lstatSync(POSIX_REMOTECLAW_TMP_DIR))) return "invalid";
|
|
308
|
-
if (requireWritableAccess) accessSync(POSIX_REMOTECLAW_TMP_DIR,
|
|
308
|
+
if (requireWritableAccess) accessSync(POSIX_REMOTECLAW_TMP_DIR, fsSync.constants.W_OK | fsSync.constants.X_OK);
|
|
309
309
|
return "available";
|
|
310
310
|
} catch (err) {
|
|
311
311
|
if (isNodeErrorWithCode(err, "ENOENT")) return "missing";
|
|
@@ -316,7 +316,7 @@ function resolvePreferredRemoteClawTmpDir(options = {}) {
|
|
|
316
316
|
if (existingPreferredState === "available") return POSIX_REMOTECLAW_TMP_DIR;
|
|
317
317
|
if (existingPreferredState === "invalid") return fallback();
|
|
318
318
|
try {
|
|
319
|
-
accessSync("/tmp",
|
|
319
|
+
accessSync("/tmp", fsSync.constants.W_OK | fsSync.constants.X_OK);
|
|
320
320
|
mkdirSync(POSIX_REMOTECLAW_TMP_DIR, {
|
|
321
321
|
recursive: true,
|
|
322
322
|
mode: 448
|
|
@@ -333,8 +333,8 @@ function resolvePreferredRemoteClawTmpDir(options = {}) {
|
|
|
333
333
|
function readLoggingConfig() {
|
|
334
334
|
const configPath = resolveConfigPath();
|
|
335
335
|
try {
|
|
336
|
-
if (!
|
|
337
|
-
const raw =
|
|
336
|
+
if (!fsSync.existsSync(configPath)) return;
|
|
337
|
+
const raw = fsSync.readFileSync(configPath, "utf-8");
|
|
338
338
|
const logging = JSON5.parse(raw)?.logging;
|
|
339
339
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
340
340
|
return logging;
|
|
@@ -469,7 +469,7 @@ function isFileLogLevelEnabled(level) {
|
|
|
469
469
|
return levelToMinLevel(level) <= levelToMinLevel(settings.level);
|
|
470
470
|
}
|
|
471
471
|
function buildLogger(settings) {
|
|
472
|
-
|
|
472
|
+
fsSync.mkdirSync(path.dirname(settings.file), { recursive: true });
|
|
473
473
|
if (isRollingPath(settings.file)) pruneOldRollingLogs(path.dirname(settings.file));
|
|
474
474
|
let currentFileBytes = getCurrentLogFileBytes(settings.file);
|
|
475
475
|
let warnedAboutSizeCap = false;
|
|
@@ -513,14 +513,14 @@ function resolveMaxLogFileBytes(raw) {
|
|
|
513
513
|
}
|
|
514
514
|
function getCurrentLogFileBytes(file) {
|
|
515
515
|
try {
|
|
516
|
-
return
|
|
516
|
+
return fsSync.statSync(file).size;
|
|
517
517
|
} catch {
|
|
518
518
|
return 0;
|
|
519
519
|
}
|
|
520
520
|
}
|
|
521
521
|
function appendLogLine(file, line) {
|
|
522
522
|
try {
|
|
523
|
-
|
|
523
|
+
fsSync.appendFileSync(file, line, { encoding: "utf8" });
|
|
524
524
|
return true;
|
|
525
525
|
} catch {
|
|
526
526
|
return false;
|
|
@@ -559,14 +559,14 @@ function isRollingPath(file) {
|
|
|
559
559
|
}
|
|
560
560
|
function pruneOldRollingLogs(dir) {
|
|
561
561
|
try {
|
|
562
|
-
const entries =
|
|
562
|
+
const entries = fsSync.readdirSync(dir, { withFileTypes: true });
|
|
563
563
|
const cutoff = Date.now() - MAX_LOG_AGE_MS;
|
|
564
564
|
for (const entry of entries) {
|
|
565
565
|
if (!entry.isFile()) continue;
|
|
566
566
|
if (!entry.name.startsWith(`${LOG_PREFIX}-`) || !entry.name.endsWith(LOG_SUFFIX)) continue;
|
|
567
567
|
const fullPath = path.join(dir, entry.name);
|
|
568
568
|
try {
|
|
569
|
-
if (
|
|
569
|
+
if (fsSync.statSync(fullPath).mtimeMs < cutoff) fsSync.rmSync(fullPath, { force: true });
|
|
570
570
|
} catch {}
|
|
571
571
|
}
|
|
572
572
|
} catch {}
|
|
@@ -574,8 +574,8 @@ function pruneOldRollingLogs(dir) {
|
|
|
574
574
|
|
|
575
575
|
//#endregion
|
|
576
576
|
//#region src/terminal/palette.ts
|
|
577
|
-
const
|
|
578
|
-
accent: "#
|
|
577
|
+
const PALETTE = {
|
|
578
|
+
accent: "#FF5A36",
|
|
579
579
|
accentBright: "#FF7A3D",
|
|
580
580
|
accentDim: "#D14A22",
|
|
581
581
|
info: "#FF8A5B",
|
|
@@ -591,17 +591,17 @@ const hasForceColor = typeof process.env.FORCE_COLOR === "string" && process.env
|
|
|
591
591
|
const baseChalk = process.env.NO_COLOR && !hasForceColor ? new Chalk({ level: 0 }) : chalk;
|
|
592
592
|
const hex = (value) => baseChalk.hex(value);
|
|
593
593
|
const theme = {
|
|
594
|
-
accent: hex(
|
|
595
|
-
accentBright: hex(
|
|
596
|
-
accentDim: hex(
|
|
597
|
-
info: hex(
|
|
598
|
-
success: hex(
|
|
599
|
-
warn: hex(
|
|
600
|
-
error: hex(
|
|
601
|
-
muted: hex(
|
|
602
|
-
heading: baseChalk.bold.hex(
|
|
603
|
-
command: hex(
|
|
604
|
-
option: hex(
|
|
594
|
+
accent: hex(PALETTE.accent),
|
|
595
|
+
accentBright: hex(PALETTE.accentBright),
|
|
596
|
+
accentDim: hex(PALETTE.accentDim),
|
|
597
|
+
info: hex(PALETTE.info),
|
|
598
|
+
success: hex(PALETTE.success),
|
|
599
|
+
warn: hex(PALETTE.warn),
|
|
600
|
+
error: hex(PALETTE.error),
|
|
601
|
+
muted: hex(PALETTE.muted),
|
|
602
|
+
heading: baseChalk.bold.hex(PALETTE.accent),
|
|
603
|
+
command: hex(PALETTE.accentBright),
|
|
604
|
+
option: hex(PALETTE.warn)
|
|
605
605
|
};
|
|
606
606
|
|
|
607
607
|
//#endregion
|
|
@@ -686,7 +686,7 @@ function resolveConfigDir(env = process.env, homedir = os.homedir) {
|
|
|
686
686
|
if (override) return resolveUserPath(override);
|
|
687
687
|
const newDir = path.join(resolveRequiredHomeDir(env, homedir), ".remoteclaw");
|
|
688
688
|
try {
|
|
689
|
-
if (
|
|
689
|
+
if (fsSync.existsSync(newDir)) return newDir;
|
|
690
690
|
} catch {}
|
|
691
691
|
return newDir;
|
|
692
692
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as isVerbose, G as loggingState, J as normalizeLogLevel, R as getChildLogger, U as resolveNodeRequireFromMeta, V as isFileLogLevelEnabled, W as resolveEnvLogLevelOverride, X as readLoggingConfig, _ as resolveUserPath, k as logVerbose, q as levelToMinLevel, z as getLogger } from "./utils-
|
|
1
|
+
import { D as isVerbose, G as loggingState, J as normalizeLogLevel, R as getChildLogger, U as resolveNodeRequireFromMeta, V as isFileLogLevelEnabled, W as resolveEnvLogLevelOverride, X as readLoggingConfig, _ as resolveUserPath, k as logVerbose, q as levelToMinLevel, z as getLogger } from "./utils-C5daYcFn.js";
|
|
2
2
|
import { i as clearActiveProgressLine, n as defaultRuntime } from "./runtime-DJNp29jv.js";
|
|
3
3
|
import { t as stripAnsi } from "./ansi-D04X81yq.js";
|
|
4
4
|
import path from "node:path";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import "./paths-BTaH3rLn.js";
|
|
2
|
-
import { L as theme, T as danger } from "./utils-
|
|
3
|
-
import "./agent-scope-
|
|
4
|
-
import "./subsystem-
|
|
2
|
+
import { L as theme, T as danger } from "./utils-C5daYcFn.js";
|
|
3
|
+
import "./agent-scope-9WY5O-KK.js";
|
|
4
|
+
import "./subsystem-CrJCqjAh.js";
|
|
5
5
|
import { n as defaultRuntime } from "./runtime-DJNp29jv.js";
|
|
6
6
|
import "./ansi-D04X81yq.js";
|
|
7
|
-
import "./message-channel-
|
|
8
|
-
import "./config-
|
|
9
|
-
import "./env-
|
|
7
|
+
import "./message-channel-BlYrtmIp.js";
|
|
8
|
+
import "./config-Dx2muBSJ.js";
|
|
9
|
+
import "./env-Br2Bl6Ht.js";
|
|
10
10
|
import "./host-env-security-Bms2_EMV.js";
|
|
11
|
-
import "./inbound-path-policy-
|
|
11
|
+
import "./inbound-path-policy-C_Qo8rqg.js";
|
|
12
12
|
import "./env-vars-CLGbxdpL.js";
|
|
13
|
-
import "./logger-
|
|
13
|
+
import "./logger-pznB_IdT.js";
|
|
14
14
|
import "./ip-C9q3Oq20.js";
|
|
15
|
-
import "./call-
|
|
15
|
+
import "./call-EndUQoN2.js";
|
|
16
16
|
import "./net-D6D0wgcF.js";
|
|
17
17
|
import "./tailnet-PnMrjwGT.js";
|
|
18
|
-
import { t as formatDocsLink } from "./links-
|
|
19
|
-
import "./progress
|
|
20
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
18
|
+
import { t as formatDocsLink } from "./links-Cm43Vcft.js";
|
|
19
|
+
import "./progress--dapuyZA.js";
|
|
20
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-BxH8V6gB.js";
|
|
21
21
|
|
|
22
22
|
//#region src/cli/system-cli.ts
|
|
23
23
|
const normalizeWakeMode = (raw) => {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { Ct as theme, _ as defaultRuntime, dt as danger } from "./entry.js";
|
|
2
|
-
import "./config-
|
|
2
|
+
import "./config-CKjn6ORX.js";
|
|
3
3
|
import "./host-env-security-szwfmhC4.js";
|
|
4
4
|
import "./inbound-path-policy-sdr5Ji0k.js";
|
|
5
5
|
import "./env-vars-7aZqKPhk.js";
|
|
6
6
|
import "./agent-scope-C50VuLKh.js";
|
|
7
7
|
import "./message-channel-uWMAiywE.js";
|
|
8
|
-
import "./call-
|
|
8
|
+
import "./call-C1c3rcy7.js";
|
|
9
9
|
import "./net-Cg8AQeke.js";
|
|
10
10
|
import "./logger-BWMPnILd.js";
|
|
11
11
|
import "./ip-D0zgNmBV.js";
|
|
12
12
|
import "./tailnet-CEudzG0i.js";
|
|
13
13
|
import { t as formatDocsLink } from "./links-Bz4V7R_p.js";
|
|
14
14
|
import "./progress-C1kUfYL-.js";
|
|
15
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
15
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-CMsfRKML.js";
|
|
16
16
|
|
|
17
17
|
//#region src/cli/system-cli.ts
|
|
18
18
|
const normalizeWakeMode = (raw) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { F as colorize, I as isRich, L as theme } from "./utils-
|
|
2
|
-
import { n as runExec, t as runCommandWithTimeout } from "./exec-
|
|
1
|
+
import { F as colorize, I as isRich, L as theme } from "./utils-C5daYcFn.js";
|
|
2
|
+
import { n as runExec, t as runCommandWithTimeout } from "./exec-C6ACg_Mn.js";
|
|
3
3
|
import { d as resolveGatewaySystemdServiceName, i as LEGACY_GATEWAY_SYSTEMD_SERVICE_NAMES, l as resolveGatewayProfileSuffix, u as resolveGatewayServiceDescription } from "./constants-C9WPAluB.js";
|
|
4
4
|
import os from "node:os";
|
|
5
5
|
import path from "node:path";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { t as note } from "./note-
|
|
3
|
-
import { d as enableSystemdUserLinger, f as readSystemdUserLingerStatus, r as isSystemdUserServiceAvailable } from "./systemd-
|
|
2
|
+
import { t as note } from "./note-DR8A0G5H.js";
|
|
3
|
+
import { d as enableSystemdUserLinger, f as readSystemdUserLingerStatus, r as isSystemdUserServiceAvailable } from "./systemd-B5lyaCc3.js";
|
|
4
4
|
|
|
5
5
|
//#region src/commands/systemd-linger.ts
|
|
6
6
|
var systemd_linger_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { k as logVerbose } from "./utils-
|
|
2
|
-
import { n as runExec } from "./exec-
|
|
1
|
+
import { k as logVerbose } from "./utils-C5daYcFn.js";
|
|
2
|
+
import { n as runExec } from "./exec-C6ACg_Mn.js";
|
|
3
3
|
import { existsSync } from "node:fs";
|
|
4
4
|
|
|
5
5
|
//#region src/infra/tailscale.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { R as resolveDiscordAccount, z as normalizeDiscordToken } from "./media-
|
|
1
|
+
import { R as resolveDiscordAccount, z as normalizeDiscordToken } from "./media-BrtsoHDf.js";
|
|
2
2
|
import { i as parseTargetPrefixes, n as ensureTargetId, r as parseTargetMention, t as buildMessagingTarget } from "./targets-BMenhVHg.js";
|
|
3
|
-
import { t as resolveFetch } from "./fetch-
|
|
4
|
-
import { n as retryAsync, t as resolveRetryConfig } from "./retry-
|
|
3
|
+
import { t as resolveFetch } from "./fetch-BFuS-EfP.js";
|
|
4
|
+
import { n as retryAsync, t as resolveRetryConfig } from "./retry-D_-vU9CD.js";
|
|
5
5
|
|
|
6
6
|
//#region src/discord/api.ts
|
|
7
7
|
const DISCORD_API_BASE = "https://discord.com/api/v10";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import path from "node:path";
|
|
2
|
-
import
|
|
3
|
-
import fs
|
|
2
|
+
import fsSync from "node:fs";
|
|
3
|
+
import fs from "node:fs/promises";
|
|
4
4
|
|
|
5
5
|
//#region src/shared/pid-alive.ts
|
|
6
6
|
/**
|
|
@@ -10,7 +10,7 @@ import fs$1 from "node:fs/promises";
|
|
|
10
10
|
function isZombieProcess(pid) {
|
|
11
11
|
if (process.platform !== "linux") return false;
|
|
12
12
|
try {
|
|
13
|
-
return
|
|
13
|
+
return fsSync.readFileSync(`/proc/${pid}/status`, "utf8").match(/^State:\s+(\S)/m)?.[1] === "Z";
|
|
14
14
|
} catch {
|
|
15
15
|
return false;
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { C as resolveDiscordAccount, w as normalizeDiscordToken } from "./plugins-
|
|
1
|
+
import { C as resolveDiscordAccount, w as normalizeDiscordToken } from "./plugins-BXkDApVh.js";
|
|
2
2
|
import { a as requireTargetKind, i as parseTargetPrefixes, n as ensureTargetId, r as parseTargetMention, t as buildMessagingTarget } from "./targets-C-2xwh9f.js";
|
|
3
3
|
import { t as resolveFetch } from "./fetch-C6XKGA11.js";
|
|
4
|
-
import { n as retryAsync, t as resolveRetryConfig } from "./retry-
|
|
4
|
+
import { n as retryAsync, t as resolveRetryConfig } from "./retry-CxXVRdes.js";
|
|
5
5
|
|
|
6
6
|
//#region src/channels/channel-config.ts
|
|
7
7
|
function applyChannelMatchMeta(result, match) {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { h as normalizeVerboseLevel } from "./agent-helpers-
|
|
2
|
-
import { h as normalizeAnyChannelId } from "./subsystem-
|
|
1
|
+
import { h as normalizeVerboseLevel } from "./agent-helpers-D_9mS2Ti.js";
|
|
2
|
+
import { h as normalizeAnyChannelId } from "./subsystem-CrJCqjAh.js";
|
|
3
3
|
import { n as defaultRuntime } from "./runtime-DJNp29jv.js";
|
|
4
4
|
import { h as normalizeAccountId, v as deriveSessionChatType } from "./session-key-5YLnn_qf.js";
|
|
5
5
|
import { a as normalizeProviderId } from "./provider-utils-FaBmofiq.js";
|
|
6
|
-
import { c as normalizeMessageChannel, n as isDeliverableMessageChannel, t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-
|
|
7
|
-
import { t as parseDiscordTarget } from "./targets-
|
|
8
|
-
import { t as getChannelDock } from "./dock-
|
|
6
|
+
import { c as normalizeMessageChannel, n as isDeliverableMessageChannel, t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-BlYrtmIp.js";
|
|
7
|
+
import { t as parseDiscordTarget } from "./targets-Cm1X3IyA.js";
|
|
8
|
+
import { t as getChannelDock } from "./dock-O8ArYwed.js";
|
|
9
9
|
import { t as normalizeChatType } from "./chat-type-DKb2TlGZ.js";
|
|
10
10
|
import { t as formatCliCommand } from "./command-format-DgXcqxBt.js";
|
|
11
|
-
import { a as ensureAuthProfileStore, r as listProfilesForProvider } from "./auth-profiles-
|
|
12
|
-
import { a as isWhatsAppGroupJid, o as normalizeWhatsAppTarget, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
13
|
-
import { t as SILENT_REPLY_TOKEN } from "./tokens-
|
|
14
|
-
import { p as getGlobalHookRunner } from "./reply-payloads-
|
|
11
|
+
import { a as ensureAuthProfileStore, r as listProfilesForProvider } from "./auth-profiles-CeDgZz_7.js";
|
|
12
|
+
import { a as isWhatsAppGroupJid, o as normalizeWhatsAppTarget, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-BXkDApVh.js";
|
|
13
|
+
import { t as SILENT_REPLY_TOKEN } from "./tokens-qLtFu3nT.js";
|
|
14
|
+
import { p as getGlobalHookRunner } from "./reply-payloads-MIecsqo-.js";
|
|
15
15
|
import { t as parseSlackTarget } from "./targets-DyybKefq.js";
|
|
16
|
-
import { d as deliveryContextFromSession, l as updateSessionStore } from "./store-
|
|
16
|
+
import { d as deliveryContextFromSession, l as updateSessionStore } from "./store-BsEwlSm1.js";
|
|
17
17
|
import { i as resolveTelegramTargetChatType, r as parseTelegramTarget } from "./targets-D-qLBpTA.js";
|
|
18
18
|
import { n as missingTargetError } from "./target-errors-BDpPcwh5.js";
|
|
19
19
|
import { homedir, tmpdir } from "node:os";
|
|
@@ -5,14 +5,14 @@ import { a as normalizeProviderId } from "./provider-utils-3JTMJroG.js";
|
|
|
5
5
|
import { h as normalizeAccountId, v as deriveSessionChatType } from "./session-key-C2n-VILA.js";
|
|
6
6
|
import { t as getChannelDock } from "./dock-BqNINg7k.js";
|
|
7
7
|
import { c as normalizeMessageChannel, n as isDeliverableMessageChannel, t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-uWMAiywE.js";
|
|
8
|
-
import { g as updateSessionStore, y as deliveryContextFromSession } from "./sessions
|
|
8
|
+
import { g as updateSessionStore, y as deliveryContextFromSession } from "./sessions-BntNl3-l.js";
|
|
9
9
|
import { t as normalizeChatType } from "./chat-type-CYPyHAj-.js";
|
|
10
10
|
import { a as isWhatsAppGroupJid, o as normalizeWhatsAppTarget, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-BflZz0sp.js";
|
|
11
11
|
import { t as parseSlackTarget } from "./targets-CmC5m7Ey.js";
|
|
12
12
|
import { t as parseDiscordTarget } from "./targets-D7OKVXMI.js";
|
|
13
13
|
import { c as normalizeVerboseLevel } from "./agent-helpers-CTx5KKJu.js";
|
|
14
14
|
import { t as SILENT_REPLY_TOKEN } from "./tokens-B-jmvNR9.js";
|
|
15
|
-
import { t as getGlobalHookRunner } from "./hook-runner-global-
|
|
15
|
+
import { t as getGlobalHookRunner } from "./hook-runner-global-BSklbS52.js";
|
|
16
16
|
import { n as missingTargetError } from "./target-errors-DdIAPcMM.js";
|
|
17
17
|
import { i as resolveTelegramTargetChatType, r as parseTelegramTarget } from "./targets-UncQvCVs.js";
|
|
18
18
|
import { spawn } from "node:child_process";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { y as shortenHomeInString } from "./utils-
|
|
2
|
-
import { r as redactToolDetail } from "./redact-
|
|
1
|
+
import { y as shortenHomeInString } from "./utils-C5daYcFn.js";
|
|
2
|
+
import { r as redactToolDetail } from "./redact-BsoXOV1y.js";
|
|
3
3
|
|
|
4
4
|
//#region src/agents/tool-display-common.ts
|
|
5
5
|
function asRecord(args) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-CrJCqjAh.js";
|
|
2
|
+
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-DRdKC0uO.js";
|
|
3
3
|
|
|
4
4
|
//#region src/media/base64.ts
|
|
5
5
|
function estimateBase64DecodedBytes(base64) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Z as resolvePreferredRemoteClawTmpDir } from "./utils-
|
|
2
|
-
import { n as runExec } from "./exec-
|
|
1
|
+
import { Z as resolvePreferredRemoteClawTmpDir } from "./utils-C5daYcFn.js";
|
|
2
|
+
import { n as runExec } from "./exec-C6ACg_Mn.js";
|
|
3
3
|
import { n as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-DkBhNAc3.js";
|
|
4
4
|
import { t as generateSecureToken } from "./secure-random-CS2mSdTn.js";
|
|
5
5
|
import fs from "node:fs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { h as visibleWidth, m as stripAnsi$1 } from "./entry.js";
|
|
2
2
|
import { C as parseAgentSessionKey, c as normalizeMainKey, r as buildAgentMainSessionKey, s as normalizeAgentId } from "./session-key-C2n-VILA.js";
|
|
3
|
-
import { i as loadConfig } from "./config-
|
|
3
|
+
import { i as loadConfig } from "./config-CKjn6ORX.js";
|
|
4
4
|
import { r as VERSION } from "./env-vars-7aZqKPhk.js";
|
|
5
5
|
import { s as resolveDefaultAgentId } from "./agent-scope-C50VuLKh.js";
|
|
6
6
|
import { f as GATEWAY_CLIENT_MODES, p as GATEWAY_CLIENT_NAMES, u as GATEWAY_CLIENT_CAPS } from "./message-channel-uWMAiywE.js";
|
|
7
7
|
import { n as stripLeadingInboundMetadata } from "./strip-inbound-meta-DjKcSFaW.js";
|
|
8
|
-
import { At as PROTOCOL_VERSION, f as GatewayClient, i as ensureExplicitGatewayAuth, o as resolveExplicitGatewayAuth, t as buildGatewayConnectionDetails } from "./call-
|
|
8
|
+
import { At as PROTOCOL_VERSION, f as GatewayClient, i as ensureExplicitGatewayAuth, o as resolveExplicitGatewayAuth, t as buildGatewayConnectionDetails } from "./call-C1c3rcy7.js";
|
|
9
9
|
import { f as formatRawAssistantErrorForUi, l as resolveResponseUsageMode, r as listThinkingLevelLabels, s as normalizeUsageDisplay, t as formatThinkingLevels } from "./agent-helpers-CTx5KKJu.js";
|
|
10
10
|
import { n as resolveToolDisplay, t as formatToolDetail } from "./tool-display-Br6mwaJc.js";
|
|
11
11
|
import { a as listChatCommandsForConfig, i as listChatCommands } from "./commands-registry-CWJv6xe2.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { c as formatThinkingLevels, g as resolveResponseUsageMode, m as normalizeUsageDisplay, n as formatRawAssistantErrorForUi, u as listThinkingLevelLabels } from "./agent-helpers-
|
|
2
|
-
import { s as resolveDefaultAgentId } from "./agent-scope-
|
|
1
|
+
import { c as formatThinkingLevels, g as resolveResponseUsageMode, m as normalizeUsageDisplay, n as formatRawAssistantErrorForUi, u as listThinkingLevelLabels } from "./agent-helpers-D_9mS2Ti.js";
|
|
2
|
+
import { s as resolveDefaultAgentId } from "./agent-scope-9WY5O-KK.js";
|
|
3
3
|
import { n as visibleWidth, t as stripAnsi$1 } from "./ansi-D04X81yq.js";
|
|
4
4
|
import { C as parseAgentSessionKey, c as normalizeMainKey, r as buildAgentMainSessionKey, s as normalizeAgentId } from "./session-key-5YLnn_qf.js";
|
|
5
|
-
import { f as GATEWAY_CLIENT_MODES, p as GATEWAY_CLIENT_NAMES, u as GATEWAY_CLIENT_CAPS } from "./message-channel-
|
|
6
|
-
import { i as loadConfig } from "./config-
|
|
5
|
+
import { f as GATEWAY_CLIENT_MODES, p as GATEWAY_CLIENT_NAMES, u as GATEWAY_CLIENT_CAPS } from "./message-channel-BlYrtmIp.js";
|
|
6
|
+
import { i as loadConfig } from "./config-Dx2muBSJ.js";
|
|
7
7
|
import { r as VERSION } from "./env-vars-CLGbxdpL.js";
|
|
8
|
-
import { a as listChatCommandsForConfig, i as listChatCommands } from "./commands-registry-
|
|
8
|
+
import { a as listChatCommandsForConfig, i as listChatCommands } from "./commands-registry-BvESmXoK.js";
|
|
9
9
|
import { n as stripLeadingInboundMetadata } from "./strip-inbound-meta-jy3bkUab.js";
|
|
10
10
|
import { n as formatTimeAgo, t as formatRelativeTimestamp } from "./format-relative-79_Y1n2Y.js";
|
|
11
11
|
import { n as formatTokenCount } from "./usage-format-DAaPzr_z.js";
|
|
12
|
-
import { At as PROTOCOL_VERSION, f as GatewayClient, i as ensureExplicitGatewayAuth, o as resolveExplicitGatewayAuth, t as buildGatewayConnectionDetails } from "./call-
|
|
13
|
-
import { n as resolveToolDisplay, t as formatToolDetail } from "./tool-display-
|
|
12
|
+
import { At as PROTOCOL_VERSION, f as GatewayClient, i as ensureExplicitGatewayAuth, o as resolveExplicitGatewayAuth, t as buildGatewayConnectionDetails } from "./call-EndUQoN2.js";
|
|
13
|
+
import { n as resolveToolDisplay, t as formatToolDetail } from "./tool-display-B-nr7cSF.js";
|
|
14
14
|
import chalk from "chalk";
|
|
15
15
|
import { randomUUID } from "node:crypto";
|
|
16
16
|
import { spawn } from "node:child_process";
|