remoteclaw 0.1.0-next.af48e6c → 0.1.0-next.c08a834
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -7
- package/dist/{accounts-BpVM0wEK.js → accounts-Bpk-loA6.js} +3 -3
- package/dist/{accounts-30LITcc6.js → accounts-DAdUdbPk.js} +3 -3
- package/dist/{accounts-D14FruTh.js → accounts-DkbkxEJg.js} +1 -1
- package/dist/{accounts-DHvdEOcY.js → accounts-WYyfAiie.js} +3 -3
- package/dist/{ack-reactions-BEY8wFma.js → ack-reactions-Cz2G8Xev.js} +3 -3
- package/dist/{ack-reactions-CXzFMDcZ.js → ack-reactions-N0AqCMiF.js} +1 -1
- package/dist/{acp-cli-BzgC1VAp.js → acp-cli-COqYnNbK.js} +13 -13
- package/dist/{active-listener-CEPfK9N0.js → active-listener--FT8ewxl.js} +2 -2
- package/dist/{agent-BRog2jBp.js → agent-BSzYCdwa.js} +3 -3
- package/dist/{agent-Cy3l7SjG.js → agent-DJuew7FU.js} +21 -21
- package/dist/{agent-scope-ChvzrYZF.js → agent-scope-BMX7CxKP.js} +1 -1
- package/dist/{agents-3UliNPNH.js → agents-BacxxK04.js} +12 -12
- package/dist/{agents.config-KasSBHzN.js → agents.config-5rW4EyL0.js} +2 -2
- package/dist/{audio-DHLlHBBF.js → audio-B85HoT7E.js} +1 -1
- package/dist/{audio-preflight-DX6AT-HW.js → audio-preflight-Brs6mgnU.js} +14 -14
- package/dist/{audio-preflight-DDZl-xKI.js → audio-preflight-wfYrE34a.js} +2 -2
- package/dist/{audit-B3s1mK-s.js → audit-B40BGdpz.js} +18 -18
- package/dist/{auth-CF8mVzpy.js → auth-Bq44qPUd.js} +4 -4
- package/dist/{auth-profiles-BthPA5Xz.js → auth-CVfoI--S.js} +10 -10
- package/dist/{auth-profiles-BquJGKLC.js → auth-DTWpZJ1a.js} +14 -14
- package/dist/{banner-DuQ_HaqL.js → banner-BCOpADd4.js} +1 -1
- package/dist/{bindings-Dw_c8A_B.js → bindings-CCSVc5_4.js} +2 -2
- package/dist/{bonjour-discovery-BzHKTBN_.js → bonjour-discovery-D8aOnk3M.js} +2 -2
- package/dist/boot/handler.js +16 -16
- package/dist/{browser-cli-CVYfRwxD.js → browser-cli-inAt_lP4.js} +20 -20
- package/dist/build-info.json +3 -3
- package/dist/{call-CohCLemA.js → call-BcV-EXIJ.js} +9 -9
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{catalog-CM8Hvq41.js → catalog-CtU3k4T7.js} +1 -1
- package/dist/{channel-account-context-g8OaWBpJ.js → channel-account-context-Las-t6RP.js} +4 -4
- package/dist/{channel-activity-gPCEjgFw.js → channel-activity-BD603ehL.js} +1 -1
- package/dist/{channel-options--k64aBn8.js → channel-options-CoF4UNRA.js} +1 -1
- package/dist/{channel-options-CqVzaX-L.js → channel-options-D3Ta7b-w.js} +3 -3
- package/dist/{channel-selection-BAfz6DO4.js → channel-selection-RpWw738I.js} +2 -2
- package/dist/{channel-web-DAHXECnn.js → channel-web-CU-Mrpyk.js} +27 -27
- package/dist/{channel-web-DSDsY-9m.js → channel-web-CenNVvlq.js} +5 -5
- package/dist/{channels-cli-BtG8bBXz.js → channels-cli-CiJpAHBk.js} +12 -12
- package/dist/{channels-cli-DVng3Vqa.js → channels-cli-Da5fz_IM.js} +92 -92
- package/dist/{channels-status-issues-BAaAC-73.js → channels-status-issues-CoQjVjA9.js} +1 -1
- package/dist/{chat-envelope-ED3UtIMo.js → chat-envelope-vJJUdDE7.js} +1 -1
- package/dist/{chrome-CWXyQzrU.js → chrome-DMcFmk5T.js} +4 -4
- package/dist/{chunk-BnI6YyJI.js → chunk-D7VX4pmT.js} +3 -3
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-BmhoVHS0.js → cli-0ech6nGt.js} +8 -8
- package/dist/cli-CL8mLM6d.js +126 -0
- package/dist/{clipboard-CmCmNZJA.js → clipboard-Ne8gaWea.js} +1 -1
- package/dist/{command-format-CVfo8I5f.js → command-format-KkslAzwV.js} +1 -1
- package/dist/{command-registry-Xzf2YTXt.js → command-registry-DvyJ8nwU.js} +11 -11
- package/dist/{commands-AocCCVN9.js → commands-MTVV9l1C.js} +1 -1
- package/dist/{commands-registry-CDE4S-Ny.js → commands-registry-CcztJKGD.js} +2 -2
- package/dist/{common-D4fL3S2m.js → common-De-Lakuh.js} +1 -1
- package/dist/{completion-cli-Hxx0v7g9.js → completion-cli-CDqDOt96.js} +1 -1
- package/dist/{completion-cli-f628FQBa.js → completion-cli-CvB8oER7.js} +2 -2
- package/dist/{config-BUm8Wb7U.js → config-B28_CeSd.js} +7 -7
- package/dist/{config-cli-DZTwyR7J.js → config-cli-BtQlwyMo.js} +10 -10
- package/dist/{config-cli-DDV2F9_k.js → config-cli-Bv9icstM.js} +1 -1
- package/dist/{config-guard-BMkkbuVh.js → config-guard-Cc2Nlhja.js} +3 -3
- package/dist/{config-validation-CVFqW6ZL.js → config-validation-BYacznUG.js} +2 -2
- package/dist/{configure-B12SjIrm.js → configure-CF_zO9pi.js} +14 -14
- package/dist/{configure-DjKRFjlk.js → configure-DEzhGDHF.js} +3 -3
- package/dist/{control-auth-DfYD2FFV.js → control-auth-C9XxKjDt.js} +3 -3
- package/dist/{control-ui-assets-JwJWvpmJ.js → control-ui-assets-eJU2-yvs.js} +1 -1
- package/dist/{conversation-label-C3GZ0Hvg.js → conversation-label-L0QTtKji.js} +1 -1
- package/dist/{cron-cli-D3h6SMbr.js → cron-cli-H-qoAXil.js} +17 -17
- package/dist/{daemon-cli-CDsB-NJr.js → daemon-cli-B9ycnYqW.js} +15 -15
- package/dist/{daemon-install-CgRptkuj.js → daemon-install-BkUJbdPC.js} +8 -8
- package/dist/{daemon-install-helpers-tI3LNGmn.js → daemon-install-helpers-B9kMxC1v.js} +2 -2
- package/dist/{deliver-BuIiDbyF.js → deliver-B5zs9CyG.js} +9 -9
- package/dist/{delivery-queue-BU0vEhI7.js → delivery-queue-BZc3AiGu.js} +1 -1
- package/dist/{devices-cli-DOiWP5Lv.js → devices-cli-Chh5zPln.js} +12 -12
- package/dist/{diagnostics-CoOvTybf.js → diagnostics-G-C-IuxO.js} +1 -1
- package/dist/{directory-cli-Bpk0n_pn.js → directory-cli-ZYbtUvt5.js} +12 -12
- package/dist/{dm-policy-shared-CrR9qEmE.js → dm-policy-shared-CNXjWkpd.js} +2 -2
- package/dist/{dns-cli-CDAWk3Ai.js → dns-cli-BDk6rlDM.js} +8 -8
- package/dist/{dock-hOZRwZdg.js → dock-DeKxU2Ii.js} +6 -6
- package/dist/{doctor-completion-CLtp0loc.js → doctor-completion-BKBA92fy.js} +2 -2
- package/dist/{doctor-completion-BXCJvaZK.js → doctor-completion-CY4LAE7v.js} +1 -1
- package/dist/{doctor-config-flow-C4hLyBVO.js → doctor-config-flow-DsS2DBsv.js} +10 -10
- package/dist/entry.js +1 -1
- package/dist/{env-vars-7aZqKPhk.js → env-vars-C8WMB8Ix.js} +1 -1
- package/dist/{errors-BgDF3qYW.js → errors-DdLfwEVi.js} +1 -1
- package/dist/{exec-epNpA1aU.js → exec-ClUTXFZ9.js} +1 -1
- package/dist/extensionAPI.js +812 -0
- package/dist/{fetch-DfIkzQUf.js → fetch-CID1NCdB.js} +1 -1
- package/dist/{fetch-fOrZVrWM.js → fetch-JBWLkOpL.js} +1 -1
- package/dist/{file-lock-CzBL_VIx.js → file-lock-Ks-RPU6W.js} +1 -1
- package/dist/{fs-safe-vm3JMUkq.js → fs-safe-ACrBwOF5.js} +2 -2
- package/dist/{gateway-cli-5gASykcL.js → gateway-cli-ClvTqFIg.js} +130 -130
- package/dist/{gateway-cli-B0NxXUxl.js → gateway-cli-CrRK2SoE.js} +14 -14
- package/dist/{gateway-rpc-B7TMpGFq.js → gateway-rpc-BUqE2Cs-.js} +2 -2
- package/dist/{gmail-setup-utils-BiAFns2B.js → gmail-setup-utils-DNZEf6T0.js} +1 -1
- package/dist/{health-BMfnqoKq.js → health-CvHIbolI.js} +3 -3
- package/dist/{health-Cmq27lbn.js → health-DzVb3WUg.js} +18 -18
- package/dist/{heartbeat-visibility-mczDYYOV.js → heartbeat-visibility-BTAmCP8q.js} +1 -1
- package/dist/{heartbeat-visibility-B10kk-pL.js → heartbeat-visibility-D-aT7nVh.js} +1 -1
- package/dist/{helpers-KBPemNFc.js → helpers-B4NWktS8.js} +1 -1
- package/dist/{hook-runner-global-BovPiPa6.js → hook-runner-global-COu5VC9e.js} +5 -5
- package/dist/{hooks-cli-LbNp5CWM.js → hooks-cli-CHcthLR7.js} +9 -9
- package/dist/{hooks-cli-CzTEcWLb.js → hooks-cli-czDUoE6P.js} +80 -80
- package/dist/{image-ops-CX41n0v5.js → image-ops-DpkTOzhI.js} +1 -1
- package/dist/{import-JodIEzIv.js → import-zFT8k_7D.js} +1 -1
- package/dist/{inbound-context-CAzQxQtq.js → inbound-context-oxIWzEgc.js} +2 -2
- package/dist/index.js +13 -13
- package/dist/{inspect-BDXWakA7.js → inspect-rHjRqr3W.js} +5 -5
- package/dist/{installs-CfDHada0.js → installs-DK8mhf7T.js} +2 -2
- package/dist/{ipv4-DDgs6ytC.js → ipv4-DdcyK1aU.js} +1 -1
- package/dist/{json-files-C5bxubhJ.js → json-files-BiA_B-xm.js} +1 -1
- package/dist/{loader-By6P4yfN.js → loader-BmtFKEEP.js} +10 -10
- package/dist/{loader-D8io_9Yt.js → loader-DHxMJzZ9.js} +79 -79
- package/dist/{local-roots-C7KW0jgo.js → local-roots-BsunZzcF.js} +5 -5
- package/dist/{login-DLke8yQW.js → login-BlJgninR.js} +5 -5
- package/dist/{login-qr-vKY94dbO.js → login-qr-s48KIWsS.js} +9 -9
- package/dist/{logs-cli-eQN9lMvW.js → logs-cli-BHsShOS7.js} +14 -14
- package/dist/{markdown-tables-Dn-L8rCn.js → markdown-tables-BQ2nHOZ3.js} +3 -3
- package/dist/{media-MKJOqwdz.js → media-DWOFHREi.js} +5 -5
- package/dist/{media-CL_yeclZ.js → media-E49GAd9O.js} +1822 -1822
- package/dist/{message-action-names-Di_-rPkD.js → message-action-names-CeF9LmpO.js} +25 -25
- package/dist/{message-action-names-DczDEmuo.js → message-action-names-d2kFSWat.js} +2 -2
- package/dist/{net-DSkFMHJ8.js → net-QZ8IHNXc.js} +2 -2
- package/dist/{nodes-cli-Dqv-90u9.js → nodes-cli-Cp-QuU-H.js} +15 -15
- package/dist/{nodes-screen-BiuzHdI4.js → nodes-screen-C_K1vcS5.js} +2 -2
- package/dist/{npm-registry-spec-Bty3ngWa.js → npm-registry-spec-Dma0KHft.js} +4 -4
- package/dist/{npm-resolution-D7iZ7eZM.js → npm-resolution-D6gZbxWc.js} +3 -3
- package/dist/{npm-resolution-BpTUHAdA.js → npm-resolution-b1UFXu5G.js} +1 -1
- package/dist/{onboard-XqIV6DXQ.js → onboard-BnFWuwOZ.js} +7 -7
- package/dist/{onboard-COf1x4DU.js → onboard-DQeSXFAd.js} +3 -3
- package/dist/{onboard-channels-CvxPsRTI.js → onboard-channels-C4o1K5tb.js} +19 -19
- package/dist/{onboard-channels-COIff1Ew.js → onboard-channels-DUb6sX85.js} +2 -2
- package/dist/{onboard-helpers-BHK_dD4a.js → onboard-helpers-f6NdcKKu.js} +10 -10
- package/dist/{onboard-remote-tezdXuQh.js → onboard-remote-BBl_YkQl.js} +3 -3
- package/dist/{onboarding-D97GNTI_.js → onboarding-B6bui43n.js} +10 -10
- package/dist/{onboarding-CMSiSCMa.js → onboarding-D5GWAgh0.js} +3 -3
- package/dist/{onboarding.finalize-l0yU_H0A.js → onboarding.finalize-92xPLRhb.js} +77 -77
- package/dist/{onboarding.finalize-ChXqGm0R.js → onboarding.finalize-B5tldmoG.js} +8 -8
- package/dist/{onboarding.gateway-config-BcE5Sdq7.js → onboarding.gateway-config-CzoIzW7O.js} +25 -25
- package/dist/{outbound-D4O9CgJ7.js → outbound-NKjmMTAt.js} +8 -8
- package/dist/{outbound-attachment-IiFdwCgL.js → outbound-attachment-AysIMsLT.js} +2 -2
- package/dist/{outbound-attachment-BojOMpkc.js → outbound-attachment-CGFc61Cu.js} +2 -2
- package/dist/{pairing-cli-CSOPRFBu.js → pairing-cli-Bm1Xpol5.js} +13 -13
- package/dist/{pairing-labels-zMnkGKEu.js → pairing-labels-CoVBHpy7.js} +1 -1
- package/dist/{pairing-store-D5w4e_lA.js → pairing-store-C22u6x0S.js} +2 -2
- package/dist/{path-safety-Rd3p-OTm.js → path-safety-BshBsw4P.js} +1 -1
- package/dist/{plugin-auto-enable-B-Ur_hxV.js → plugin-auto-enable-BvahA4r-.js} +4 -4
- package/dist/{plugin-registry-dS118BDv.js → plugin-registry-BtrUzgoc.js} +3 -3
- package/dist/{plugin-registry-BJx3oahI.js → plugin-registry-C2f7IgXn.js} +1 -1
- package/dist/plugin-sdk/{agents/auth-profiles → auth}/constants.d.ts +1 -1
- package/dist/plugin-sdk/{agents/auth-profiles → auth}/display.d.ts +1 -1
- package/dist/plugin-sdk/{agents/auth-profiles → auth}/doctor.d.ts +1 -1
- package/dist/plugin-sdk/auth/index.d.ts +8 -0
- package/dist/plugin-sdk/{agents/auth-profiles → auth}/oauth.d.ts +1 -1
- package/dist/plugin-sdk/{agents → auth}/provider-auth.d.ts +2 -2
- package/dist/plugin-sdk/{agents/auth-profiles → auth}/session-override.d.ts +2 -2
- package/dist/plugin-sdk/index.js +7 -2
- package/dist/plugin-sdk/middleware/media-resolver.d.ts +12 -0
- package/dist/plugin-sdk/middleware/types.d.ts +29 -1
- package/dist/plugin-sdk/plugins/types.d.ts +1 -1
- package/dist/{plugins-DtwOrTrc.js → plugins-CoQF2Mn8.js} +5 -5
- package/dist/{plugins-cli-Dvr9HQWb.js → plugins-cli-CfCgSPw5.js} +9 -9
- package/dist/{plugins-cli-D_KZhH2y.js → plugins-cli-DYIJgsYQ.js} +80 -80
- package/dist/{ports-BCnXstud.js → ports-DAc2AlZE.js} +3 -3
- package/dist/{program-CIj5lg5I.js → program-CcT_AMot.js} +85 -85
- package/dist/{program-context-DRREig5N.js → program-context-BT8sZ4vo.js} +16 -16
- package/dist/{prompt-select-styled-A4ovVbfI.js → prompt-select-styled-CJjyah_a.js} +5 -5
- package/dist/{prompt-select-styled-C5TwHQhb.js → prompt-select-styled-CbzmybCV.js} +29 -29
- package/dist/{provider-dispatcher-Cv3z7ZC8.js → provider-dispatcher-8luG28-_.js} +7 -7
- package/dist/{provider-dispatcher-CaEzNbWZ.js → provider-dispatcher-zqbTTvgJ.js} +1 -1
- package/dist/{push-apns-BPpKUiKh.js → push-apns-Dj5RApCY.js} +6 -6
- package/dist/{pw-ai--Zu-gRIt.js → pw-ai-Dt-WXbKD.js} +18 -18
- package/dist/{qr-cli-DSnwDC-e.js → qr-cli-BjErpxfG.js} +9 -9
- package/dist/{redact-snapshot-DjzTWg24.js → redact-snapshot-DulwNKvk.js} +1 -1
- package/dist/{register.agent-CtfJJusL.js → register.agent-BbsNxlwf.js} +90 -90
- package/dist/{register.agent-Dj09nreE.js → register.agent-C3CHeZJJ.js} +10 -10
- package/dist/{register.configure-BgmFVejR.js → register.configure-C_Udervk.js} +12 -12
- package/dist/register.configure-DKVv0zvm.js +125 -0
- package/dist/{register.import-8bcyUjTM.js → register.import-CvfC8WEC.js} +4 -4
- package/dist/{register.maintenance-Dx_InJ0X.js → register.maintenance-C1_OqE6N.js} +101 -101
- package/dist/{register.maintenance-C_DqxQme.js → register.maintenance-DnZfAW0j.js} +13 -13
- package/dist/{register.message-nkp9rccW.js → register.message-BPsQbWe4.js} +78 -78
- package/dist/{register.message-CAitBsre.js → register.message-BbrsWDKE.js} +10 -10
- package/dist/{register.onboard-aWsFlJmz.js → register.onboard-BudyHDw-.js} +28 -28
- package/dist/{register.onboard-CUc7HVQm.js → register.onboard-DxEdUMe9.js} +2 -2
- package/dist/{register.setup-4x6iaTB8.js → register.setup-Dd8GyC0p.js} +2 -2
- package/dist/{register.setup-CWu1MCi9.js → register.setup-aTkwgssN.js} +28 -28
- package/dist/{register.status-health-sessions-C9mZxfdu.js → register.status-health-sessions-B_mltfZ-.js} +6 -6
- package/dist/{register.status-health-sessions-D6X63O-L.js → register.status-health-sessions-Dawso2iM.js} +80 -80
- package/dist/{register.subclis-Bpr5eL6A.js → register.subclis-BFpdC8gj.js} +23 -23
- package/dist/{replies-BgiiZoWG.js → replies-BT0AqeiS.js} +3 -3
- package/dist/{reply-BPojAb2I.js → reply-CbVOyFov.js} +50 -49
- package/dist/{reply-Bvl-1ooB.js → reply-DDS-Md0B.js} +4 -3
- package/dist/{reply-directives-Dg-ax8l7.js → reply-directives-BEtoXXTx.js} +3 -3
- package/dist/{reply-prefix-D9vAjxo8.js → reply-prefix-Dg8AeR5o.js} +1 -1
- package/dist/{resolve-route-DpiWOk37.js → resolve-route-CJ2ho1PF.js} +5 -5
- package/dist/{response-prefix-template-hu02Qj27.js → response-prefix-template-BKdV2t4C.js} +1 -1
- package/dist/{run-main-BwP-IIcD.js → run-main-CLj-Mzww.js} +93 -93
- package/dist/{runner-DBvEh3Wx.js → runner-0-otzCQx.js} +3 -3
- package/dist/{runner-BJVXxAHR.js → runner-DzGir1g4.js} +14 -14
- package/dist/{secure-random-CEvvWsIn.js → secure-random-B4cFiPLy.js} +1 -1
- package/dist/{security-cli-BaXX_udn.js → security-cli-DL0ZquFM.js} +31 -31
- package/dist/{send-arJfgNrS.js → send-BkMys_iS.js} +9 -9
- package/dist/{send-B_BKKsCG.js → send-Bn9D22o7.js} +14 -14
- package/dist/{send-HgAUzRGX.js → send-CLeU9aXs.js} +6 -6
- package/dist/{send-BoBSao7-.js → send-CeEulmep.js} +3 -3
- package/dist/{send-CiehYZh7.js → send-CmeuIYYo.js} +6 -6
- package/dist/send-CpCxUvNl.js +11 -0
- package/dist/{send-CriK8VQq.js → send-D3uSaAi4.js} +11 -11
- package/dist/{send-5MHyaMbs.js → send-D9CxYA5R.js} +5 -5
- package/dist/{send-aRc285Y2.js → send-DBXGgEko.js} +7 -7
- package/dist/{send-DoHcAZmG.js → send-DFARmlOD.js} +4 -4
- package/dist/{send-2FSGylak.js → send-DyX11Wcl.js} +3 -3
- package/dist/{server-CmL-19PF.js → server-CVEpsNbe.js} +27 -27
- package/dist/{server-lifecycle-ELVdPjI2.js → server-lifecycle-DpL_tqfU.js} +12 -12
- package/dist/{server-node-events-nCbGzRiM.js → server-node-events-DG0b4kcV.js} +49 -49
- package/dist/{server-node-events-DzrJBzPi.js → server-node-events-DxhWwrD_.js} +3 -3
- package/dist/{service-DZUH7Pj1.js → service-BDt-zUvV.js} +1 -1
- package/dist/{session-BP7j5vg-.js → session-B9KGKVrY.js} +3 -3
- package/dist/{session-cost-usage-CDkVKfut.js → session-cost-usage-DGsPcuMj.js} +2 -2
- package/dist/{session-dirs-Dr-UFSZx.js → session-dirs-DwDxjK1p.js} +3 -3
- package/dist/session-key-BF-9YzxC.js +235 -0
- package/dist/{session-utils-DkRX6gOn.js → session-utils-DJF05KBt.js} +7 -7
- package/dist/{sessions-BC8pxKTk.js → sessions-DExlXuyk.js} +6 -6
- package/dist/{sessions-DQIWBI56.js → sessions-QyutIxq9.js} +13 -13
- package/dist/{shell-env-CjkYRn_s.js → shell-env-hZW9j-Uc.js} +1 -1
- package/dist/{ssrf-DFrg29fe.js → ssrf-D6fl_7ww.js} +1 -1
- package/dist/{status-MkIZmv2W.js → status-DWgKcHyS.js} +25 -25
- package/dist/{status-CckIpIBq.js → status-glXk_4NF.js} +3 -3
- package/dist/{status.update-BTgRdeUi.js → status.update-wXyvcztI.js} +3 -3
- package/dist/{store-B-vP9jyX.js → store-BYhcsOLr.js} +2 -2
- package/dist/{store-CpMmpJi6.js → store-Cp2qgGJL.js} +1 -1
- package/dist/{subagent-registry-Dfpa592k.js → subagent-registry-Fym7Tuh_.js} +16 -16
- package/dist/{system-cli-D-LtzfKv.js → system-cli-fRGbm8Ga.js} +13 -13
- package/dist/{systemd-CFs5k426.js → systemd-BlbIQ1PV.js} +1 -1
- package/dist/{systemd-linger-DXgrKWF2.js → systemd-linger-qlGGW2JB.js} +1 -1
- package/dist/{tables-D5y8QFIj.js → tables-D99_slcd.js} +2 -2
- package/dist/{tables-DkzyK4SP.js → tables-iomq0ca4.js} +1 -1
- package/dist/{tailnet-xt92Yaop.js → tailnet-Cy0Q27lj.js} +1 -1
- package/dist/{tailscale-SsRvp0Oq.js → tailscale-CiWkh0vS.js} +1 -1
- package/dist/{targets-CGN4l86v.js → targets-9wgbT3mP.js} +3 -3
- package/dist/{targets-D1502fuY.js → targets-CvApsCoW.js} +86 -2
- package/dist/{targets-CxTlMlyA.js → targets-Cw-gKoAQ.js} +100 -16
- package/dist/{targets-DNhmy2Ut.js → targets-DKriCISG.js} +1 -1
- package/dist/{targets-Cwk62HiU.js → targets-i_nrfGww.js} +3 -3
- package/dist/{targets-CcTME3bp.js → targets-tDrl_ioQ.js} +1 -1
- package/dist/{tool-display-Bxs_1jIn.js → tool-display-D6GD-41Y.js} +1 -1
- package/dist/{tool-images-BWhy6WRN.js → tool-images-IVIZ29ID.js} +1 -1
- package/dist/{trash-0iZ-9BIT.js → trash-ivbG2QWV.js} +3 -3
- package/dist/{tui-Sl0cVh2p.js → tui-Z4cAOimi.js} +10 -10
- package/dist/{tui-cli-Cuwlzn91.js → tui-cli-gkLvMtK1.js} +28 -28
- package/dist/{update-Dgmo4HVt.js → update-Btt8e53q.js} +2 -2
- package/dist/{update-cli-aZ52L6Xn.js → update-cli-BbyZouuz.js} +106 -106
- package/dist/{update-cli-CRyJ8Y8k.js → update-cli-DgMsEyZS.js} +13 -13
- package/dist/{usage-DGwcP_BH.js → usage-CRfPqIMD.js} +434 -352
- package/dist/{web-CTJ1G5bC.js → web-DDBxVhy4.js} +7 -7
- package/dist/{web-BQ8-x7rj.js → web-jKP8wT8N.js} +11 -11
- package/dist/web-jNsm5Dst.js +71 -0
- package/dist/{webhooks-cli-Ckr0eftz.js → webhooks-cli-DqRzR2bA.js} +10 -10
- package/dist/{whatsapp-actions-CdF5JIfv.js → whatsapp-actions-D-7fP62O.js} +27 -27
- package/dist/{workspace-DNygjNMG.js → workspace-DrXy4uZV.js} +1 -1
- package/dist/{zod-schema-CwIZ4PXm.js → zod-schema-chWZvkFt.js} +1 -1
- package/package.json +1 -1
- package/dist/cli-BpaE39cd.js +0 -126
- package/dist/plugin-sdk/agents/auth-profiles.d.ts +0 -8
- package/dist/register.configure--_9OpKUO.js +0 -125
- package/dist/send-B6vbtrno.js +0 -11
- package/dist/web-DqS7ztlP.js +0 -71
- /package/dist/{account-lookup-DlMshWZ_.js → account-lookup-DGscKBsr.js} +0 -0
- /package/dist/{agent-helpers-Bs2nBXeI.js → agent-helpers-CK3Obbsi.js} +0 -0
- /package/dist/{chat-type-t7Wyry0R.js → chat-type-BKe459rw.js} +0 -0
- /package/dist/{cli-name-C6rJGl18.js → cli-name-Yv30OygA.js} +0 -0
- /package/dist/{credentials-DM_Dj0m8.js → credentials-BhnauW0K.js} +0 -0
- /package/dist/{fetch-timeout-DBRRPNBi.js → fetch-timeout-Db3da8yR.js} +0 -0
- /package/dist/{file-identity-BnGA6wyc.js → file-identity-Bs9zZOi2.js} +0 -0
- /package/dist/{host-env-security-szwfmhC4.js → host-env-security-CbiODGvQ.js} +0 -0
- /package/dist/{inbound-path-policy-DP2dk2YU.js → inbound-path-policy-DYTLjca8.js} +0 -0
- /package/dist/{input-provenance-B5qdBzW3.js → input-provenance-DUNEQoFM.js} +0 -0
- /package/dist/{ip-MwCwRA7c.js → ip-BcdPcLiP.js} +0 -0
- /package/dist/{json-file-ChO_R9yh.js → json-file-BVvmrQG3.js} +0 -0
- /package/dist/{lanes-1CBKdsiR.js → lanes-Brd-nf-Z.js} +0 -0
- /package/dist/{logger-CPvz-aPM.js → logger-DWbwXLjl.js} +0 -0
- /package/dist/{message-channel-BA-cWYQx.js → message-channel-D72Bc6Tb.js} +0 -0
- /package/dist/{mime-AuIDUZPG.js → mime-D4bQLMJL.js} +0 -0
- /package/dist/{path-guards-DipYoPVw.js → path-guards-D9LU0y9L.js} +0 -0
- /package/dist/plugin-sdk/{agents → auth}/api-key-rotation.d.ts +0 -0
- /package/dist/plugin-sdk/{agents/auth-profiles → auth}/paths.d.ts +0 -0
- /package/dist/plugin-sdk/{agents/auth-profiles → auth}/profiles.d.ts +0 -0
- /package/dist/plugin-sdk/{agents/auth-profiles → auth}/store.d.ts +0 -0
- /package/dist/plugin-sdk/{agents/auth-profiles → auth}/types.d.ts +0 -0
- /package/dist/{polls-ybwcqkWt.js → polls-Dn1C2d1-.js} +0 -0
- /package/dist/{process-scoped-map-PEvnG75N.js → process-scoped-map-CBWcUvTa.js} +0 -0
- /package/dist/{provider-utils-3JTMJroG.js → provider-utils-DiLhkKQp.js} +0 -0
- /package/dist/{redact-BW8tobyp.js → redact-BTeK8lMZ.js} +0 -0
- /package/dist/{redact-identifier-DR54qsoT.js → redact-identifier-F6t5pklx.js} +0 -0
- /package/dist/{render-CDCvpfhh.js → render-qcqmrHse.js} +0 -0
- /package/dist/{secret-equal-D6AoXne1.js → secret-equal-CDUVxXmp.js} +0 -0
- /package/dist/{secure-random-B3f7Ri2X.js → secure-random-y6N6Gted.js} +0 -0
- /package/dist/{strip-inbound-meta-DwNT9oxl.js → strip-inbound-meta-BtNFmc6V.js} +0 -0
- /package/dist/{target-errors-GZXDqlUu.js → target-errors-sPHoHj73.js} +0 -0
- /package/dist/{targets-JCISV-hS.js → targets-D3WkRcT8.js} +0 -0
- /package/dist/{targets-BMenhVHg.js → targets-D3r6Zgic.js} +0 -0
- /package/dist/{targets-BoIKQuJE.js → targets-DtvPW-B8.js} +0 -0
- /package/dist/{tokens-Dw7ZdYwT.js → tokens-BGw4xHhW.js} +0 -0
package/README.md
CHANGED
|
@@ -173,13 +173,13 @@ Run `remoteclaw doctor` to surface risky/misconfigured DM policies.
|
|
|
173
173
|
- [Canvas](https://docs.remoteclaw.org/platforms/mac/canvas): [A2UI](https://docs.remoteclaw.org/platforms/mac/canvas#canvas-a2ui) push/reset, eval, snapshot.
|
|
174
174
|
- [Nodes](https://docs.remoteclaw.org/nodes): camera snap/clip, screen record, [location.get](https://docs.remoteclaw.org/nodes/location-command), notifications.
|
|
175
175
|
- [Cron + wakeups](https://docs.remoteclaw.org/automation/cron-jobs); [webhooks](https://docs.remoteclaw.org/automation/webhook); [Gmail Pub/Sub](https://docs.remoteclaw.org/automation/gmail-pubsub).
|
|
176
|
-
- [Skills platform](https://docs.remoteclaw.org/tools/skills): bundled
|
|
176
|
+
- [Skills platform](https://docs.remoteclaw.org/tools/skills): bundled and workspace skills.
|
|
177
177
|
|
|
178
178
|
### Runtime + safety
|
|
179
179
|
|
|
180
180
|
- [Channel routing](https://docs.remoteclaw.org/channels/channel-routing), [retry policy](https://docs.remoteclaw.org/concepts/retry), and [streaming/chunking](https://docs.remoteclaw.org/concepts/streaming).
|
|
181
181
|
- [Presence](https://docs.remoteclaw.org/concepts/presence), [typing indicators](https://docs.remoteclaw.org/concepts/typing-indicators), and [usage tracking](https://docs.remoteclaw.org/concepts/usage-tracking).
|
|
182
|
-
- [
|
|
182
|
+
- [Session pruning](https://docs.remoteclaw.org/concepts/session-pruning).
|
|
183
183
|
- [Security](https://docs.remoteclaw.org/gateway/security) and [troubleshooting](https://docs.remoteclaw.org/channels/troubleshooting).
|
|
184
184
|
|
|
185
185
|
### Ops + packaging
|
|
@@ -255,7 +255,7 @@ The macOS app can run in **node mode** and advertises its capabilities + permiss
|
|
|
255
255
|
Elevated bash (host permissions) is separate from macOS TCC:
|
|
256
256
|
|
|
257
257
|
- Use `/elevated on|off` to toggle per‑session elevated access when enabled + allowlisted.
|
|
258
|
-
- Gateway persists the per‑session toggle via `sessions.patch` (WS method) alongside `verboseLevel`, `
|
|
258
|
+
- Gateway persists the per‑session toggle via `sessions.patch` (WS method) alongside `verboseLevel`, `sendPolicy`, and `groupActivation`.
|
|
259
259
|
|
|
260
260
|
Details: [Nodes](https://docs.remoteclaw.org/nodes) · [macOS app](https://docs.remoteclaw.org/platforms/macos) · [Gateway protocol](https://docs.remoteclaw.org/concepts/architecture)
|
|
261
261
|
|
|
@@ -275,7 +275,7 @@ Send these in WhatsApp/Telegram/Slack/Google Chat/Microsoft Teams/WebChat (group
|
|
|
275
275
|
- `/status` — compact session status (model + tokens, cost when available)
|
|
276
276
|
- `/new` or `/reset` — reset the session
|
|
277
277
|
- `/compact` — compact session context (summary)
|
|
278
|
-
- `/think <level>` — off|minimal|low|medium|high|xhigh (
|
|
278
|
+
- `/think <level>` — off|minimal|low|medium|high|xhigh (runtimes that support extended thinking)
|
|
279
279
|
- `/verbose on|off`
|
|
280
280
|
- `/usage off|tokens|full` — per-response usage footer
|
|
281
281
|
- `/restart` — restart the gateway (owner-only in groups)
|
|
@@ -318,12 +318,14 @@ Runbook: [iOS connect](https://docs.remoteclaw.org/platforms/ios).
|
|
|
318
318
|
|
|
319
319
|
## Configuration
|
|
320
320
|
|
|
321
|
-
Minimal `~/.remoteclaw/remoteclaw.json
|
|
321
|
+
Minimal `~/.remoteclaw/remoteclaw.json`:
|
|
322
322
|
|
|
323
323
|
```json5
|
|
324
324
|
{
|
|
325
|
-
|
|
326
|
-
|
|
325
|
+
channels: {
|
|
326
|
+
telegram: {
|
|
327
|
+
botToken: "YOUR_BOT_TOKEN",
|
|
328
|
+
},
|
|
327
329
|
},
|
|
328
330
|
}
|
|
329
331
|
```
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { h as normalizeAccountId } from "./session-key-
|
|
2
|
-
import { t as resolveAccountEntry } from "./account-lookup-
|
|
3
|
-
import { v as createAccountListHelpers } from "./accounts-
|
|
1
|
+
import { h as normalizeAccountId } from "./session-key-BF-9YzxC.js";
|
|
2
|
+
import { t as resolveAccountEntry } from "./account-lookup-DGscKBsr.js";
|
|
3
|
+
import { v as createAccountListHelpers } from "./accounts-WYyfAiie.js";
|
|
4
4
|
|
|
5
5
|
//#region src/signal/accounts.ts
|
|
6
6
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("signal");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { h as normalizeAccountId } from "./session-key-
|
|
2
|
-
import { t as resolveAccountEntry } from "./account-lookup-
|
|
3
|
-
import { v as createAccountListHelpers } from "./accounts-
|
|
1
|
+
import { h as normalizeAccountId } from "./session-key-BF-9YzxC.js";
|
|
2
|
+
import { t as resolveAccountEntry } from "./account-lookup-DGscKBsr.js";
|
|
3
|
+
import { v as createAccountListHelpers } from "./accounts-WYyfAiie.js";
|
|
4
4
|
|
|
5
5
|
//#region src/imessage/accounts.ts
|
|
6
6
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("imessage");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { et as createAccountListHelpers, pt as normalizeAccountId, tt as resolveAccountEntry } from "./media-E49GAd9O.js";
|
|
2
2
|
|
|
3
3
|
//#region src/imessage/accounts.ts
|
|
4
4
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("imessage");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Kt as resolveOAuthDir, Z as jidToE164, _ as defaultRuntime, ft as info, rt as resolveUserPath, wt as getChildLogger, yt as success } from "./entry.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
2
|
+
import { h as normalizeAccountId, m as DEFAULT_ACCOUNT_ID } from "./session-key-BF-9YzxC.js";
|
|
3
|
+
import { t as resolveAccountEntry } from "./account-lookup-DGscKBsr.js";
|
|
4
|
+
import { t as formatCliCommand } from "./command-format-KkslAzwV.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import fsp from "node:fs/promises";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
import { t as
|
|
3
|
-
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 { t as normalizeChatType } from "./chat-type-BKe459rw.js";
|
|
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-CbVOyFov.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-DDS-Md0B.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";
|
|
@@ -1,17 +1,17 @@
|
|
|
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-
|
|
3
|
-
import "./host-env-security-
|
|
4
|
-
import "./shell-env-
|
|
5
|
-
import { r as VERSION } from "./env-vars-
|
|
6
|
-
import "./zod-schema-
|
|
7
|
-
import "./agent-scope-
|
|
8
|
-
import { f as GATEWAY_CLIENT_MODES, p as GATEWAY_CLIENT_NAMES } from "./message-channel-
|
|
9
|
-
import { f as GatewayClient, t as buildGatewayConnectionDetails } from "./call-
|
|
10
|
-
import "./net-
|
|
11
|
-
import "./logger-
|
|
12
|
-
import "./ip-
|
|
13
|
-
import "./tailnet-
|
|
14
|
-
import { t as resolveGatewayCredentialsFromConfig } from "./credentials-
|
|
2
|
+
import { i as loadConfig } from "./config-B28_CeSd.js";
|
|
3
|
+
import "./host-env-security-CbiODGvQ.js";
|
|
4
|
+
import "./shell-env-hZW9j-Uc.js";
|
|
5
|
+
import { r as VERSION } from "./env-vars-C8WMB8Ix.js";
|
|
6
|
+
import "./zod-schema-chWZvkFt.js";
|
|
7
|
+
import "./agent-scope-BMX7CxKP.js";
|
|
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-BcV-EXIJ.js";
|
|
10
|
+
import "./net-QZ8IHNXc.js";
|
|
11
|
+
import "./logger-DWbwXLjl.js";
|
|
12
|
+
import "./ip-BcdPcLiP.js";
|
|
13
|
+
import "./tailnet-Cy0Q27lj.js";
|
|
14
|
+
import { t as resolveGatewayCredentialsFromConfig } from "./credentials-BhnauW0K.js";
|
|
15
15
|
import { a as isKnownCoreToolId, t as DANGEROUS_ACP_TOOLS } from "./dangerous-tools-CripTfYv.js";
|
|
16
16
|
import { t as ensureRemoteClawCliOnPath } from "./path-env-D7VB7sOO.js";
|
|
17
17
|
import { t as formatDocsLink } from "./links-gse8sWn-.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { m as DEFAULT_ACCOUNT_ID } from "./session-key-BF-9YzxC.js";
|
|
2
|
+
import { t as formatCliCommand } from "./command-format-KkslAzwV.js";
|
|
3
3
|
|
|
4
4
|
//#region src/web/active-listener.ts
|
|
5
5
|
const listeners = /* @__PURE__ */ new Map();
|
|
@@ -8,9 +8,9 @@ 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
9
|
import { i as loadConfig } from "./config-Do-51izH.js";
|
|
10
10
|
import { t as formatCliCommand } from "./command-format-D0vKipG9.js";
|
|
11
|
-
import { a as ensureAuthProfileStore } from "./auth-
|
|
11
|
+
import { a as ensureAuthProfileStore } from "./auth-CVfoI--S.js";
|
|
12
12
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-Qi_aJYKx.js";
|
|
13
|
-
import { C as resolveSendPolicy, a as getCliSessionId, c as resolveCliRuntimeArgs, f as resolveChannelMessageToolHints, h as applyVerboseOverride, i as resolveSessionDeliveryTarget, l as resolveCliRuntimeEnv, o as setCliSessionId, p as clearSessionAuthProfileOverride, r as resolveOutboundTarget, s as ChannelBridge, u as resolveCliRuntimeProvider } from "./targets-
|
|
13
|
+
import { C as resolveSendPolicy, a as getCliSessionId, c as resolveCliRuntimeArgs, f as resolveChannelMessageToolHints, h as applyVerboseOverride, i as resolveSessionDeliveryTarget, l as resolveCliRuntimeEnv, o as setCliSessionId, p as clearSessionAuthProfileOverride, r as resolveOutboundTarget, s as ChannelBridge, u as resolveCliRuntimeProvider } from "./targets-CvApsCoW.js";
|
|
14
14
|
import { l as resolveSessionFilePathOptions, m as resolveStorePath, u as resolveSessionTranscriptPath } from "./chat-envelope-BEDutlnF.js";
|
|
15
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-DGNtGZmw.js";
|
|
16
16
|
import { n as deriveSessionTotalTokens, r as hasNonzeroUsage } from "./usage-o8O_TxA-.js";
|
|
@@ -37,7 +37,7 @@ 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-DDBxVhy4.js");
|
|
41
41
|
return await sendMessageWhatsApp(...args);
|
|
42
42
|
},
|
|
43
43
|
sendMessageTelegram: async (...args) => {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { Ht as resolveGatewayPort, _ as defaultRuntime } from "./entry.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { i as normalizeModelRef, t as isCliProvider } from "./provider-utils-
|
|
5
|
-
import {
|
|
6
|
-
import { i as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { t as
|
|
13
|
-
import { a as
|
|
2
|
+
import { i as loadConfig } from "./config-B28_CeSd.js";
|
|
3
|
+
import { c as normalizeMainKey, l as resolveAgentIdFromSessionKey, s as normalizeAgentId } from "./session-key-BF-9YzxC.js";
|
|
4
|
+
import { i as normalizeModelRef, t as isCliProvider } from "./provider-utils-DiLhkKQp.js";
|
|
5
|
+
import { a as resolveAgentWorkspaceDir, c as resolveSessionAgentId, n as listAgentIds } from "./agent-scope-BMX7CxKP.js";
|
|
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-QyutIxq9.js";
|
|
8
|
+
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-CoQF2Mn8.js";
|
|
9
|
+
import { t as formatCliCommand } from "./command-format-KkslAzwV.js";
|
|
10
|
+
import { l as resolveSessionFilePathOptions, m as resolveStorePath, u as resolveSessionTranscriptPath } from "./chat-envelope-vJJUdDE7.js";
|
|
11
|
+
import { t as resolveGatewayCredentialsFromConfig } from "./credentials-BhnauW0K.js";
|
|
12
|
+
import { a as emitAgentEvent, c as registerAgentRunContext, i as clearAgentRunContext, t as AGENT_LANE_NESTED } from "./lanes-Brd-nf-Z.js";
|
|
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 { C as resolveSendPolicy, a as getCliSessionId, c as resolveCliRuntimeArgs, f as resolveChannelMessageToolHints, h as applyVerboseOverride, i as resolveSessionDeliveryTarget, l as resolveCliRuntimeEnv, o as setCliSessionId, p as clearSessionAuthProfileOverride, r as resolveOutboundTarget, s as ChannelBridge, u as resolveCliRuntimeProvider } from "./targets-
|
|
16
|
+
import { C as resolveSendPolicy, a as getCliSessionId, c as resolveCliRuntimeArgs, f as resolveChannelMessageToolHints, h as applyVerboseOverride, i as resolveSessionDeliveryTarget, l as resolveCliRuntimeEnv, o as setCliSessionId, p as clearSessionAuthProfileOverride, r as resolveOutboundTarget, s as ChannelBridge, u as resolveCliRuntimeProvider } from "./targets-Cw-gKoAQ.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-RpWw738I.js";
|
|
19
|
+
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-B5zs9CyG.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-jNsm5Dst.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-Bn9D22o7.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-D3uSaAi4.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-DBXGgEko.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-BkMys_iS.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-CmeuIYYo.js").then((n) => n.n);
|
|
60
60
|
return await sendMessageIMessage(...args);
|
|
61
61
|
}
|
|
62
62
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { o as createSubsystemLogger, qt as resolveStateDir, rt as resolveUserPath } from "./entry.js";
|
|
2
|
-
import { C as parseAgentSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-
|
|
2
|
+
import { C as parseAgentSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-BF-9YzxC.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
|
|
5
5
|
//#region src/agents/agent-scope.ts
|
|
@@ -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 {
|
|
4
|
-
import { t as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
3
|
+
import { l as writeConfigFile } from "./config-B28_CeSd.js";
|
|
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 resolveAgentWorkspaceDir, i as resolveAgentDir, s as resolveDefaultAgentId, t as listAgentEntries } from "./agent-scope-BMX7CxKP.js";
|
|
6
|
+
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-CoQF2Mn8.js";
|
|
7
|
+
import { t as formatCliCommand } from "./command-format-KkslAzwV.js";
|
|
8
|
+
import { p as resolveSessionTranscriptsDirForAgent } from "./chat-envelope-vJJUdDE7.js";
|
|
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
|
-
import { t as resolveChannelDefaultAccountId } from "./helpers-
|
|
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-
|
|
11
|
+
import { t as resolveChannelDefaultAccountId } from "./helpers-B4NWktS8.js";
|
|
12
|
+
import { c as moveToTrash, i as ensureWorkspaceAndSessions } from "./onboard-helpers-f6NdcKKu.js";
|
|
13
|
+
import { r as setupChannels } from "./onboard-channels-C4o1K5tb.js";
|
|
14
|
+
import { t as requireValidConfigSnapshot } from "./config-validation-BYacznUG.js";
|
|
15
|
+
import { i as pruneAgentConfig, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-5rW4EyL0.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
|
-
import { s as normalizeAgentId } from "./session-key-
|
|
2
|
-
import { a as resolveAgentWorkspaceDir, i as resolveAgentDir, s as resolveDefaultAgentId, t as listAgentEntries } from "./agent-scope-
|
|
1
|
+
import { s as normalizeAgentId } from "./session-key-BF-9YzxC.js";
|
|
2
|
+
import { a as resolveAgentWorkspaceDir, i as resolveAgentDir, s as resolveDefaultAgentId, t as listAgentEntries } from "./agent-scope-BMX7CxKP.js";
|
|
3
3
|
|
|
4
4
|
//#region src/commands/agents.config.ts
|
|
5
5
|
function findAgentEntryIndex(list, agentId) {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { ht as logVerbose, vt as shouldLogVerbose } from "./entry.js";
|
|
2
|
-
import "./
|
|
3
|
-
import "./
|
|
4
|
-
import "./
|
|
5
|
-
import "./
|
|
6
|
-
import "./
|
|
7
|
-
import "./
|
|
8
|
-
import "./
|
|
9
|
-
import "./
|
|
10
|
-
import "./
|
|
11
|
-
import "./
|
|
12
|
-
import "./
|
|
13
|
-
import "./
|
|
14
|
-
import { a as runCapability, c as isAudioAttachment, i as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, r as normalizeMediaAttachments, t as buildProviderRegistry } from "./runner-
|
|
15
|
-
import "./errors-
|
|
2
|
+
import "./host-env-security-CbiODGvQ.js";
|
|
3
|
+
import "./shell-env-hZW9j-Uc.js";
|
|
4
|
+
import "./agent-scope-BMX7CxKP.js";
|
|
5
|
+
import "./logger-DWbwXLjl.js";
|
|
6
|
+
import "./ip-BcdPcLiP.js";
|
|
7
|
+
import "./exec-ClUTXFZ9.js";
|
|
8
|
+
import "./redact-BTeK8lMZ.js";
|
|
9
|
+
import "./mime-D4bQLMJL.js";
|
|
10
|
+
import "./ssrf-D6fl_7ww.js";
|
|
11
|
+
import "./local-roots-BsunZzcF.js";
|
|
12
|
+
import "./auth-DTWpZJ1a.js";
|
|
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-DzGir1g4.js";
|
|
15
|
+
import "./errors-DdLfwEVi.js";
|
|
16
16
|
|
|
17
17
|
//#region src/media-understanding/audio-preflight.ts
|
|
18
18
|
/**
|
|
@@ -7,7 +7,7 @@ import "./agent-scope-Dzc3Pxwr.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-0-otzCQx.js";
|
|
11
11
|
import "./logger-BtwpYD7c.js";
|
|
12
12
|
import "./ip-BAhS4rY2.js";
|
|
13
13
|
import "./ssrf-B-rF_tZB.js";
|
|
@@ -16,7 +16,7 @@ import "./exec-BhkXWg7V.js";
|
|
|
16
16
|
import "./redact-gXuh8MFk.js";
|
|
17
17
|
import "./errors-CdmXrBic.js";
|
|
18
18
|
import "./mime-Cqg1jjia.js";
|
|
19
|
-
import "./auth-
|
|
19
|
+
import "./auth-CVfoI--S.js";
|
|
20
20
|
import "./file-lock-6NXMPZTT.js";
|
|
21
21
|
|
|
22
22
|
//#region src/media-understanding/audio-preflight.ts
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { Kt as resolveOAuthDir, Rt as resolveConfigPath, qt as resolveStateDir } from "./entry.js";
|
|
2
|
-
import {
|
|
3
|
-
import { l as resolveAgentIdFromSessionKey, s as normalizeAgentId, w as resolveThreadParentSessionKey } from "./session-key-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { c as READ_SCOPE, f as GatewayClient, t as buildGatewayConnectionDetails } from "./call-
|
|
10
|
-
import { t as resolveGatewayCredentialsFromConfig } from "./credentials-
|
|
11
|
-
import { n as runExec } from "./exec-
|
|
12
|
-
import { i as resolveNativeCommandsEnabled } from "./commands-
|
|
13
|
-
import { n as formatErrorMessage } from "./errors-
|
|
14
|
-
import { i as readChannelAllowFromStore } from "./pairing-store-
|
|
15
|
-
import { n as resolveBrowserControlAuth, o as resolveBrowserConfig, s as resolveProfile } from "./control-auth-
|
|
16
|
-
import { a as resolveGatewayAuth } from "./auth-
|
|
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-B28_CeSd.js";
|
|
3
|
+
import { l as resolveAgentIdFromSessionKey, s as normalizeAgentId, w as resolveThreadParentSessionKey } from "./session-key-BF-9YzxC.js";
|
|
4
|
+
import { r as resolveAgentConfig, s as resolveDefaultAgentId } from "./agent-scope-BMX7CxKP.js";
|
|
5
|
+
import { l as normalizeStringEntries, o as resolveChannelGroupToolsPolicy, t as getChannelDock } from "./dock-DeKxU2Ii.js";
|
|
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-CoQF2Mn8.js";
|
|
8
|
+
import { t as formatCliCommand } from "./command-format-KkslAzwV.js";
|
|
9
|
+
import { c as READ_SCOPE, f as GatewayClient, t as buildGatewayConnectionDetails } from "./call-BcV-EXIJ.js";
|
|
10
|
+
import { t as resolveGatewayCredentialsFromConfig } from "./credentials-BhnauW0K.js";
|
|
11
|
+
import { n as runExec } from "./exec-ClUTXFZ9.js";
|
|
12
|
+
import { i as resolveNativeCommandsEnabled } from "./commands-MTVV9l1C.js";
|
|
13
|
+
import { n as formatErrorMessage } from "./errors-DdLfwEVi.js";
|
|
14
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-C22u6x0S.js";
|
|
15
|
+
import { n as resolveBrowserControlAuth, o as resolveBrowserConfig, s as resolveProfile } from "./control-auth-C9XxKjDt.js";
|
|
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
|
-
import { t as resolveChannelDefaultAccountId } from "./helpers-
|
|
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-CNXjWkpd.js";
|
|
22
22
|
import os from "node:os";
|
|
23
23
|
import path from "node:path";
|
|
24
24
|
import JSON5 from "json5";
|
|
25
|
+
import { randomUUID } from "node:crypto";
|
|
25
26
|
import * as fs from "node:fs/promises";
|
|
26
27
|
import fsp from "node:fs/promises";
|
|
27
|
-
import { randomUUID } from "node:crypto";
|
|
28
28
|
import { isIP } from "node:net";
|
|
29
29
|
|
|
30
30
|
//#region src/gateway/probe.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as safeEqualSecret } from "./secret-equal-
|
|
2
|
-
import { a as isTrustedProxyAddress, l as resolveClientIp, n as isLoopbackAddress, t as isLocalishHost } from "./net-
|
|
3
|
-
import { n as resolveGatewayCredentialsFromValues } from "./credentials-
|
|
4
|
-
import { c as readTailscaleWhoisIdentity } from "./tailscale-
|
|
1
|
+
import { t as safeEqualSecret } from "./secret-equal-CDUVxXmp.js";
|
|
2
|
+
import { a as isTrustedProxyAddress, l as resolveClientIp, n as isLoopbackAddress, t as isLocalishHost } from "./net-QZ8IHNXc.js";
|
|
3
|
+
import { n as resolveGatewayCredentialsFromValues } from "./credentials-BhnauW0K.js";
|
|
4
|
+
import { c as readTailscaleWhoisIdentity } from "./tailscale-CiWkh0vS.js";
|
|
5
5
|
|
|
6
6
|
//#region src/gateway/auth-rate-limit.ts
|
|
7
7
|
/**
|
|
@@ -29,7 +29,7 @@ function normalizeOptionalSecretInput(value) {
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
//#endregion
|
|
32
|
-
//#region src/
|
|
32
|
+
//#region src/auth/constants.ts
|
|
33
33
|
const AUTH_STORE_VERSION = 1;
|
|
34
34
|
const AUTH_PROFILE_FILENAME = "auth-profiles.json";
|
|
35
35
|
const LEGACY_AUTH_FILENAME = "auth.json";
|
|
@@ -45,10 +45,10 @@ const AUTH_STORE_LOCK_OPTIONS = {
|
|
|
45
45
|
},
|
|
46
46
|
stale: 3e4
|
|
47
47
|
};
|
|
48
|
-
const log = createSubsystemLogger("
|
|
48
|
+
const log = createSubsystemLogger("auth");
|
|
49
49
|
|
|
50
50
|
//#endregion
|
|
51
|
-
//#region src/
|
|
51
|
+
//#region src/auth/display.ts
|
|
52
52
|
function resolveAuthProfileDisplayLabel(params) {
|
|
53
53
|
const { cfg, store, profileId } = params;
|
|
54
54
|
const profile = store.profiles[profileId];
|
|
@@ -66,7 +66,7 @@ function resolveRemoteClawAgentDir() {
|
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
//#endregion
|
|
69
|
-
//#region src/
|
|
69
|
+
//#region src/auth/paths.ts
|
|
70
70
|
function resolveAuthStorePath(agentDir) {
|
|
71
71
|
const resolved = resolveUserPath(agentDir ?? resolveRemoteClawAgentDir());
|
|
72
72
|
return path.join(resolved, AUTH_PROFILE_FILENAME);
|
|
@@ -88,7 +88,7 @@ function ensureAuthStoreFile(pathname) {
|
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
//#endregion
|
|
91
|
-
//#region src/
|
|
91
|
+
//#region src/auth/store.ts
|
|
92
92
|
async function updateAuthProfileStoreWithLock(params) {
|
|
93
93
|
const authPath = resolveAuthStorePath(params.agentDir);
|
|
94
94
|
ensureAuthStoreFile(authPath);
|
|
@@ -226,7 +226,7 @@ function saveAuthProfileStore(store, agentDir) {
|
|
|
226
226
|
}
|
|
227
227
|
|
|
228
228
|
//#endregion
|
|
229
|
-
//#region src/
|
|
229
|
+
//#region src/auth/profiles.ts
|
|
230
230
|
function upsertAuthProfile(params) {
|
|
231
231
|
const credential = {
|
|
232
232
|
...params.credential,
|
|
@@ -242,7 +242,7 @@ function listProfilesForProvider(store, provider) {
|
|
|
242
242
|
}
|
|
243
243
|
|
|
244
244
|
//#endregion
|
|
245
|
-
//#region src/
|
|
245
|
+
//#region src/auth/oauth.ts
|
|
246
246
|
function isProfileConfigCompatible(params) {
|
|
247
247
|
const profileConfig = params.cfg?.auth?.profiles?.[params.profileId];
|
|
248
248
|
if (profileConfig && profileConfig.provider !== params.provider) return false;
|
|
@@ -274,8 +274,8 @@ async function resolveApiKeyForProfile(params) {
|
|
|
274
274
|
}
|
|
275
275
|
|
|
276
276
|
//#endregion
|
|
277
|
-
//#region src/
|
|
278
|
-
var
|
|
277
|
+
//#region src/auth/index.ts
|
|
278
|
+
var auth_exports = /* @__PURE__ */ __exportAll({ upsertAuthProfile: () => upsertAuthProfile });
|
|
279
279
|
|
|
280
280
|
//#endregion
|
|
281
|
-
export { ensureAuthProfileStore as a, resolveAuthStorePath as c, CLAUDE_CLI_PROFILE_ID as d, CODEX_CLI_PROFILE_ID as f, upsertAuthProfile as i, resolveAuthStorePathForDisplay as l, normalizeSecretInput as m, resolveApiKeyForProfile as n, loadAuthProfileStore as o, normalizeOptionalSecretInput as p, listProfilesForProvider as r, updateAuthProfileStoreWithLock as s,
|
|
281
|
+
export { ensureAuthProfileStore as a, resolveAuthStorePath as c, CLAUDE_CLI_PROFILE_ID as d, CODEX_CLI_PROFILE_ID as f, upsertAuthProfile as i, resolveAuthStorePathForDisplay as l, normalizeSecretInput as m, resolveApiKeyForProfile as n, loadAuthProfileStore as o, normalizeOptionalSecretInput as p, listProfilesForProvider as r, updateAuthProfileStoreWithLock as s, auth_exports as t, resolveAuthProfileDisplayLabel as u };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { o as createSubsystemLogger, qt as resolveStateDir, rt as resolveUserPath } from "./entry.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { n as saveJsonFile, t as loadJsonFile } from "./json-file-
|
|
6
|
-
import { t as
|
|
3
|
+
import { t as DEFAULT_AGENT_ID } from "./session-key-BF-9YzxC.js";
|
|
4
|
+
import { a as normalizeProviderId } from "./provider-utils-DiLhkKQp.js";
|
|
5
|
+
import { n as saveJsonFile, t as loadJsonFile } from "./json-file-BVvmrQG3.js";
|
|
6
|
+
import { t as withFileLock } from "./file-lock-Ks-RPU6W.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
|
|
10
|
-
//#region src/
|
|
10
|
+
//#region src/auth/constants.ts
|
|
11
11
|
const AUTH_STORE_VERSION = 1;
|
|
12
12
|
const AUTH_PROFILE_FILENAME = "auth-profiles.json";
|
|
13
13
|
const LEGACY_AUTH_FILENAME = "auth.json";
|
|
@@ -23,10 +23,10 @@ const AUTH_STORE_LOCK_OPTIONS = {
|
|
|
23
23
|
},
|
|
24
24
|
stale: 3e4
|
|
25
25
|
};
|
|
26
|
-
const log = createSubsystemLogger("
|
|
26
|
+
const log = createSubsystemLogger("auth");
|
|
27
27
|
|
|
28
28
|
//#endregion
|
|
29
|
-
//#region src/
|
|
29
|
+
//#region src/auth/display.ts
|
|
30
30
|
function resolveAuthProfileDisplayLabel(params) {
|
|
31
31
|
const { cfg, store, profileId } = params;
|
|
32
32
|
const profile = store.profiles[profileId];
|
|
@@ -64,7 +64,7 @@ function resolveRemoteClawAgentDir() {
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
//#endregion
|
|
67
|
-
//#region src/
|
|
67
|
+
//#region src/auth/paths.ts
|
|
68
68
|
function resolveAuthStorePath(agentDir) {
|
|
69
69
|
const resolved = resolveUserPath(agentDir ?? resolveRemoteClawAgentDir());
|
|
70
70
|
return path.join(resolved, AUTH_PROFILE_FILENAME);
|
|
@@ -86,7 +86,7 @@ function ensureAuthStoreFile(pathname) {
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
//#endregion
|
|
89
|
-
//#region src/
|
|
89
|
+
//#region src/auth/store.ts
|
|
90
90
|
async function updateAuthProfileStoreWithLock(params) {
|
|
91
91
|
const authPath = resolveAuthStorePath(params.agentDir);
|
|
92
92
|
ensureAuthStoreFile(authPath);
|
|
@@ -224,7 +224,7 @@ function saveAuthProfileStore(store, agentDir) {
|
|
|
224
224
|
}
|
|
225
225
|
|
|
226
226
|
//#endregion
|
|
227
|
-
//#region src/
|
|
227
|
+
//#region src/auth/profiles.ts
|
|
228
228
|
function upsertAuthProfile(params) {
|
|
229
229
|
const credential = {
|
|
230
230
|
...params.credential,
|
|
@@ -240,7 +240,7 @@ function listProfilesForProvider(store, provider) {
|
|
|
240
240
|
}
|
|
241
241
|
|
|
242
242
|
//#endregion
|
|
243
|
-
//#region src/
|
|
243
|
+
//#region src/auth/oauth.ts
|
|
244
244
|
function isProfileConfigCompatible(params) {
|
|
245
245
|
const profileConfig = params.cfg?.auth?.profiles?.[params.profileId];
|
|
246
246
|
if (profileConfig && profileConfig.provider !== params.provider) return false;
|
|
@@ -272,8 +272,8 @@ async function resolveApiKeyForProfile(params) {
|
|
|
272
272
|
}
|
|
273
273
|
|
|
274
274
|
//#endregion
|
|
275
|
-
//#region src/
|
|
276
|
-
var
|
|
275
|
+
//#region src/auth/index.ts
|
|
276
|
+
var auth_exports = /* @__PURE__ */ __exportAll({ upsertAuthProfile: () => upsertAuthProfile });
|
|
277
277
|
|
|
278
278
|
//#endregion
|
|
279
|
-
export { ensureAuthProfileStore as a, resolveAuthStorePath as c, normalizeSecretInput as d, resolveAuthProfileDisplayLabel as f, upsertAuthProfile as i, resolveAuthStorePathForDisplay as l, CODEX_CLI_PROFILE_ID as m, resolveApiKeyForProfile as n, loadAuthProfileStore as o, CLAUDE_CLI_PROFILE_ID as p, listProfilesForProvider as r, updateAuthProfileStoreWithLock as s,
|
|
279
|
+
export { ensureAuthProfileStore as a, resolveAuthStorePath as c, normalizeSecretInput as d, resolveAuthProfileDisplayLabel as f, upsertAuthProfile as i, resolveAuthStorePathForDisplay as l, CODEX_CLI_PROFILE_ID as m, resolveApiKeyForProfile as n, loadAuthProfileStore as o, CLAUDE_CLI_PROFILE_ID as p, listProfilesForProvider as r, updateAuthProfileStoreWithLock as s, auth_exports as t, normalizeOptionalSecretInput as u };
|
|
@@ -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-CbVOyFov.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
|
-
import { h as normalizeAccountId, s as normalizeAgentId } from "./session-key-
|
|
3
|
-
import { s as resolveDefaultAgentId } from "./agent-scope-
|
|
2
|
+
import { h as normalizeAccountId, s as normalizeAgentId } from "./session-key-BF-9YzxC.js";
|
|
3
|
+
import { s as resolveDefaultAgentId } from "./agent-scope-BMX7CxKP.js";
|
|
4
4
|
|
|
5
5
|
//#region src/routing/bindings.ts
|
|
6
6
|
function normalizeBindingChannelId(raw) {
|