@bitseek/claw 1.2.6 → 1.2.7
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-CCbfXe4Y.js → accounts-D5DQlttG.js} +7 -7
- package/dist/{accounts-C3iwoWUS.js → accounts-DKvlV3Tm.js} +1 -1
- package/dist/{accounts-ChjgDDok.js → accounts-jPPbCJns.js} +1 -1
- package/dist/{acp-cli-DIikR-tj.js → acp-cli-BZnPaFm3.js} +8 -8
- package/dist/{agent-scope-DHMu2mab.js → agent-scope-CiBV1K6b.js} +1 -1
- package/dist/{agents.config-BoNoGEQI.js → agents.config-DQBEXhzA.js} +2 -2
- package/dist/{api-key-rotation-CuHjsofV.js → api-key-rotation-j4O7qxMf.js} +1 -1
- package/dist/{audio-preflight-BClvbKMQ.js → audio-preflight-BkoTbTIH.js} +36 -36
- package/dist/{audio-preflight-BWOdDA2n.js → audio-preflight-Dd9DDvqB.js} +4 -4
- package/dist/{audio-transcription-runner-DaoqvWoi.js → audio-transcription-runner-Bx53bUS2.js} +1 -1
- package/dist/{audio-transcription-runner-Dv-MCA8E.js → audio-transcription-runner-CF_UP4C7.js} +22 -22
- package/dist/{audit-BAGbgihO.js → audit-1YVlVmk7.js} +29 -29
- package/dist/{auth-B9WdgDjZ.js → auth-Co2g3d8d.js} +1 -1
- package/dist/{auth-choice-FFUrxk0-.js → auth-choice-BamWYpsc.js} +14 -14
- package/dist/{auth-choice-CTCXt7WB.js → auth-choice-CdsMUqKA.js} +12 -12
- package/dist/{auth-choice.apply-helpers-Dz2x-3CK.js → auth-choice.apply-helpers-CQLQ5Tuk.js} +1 -1
- package/dist/{auth-token-BPWVp11S.js → auth-token-BjVRLcvi.js} +1 -1
- package/dist/{bindings-C0k4wFy7.js → bindings-Ck6aotGf.js} +1 -1
- package/dist/{bonjour-discovery-DXvZeG8M.js → bonjour-discovery-CtUQb94i.js} +1 -1
- package/dist/{browser-cli-BwtSgIvC.js → browser-cli-CaBLM5A6.js} +12 -12
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +6 -6
- package/dist/bundled/session-memory/handler.js +6 -6
- package/dist/{call-B9Vrcbed.js → call-BGZQEHL4.js} +10 -10
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-CeGx9Aq7.js → channel-account-context-C6rIxLzo.js} +5 -5
- package/dist/{channel-options-DmEaPgkZ.js → channel-options-Bnnem_wD.js} +3 -3
- package/dist/{channel-selection-BDdjozhi.js → channel-selection-TZJgoz5h.js} +1 -1
- package/dist/{channel-web-mFdbEE2o.js → channel-web-KY6EP9HT.js} +18 -18
- package/dist/{channels-cli-CCTczoJM.js → channels-cli-tJkvzsqO.js} +94 -94
- package/dist/{channels-status-issues-Dir7g-Pc.js → channels-status-issues-DeT1Znlx.js} +1 -1
- package/dist/{chrome-CjTE-vWv.js → chrome-C6zMSR36.js} +8 -8
- package/dist/{chrome-2gfHr1cU.js → chrome-DzGCPEQK.js} +4 -4
- package/dist/{clawbot-cli-BMGBnmny.js → clawbot-cli-Comysjn9.js} +5 -5
- package/dist/{cli-zsP2OqB6.js → cli-DOS1lPNs.js} +75 -75
- package/dist/{client-BoUhzGrS.js → client-B91adiXh.js} +2 -2
- package/dist/{command-registry-okzYatr9.js → command-registry-Ce2f2xlT.js} +5 -5
- package/dist/{commands-npgZubp3.js → commands-C6OLhl3n.js} +1 -1
- package/dist/{commands-registry-B5jHbfUL.js → commands-registry-CVzTBX51.js} +3 -3
- package/dist/{completion-cli-Dm9dt8iw.js → completion-cli-9Y73fGUi.js} +12 -12
- package/dist/{completion-cli-BFxGdqak.js → completion-cli-BmyLEw45.js} +2 -2
- package/dist/{config-cli-CJVYN-g-.js → config-cli-DZpbwWvz.js} +7 -7
- package/dist/{config-guard-1SsvFO9G.js → config-guard-9BjlFVZx.js} +17 -17
- package/dist/{config-validation-BJ6PNk8H.js → config-validation-BcxAhhcj.js} +3 -3
- package/dist/{configure-DMwHaNHJ.js → configure-CLMtWGiL.js} +17 -17
- package/dist/{control-ui-assets-DpInddpx.js → control-ui-assets-B_3g_YF0.js} +1 -1
- package/dist/{cron-cli-CyEcKgVG.js → cron-cli-C8kDGh6_.js} +12 -12
- package/dist/{daemon-cli-CB9c5SXP.js → daemon-cli-RKWFtF-K.js} +15 -15
- package/dist/{daemon-install-Bqjc3wky.js → daemon-install-DsJ0L8HP.js} +4 -4
- package/dist/{daemon-install-helpers-CGZBs-X3.js → daemon-install-helpers-CMWYg4_W.js} +11 -11
- package/dist/{dashboard-8HFxt9IY.js → dashboard-BhAYjl6n.js} +2 -2
- package/dist/{deliver-D4ugOkLr.js → deliver-Bn10XzRP.js} +7 -7
- package/dist/{deliver-xY3h9X6N.js → deliver-DXa06hfk.js} +1 -1
- package/dist/{devices-cli-Bp8AMOPE.js → devices-cli-DoJBheGs.js} +8 -8
- package/dist/{diagnostic-phUWJbF_.js → diagnostic-DRPetA8l.js} +1 -1
- package/dist/{diagnostics-D_AmByNE.js → diagnostics-BHQgZbuI.js} +5 -5
- package/dist/{directory-cli-Bt3I30_e.js → directory-cli-Brla3Idn.js} +8 -8
- package/dist/{dns-cli-DaTrsB61.js → dns-cli-rEvE1LG9.js} +5 -5
- package/dist/{dock-swzevZbj.js → dock-BXksV3sC.js} +4 -4
- package/dist/{docs-cli--2Qgcpvs.js → docs-cli-DtThi0Xf.js} +4 -4
- package/dist/{doctor-completion-UEYo4_U6.js → doctor-completion-CWm9ZwKY.js} +2 -2
- package/dist/{doctor-completion-wHIBxn-7.js → doctor-completion-_GRkzsCa.js} +1 -1
- package/dist/{doctor-config-flow-DKaeaH2u.js → doctor-config-flow-18ijj3KB.js} +15 -15
- package/dist/{enable-xlkWJvIn.js → enable-CJ75JA5u.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{exec-approvals-allowlist-fG-NsL-O.js → exec-approvals-allowlist-CGVHz3PX.js} +1 -1
- package/dist/{exec-approvals-cli-r7jbe_Rj.js → exec-approvals-cli-DfcUJ9Sm.js} +16 -16
- package/dist/{exec-safe-bin-runtime-policy-B9kCrTY1.js → exec-safe-bin-runtime-policy-D7olAQMf.js} +2 -2
- package/dist/{fetch-guard-N12H9lEe.js → fetch-guard-D6eclxeP.js} +1 -1
- package/dist/{fs-safe-BGAE6eOQ.js → fs-safe-p5lyYI__.js} +24 -24
- package/dist/{gateway-cli-BFo0WvJx.js → gateway-cli-CSL5V3uF.js} +1 -1
- package/dist/{gateway-cli-Bi6tzv7v.js → gateway-cli-DRM2vzxA.js} +160 -160
- package/dist/{gateway-rpc-BHBGSN7Z.js → gateway-rpc-CJVCek88.js} +1 -1
- package/dist/{health-DlFSsTw-.js → health-Du8dO3vn.js} +14 -14
- package/dist/{hooks-cli-CMLpJr6I.js → hooks-cli-DUIQuGjr.js} +83 -83
- package/dist/{hooks-status-inMD7sD-.js → hooks-status-ONaKEpUH.js} +1 -1
- package/dist/{image-BzR2twGI.js → image-B270IRGo.js} +5 -5
- package/dist/{image-DCyaYY2d.js → image-Dd4lgi4H.js} +1 -1
- package/dist/{plugin-sdk/image-ops-C9GXWF3o.js → image-ops-BAMcbVMS.js} +2 -2
- package/dist/index.js +85 -85
- package/dist/{inspect-BwbOLUun.js → inspect-C0e0Dmvg.js} +4 -4
- package/dist/{install-safe-path-DodF6oyk.js → install-safe-path-CSqVUjL8.js} +25 -25
- package/dist/{installs-8bzJi35e.js → installs-BXOZ3DXs.js} +9 -9
- package/dist/{ipv4-BY_PmkpX.js → ipv4-Bk-doiEE.js} +1 -1
- package/dist/{ir-vGBxQkIg.js → ir-BGgl4f9u.js} +6 -6
- package/dist/{issue-format-B4oxePhU.js → issue-format-rk9Vpcxd.js} +1 -1
- package/dist/{json-files-C7p5SEie.js → json-files-bJqSYqgg.js} +8 -8
- package/dist/{lifecycle-core-C5a4clqu.js → lifecycle-core-Bqse41aA.js} +5 -5
- package/dist/llm-slug-generator.js +6 -6
- package/dist/{local-roots-Dcc5UeD8.js → local-roots-jW0nhxVT.js} +3 -3
- package/dist/{login-BM9p9nig.js → login-B2B75WGK.js} +3 -3
- package/dist/{login-qr-CB4JWkHM.js → login-qr-YjUycQZT.js} +6 -6
- package/dist/{logs-cli-DGdXLEv-.js → logs-cli-Dyid6hUQ.js} +9 -9
- package/dist/{manager-X8AF3rQJ.js → manager-C9rftBaE.js} +14 -14
- package/dist/{manifest-registry-HNrtHxxI.js → manifest-registry-B_U2pKBU.js} +1 -1
- package/dist/{markdown-tables-XmfG1bwr.js → markdown-tables-B5l_33qL.js} +1 -1
- package/dist/{memory-cli-87nxADqy.js → memory-cli-o3L9NN74.js} +12 -12
- package/dist/{model-CESXYutI.js → model-FnrgCVyS.js} +2 -2
- package/dist/{model-catalog-DUHxH2xb.js → model-catalog-CjA5pRJF.js} +3 -3
- package/dist/{model-picker-D705WMPf.js → model-picker-CMgjcqV_.js} +4 -4
- package/dist/{model-selection-DCo8MhsE.js → model-selection-xdfZxwgB.js} +16 -16
- package/dist/{models-cli-9x2mp4Ac.js → models-cli-CHUbcM_y.js} +85 -85
- package/dist/{models-config-Bgpjcu8R.js → models-config-Do1Ur_ov.js} +6 -6
- package/dist/{node-cli-DJnihsNr.js → node-cli-DYOdgLUu.js} +33 -33
- package/dist/{node-command-policy-BiPTB8BK.js → node-command-policy-BKUs_pS2.js} +1 -1
- package/dist/{node-service-CfKJ5oC1.js → node-service-6W3vqgVv.js} +1 -1
- package/dist/{nodes-cli-4kBrEEti.js → nodes-cli-CQzck2kc.js} +16 -16
- package/dist/{nodes-screen-FWjD2j3v.js → nodes-screen-Dptoharj.js} +7 -7
- package/dist/{npm-pack-install-CXheGnb0.js → npm-pack-install-Byr0kgft.js} +18 -18
- package/dist/{npm-resolution-DIr_TibO.js → npm-resolution-Dv7nYiaP.js} +5 -5
- package/dist/{onboard-DEFQu6dU.js → onboard-ATkjPZXm.js} +6 -6
- package/dist/{onboard-B_MoYnrn.js → onboard-BuGv9f2N.js} +1 -1
- package/dist/{onboard-channels-BuG5-e60.js → onboard-channels-CRpmgX82.js} +20 -20
- package/dist/{onboard-custom-HI7NPx1u.js → onboard-custom-Bow6lZPm.js} +3 -3
- package/dist/{onboard-custom.shared-SWx67Er2.js → onboard-custom.shared-CBRRhb95.js} +2 -2
- package/dist/{onboard-helpers-Jc1-4LBc.js → onboard-helpers-B1AEo6oL.js} +11 -11
- package/dist/{onboard-hooks-DFjIpeE_.js → onboard-hooks-CtxRk6l_.js} +4 -4
- package/dist/{onboard-remote-BLAyUeAO.js → onboard-remote-DmHpLoWf.js} +3 -3
- package/dist/{onboard-skills--XkA2Jj4.js → onboard-skills-DwpZY5tZ.js} +4 -4
- package/dist/{onboarding-CSnr51pR.js → onboarding-BAaREMfO.js} +1 -1
- package/dist/{onboarding-BQ2WB7tp.js → onboarding-BvdtFAPe.js} +13 -13
- package/dist/{onboarding.finalize-BlMlIFRW.js → onboarding.finalize-CV7n10lP.js} +4 -4
- package/dist/{onboarding.finalize-DAbr5Ar8.js → onboarding.finalize-dkwktLJD.js} +87 -87
- package/dist/{onboarding.gateway-config-CMKjEPRA.js → onboarding.gateway-config-wXH6gE7c.js} +18 -18
- package/dist/{openai-model-default-BTNz1OzV.js → openai-model-default-Q7Hmy0eQ.js} +2 -2
- package/dist/{outbound-Bf7VAx0-.js → outbound-DlVJWa4u.js} +4 -4
- package/dist/{outbound-attachment-Df5o7JIG.js → outbound-attachment-CZh4VjhT.js} +2 -2
- package/dist/{pairing-cli-CA7Dxs-g.js → pairing-cli-DAMLvDcA.js} +9 -9
- package/dist/{pairing-labels-BBti3jJg.js → pairing-labels-Cl7ROILg.js} +1 -1
- package/dist/{pairing-store-DY0yrkuM.js → pairing-store-DdZ0xMD7.js} +3 -3
- package/dist/{path-alias-guards-BNzjbOwM.js → path-alias-guards-DWh6tSaP.js} +3 -3
- package/dist/{path-safety-dmCI2tpN.js → path-safety-COhgvniC.js} +1 -1
- package/dist/{paths-BZfURxkW.js → paths-AxolTUEH.js} +9 -9
- package/dist/{pi-embedded-Bacc2S0h.js → pi-embedded-DKX65Hec.js} +22 -22
- package/dist/{pi-embedded-helpers-CMTVhLjq.js → pi-embedded-helpers-BErNo2oq.js} +3 -3
- package/dist/{pi-embedded-helpers-D3nc5XJW.js → pi-embedded-helpers-ZTn-T7tW.js} +6 -6
- package/dist/{pi-model-discovery-BSytrsu4.js → pi-model-discovery-DVhDvAnA.js} +1 -1
- package/dist/{pi-tools.policy-Dwsq-Yaf.js → pi-tools.policy-eyXj0EY5.js} +5 -5
- package/dist/{plugin-auto-enable-4zXn-eVS.js → plugin-auto-enable-D1WySsnE.js} +3 -3
- package/dist/{plugin-registry-DsZTkNKu.js → plugin-registry-TOEmbMc4.js} +3 -3
- package/dist/plugin-sdk/{accounts-AbI8uETR.js → accounts-BZrkOo6-.js} +1 -1
- package/dist/plugin-sdk/{accounts-4WE2wtsW.js → accounts-COLYAAOx.js} +1 -1
- package/dist/plugin-sdk/{accounts-BYcizTXn.js → accounts-D_pT5EjF.js} +3 -3
- package/dist/plugin-sdk/{active-listener-pnqLAUOh.js → active-listener-DxBXcWm_.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-_j3fIYCK.js → agent-scope-DT5pxpJB.js} +3 -3
- package/dist/plugin-sdk/{api-key-rotation-CYI51U_M.js → api-key-rotation-Dl6Ad7Nj.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-BTRRjPew.js → audio-preflight-CkPj4OVY.js} +33 -33
- package/dist/plugin-sdk/{audio-transcription-runner-DFZS7uCO.js → audio-transcription-runner-BBn9jEMg.js} +10 -10
- package/dist/plugin-sdk/{bindings-CxxzC7gn.js → bindings-BSfhEjKN.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-B3yZ-f-m.js → channel-activity-DAEbma-o.js} +3 -3
- package/dist/plugin-sdk/{channel-web-D2q54sK-.js → channel-web-O79O_ah6.js} +23 -23
- package/dist/plugin-sdk/{chrome-oPevdeh5.js → chrome-Dn0G4NoF.js} +7 -7
- package/dist/plugin-sdk/{chunk-BPyPeheZ.js → chunk-cvtXztAT.js} +1 -1
- package/dist/plugin-sdk/{command-format-DvyMEXQo.js → command-format-BOJz3y1v.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-Dk8re8Lz.js → commands-registry-CZWv_JwZ.js} +5 -5
- package/dist/plugin-sdk/{config-D7I2_X4P.js → config-DAwOhnVF.js} +10 -10
- package/dist/plugin-sdk/{deliver-NrIHn0__.js → deliver-PdH-MCq8.js} +11 -11
- package/dist/plugin-sdk/{diagnostic-DL3k_wRi.js → diagnostic-BZvj-qNu.js} +2 -2
- package/dist/plugin-sdk/{dock-CjdkiLH7.js → dock-BdR3OYZn.js} +6 -6
- package/dist/plugin-sdk/{errors-DFTN4h2I.js → errors-jusxdu7M.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-BivEyA4v.js → fetch-guard-Dary6WwJ.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-B256n7Ff.js → fs-safe-DMCE0ej9.js} +3 -3
- package/dist/plugin-sdk/{image-CkPzr3XN.js → image-B3A2l2ep.js} +6 -6
- package/dist/{image-ops-B6BeXmZU.js → plugin-sdk/image-ops-DulHE5Qc.js} +12 -12
- package/dist/plugin-sdk/index.js +64 -64
- package/dist/plugin-sdk/{ir-BIm-jvIK.js → ir-BFXiJrsN.js} +6 -6
- package/dist/plugin-sdk/{local-roots-2AOXGUXW.js → local-roots-DssN60r6.js} +4 -4
- package/dist/plugin-sdk/{logger-CNhs9eKJ.js → logger-Cr-x0vMf.js} +1 -1
- package/dist/plugin-sdk/{login-BcLiF9tC.js → login-D0ul3-6C.js} +6 -6
- package/dist/plugin-sdk/{login-qr-GyPUodKJ.js → login-qr-XWKTFBuI.js} +9 -9
- package/dist/plugin-sdk/{manager-DYLqNUb4.js → manager-DGx_cF54.js} +10 -10
- package/dist/plugin-sdk/{markdown-tables-D9mmqMKi.js → markdown-tables-CsQpDNU5.js} +1 -1
- package/dist/plugin-sdk/{message-channel-_CEZcqxE.js → message-channel-CvNq-esz.js} +1 -1
- package/dist/plugin-sdk/{outbound-DdTsUaXa.js → outbound-D29FHlQl.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment--hkuIDR1.js → outbound-attachment-DRHrZUOx.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-BqUCBfUg.js → path-alias-guards-DpKV1B5p.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-CTfvZz83.js → pi-embedded-helpers-CKEUWckk.js} +17 -17
- package/dist/plugin-sdk/{pi-model-discovery-CK3Ih_kq.js → pi-model-discovery-BPeQq9XM.js} +1 -1
- package/dist/plugin-sdk/{plugins-BpHAMNJ1.js → plugins-DF_dKXTR.js} +6 -6
- package/dist/plugin-sdk/{proxy-BJdRZOnJ.js → proxy-BfmEDoun.js} +1 -1
- package/dist/plugin-sdk/{proxy-fetch-jmbopGcm.js → proxy-fetch-BpHIgvBk.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-D0Kx7w1D.js → pw-ai-BmmXDjtm.js} +13 -13
- package/dist/plugin-sdk/{qmd-manager-BDcutPp9.js → qmd-manager-3hQbqkm5.js} +8 -8
- package/dist/plugin-sdk/{query-expansion-C_X8SyEA.js → query-expansion-BOGLUWB7.js} +2 -2
- package/dist/plugin-sdk/{redact-DH8u23pF.js → redact-BOuKZWXa.js} +1 -1
- package/dist/plugin-sdk/{registry-HF8_S7QO.js → registry-Cv-oHUj1.js} +2 -2
- package/dist/plugin-sdk/{replies-DbjvV4gf.js → replies-CddwWBTJ.js} +3 -3
- package/dist/plugin-sdk/{reply-Cs_Ks2Mr.js → reply-YZQvouuF.js} +93 -93
- package/dist/plugin-sdk/{reply-prefix-KODsMNJ-.js → reply-prefix-DXthVxCx.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-BPT4aNiD.js → resolve-outbound-target-D3Y4F2Le.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-De2B5QY_.js → resolve-route-DuwYYn4a.js} +4 -4
- package/dist/plugin-sdk/{retry-pZ8iKytf.js → retry-BMcrIz7L.js} +1 -1
- package/dist/plugin-sdk/{send-C-Rd2stz.js → send-B0ztz6QC.js} +6 -6
- package/dist/plugin-sdk/{send-BoNw1Bki.js → send-C5USYGq7.js} +8 -8
- package/dist/plugin-sdk/{send-1uW-uqPf.js → send-D0AaWnIj.js} +7 -7
- package/dist/plugin-sdk/{send-wCqsQs_s.js → send-DEyQJTzd.js} +10 -10
- package/dist/plugin-sdk/{send-CZIN8SDx.js → send-DJzwu8kk.js} +15 -15
- package/dist/plugin-sdk/{session-ooYcB82T.js → session-BA7tVDpV.js} +5 -5
- package/dist/plugin-sdk/{session-meta-7J-uHiM_.js → session-meta-ChWvKVWj.js} +1 -1
- package/dist/plugin-sdk/{sessions-lAIo5l8W.js → sessions-BXps6YzJ.js} +6 -6
- package/dist/plugin-sdk/{skill-commands-D1Q6hGS4.js → skill-commands-B20uUsji.js} +5 -5
- package/dist/plugin-sdk/{skills-BWSDv2F_.js → skills-DXOTei42.js} +8 -8
- package/dist/plugin-sdk/{ssrf-JKDwTi8i.js → ssrf-Doxv9M7Q.js} +1 -1
- package/dist/plugin-sdk/{store-BMeqzQAf.js → store-BZbE1V-C.js} +2 -2
- package/dist/plugin-sdk/{subsystem-B0V8LFBA.js → subsystem-CM1s2lDT.js} +2 -2
- package/dist/plugin-sdk/{tables-DCSeBGBz.js → tables-BhH8EIqU.js} +1 -1
- package/dist/plugin-sdk/{target-errors-0u6pegQv.js → target-errors-QZay02Cv.js} +2 -2
- package/dist/plugin-sdk/{tokens-DF2_VTJy.js → tokens-DIE-Bf72.js} +1 -1
- package/dist/plugin-sdk/{tool-images-BbsgbHMZ.js → tool-images-heXfaJdb.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-JkCpGrfk.js → tool-loop-detection-CygMSQUK.js} +2 -2
- package/dist/plugin-sdk/{utils-BfVxx6bk.js → utils-BcL6KGZf.js} +1 -1
- package/dist/plugin-sdk/web-jmxdxo0H.js +72 -0
- package/dist/plugin-sdk/{whatsapp-actions-tVcrGNQc.js → whatsapp-actions-CRean1yN.js} +25 -25
- package/dist/{plugins-Ce8ThYGQ.js → plugins-CKWxMohB.js} +2 -2
- package/dist/{plugins-cli-DxFh5OQi.js → plugins-cli-Clo_uyvq.js} +85 -85
- package/dist/{ports-wtEwdqsX.js → ports-BL-FP2jP.js} +1 -1
- package/dist/{ports-DXMCFRgn.js → ports-DppAHKM-.js} +2 -2
- package/dist/{program-DnjsZxiJ.js → program-Br-upXE-.js} +2 -2
- package/dist/{program-context-36wFBslW.js → program-context-B7eOpdoF.js} +43 -43
- package/dist/{prompt-select-styled-BkpL6eKQ.js → prompt-select-styled-BpKwjfWa.js} +1 -1
- package/dist/{prompt-select-styled-CJt-zhnt.js → prompt-select-styled-CPPwmToI.js} +39 -39
- package/dist/{provider-auth-helpers-DeJ105rb.js → provider-auth-helpers-D_akOb8A.js} +5 -5
- package/dist/{proxy-env-DhFUQlwP.js → proxy-env-ClbXa7vn.js} +1 -1
- package/dist/{push-apns-SIM2es-Y.js → push-apns-DvNRo3EQ.js} +5 -5
- package/dist/{pw-ai-BOQE6s45.js → pw-ai-D21rIJ2z.js} +15 -15
- package/dist/{pw-ai-DGwA7iCM.js → pw-ai-pkfCxzhV.js} +1 -1
- package/dist/{qmd-manager-DVKj0i6T.js → qmd-manager-BD6lfN35.js} +20 -20
- package/dist/{qr-cli-Z4_Y6bva.js → qr-cli-BQGJJ5hp.js} +1 -1
- package/dist/{query-expansion-B9kneDbd.js → query-expansion-Dl85zpSb.js} +12 -12
- package/dist/{redact-snapshot-BI4Ryuhy.js → redact-snapshot-DCGL0k2M.js} +1 -1
- package/dist/{register.agent-Cd2LVcga.js → register.agent-DowGjvNc.js} +100 -100
- package/dist/register.configure-BZLa_c3k.js +174 -0
- package/dist/{register.init-BiLKNwSu.js → register.init-B1pIa3ys.js} +5 -88
- package/dist/{register.init-DpFUY5Ed.js → register.init-BrturXsS.js} +20 -103
- package/dist/{register.maintenance-R4RCi4f3.js → register.maintenance-D3hGsmW7.js} +5 -5
- package/dist/{register.maintenance-DAU-mVIz.js → register.maintenance-DlVX7oGZ.js} +97 -97
- package/dist/{register.message-B0CI0Q4o.js → register.message-DE-eKss6.js} +76 -76
- package/dist/{register.onboard-Di7iClKl.js → register.onboard-BLl4Er9V.js} +2 -2
- package/dist/{register.onboard-BGhXUfbX.js → register.onboard-BSOSCu5a.js} +18 -18
- package/dist/{register.setup-nlXy06aa.js → register.setup-CvAXGVEU.js} +21 -21
- package/dist/{register.setup-Dm_dHAB-.js → register.setup-NLg11E_9.js} +2 -2
- package/dist/{register.start-Dzss99ZY.js → register.start-BHASi8Um.js} +17 -17
- package/dist/{register.status-health-sessions-B4eNiGWS.js → register.status-health-sessions-Cbva8fTK.js} +89 -89
- package/dist/{register.subclis-1MobNhis.js → register.subclis-Zhshg_9Y.js} +3 -3
- package/dist/{replies-k5K96_46.js → replies-B6SXcEs0.js} +1 -1
- package/dist/{reply-DQMWsIE2.js → reply-D8Yu6-Ie.js} +156 -156
- package/dist/{reply-prefix-aBvAQX6L.js → reply-prefix-BttpF8VB.js} +1 -1
- package/dist/{resolve-route-R565qQgt.js → resolve-route-Ck23oGqS.js} +2 -2
- package/dist/{rpc-CMyUzpcT.js → rpc-9jE_1PW0.js} +1 -1
- package/dist/{run-main-CFGtfsPd.js → run-main-CiC7Az8U.js} +3 -3
- package/dist/{runtime-D64ACWoX.js → runtime-Rd7ooKB0.js} +2 -2
- package/dist/{sandbox-DH9YtUfB.js → sandbox-BKa5RrBl.js} +18 -18
- package/dist/{sandbox-cli-B1ThXy7C.js → sandbox-cli-BnpEc205.js} +26 -26
- package/dist/{secrets-cli-BEjJ3GP-.js → secrets-cli-CIxUNZyC.js} +10 -10
- package/dist/{security-cli-Zma5k5BZ.js → security-cli-BqOOeGxS.js} +43 -43
- package/dist/{send-NexNe2Wh.js → send-BntubUtK.js} +6 -6
- package/dist/{send-DmVTXBWW.js → send-ByUfPpKj.js} +11 -11
- package/dist/{send-CabiU1-J.js → send-Cua2kS5v.js} +6 -6
- package/dist/{send-BQVNhO4Q.js → send-DuNBSJln.js} +5 -5
- package/dist/{send-CFUSH9C-.js → send-SZBhACLn.js} +8 -8
- package/dist/{server-DQ7D-B-v.js → server-Ct0J5VXf.js} +19 -19
- package/dist/{server-context-Cr-Y4i6P.js → server-context-DWxmyV-0.js} +12 -12
- package/dist/{server-lifecycle-BVnXIEfI.js → server-lifecycle-B7aXKxY3.js} +2 -2
- package/dist/{server-middleware-zyvA9rl9.js → server-middleware-CO1brrgv.js} +1 -1
- package/dist/{server-node-events-oa4mOmsp.js → server-node-events-nakjzVDn.js} +76 -76
- package/dist/{service-BcFhE63y.js → service-DqxfCr8y.js} +15 -15
- package/dist/{session-Dl3x3d75.js → session-FOGqE7bj.js} +1 -1
- package/dist/{session-meta-C6MooccR.js → session-meta-C-ox3bdI.js} +1 -1
- package/dist/{sessions-sIaYsUyX.js → sessions-BpuJ64B0.js} +15 -15
- package/dist/{shared-sFrejcA4.js → shared-BmSv3K8N.js} +1 -1
- package/dist/{shared-DNcLp2mA.js → shared-CgFPGTLU.js} +3 -3
- package/dist/{skill-commands-C2_BOuyl.js → skill-commands-COl0HE54.js} +5 -5
- package/dist/{skill-scanner-DYkQAh0l.js → skill-scanner-CsmM5F4F.js} +6 -6
- package/dist/{skills-BXLKd7i5.js → skills-BeFcXCoN.js} +3 -3
- package/dist/{skills-cli-DrN4v5_m.js → skills-cli-D3ZteX5N.js} +5 -5
- package/dist/{skills-install-CSfh8nRm.js → skills-install-B_Vda3dM.js} +6 -6
- package/dist/{skills-status-C7Q6Ezbv.js → skills-status-BEq0_fOn.js} +1 -1
- package/dist/{status-rMgdZcE5.js → status-CQYA6EJN.js} +25 -25
- package/dist/{status.update-D4GfnNDI.js → status.update-HwSPC5ZX.js} +2 -2
- package/dist/{store-CRcBie8T.js → store-B-nkOSsv.js} +5 -5
- package/dist/{system-cli-Bscj57lL.js → system-cli-IYwpBiC6.js} +9 -9
- package/dist/{system-run-command-Cn5yQ2rv.js → system-run-command-C3OIMtEu.js} +1 -1
- package/dist/{systemd-BIfjzi-4.js → systemd-DJ5Red-Q.js} +9 -9
- package/dist/{systemd-hints-CgtHwBfD.js → systemd-hints-D40Qx3hg.js} +6 -6
- package/dist/{systemd-linger-0Vho6LMt.js → systemd-linger-BK6kig-o.js} +1 -1
- package/dist/{tables-C5n2nXbu.js → tables-C9_oCtRN.js} +1 -1
- package/dist/{tailnet-C8NwaQEp.js → tailnet-BYBKD8Kh.js} +1 -1
- package/dist/{target-errors-cerGxvCB.js → target-errors-B1cYmIjq.js} +4 -4
- package/dist/{tool-images-CgSADinH.js → tool-images-QWbHWc0F.js} +1 -1
- package/dist/{tui-DNT0WnU-.js → tui-Dd6DhgjX.js} +6 -6
- package/dist/{tui-cli-DTFq2wGK.js → tui-cli-C3PCazFC.js} +33 -33
- package/dist/{update-Mb6BH0o9.js → update-B1Dhhu_3.js} +3 -3
- package/dist/{update-cli-Dbb1EPi2.js → update-cli-B9F4MIMw.js} +5 -5
- package/dist/{update-cli--qEz2_Eg.js → update-cli-mCVWiI6K.js} +105 -105
- package/dist/{update-runner-Dj_CAfd4.js → update-runner-DO6RodZW.js} +16 -16
- package/dist/web-DbdjX4Hg.js +126 -0
- package/dist/{web-CDHXvGxm.js → web-V1uGLepo.js} +6 -6
- package/dist/{webhooks-cli-uXE9EOwT.js → webhooks-cli-BFdw7BAP.js} +6 -6
- package/dist/{whatsapp-actions-DeX4x9sq.js → whatsapp-actions-CNoiLzRB.js} +19 -19
- package/dist/{with-timeout-C-EETHnf.js → with-timeout-tSH4Tex_.js} +3 -3
- package/dist/{workspace-TersEUYu.js → workspace-CRdln__H.js} +23 -23
- package/dist/{workspace-1nc7aTpg.js → workspace-dKMB109Q.js} +1 -1
- package/dist/{workspace-dirs-DxTFH1r3.js → workspace-dirs-DcAUEsSG.js} +1 -1
- package/dist/{ws-E9v842O2.js → ws-DKbBt0us.js} +2 -2
- package/dist/{wsl-Dg6XQcw5.js → wsl-yjQQ-PJd.js} +2 -2
- package/package.json +1 -1
- package/dist/plugin-sdk/web-B35hdNQ-.js +0 -72
- package/dist/register.configure-DGIWBQvN.js +0 -174
- package/dist/web-BQRkxG9u.js +0 -126
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { l as escapeRegExp } from "./utils-CP51tiAi.js";
|
|
3
3
|
import { i as listThinkingLevels } from "./thinking-44rmAw5o.js";
|
|
4
|
-
import { Ni as DEFAULT_MODEL, Pi as DEFAULT_PROVIDER, h as resolveConfiguredModelRef } from "./model-selection-
|
|
4
|
+
import { Ni as DEFAULT_MODEL, Pi as DEFAULT_PROVIDER, h as resolveConfiguredModelRef } from "./model-selection-xdfZxwgB.js";
|
|
5
5
|
import { u as getActivePluginRegistry } from "./registry-CUyWRciN.js";
|
|
6
|
-
import { n as listChannelDocks } from "./dock-
|
|
7
|
-
import { t as isCommandFlagEnabled } from "./commands-
|
|
6
|
+
import { n as listChannelDocks } from "./dock-BXksV3sC.js";
|
|
7
|
+
import { t as isCommandFlagEnabled } from "./commands-C6OLhl3n.js";
|
|
8
8
|
|
|
9
9
|
//#region src/auto-reply/commands-args.ts
|
|
10
10
|
function normalizeArgValue(value) {
|
|
@@ -4,10 +4,10 @@ import { p as theme } from "./globals-uLeGcRW1.js";
|
|
|
4
4
|
import { h as pathExists } from "./utils-CP51tiAi.js";
|
|
5
5
|
import { i as routeLogsToStderr } from "./subsystem-BT74-yyS.js";
|
|
6
6
|
import { t as formatDocsLink } from "./links-CM7pO4C5.js";
|
|
7
|
-
import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-
|
|
7
|
+
import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-B7eOpdoF.js";
|
|
8
8
|
import os from "node:os";
|
|
9
9
|
import path from "node:path";
|
|
10
|
-
import
|
|
10
|
+
import fs from "node:fs/promises";
|
|
11
11
|
import { Option } from "commander";
|
|
12
12
|
|
|
13
13
|
//#region src/cli/completion-fish.ts
|
|
@@ -90,11 +90,11 @@ function getCompletionScript(shell, program) {
|
|
|
90
90
|
}
|
|
91
91
|
async function writeCompletionCache(params) {
|
|
92
92
|
const cacheDir = resolveCompletionCacheDir();
|
|
93
|
-
await
|
|
93
|
+
await fs.mkdir(cacheDir, { recursive: true });
|
|
94
94
|
for (const shell of params.shells) {
|
|
95
95
|
const script = getCompletionScript(shell, params.program);
|
|
96
96
|
const targetPath = resolveCompletionCachePath(shell, params.binName);
|
|
97
|
-
await
|
|
97
|
+
await fs.writeFile(targetPath, script, "utf-8");
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
function formatCompletionSourceLine(shell, binName, cachePath) {
|
|
@@ -152,7 +152,7 @@ async function isCompletionInstalled(shell, binName = "openclaw") {
|
|
|
152
152
|
if (!await pathExists(profilePath)) return false;
|
|
153
153
|
const cachePathCandidate = resolveCompletionCachePath(shell, binName);
|
|
154
154
|
const cachedPath = await pathExists(cachePathCandidate) ? cachePathCandidate : null;
|
|
155
|
-
return (await
|
|
155
|
+
return (await fs.readFile(profilePath, "utf-8")).split("\n").some((line) => isCompletionProfileHeader(line) || isCompletionProfileLine(line, binName, cachedPath));
|
|
156
156
|
}
|
|
157
157
|
/**
|
|
158
158
|
* Check if the profile uses the slow dynamic completion pattern.
|
|
@@ -162,7 +162,7 @@ async function usesSlowDynamicCompletion(shell, binName = "openclaw") {
|
|
|
162
162
|
const profilePath = getShellProfilePath(shell);
|
|
163
163
|
if (!await pathExists(profilePath)) return false;
|
|
164
164
|
const cachePath = resolveCompletionCachePath(shell, binName);
|
|
165
|
-
const lines = (await
|
|
165
|
+
const lines = (await fs.readFile(profilePath, "utf-8")).split("\n");
|
|
166
166
|
for (const line of lines) if (isSlowDynamicCompletionLine(line, binName) && !line.includes(cachePath)) return true;
|
|
167
167
|
return false;
|
|
168
168
|
}
|
|
@@ -211,7 +211,7 @@ async function installCompletion(shell, yes, binName = "openclaw") {
|
|
|
211
211
|
} else if (shell === "bash") {
|
|
212
212
|
profilePath = path.join(home, ".bashrc");
|
|
213
213
|
try {
|
|
214
|
-
await
|
|
214
|
+
await fs.access(profilePath);
|
|
215
215
|
} catch {
|
|
216
216
|
profilePath = path.join(home, ".bash_profile");
|
|
217
217
|
}
|
|
@@ -225,13 +225,13 @@ async function installCompletion(shell, yes, binName = "openclaw") {
|
|
|
225
225
|
}
|
|
226
226
|
try {
|
|
227
227
|
try {
|
|
228
|
-
await
|
|
228
|
+
await fs.access(profilePath);
|
|
229
229
|
} catch {
|
|
230
230
|
if (!yes) console.warn(`Profile not found at ${profilePath}. Created a new one.`);
|
|
231
|
-
await
|
|
232
|
-
await
|
|
231
|
+
await fs.mkdir(path.dirname(profilePath), { recursive: true });
|
|
232
|
+
await fs.writeFile(profilePath, "", "utf-8");
|
|
233
233
|
}
|
|
234
|
-
const update = updateCompletionProfile(await
|
|
234
|
+
const update = updateCompletionProfile(await fs.readFile(profilePath, "utf-8"), binName, cachePath, sourceLine);
|
|
235
235
|
if (!update.changed) {
|
|
236
236
|
if (!yes) console.log(`Completion already installed in ${profilePath}`);
|
|
237
237
|
return;
|
|
@@ -240,7 +240,7 @@ async function installCompletion(shell, yes, binName = "openclaw") {
|
|
|
240
240
|
const action = update.hadExisting ? "Updating" : "Installing";
|
|
241
241
|
console.log(`${action} completion in ${profilePath}...`);
|
|
242
242
|
}
|
|
243
|
-
await
|
|
243
|
+
await fs.writeFile(profilePath, update.next, "utf-8");
|
|
244
244
|
if (!yes) console.log(`Completion installed. Restart your shell or run: source ${profilePath}`);
|
|
245
245
|
} catch (err) {
|
|
246
246
|
console.error(`Failed to install completion: ${err}`);
|
|
@@ -4,8 +4,8 @@ import { g as resolveStateDir } from "./paths-BnKiOk2S.js";
|
|
|
4
4
|
import { i as routeLogsToStderr } from "./subsystem-DjdBljTA.js";
|
|
5
5
|
import { m as pathExists } from "./utils-DIzy5B5o.js";
|
|
6
6
|
import { t as formatDocsLink } from "./links-BDNlbZvM.js";
|
|
7
|
-
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-
|
|
8
|
-
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-
|
|
7
|
+
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-Zhshg_9Y.js";
|
|
8
|
+
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-Ce2f2xlT.js";
|
|
9
9
|
import { t as getProgramContext } from "./program-context-Cy6hM1zR.js";
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
import os from "node:os";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as CONFIG_PATH } from "./paths-BYr-iJJ9.js";
|
|
2
2
|
import { l as success, n as info, p as theme, t as danger } from "./globals-uLeGcRW1.js";
|
|
3
3
|
import { S as shortenHomePath } from "./utils-CP51tiAi.js";
|
|
4
|
-
import "./agent-scope-
|
|
4
|
+
import "./agent-scope-CiBV1K6b.js";
|
|
5
5
|
import { d as defaultRuntime } from "./subsystem-BT74-yyS.js";
|
|
6
6
|
import { v as isBlockedObjectKey } from "./session-key-C9z4VQtw.js";
|
|
7
|
-
import "./workspace-
|
|
7
|
+
import "./workspace-CRdln__H.js";
|
|
8
8
|
import "./logger-D04dg4Ex.js";
|
|
9
9
|
import "./exec-BdDcFm8M.js";
|
|
10
|
-
import { Kt as readConfigFileSnapshot, Xt as writeConfigFile } from "./model-selection-
|
|
10
|
+
import { Kt as readConfigFileSnapshot, Xt as writeConfigFile } from "./model-selection-xdfZxwgB.js";
|
|
11
11
|
import "./github-copilot-token-CVsUoC9m.js";
|
|
12
12
|
import { t as formatCliCommand } from "./command-format-DBmYTAza.js";
|
|
13
13
|
import "./boolean-BgXe2hyu.js";
|
|
@@ -15,10 +15,10 @@ import "./env-4r1Vlroz.js";
|
|
|
15
15
|
import "./host-env-security-BiAcoumI.js";
|
|
16
16
|
import "./env-vars-DM119fhK.js";
|
|
17
17
|
import "./registry-CUyWRciN.js";
|
|
18
|
-
import "./manifest-registry-
|
|
18
|
+
import "./manifest-registry-B_U2pKBU.js";
|
|
19
19
|
import { t as formatDocsLink } from "./links-CM7pO4C5.js";
|
|
20
|
-
import { n as formatConfigIssueLines, r as normalizeConfigIssues } from "./issue-format-
|
|
21
|
-
import { t as redactConfigObject } from "./redact-snapshot-
|
|
20
|
+
import { n as formatConfigIssueLines, r as normalizeConfigIssues } from "./issue-format-rk9Vpcxd.js";
|
|
21
|
+
import { t as redactConfigObject } from "./redact-snapshot-DCGL0k2M.js";
|
|
22
22
|
import JSON5 from "json5";
|
|
23
23
|
|
|
24
24
|
//#region src/cli/config-cli.ts
|
|
@@ -305,7 +305,7 @@ async function runConfigValidate(opts = {}) {
|
|
|
305
305
|
}
|
|
306
306
|
function registerConfigCli(program) {
|
|
307
307
|
const cmd = program.command("config").description("Non-interactive config helpers (get/set/unset/file/validate). Run without subcommand for the setup wizard.").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/config", "docs.openclaw.ai/cli/config")}\n`).option("--section <section>", "Configure wizard sections (repeatable). Use with no subcommand.", (value, previous) => [...previous, value], []).action(async (opts) => {
|
|
308
|
-
const { configureCommandFromSectionsArg } = await import("./configure-
|
|
308
|
+
const { configureCommandFromSectionsArg } = await import("./configure-CLMtWGiL.js").then((n) => n.t);
|
|
309
309
|
await configureCommandFromSectionsArg(opts.section, defaultRuntime);
|
|
310
310
|
});
|
|
311
311
|
cmd.command("get").description("Get a config value by dot path").argument("<path>", "Config path (dot or bracket notation)").option("--json", "Output JSON", false).action(async (path, opts) => {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "./paths-BYr-iJJ9.js";
|
|
2
2
|
import { L as shouldMigrateStateFromPath, d as colorize, f as isRich, p as theme } from "./globals-uLeGcRW1.js";
|
|
3
3
|
import { S as shortenHomePath } from "./utils-CP51tiAi.js";
|
|
4
|
-
import "./agent-scope-
|
|
4
|
+
import "./agent-scope-CiBV1K6b.js";
|
|
5
5
|
import "./subsystem-BT74-yyS.js";
|
|
6
|
-
import "./workspace-
|
|
6
|
+
import "./workspace-CRdln__H.js";
|
|
7
7
|
import "./logger-D04dg4Ex.js";
|
|
8
8
|
import "./exec-BdDcFm8M.js";
|
|
9
|
-
import { Kt as readConfigFileSnapshot } from "./model-selection-
|
|
9
|
+
import { Kt as readConfigFileSnapshot } from "./model-selection-xdfZxwgB.js";
|
|
10
10
|
import "./github-copilot-token-CVsUoC9m.js";
|
|
11
11
|
import { t as formatCliCommand } from "./command-format-DBmYTAza.js";
|
|
12
12
|
import "./boolean-BgXe2hyu.js";
|
|
@@ -14,26 +14,26 @@ import "./env-4r1Vlroz.js";
|
|
|
14
14
|
import "./host-env-security-BiAcoumI.js";
|
|
15
15
|
import "./env-vars-DM119fhK.js";
|
|
16
16
|
import "./registry-CUyWRciN.js";
|
|
17
|
-
import "./manifest-registry-
|
|
18
|
-
import "./dock-
|
|
17
|
+
import "./manifest-registry-B_U2pKBU.js";
|
|
18
|
+
import "./dock-BXksV3sC.js";
|
|
19
19
|
import "./message-channel-CKAn7Lf7.js";
|
|
20
|
-
import "./sessions-
|
|
21
|
-
import "./plugins-
|
|
22
|
-
import "./accounts-
|
|
23
|
-
import "./accounts-
|
|
20
|
+
import "./sessions-BpuJ64B0.js";
|
|
21
|
+
import "./plugins-CKWxMohB.js";
|
|
22
|
+
import "./accounts-D5DQlttG.js";
|
|
23
|
+
import "./accounts-DKvlV3Tm.js";
|
|
24
24
|
import "./logging-Dn5qdhsZ.js";
|
|
25
|
-
import "./accounts-
|
|
26
|
-
import "./bindings-
|
|
25
|
+
import "./accounts-jPPbCJns.js";
|
|
26
|
+
import "./bindings-Ck6aotGf.js";
|
|
27
27
|
import "./paths-BJLbJUqV.js";
|
|
28
28
|
import "./chat-envelope-D2ZROPtK.js";
|
|
29
|
-
import "./pairing-store-
|
|
30
|
-
import "./exec-approvals-allowlist-
|
|
31
|
-
import "./exec-safe-bin-runtime-policy-
|
|
32
|
-
import "./plugin-auto-enable-
|
|
29
|
+
import "./pairing-store-DdZ0xMD7.js";
|
|
30
|
+
import "./exec-approvals-allowlist-CGVHz3PX.js";
|
|
31
|
+
import "./exec-safe-bin-runtime-policy-D7olAQMf.js";
|
|
32
|
+
import "./plugin-auto-enable-D1WySsnE.js";
|
|
33
33
|
import "./prompt-style-sTNfJFX8.js";
|
|
34
34
|
import "./note-CLcV1fjx.js";
|
|
35
|
-
import { n as formatConfigIssueLines } from "./issue-format-
|
|
36
|
-
import { t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-
|
|
35
|
+
import { n as formatConfigIssueLines } from "./issue-format-rk9Vpcxd.js";
|
|
36
|
+
import { t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-18ijj3KB.js";
|
|
37
37
|
|
|
38
38
|
//#region src/cli/program/config-guard.ts
|
|
39
39
|
const ALLOWED_INVALID_COMMANDS = new Set([
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { c as normalizeAgentId, h as DEFAULT_ACCOUNT_ID } from "./session-key-C9z4VQtw.js";
|
|
2
|
-
import { Kt as readConfigFileSnapshot } from "./model-selection-
|
|
2
|
+
import { Kt as readConfigFileSnapshot } from "./model-selection-xdfZxwgB.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-DBmYTAza.js";
|
|
4
|
-
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
4
|
+
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-CKWxMohB.js";
|
|
5
5
|
import { t as resolveChannelDefaultAccountId } from "./helpers-D0Q6sarx.js";
|
|
6
|
-
import { n as formatConfigIssueLines } from "./issue-format-
|
|
6
|
+
import { n as formatConfigIssueLines } from "./issue-format-rk9Vpcxd.js";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/agents.bindings.ts
|
|
9
9
|
function bindingMatchKey(match) {
|
|
@@ -2,34 +2,34 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { t as CONFIG_PATH, u as resolveGatewayPort } from "./paths-BYr-iJJ9.js";
|
|
3
3
|
import { S as shortenHomePath, y as resolveUserPath } from "./utils-CP51tiAi.js";
|
|
4
4
|
import { d as defaultRuntime } from "./subsystem-BT74-yyS.js";
|
|
5
|
-
import { Kt as readConfigFileSnapshot, Wt as loadConfig, Xt as writeConfigFile, ci as ensureAuthProfileStore } from "./model-selection-
|
|
5
|
+
import { Kt as readConfigFileSnapshot, Wt as loadConfig, Xt as writeConfigFile, ci as ensureAuthProfileStore } from "./model-selection-xdfZxwgB.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-DBmYTAza.js";
|
|
7
7
|
import { a as findTailscaleBinary } from "./tailscale-OcOGSzmc.js";
|
|
8
|
-
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-
|
|
9
|
-
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, g as resolveControlUiLinks, h as randomToken, m as probeGatewayReachable, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput, v as summarizeExistingConfig, y as validateGatewayPasswordInput } from "./onboard-helpers-
|
|
8
|
+
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-CKWxMohB.js";
|
|
9
|
+
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, g as resolveControlUiLinks, h as randomToken, m as probeGatewayReachable, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput, v as summarizeExistingConfig, y as validateGatewayPasswordInput } from "./onboard-helpers-B1AEo6oL.js";
|
|
10
10
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-sTNfJFX8.js";
|
|
11
11
|
import { n as withProgress } from "./progress-86COuAnG.js";
|
|
12
12
|
import { t as note$1 } from "./note-CLcV1fjx.js";
|
|
13
13
|
import { t as WizardCancelledError } from "./prompts-iXdBMk3j.js";
|
|
14
14
|
import { t as createClackPrompter } from "./clack-prompter-CgCD3NZ8.js";
|
|
15
|
-
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-
|
|
16
|
-
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-
|
|
15
|
+
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-CRpmgX82.js";
|
|
16
|
+
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-CMWYg4_W.js";
|
|
17
17
|
import { n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-D8xmnSd2.js";
|
|
18
|
-
import { t as resolveGatewayService } from "./service-
|
|
19
|
-
import { r as healthCommand } from "./health-
|
|
20
|
-
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-
|
|
18
|
+
import { t as resolveGatewayService } from "./service-DqxfCr8y.js";
|
|
19
|
+
import { r as healthCommand } from "./health-Du8dO3vn.js";
|
|
20
|
+
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-B_3g_YF0.js";
|
|
21
21
|
import { n as logConfigUpdated } from "./logging-yFV4aFrN.js";
|
|
22
22
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-C9CCcFcF.js";
|
|
23
|
-
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-
|
|
24
|
-
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-
|
|
25
|
-
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-
|
|
26
|
-
import { r as promptCustomApiConfig } from "./onboard-custom-
|
|
27
|
-
import { a as maybeAddTailnetOriginToControlUiAllowedOrigins, i as TAILSCALE_MISSING_BIN_NOTE_LINES, n as TAILSCALE_DOCS_LINES, r as TAILSCALE_EXPOSURE_OPTIONS, t as validateIPv4AddressInput } from "./ipv4-
|
|
23
|
+
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-CdsMUqKA.js";
|
|
24
|
+
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-CMgjcqV_.js";
|
|
25
|
+
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-BK6kig-o.js";
|
|
26
|
+
import { r as promptCustomApiConfig } from "./onboard-custom-Bow6lZPm.js";
|
|
27
|
+
import { a as maybeAddTailnetOriginToControlUiAllowedOrigins, i as TAILSCALE_MISSING_BIN_NOTE_LINES, n as TAILSCALE_DOCS_LINES, r as TAILSCALE_EXPOSURE_OPTIONS, t as validateIPv4AddressInput } from "./ipv4-Bk-doiEE.js";
|
|
28
28
|
import { t as formatHealthCheckFailure } from "./health-format-CEAJLEPm.js";
|
|
29
|
-
import { n as promptRemoteGatewayConfig } from "./onboard-remote-
|
|
30
|
-
import { n as setupSkills } from "./onboard-skills
|
|
29
|
+
import { n as promptRemoteGatewayConfig } from "./onboard-remote-DmHpLoWf.js";
|
|
30
|
+
import { n as setupSkills } from "./onboard-skills-DwpZY5tZ.js";
|
|
31
31
|
import path from "node:path";
|
|
32
|
-
import
|
|
32
|
+
import fs from "node:fs/promises";
|
|
33
33
|
import { confirm, intro, outro, select, text } from "@clack/prompts";
|
|
34
34
|
|
|
35
35
|
//#region src/commands/configure.shared.ts
|
|
@@ -749,7 +749,7 @@ async function runConfigureWizard(opts, runtime = defaultRuntime) {
|
|
|
749
749
|
].map((name) => path.join(workspaceDir, name));
|
|
750
750
|
if ((await Promise.all(indicators.map(async (candidate) => {
|
|
751
751
|
try {
|
|
752
|
-
await
|
|
752
|
+
await fs.access(candidate);
|
|
753
753
|
return true;
|
|
754
754
|
} catch {
|
|
755
755
|
return false;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as defaultRuntime } from "./subsystem-BT74-yyS.js";
|
|
2
|
-
import { b as resolveOpenClawPackageRootSync, y as resolveOpenClawPackageRoot } from "./workspace-
|
|
2
|
+
import { b as resolveOpenClawPackageRootSync, y as resolveOpenClawPackageRoot } from "./workspace-CRdln__H.js";
|
|
3
3
|
import { t as runCommandWithTimeout } from "./exec-BdDcFm8M.js";
|
|
4
4
|
import { fileURLToPath } from "node:url";
|
|
5
5
|
import fs from "node:fs";
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import "./paths-BYr-iJJ9.js";
|
|
2
2
|
import { d as colorize, f as isRich, p as theme, t as danger } from "./globals-uLeGcRW1.js";
|
|
3
3
|
import "./utils-CP51tiAi.js";
|
|
4
|
-
import "./agent-scope-
|
|
4
|
+
import "./agent-scope-CiBV1K6b.js";
|
|
5
5
|
import { d as defaultRuntime } from "./subsystem-BT74-yyS.js";
|
|
6
6
|
import { f as sanitizeAgentId } from "./session-key-C9z4VQtw.js";
|
|
7
|
-
import "./workspace-
|
|
7
|
+
import "./workspace-CRdln__H.js";
|
|
8
8
|
import "./logger-D04dg4Ex.js";
|
|
9
9
|
import "./exec-BdDcFm8M.js";
|
|
10
|
-
import "./model-selection-
|
|
10
|
+
import "./model-selection-xdfZxwgB.js";
|
|
11
11
|
import "./github-copilot-token-CVsUoC9m.js";
|
|
12
12
|
import "./boolean-BgXe2hyu.js";
|
|
13
13
|
import "./env-4r1Vlroz.js";
|
|
14
14
|
import "./host-env-security-BiAcoumI.js";
|
|
15
15
|
import "./env-vars-DM119fhK.js";
|
|
16
16
|
import "./registry-CUyWRciN.js";
|
|
17
|
-
import "./manifest-registry-
|
|
17
|
+
import "./manifest-registry-B_U2pKBU.js";
|
|
18
18
|
import "./message-channel-CKAn7Lf7.js";
|
|
19
|
-
import "./tailnet-
|
|
20
|
-
import "./ws-
|
|
21
|
-
import { n as listChannelPlugins } from "./plugins-
|
|
22
|
-
import "./accounts-
|
|
19
|
+
import "./tailnet-BYBKD8Kh.js";
|
|
20
|
+
import "./ws-DKbBt0us.js";
|
|
21
|
+
import { n as listChannelPlugins } from "./plugins-CKWxMohB.js";
|
|
22
|
+
import "./accounts-D5DQlttG.js";
|
|
23
23
|
import "./logging-Dn5qdhsZ.js";
|
|
24
|
-
import "./bindings-
|
|
25
|
-
import "./client-
|
|
26
|
-
import "./call-
|
|
24
|
+
import "./bindings-Ck6aotGf.js";
|
|
25
|
+
import "./client-B91adiXh.js";
|
|
26
|
+
import "./call-BGZQEHL4.js";
|
|
27
27
|
import "./pairing-token-QppPqMJU.js";
|
|
28
28
|
import { n as formatDurationHuman } from "./format-duration-BLfWmAUc.js";
|
|
29
29
|
import { t as formatDocsLink } from "./links-CM7pO4C5.js";
|
|
30
30
|
import "./progress-86COuAnG.js";
|
|
31
31
|
import { i as parseAbsoluteTimeMs, n as resolveCronStaggerMs } from "./stagger-C-R8Eo-4.js";
|
|
32
32
|
import { n as parsePositiveIntOrUndefined } from "./helpers-DCwtPrez.js";
|
|
33
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
33
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-CJVCek88.js";
|
|
34
34
|
|
|
35
35
|
//#region src/cli/cron-cli/shared.ts
|
|
36
36
|
const getCronChannelOptions = () => ["last", ...listChannelPlugins().map((plugin) => plugin.id)].join("|");
|
|
@@ -3,30 +3,30 @@ import { d as resolveIsNixMode, g as resolveStateDir, o as resolveConfigPath, u
|
|
|
3
3
|
import { d as colorize, f as isRich, g as getResolvedLoggerSettings, p as theme } from "./globals-uLeGcRW1.js";
|
|
4
4
|
import { C as sleep, S as shortenHomePath } from "./utils-CP51tiAi.js";
|
|
5
5
|
import { d as defaultRuntime } from "./subsystem-BT74-yyS.js";
|
|
6
|
-
import { Kt as readConfigFileSnapshot, Ut as createConfigIO, Wt as loadConfig, Xt as writeConfigFile } from "./model-selection-
|
|
6
|
+
import { Kt as readConfigFileSnapshot, Ut as createConfigIO, Wt as loadConfig, Xt as writeConfigFile } from "./model-selection-xdfZxwgB.js";
|
|
7
7
|
import { t as formatCliCommand } from "./command-format-DBmYTAza.js";
|
|
8
8
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-CKAn7Lf7.js";
|
|
9
|
-
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-
|
|
10
|
-
import { d as resolveGatewayBindHost } from "./ws-
|
|
11
|
-
import { a as resolveGatewayAuth } from "./auth-
|
|
12
|
-
import { a as inspectPortUsage, c as classifyPortListener, l as formatPortDiagnostics } from "./ports-
|
|
13
|
-
import { f as loadGatewayTlsRuntime, n as callGateway } from "./call-
|
|
9
|
+
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-BYBKD8Kh.js";
|
|
10
|
+
import { d as resolveGatewayBindHost } from "./ws-DKbBt0us.js";
|
|
11
|
+
import { a as resolveGatewayAuth } from "./auth-Co2g3d8d.js";
|
|
12
|
+
import { a as inspectPortUsage, c as classifyPortListener, l as formatPortDiagnostics } from "./ports-DppAHKM-.js";
|
|
13
|
+
import { f as loadGatewayTlsRuntime, n as callGateway } from "./call-BGZQEHL4.js";
|
|
14
14
|
import { t as killProcessTree } from "./kill-tree-CAkkF2X-.js";
|
|
15
|
-
import { r as isWSLEnv } from "./wsl-
|
|
16
|
-
import { g as resolveControlUiLinks, h as randomToken } from "./onboard-helpers-
|
|
15
|
+
import { r as isWSLEnv } from "./wsl-yjQQ-PJd.js";
|
|
16
|
+
import { g as resolveControlUiLinks, h as randomToken } from "./onboard-helpers-B1AEo6oL.js";
|
|
17
17
|
import { t as formatDocsLink } from "./links-CM7pO4C5.js";
|
|
18
18
|
import { n as withProgress } from "./progress-86COuAnG.js";
|
|
19
19
|
import { f as resolveGatewaySystemdServiceName, l as resolveGatewayLaunchAgentLabel } from "./constants-DywKPp3i.js";
|
|
20
20
|
import { n as inheritOptionFromParent } from "./command-options-D4YE45pL.js";
|
|
21
|
-
import { t as formatConfigIssueLine } from "./issue-format-
|
|
22
|
-
import { t as buildGatewayInstallPlan } from "./daemon-install-helpers-
|
|
21
|
+
import { t as formatConfigIssueLine } from "./issue-format-rk9Vpcxd.js";
|
|
22
|
+
import { t as buildGatewayInstallPlan } from "./daemon-install-helpers-CMWYg4_W.js";
|
|
23
23
|
import { r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-D8xmnSd2.js";
|
|
24
|
-
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-
|
|
25
|
-
import { a as createCliStatusTextStyles, c as parsePortFromArgs, d as renderRuntimeHints, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, l as pickProbeHostForBind, m as buildDaemonServiceSnapshot, n as runServiceStart, o as filterDaemonEnv, p as safeDaemonEnv, r as runServiceStop, s as normalizeListenerAddress, t as runServiceRestart, u as renderGatewayServiceStartHints } from "./lifecycle-core-
|
|
26
|
-
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-
|
|
24
|
+
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-DqxfCr8y.js";
|
|
25
|
+
import { a as createCliStatusTextStyles, c as parsePortFromArgs, d as renderRuntimeHints, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, l as pickProbeHostForBind, m as buildDaemonServiceSnapshot, n as runServiceStart, o as filterDaemonEnv, p as safeDaemonEnv, r as runServiceStop, s as normalizeListenerAddress, t as runServiceRestart, u as renderGatewayServiceStartHints } from "./lifecycle-core-Bqse41aA.js";
|
|
26
|
+
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-D40Qx3hg.js";
|
|
27
27
|
import { t as parsePort } from "./parse-port-DEJJlpU0.js";
|
|
28
|
-
import { t as readLastGatewayErrorLine } from "./diagnostics-
|
|
29
|
-
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-
|
|
28
|
+
import { t as readLastGatewayErrorLine } from "./diagnostics-BHQgZbuI.js";
|
|
29
|
+
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-C0e0Dmvg.js";
|
|
30
30
|
|
|
31
31
|
//#region src/cli/daemon-cli/install.ts
|
|
32
32
|
async function runDaemonInstall(opts) {
|
|
@@ -8,11 +8,11 @@ import "./env-vars-DM119fhK.js";
|
|
|
8
8
|
import "./prompt-style-sTNfJFX8.js";
|
|
9
9
|
import "./runtime-guard-p6l4jDOj.js";
|
|
10
10
|
import "./note-CLcV1fjx.js";
|
|
11
|
-
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-
|
|
11
|
+
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-CMWYg4_W.js";
|
|
12
12
|
import { r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-D8xmnSd2.js";
|
|
13
|
-
import { r as isSystemdUserServiceAvailable } from "./systemd-
|
|
14
|
-
import { t as resolveGatewayService } from "./service-
|
|
15
|
-
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-
|
|
13
|
+
import { r as isSystemdUserServiceAvailable } from "./systemd-DJ5Red-Q.js";
|
|
14
|
+
import { t as resolveGatewayService } from "./service-DqxfCr8y.js";
|
|
15
|
+
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-BK6kig-o.js";
|
|
16
16
|
|
|
17
17
|
//#region src/commands/onboard-non-interactive/local/daemon-install.ts
|
|
18
18
|
async function installGatewayDaemonNonInteractive(params) {
|
|
@@ -6,7 +6,7 @@ import { n as isSupportedNodeVersion } from "./runtime-guard-p6l4jDOj.js";
|
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import { promisify } from "node:util";
|
|
9
|
-
import
|
|
9
|
+
import fs from "node:fs/promises";
|
|
10
10
|
import { execFile } from "node:child_process";
|
|
11
11
|
|
|
12
12
|
//#region src/daemon/program-args.ts
|
|
@@ -16,23 +16,23 @@ async function resolveCliEntrypointPathForService() {
|
|
|
16
16
|
const normalized = path.resolve(argv1);
|
|
17
17
|
const resolvedPath = await resolveRealpathSafe(normalized);
|
|
18
18
|
if (/[/\\]dist[/\\].+\.(cjs|js|mjs)$/.test(resolvedPath)) {
|
|
19
|
-
await
|
|
19
|
+
await fs.access(resolvedPath);
|
|
20
20
|
if (/[/\\]dist[/\\].+\.(cjs|js|mjs)$/.test(normalized) && normalized !== resolvedPath) try {
|
|
21
|
-
await
|
|
21
|
+
await fs.access(normalized);
|
|
22
22
|
return normalized;
|
|
23
23
|
} catch {}
|
|
24
24
|
return resolvedPath;
|
|
25
25
|
}
|
|
26
26
|
const distCandidates = buildDistCandidates(resolvedPath, normalized);
|
|
27
27
|
for (const candidate of distCandidates) try {
|
|
28
|
-
await
|
|
28
|
+
await fs.access(candidate);
|
|
29
29
|
return candidate;
|
|
30
30
|
} catch {}
|
|
31
31
|
throw new Error(`Cannot find built CLI at ${distCandidates.join(" or ")}. Run "pnpm build" first, or use dev mode.`);
|
|
32
32
|
}
|
|
33
33
|
async function resolveRealpathSafe(inputPath) {
|
|
34
34
|
try {
|
|
35
|
-
return await
|
|
35
|
+
return await fs.realpath(inputPath);
|
|
36
36
|
} catch {
|
|
37
37
|
return inputPath;
|
|
38
38
|
}
|
|
@@ -92,7 +92,7 @@ async function resolveBinaryPath(binary) {
|
|
|
92
92
|
try {
|
|
93
93
|
const resolved = execFileSync(cmd, [binary], { encoding: "utf8" }).trim().split(/\r?\n/)[0]?.trim();
|
|
94
94
|
if (!resolved) throw new Error("empty");
|
|
95
|
-
await
|
|
95
|
+
await fs.access(resolved);
|
|
96
96
|
return resolved;
|
|
97
97
|
} catch {
|
|
98
98
|
if (binary === "bun") throw new Error("Bun not found in PATH. Install bun: https://bun.sh");
|
|
@@ -111,7 +111,7 @@ async function resolveCliProgramArguments(params) {
|
|
|
111
111
|
if (params.dev) {
|
|
112
112
|
const repoRoot = resolveRepoRootForDev();
|
|
113
113
|
const devCliPath = path.join(repoRoot, "src", "index.ts");
|
|
114
|
-
await
|
|
114
|
+
await fs.access(devCliPath);
|
|
115
115
|
return {
|
|
116
116
|
programArguments: [
|
|
117
117
|
isBunRuntime(execPath) ? execPath : await resolveBunPath(),
|
|
@@ -139,7 +139,7 @@ async function resolveCliProgramArguments(params) {
|
|
|
139
139
|
}
|
|
140
140
|
const repoRoot = resolveRepoRootForDev();
|
|
141
141
|
const devCliPath = path.join(repoRoot, "src", "index.ts");
|
|
142
|
-
await
|
|
142
|
+
await fs.access(devCliPath);
|
|
143
143
|
if (isBunRuntime(execPath)) return {
|
|
144
144
|
programArguments: [
|
|
145
145
|
execPath,
|
|
@@ -206,13 +206,13 @@ async function resolveStableNodePath(nodePath) {
|
|
|
206
206
|
const formula = cellarMatch[2];
|
|
207
207
|
const optPath = `${prefix}/opt/${formula}/bin/node`;
|
|
208
208
|
try {
|
|
209
|
-
await
|
|
209
|
+
await fs.access(optPath);
|
|
210
210
|
return optPath;
|
|
211
211
|
} catch {}
|
|
212
212
|
if (formula === "node") {
|
|
213
213
|
const binPath = `${prefix}/bin/node`;
|
|
214
214
|
try {
|
|
215
|
-
await
|
|
215
|
+
await fs.access(binPath);
|
|
216
216
|
return binPath;
|
|
217
217
|
} catch {}
|
|
218
218
|
}
|
|
@@ -281,7 +281,7 @@ function isSystemNodePath(nodePath, env = process.env, platform = process.platfo
|
|
|
281
281
|
async function resolveSystemNodePath(env = process.env, platform = process.platform) {
|
|
282
282
|
const candidates = buildSystemNodeCandidates(env, platform);
|
|
283
283
|
for (const candidate of candidates) try {
|
|
284
|
-
await
|
|
284
|
+
await fs.access(candidate);
|
|
285
285
|
return candidate;
|
|
286
286
|
} catch {}
|
|
287
287
|
return null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { u as resolveGatewayPort } from "./paths-BYr-iJJ9.js";
|
|
2
2
|
import { d as defaultRuntime } from "./subsystem-BT74-yyS.js";
|
|
3
|
-
import { Kt as readConfigFileSnapshot } from "./model-selection-
|
|
4
|
-
import { f as openUrl, g as resolveControlUiLinks, i as detectBrowserOpenSupport, o as formatControlUiSshHint } from "./onboard-helpers-
|
|
3
|
+
import { Kt as readConfigFileSnapshot } from "./model-selection-xdfZxwgB.js";
|
|
4
|
+
import { f as openUrl, g as resolveControlUiLinks, i as detectBrowserOpenSupport, o as formatControlUiSshHint } from "./onboard-helpers-B1AEo6oL.js";
|
|
5
5
|
import { t as copyToClipboard } from "./clipboard-BYoUMUcc.js";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/dashboard.ts
|
|
@@ -3,15 +3,15 @@ import { a as logVerbose } from "./globals-uLeGcRW1.js";
|
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-BT74-yyS.js";
|
|
4
4
|
import { _ as normalizeOptionalAccountId, g as normalizeAccountId } from "./session-key-C9z4VQtw.js";
|
|
5
5
|
import { E as triggerInternalHook, f as getActivePluginRegistryVersion, u as getActivePluginRegistry, w as createInternalHookEvent } from "./registry-CUyWRciN.js";
|
|
6
|
-
import { t as getChannelDock } from "./dock-
|
|
7
|
-
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-
|
|
8
|
-
import { F as parseInlineDirectives, i as resolveMirroredTranscriptText, r as appendAssistantMessageToSessionTranscript } from "./sessions-
|
|
9
|
-
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
10
|
-
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
6
|
+
import { t as getChannelDock } from "./dock-BXksV3sC.js";
|
|
7
|
+
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-ZTn-T7tW.js";
|
|
8
|
+
import { F as parseInlineDirectives, i as resolveMirroredTranscriptText, r as appendAssistantMessageToSessionTranscript } from "./sessions-BpuJ64B0.js";
|
|
9
|
+
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-CKWxMohB.js";
|
|
10
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-jW0nhxVT.js";
|
|
11
11
|
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-BK5VYCE_.js";
|
|
12
12
|
import { c as resolveChunkMode, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph } from "./chunk-mV8H66i-.js";
|
|
13
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
14
|
-
import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-
|
|
13
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-B5l_33qL.js";
|
|
14
|
+
import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-Cua2kS5v.js";
|
|
15
15
|
import { i as failDelivery, r as enqueueDelivery, t as ackDelivery } from "./delivery-queue-EvfYzqtX.js";
|
|
16
16
|
|
|
17
17
|
//#region src/plugins/hooks.ts
|
|
@@ -8,7 +8,7 @@ import { t as getChannelDock } from "./dock-Cr9V9V1V.js";
|
|
|
8
8
|
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-B9EDT4jv.js";
|
|
9
9
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-CJoaoIHc.js";
|
|
10
10
|
import { n as generateSecureUuid } from "./secure-random-CY3Mg7Dp.js";
|
|
11
|
-
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-
|
|
11
|
+
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-BErNo2oq.js";
|
|
12
12
|
import { i as resolveMirroredTranscriptText, r as appendAssistantMessageToSessionTranscript, w as parseInlineDirectives } from "./sessions-CA_BydGA.js";
|
|
13
13
|
import { i as getAgentScopedMediaLocalRoots } from "./fetch--iXu7oa7.js";
|
|
14
14
|
import { c as resolveChunkMode, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph } from "./chunk-DtYb6TYl.js";
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import "./paths-BYr-iJJ9.js";
|
|
2
2
|
import { p as theme } from "./globals-uLeGcRW1.js";
|
|
3
3
|
import "./utils-CP51tiAi.js";
|
|
4
|
-
import "./agent-scope-
|
|
4
|
+
import "./agent-scope-CiBV1K6b.js";
|
|
5
5
|
import { d as defaultRuntime } from "./subsystem-BT74-yyS.js";
|
|
6
|
-
import "./workspace-
|
|
6
|
+
import "./workspace-CRdln__H.js";
|
|
7
7
|
import "./logger-D04dg4Ex.js";
|
|
8
8
|
import "./exec-BdDcFm8M.js";
|
|
9
|
-
import "./model-selection-
|
|
9
|
+
import "./model-selection-xdfZxwgB.js";
|
|
10
10
|
import "./github-copilot-token-CVsUoC9m.js";
|
|
11
11
|
import "./boolean-BgXe2hyu.js";
|
|
12
12
|
import "./env-4r1Vlroz.js";
|
|
13
13
|
import "./host-env-security-BiAcoumI.js";
|
|
14
14
|
import "./env-vars-DM119fhK.js";
|
|
15
15
|
import "./registry-CUyWRciN.js";
|
|
16
|
-
import "./manifest-registry-
|
|
16
|
+
import "./manifest-registry-B_U2pKBU.js";
|
|
17
17
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-CKAn7Lf7.js";
|
|
18
|
-
import "./tailnet-
|
|
19
|
-
import { i as isLoopbackHost } from "./ws-
|
|
20
|
-
import { Vt as approveDevicePairing, Wt as listDevicePairing, Xt as summarizeDeviceTokens } from "./client-
|
|
21
|
-
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-
|
|
18
|
+
import "./tailnet-BYBKD8Kh.js";
|
|
19
|
+
import { i as isLoopbackHost } from "./ws-DKbBt0us.js";
|
|
20
|
+
import { Vt as approveDevicePairing, Wt as listDevicePairing, Xt as summarizeDeviceTokens } from "./client-B91adiXh.js";
|
|
21
|
+
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-BGZQEHL4.js";
|
|
22
22
|
import "./pairing-token-QppPqMJU.js";
|
|
23
23
|
import { n as formatTimeAgo } from "./format-relative-BjGzUS9-.js";
|
|
24
24
|
import { n as withProgress } from "./progress-86COuAnG.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-BT74-yyS.js";
|
|
3
|
-
import { Wt as loadConfig } from "./model-selection-
|
|
3
|
+
import { Wt as loadConfig } from "./model-selection-xdfZxwgB.js";
|
|
4
4
|
import { n as getDiagnosticSessionState, r as pruneDiagnosticSessionStates, t as diagnosticSessionStates } from "./diagnostic-session-state-DtDi2x-e.js";
|
|
5
5
|
|
|
6
6
|
//#region src/infra/diagnostic-events.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as resolveGatewayLogPaths } from "./service-
|
|
2
|
-
import
|
|
1
|
+
import { s as resolveGatewayLogPaths } from "./service-DqxfCr8y.js";
|
|
2
|
+
import fs from "node:fs/promises";
|
|
3
3
|
|
|
4
4
|
//#region src/daemon/diagnostics.ts
|
|
5
5
|
const GATEWAY_LOG_ERROR_PATTERNS = [
|
|
@@ -11,7 +11,7 @@ const GATEWAY_LOG_ERROR_PATTERNS = [
|
|
|
11
11
|
];
|
|
12
12
|
async function readLastLogLine(filePath) {
|
|
13
13
|
try {
|
|
14
|
-
const lines = (await
|
|
14
|
+
const lines = (await fs.readFile(filePath, "utf8")).split(/\r?\n/).map((line) => line.trim());
|
|
15
15
|
for (let i = lines.length - 1; i >= 0; i -= 1) if (lines[i]) return lines[i];
|
|
16
16
|
return null;
|
|
17
17
|
} catch {
|
|
@@ -20,8 +20,8 @@ async function readLastLogLine(filePath) {
|
|
|
20
20
|
}
|
|
21
21
|
async function readLastGatewayErrorLine(env) {
|
|
22
22
|
const { stdoutPath, stderrPath } = resolveGatewayLogPaths(env);
|
|
23
|
-
const stderrRaw = await
|
|
24
|
-
const stdoutRaw = await
|
|
23
|
+
const stderrRaw = await fs.readFile(stderrPath, "utf8").catch(() => "");
|
|
24
|
+
const stdoutRaw = await fs.readFile(stdoutPath, "utf8").catch(() => "");
|
|
25
25
|
const lines = [...stderrRaw.split(/\r?\n/), ...stdoutRaw.split(/\r?\n/)].map((line) => line.trim());
|
|
26
26
|
for (let i = lines.length - 1; i >= 0; i -= 1) {
|
|
27
27
|
const line = lines[i];
|