@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
|
@@ -7,7 +7,7 @@ import { t as formatCliCommand } from "./command-format-DBmYTAza.js";
|
|
|
7
7
|
import { t as resolveAccountEntry } from "./account-lookup-wjQQchlq.js";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
import path from "node:path";
|
|
10
|
-
import
|
|
10
|
+
import fs$1 from "node:fs/promises";
|
|
11
11
|
|
|
12
12
|
//#region src/channels/plugins/account-helpers.ts
|
|
13
13
|
function createAccountListHelpers(channelKey) {
|
|
@@ -96,14 +96,14 @@ async function webAuthExists(authDir = resolveDefaultWebAuthDir()) {
|
|
|
96
96
|
maybeRestoreCredsFromBackup(resolvedAuthDir);
|
|
97
97
|
const credsPath = resolveWebCredsPath(resolvedAuthDir);
|
|
98
98
|
try {
|
|
99
|
-
await
|
|
99
|
+
await fs$1.access(resolvedAuthDir);
|
|
100
100
|
} catch {
|
|
101
101
|
return false;
|
|
102
102
|
}
|
|
103
103
|
try {
|
|
104
|
-
const stats = await
|
|
104
|
+
const stats = await fs$1.stat(credsPath);
|
|
105
105
|
if (!stats.isFile() || stats.size <= 1) return false;
|
|
106
|
-
const raw = await
|
|
106
|
+
const raw = await fs$1.readFile(credsPath, "utf-8");
|
|
107
107
|
JSON.parse(raw);
|
|
108
108
|
return true;
|
|
109
109
|
} catch {
|
|
@@ -111,7 +111,7 @@ async function webAuthExists(authDir = resolveDefaultWebAuthDir()) {
|
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
async function clearLegacyBaileysAuthState(authDir) {
|
|
114
|
-
const entries = await
|
|
114
|
+
const entries = await fs$1.readdir(authDir, { withFileTypes: true });
|
|
115
115
|
const shouldDelete = (name) => {
|
|
116
116
|
if (name === "oauth.json") return false;
|
|
117
117
|
if (name === "creds.json" || name === "creds.json.bak") return true;
|
|
@@ -121,7 +121,7 @@ async function clearLegacyBaileysAuthState(authDir) {
|
|
|
121
121
|
await Promise.all(entries.map(async (entry) => {
|
|
122
122
|
if (!entry.isFile()) return;
|
|
123
123
|
if (!shouldDelete(entry.name)) return;
|
|
124
|
-
await
|
|
124
|
+
await fs$1.rm(path.join(authDir, entry.name), { force: true });
|
|
125
125
|
}));
|
|
126
126
|
}
|
|
127
127
|
async function logoutWeb(params) {
|
|
@@ -132,7 +132,7 @@ async function logoutWeb(params) {
|
|
|
132
132
|
return false;
|
|
133
133
|
}
|
|
134
134
|
if (params.isLegacyAuthDir) await clearLegacyBaileysAuthState(resolvedAuthDir);
|
|
135
|
-
else await
|
|
135
|
+
else await fs$1.rm(resolvedAuthDir, {
|
|
136
136
|
recursive: true,
|
|
137
137
|
force: true
|
|
138
138
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as normalizeAccountId } from "./session-key-C9z4VQtw.js";
|
|
2
2
|
import { t as resolveAccountEntry } from "./account-lookup-wjQQchlq.js";
|
|
3
|
-
import { v as createAccountListHelpers } from "./accounts-
|
|
3
|
+
import { v as createAccountListHelpers } from "./accounts-D5DQlttG.js";
|
|
4
4
|
|
|
5
5
|
//#region src/imessage/accounts.ts
|
|
6
6
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("imessage");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as normalizeAccountId } from "./session-key-C9z4VQtw.js";
|
|
2
2
|
import { t as resolveAccountEntry } from "./account-lookup-wjQQchlq.js";
|
|
3
|
-
import { v as createAccountListHelpers } from "./accounts-
|
|
3
|
+
import { v as createAccountListHelpers } from "./accounts-D5DQlttG.js";
|
|
4
4
|
|
|
5
5
|
//#region src/signal/accounts.ts
|
|
6
6
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("signal");
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import "./paths-BYr-iJJ9.js";
|
|
2
2
|
import { p as theme } from "./globals-uLeGcRW1.js";
|
|
3
3
|
import { S as shortenHomePath, y as resolveUserPath } 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
|
-
import "./workspace-
|
|
6
|
+
import "./workspace-CRdln__H.js";
|
|
7
7
|
import "./logger-D04dg4Ex.js";
|
|
8
8
|
import "./exec-BdDcFm8M.js";
|
|
9
|
-
import { Wt as loadConfig } from "./model-selection-
|
|
9
|
+
import { Wt as loadConfig } from "./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 { r as VERSION } from "./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
18
|
import { r as isKnownCoreToolId } from "./tool-catalog-zFhF8IWN.js";
|
|
19
|
-
import "./tailnet-
|
|
20
|
-
import "./ws-
|
|
19
|
+
import "./tailnet-BYBKD8Kh.js";
|
|
20
|
+
import "./ws-DKbBt0us.js";
|
|
21
21
|
import { t as resolveGatewayCredentialsFromConfig } from "./credentials-PRol0Tvd.js";
|
|
22
22
|
import { n as resolveWindowsSpawnProgram, t as materializeWindowsSpawnProgram } from "./windows-spawn-De2cBnWX.js";
|
|
23
|
-
import { t as GatewayClient } from "./client-
|
|
24
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
23
|
+
import { t as GatewayClient } from "./client-B91adiXh.js";
|
|
24
|
+
import { t as buildGatewayConnectionDetails } from "./call-BGZQEHL4.js";
|
|
25
25
|
import "./pairing-token-QppPqMJU.js";
|
|
26
26
|
import { t as formatDocsLink } from "./links-CM7pO4C5.js";
|
|
27
27
|
import { t as isMainModule } from "./is-main-Dha5s7-d.js";
|
|
@@ -2,7 +2,7 @@ import { g as resolveStateDir } from "./paths-BYr-iJJ9.js";
|
|
|
2
2
|
import { y as resolveUserPath } from "./utils-CP51tiAi.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-BT74-yyS.js";
|
|
4
4
|
import { T as parseAgentSessionKey, c as normalizeAgentId, t as DEFAULT_AGENT_ID, u as resolveAgentIdFromSessionKey } from "./session-key-C9z4VQtw.js";
|
|
5
|
-
import { F as normalizeSkillFilter, h as resolveDefaultAgentWorkspaceDir } from "./workspace-
|
|
5
|
+
import { F as normalizeSkillFilter, h as resolveDefaultAgentWorkspaceDir } from "./workspace-CRdln__H.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
|
8
8
|
//#region src/config/model-input.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Qt as loadAgentIdentityFromWorkspace, Zt as identityHasValues } from "./reply-
|
|
2
|
-
import { a as resolveAgentDir, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
1
|
+
import { Qt as loadAgentIdentityFromWorkspace, Zt as identityHasValues } from "./reply-D8Yu6-Ie.js";
|
|
2
|
+
import { a as resolveAgentDir, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-CiBV1K6b.js";
|
|
3
3
|
import { c as normalizeAgentId } from "./session-key-C9z4VQtw.js";
|
|
4
4
|
|
|
5
5
|
//#region src/commands/agents.config.ts
|
|
@@ -2,62 +2,62 @@ import "./paths-BYr-iJJ9.js";
|
|
|
2
2
|
import { a as logVerbose, c as shouldLogVerbose } from "./globals-uLeGcRW1.js";
|
|
3
3
|
import "./utils-CP51tiAi.js";
|
|
4
4
|
import "./thinking-44rmAw5o.js";
|
|
5
|
-
import "./agent-scope-
|
|
5
|
+
import "./agent-scope-CiBV1K6b.js";
|
|
6
6
|
import "./subsystem-BT74-yyS.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-
|
|
18
|
-
import "./dock-
|
|
17
|
+
import "./manifest-registry-B_U2pKBU.js";
|
|
18
|
+
import "./dock-BXksV3sC.js";
|
|
19
19
|
import "./message-channel-CKAn7Lf7.js";
|
|
20
|
-
import { d as isAudioAttachment, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-
|
|
21
|
-
import "./image-
|
|
22
|
-
import "./models-config-
|
|
23
|
-
import "./pi-model-discovery-
|
|
24
|
-
import "./pi-embedded-helpers-
|
|
25
|
-
import "./sandbox-
|
|
20
|
+
import { d as isAudioAttachment, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-CF_UP4C7.js";
|
|
21
|
+
import "./image-B270IRGo.js";
|
|
22
|
+
import "./models-config-Do1Ur_ov.js";
|
|
23
|
+
import "./pi-model-discovery-DVhDvAnA.js";
|
|
24
|
+
import "./pi-embedded-helpers-ZTn-T7tW.js";
|
|
25
|
+
import "./sandbox-BKa5RrBl.js";
|
|
26
26
|
import "./tool-catalog-zFhF8IWN.js";
|
|
27
|
-
import "./chrome-
|
|
27
|
+
import "./chrome-DzGCPEQK.js";
|
|
28
28
|
import "./tailscale-OcOGSzmc.js";
|
|
29
|
-
import "./tailnet-
|
|
30
|
-
import "./ws-
|
|
31
|
-
import "./auth-
|
|
32
|
-
import "./server-context-
|
|
29
|
+
import "./tailnet-BYBKD8Kh.js";
|
|
30
|
+
import "./ws-DKbBt0us.js";
|
|
31
|
+
import "./auth-Co2g3d8d.js";
|
|
32
|
+
import "./server-context-DWxmyV-0.js";
|
|
33
33
|
import "./frontmatter-f69paAeU.js";
|
|
34
|
-
import "./skills-
|
|
35
|
-
import "./path-alias-guards-
|
|
36
|
-
import "./paths-
|
|
34
|
+
import "./skills-BeFcXCoN.js";
|
|
35
|
+
import "./path-alias-guards-DWh6tSaP.js";
|
|
36
|
+
import "./paths-AxolTUEH.js";
|
|
37
37
|
import "./redact-Bf_pxORb.js";
|
|
38
38
|
import "./errors-D5pCqwf4.js";
|
|
39
|
-
import "./fs-safe-
|
|
40
|
-
import "./proxy-env-
|
|
41
|
-
import "./image-ops-
|
|
42
|
-
import "./store-
|
|
43
|
-
import "./ports-
|
|
39
|
+
import "./fs-safe-p5lyYI__.js";
|
|
40
|
+
import "./proxy-env-ClbXa7vn.js";
|
|
41
|
+
import "./image-ops-BAMcbVMS.js";
|
|
42
|
+
import "./store-B-nkOSsv.js";
|
|
43
|
+
import "./ports-DppAHKM-.js";
|
|
44
44
|
import "./trash-Cq4N8bvb.js";
|
|
45
|
-
import "./server-middleware-
|
|
46
|
-
import "./sessions-
|
|
47
|
-
import "./plugins-
|
|
48
|
-
import "./accounts-
|
|
49
|
-
import "./accounts-
|
|
45
|
+
import "./server-middleware-CO1brrgv.js";
|
|
46
|
+
import "./sessions-BpuJ64B0.js";
|
|
47
|
+
import "./plugins-CKWxMohB.js";
|
|
48
|
+
import "./accounts-D5DQlttG.js";
|
|
49
|
+
import "./accounts-DKvlV3Tm.js";
|
|
50
50
|
import "./logging-Dn5qdhsZ.js";
|
|
51
|
-
import "./accounts-
|
|
52
|
-
import "./bindings-
|
|
51
|
+
import "./accounts-jPPbCJns.js";
|
|
52
|
+
import "./bindings-Ck6aotGf.js";
|
|
53
53
|
import "./paths-BJLbJUqV.js";
|
|
54
54
|
import "./chat-envelope-D2ZROPtK.js";
|
|
55
|
-
import "./tool-images-
|
|
55
|
+
import "./tool-images-QWbHWc0F.js";
|
|
56
56
|
import "./tool-display-BnVcCWLz.js";
|
|
57
|
-
import "./fetch-guard-
|
|
58
|
-
import "./api-key-rotation-
|
|
59
|
-
import "./local-roots-
|
|
60
|
-
import "./model-catalog-
|
|
57
|
+
import "./fetch-guard-D6eclxeP.js";
|
|
58
|
+
import "./api-key-rotation-j4O7qxMf.js";
|
|
59
|
+
import "./local-roots-jW0nhxVT.js";
|
|
60
|
+
import "./model-catalog-CjA5pRJF.js";
|
|
61
61
|
import "./proxy-fetch-7LT9tml2.js";
|
|
62
62
|
|
|
63
63
|
//#region src/media-understanding/audio-preflight.ts
|
|
@@ -18,8 +18,8 @@ import "./accounts-BTexwKe8.js";
|
|
|
18
18
|
import "./image-ops-DCpyia_K.js";
|
|
19
19
|
import "./pi-model-discovery-DCIw1y1c.js";
|
|
20
20
|
import "./message-channel-Dl8dSs0T.js";
|
|
21
|
-
import "./pi-embedded-helpers-
|
|
22
|
-
import "./chrome-
|
|
21
|
+
import "./pi-embedded-helpers-BErNo2oq.js";
|
|
22
|
+
import "./chrome-C6zMSR36.js";
|
|
23
23
|
import "./frontmatter-DIRc-IR1.js";
|
|
24
24
|
import "./skills-DMmr25nW.js";
|
|
25
25
|
import "./path-alias-guards-CKjKIhQ3.js";
|
|
@@ -33,8 +33,8 @@ import "./accounts-CFz9Jc5d.js";
|
|
|
33
33
|
import "./paths-Cpu0XgUj.js";
|
|
34
34
|
import "./tool-images-ffdfBx0b.js";
|
|
35
35
|
import "./thinking-FnAYAFD8.js";
|
|
36
|
-
import "./image-
|
|
37
|
-
import { g as isAudioAttachment, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-
|
|
36
|
+
import "./image-Dd4lgi4H.js";
|
|
37
|
+
import { g as isAudioAttachment, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-Bx53bUS2.js";
|
|
38
38
|
import "./fetch--iXu7oa7.js";
|
|
39
39
|
import "./fetch-guard-CNvY0vzQ.js";
|
|
40
40
|
import "./api-key-rotation-WzOC5dTW.js";
|
package/dist/{audio-transcription-runner-DaoqvWoi.js → audio-transcription-runner-Bx53bUS2.js}
RENAMED
|
@@ -4,7 +4,7 @@ import { y as runExec } from "./workspace-D6mrCnXi.js";
|
|
|
4
4
|
import { $ as mergeInboundPathRoots, A as resolveApiKeyForProvider, H as loadConfig, Q as isInboundPathAllowed, Z as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, c as normalizeProviderId, et as resolveIMessageAttachmentRoots, g as normalizeGoogleModelId, k as requireApiKey, kn as resolveOpenClawAgentDir } from "./model-selection-D_Si2Ict.js";
|
|
5
5
|
import { t as normalizeChatType } from "./chat-type-DKb2TlGZ.js";
|
|
6
6
|
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-DCpyia_K.js";
|
|
7
|
-
import { T as ensureOpenClawModelsJson, t as describeImageWithModel } from "./image-
|
|
7
|
+
import { T as ensureOpenClawModelsJson, t as describeImageWithModel } from "./image-Dd4lgi4H.js";
|
|
8
8
|
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch--iXu7oa7.js";
|
|
9
9
|
import { n as fetchWithTimeout } from "./fetch-timeout-CYFFedEH.js";
|
|
10
10
|
import { t as fetchWithSsrFGuard } from "./fetch-guard-CNvY0vzQ.js";
|
package/dist/{audio-transcription-runner-Dv-MCA8E.js → audio-transcription-runner-CF_UP4C7.js}
RENAMED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { a as logVerbose, c as shouldLogVerbose, k as resolvePreferredOpenClawTmpDir } from "./globals-uLeGcRW1.js";
|
|
2
|
-
import { _ as resolveAgentModelPrimaryValue, g as resolveAgentModelFallbackValues } from "./agent-scope-
|
|
2
|
+
import { _ as resolveAgentModelPrimaryValue, g as resolveAgentModelFallbackValues } from "./agent-scope-CiBV1K6b.js";
|
|
3
3
|
import { n as runExec } from "./exec-BdDcFm8M.js";
|
|
4
|
-
import { A as normalizeGoogleModelId, an as resolveIMessageAttachmentRoots, d as normalizeProviderId, et as requireApiKey, in as mergeInboundPathRoots, nn as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, rn as isInboundPathAllowed, tt as resolveApiKeyForProvider } from "./model-selection-
|
|
4
|
+
import { A as normalizeGoogleModelId, an as resolveIMessageAttachmentRoots, d as normalizeProviderId, et as requireApiKey, in as mergeInboundPathRoots, nn as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, rn as isInboundPathAllowed, tt as resolveApiKeyForProvider } from "./model-selection-xdfZxwgB.js";
|
|
5
5
|
import { t as normalizeChatType } from "./chat-type-B2TfTsnW.js";
|
|
6
|
-
import { t as describeImageWithModel } from "./image-
|
|
6
|
+
import { t as describeImageWithModel } from "./image-B270IRGo.js";
|
|
7
7
|
import { i as formatUncaughtError, n as extractErrorCode, s as readErrorName, t as collectErrorGraphCandidates } from "./errors-D5pCqwf4.js";
|
|
8
|
-
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-
|
|
8
|
+
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-BAMcbVMS.js";
|
|
9
9
|
import { n as fetchWithTimeout } from "./fetch-timeout-DkT3EnRA.js";
|
|
10
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
11
|
-
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
12
|
-
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError } from "./local-roots-
|
|
13
|
-
import { n as loadModelCatalog, r as modelSupportsVision, t as findModelInCatalog } from "./model-catalog-
|
|
10
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-D6eclxeP.js";
|
|
11
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-j4O7qxMf.js";
|
|
12
|
+
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError } from "./local-roots-jW0nhxVT.js";
|
|
13
|
+
import { n as loadModelCatalog, r as modelSupportsVision, t as findModelInCatalog } from "./model-catalog-CjA5pRJF.js";
|
|
14
14
|
import { n as resolveProxyFetchFromEnv } from "./proxy-fetch-7LT9tml2.js";
|
|
15
15
|
import process$1 from "node:process";
|
|
16
16
|
import { fileURLToPath } from "node:url";
|
|
17
17
|
import { constants } from "node:fs";
|
|
18
18
|
import os from "node:os";
|
|
19
19
|
import path from "node:path";
|
|
20
|
-
import
|
|
20
|
+
import fs$1 from "node:fs/promises";
|
|
21
21
|
import crypto from "node:crypto";
|
|
22
22
|
|
|
23
23
|
//#region src/auto-reply/templating.ts
|
|
@@ -971,7 +971,7 @@ var MediaAttachmentCache = class {
|
|
|
971
971
|
const size = await this.ensureLocalStat(entry);
|
|
972
972
|
if (entry.resolvedPath) {
|
|
973
973
|
if (size !== void 0 && size > params.maxBytes) throw new MediaUnderstandingSkipError("maxBytes", `Attachment ${params.attachmentIndex + 1} exceeds maxBytes ${params.maxBytes}`);
|
|
974
|
-
const buffer = await
|
|
974
|
+
const buffer = await fs$1.readFile(entry.resolvedPath);
|
|
975
975
|
entry.buffer = buffer;
|
|
976
976
|
entry.bufferMime = entry.bufferMime ?? entry.attachment.mime ?? await detectMime({
|
|
977
977
|
buffer,
|
|
@@ -1041,10 +1041,10 @@ var MediaAttachmentCache = class {
|
|
|
1041
1041
|
prefix: "openclaw-media",
|
|
1042
1042
|
extension: path.extname(bufferResult.fileName || "") || ""
|
|
1043
1043
|
});
|
|
1044
|
-
await
|
|
1044
|
+
await fs$1.writeFile(tmpPath, bufferResult.buffer);
|
|
1045
1045
|
entry.tempPath = tmpPath;
|
|
1046
1046
|
entry.tempCleanup = async () => {
|
|
1047
|
-
await
|
|
1047
|
+
await fs$1.unlink(tmpPath).catch(() => {});
|
|
1048
1048
|
};
|
|
1049
1049
|
return {
|
|
1050
1050
|
path: tmpPath,
|
|
@@ -1091,12 +1091,12 @@ var MediaAttachmentCache = class {
|
|
|
1091
1091
|
if (entry.statSize !== void 0) return entry.statSize;
|
|
1092
1092
|
try {
|
|
1093
1093
|
const currentPath = entry.resolvedPath;
|
|
1094
|
-
const stat = await
|
|
1094
|
+
const stat = await fs$1.stat(currentPath);
|
|
1095
1095
|
if (!stat.isFile()) {
|
|
1096
1096
|
entry.resolvedPath = void 0;
|
|
1097
1097
|
return;
|
|
1098
1098
|
}
|
|
1099
|
-
const canonicalPath = await
|
|
1099
|
+
const canonicalPath = await fs$1.realpath(currentPath).catch(() => currentPath);
|
|
1100
1100
|
if (!isInboundPathAllowed({
|
|
1101
1101
|
filePath: canonicalPath,
|
|
1102
1102
|
roots: await this.getCanonicalLocalPathRoots()
|
|
@@ -1118,7 +1118,7 @@ var MediaAttachmentCache = class {
|
|
|
1118
1118
|
if (this.canonicalLocalPathRoots) return await this.canonicalLocalPathRoots;
|
|
1119
1119
|
this.canonicalLocalPathRoots = (async () => mergeInboundPathRoots(this.localPathRoots, await Promise.all(this.localPathRoots.map(async (root) => {
|
|
1120
1120
|
if (root.includes("*")) return root;
|
|
1121
|
-
return await
|
|
1121
|
+
return await fs$1.realpath(root).catch(() => root);
|
|
1122
1122
|
}))))();
|
|
1123
1123
|
return await this.canonicalLocalPathRoots;
|
|
1124
1124
|
}
|
|
@@ -1129,7 +1129,7 @@ var MediaAttachmentCache = class {
|
|
|
1129
1129
|
async function fileExists(filePath) {
|
|
1130
1130
|
if (!filePath) return false;
|
|
1131
1131
|
try {
|
|
1132
|
-
await
|
|
1132
|
+
await fs$1.stat(filePath);
|
|
1133
1133
|
return true;
|
|
1134
1134
|
} catch {
|
|
1135
1135
|
return false;
|
|
@@ -1237,7 +1237,7 @@ async function resolveCliOutput(params) {
|
|
|
1237
1237
|
const commandId = commandBase(params.command);
|
|
1238
1238
|
const fileOutput = commandId === "whisper-cli" ? resolveWhisperCppOutputPath(params.args) : commandId === "whisper" ? resolveWhisperOutputPath(params.args, params.mediaPath) : commandId === "parakeet-mlx" ? resolveParakeetOutputPath(params.args, params.mediaPath) : null;
|
|
1239
1239
|
if (fileOutput && await fileExists(fileOutput)) try {
|
|
1240
|
-
const content = await
|
|
1240
|
+
const content = await fs$1.readFile(fileOutput, "utf8");
|
|
1241
1241
|
if (content.trim()) return content.trim();
|
|
1242
1242
|
} catch {}
|
|
1243
1243
|
if (commandId === "gemini") {
|
|
@@ -1546,10 +1546,10 @@ async function runCliEntry(params) {
|
|
|
1546
1546
|
timeoutMs
|
|
1547
1547
|
});
|
|
1548
1548
|
if (capability === "audio") assertMinAudioSize({
|
|
1549
|
-
size: (await
|
|
1549
|
+
size: (await fs$1.stat(pathResult.path)).size,
|
|
1550
1550
|
attachmentIndex: params.attachmentIndex
|
|
1551
1551
|
});
|
|
1552
|
-
const outputDir = await
|
|
1552
|
+
const outputDir = await fs$1.mkdtemp(path.join(resolvePreferredOpenClawTmpDir(), "openclaw-media-cli-"));
|
|
1553
1553
|
const mediaPath = pathResult.path;
|
|
1554
1554
|
const outputBase = path.join(outputDir, path.parse(mediaPath).name);
|
|
1555
1555
|
const templCtx = {
|
|
@@ -1583,7 +1583,7 @@ async function runCliEntry(params) {
|
|
|
1583
1583
|
model: command
|
|
1584
1584
|
};
|
|
1585
1585
|
} finally {
|
|
1586
|
-
await
|
|
1586
|
+
await fs$1.rm(outputDir, {
|
|
1587
1587
|
recursive: true,
|
|
1588
1588
|
force: true
|
|
1589
1589
|
}).catch(() => {});
|
|
@@ -1627,9 +1627,9 @@ function candidateBinaryNames(name) {
|
|
|
1627
1627
|
}
|
|
1628
1628
|
async function isExecutable(filePath) {
|
|
1629
1629
|
try {
|
|
1630
|
-
if (!(await
|
|
1630
|
+
if (!(await fs$1.stat(filePath)).isFile()) return false;
|
|
1631
1631
|
if (process.platform === "win32") return true;
|
|
1632
|
-
await
|
|
1632
|
+
await fs$1.access(filePath, constants.X_OK);
|
|
1633
1633
|
return true;
|
|
1634
1634
|
} catch {
|
|
1635
1635
|
return false;
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import { g as resolveStateDir, m as resolveOAuthDir, o as resolveConfigPath } from "./paths-BYr-iJJ9.js";
|
|
2
2
|
import { S as shortenHomePath } from "./utils-CP51tiAi.js";
|
|
3
|
-
import { _ as resolveAgentModelPrimaryValue, d as resolveDefaultAgentId, g as resolveAgentModelFallbackValues } from "./agent-scope-
|
|
3
|
+
import { _ as resolveAgentModelPrimaryValue, d as resolveDefaultAgentId, g as resolveAgentModelFallbackValues } from "./agent-scope-CiBV1K6b.js";
|
|
4
4
|
import { c as normalizeAgentId } from "./session-key-C9z4VQtw.js";
|
|
5
|
-
import { Ft as formatPermissionRemediation, Hr as INCLUDE_KEY, It as inspectPathPermissions, Lt as safeStat, Pt as formatPermissionDetail, Ur as MAX_INCLUDE_DEPTH, Ut as createConfigIO, gn as normalizeNetworkMode, hn as isDangerousNetworkMode, nr as normalizeTrustedSafeBinDirs } from "./model-selection-
|
|
5
|
+
import { Ft as formatPermissionRemediation, Hr as INCLUDE_KEY, It as inspectPathPermissions, Lt as safeStat, Pt as formatPermissionDetail, Ur as MAX_INCLUDE_DEPTH, Ut as createConfigIO, gn as normalizeNetworkMode, hn as isDangerousNetworkMode, nr as normalizeTrustedSafeBinDirs } from "./model-selection-xdfZxwgB.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-DBmYTAza.js";
|
|
7
7
|
import { i as isPathInside, n as MANIFEST_KEY, r as extensionUsesSkippedScannerPath } from "./legacy-names-BYUgjYSw.js";
|
|
8
|
-
import { d as normalizePluginsConfig } from "./manifest-registry-
|
|
9
|
-
import { l as normalizeStringEntries } from "./dock-
|
|
8
|
+
import { d as normalizePluginsConfig } from "./manifest-registry-B_U2pKBU.js";
|
|
9
|
+
import { l as normalizeStringEntries } from "./dock-BXksV3sC.js";
|
|
10
10
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-CKAn7Lf7.js";
|
|
11
|
-
import { C as resolveToolProfilePolicy, f as resolveSandboxConfigForAgent, k as SANDBOX_BROWSER_SECURITY_HASH_EPOCH, l as execDockerRaw, m as resolveSandboxToolPolicyForAgent, u as getBlockedBindReason } from "./sandbox-
|
|
12
|
-
import { a as resolveGatewayAuth } from "./auth-
|
|
11
|
+
import { C as resolveToolProfilePolicy, f as resolveSandboxConfigForAgent, k as SANDBOX_BROWSER_SECURITY_HASH_EPOCH, l as execDockerRaw, m as resolveSandboxToolPolicyForAgent, u as getBlockedBindReason } from "./sandbox-BKa5RrBl.js";
|
|
12
|
+
import { a as resolveGatewayAuth } from "./auth-Co2g3d8d.js";
|
|
13
13
|
import { t as resolveGatewayCredentialsFromConfig } from "./credentials-PRol0Tvd.js";
|
|
14
|
-
import { a as resolveProfile, c as resolveBrowserControlAuth, i as resolveBrowserConfig } from "./server-context-
|
|
15
|
-
import { i as loadWorkspaceSkillEntries } from "./skills-
|
|
14
|
+
import { a as resolveProfile, c as resolveBrowserControlAuth, i as resolveBrowserConfig } from "./server-context-DWxmyV-0.js";
|
|
15
|
+
import { i as loadWorkspaceSkillEntries } from "./skills-BeFcXCoN.js";
|
|
16
16
|
import { r as formatErrorMessage } from "./errors-D5pCqwf4.js";
|
|
17
|
-
import { n as listChannelPlugins } from "./plugins-
|
|
18
|
-
import { a as resolveNativeSkillsEnabled, i as resolveNativeCommandsEnabled } from "./commands-
|
|
19
|
-
import { t as GatewayClient } from "./client-
|
|
20
|
-
import { c as READ_SCOPE, t as buildGatewayConnectionDetails } from "./call-
|
|
21
|
-
import { i as readChannelAllowFromStore } from "./pairing-store-
|
|
22
|
-
import { r as resolveMergedSafeBinProfileFixtures, t as listInterpreterLikeSafeBins } from "./exec-safe-bin-runtime-policy-
|
|
23
|
-
import { l as resolveDmAllowState, n as isToolAllowedByPolicies, o as pickSandboxToolPolicy } from "./pi-tools.policy-
|
|
17
|
+
import { n as listChannelPlugins } from "./plugins-CKWxMohB.js";
|
|
18
|
+
import { a as resolveNativeSkillsEnabled, i as resolveNativeCommandsEnabled } from "./commands-C6OLhl3n.js";
|
|
19
|
+
import { t as GatewayClient } from "./client-B91adiXh.js";
|
|
20
|
+
import { c as READ_SCOPE, t as buildGatewayConnectionDetails } from "./call-BGZQEHL4.js";
|
|
21
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-DdZ0xMD7.js";
|
|
22
|
+
import { r as resolveMergedSafeBinProfileFixtures, t as listInterpreterLikeSafeBins } from "./exec-safe-bin-runtime-policy-D7olAQMf.js";
|
|
23
|
+
import { l as resolveDmAllowState, n as isToolAllowedByPolicies, o as pickSandboxToolPolicy } from "./pi-tools.policy-eyXj0EY5.js";
|
|
24
24
|
import { n as isDangerousNameMatchingEnabled } from "./dangerous-name-matching-Bu_xMy4h.js";
|
|
25
|
-
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-
|
|
25
|
+
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-DcAUEsSG.js";
|
|
26
26
|
import { n as DEFAULT_GATEWAY_HTTP_TOOL_DENY } from "./dangerous-tools-DHq9RLRQ.js";
|
|
27
27
|
import { t as resolveChannelDefaultAccountId } from "./helpers-D0Q6sarx.js";
|
|
28
|
-
import { t as scanDirectoryWithSummary } from "./skill-scanner-
|
|
29
|
-
import { r as resolveNodeCommandAllowlist, t as DEFAULT_DANGEROUS_NODE_COMMANDS } from "./node-command-policy-
|
|
28
|
+
import { t as scanDirectoryWithSummary } from "./skill-scanner-CsmM5F4F.js";
|
|
29
|
+
import { r as resolveNodeCommandAllowlist, t as DEFAULT_DANGEROUS_NODE_COMMANDS } from "./node-command-policy-BKUs_pS2.js";
|
|
30
30
|
import { c as normalizeTelegramAllowFromEntry, s as isNumericTelegramUserId, t as isDiscordMutableAllowEntry } from "./mutable-allowlist-detectors-D5GqtHJ_.js";
|
|
31
31
|
import { t as inferParamBFromIdOrName } from "./model-param-b-DhHzFqPC.js";
|
|
32
32
|
import path from "node:path";
|
|
33
33
|
import JSON5 from "json5";
|
|
34
|
-
import * as fs from "node:fs/promises";
|
|
35
|
-
import
|
|
34
|
+
import * as fs$1 from "node:fs/promises";
|
|
35
|
+
import fs from "node:fs/promises";
|
|
36
36
|
import { randomUUID } from "node:crypto";
|
|
37
37
|
import { isIP } from "node:net";
|
|
38
38
|
|
|
@@ -1303,7 +1303,7 @@ async function collectIncludePathsRecursive(params) {
|
|
|
1303
1303
|
if (visited.has(resolved)) continue;
|
|
1304
1304
|
visited.add(resolved);
|
|
1305
1305
|
result.push(resolved);
|
|
1306
|
-
const rawText = await fs.readFile(resolved, "utf-8").catch(() => null);
|
|
1306
|
+
const rawText = await fs$1.readFile(resolved, "utf-8").catch(() => null);
|
|
1307
1307
|
if (!rawText) continue;
|
|
1308
1308
|
const nestedParsed = (() => {
|
|
1309
1309
|
try {
|
|
@@ -1338,7 +1338,7 @@ function expandTilde(p, env) {
|
|
|
1338
1338
|
}
|
|
1339
1339
|
async function readPluginManifestExtensions(pluginPath) {
|
|
1340
1340
|
const manifestPath = path.join(pluginPath, "package.json");
|
|
1341
|
-
const raw = await
|
|
1341
|
+
const raw = await fs.readFile(manifestPath, "utf-8").catch(() => "");
|
|
1342
1342
|
if (!raw.trim()) return [];
|
|
1343
1343
|
const extensions = JSON.parse(raw)?.[MANIFEST_KEY]?.extensions;
|
|
1344
1344
|
if (!Array.isArray(extensions)) return [];
|
|
@@ -1360,7 +1360,7 @@ async function listInstalledPluginDirs(params) {
|
|
|
1360
1360
|
};
|
|
1361
1361
|
return {
|
|
1362
1362
|
extensionsDir,
|
|
1363
|
-
pluginDirs: (await
|
|
1363
|
+
pluginDirs: (await fs.readdir(extensionsDir, { withFileTypes: true }).catch((err) => {
|
|
1364
1364
|
params.onReadError?.(err);
|
|
1365
1365
|
return [];
|
|
1366
1366
|
})).filter((entry) => entry.isDirectory()).map((entry) => entry.name).filter(Boolean)
|
|
@@ -1423,7 +1423,7 @@ function isPinnedRegistrySpec(spec) {
|
|
|
1423
1423
|
}
|
|
1424
1424
|
async function readInstalledPackageVersion(dir) {
|
|
1425
1425
|
try {
|
|
1426
|
-
const raw = await
|
|
1426
|
+
const raw = await fs.readFile(path.join(dir, "package.json"), "utf-8");
|
|
1427
1427
|
const parsed = JSON.parse(raw);
|
|
1428
1428
|
return typeof parsed.version === "string" ? parsed.version : void 0;
|
|
1429
1429
|
} catch {
|
|
@@ -1459,10 +1459,10 @@ async function listWorkspaceSkillMarkdownFiles(workspaceDir) {
|
|
|
1459
1459
|
const visitedDirs = /* @__PURE__ */ new Set();
|
|
1460
1460
|
while (queue.length > 0 && skillFiles.length < MAX_WORKSPACE_SKILL_SCAN_FILES_PER_WORKSPACE) {
|
|
1461
1461
|
const dir = queue.shift();
|
|
1462
|
-
const dirRealPath = await
|
|
1462
|
+
const dirRealPath = await fs.realpath(dir).catch(() => path.resolve(dir));
|
|
1463
1463
|
if (visitedDirs.has(dirRealPath)) continue;
|
|
1464
1464
|
visitedDirs.add(dirRealPath);
|
|
1465
|
-
const entries = await
|
|
1465
|
+
const entries = await fs.readdir(dir, { withFileTypes: true }).catch(() => []);
|
|
1466
1466
|
for (const entry of entries) {
|
|
1467
1467
|
if (entry.name.startsWith(".") || entry.name === "node_modules") continue;
|
|
1468
1468
|
const fullPath = path.join(dir, entry.name);
|
|
@@ -1471,7 +1471,7 @@ async function listWorkspaceSkillMarkdownFiles(workspaceDir) {
|
|
|
1471
1471
|
continue;
|
|
1472
1472
|
}
|
|
1473
1473
|
if (entry.isSymbolicLink()) {
|
|
1474
|
-
const stat = await
|
|
1474
|
+
const stat = await fs.stat(fullPath).catch(() => null);
|
|
1475
1475
|
if (!stat) continue;
|
|
1476
1476
|
if (stat.isDirectory()) {
|
|
1477
1477
|
queue.push(fullPath);
|
|
@@ -1759,13 +1759,13 @@ async function collectWorkspaceSkillSymlinkEscapeFindings(params) {
|
|
|
1759
1759
|
const seenSkillPaths = /* @__PURE__ */ new Set();
|
|
1760
1760
|
for (const workspaceDir of workspaceDirs) {
|
|
1761
1761
|
const workspacePath = path.resolve(workspaceDir);
|
|
1762
|
-
const workspaceRealPath = await
|
|
1762
|
+
const workspaceRealPath = await fs.realpath(workspacePath).catch(() => workspacePath);
|
|
1763
1763
|
const skillFilePaths = await listWorkspaceSkillMarkdownFiles(workspacePath);
|
|
1764
1764
|
for (const skillFilePath of skillFilePaths) {
|
|
1765
1765
|
const canonicalSkillPath = path.resolve(skillFilePath);
|
|
1766
1766
|
if (seenSkillPaths.has(canonicalSkillPath)) continue;
|
|
1767
1767
|
seenSkillPaths.add(canonicalSkillPath);
|
|
1768
|
-
const skillRealPath = await
|
|
1768
|
+
const skillRealPath = await fs.realpath(canonicalSkillPath).catch(() => null);
|
|
1769
1769
|
if (!skillRealPath) continue;
|
|
1770
1770
|
if (isPathInside(workspaceRealPath, skillRealPath)) continue;
|
|
1771
1771
|
escapedSkillFiles.push({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as readTailscaleWhoisIdentity } from "./tailscale-OcOGSzmc.js";
|
|
2
2
|
import { t as safeEqualSecret } from "./secret-equal-D7A3Bol7.js";
|
|
3
|
-
import { n as isLocalishHost, o as isTrustedProxyAddress, r as isLoopbackAddress, u as resolveClientIp } from "./ws-
|
|
3
|
+
import { n as isLocalishHost, o as isTrustedProxyAddress, r as isLoopbackAddress, u as resolveClientIp } from "./ws-DKbBt0us.js";
|
|
4
4
|
import { n as resolveGatewayCredentialsFromValues } from "./credentials-PRol0Tvd.js";
|
|
5
5
|
|
|
6
6
|
//#region src/gateway/auth-rate-limit.ts
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import "./paths-BYr-iJJ9.js";
|
|
2
2
|
import "./globals-uLeGcRW1.js";
|
|
3
3
|
import "./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 { Ti as normalizeSecretInput, _n as parseDurationMs, ai as upsertAuthProfile, ci as ensureAuthProfileStore, d as normalizeProviderId, fn as resolveDefaultSecretProviderAlias, mt as resolveAuthProfileOrder, rt as resolveEnvApiKey, wi as normalizeOptionalSecretInput, xt as resolveApiKeyForProfile } from "./model-selection-
|
|
9
|
+
import { Ti as normalizeSecretInput, _n as parseDurationMs, ai as upsertAuthProfile, ci as ensureAuthProfileStore, d as normalizeProviderId, fn as resolveDefaultSecretProviderAlias, mt as resolveAuthProfileOrder, rt as resolveEnvApiKey, wi as normalizeOptionalSecretInput, xt as resolveApiKeyForProfile } from "./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-
|
|
17
|
-
import "./models-config-
|
|
18
|
-
import "./model-catalog-
|
|
16
|
+
import "./manifest-registry-B_U2pKBU.js";
|
|
17
|
+
import "./models-config-Do1Ur_ov.js";
|
|
18
|
+
import "./model-catalog-CjA5pRJF.js";
|
|
19
19
|
import "./constants-BJiQF5Ae.js";
|
|
20
20
|
import "./context-window-guard-BNuaId5E.js";
|
|
21
|
-
import "./issue-format-
|
|
22
|
-
import "./shared-
|
|
23
|
-
import { n as applyCustomApiConfig, t as CustomApiError, u as resolveCustomProviderId } from "./onboard-custom.shared-
|
|
24
|
-
import { A as applySyntheticConfig, B as applyZaiConfig, C as applyMoonshotConfigCn, Ct as setXaiApiKey, E as applyOpenrouterConfig, H as applyLitellmConfig, I as applyXaiConfig, K as applyVercelAiGatewayConfig, M as applyTogetherConfig, O as applyQianfanConfig, P as applyVeniceConfig, R as applyXiaomiConfig, S as applyMoonshotConfig, St as setVolcengineApiKey, Tt as setZaiApiKey, W as applyCloudflareAiGatewayConfig, _t as setQianfanApiKey, a as applyMinimaxApiConfig, at as setCloudflareAiGatewayConfig, b as applyMistralConfig, bt as setVeniceApiKey, ct as setKilocodeApiKey, d as applyAuthProfileConfig, dt as setMinimaxApiKey, ft as setMistralApiKey, g as applyKilocodeConfig, gt as setOpenrouterApiKey, ht as setOpencodeZenApiKey, it as setByteplusApiKey, l as applyMinimaxConfig, lt as setKimiCodingApiKey, m as applyHuggingfaceConfig, mt as setOpenaiApiKey, n as validateAnthropicSetupToken, nt as setAnthropicApiKey, o as applyMinimaxApiConfigCn, ot as setGeminiApiKey, pt as setMoonshotApiKey, r as applyOpencodeZenConfig, st as setHuggingfaceApiKey, t as buildTokenProfileId, ut as setLitellmApiKey, v as applyKimiCodeConfig, vt as setSyntheticApiKey, wt as setXiaomiApiKey, xt as setVercelAiGatewayApiKey, yt as setTogetherApiKey } from "./auth-token-
|
|
25
|
-
import { a as normalizeSecretInputModeInput } from "./auth-choice.apply-helpers-
|
|
26
|
-
import { i as detectZaiEndpoint, n as applyOpenAIConfig, o as applyGoogleGeminiModelDefault } from "./openai-model-default-
|
|
27
|
-
import { r as applyPrimaryModel } from "./model-picker-
|
|
28
|
-
import { n as parseNonInteractiveCustomApiFlags } from "./onboard-custom-
|
|
21
|
+
import "./issue-format-rk9Vpcxd.js";
|
|
22
|
+
import "./shared-CgFPGTLU.js";
|
|
23
|
+
import { n as applyCustomApiConfig, t as CustomApiError, u as resolveCustomProviderId } from "./onboard-custom.shared-CBRRhb95.js";
|
|
24
|
+
import { A as applySyntheticConfig, B as applyZaiConfig, C as applyMoonshotConfigCn, Ct as setXaiApiKey, E as applyOpenrouterConfig, H as applyLitellmConfig, I as applyXaiConfig, K as applyVercelAiGatewayConfig, M as applyTogetherConfig, O as applyQianfanConfig, P as applyVeniceConfig, R as applyXiaomiConfig, S as applyMoonshotConfig, St as setVolcengineApiKey, Tt as setZaiApiKey, W as applyCloudflareAiGatewayConfig, _t as setQianfanApiKey, a as applyMinimaxApiConfig, at as setCloudflareAiGatewayConfig, b as applyMistralConfig, bt as setVeniceApiKey, ct as setKilocodeApiKey, d as applyAuthProfileConfig, dt as setMinimaxApiKey, ft as setMistralApiKey, g as applyKilocodeConfig, gt as setOpenrouterApiKey, ht as setOpencodeZenApiKey, it as setByteplusApiKey, l as applyMinimaxConfig, lt as setKimiCodingApiKey, m as applyHuggingfaceConfig, mt as setOpenaiApiKey, n as validateAnthropicSetupToken, nt as setAnthropicApiKey, o as applyMinimaxApiConfigCn, ot as setGeminiApiKey, pt as setMoonshotApiKey, r as applyOpencodeZenConfig, st as setHuggingfaceApiKey, t as buildTokenProfileId, ut as setLitellmApiKey, v as applyKimiCodeConfig, vt as setSyntheticApiKey, wt as setXiaomiApiKey, xt as setVercelAiGatewayApiKey, yt as setTogetherApiKey } from "./auth-token-BjVRLcvi.js";
|
|
25
|
+
import { a as normalizeSecretInputModeInput } from "./auth-choice.apply-helpers-CQLQ5Tuk.js";
|
|
26
|
+
import { i as detectZaiEndpoint, n as applyOpenAIConfig, o as applyGoogleGeminiModelDefault } from "./openai-model-default-Q7Hmy0eQ.js";
|
|
27
|
+
import { r as applyPrimaryModel } from "./model-picker-CMgjcqV_.js";
|
|
28
|
+
import { n as parseNonInteractiveCustomApiFlags } from "./onboard-custom-Bow6lZPm.js";
|
|
29
29
|
|
|
30
30
|
//#region src/commands/onboard-non-interactive/api-keys.ts
|
|
31
31
|
function parseEnvVarNameFromSourceLabel(source) {
|