@bitseek/claw 1.3.3 → 1.3.4
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-C7-qIj9S.js → accounts-C0g5--0e.js} +1 -1
- package/dist/{accounts-BuH44wOf.js → accounts-Dr4JgFGK.js} +1 -1
- package/dist/{accounts-YiXpEWQB.js → accounts-ESSExMvC.js} +7 -7
- package/dist/{acp-cli-C0E6TWGs.js → acp-cli-CbjSFq1x.js} +8 -8
- package/dist/{agent-scope-CY2-lUIY.js → agent-scope-CJelRKYY.js} +1 -1
- package/dist/{agents-ORCxWsDn.js → agents-BqONdWNu.js} +15 -15
- package/dist/{agents.config-DrY6s7HL.js → agents.config-2cTTTDPj.js} +2 -2
- package/dist/{agents.config-CvgerNZr.js → agents.config-DhIvFsFv.js} +1 -1
- package/dist/{api-key-rotation-C7SJO4Nd.js → api-key-rotation-7AxlAIU7.js} +1 -1
- package/dist/{audio-preflight-DXJR9ICy.js → audio-preflight-C2pZmbnM.js} +4 -4
- package/dist/{audio-preflight-FcKPBDaM.js → audio-preflight-uJePeeJ2.js} +36 -36
- package/dist/{audio-transcription-runner-S9u5-nsu.js → audio-transcription-runner-CQ4BMvGX.js} +1 -1
- package/dist/{audio-transcription-runner-DLL_6E3Z.js → audio-transcription-runner-DgoTt2Qi.js} +22 -22
- package/dist/{audit-Bq33mo12.js → audit-Dp7M6JvG.js} +29 -29
- package/dist/{auth-BH8QpwSt.js → auth-CzuZwE7M.js} +1 -1
- package/dist/{auth-choice-BkF1geyi.js → auth-choice-CxRgsY3j.js} +6 -6
- package/dist/{auth-choice-BogsyP9d.js → auth-choice-D6WGnKQk.js} +4 -4
- package/dist/{auth-choice-o_B6r3SA.js → auth-choice-Da9Ml4DK.js} +16 -16
- package/dist/{auth-choice-BDXGghAn.js → auth-choice-lhaABxGx.js} +13 -13
- package/dist/{auth-choice.apply-helpers-D9JJjYV4.js → auth-choice.apply-helpers-ir8GviGs.js} +1 -1
- package/dist/{auth-profiles-1D0rBps3.js → auth-profiles-Ncv1fyN5.js} +16 -16
- package/dist/{auth-token-3AxkbvQY.js → auth-token-BTTsYSXG.js} +4 -3
- package/dist/{auth-token-KkSq49WV.js → auth-token-KZZH9ZpM.js} +3 -2
- package/dist/{banner-iVOjYALn.js → banner-CMCfl-_K.js} +2 -2
- package/dist/{bindings-8T2naFRm.js → bindings-C2tByF8e.js} +1 -1
- package/dist/{bonjour-discovery-Dfc3n2GZ.js → bonjour-discovery-CC78xmYI.js} +1 -1
- package/dist/{browser-cli-YWbP4I14.js → browser-cli-vRHyP5Tu.js} +12 -12
- package/dist/build-info.json +2 -2
- package/dist/bundled/boot-md/handler.js +6 -6
- package/dist/bundled/session-memory/handler.js +6 -6
- package/dist/{call-DKqpA9Z1.js → call-BolSRDlL.js} +10 -10
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-Df8XiNL_.js → channel-account-context-DSofwLgp.js} +5 -5
- package/dist/{channel-options-Bhkc7_f4.js → channel-options-Didnr81h.js} +1 -1
- package/dist/{channel-options-DBkdFJpv.js → channel-options-gDhT85r4.js} +3 -3
- package/dist/{channel-selection-DvH0eFfq.js → channel-selection-DAkTNagG.js} +1 -1
- package/dist/{channel-web-DFMP-9oI.js → channel-web-C45x6ahP.js} +18 -18
- package/dist/{channel-web-B0P0EVvO.js → channel-web-rP0VBNIt.js} +1 -1
- package/dist/{channels-cli-Cpg0eE35.js → channels-cli-BpiA2BQE.js} +8 -8
- package/dist/{channels-cli-Cb31JAsk.js → channels-cli-CZQbGl-H.js} +97 -97
- package/dist/{channels-status-issues-DbgzPgIT.js → channels-status-issues-ib5LY9cR.js} +1 -1
- package/dist/{chrome-Cs1O_rOB.js → chrome-DNZHZwLH.js} +4 -4
- package/dist/{chrome-Dvo1iZKa.js → chrome-DWfXErGH.js} +8 -8
- package/dist/{clawbot-cli-DS7XFNhh.js → clawbot-cli-B0Hd9quY.js} +5 -5
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-C3lgF34a.js → cli-Cvdtw0CY.js} +3 -3
- package/dist/{cli-DnShryy2.js → cli-D5yg1LCm.js} +78 -78
- package/dist/{client-CbelTUyH.js → client-D3Y8sx9i.js} +2 -2
- package/dist/{command-registry-BPSOtew_.js → command-registry-DshPN0jE.js} +13 -13
- package/dist/{commands-B8GXg7jc.js → commands-CvjTbnpO.js} +1 -1
- package/dist/{commands-registry-CL_GSOWa.js → commands-registry-CMWIA5nS.js} +3 -3
- package/dist/{completion-cli-DaFk2P3E.js → completion-cli-BD1Wf-K1.js} +1 -1
- package/dist/{completion-cli-D5rxhSoX.js → completion-cli-Ds2kVMMx.js} +13 -13
- package/dist/{config-cli-CnGjfuxR.js → config-cli-BtvOIDkG.js} +7 -7
- package/dist/{config-cli-CgcDfxer.js → config-cli-C-yIXgGr.js} +1 -1
- package/dist/{config-guard-KdPUbj6b.js → config-guard-D3uYbBeN.js} +3 -3
- package/dist/{config-validation-BAPzXTIZ.js → config-validation-C_edTHc_.js} +3 -3
- package/dist/{configure-vAteyJCB.js → configure-CgbTpfrx.js} +17 -17
- package/dist/{configure-DQNSyoHA.js → configure-DflayaB2.js} +4 -4
- package/dist/constants-BJMtcGm_.js +16 -0
- package/dist/constants-D1Q8yQ1_.js +16 -0
- package/dist/{context-window-guard-BEDyA5YL.js → context-window-guard-BqrKjiIm.js} +1 -1
- package/dist/{context-window-guard-DeogNTcc.js → context-window-guard-DfLcl4Sl.js} +1 -1
- package/dist/control-ui/assets/index-CZbqZLPL.js.map +1 -1
- package/dist/{control-ui-assets-DOt9K_XQ.js → control-ui-assets-CTp_YbTN.js} +1 -1
- package/dist/{cron-cli-BODa5Hjv.js → cron-cli-DrMOzU3j.js} +12 -12
- package/dist/{daemon-cli-0UQHVorp.js → daemon-cli-SPY75752.js} +15 -15
- package/dist/{daemon-install-IXSut9Ak.js → daemon-install-BWb3fVhk.js} +4 -4
- package/dist/{daemon-install-helpers-CVMHs8zT.js → daemon-install-helpers-DJg83rPu.js} +11 -11
- package/dist/{dashboard-DKQ1mukA.js → dashboard-CCwQ2XPE.js} +2 -2
- package/dist/{deliver-CC3F9Kbq.js → deliver-DRKtTsvj.js} +7 -7
- package/dist/{deliver-NVEoeWVm.js → deliver-zrYSWfQ5.js} +1 -1
- package/dist/{devices-cli-BxHaos-D.js → devices-cli-DEi-I2cs.js} +8 -8
- package/dist/{diagnostic-C6IGpsPB.js → diagnostic-D2YBqJR0.js} +1 -1
- package/dist/{diagnostics-DKQWCTrs.js → diagnostics-D16lnwhz.js} +5 -5
- package/dist/{directory-cli-CM0yj3EJ.js → directory-cli-C-hoa-kc.js} +8 -8
- package/dist/{dns-cli-4V7j2QJt.js → dns-cli-bfQXNsnB.js} +5 -5
- package/dist/{dock-6qH4Y0HH.js → dock-DXBor-4C.js} +4 -4
- package/dist/{docs-cli-B4OKIYf3.js → docs-cli-Bk3ByNGZ.js} +4 -4
- package/dist/{doctor-completion-C8NZ7PLx.js → doctor-completion-DpsPIdur.js} +2 -2
- package/dist/{doctor-completion-D1lF2gak.js → doctor-completion-f2gLNSUa.js} +1 -1
- package/dist/{doctor-config-flow-CRh5VUYo.js → doctor-config-flow-DhnDuMG9.js} +15 -15
- package/dist/{enable-Dg2l-a-F.js → enable-DUzrhH2H.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{exec-approvals-allowlist-CuJvX5ng.js → exec-approvals-allowlist-BjI4jCdB.js} +1 -1
- package/dist/{exec-approvals-cli-CG_sEqkm.js → exec-approvals-cli-DjgEYE6-.js} +16 -16
- package/dist/{exec-safe-bin-runtime-policy-Dvdq9iDc.js → exec-safe-bin-runtime-policy-DJT0CbIu.js} +2 -2
- package/dist/{fetch-CIaHb2Cp.js → fetch-Ch8LsU9k.js} +3 -3
- package/dist/{fetch-guard-t4V7UlQC.js → fetch-guard-B3dFBAUH.js} +1 -1
- package/dist/{fs-safe-keI0663i.js → fs-safe-Bbp_1S9D.js} +24 -24
- package/dist/{gateway-cli-BKlWGZ1k.js → gateway-cli-3rP04OO5.js} +11 -11
- package/dist/{gateway-cli-Cq0anbXD.js → gateway-cli-CbVaqoxB.js} +163 -163
- package/dist/{gateway-rpc-BT-pYZR-.js → gateway-rpc-CH4zohVW.js} +1 -1
- package/dist/{health-B-UhwtkZ.js → health-DaN3xECS.js} +1 -1
- package/dist/{health-DF5uVHJ8.js → health-Gkd0akfz.js} +14 -14
- package/dist/{hooks-cli-C8hrIyKL.js → hooks-cli-gRM8FMyG.js} +86 -86
- package/dist/{hooks-cli-BNyDiG6r.js → hooks-cli-n5Weiheq.js} +4 -4
- package/dist/{hooks-status-DD2TFR4J.js → hooks-status-BjqUFVk2.js} +1 -1
- package/dist/{image-NGniYRpo.js → image-2aQoIIQl.js} +5 -5
- package/dist/{image-CSuemKkK.js → image-DnxYCkHO.js} +1 -1
- package/dist/{image-ops-lN_xsQHN.js → image-ops-Di37o6bN.js} +10 -10
- package/dist/index.js +8 -8
- package/dist/{inspect-BxpKPHIb.js → inspect-8xmwRHN0.js} +4 -4
- package/dist/{install-safe-path-BP03c-sO.js → install-safe-path-lyrY4AbG.js} +25 -25
- package/dist/{installs-CpGSqQzs.js → installs-B-WNFE2v.js} +9 -9
- package/dist/{ipv4-yOt1RWEn.js → ipv4-aGQhzP5g.js} +1 -1
- package/dist/{ir-DSD5UBLt.js → ir-CPt8jJjC.js} +6 -6
- package/dist/{issue-format-oiZHuL_T.js → issue-format-Bm-71lmf.js} +1 -1
- package/dist/{json-files-1hhV5hS6.js → json-files-DrZ4qfxw.js} +8 -8
- package/dist/{lifecycle-core-B6CCivG-.js → lifecycle-core-BBoysuYG.js} +5 -5
- package/dist/llm-slug-generator.js +6 -6
- package/dist/{login-DMdb2smS.js → login-CUi8T8WR.js} +3 -3
- package/dist/{login-qr-D4Z_nKS0.js → login-qr-BaGgKfeX.js} +6 -6
- package/dist/{logs-cli-CyIoR_sQ.js → logs-cli-BeBjeWxt.js} +9 -9
- package/dist/{manager-B9EfOw_y.js → manager-C5ViXKTz.js} +14 -14
- package/dist/{manifest-registry-CBF8Vfz8.js → manifest-registry-Kbw8YPsZ.js} +1 -1
- package/dist/{markdown-tables-w90v38Ry.js → markdown-tables-B1FRFNMI.js} +1 -1
- package/dist/{memory-cli-CuLSqZSI.js → memory-cli-DF4DARLw.js} +12 -12
- package/dist/{model-Bkq6198v.js → model-D49_t4Rw.js} +2 -2
- package/dist/{model-catalog-DgMq7sEI.js → model-catalog-B9xOhfnS.js} +3 -3
- package/dist/{model-picker-GYsO_IgK.js → model-picker-DaLz-bqQ.js} +4 -4
- package/dist/{models-Bht60MxY.js → models-CJodAVSF.js} +18 -18
- package/dist/{models-cli-S6G_2scT.js → models-cli-B1Dwj01V.js} +5 -5
- package/dist/{models-cli-BgBuBuEk.js → models-cli-Ceb37L0t.js} +83 -83
- package/dist/{models-config-SG5a8tJD.js → models-config-BJTF5xb7.js} +6 -6
- package/dist/{net-DfmnTN89.js → net-B6xk1xkz.js} +2 -2
- package/dist/{node-cli-Csot4WhY.js → node-cli-hD2wltn8.js} +33 -33
- package/dist/{node-command-policy-zI2Nd_XZ.js → node-command-policy-bP6LYXJe.js} +1 -1
- package/dist/{node-service-DHWADbz3.js → node-service-B10h5Sui.js} +1 -1
- package/dist/{nodes-cli-BJF1Kb0I.js → nodes-cli-BaO6VigE.js} +16 -16
- package/dist/{nodes-screen-C9ytNi_p.js → nodes-screen-DIBoM5tG.js} +7 -7
- package/dist/{npm-pack-install-BkSJrEoq.js → npm-pack-install-C9DS0YeS.js} +18 -18
- package/dist/{npm-resolution-B74nY0RB.js → npm-resolution-B5fqS6mO.js} +5 -5
- package/dist/{npm-resolution-DIvETHTU.js → npm-resolution-dNC8uD0I.js} +1 -1
- package/dist/{onboard-B6HW9q6Q.js → onboard-CE9V4Lb7.js} +6 -6
- package/dist/{onboard-channels-DJVM_aUx.js → onboard-channels-DPIysHDh.js} +20 -20
- package/dist/{onboard-channels-pzjW5IfR.js → onboard-channels-DQ1rkv4c.js} +1 -1
- package/dist/{onboard-custom-2Dhma9aa.js → onboard-custom-BhL4byJI.js} +1 -1
- package/dist/{onboard-custom-CRXcWyfJ.js → onboard-custom-Ca3nnlVy.js} +3 -3
- package/dist/{onboard-custom.shared-CNcCdRsS.js → onboard-custom.shared-D6P-b1Wa.js} +3 -3
- package/dist/{onboard-custom.shared-BVWW8dhE.js → onboard-custom.shared-vjI8sl9Q.js} +1 -1
- package/dist/{onboard-helpers-2jZi8DyE.js → onboard-helpers-D-l_4GyD.js} +11 -11
- package/dist/{onboard-hooks-D8MxBe6j.js → onboard-hooks-DDwA_gb0.js} +4 -4
- package/dist/{onboard-CnMe8gwt.js → onboard-qD3I6PJW.js} +3 -3
- package/dist/{onboard-remote-Dfkyladm.js → onboard-remote-B023mLV2.js} +3 -3
- package/dist/{onboard-skills-rw0449ZN.js → onboard-skills-UbGzjecs.js} +4 -4
- package/dist/{onboarding-DHOKHrHh.js → onboarding-CjwEj4uN.js} +4 -4
- package/dist/{onboarding-Cnod4Rtf.js → onboarding-_GD-DZHG.js} +13 -13
- package/dist/{onboarding.finalize-CRJ2ikq7.js → onboarding.finalize-B5hA5lV8.js} +7 -7
- package/dist/{onboarding.finalize-Boa2idzu.js → onboarding.finalize-kX5lNpGT.js} +91 -91
- package/dist/{onboarding.gateway-config-DYsZSw1-.js → onboarding.gateway-config-Dvu99ZRI.js} +18 -18
- package/dist/{openai-model-default-D4FwcmmB.js → openai-model-default-BHaYGK6i.js} +2 -2
- package/dist/{openai-model-default-DUmVSDlR.js → openai-model-default-op8vboY6.js} +1 -1
- package/dist/{outbound-B33AvY5n.js → outbound-DP_Pdp7e.js} +4 -4
- package/dist/{outbound-attachment-BGnMFNUJ.js → outbound-attachment-C1mspOfp.js} +2 -2
- package/dist/{pairing-cli-Df3Pa86k.js → pairing-cli-BwaiwEE0.js} +9 -9
- package/dist/{pairing-labels-DsUsf_bd.js → pairing-labels-BDzfGlP0.js} +1 -1
- package/dist/{pairing-store-DISFyfXe.js → pairing-store-DVasdu6J.js} +3 -3
- package/dist/{path-alias-guards-GklztZEg.js → path-alias-guards-CwNBr-6E.js} +3 -3
- package/dist/{path-safety-D310le-T.js → path-safety-Bpqz1wi_.js} +1 -1
- package/dist/{paths-BDiNGPdu.js → paths-C2VtkO4T.js} +9 -9
- package/dist/{pi-embedded-C1bjl5QY.js → pi-embedded-BQqt592d.js} +22 -22
- package/dist/{pi-embedded-helpers-jjDKx95g.js → pi-embedded-helpers-BYOv7Q7E.js} +6 -6
- package/dist/{pi-embedded-helpers-BUAKpUH7.js → pi-embedded-helpers-Bo7e-QzJ.js} +3 -3
- package/dist/{pi-model-discovery-D4cae7Aa.js → pi-model-discovery-B7QZQW84.js} +1 -1
- package/dist/{pi-tools.policy-Cjhz5iy7.js → pi-tools.policy-CUqhItn9.js} +5 -5
- package/dist/{plugin-auto-enable-Bz7g0nLn.js → plugin-auto-enable-BJBnaUzA.js} +3 -3
- package/dist/{plugin-registry-C-GmY3jR.js → plugin-registry-2CmN8Jv2.js} +1 -1
- package/dist/{plugin-registry-MDhg7Qi4.js → plugin-registry-NaHPDM1s.js} +3 -3
- package/dist/plugin-sdk/bitseek/constants.d.ts +3 -1
- package/dist/{plugins-DaKbDkTU.js → plugins-BYHJoTB8.js} +2 -2
- package/dist/{plugins-cli-C48Zjd96.js → plugins-cli-DwKgp7q7.js} +88 -88
- package/dist/{plugins-cli-Dmby2yHh.js → plugins-cli-o6KJO4Qe.js} +4 -4
- package/dist/{ports-rhtsAoOq.js → ports-Bjm5w0DD.js} +2 -2
- package/dist/{ports-CkYr4Wsz.js → ports-CmP85Z6Y.js} +1 -1
- package/dist/{program-SWTF9VwN.js → program-BTBw45uK.js} +86 -86
- package/dist/{program-context-BEi8inrG.js → program-context-CqvVc2Bn.js} +18 -18
- package/dist/{prompt-select-styled-CmtT9U6P.js → prompt-select-styled-7VZwhnhd.js} +39 -39
- package/dist/{prompt-select-styled-uWynTnGe.js → prompt-select-styled-DK1SacDX.js} +4 -4
- package/dist/{provider-auth-helpers-DnnYgfnU.js → provider-auth-helpers-CzSm0FSu.js} +5 -5
- package/dist/{provider-auth-helpers-D-NWKlbH.js → provider-auth-helpers-hI1pbI9r.js} +2 -2
- package/dist/{proxy-env-zRmsnQyF.js → proxy-env-B3cJLAXi.js} +1 -1
- package/dist/{push-apns-DpNqlhRp.js → push-apns-DMeB2M_b.js} +5 -5
- package/dist/{push-apns-CxuflGia.js → push-apns-DZ0qaSFA.js} +1 -1
- package/dist/{pw-ai-shcztqUJ.js → pw-ai-BuJ96cBK.js} +15 -15
- package/dist/{pw-ai-K29PikaU.js → pw-ai-Cu3cnNF0.js} +1 -1
- package/dist/{qmd-manager-Dkj5bE5Q.js → qmd-manager-CU27lJu6.js} +20 -20
- package/dist/{qr-cli-CVeJLILo.js → qr-cli-D5wWchj3.js} +1 -1
- package/dist/{query-expansion-C_gNfBxn.js → query-expansion-DTVQFgNJ.js} +12 -12
- package/dist/{redact-snapshot-jjHvRNNQ.js → redact-snapshot-DiQrZF-C.js} +1 -1
- package/dist/{register.agent-KPyI7NIX.js → register.agent-BBOmACUM.js} +99 -99
- package/dist/{register.agent-CM2WrDiT.js → register.agent-D9rmYCMS.js} +10 -10
- package/dist/register.configure-BJ7l1h-A.js +175 -0
- package/dist/{register.configure-DO4EtzQf.js → register.configure-CZF2XAPO.js} +13 -13
- package/dist/{register.init-fbZRTWnn.js → register.init-BXkISfms.js} +18 -17
- package/dist/{register.init--ZybjVz2.js → register.init-BvMr7cj9.js} +3 -2
- package/dist/{register.maintenance-5ovOEoCx.js → register.maintenance-FKHpDu3E.js} +101 -101
- package/dist/{register.maintenance-BEr69U9Q.js → register.maintenance-qjXr4IGe.js} +9 -9
- package/dist/{register.message-C4WVGh_P.js → register.message-BME4m1Jr.js} +79 -79
- package/dist/{register.message-5nFfiTjN.js → register.message-Cs0mwtTw.js} +4 -4
- package/dist/{register.onboard-CYlc-JLy.js → register.onboard--_sGklZ6.js} +18 -18
- package/dist/{register.onboard-DRJusS4p.js → register.onboard-BzpyjklK.js} +2 -2
- package/dist/{register.setup-CFj3zDQ5.js → register.setup-Degyv4Bj.js} +2 -2
- package/dist/{register.setup-Cz9kVlNj.js → register.setup-qYawYgIM.js} +21 -21
- package/dist/{register.start-BesEIeyG.js → register.start-DErNT3nQ.js} +17 -17
- package/dist/{register.status-health-sessions-BPLHKCVT.js → register.status-health-sessions-Czq26k6E.js} +93 -93
- package/dist/{register.status-health-sessions-5YEbsmFq.js → register.status-health-sessions-wp3A615j.js} +5 -5
- package/dist/{register.subclis-BPpxGpDU.js → register.subclis-DkDc3aKk.js} +31 -31
- package/dist/{replies--7kgWzUI.js → replies-BTbk1yj0.js} +1 -1
- package/dist/{reply-DocHuCQP.js → reply-OEcNPoWd.js} +4 -4
- package/dist/{reply-prefix-Db6C8_77.js → reply-prefix-CQi-DNJ_.js} +1 -1
- package/dist/{resolve-route-DqGvgUbS.js → resolve-route-qkwCBMOn.js} +2 -2
- package/dist/{rpc-Da_4fj6k.js → rpc-Cnf8pyqe.js} +1 -1
- package/dist/{run-main-D4CxtTIj.js → run-main-VaM4RFaa.js} +97 -97
- package/dist/{runtime-Dtwe1yzQ.js → runtime-BKPQGwlu.js} +2 -2
- package/dist/{sandbox-7BPxFdm0.js → sandbox-FcGYiz2w.js} +18 -18
- package/dist/{sandbox-cli-fNztPATd.js → sandbox-cli-I_Ee8o_F.js} +26 -26
- package/dist/{secrets-cli-Buc9vA9M.js → secrets-cli-Y5Ae8654.js} +10 -10
- package/dist/{security-cli-CBa6BNve.js → security-cli-Cxh4Msyp.js} +43 -43
- package/dist/{send-B_g5mC7P.js → send-BCFY4Zon.js} +6 -6
- package/dist/{send-BIDQVuz-.js → send-BND_guiq.js} +6 -6
- package/dist/{send-B9F6v1RI.js → send-BaweV9LV.js} +5 -5
- package/dist/{send-Xi705BIB.js → send-CApiXnSH.js} +8 -8
- package/dist/{send-Dt2MU1Ez.js → send-aCOVuBQ6.js} +11 -11
- package/dist/{server-DGSKOG9H.js → server-B9tR6Pn2.js} +19 -19
- package/dist/{server-context-PzcGGZd6.js → server-context-CEq3QrPf.js} +12 -12
- package/dist/{server-lifecycle-DKHhAN2b.js → server-lifecycle-Dm-2uq1J.js} +2 -2
- package/dist/{server-middleware-DV0oZmRx.js → server-middleware-Bm0ro16L.js} +1 -1
- package/dist/{server-node-events-C_CyfSiL.js → server-node-events-BE-B31Iv.js} +79 -79
- package/dist/{server-node-events-CZ-3bwB5.js → server-node-events-h5NyibKC.js} +4 -4
- package/dist/{service-BP_KUPqt.js → service-D_q10odK.js} +15 -15
- package/dist/{session-zBCRyIT4.js → session-BilXyYPK.js} +1 -1
- package/dist/{session-meta-DVRsY69Q.js → session-meta-BmvLv08s.js} +1 -1
- package/dist/{session-utils-CJnxY0Iq.js → session-utils-DdRL6aoq.js} +6 -6
- package/dist/{sessions-DvmE9uli.js → sessions-ChAmoyIS.js} +15 -15
- package/dist/{sessions-D6w_y8HL.js → sessions-CktkDWsc.js} +4 -4
- package/dist/{shared-CdPG7WbR.js → shared-CYOVnE8Z.js} +1 -1
- package/dist/{shared-BpCAsQdK.js → shared-ChzS9n9t.js} +3 -3
- package/dist/{skill-commands-xxmr2qwC.js → skill-commands-BIN2pI7T.js} +5 -5
- package/dist/{skill-scanner-CWbaA3Xe.js → skill-scanner-CSmiOSFd.js} +6 -6
- package/dist/{skills-Cn4HFdI6.js → skills-CqO2kuTQ.js} +3 -3
- package/dist/{skills-cli-fx9XRVfF.js → skills-cli-CCfNGx-q.js} +5 -5
- package/dist/{skills-install-8BRmLudM.js → skills-install-3PLvMn_P.js} +6 -6
- package/dist/{skills-status-KyIZObis.js → skills-status-C1TG3OK0.js} +1 -1
- package/dist/{status-DGYiEE9b.js → status-CmNVuywF.js} +2 -2
- package/dist/{status-Cpa2ZBOB.js → status-D_I-fLJF.js} +26 -26
- package/dist/{status.update-dR_eb-sA.js → status.update-BX7tZJju.js} +2 -2
- package/dist/{store-C-5s51Gr.js → store-H4Sy0kJE.js} +5 -5
- package/dist/{subagent-registry-BFi2AvAR.js → subagent-registry-D4xGq2uc.js} +158 -158
- package/dist/{system-cli-0oaOfAhE.js → system-cli-zS6TKEZN.js} +9 -9
- package/dist/{system-run-command--za6p_x3.js → system-run-command-Bnym6gCM.js} +1 -1
- package/dist/{systemd-BKKFcgDX.js → systemd-B-TNk1de.js} +9 -9
- package/dist/{systemd-hints-DWiwN7xP.js → systemd-hints-BtHGM1Jb.js} +6 -6
- package/dist/{systemd-linger-CxIMr-zT.js → systemd-linger-CTeOH7Nl.js} +1 -1
- package/dist/{tables-Dxff0JSr.js → tables-CQmtKuyg.js} +1 -1
- package/dist/{tailnet-Cu8EdqyP.js → tailnet-DcxtJZA8.js} +1 -1
- package/dist/{target-errors-BF6f4DMR.js → target-errors-B_xyg1kW.js} +4 -4
- package/dist/{tool-images-BdyT10Li.js → tool-images-D1tcg9xW.js} +1 -1
- package/dist/{tui-CpmJvFb8.js → tui-CaNLNBF2.js} +6 -6
- package/dist/{tui-cli-C3paex8S.js → tui-cli-YnPauYsR.js} +33 -33
- package/dist/{update-DeX-3j-N.js → update-Cn9hdCvW.js} +3 -3
- package/dist/{update-cli-BFovLSoE.js → update-cli-CWS0bKZV.js} +109 -109
- package/dist/{update-cli-GRNVZJPC.js → update-cli-Do4BIFSd.js} +9 -9
- package/dist/{update-runner-BEeaojMB.js → update-runner-BUth8QlB.js} +16 -16
- package/dist/{update-runner-C_NOsmrM.js → update-runner-D5vyQGte.js} +1 -1
- package/dist/{web-JHPqOF_6.js → web-Bc1AWW4q.js} +4 -4
- package/dist/{web-_gRUr5dM.js → web-C5gLi1bN.js} +6 -6
- package/dist/web-CQqnJkMB.js +127 -0
- package/dist/{webhooks-cli-D8OXryhs.js → webhooks-cli-BI8a49sS.js} +6 -6
- package/dist/{whatsapp-actions-DXHJuREZ.js → whatsapp-actions-DdiWBZ9X.js} +19 -19
- package/dist/{with-timeout-CL7ogNKf.js → with-timeout-DbFn1lEx.js} +3 -3
- package/dist/{workspace-V4tpdXSA.js → workspace-AgsRlsqX.js} +1 -1
- package/dist/{workspace-DzeL98px.js → workspace-BHfqkuYN.js} +23 -23
- package/dist/{workspace-dirs-pZ_2cckP.js → workspace-dirs-DxSNfi_Q.js} +1 -1
- package/dist/{wsl-CiVud8tt.js → wsl-KDz114y6.js} +2 -2
- package/package.json +1 -1
- package/dist/constants-CLQ_6hKz.js +0 -10
- package/dist/constants-DnSTSxcE.js +0 -10
- package/dist/register.configure-CLQG7kfp.js +0 -175
- package/dist/web-DgzOP2dY.js +0 -127
|
@@ -2,11 +2,11 @@ import { d as colorize, p as theme } from "./globals-B68W7uN8.js";
|
|
|
2
2
|
import { d as resolveIsNixMode, g as resolveStateDir } from "./paths-BnKiOk2S.js";
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-DjdBljTA.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import { Kt as analyzeArgvCommand, M as loadConfig, Xt as resolvePlannedSegmentArgv, nn as resolveExecutableFromPathEnv, tn as resolveCommandResolutionFromArgv } from "./auth-profiles-
|
|
5
|
+
import { Kt as analyzeArgvCommand, M as loadConfig, Xt as resolvePlannedSegmentArgv, nn as resolveExecutableFromPathEnv, tn as resolveCommandResolutionFromArgv } from "./auth-profiles-Ncv1fyN5.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-CVXyxgq3.js";
|
|
7
|
-
import { i as resolveAgentConfig } from "./agent-scope-
|
|
7
|
+
import { i as resolveAgentConfig } from "./agent-scope-CJelRKYY.js";
|
|
8
8
|
import "./utils-DIzy5B5o.js";
|
|
9
|
-
import { T as sameFileIdentity } from "./workspace-
|
|
9
|
+
import { T as sameFileIdentity } from "./workspace-BHfqkuYN.js";
|
|
10
10
|
import { i as logWarn } from "./logger-BJMfryJd.js";
|
|
11
11
|
import "./exec-CEAvKSx9.js";
|
|
12
12
|
import "./github-copilot-token-CulJ9J5l.js";
|
|
@@ -14,52 +14,52 @@ import { a as sanitizeSystemRunEnvOverrides, i as sanitizeHostExecEnv } from "./
|
|
|
14
14
|
import { t as VERSION } from "./version-CGDNfh5C.js";
|
|
15
15
|
import "./env-vars-Dw0EwyGP.js";
|
|
16
16
|
import "./registry-7fg1BnMw.js";
|
|
17
|
-
import "./manifest-registry-
|
|
18
|
-
import "./path-alias-guards-
|
|
17
|
+
import "./manifest-registry-Kbw8YPsZ.js";
|
|
18
|
+
import "./path-alias-guards-CwNBr-6E.js";
|
|
19
19
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-BiM2wKMK.js";
|
|
20
20
|
import "./logging-CcxUDNcI.js";
|
|
21
|
-
import { r as writeJsonAtomic } from "./json-files-
|
|
22
|
-
import { nn as loadOrCreateDeviceIdentity, t as GatewayClient } from "./client-
|
|
21
|
+
import { r as writeJsonAtomic } from "./json-files-DrZ4qfxw.js";
|
|
22
|
+
import { nn as loadOrCreateDeviceIdentity, t as GatewayClient } from "./client-D3Y8sx9i.js";
|
|
23
23
|
import "./pairing-token-BsirnXyL.js";
|
|
24
|
-
import "./net-
|
|
25
|
-
import "./tailnet-
|
|
26
|
-
import { a as getMachineDisplayName, i as startBrowserControlServiceFromConfig, n as createBrowserRouteDispatcher, r as createBrowserControlContext, t as withTimeout } from "./with-timeout-
|
|
27
|
-
import { c as detectMime } from "./image-ops-
|
|
28
|
-
import "./chrome-
|
|
24
|
+
import "./net-B6xk1xkz.js";
|
|
25
|
+
import "./tailnet-DcxtJZA8.js";
|
|
26
|
+
import { a as getMachineDisplayName, i as startBrowserControlServiceFromConfig, n as createBrowserRouteDispatcher, r as createBrowserControlContext, t as withTimeout } from "./with-timeout-DbFn1lEx.js";
|
|
27
|
+
import { c as detectMime } from "./image-ops-Di37o6bN.js";
|
|
28
|
+
import "./chrome-DNZHZwLH.js";
|
|
29
29
|
import "./tailscale-BVIS18LB.js";
|
|
30
|
-
import "./auth-
|
|
31
|
-
import { i as resolveBrowserConfig } from "./server-context-
|
|
32
|
-
import "./paths-
|
|
30
|
+
import "./auth-CzuZwE7M.js";
|
|
31
|
+
import { i as resolveBrowserConfig } from "./server-context-CEq3QrPf.js";
|
|
32
|
+
import "./paths-C2VtkO4T.js";
|
|
33
33
|
import "./redact-C54hrUru.js";
|
|
34
34
|
import "./errors-vO-8U3CP.js";
|
|
35
|
-
import "./fs-safe-
|
|
36
|
-
import "./proxy-env-
|
|
37
|
-
import "./store-
|
|
38
|
-
import "./ports-
|
|
35
|
+
import "./fs-safe-Bbp_1S9D.js";
|
|
36
|
+
import "./proxy-env-B3cJLAXi.js";
|
|
37
|
+
import "./store-H4Sy0kJE.js";
|
|
38
|
+
import "./ports-Bjm5w0DD.js";
|
|
39
39
|
import "./trash-3chEdbRK.js";
|
|
40
|
-
import { n as evaluateShellAllowlist, r as resolveAllowAlwaysPatterns, t as evaluateExecAllowlist } from "./exec-approvals-allowlist-
|
|
41
|
-
import { n as resolveExecSafeBinRuntimePolicy } from "./exec-safe-bin-runtime-policy-
|
|
40
|
+
import { n as evaluateShellAllowlist, r as resolveAllowAlwaysPatterns, t as evaluateExecAllowlist } from "./exec-approvals-allowlist-BjI4jCdB.js";
|
|
41
|
+
import { n as resolveExecSafeBinRuntimePolicy } from "./exec-safe-bin-runtime-policy-DJT0CbIu.js";
|
|
42
42
|
import { a as mergeExecApprovalsSocketDefaults, c as readExecApprovalsSnapshot, d as resolveExecApprovals, l as recordAllowlistUse, m as requestJsonlSocket, n as addAllowlistEntry, p as saveExecApprovals, r as ensureExecApprovals, s as normalizeExecApprovals, u as requiresExecApproval } from "./exec-approvals-BdDof9Fq.js";
|
|
43
|
-
import { n as resolveSystemRunCommand } from "./system-run-command
|
|
43
|
+
import { n as resolveSystemRunCommand } from "./system-run-command-Bnym6gCM.js";
|
|
44
44
|
import { _ as resolveNodeWindowsTaskName, c as formatNodeServiceDescription, g as resolveNodeSystemdServiceName, h as resolveNodeLaunchAgentLabel } from "./constants-CVdMnAs9.js";
|
|
45
|
-
import "./server-lifecycle-
|
|
45
|
+
import "./server-lifecycle-Dm-2uq1J.js";
|
|
46
46
|
import { t as formatDocsLink } from "./links-CbS2yOg-.js";
|
|
47
47
|
import { t as formatHelpExamples } from "./help-format-Bf46Qqc-.js";
|
|
48
48
|
import { t as ensureOpenClawCliOnPath } from "./path-env-S7Od8UBX.js";
|
|
49
|
-
import { a as buildNodeServiceEnvironment, i as emitNodeRuntimeWarning, m as resolveNodeProgramArguments, r as resolveGatewayDevMode, u as resolvePreferredNodePath } from "./daemon-install-helpers-
|
|
49
|
+
import { a as buildNodeServiceEnvironment, i as emitNodeRuntimeWarning, m as resolveNodeProgramArguments, r as resolveGatewayDevMode, u as resolvePreferredNodePath } from "./daemon-install-helpers-DJg83rPu.js";
|
|
50
50
|
import "./runtime-guard-DzZMAUj_.js";
|
|
51
51
|
import { r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-3ZmrkfCf.js";
|
|
52
|
-
import "./systemd-
|
|
53
|
-
import { s as resolveGatewayLogPaths } from "./service-
|
|
54
|
-
import { a as createCliStatusTextStyles, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, m as buildDaemonServiceSnapshot, r as runServiceStop, t as runServiceRestart } from "./lifecycle-core-
|
|
55
|
-
import { s as formatRuntimeStatus } from "./systemd-hints-
|
|
52
|
+
import "./systemd-B-TNk1de.js";
|
|
53
|
+
import { s as resolveGatewayLogPaths } from "./service-D_q10odK.js";
|
|
54
|
+
import { a as createCliStatusTextStyles, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, m as buildDaemonServiceSnapshot, r as runServiceStop, t as runServiceRestart } from "./lifecycle-core-BBoysuYG.js";
|
|
55
|
+
import { s as formatRuntimeStatus } from "./systemd-hints-BtHGM1Jb.js";
|
|
56
56
|
import { t as parsePort } from "./parse-port-Dq63ch6Y.js";
|
|
57
57
|
import { i as NODE_SYSTEM_RUN_COMMANDS, n as NODE_EXEC_APPROVALS_COMMANDS, t as NODE_BROWSER_PROXY_COMMAND } from "./node-commands-D1gL9g7M.js";
|
|
58
|
-
import { t as resolveNodeService } from "./node-service-
|
|
58
|
+
import { t as resolveNodeService } from "./node-service-B10h5Sui.js";
|
|
59
59
|
import { spawn, spawnSync } from "node:child_process";
|
|
60
60
|
import path from "node:path";
|
|
61
61
|
import fs from "node:fs";
|
|
62
|
-
import
|
|
62
|
+
import fs$1 from "node:fs/promises";
|
|
63
63
|
import crypto from "node:crypto";
|
|
64
64
|
|
|
65
65
|
//#region src/node-host/config.ts
|
|
@@ -82,7 +82,7 @@ function normalizeConfig(config) {
|
|
|
82
82
|
async function loadNodeHostConfig() {
|
|
83
83
|
const filePath = resolveNodeHostConfigPath();
|
|
84
84
|
try {
|
|
85
|
-
const raw = await
|
|
85
|
+
const raw = await fs$1.readFile(filePath, "utf8");
|
|
86
86
|
return normalizeConfig(JSON.parse(raw));
|
|
87
87
|
} catch {
|
|
88
88
|
return null;
|
|
@@ -178,10 +178,10 @@ function collectBrowserProxyPaths(payload) {
|
|
|
178
178
|
return [...paths];
|
|
179
179
|
}
|
|
180
180
|
async function readBrowserProxyFile(filePath) {
|
|
181
|
-
const stat = await
|
|
181
|
+
const stat = await fs$1.stat(filePath).catch(() => null);
|
|
182
182
|
if (!stat || !stat.isFile()) return null;
|
|
183
183
|
if (stat.size > BROWSER_PROXY_MAX_FILE_BYTES) throw new Error(`browser proxy file exceeds ${Math.round(BROWSER_PROXY_MAX_FILE_BYTES / (1024 * 1024))}MB`);
|
|
184
|
-
const buffer = await
|
|
184
|
+
const buffer = await fs$1.readFile(filePath);
|
|
185
185
|
const mimeType = await detectMime({
|
|
186
186
|
buffer,
|
|
187
187
|
filePath
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bt as normalizeDeviceMetadataForPolicy } from "./client-
|
|
1
|
+
import { Bt as normalizeDeviceMetadataForPolicy } from "./client-D3Y8sx9i.js";
|
|
2
2
|
import { i as NODE_SYSTEM_RUN_COMMANDS, r as NODE_SYSTEM_NOTIFY_COMMAND, t as NODE_BROWSER_PROXY_COMMAND } from "./node-commands-D1gL9g7M.js";
|
|
3
3
|
|
|
4
4
|
//#region src/gateway/node-command-policy.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as resolveNodeWindowsTaskName, a as NODE_SERVICE_KIND, g as resolveNodeSystemdServiceName, h as resolveNodeLaunchAgentLabel, o as NODE_SERVICE_MARKER, s as NODE_WINDOWS_TASK_SCRIPT_NAME } from "./constants-CVdMnAs9.js";
|
|
2
|
-
import { t as resolveGatewayService } from "./service-
|
|
2
|
+
import { t as resolveGatewayService } from "./service-D_q10odK.js";
|
|
3
3
|
|
|
4
4
|
//#region src/daemon/node-service.ts
|
|
5
5
|
function withNodeServiceEnv(env) {
|
|
@@ -2,10 +2,10 @@ import { f as isRich, p as theme } from "./globals-B68W7uN8.js";
|
|
|
2
2
|
import "./paths-BnKiOk2S.js";
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-DjdBljTA.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import { M as loadConfig, at as parseDurationMs } from "./auth-profiles-
|
|
6
|
-
import { d as resolveDefaultAgentId, i as resolveAgentConfig } from "./agent-scope-
|
|
5
|
+
import { M as loadConfig, at as parseDurationMs } from "./auth-profiles-Ncv1fyN5.js";
|
|
6
|
+
import { d as resolveDefaultAgentId, i as resolveAgentConfig } from "./agent-scope-CJelRKYY.js";
|
|
7
7
|
import { b as shortenHomeInString, x as shortenHomePath } from "./utils-DIzy5B5o.js";
|
|
8
|
-
import "./workspace-
|
|
8
|
+
import "./workspace-BHfqkuYN.js";
|
|
9
9
|
import "./logger-BJMfryJd.js";
|
|
10
10
|
import "./exec-CEAvKSx9.js";
|
|
11
11
|
import "./github-copilot-token-CulJ9J5l.js";
|
|
@@ -13,22 +13,22 @@ import "./host-env-security-CJMD0__Z.js";
|
|
|
13
13
|
import "./version-CGDNfh5C.js";
|
|
14
14
|
import "./env-vars-Dw0EwyGP.js";
|
|
15
15
|
import "./registry-7fg1BnMw.js";
|
|
16
|
-
import "./manifest-registry-
|
|
16
|
+
import "./manifest-registry-Kbw8YPsZ.js";
|
|
17
17
|
import "./message-channel-BiM2wKMK.js";
|
|
18
|
-
import "./client-
|
|
19
|
-
import { a as randomIdempotencyKey } from "./call-
|
|
18
|
+
import "./client-D3Y8sx9i.js";
|
|
19
|
+
import { a as randomIdempotencyKey } from "./call-BolSRDlL.js";
|
|
20
20
|
import "./pairing-token-BsirnXyL.js";
|
|
21
|
-
import "./net-
|
|
22
|
-
import "./tailnet-
|
|
21
|
+
import "./net-B6xk1xkz.js";
|
|
22
|
+
import "./tailnet-DcxtJZA8.js";
|
|
23
23
|
import "./redact-C54hrUru.js";
|
|
24
24
|
import "./errors-vO-8U3CP.js";
|
|
25
|
-
import "./proxy-env-
|
|
26
|
-
import "./exec-approvals-allowlist-
|
|
27
|
-
import "./fetch-guard-
|
|
25
|
+
import "./proxy-env-B3cJLAXi.js";
|
|
26
|
+
import "./exec-approvals-allowlist-BjI4jCdB.js";
|
|
27
|
+
import "./fetch-guard-B3dFBAUH.js";
|
|
28
28
|
import { n as formatTimeAgo } from "./format-relative-DdvuDKIv.js";
|
|
29
29
|
import { f as resolveExecApprovalsFromFile, i as maxAsk, o as minSecurity, t as DEFAULT_EXEC_APPROVAL_TIMEOUT_MS } from "./exec-approvals-BdDof9Fq.js";
|
|
30
|
-
import { a as canvasSnapshotTempPath, b as buildNodeShellCommand, c as parseCameraClipPayload, d as writeCameraClipPayloadToFile, f as writeCameraPayloadToFile, i as parseEnvPairs, l as parseCameraSnapPayload, n as screenRecordTempPath, o as parseCanvasSnapshotPayload, p as parsePreparedSystemRunPayload, r as writeScreenRecordToFile, s as cameraTempPath, t as parseScreenRecordPayload, u as writeBase64ToFile, x as applyPathPrepend } from "./nodes-screen-
|
|
31
|
-
import "./system-run-command
|
|
30
|
+
import { a as canvasSnapshotTempPath, b as buildNodeShellCommand, c as parseCameraClipPayload, d as writeCameraClipPayloadToFile, f as writeCameraPayloadToFile, i as parseEnvPairs, l as parseCameraSnapPayload, n as screenRecordTempPath, o as parseCanvasSnapshotPayload, p as parsePreparedSystemRunPayload, r as writeScreenRecordToFile, s as cameraTempPath, t as parseScreenRecordPayload, u as writeBase64ToFile, x as applyPathPrepend } from "./nodes-screen-DIBoM5tG.js";
|
|
31
|
+
import "./system-run-command-Bnym6gCM.js";
|
|
32
32
|
import { i as parsePairingList, r as parseNodeList } from "./node-resolve-kOyUD0le.js";
|
|
33
33
|
import { t as parseTimeoutMs } from "./parse-timeout-kGl8Fsas.js";
|
|
34
34
|
import { t as formatDocsLink } from "./links-CbS2yOg-.js";
|
|
@@ -36,8 +36,8 @@ import { n as runCommandWithRuntime } from "./cli-utils-aSBNHQae.js";
|
|
|
36
36
|
import { t as formatHelpExamples } from "./help-format-Bf46Qqc-.js";
|
|
37
37
|
import "./progress-BkZzF3Qm.js";
|
|
38
38
|
import { t as renderTable } from "./table-9IueuXKv.js";
|
|
39
|
-
import { a as resolveNodeId, i as resolveNode, n as callGatewayCli, o as unauthorizedHintForMessage, r as nodesCallOpts, s as formatPermissions, t as buildNodeInvokeParams } from "./rpc-
|
|
40
|
-
import
|
|
39
|
+
import { a as resolveNodeId, i as resolveNode, n as callGatewayCli, o as unauthorizedHintForMessage, r as nodesCallOpts, s as formatPermissions, t as buildNodeInvokeParams } from "./rpc-Cnf8pyqe.js";
|
|
40
|
+
import fs from "node:fs/promises";
|
|
41
41
|
|
|
42
42
|
//#region src/cli/nodes-cli/cli-utils.ts
|
|
43
43
|
function getNodesTheme() {
|
|
@@ -387,7 +387,7 @@ function registerNodesCanvasCommands(nodes) {
|
|
|
387
387
|
const hasJsonl = Boolean(opts.jsonl);
|
|
388
388
|
const hasText = typeof opts.text === "string";
|
|
389
389
|
if (hasJsonl === hasText) throw new Error("provide exactly one of --jsonl or --text");
|
|
390
|
-
const jsonl = hasText ? buildA2UITextJsonl(String(opts.text ?? "")) : await
|
|
390
|
+
const jsonl = hasText ? buildA2UITextJsonl(String(opts.text ?? "")) : await fs.readFile(String(opts.jsonl), "utf8");
|
|
391
391
|
const { version, messageCount } = validateA2UIJsonl(jsonl);
|
|
392
392
|
if (version === "v0.9") throw new Error("Detected A2UI v0.9 JSONL (createSurface). OpenClaw currently supports v0.8 only.");
|
|
393
393
|
await invokeCanvas(opts, "canvas.a2ui.pushJSONL", { jsonl });
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { k as resolvePreferredOpenClawTmpDir } from "./globals-B68W7uN8.js";
|
|
2
2
|
import { S as resolveCliName } from "./paths-BnKiOk2S.js";
|
|
3
3
|
import { r as normalizeEnvVarKey } from "./host-env-security-CJMD0__Z.js";
|
|
4
|
-
import { c as normalizeHostname } from "./proxy-env-
|
|
5
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
6
|
-
import { n as resolveSystemRunCommand, t as formatExecCommand } from "./system-run-command
|
|
4
|
+
import { c as normalizeHostname } from "./proxy-env-B3cJLAXi.js";
|
|
5
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-B3dFBAUH.js";
|
|
6
|
+
import { n as resolveSystemRunCommand, t as formatExecCommand } from "./system-run-command-Bnym6gCM.js";
|
|
7
7
|
import * as path$1 from "node:path";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import fs from "node:fs";
|
|
10
|
-
import * as fs$
|
|
10
|
+
import * as fs$2 from "node:fs/promises";
|
|
11
11
|
import crypto, { randomUUID } from "node:crypto";
|
|
12
12
|
|
|
13
13
|
//#region src/infra/path-prepend.ts
|
|
@@ -356,7 +356,7 @@ async function writeUrlToFile(filePath, url, opts) {
|
|
|
356
356
|
if (typeof contentLength === "number" && Number.isFinite(contentLength) && contentLength > MAX_CAMERA_URL_DOWNLOAD_BYTES) throw new Error(`writeUrlToFile: content-length ${contentLength} exceeds max ${MAX_CAMERA_URL_DOWNLOAD_BYTES}`);
|
|
357
357
|
const body = res.body;
|
|
358
358
|
if (!body) throw new Error(`failed to download ${url}: empty response body`);
|
|
359
|
-
const fileHandle = await fs$
|
|
359
|
+
const fileHandle = await fs$2.open(filePath, "w");
|
|
360
360
|
let thrown;
|
|
361
361
|
try {
|
|
362
362
|
const reader = body.getReader();
|
|
@@ -374,7 +374,7 @@ async function writeUrlToFile(filePath, url, opts) {
|
|
|
374
374
|
await fileHandle.close();
|
|
375
375
|
}
|
|
376
376
|
if (thrown) {
|
|
377
|
-
await fs$
|
|
377
|
+
await fs$2.unlink(filePath).catch(() => {});
|
|
378
378
|
throw thrown;
|
|
379
379
|
}
|
|
380
380
|
} finally {
|
|
@@ -387,7 +387,7 @@ async function writeUrlToFile(filePath, url, opts) {
|
|
|
387
387
|
}
|
|
388
388
|
async function writeBase64ToFile(filePath, base64) {
|
|
389
389
|
const buf = Buffer.from(base64, "base64");
|
|
390
|
-
await fs$
|
|
390
|
+
await fs$2.writeFile(filePath, buf);
|
|
391
391
|
return {
|
|
392
392
|
path: filePath,
|
|
393
393
|
bytes: buf.length
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { v as resolveUserPath } from "./utils-DIzy5B5o.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-CEAvKSx9.js";
|
|
3
|
-
import { c as fileExists, d as resolvePackedRootDir, n as resolveSafeInstallDir, s as extractArchive, t as assertCanonicalPathWithinBase, u as resolveArchiveKind } from "./install-safe-path-
|
|
3
|
+
import { c as fileExists, d as resolvePackedRootDir, n as resolveSafeInstallDir, s as extractArchive, t as assertCanonicalPathWithinBase, u as resolveArchiveKind } from "./install-safe-path-lyrY4AbG.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import os from "node:os";
|
|
6
|
-
import
|
|
6
|
+
import fs from "node:fs/promises";
|
|
7
7
|
|
|
8
8
|
//#region src/infra/install-source-utils.ts
|
|
9
9
|
function buildNpmResolutionFields(resolution) {
|
|
@@ -17,11 +17,11 @@ function buildNpmResolutionFields(resolution) {
|
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
19
|
async function withTempDir(prefix, fn) {
|
|
20
|
-
const tmpDir = await
|
|
20
|
+
const tmpDir = await fs.mkdtemp(path.join(os.tmpdir(), prefix));
|
|
21
21
|
try {
|
|
22
22
|
return await fn(tmpDir);
|
|
23
23
|
} finally {
|
|
24
|
-
await
|
|
24
|
+
await fs.rm(tmpDir, {
|
|
25
25
|
recursive: true,
|
|
26
26
|
force: true
|
|
27
27
|
}).catch(() => void 0);
|
|
@@ -106,12 +106,12 @@ function parsePackedArchiveFromStdout(stdout) {
|
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
async function findPackedArchiveInDir(cwd) {
|
|
109
|
-
const archives = (await
|
|
109
|
+
const archives = (await fs.readdir(cwd, { withFileTypes: true }).catch(() => [])).filter((entry) => entry.isFile() && entry.name.endsWith(".tgz"));
|
|
110
110
|
if (archives.length === 0) return;
|
|
111
111
|
if (archives.length === 1) return archives[0]?.name;
|
|
112
112
|
const sortedByMtime = await Promise.all(archives.map(async (entry) => ({
|
|
113
113
|
name: entry.name,
|
|
114
|
-
mtimeMs: (await
|
|
114
|
+
mtimeMs: (await fs.stat(path.join(cwd, entry.name))).mtimeMs
|
|
115
115
|
})));
|
|
116
116
|
sortedByMtime.sort((a, b) => b.mtimeMs - a.mtimeMs);
|
|
117
117
|
return sortedByMtime[0]?.name;
|
|
@@ -176,13 +176,13 @@ async function resolveExistingInstallPath(inputPath) {
|
|
|
176
176
|
return {
|
|
177
177
|
ok: true,
|
|
178
178
|
resolvedPath,
|
|
179
|
-
stat: await
|
|
179
|
+
stat: await fs.stat(resolvedPath)
|
|
180
180
|
};
|
|
181
181
|
}
|
|
182
182
|
async function withExtractedArchiveRoot(params) {
|
|
183
183
|
return await withTempDir(params.tempDirPrefix, async (tmpDir) => {
|
|
184
184
|
const extractDir = path.join(tmpDir, "extract");
|
|
185
|
-
await
|
|
185
|
+
await fs.mkdir(extractDir, { recursive: true });
|
|
186
186
|
params.logger?.info?.(`Extracting ${params.archivePath}…`);
|
|
187
187
|
try {
|
|
188
188
|
await extractArchive({
|
|
@@ -235,7 +235,7 @@ async function sanitizeManifestForNpmInstall(targetDir) {
|
|
|
235
235
|
const manifestPath = path.join(targetDir, "package.json");
|
|
236
236
|
let manifestRaw = "";
|
|
237
237
|
try {
|
|
238
|
-
manifestRaw = await
|
|
238
|
+
manifestRaw = await fs.readFile(manifestPath, "utf-8");
|
|
239
239
|
} catch {
|
|
240
240
|
return;
|
|
241
241
|
}
|
|
@@ -255,7 +255,7 @@ async function sanitizeManifestForNpmInstall(targetDir) {
|
|
|
255
255
|
if (filteredEntries.length === Object.keys(devDependencies).length) return;
|
|
256
256
|
if (filteredEntries.length === 0) delete manifest.devDependencies;
|
|
257
257
|
else manifest.devDependencies = Object.fromEntries(filteredEntries);
|
|
258
|
-
await
|
|
258
|
+
await fs.writeFile(manifestPath, `${JSON.stringify(manifest, null, 2)}\n`, "utf-8");
|
|
259
259
|
}
|
|
260
260
|
async function assertInstallBoundaryPaths(params) {
|
|
261
261
|
for (const candidatePath of params.candidatePaths) await assertCanonicalPathWithinBase({
|
|
@@ -267,7 +267,7 @@ async function assertInstallBoundaryPaths(params) {
|
|
|
267
267
|
async function installPackageDir(params) {
|
|
268
268
|
params.logger?.info?.(`Installing to ${params.targetDir}…`);
|
|
269
269
|
const installBaseDir = path.dirname(params.targetDir);
|
|
270
|
-
await
|
|
270
|
+
await fs.mkdir(installBaseDir, { recursive: true });
|
|
271
271
|
await assertInstallBoundaryPaths({
|
|
272
272
|
installBaseDir,
|
|
273
273
|
candidatePaths: [params.targetDir]
|
|
@@ -276,12 +276,12 @@ async function installPackageDir(params) {
|
|
|
276
276
|
if (params.mode === "update" && await fileExists(params.targetDir)) {
|
|
277
277
|
const backupRoot = path.join(path.dirname(params.targetDir), ".openclaw-install-backups");
|
|
278
278
|
backupDir = path.join(backupRoot, `${path.basename(params.targetDir)}-${Date.now()}`);
|
|
279
|
-
await
|
|
279
|
+
await fs.mkdir(backupRoot, { recursive: true });
|
|
280
280
|
await assertInstallBoundaryPaths({
|
|
281
281
|
installBaseDir,
|
|
282
282
|
candidatePaths: [backupDir]
|
|
283
283
|
});
|
|
284
|
-
await
|
|
284
|
+
await fs.rename(params.targetDir, backupDir);
|
|
285
285
|
}
|
|
286
286
|
const rollback = async () => {
|
|
287
287
|
if (!backupDir) return;
|
|
@@ -289,18 +289,18 @@ async function installPackageDir(params) {
|
|
|
289
289
|
installBaseDir,
|
|
290
290
|
candidatePaths: [params.targetDir, backupDir]
|
|
291
291
|
});
|
|
292
|
-
await
|
|
292
|
+
await fs.rm(params.targetDir, {
|
|
293
293
|
recursive: true,
|
|
294
294
|
force: true
|
|
295
295
|
}).catch(() => void 0);
|
|
296
|
-
await
|
|
296
|
+
await fs.rename(backupDir, params.targetDir).catch(() => void 0);
|
|
297
297
|
};
|
|
298
298
|
try {
|
|
299
299
|
await assertInstallBoundaryPaths({
|
|
300
300
|
installBaseDir,
|
|
301
301
|
candidatePaths: [params.targetDir]
|
|
302
302
|
});
|
|
303
|
-
await
|
|
303
|
+
await fs.cp(params.sourceDir, params.targetDir, { recursive: true });
|
|
304
304
|
} catch (err) {
|
|
305
305
|
await rollback();
|
|
306
306
|
return {
|
|
@@ -338,7 +338,7 @@ async function installPackageDir(params) {
|
|
|
338
338
|
};
|
|
339
339
|
}
|
|
340
340
|
}
|
|
341
|
-
if (backupDir) await
|
|
341
|
+
if (backupDir) await fs.rm(backupDir, {
|
|
342
342
|
recursive: true,
|
|
343
343
|
force: true
|
|
344
344
|
}).catch(() => void 0);
|
|
@@ -354,7 +354,7 @@ async function installPackageDirWithManifestDeps(params) {
|
|
|
354
354
|
//#endregion
|
|
355
355
|
//#region src/infra/install-target.ts
|
|
356
356
|
async function resolveCanonicalInstallTarget(params) {
|
|
357
|
-
await
|
|
357
|
+
await fs.mkdir(params.baseDir, { recursive: true });
|
|
358
358
|
const targetDirResult = resolveSafeInstallDir({
|
|
359
359
|
baseDir: params.baseDir,
|
|
360
360
|
id: params.id,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-DjdBljTA.js";
|
|
2
|
-
import { M as loadConfig } from "./auth-profiles-
|
|
3
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
-
import { h as resolveDefaultAgentWorkspaceDir } from "./workspace-
|
|
5
|
-
import { _ as loadOpenClawPlugins, g as createPluginLoaderLogger } from "./subagent-registry-
|
|
6
|
-
import { d as buildNpmResolutionFields } from "./npm-pack-install-
|
|
2
|
+
import { M as loadConfig } from "./auth-profiles-Ncv1fyN5.js";
|
|
3
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-CJelRKYY.js";
|
|
4
|
+
import { h as resolveDefaultAgentWorkspaceDir } from "./workspace-BHfqkuYN.js";
|
|
5
|
+
import { _ as loadOpenClawPlugins, g as createPluginLoaderLogger } from "./subagent-registry-D4xGq2uc.js";
|
|
6
|
+
import { d as buildNpmResolutionFields } from "./npm-pack-install-C9DS0YeS.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
|
|
9
9
|
//#region src/plugins/status.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dt as loadOpenClawPlugins, ut as createPluginLoaderLogger } from "./reply-
|
|
1
|
+
import { dt as loadOpenClawPlugins, ut as createPluginLoaderLogger } from "./reply-OEcNPoWd.js";
|
|
2
2
|
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-CiBV1K6b.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-BT74-yyS.js";
|
|
4
4
|
import { h as resolveDefaultAgentWorkspaceDir } from "./workspace-CRdln__H.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { u as resolveGatewayPort } from "./paths-BnKiOk2S.js";
|
|
2
2
|
import { d as defaultRuntime, f as restoreTerminalState } from "./subsystem-DjdBljTA.js";
|
|
3
|
-
import { P as readConfigFileSnapshot, R as writeConfigFile } from "./auth-profiles-
|
|
3
|
+
import { P as readConfigFileSnapshot, R as writeConfigFile } from "./auth-profiles-Ncv1fyN5.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-CVXyxgq3.js";
|
|
5
5
|
import { v as resolveUserPath } from "./utils-DIzy5B5o.js";
|
|
6
|
-
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, c as handleReset, g as resolveControlUiLinks, h as randomToken, n as applyWizardMetadata, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput } from "./onboard-helpers-
|
|
6
|
+
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, c as handleReset, g as resolveControlUiLinks, h as randomToken, n as applyWizardMetadata, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput } from "./onboard-helpers-D-l_4GyD.js";
|
|
7
7
|
import { t as WizardCancelledError } from "./prompts-QSI6gA3k.js";
|
|
8
8
|
import { t as createClackPrompter } from "./clack-prompter-fBizq68H.js";
|
|
9
9
|
import { t as assertSupportedRuntime } from "./runtime-guard-DzZMAUj_.js";
|
|
10
10
|
import { t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-3ZmrkfCf.js";
|
|
11
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
11
|
+
import { t as runOnboardingWizard } from "./onboarding-_GD-DZHG.js";
|
|
12
12
|
import { n as logConfigUpdated } from "./logging-CmPhQ5QB.js";
|
|
13
13
|
import { i as normalizeLegacyOnboardAuthChoice, r as isDeprecatedAuthChoice, t as ONBOARD_PROVIDER_AUTH_FLAGS } from "./onboard-provider-auth-flags-ijrpDurI.js";
|
|
14
14
|
import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-D9KC4vvF.js";
|
|
@@ -207,7 +207,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
207
207
|
}
|
|
208
208
|
const authChoice = opts.authChoice ?? inferredAuthChoice.choice ?? "skip";
|
|
209
209
|
if (authChoice !== "skip") {
|
|
210
|
-
const { applyNonInteractiveAuthChoice } = await import("./auth-choice-
|
|
210
|
+
const { applyNonInteractiveAuthChoice } = await import("./auth-choice-Da9Ml4DK.js");
|
|
211
211
|
const nextConfigAfterAuth = await applyNonInteractiveAuthChoice({
|
|
212
212
|
nextConfig,
|
|
213
213
|
authChoice,
|
|
@@ -240,7 +240,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
240
240
|
logConfigUpdated(runtime);
|
|
241
241
|
await ensureWorkspaceAndSessions(workspaceDir, runtime, { skipBootstrap: Boolean(nextConfig.agents?.defaults?.skipBootstrap) });
|
|
242
242
|
if (opts.installDaemon) {
|
|
243
|
-
const { installGatewayDaemonNonInteractive } = await import("./daemon-install-
|
|
243
|
+
const { installGatewayDaemonNonInteractive } = await import("./daemon-install-BWb3fVhk.js");
|
|
244
244
|
await installGatewayDaemonNonInteractive({
|
|
245
245
|
nextConfig,
|
|
246
246
|
opts,
|
|
@@ -251,7 +251,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
251
251
|
}
|
|
252
252
|
const daemonRuntimeRaw = opts.daemonRuntime ?? DEFAULT_GATEWAY_DAEMON_RUNTIME;
|
|
253
253
|
if (!opts.skipHealth) {
|
|
254
|
-
const { healthCommand } = await import("./health-
|
|
254
|
+
const { healthCommand } = await import("./health-Gkd0akfz.js").then((n) => n.i);
|
|
255
255
|
await waitForGatewayReachable({
|
|
256
256
|
url: resolveControlUiLinks({
|
|
257
257
|
bind: gatewayResult.bind,
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-DjdBljTA.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-CVXyxgq3.js";
|
|
4
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-CJelRKYY.js";
|
|
5
5
|
import { g as normalizeAccountId, h as DEFAULT_ACCOUNT_ID } from "./session-key-BLprDJYq.js";
|
|
6
6
|
import { m as pathExists, p as normalizeE164, t as CONFIG_DIR } from "./utils-DIzy5B5o.js";
|
|
7
7
|
import { t as runCommandWithTimeout } from "./exec-CEAvKSx9.js";
|
|
8
8
|
import { i as formatChannelSelectionLine, o as listChatChannels, r as formatChannelPrimerLine } from "./registry-7fg1BnMw.js";
|
|
9
|
-
import { C as resolveDiscordAccount, S as resolveDefaultDiscordAccountId, b as listDiscordAccountIds, c as resolveDefaultTelegramAccountId, d as listSlackAccountIds, f as resolveDefaultSlackAccountId, l as resolveTelegramAccount, n as listChannelPlugins, p as resolveSlackAccount, s as listTelegramAccountIds, t as getChannelPlugin } from "./plugins-
|
|
10
|
-
import { a as resolveWhatsAppAuthDir, n as listWhatsAppAccountIds, r as resolveDefaultWhatsAppAccountId } from "./accounts-
|
|
11
|
-
import { n as resolveDefaultIMessageAccountId, r as resolveIMessageAccount, t as listIMessageAccountIds } from "./accounts-
|
|
12
|
-
import { i as resolveSignalAccount, n as listSignalAccountIds, r as resolveDefaultSignalAccountId } from "./accounts-
|
|
13
|
-
import { ut as normalizeDiscordSlug } from "./send-
|
|
14
|
-
import { Hn as resolveDiscordUserAllowlist, O as resolveDiscordChannelAllowlist, Vn as resolveSlackUserAllowlist, _ as loadOpenClawPlugins, g as createPluginLoaderLogger, x as resolveSlackChannelAllowlist } from "./subagent-registry-
|
|
15
|
-
import { a as listChannelPluginCatalogEntries, n as isChannelConfigured } from "./plugin-auto-enable-
|
|
16
|
-
import { s as normalizeIMessageHandle } from "./send-
|
|
17
|
-
import { r as detectBinary } from "./onboard-helpers-
|
|
9
|
+
import { C as resolveDiscordAccount, S as resolveDefaultDiscordAccountId, b as listDiscordAccountIds, c as resolveDefaultTelegramAccountId, d as listSlackAccountIds, f as resolveDefaultSlackAccountId, l as resolveTelegramAccount, n as listChannelPlugins, p as resolveSlackAccount, s as listTelegramAccountIds, t as getChannelPlugin } from "./plugins-BYHJoTB8.js";
|
|
10
|
+
import { a as resolveWhatsAppAuthDir, n as listWhatsAppAccountIds, r as resolveDefaultWhatsAppAccountId } from "./accounts-ESSExMvC.js";
|
|
11
|
+
import { n as resolveDefaultIMessageAccountId, r as resolveIMessageAccount, t as listIMessageAccountIds } from "./accounts-Dr4JgFGK.js";
|
|
12
|
+
import { i as resolveSignalAccount, n as listSignalAccountIds, r as resolveDefaultSignalAccountId } from "./accounts-C0g5--0e.js";
|
|
13
|
+
import { ut as normalizeDiscordSlug } from "./send-aCOVuBQ6.js";
|
|
14
|
+
import { Hn as resolveDiscordUserAllowlist, O as resolveDiscordChannelAllowlist, Vn as resolveSlackUserAllowlist, _ as loadOpenClawPlugins, g as createPluginLoaderLogger, x as resolveSlackChannelAllowlist } from "./subagent-registry-D4xGq2uc.js";
|
|
15
|
+
import { a as listChannelPluginCatalogEntries, n as isChannelConfigured } from "./plugin-auto-enable-BJBnaUzA.js";
|
|
16
|
+
import { s as normalizeIMessageHandle } from "./send-BCFY4Zon.js";
|
|
17
|
+
import { r as detectBinary } from "./onboard-helpers-D-l_4GyD.js";
|
|
18
18
|
import { t as formatDocsLink } from "./links-CbS2yOg-.js";
|
|
19
|
-
import { t as loginWeb } from "./login-
|
|
19
|
+
import { t as loginWeb } from "./login-CUi8T8WR.js";
|
|
20
20
|
import { t as resolveBrewExecutable } from "./brew-CPTu48DJ.js";
|
|
21
21
|
import { n as moveSingleAccountChannelSectionToDefaultAccount, t as fetchTelegramChatId } from "./api-gakS-kfC.js";
|
|
22
22
|
import { t as resolveChannelDefaultAccountId } from "./helpers-D6BlzJnx.js";
|
|
23
|
-
import { t as enablePluginInConfig } from "./enable-
|
|
24
|
-
import { s as extractArchive } from "./install-safe-path-
|
|
25
|
-
import { i as installPluginFromNpmSpec, n as recordPluginInstall, t as buildNpmResolutionInstallFields } from "./installs-
|
|
23
|
+
import { t as enablePluginInConfig } from "./enable-DUzrhH2H.js";
|
|
24
|
+
import { s as extractArchive } from "./install-safe-path-lyrY4AbG.js";
|
|
25
|
+
import { i as installPluginFromNpmSpec, n as recordPluginInstall, t as buildNpmResolutionInstallFields } from "./installs-B-WNFE2v.js";
|
|
26
26
|
import path from "node:path";
|
|
27
27
|
import os from "node:os";
|
|
28
28
|
import fs, { createWriteStream } from "node:fs";
|
|
29
|
-
import
|
|
29
|
+
import fs$1 from "node:fs/promises";
|
|
30
30
|
import { pipeline } from "node:stream/promises";
|
|
31
31
|
import { request } from "node:https";
|
|
32
32
|
|
|
@@ -1051,7 +1051,7 @@ async function findSignalCliBinary(root) {
|
|
|
1051
1051
|
const candidates = [];
|
|
1052
1052
|
const enqueue = async (dir, depth) => {
|
|
1053
1053
|
if (depth > 3) return;
|
|
1054
|
-
const entries = await
|
|
1054
|
+
const entries = await fs$1.readdir(dir, { withFileTypes: true }).catch(() => []);
|
|
1055
1055
|
for (const entry of entries) {
|
|
1056
1056
|
const full = path.join(dir, entry.name);
|
|
1057
1057
|
if (entry.isDirectory()) await enqueue(full, depth + 1);
|
|
@@ -1072,7 +1072,7 @@ async function resolveBrewSignalCliPath(brewExe) {
|
|
|
1072
1072
|
const prefix = result.stdout.trim();
|
|
1073
1073
|
const candidate = path.join(prefix, "bin", "signal-cli");
|
|
1074
1074
|
try {
|
|
1075
|
-
await
|
|
1075
|
+
await fs$1.access(candidate);
|
|
1076
1076
|
return candidate;
|
|
1077
1077
|
} catch {
|
|
1078
1078
|
return findSignalCliBinary(prefix);
|
|
@@ -1128,12 +1128,12 @@ async function installSignalCliFromRelease(runtime) {
|
|
|
1128
1128
|
ok: false,
|
|
1129
1129
|
error: "No compatible release asset found for this platform."
|
|
1130
1130
|
};
|
|
1131
|
-
const tmpDir = await
|
|
1131
|
+
const tmpDir = await fs$1.mkdtemp(path.join(os.tmpdir(), "openclaw-signal-"));
|
|
1132
1132
|
const archivePath = path.join(tmpDir, asset.name);
|
|
1133
1133
|
runtime.log(`Downloading signal-cli ${version} (${asset.name})…`);
|
|
1134
1134
|
await downloadToFile(asset.browser_download_url, archivePath);
|
|
1135
1135
|
const installRoot = path.join(CONFIG_DIR, "tools", "signal-cli", version);
|
|
1136
|
-
await
|
|
1136
|
+
await fs$1.mkdir(installRoot, { recursive: true });
|
|
1137
1137
|
if (!looksLikeArchive(asset.name.toLowerCase())) return {
|
|
1138
1138
|
ok: false,
|
|
1139
1139
|
error: `Unsupported archive type: ${asset.name}`
|
|
@@ -1152,7 +1152,7 @@ async function installSignalCliFromRelease(runtime) {
|
|
|
1152
1152
|
ok: false,
|
|
1153
1153
|
error: `signal-cli binary not found after extracting ${asset.name}`
|
|
1154
1154
|
};
|
|
1155
|
-
await
|
|
1155
|
+
await fs$1.chmod(cliPath, 493).catch(() => {});
|
|
1156
1156
|
return {
|
|
1157
1157
|
ok: true,
|
|
1158
1158
|
cliPath,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { h as pathExists, m as normalizeE164, t as CONFIG_DIR } from "./utils-CP51tiAi.js";
|
|
3
|
-
import { Lr as resolveSlackUserAllowlist, Rr as resolveDiscordUserAllowlist, St as resolveSlackChannelAllowlist, dt as loadOpenClawPlugins, kt as resolveDiscordChannelAllowlist, ut as createPluginLoaderLogger } from "./reply-
|
|
3
|
+
import { Lr as resolveSlackUserAllowlist, Rr as resolveDiscordUserAllowlist, St as resolveSlackChannelAllowlist, dt as loadOpenClawPlugins, kt as resolveDiscordChannelAllowlist, ut as createPluginLoaderLogger } from "./reply-OEcNPoWd.js";
|
|
4
4
|
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-CiBV1K6b.js";
|
|
5
5
|
import { t as createSubsystemLogger } from "./subsystem-BT74-yyS.js";
|
|
6
6
|
import { g as normalizeAccountId, h as DEFAULT_ACCOUNT_ID } from "./session-key-C9z4VQtw.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { Ti as normalizeSecretInput, c as modelKey } from "./model-selection-xdfZxwgB.js";
|
|
3
|
-
import { a as normalizeEndpointId, c as requestOpenAiVerification, i as formatVerificationError, l as resolveCustomAliasError, n as applyCustomApiConfig, o as normalizeOptionalProviderApiKey, r as buildEndpointIdFromUrl, s as requestAnthropicVerification, t as CustomApiError, u as resolveCustomProviderId } from "./onboard-custom.shared-
|
|
3
|
+
import { a as normalizeEndpointId, c as requestOpenAiVerification, i as formatVerificationError, l as resolveCustomAliasError, n as applyCustomApiConfig, o as normalizeOptionalProviderApiKey, r as buildEndpointIdFromUrl, s as requestAnthropicVerification, t as CustomApiError, u as resolveCustomProviderId } from "./onboard-custom.shared-vjI8sl9Q.js";
|
|
4
4
|
import { r as ensureApiKeyFromEnvOrPrompt } from "./auth-choice.apply-helpers-BaWlpW1x.js";
|
|
5
5
|
|
|
6
6
|
//#region src/commands/onboard-custom.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Si as normalizeSecretInput, fr as modelKey } from "./auth-profiles-
|
|
3
|
-
import { a as normalizeEndpointId, c as requestOpenAiVerification, i as formatVerificationError, l as resolveCustomAliasError, n as applyCustomApiConfig, o as normalizeOptionalProviderApiKey, r as buildEndpointIdFromUrl, s as requestAnthropicVerification, t as CustomApiError, u as resolveCustomProviderId } from "./onboard-custom.shared-
|
|
4
|
-
import { r as ensureApiKeyFromEnvOrPrompt } from "./auth-choice.apply-helpers-
|
|
2
|
+
import { Si as normalizeSecretInput, fr as modelKey } from "./auth-profiles-Ncv1fyN5.js";
|
|
3
|
+
import { a as normalizeEndpointId, c as requestOpenAiVerification, i as formatVerificationError, l as resolveCustomAliasError, n as applyCustomApiConfig, o as normalizeOptionalProviderApiKey, r as buildEndpointIdFromUrl, s as requestAnthropicVerification, t as CustomApiError, u as resolveCustomProviderId } from "./onboard-custom.shared-D6P-b1Wa.js";
|
|
4
|
+
import { r as ensureApiKeyFromEnvOrPrompt } from "./auth-choice.apply-helpers-ir8GviGs.js";
|
|
5
5
|
|
|
6
6
|
//#region src/commands/onboard-custom.ts
|
|
7
7
|
var onboard_custom_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Di as isSecretRef, fr as modelKey, ji as DEFAULT_PROVIDER, sr as buildModelAliasIndex, xi as normalizeOptionalSecretInput } from "./auth-profiles-
|
|
1
|
+
import { Di as isSecretRef, fr as modelKey, ji as DEFAULT_PROVIDER, sr as buildModelAliasIndex, xi as normalizeOptionalSecretInput } from "./auth-profiles-Ncv1fyN5.js";
|
|
2
2
|
import { n as fetchWithTimeout } from "./fetch-timeout-COrrU_w2.js";
|
|
3
|
-
import { t as CONTEXT_WINDOW_HARD_MIN_TOKENS } from "./context-window-guard-
|
|
4
|
-
import { c as normalizeAlias } from "./shared-
|
|
3
|
+
import { t as CONTEXT_WINDOW_HARD_MIN_TOKENS } from "./context-window-guard-BqrKjiIm.js";
|
|
4
|
+
import { c as normalizeAlias } from "./shared-ChzS9n9t.js";
|
|
5
5
|
|
|
6
6
|
//#region src/commands/onboard-custom.shared.ts
|
|
7
7
|
const DEFAULT_CONTEXT_WINDOW = CONTEXT_WINDOW_HARD_MIN_TOKENS;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Ai as isSecretRef, Pi as DEFAULT_PROVIDER, c as modelKey, r as buildModelAliasIndex, wi as normalizeOptionalSecretInput } from "./model-selection-xdfZxwgB.js";
|
|
2
2
|
import { n as fetchWithTimeout } from "./fetch-timeout-DkT3EnRA.js";
|
|
3
|
-
import { t as CONTEXT_WINDOW_HARD_MIN_TOKENS } from "./context-window-guard-
|
|
3
|
+
import { t as CONTEXT_WINDOW_HARD_MIN_TOKENS } from "./context-window-guard-DfLcl4Sl.js";
|
|
4
4
|
import { c as normalizeAlias } from "./shared-D0fApno-.js";
|
|
5
5
|
|
|
6
6
|
//#region src/commands/onboard-custom.shared.ts
|