@bitseek/claw 1.2.5 → 1.2.6
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-DKvlV3Tm.js → accounts-C3iwoWUS.js} +1 -1
- package/dist/{accounts-D5DQlttG.js → accounts-CCbfXe4Y.js} +7 -7
- package/dist/{accounts-jPPbCJns.js → accounts-ChjgDDok.js} +1 -1
- package/dist/{acp-cli-BZnPaFm3.js → acp-cli-DIikR-tj.js} +8 -8
- package/dist/{agent-scope-CiBV1K6b.js → agent-scope-DHMu2mab.js} +1 -1
- package/dist/{agents.config-DQBEXhzA.js → agents.config-BoNoGEQI.js} +2 -2
- package/dist/{api-key-rotation-j4O7qxMf.js → api-key-rotation-CuHjsofV.js} +1 -1
- package/dist/{audio-preflight-BkoTbTIH.js → audio-preflight-BClvbKMQ.js} +36 -36
- package/dist/{audio-preflight-Dd9DDvqB.js → audio-preflight-BWOdDA2n.js} +4 -4
- package/dist/{audio-transcription-runner-Bx53bUS2.js → audio-transcription-runner-DaoqvWoi.js} +1 -1
- package/dist/{audio-transcription-runner-CF_UP4C7.js → audio-transcription-runner-Dv-MCA8E.js} +22 -22
- package/dist/{audit-1YVlVmk7.js → audit-BAGbgihO.js} +29 -29
- package/dist/{auth-Co2g3d8d.js → auth-B9WdgDjZ.js} +1 -1
- package/dist/{auth-choice-CdsMUqKA.js → auth-choice-CTCXt7WB.js} +12 -12
- package/dist/{auth-choice-BamWYpsc.js → auth-choice-FFUrxk0-.js} +14 -14
- package/dist/{auth-choice.apply-helpers-CQLQ5Tuk.js → auth-choice.apply-helpers-Dz2x-3CK.js} +1 -1
- package/dist/{auth-token-BjVRLcvi.js → auth-token-BPWVp11S.js} +1 -1
- package/dist/{bindings-Ck6aotGf.js → bindings-C0k4wFy7.js} +1 -1
- package/dist/{bonjour-discovery-CtUQb94i.js → bonjour-discovery-DXvZeG8M.js} +1 -1
- package/dist/{browser-cli-CaBLM5A6.js → browser-cli-BwtSgIvC.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-BGZQEHL4.js → call-B9Vrcbed.js} +10 -10
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-C6rIxLzo.js → channel-account-context-CeGx9Aq7.js} +5 -5
- package/dist/{channel-options-Bnnem_wD.js → channel-options-DmEaPgkZ.js} +3 -3
- package/dist/{channel-selection-TZJgoz5h.js → channel-selection-BDdjozhi.js} +1 -1
- package/dist/{channel-web-KY6EP9HT.js → channel-web-mFdbEE2o.js} +18 -18
- package/dist/{channels-cli-tJkvzsqO.js → channels-cli-CCTczoJM.js} +94 -94
- package/dist/{channels-status-issues-DeT1Znlx.js → channels-status-issues-Dir7g-Pc.js} +1 -1
- package/dist/{chrome-DzGCPEQK.js → chrome-2gfHr1cU.js} +4 -4
- package/dist/{chrome-C6zMSR36.js → chrome-CjTE-vWv.js} +8 -8
- package/dist/{clawbot-cli-Comysjn9.js → clawbot-cli-BMGBnmny.js} +5 -5
- package/dist/{cli-DOS1lPNs.js → cli-zsP2OqB6.js} +75 -75
- package/dist/{client-B91adiXh.js → client-BoUhzGrS.js} +2 -2
- package/dist/{command-registry-KxdBw74g.js → command-registry-okzYatr9.js} +4 -4
- package/dist/{commands-C6OLhl3n.js → commands-npgZubp3.js} +1 -1
- package/dist/{commands-registry-CVzTBX51.js → commands-registry-B5jHbfUL.js} +3 -3
- package/dist/{completion-cli-Cfp2m1Sy.js → completion-cli-BFxGdqak.js} +2 -2
- package/dist/{completion-cli-DU3T8Tur.js → completion-cli-Dm9dt8iw.js} +12 -12
- package/dist/{config-cli-DZpbwWvz.js → config-cli-CJVYN-g-.js} +7 -7
- package/dist/{config-guard-9BjlFVZx.js → config-guard-1SsvFO9G.js} +17 -17
- package/dist/{config-validation-BcxAhhcj.js → config-validation-BJ6PNk8H.js} +3 -3
- package/dist/{configure-CLMtWGiL.js → configure-DMwHaNHJ.js} +17 -17
- package/dist/{control-ui-assets-B_3g_YF0.js → control-ui-assets-DpInddpx.js} +1 -1
- package/dist/{cron-cli-C8kDGh6_.js → cron-cli-CyEcKgVG.js} +12 -12
- package/dist/{daemon-cli-RKWFtF-K.js → daemon-cli-CB9c5SXP.js} +15 -15
- package/dist/{daemon-install-DsJ0L8HP.js → daemon-install-Bqjc3wky.js} +4 -4
- package/dist/{daemon-install-helpers-CMWYg4_W.js → daemon-install-helpers-CGZBs-X3.js} +11 -11
- package/dist/{dashboard-BhAYjl6n.js → dashboard-8HFxt9IY.js} +2 -2
- package/dist/{deliver-Bn10XzRP.js → deliver-D4ugOkLr.js} +7 -7
- package/dist/{deliver-DXa06hfk.js → deliver-xY3h9X6N.js} +1 -1
- package/dist/{devices-cli-DoJBheGs.js → devices-cli-Bp8AMOPE.js} +8 -8
- package/dist/{diagnostic-DRPetA8l.js → diagnostic-phUWJbF_.js} +1 -1
- package/dist/{diagnostics-BHQgZbuI.js → diagnostics-D_AmByNE.js} +5 -5
- package/dist/{directory-cli-Brla3Idn.js → directory-cli-Bt3I30_e.js} +8 -8
- package/dist/{dns-cli-rEvE1LG9.js → dns-cli-DaTrsB61.js} +5 -5
- package/dist/{dock-BXksV3sC.js → dock-swzevZbj.js} +4 -4
- package/dist/{docs-cli-DtThi0Xf.js → docs-cli--2Qgcpvs.js} +4 -4
- package/dist/{doctor-completion-AraQfpv2.js → doctor-completion-UEYo4_U6.js} +2 -2
- package/dist/{doctor-completion-B6_JtN22.js → doctor-completion-wHIBxn-7.js} +1 -1
- package/dist/{doctor-config-flow-18ijj3KB.js → doctor-config-flow-DKaeaH2u.js} +15 -15
- package/dist/{enable-CJ75JA5u.js → enable-xlkWJvIn.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{exec-approvals-allowlist-CGVHz3PX.js → exec-approvals-allowlist-fG-NsL-O.js} +1 -1
- package/dist/{exec-approvals-cli-DfcUJ9Sm.js → exec-approvals-cli-r7jbe_Rj.js} +16 -16
- package/dist/{exec-safe-bin-runtime-policy-D7olAQMf.js → exec-safe-bin-runtime-policy-B9kCrTY1.js} +2 -2
- package/dist/{fetch-guard-D6eclxeP.js → fetch-guard-N12H9lEe.js} +1 -1
- package/dist/{fs-safe-p5lyYI__.js → fs-safe-BGAE6eOQ.js} +24 -24
- package/dist/{gateway-cli-CX2HA_sy.js → gateway-cli-BFo0WvJx.js} +63 -9
- package/dist/{gateway-cli-C6G3qMkR.js → gateway-cli-Bi6tzv7v.js} +222 -168
- package/dist/{gateway-rpc-CJVCek88.js → gateway-rpc-BHBGSN7Z.js} +1 -1
- package/dist/{health-Du8dO3vn.js → health-DlFSsTw-.js} +14 -14
- package/dist/{hooks-cli-DUIQuGjr.js → hooks-cli-CMLpJr6I.js} +83 -83
- package/dist/{hooks-status-ONaKEpUH.js → hooks-status-inMD7sD-.js} +1 -1
- package/dist/{image-B270IRGo.js → image-BzR2twGI.js} +5 -5
- package/dist/{image-Dd4lgi4H.js → image-DCyaYY2d.js} +1 -1
- package/dist/{image-ops-BAMcbVMS.js → image-ops-B6BeXmZU.js} +10 -10
- package/dist/index.js +85 -85
- package/dist/{inspect-C0e0Dmvg.js → inspect-BwbOLUun.js} +4 -4
- package/dist/{install-safe-path-CSqVUjL8.js → install-safe-path-DodF6oyk.js} +25 -25
- package/dist/{installs-BXOZ3DXs.js → installs-8bzJi35e.js} +9 -9
- package/dist/{ipv4-Bk-doiEE.js → ipv4-BY_PmkpX.js} +1 -1
- package/dist/{ir-BGgl4f9u.js → ir-vGBxQkIg.js} +6 -6
- package/dist/{issue-format-rk9Vpcxd.js → issue-format-B4oxePhU.js} +1 -1
- package/dist/{json-files-bJqSYqgg.js → json-files-C7p5SEie.js} +8 -8
- package/dist/{lifecycle-core-Bqse41aA.js → lifecycle-core-C5a4clqu.js} +5 -5
- package/dist/llm-slug-generator.js +6 -6
- package/dist/{local-roots-jW0nhxVT.js → local-roots-Dcc5UeD8.js} +3 -3
- package/dist/{login-B2B75WGK.js → login-BM9p9nig.js} +3 -3
- package/dist/{login-qr-YjUycQZT.js → login-qr-CB4JWkHM.js} +6 -6
- package/dist/{logs-cli-Dyid6hUQ.js → logs-cli-DGdXLEv-.js} +9 -9
- package/dist/{manager-C9rftBaE.js → manager-X8AF3rQJ.js} +14 -14
- package/dist/{manifest-registry-B_U2pKBU.js → manifest-registry-HNrtHxxI.js} +1 -1
- package/dist/{markdown-tables-B5l_33qL.js → markdown-tables-XmfG1bwr.js} +1 -1
- package/dist/{memory-cli-o3L9NN74.js → memory-cli-87nxADqy.js} +12 -12
- package/dist/{model-FnrgCVyS.js → model-CESXYutI.js} +2 -2
- package/dist/{model-catalog-CjA5pRJF.js → model-catalog-DUHxH2xb.js} +3 -3
- package/dist/{model-picker-CMgjcqV_.js → model-picker-D705WMPf.js} +4 -4
- package/dist/{model-selection-xdfZxwgB.js → model-selection-DCo8MhsE.js} +16 -16
- package/dist/{models-cli-CHUbcM_y.js → models-cli-9x2mp4Ac.js} +85 -85
- package/dist/{models-config-Do1Ur_ov.js → models-config-Bgpjcu8R.js} +6 -6
- package/dist/{node-cli-DYOdgLUu.js → node-cli-DJnihsNr.js} +33 -33
- package/dist/{node-command-policy-BKUs_pS2.js → node-command-policy-BiPTB8BK.js} +1 -1
- package/dist/{node-service-6W3vqgVv.js → node-service-CfKJ5oC1.js} +1 -1
- package/dist/{nodes-cli-CQzck2kc.js → nodes-cli-4kBrEEti.js} +16 -16
- package/dist/{nodes-screen-Dptoharj.js → nodes-screen-FWjD2j3v.js} +7 -7
- package/dist/{npm-pack-install-Byr0kgft.js → npm-pack-install-CXheGnb0.js} +18 -18
- package/dist/{npm-resolution-Dv7nYiaP.js → npm-resolution-DIr_TibO.js} +5 -5
- package/dist/{onboard-D66uwNCb.js → onboard-B_MoYnrn.js} +1 -1
- package/dist/{onboard-DcI-IxL0.js → onboard-DEFQu6dU.js} +6 -6
- package/dist/{onboard-channels-CRpmgX82.js → onboard-channels-BuG5-e60.js} +20 -20
- package/dist/{onboard-custom-Bow6lZPm.js → onboard-custom-HI7NPx1u.js} +3 -3
- package/dist/{onboard-custom.shared-CBRRhb95.js → onboard-custom.shared-SWx67Er2.js} +2 -2
- package/dist/{onboard-helpers-B1AEo6oL.js → onboard-helpers-Jc1-4LBc.js} +11 -11
- package/dist/{onboard-hooks-CtxRk6l_.js → onboard-hooks-DFjIpeE_.js} +4 -4
- package/dist/{onboard-remote-DmHpLoWf.js → onboard-remote-BLAyUeAO.js} +3 -3
- package/dist/{onboard-skills-DwpZY5tZ.js → onboard-skills--XkA2Jj4.js} +4 -4
- package/dist/{onboarding-Dae6N665.js → onboarding-BQ2WB7tp.js} +13 -13
- package/dist/{onboarding-CZCgESNI.js → onboarding-CSnr51pR.js} +1 -1
- package/dist/{onboarding.finalize-B8nYvA0i.js → onboarding.finalize-BlMlIFRW.js} +4 -4
- package/dist/{onboarding.finalize-ANKeWCQe.js → onboarding.finalize-DAbr5Ar8.js} +87 -87
- package/dist/{onboarding.gateway-config-wXH6gE7c.js → onboarding.gateway-config-CMKjEPRA.js} +18 -18
- package/dist/{openai-model-default-Q7Hmy0eQ.js → openai-model-default-BTNz1OzV.js} +2 -2
- package/dist/{outbound-DlVJWa4u.js → outbound-Bf7VAx0-.js} +4 -4
- package/dist/{outbound-attachment-CZh4VjhT.js → outbound-attachment-Df5o7JIG.js} +2 -2
- package/dist/{pairing-cli-DAMLvDcA.js → pairing-cli-CA7Dxs-g.js} +9 -9
- package/dist/{pairing-labels-Cl7ROILg.js → pairing-labels-BBti3jJg.js} +1 -1
- package/dist/{pairing-store-DdZ0xMD7.js → pairing-store-DY0yrkuM.js} +3 -3
- package/dist/{path-alias-guards-DWh6tSaP.js → path-alias-guards-BNzjbOwM.js} +3 -3
- package/dist/{path-safety-COhgvniC.js → path-safety-dmCI2tpN.js} +1 -1
- package/dist/{paths-AxolTUEH.js → paths-BZfURxkW.js} +9 -9
- package/dist/{pi-embedded-DKX65Hec.js → pi-embedded-Bacc2S0h.js} +22 -22
- package/dist/{pi-embedded-helpers-BErNo2oq.js → pi-embedded-helpers-CMTVhLjq.js} +3 -3
- package/dist/{pi-embedded-helpers-ZTn-T7tW.js → pi-embedded-helpers-D3nc5XJW.js} +6 -6
- package/dist/{pi-model-discovery-DVhDvAnA.js → pi-model-discovery-BSytrsu4.js} +1 -1
- package/dist/{pi-tools.policy-eyXj0EY5.js → pi-tools.policy-Dwsq-Yaf.js} +5 -5
- package/dist/{plugin-auto-enable-D1WySsnE.js → plugin-auto-enable-4zXn-eVS.js} +3 -3
- package/dist/{plugin-registry-TOEmbMc4.js → plugin-registry-DsZTkNKu.js} +3 -3
- package/dist/plugin-sdk/{accounts-COLYAAOx.js → accounts-4WE2wtsW.js} +1 -1
- package/dist/plugin-sdk/{accounts-BZrkOo6-.js → accounts-AbI8uETR.js} +1 -1
- package/dist/plugin-sdk/{accounts-D_pT5EjF.js → accounts-BYcizTXn.js} +3 -3
- package/dist/plugin-sdk/{active-listener-DxBXcWm_.js → active-listener-pnqLAUOh.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-DT5pxpJB.js → agent-scope-_j3fIYCK.js} +3 -3
- package/dist/plugin-sdk/{api-key-rotation-Dl6Ad7Nj.js → api-key-rotation-CYI51U_M.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-CkPj4OVY.js → audio-preflight-BTRRjPew.js} +33 -33
- package/dist/plugin-sdk/{audio-transcription-runner-BBn9jEMg.js → audio-transcription-runner-DFZS7uCO.js} +10 -10
- package/dist/plugin-sdk/{bindings-BSfhEjKN.js → bindings-CxxzC7gn.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-DAEbma-o.js → channel-activity-B3yZ-f-m.js} +3 -3
- package/dist/plugin-sdk/{channel-web-O79O_ah6.js → channel-web-D2q54sK-.js} +23 -23
- package/dist/plugin-sdk/{chrome-Dn0G4NoF.js → chrome-oPevdeh5.js} +7 -7
- package/dist/plugin-sdk/{chunk-cvtXztAT.js → chunk-BPyPeheZ.js} +1 -1
- package/dist/plugin-sdk/{command-format-BOJz3y1v.js → command-format-DvyMEXQo.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-CZWv_JwZ.js → commands-registry-Dk8re8Lz.js} +5 -5
- package/dist/plugin-sdk/{config-DAwOhnVF.js → config-D7I2_X4P.js} +10 -10
- package/dist/plugin-sdk/{deliver-PdH-MCq8.js → deliver-NrIHn0__.js} +11 -11
- package/dist/plugin-sdk/{diagnostic-BZvj-qNu.js → diagnostic-DL3k_wRi.js} +2 -2
- package/dist/plugin-sdk/{dock-BdR3OYZn.js → dock-CjdkiLH7.js} +6 -6
- package/dist/plugin-sdk/{errors-jusxdu7M.js → errors-DFTN4h2I.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-Dary6WwJ.js → fetch-guard-BivEyA4v.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-DMCE0ej9.js → fs-safe-B256n7Ff.js} +3 -3
- package/dist/plugin-sdk/{image-B3A2l2ep.js → image-CkPzr3XN.js} +6 -6
- package/dist/plugin-sdk/{image-ops-DulHE5Qc.js → image-ops-C9GXWF3o.js} +1 -1
- package/dist/plugin-sdk/index.js +64 -64
- package/dist/plugin-sdk/{ir-BFXiJrsN.js → ir-BIm-jvIK.js} +6 -6
- package/dist/plugin-sdk/{local-roots-DssN60r6.js → local-roots-2AOXGUXW.js} +4 -4
- package/dist/plugin-sdk/{logger-Cr-x0vMf.js → logger-CNhs9eKJ.js} +1 -1
- package/dist/plugin-sdk/{login-D0ul3-6C.js → login-BcLiF9tC.js} +6 -6
- package/dist/plugin-sdk/{login-qr-XWKTFBuI.js → login-qr-GyPUodKJ.js} +9 -9
- package/dist/plugin-sdk/{manager-DGx_cF54.js → manager-DYLqNUb4.js} +10 -10
- package/dist/plugin-sdk/{markdown-tables-CsQpDNU5.js → markdown-tables-D9mmqMKi.js} +1 -1
- package/dist/plugin-sdk/{message-channel-CvNq-esz.js → message-channel-_CEZcqxE.js} +1 -1
- package/dist/plugin-sdk/{outbound-D29FHlQl.js → outbound-DdTsUaXa.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment-DRHrZUOx.js → outbound-attachment--hkuIDR1.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-DpKV1B5p.js → path-alias-guards-BqUCBfUg.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-CKEUWckk.js → pi-embedded-helpers-CTfvZz83.js} +17 -17
- package/dist/plugin-sdk/{pi-model-discovery-BPeQq9XM.js → pi-model-discovery-CK3Ih_kq.js} +1 -1
- package/dist/plugin-sdk/{plugins-DF_dKXTR.js → plugins-BpHAMNJ1.js} +6 -6
- package/dist/plugin-sdk/{proxy-BfmEDoun.js → proxy-BJdRZOnJ.js} +1 -1
- package/dist/plugin-sdk/{proxy-fetch-BpHIgvBk.js → proxy-fetch-jmbopGcm.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-BmmXDjtm.js → pw-ai-D0Kx7w1D.js} +13 -13
- package/dist/plugin-sdk/{qmd-manager-3hQbqkm5.js → qmd-manager-BDcutPp9.js} +8 -8
- package/dist/plugin-sdk/{query-expansion-BOGLUWB7.js → query-expansion-C_X8SyEA.js} +2 -2
- package/dist/plugin-sdk/{redact-BOuKZWXa.js → redact-DH8u23pF.js} +1 -1
- package/dist/plugin-sdk/{registry-Cv-oHUj1.js → registry-HF8_S7QO.js} +2 -2
- package/dist/plugin-sdk/{replies-CddwWBTJ.js → replies-DbjvV4gf.js} +3 -3
- package/dist/plugin-sdk/{reply-YZQvouuF.js → reply-Cs_Ks2Mr.js} +93 -93
- package/dist/plugin-sdk/{reply-prefix-DXthVxCx.js → reply-prefix-KODsMNJ-.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-D3Y4F2Le.js → resolve-outbound-target-BPT4aNiD.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-DuwYYn4a.js → resolve-route-De2B5QY_.js} +4 -4
- package/dist/plugin-sdk/{retry-BMcrIz7L.js → retry-pZ8iKytf.js} +1 -1
- package/dist/plugin-sdk/{send-D0AaWnIj.js → send-1uW-uqPf.js} +7 -7
- package/dist/plugin-sdk/{send-C5USYGq7.js → send-BoNw1Bki.js} +8 -8
- package/dist/plugin-sdk/{send-B0ztz6QC.js → send-C-Rd2stz.js} +6 -6
- package/dist/plugin-sdk/{send-DJzwu8kk.js → send-CZIN8SDx.js} +15 -15
- package/dist/plugin-sdk/{send-DEyQJTzd.js → send-wCqsQs_s.js} +10 -10
- package/dist/plugin-sdk/{session-meta-ChWvKVWj.js → session-meta-7J-uHiM_.js} +1 -1
- package/dist/plugin-sdk/{session-BA7tVDpV.js → session-ooYcB82T.js} +5 -5
- package/dist/plugin-sdk/{sessions-BXps6YzJ.js → sessions-lAIo5l8W.js} +6 -6
- package/dist/plugin-sdk/{skill-commands-B20uUsji.js → skill-commands-D1Q6hGS4.js} +5 -5
- package/dist/plugin-sdk/{skills-DXOTei42.js → skills-BWSDv2F_.js} +8 -8
- package/dist/plugin-sdk/{ssrf-Doxv9M7Q.js → ssrf-JKDwTi8i.js} +1 -1
- package/dist/plugin-sdk/{store-BZbE1V-C.js → store-BMeqzQAf.js} +2 -2
- package/dist/plugin-sdk/{subsystem-CM1s2lDT.js → subsystem-B0V8LFBA.js} +2 -2
- package/dist/plugin-sdk/{tables-BhH8EIqU.js → tables-DCSeBGBz.js} +1 -1
- package/dist/{target-errors-B1cYmIjq.js → plugin-sdk/target-errors-0u6pegQv.js} +2 -2
- package/dist/plugin-sdk/{tokens-DIE-Bf72.js → tokens-DF2_VTJy.js} +1 -1
- package/dist/plugin-sdk/{tool-images-heXfaJdb.js → tool-images-BbsgbHMZ.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-CygMSQUK.js → tool-loop-detection-JkCpGrfk.js} +2 -2
- package/dist/plugin-sdk/{utils-BcL6KGZf.js → utils-BfVxx6bk.js} +1 -1
- package/dist/plugin-sdk/web-B35hdNQ-.js +72 -0
- package/dist/plugin-sdk/{whatsapp-actions-CRean1yN.js → whatsapp-actions-tVcrGNQc.js} +25 -25
- package/dist/{plugins-CKWxMohB.js → plugins-Ce8ThYGQ.js} +2 -2
- package/dist/{plugins-cli-Clo_uyvq.js → plugins-cli-DxFh5OQi.js} +85 -85
- package/dist/{ports-DppAHKM-.js → ports-DXMCFRgn.js} +2 -2
- package/dist/{ports-BL-FP2jP.js → ports-wtEwdqsX.js} +1 -1
- package/dist/{program-DSOHn27G.js → program-DnjsZxiJ.js} +2 -2
- package/dist/{program-context-DfYJPL5N.js → program-context-36wFBslW.js} +43 -43
- package/dist/{prompt-select-styled-DG7woZ0E.js → prompt-select-styled-BkpL6eKQ.js} +1 -1
- package/dist/{prompt-select-styled-B2izefsj.js → prompt-select-styled-CJt-zhnt.js} +39 -39
- package/dist/{provider-auth-helpers-D_akOb8A.js → provider-auth-helpers-DeJ105rb.js} +5 -5
- package/dist/{proxy-env-ClbXa7vn.js → proxy-env-DhFUQlwP.js} +1 -1
- package/dist/{push-apns-DvNRo3EQ.js → push-apns-SIM2es-Y.js} +5 -5
- package/dist/{pw-ai-D21rIJ2z.js → pw-ai-BOQE6s45.js} +15 -15
- package/dist/{pw-ai-pkfCxzhV.js → pw-ai-DGwA7iCM.js} +1 -1
- package/dist/{qmd-manager-BD6lfN35.js → qmd-manager-DVKj0i6T.js} +20 -20
- package/dist/{qr-cli-BQGJJ5hp.js → qr-cli-Z4_Y6bva.js} +1 -1
- package/dist/{query-expansion-Dl85zpSb.js → query-expansion-B9kneDbd.js} +12 -12
- package/dist/{redact-snapshot-DCGL0k2M.js → redact-snapshot-BI4Ryuhy.js} +1 -1
- package/dist/{register.agent-DowGjvNc.js → register.agent-Cd2LVcga.js} +100 -100
- package/dist/register.configure-DGIWBQvN.js +174 -0
- package/dist/{register.init-DWQDniBg.js → register.init-DpFUY5Ed.js} +15 -15
- package/dist/{register.maintenance-DyTduYA4.js → register.maintenance-DAU-mVIz.js} +97 -97
- package/dist/{register.maintenance-CQivhR8Y.js → register.maintenance-R4RCi4f3.js} +5 -5
- package/dist/{register.message-DE-eKss6.js → register.message-B0CI0Q4o.js} +76 -76
- package/dist/{register.onboard-CWX2zarB.js → register.onboard-BGhXUfbX.js} +18 -18
- package/dist/{register.onboard-BRBPNENF.js → register.onboard-Di7iClKl.js} +2 -2
- package/dist/{register.setup-YcxKWN94.js → register.setup-Dm_dHAB-.js} +2 -2
- package/dist/{register.setup-DwZL0RXc.js → register.setup-nlXy06aa.js} +21 -21
- package/dist/{register.start-BHASi8Um.js → register.start-Dzss99ZY.js} +17 -17
- package/dist/{register.status-health-sessions-Cbva8fTK.js → register.status-health-sessions-B4eNiGWS.js} +89 -89
- package/dist/{register.subclis-CEq4Db2Q.js → register.subclis-1MobNhis.js} +3 -3
- package/dist/{replies-B6SXcEs0.js → replies-k5K96_46.js} +1 -1
- package/dist/{reply-D8Yu6-Ie.js → reply-DQMWsIE2.js} +156 -156
- package/dist/{reply-prefix-BttpF8VB.js → reply-prefix-aBvAQX6L.js} +1 -1
- package/dist/{resolve-route-Ck23oGqS.js → resolve-route-R565qQgt.js} +2 -2
- package/dist/{rpc-9jE_1PW0.js → rpc-CMyUzpcT.js} +1 -1
- package/dist/{run-main-BoenTqTz.js → run-main-CFGtfsPd.js} +3 -3
- package/dist/{runtime-Rd7ooKB0.js → runtime-D64ACWoX.js} +2 -2
- package/dist/{sandbox-BKa5RrBl.js → sandbox-DH9YtUfB.js} +18 -18
- package/dist/{sandbox-cli-BnpEc205.js → sandbox-cli-B1ThXy7C.js} +26 -26
- package/dist/{secrets-cli-CIxUNZyC.js → secrets-cli-BEjJ3GP-.js} +10 -10
- package/dist/{security-cli-BqOOeGxS.js → security-cli-Zma5k5BZ.js} +43 -43
- package/dist/{send-DuNBSJln.js → send-BQVNhO4Q.js} +5 -5
- package/dist/{send-SZBhACLn.js → send-CFUSH9C-.js} +8 -8
- package/dist/{send-Cua2kS5v.js → send-CabiU1-J.js} +6 -6
- package/dist/{send-ByUfPpKj.js → send-DmVTXBWW.js} +11 -11
- package/dist/{send-BntubUtK.js → send-NexNe2Wh.js} +6 -6
- package/dist/{server-Ct0J5VXf.js → server-DQ7D-B-v.js} +19 -19
- package/dist/{server-context-DWxmyV-0.js → server-context-Cr-Y4i6P.js} +12 -12
- package/dist/{server-lifecycle-B7aXKxY3.js → server-lifecycle-BVnXIEfI.js} +2 -2
- package/dist/{server-middleware-CO1brrgv.js → server-middleware-zyvA9rl9.js} +1 -1
- package/dist/{server-node-events-nakjzVDn.js → server-node-events-oa4mOmsp.js} +76 -76
- package/dist/{service-DqxfCr8y.js → service-BcFhE63y.js} +15 -15
- package/dist/{session-FOGqE7bj.js → session-Dl3x3d75.js} +1 -1
- package/dist/{session-meta-C-ox3bdI.js → session-meta-C6MooccR.js} +1 -1
- package/dist/{sessions-BpuJ64B0.js → sessions-sIaYsUyX.js} +15 -15
- package/dist/{shared-CgFPGTLU.js → shared-DNcLp2mA.js} +3 -3
- package/dist/{shared-BmSv3K8N.js → shared-sFrejcA4.js} +1 -1
- package/dist/{skill-commands-COl0HE54.js → skill-commands-C2_BOuyl.js} +5 -5
- package/dist/{skill-scanner-CsmM5F4F.js → skill-scanner-DYkQAh0l.js} +6 -6
- package/dist/{skills-BeFcXCoN.js → skills-BXLKd7i5.js} +3 -3
- package/dist/{skills-cli-D3ZteX5N.js → skills-cli-DrN4v5_m.js} +5 -5
- package/dist/{skills-install-B_Vda3dM.js → skills-install-CSfh8nRm.js} +6 -6
- package/dist/{skills-status-BEq0_fOn.js → skills-status-C7Q6Ezbv.js} +1 -1
- package/dist/{status-CQYA6EJN.js → status-rMgdZcE5.js} +25 -25
- package/dist/{status.update-HwSPC5ZX.js → status.update-D4GfnNDI.js} +2 -2
- package/dist/{store-B-nkOSsv.js → store-CRcBie8T.js} +5 -5
- package/dist/{system-cli-IYwpBiC6.js → system-cli-Bscj57lL.js} +9 -9
- package/dist/{system-run-command-C3OIMtEu.js → system-run-command-Cn5yQ2rv.js} +1 -1
- package/dist/{systemd-DJ5Red-Q.js → systemd-BIfjzi-4.js} +9 -9
- package/dist/{systemd-hints-D40Qx3hg.js → systemd-hints-CgtHwBfD.js} +6 -6
- package/dist/{systemd-linger-BK6kig-o.js → systemd-linger-0Vho6LMt.js} +1 -1
- package/dist/{tables-C9_oCtRN.js → tables-C5n2nXbu.js} +1 -1
- package/dist/{tailnet-BYBKD8Kh.js → tailnet-C8NwaQEp.js} +1 -1
- package/dist/{plugin-sdk/target-errors-QZay02Cv.js → target-errors-cerGxvCB.js} +4 -4
- package/dist/{tool-images-QWbHWc0F.js → tool-images-CgSADinH.js} +1 -1
- package/dist/{tui-Dd6DhgjX.js → tui-DNT0WnU-.js} +6 -6
- package/dist/{tui-cli-C3PCazFC.js → tui-cli-DTFq2wGK.js} +33 -33
- package/dist/{update-B1Dhhu_3.js → update-Mb6BH0o9.js} +3 -3
- package/dist/{update-cli-CuKW0N9W.js → update-cli--qEz2_Eg.js} +105 -105
- package/dist/{update-cli-D1B0Vytl.js → update-cli-Dbb1EPi2.js} +5 -5
- package/dist/{update-runner-DO6RodZW.js → update-runner-Dj_CAfd4.js} +16 -16
- package/dist/web-BQRkxG9u.js +126 -0
- package/dist/{web-V1uGLepo.js → web-CDHXvGxm.js} +6 -6
- package/dist/{webhooks-cli-BFdw7BAP.js → webhooks-cli-uXE9EOwT.js} +6 -6
- package/dist/{whatsapp-actions-CNoiLzRB.js → whatsapp-actions-DeX4x9sq.js} +19 -19
- package/dist/{with-timeout-tSH4Tex_.js → with-timeout-C-EETHnf.js} +3 -3
- package/dist/{workspace-dKMB109Q.js → workspace-1nc7aTpg.js} +1 -1
- package/dist/{workspace-CRdln__H.js → workspace-TersEUYu.js} +23 -23
- package/dist/{workspace-dirs-DcAUEsSG.js → workspace-dirs-DxTFH1r3.js} +1 -1
- package/dist/{ws-DKbBt0us.js → ws-E9v842O2.js} +2 -2
- package/dist/{wsl-yjQQ-PJd.js → wsl-Dg6XQcw5.js} +2 -2
- package/package.json +1 -1
- package/dist/plugin-sdk/web-jmxdxo0H.js +0 -72
- package/dist/register.configure-BZLa_c3k.js +0 -174
- package/dist/web-DbdjX4Hg.js +0 -126
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import "./paths-BYr-iJJ9.js";
|
|
2
2
|
import { l as success, n as info, t as danger } from "./globals-uLeGcRW1.js";
|
|
3
3
|
import "./utils-CP51tiAi.js";
|
|
4
|
-
import "./agent-scope-
|
|
4
|
+
import "./agent-scope-DHMu2mab.js";
|
|
5
5
|
import { d as defaultRuntime } from "./subsystem-BT74-yyS.js";
|
|
6
|
-
import "./workspace-
|
|
6
|
+
import "./workspace-TersEUYu.js";
|
|
7
7
|
import { r as logInfo } from "./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-DCo8MhsE.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 { _ as webAuthExists, i as resolveWhatsAppAccount, l as logoutWeb, p as readWebSelfId } from "./accounts-
|
|
16
|
+
import "./manifest-registry-HNrtHxxI.js";
|
|
17
|
+
import { _ as webAuthExists, i as resolveWhatsAppAccount, l as logoutWeb, p as readWebSelfId } from "./accounts-CCbfXe4Y.js";
|
|
18
18
|
import "./logging-Dn5qdhsZ.js";
|
|
19
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
19
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-Dl3x3d75.js";
|
|
20
20
|
import { randomUUID } from "node:crypto";
|
|
21
21
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
22
22
|
import QRCodeModule from "qrcode-terminal/vendor/QRCode/index.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "./paths-BYr-iJJ9.js";
|
|
2
2
|
import { b as isValidTimeZone, d as colorize, f as isRich, p as theme, y as formatLocalIsoWithOffset } from "./globals-uLeGcRW1.js";
|
|
3
3
|
import "./utils-CP51tiAi.js";
|
|
4
|
-
import "./agent-scope-
|
|
4
|
+
import "./agent-scope-DHMu2mab.js";
|
|
5
5
|
import { p as clearActiveProgressLine } from "./subsystem-BT74-yyS.js";
|
|
6
|
-
import "./workspace-
|
|
6
|
+
import "./workspace-TersEUYu.js";
|
|
7
7
|
import "./logger-D04dg4Ex.js";
|
|
8
8
|
import "./exec-BdDcFm8M.js";
|
|
9
|
-
import "./model-selection-
|
|
9
|
+
import "./model-selection-DCo8MhsE.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,16 +14,16 @@ 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-HNrtHxxI.js";
|
|
18
18
|
import "./message-channel-CKAn7Lf7.js";
|
|
19
|
-
import "./tailnet-
|
|
20
|
-
import "./ws-
|
|
21
|
-
import "./client-
|
|
22
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
19
|
+
import "./tailnet-C8NwaQEp.js";
|
|
20
|
+
import "./ws-E9v842O2.js";
|
|
21
|
+
import "./client-BoUhzGrS.js";
|
|
22
|
+
import { t as buildGatewayConnectionDetails } from "./call-B9Vrcbed.js";
|
|
23
23
|
import "./pairing-token-QppPqMJU.js";
|
|
24
24
|
import { t as formatDocsLink } from "./links-CM7pO4C5.js";
|
|
25
25
|
import "./progress-86COuAnG.js";
|
|
26
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
26
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-BHBGSN7Z.js";
|
|
27
27
|
import { t as parseLogLine } from "./parse-log-line-pij_xhtE.js";
|
|
28
28
|
import { setTimeout } from "node:timers/promises";
|
|
29
29
|
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { g as resolveStateDir } from "./paths-BYr-iJJ9.js";
|
|
3
3
|
import { E as truncateUtf16Safe, a as clampNumber, i as clampInt, y as resolveUserPath } from "./utils-CP51tiAi.js";
|
|
4
|
-
import { a as resolveAgentDir, i as resolveAgentConfig, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
+
import { a as resolveAgentDir, i as resolveAgentConfig, u as resolveAgentWorkspaceDir } from "./agent-scope-DHMu2mab.js";
|
|
5
5
|
import { t as createSubsystemLogger } from "./subsystem-BT74-yyS.js";
|
|
6
|
-
import { et as requireApiKey, rt as resolveEnvApiKey, tt as resolveApiKeyForProvider, wi as normalizeOptionalSecretInput } from "./model-selection-
|
|
6
|
+
import { et as requireApiKey, rt as resolveEnvApiKey, tt as resolveApiKeyForProvider, wi as normalizeOptionalSecretInput } from "./model-selection-DCo8MhsE.js";
|
|
7
7
|
import { t as isTruthyEnvValue } from "./env-4r1Vlroz.js";
|
|
8
8
|
import { r as formatErrorMessage } from "./errors-D5pCqwf4.js";
|
|
9
9
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-BJLbJUqV.js";
|
|
10
10
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-CVgytyRx.js";
|
|
11
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
12
|
-
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
11
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-N12H9lEe.js";
|
|
12
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-CuHjsofV.js";
|
|
13
13
|
import { n as retryAsync } from "./retry-AsJdJVsE.js";
|
|
14
|
-
import { _ as isFileMissingError, a as sessionPathForFile, c as cosineSimilarity, d as isMemoryPath, f as listMemoryFiles, g as runWithConcurrency, h as remapChunkLines, i as listSessionFilesForAgent, l as ensureDir, m as parseEmbedding, n as requireNodeSqlite, o as buildFileEntry, p as normalizeExtraMemoryPaths, r as buildSessionEntry, s as chunkMarkdown, t as extractKeywords, u as hashText, v as statRegularFile } from "./query-expansion-
|
|
14
|
+
import { _ as isFileMissingError, a as sessionPathForFile, c as cosineSimilarity, d as isMemoryPath, f as listMemoryFiles, g as runWithConcurrency, h as remapChunkLines, i as listSessionFilesForAgent, l as ensureDir, m as parseEmbedding, n as requireNodeSqlite, o as buildFileEntry, p as normalizeExtraMemoryPaths, r as buildSessionEntry, s as chunkMarkdown, t as extractKeywords, u as hashText, v as statRegularFile } from "./query-expansion-B9kneDbd.js";
|
|
15
15
|
import fs from "node:fs";
|
|
16
16
|
import os from "node:os";
|
|
17
17
|
import path from "node:path";
|
|
18
|
-
import
|
|
18
|
+
import fsPromises from "node:fs/promises";
|
|
19
19
|
import { randomUUID } from "node:crypto";
|
|
20
20
|
import chokidar from "chokidar";
|
|
21
21
|
import { createInterface } from "node:readline";
|
|
@@ -1047,7 +1047,7 @@ async function extractTimestamp(params) {
|
|
|
1047
1047
|
if (!params.workspaceDir) return null;
|
|
1048
1048
|
const absolutePath = path.isAbsolute(params.filePath) ? params.filePath : path.resolve(params.workspaceDir, params.filePath);
|
|
1049
1049
|
try {
|
|
1050
|
-
const stat = await
|
|
1050
|
+
const stat = await fsPromises.stat(absolutePath);
|
|
1051
1051
|
if (!Number.isFinite(stat.mtimeMs)) return null;
|
|
1052
1052
|
return new Date(stat.mtimeMs);
|
|
1053
1053
|
} catch {
|
|
@@ -2206,7 +2206,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2206
2206
|
const source = `${sourceBase}${suffix}`;
|
|
2207
2207
|
const target = `${targetBase}${suffix}`;
|
|
2208
2208
|
try {
|
|
2209
|
-
await
|
|
2209
|
+
await fsPromises.rename(source, target);
|
|
2210
2210
|
} catch (err) {
|
|
2211
2211
|
if (err.code !== "ENOENT") throw err;
|
|
2212
2212
|
}
|
|
@@ -2217,7 +2217,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2217
2217
|
"",
|
|
2218
2218
|
"-wal",
|
|
2219
2219
|
"-shm"
|
|
2220
|
-
].map((suffix) =>
|
|
2220
|
+
].map((suffix) => fsPromises.rm(`${basePath}${suffix}`, { force: true })));
|
|
2221
2221
|
}
|
|
2222
2222
|
ensureSchema() {
|
|
2223
2223
|
const result = ensureMemoryIndexSchema({
|
|
@@ -2312,7 +2312,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2312
2312
|
if (!thresholds) return null;
|
|
2313
2313
|
let stat;
|
|
2314
2314
|
try {
|
|
2315
|
-
stat = await
|
|
2315
|
+
stat = await fsPromises.stat(sessionFile);
|
|
2316
2316
|
} catch {
|
|
2317
2317
|
return null;
|
|
2318
2318
|
}
|
|
@@ -2354,7 +2354,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2354
2354
|
if (end <= start) return 0;
|
|
2355
2355
|
let handle;
|
|
2356
2356
|
try {
|
|
2357
|
-
handle = await
|
|
2357
|
+
handle = await fsPromises.open(absPath, "r");
|
|
2358
2358
|
} catch (err) {
|
|
2359
2359
|
if (isFileMissingError(err)) return 0;
|
|
2360
2360
|
throw err;
|
|
@@ -3297,7 +3297,7 @@ var MemoryManagerEmbeddingOps = class extends MemoryManagerSyncOps {
|
|
|
3297
3297
|
});
|
|
3298
3298
|
return;
|
|
3299
3299
|
}
|
|
3300
|
-
const content = options.content ?? await
|
|
3300
|
+
const content = options.content ?? await fsPromises.readFile(entry.absPath, "utf-8");
|
|
3301
3301
|
const chunks = enforceEmbeddingMaxInputTokens(this.provider, chunkMarkdown(content, this.settings.chunking).filter((chunk) => chunk.text.trim().length > 0), EMBEDDING_BATCH_MAX_TOKENS);
|
|
3302
3302
|
if (options.source === "sessions" && "lineMap" in entry) remapChunkLines(chunks, entry.lineMap);
|
|
3303
3303
|
const embeddings = this.batch.enabled ? await this.embedChunksWithBatch(chunks, entry, options.source) : await this.embedChunksInBatches(chunks);
|
|
@@ -3716,7 +3716,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
|
|
|
3716
3716
|
if (!allowedWorkspace && this.settings.extraPaths.length > 0) {
|
|
3717
3717
|
const additionalPaths = normalizeExtraMemoryPaths(this.workspaceDir, this.settings.extraPaths);
|
|
3718
3718
|
for (const additionalPath of additionalPaths) try {
|
|
3719
|
-
const stat = await
|
|
3719
|
+
const stat = await fsPromises.lstat(additionalPath);
|
|
3720
3720
|
if (stat.isSymbolicLink()) continue;
|
|
3721
3721
|
if (stat.isDirectory()) {
|
|
3722
3722
|
if (absPath === additionalPath || absPath.startsWith(`${additionalPath}${path.sep}`)) {
|
|
@@ -3741,7 +3741,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
|
|
|
3741
3741
|
};
|
|
3742
3742
|
let content;
|
|
3743
3743
|
try {
|
|
3744
|
-
content = await
|
|
3744
|
+
content = await fsPromises.readFile(absPath, "utf-8");
|
|
3745
3745
|
} catch (err) {
|
|
3746
3746
|
if (isFileMissingError(err)) return {
|
|
3747
3747
|
text: "",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as isRecord, g as resolveConfigDir, y as resolveUserPath } from "./utils-CP51tiAi.js";
|
|
2
|
-
import { C as openBoundaryFileSync, _ as resolveWorkspaceExtensionsDir, j as isPathInside$1 } from "./workspace-
|
|
2
|
+
import { C as openBoundaryFileSync, _ as resolveWorkspaceExtensionsDir, j as isPathInside$1 } from "./workspace-TersEUYu.js";
|
|
3
3
|
import { n as MANIFEST_KEY } from "./legacy-names-BYUgjYSw.js";
|
|
4
4
|
import { l as normalizeChatChannelId } from "./registry-CUyWRciN.js";
|
|
5
5
|
import { fileURLToPath } from "node:url";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { g as normalizeAccountId } from "./session-key-C9z4VQtw.js";
|
|
3
3
|
import { t as resolveAccountEntry } from "./account-lookup-wjQQchlq.js";
|
|
4
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
4
|
+
import { r as normalizeChannelId } from "./plugins-Ce8ThYGQ.js";
|
|
5
5
|
|
|
6
6
|
//#region src/config/markdown-tables.ts
|
|
7
7
|
var markdown_tables_exports = /* @__PURE__ */ __exportAll({ resolveMarkdownTableMode: () => resolveMarkdownTableMode });
|
|
@@ -2,12 +2,12 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { g as resolveStateDir } from "./paths-BYr-iJJ9.js";
|
|
3
3
|
import { d as colorize, f as isRich, p as theme, s as setVerbose } from "./globals-uLeGcRW1.js";
|
|
4
4
|
import { S as shortenHomePath, x as shortenHomeInString, y as resolveUserPath } from "./utils-CP51tiAi.js";
|
|
5
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
5
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-DHMu2mab.js";
|
|
6
6
|
import { d as defaultRuntime, t as createSubsystemLogger } from "./subsystem-BT74-yyS.js";
|
|
7
|
-
import { Dr as splitShellArgs, Wt as loadConfig, _n as parseDurationMs } from "./model-selection-
|
|
7
|
+
import { Dr as splitShellArgs, Wt as loadConfig, _n as parseDurationMs } from "./model-selection-DCo8MhsE.js";
|
|
8
8
|
import { r as formatErrorMessage } from "./errors-D5pCqwf4.js";
|
|
9
9
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-BJLbJUqV.js";
|
|
10
|
-
import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-
|
|
10
|
+
import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-B9kneDbd.js";
|
|
11
11
|
import { t as formatDocsLink } from "./links-CM7pO4C5.js";
|
|
12
12
|
import { r as withManager } from "./cli-utils-BKqG4ZT-.js";
|
|
13
13
|
import { t as formatHelpExamples } from "./help-format-DUJs-8Xi.js";
|
|
@@ -15,7 +15,7 @@ import { n as withProgress, r as withProgressTotals } from "./progress-86COuAnG.
|
|
|
15
15
|
import fs from "node:fs";
|
|
16
16
|
import os from "node:os";
|
|
17
17
|
import path from "node:path";
|
|
18
|
-
import
|
|
18
|
+
import fsPromises from "node:fs/promises";
|
|
19
19
|
|
|
20
20
|
//#region src/memory/backend-config.ts
|
|
21
21
|
const DEFAULT_BACKEND = "builtin";
|
|
@@ -228,7 +228,7 @@ async function getMemorySearchManager(params) {
|
|
|
228
228
|
if (cached) return { manager: cached };
|
|
229
229
|
}
|
|
230
230
|
try {
|
|
231
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
231
|
+
const { QmdMemoryManager } = await import("./qmd-manager-DVKj0i6T.js");
|
|
232
232
|
const primary = await QmdMemoryManager.create({
|
|
233
233
|
cfg: params.cfg,
|
|
234
234
|
agentId: params.agentId,
|
|
@@ -240,7 +240,7 @@ async function getMemorySearchManager(params) {
|
|
|
240
240
|
const wrapper = new FallbackMemoryManager({
|
|
241
241
|
primary,
|
|
242
242
|
fallbackFactory: async () => {
|
|
243
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
243
|
+
const { MemoryIndexManager } = await import("./manager-X8AF3rQJ.js").then((n) => n.t);
|
|
244
244
|
return await MemoryIndexManager.get(params);
|
|
245
245
|
}
|
|
246
246
|
}, () => {
|
|
@@ -255,7 +255,7 @@ async function getMemorySearchManager(params) {
|
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
257
|
try {
|
|
258
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
258
|
+
const { MemoryIndexManager } = await import("./manager-X8AF3rQJ.js").then((n) => n.t);
|
|
259
259
|
return { manager: await MemoryIndexManager.get(params) };
|
|
260
260
|
} catch (err) {
|
|
261
261
|
return {
|
|
@@ -426,7 +426,7 @@ async function withMemoryManagerForAgent(params) {
|
|
|
426
426
|
}
|
|
427
427
|
async function checkReadableFile(pathname) {
|
|
428
428
|
try {
|
|
429
|
-
await
|
|
429
|
+
await fsPromises.access(pathname, fs.constants.R_OK);
|
|
430
430
|
return { exists: true };
|
|
431
431
|
} catch (err) {
|
|
432
432
|
const code = err.code;
|
|
@@ -443,7 +443,7 @@ async function scanSessionFiles(agentId) {
|
|
|
443
443
|
try {
|
|
444
444
|
return {
|
|
445
445
|
source: "sessions",
|
|
446
|
-
totalFiles: (await
|
|
446
|
+
totalFiles: (await fsPromises.readdir(sessionsDir, { withFileTypes: true })).filter((entry) => entry.isFile() && entry.name.endsWith(".jsonl")).length,
|
|
447
447
|
issues
|
|
448
448
|
};
|
|
449
449
|
} catch (err) {
|
|
@@ -475,7 +475,7 @@ async function scanMemoryFiles(workspaceDir, extraPaths = []) {
|
|
|
475
475
|
if (alt.issue) issues.push(alt.issue);
|
|
476
476
|
const resolvedExtraPaths = normalizeExtraMemoryPaths(workspaceDir, extraPaths);
|
|
477
477
|
for (const extraPath of resolvedExtraPaths) try {
|
|
478
|
-
if ((await
|
|
478
|
+
if ((await fsPromises.lstat(extraPath)).isSymbolicLink()) continue;
|
|
479
479
|
const extraCheck = await checkReadableFile(extraPath);
|
|
480
480
|
if (extraCheck.issue) issues.push(extraCheck.issue);
|
|
481
481
|
} catch (err) {
|
|
@@ -485,7 +485,7 @@ async function scanMemoryFiles(workspaceDir, extraPaths = []) {
|
|
|
485
485
|
}
|
|
486
486
|
let dirReadable = null;
|
|
487
487
|
try {
|
|
488
|
-
await
|
|
488
|
+
await fsPromises.access(memoryDir, fs.constants.R_OK);
|
|
489
489
|
dirReadable = true;
|
|
490
490
|
} catch (err) {
|
|
491
491
|
const code = err.code;
|
|
@@ -533,7 +533,7 @@ async function summarizeQmdIndexArtifact(manager) {
|
|
|
533
533
|
if (!dbPath) return null;
|
|
534
534
|
let stat;
|
|
535
535
|
try {
|
|
536
|
-
stat = await
|
|
536
|
+
stat = await fsPromises.stat(dbPath);
|
|
537
537
|
} catch (err) {
|
|
538
538
|
const code = err.code;
|
|
539
539
|
if (code === "ENOENT") throw new Error(`QMD index file not found: ${shortenHomePath(dbPath)}`, { cause: err });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Mi as DEFAULT_CONTEXT_TOKENS, d as normalizeProviderId, gi as resolveOpenClawAgentDir } from "./model-selection-
|
|
3
|
-
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-
|
|
2
|
+
import { Mi as DEFAULT_CONTEXT_TOKENS, d as normalizeProviderId, gi as resolveOpenClawAgentDir } from "./model-selection-DCo8MhsE.js";
|
|
3
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-BSytrsu4.js";
|
|
4
4
|
|
|
5
5
|
//#region src/agents/model-alias-lines.ts
|
|
6
6
|
function buildModelAliasLines(cfg) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-BT74-yyS.js";
|
|
2
|
-
import { Wt as loadConfig, gi as resolveOpenClawAgentDir } from "./model-selection-
|
|
3
|
-
import { t as ensureOpenClawModelsJson } from "./models-config-
|
|
2
|
+
import { Wt as loadConfig, gi as resolveOpenClawAgentDir } from "./model-selection-DCo8MhsE.js";
|
|
3
|
+
import { t as ensureOpenClawModelsJson } from "./models-config-Bgpjcu8R.js";
|
|
4
4
|
|
|
5
5
|
//#region src/agents/model-catalog.ts
|
|
6
6
|
const log = createSubsystemLogger("model-catalog");
|
|
7
7
|
let modelCatalogPromise = null;
|
|
8
8
|
let hasLoggedModelCatalogError = false;
|
|
9
|
-
const defaultImportPiSdk = () => import("./pi-model-discovery-
|
|
9
|
+
const defaultImportPiSdk = () => import("./pi-model-discovery-BSytrsu4.js").then((n) => n.r);
|
|
10
10
|
let importPiSdk = defaultImportPiSdk;
|
|
11
11
|
const CODEX_PROVIDER = "openai-codex";
|
|
12
12
|
const OPENAI_CODEX_GPT53_MODEL_ID = "gpt-5.3-codex";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { _ as resolveAgentModelPrimaryValue } from "./agent-scope-
|
|
3
|
-
import { $ as getCustomProviderApiKey, Ni as DEFAULT_MODEL, Pi as DEFAULT_PROVIDER, c as modelKey, ci as ensureAuthProfileStore, d as normalizeProviderId, h as resolveConfiguredModelRef, ni as listProfilesForProvider, oi as upsertAuthProfileWithLock, r as buildModelAliasIndex, rt as resolveEnvApiKey, t as buildAllowedModelSet } from "./model-selection-
|
|
4
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
5
|
-
import { i as formatTokenK } from "./shared-
|
|
2
|
+
import { _ as resolveAgentModelPrimaryValue } from "./agent-scope-DHMu2mab.js";
|
|
3
|
+
import { $ as getCustomProviderApiKey, Ni as DEFAULT_MODEL, Pi as DEFAULT_PROVIDER, c as modelKey, ci as ensureAuthProfileStore, d as normalizeProviderId, h as resolveConfiguredModelRef, ni as listProfilesForProvider, oi as upsertAuthProfileWithLock, r as buildModelAliasIndex, rt as resolveEnvApiKey, t as buildAllowedModelSet } from "./model-selection-DCo8MhsE.js";
|
|
4
|
+
import { n as loadModelCatalog } from "./model-catalog-DUHxH2xb.js";
|
|
5
|
+
import { i as formatTokenK } from "./shared-DNcLp2mA.js";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/openai-codex-model-default.ts
|
|
8
8
|
const OPENAI_CODEX_DEFAULT_MODEL = "openai-codex/gpt-5.3-codex";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { _ as expandHomePrefix, a as resolveCanonicalConfigPath, c as resolveDefaultConfigCandidates, d as resolveIsNixMode, f as resolveLegacyStateDirs, g as resolveStateDir, h as resolveOAuthPath, i as isNixMode, l as resolveGatewayLockDir, m as resolveOAuthDir, n as DEFAULT_GATEWAY_PORT, o as resolveConfigPath, p as resolveNewStateDir, r as STATE_DIR, s as resolveConfigPathCandidate, t as CONFIG_PATH, u as resolveGatewayPort, y as resolveRequiredHomeDir } from "./paths-BYr-iJJ9.js";
|
|
3
3
|
import { D as isPlainObject$2, d as isRecord$3, g as resolveConfigDir, y as resolveUserPath } from "./utils-CP51tiAi.js";
|
|
4
|
-
import { _ as resolveAgentModelPrimaryValue, d as resolveDefaultAgentId, i as resolveAgentConfig, o as resolveAgentEffectiveModelPrimary, u as resolveAgentWorkspaceDir, v as toAgentModelListLike } from "./agent-scope-
|
|
4
|
+
import { _ as resolveAgentModelPrimaryValue, d as resolveDefaultAgentId, i as resolveAgentConfig, o as resolveAgentEffectiveModelPrimary, u as resolveAgentWorkspaceDir, v as toAgentModelListLike } from "./agent-scope-DHMu2mab.js";
|
|
5
5
|
import { c as stripAnsi, t as createSubsystemLogger } from "./subsystem-BT74-yyS.js";
|
|
6
6
|
import { c as normalizeAgentId, t as DEFAULT_AGENT_ID, v as isBlockedObjectKey } from "./session-key-C9z4VQtw.js";
|
|
7
|
-
import { C as openBoundaryFileSync, x as canUseBoundaryFileOpen } from "./workspace-
|
|
7
|
+
import { C as openBoundaryFileSync, x as canUseBoundaryFileOpen } from "./workspace-TersEUYu.js";
|
|
8
8
|
import { n as runExec } from "./exec-BdDcFm8M.js";
|
|
9
9
|
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-CVsUoC9m.js";
|
|
10
10
|
import { t as formatCliCommand } from "./command-format-DBmYTAza.js";
|
|
@@ -13,8 +13,8 @@ import { i as sanitizeHostExecEnv } from "./host-env-security-BiAcoumI.js";
|
|
|
13
13
|
import { r as VERSION, t as applyConfigEnvVars } from "./env-vars-DM119fhK.js";
|
|
14
14
|
import { i as isPathInside } from "./legacy-names-BYUgjYSw.js";
|
|
15
15
|
import { l as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry-CUyWRciN.js";
|
|
16
|
-
import { d as normalizePluginsConfig, f as resolveEffectiveEnableState, n as loadPluginManifestRegistry, p as resolveMemorySlotDecision } from "./manifest-registry-
|
|
17
|
-
import { d as TOOLS_BY_SENDER_KEY_TYPES, f as parseToolsBySenderTypedKey } from "./dock-
|
|
16
|
+
import { d as normalizePluginsConfig, f as resolveEffectiveEnableState, n as loadPluginManifestRegistry, p as resolveMemorySlotDecision } from "./manifest-registry-HNrtHxxI.js";
|
|
17
|
+
import { d as TOOLS_BY_SENDER_KEY_TYPES, f as parseToolsBySenderTypedKey } from "./dock-swzevZbj.js";
|
|
18
18
|
import { t as runTasksWithConcurrency } from "./run-with-concurrency-C3sn1gEK.js";
|
|
19
19
|
import { createRequire } from "node:module";
|
|
20
20
|
import fs from "node:fs";
|
|
@@ -22,7 +22,7 @@ import os from "node:os";
|
|
|
22
22
|
import path from "node:path";
|
|
23
23
|
import JSON5 from "json5";
|
|
24
24
|
import { isDeepStrictEqual } from "node:util";
|
|
25
|
-
import
|
|
25
|
+
import fsPromises from "node:fs/promises";
|
|
26
26
|
import { execFileSync, spawn } from "node:child_process";
|
|
27
27
|
import crypto, { createHash, randomBytes, randomUUID } from "node:crypto";
|
|
28
28
|
import { createAssistantMessageEventStream, getEnvApiKey, getOAuthApiKey, getOAuthProviders } from "@mariozechner/pi-ai";
|
|
@@ -307,7 +307,7 @@ function computeDelayMs(retries, attempt) {
|
|
|
307
307
|
}
|
|
308
308
|
async function readLockPayload(lockPath) {
|
|
309
309
|
try {
|
|
310
|
-
const raw = await
|
|
310
|
+
const raw = await fsPromises.readFile(lockPath, "utf8");
|
|
311
311
|
const parsed = JSON.parse(raw);
|
|
312
312
|
if (typeof parsed.pid !== "number" || typeof parsed.createdAt !== "string") return null;
|
|
313
313
|
return {
|
|
@@ -321,9 +321,9 @@ async function readLockPayload(lockPath) {
|
|
|
321
321
|
async function resolveNormalizedFilePath(filePath) {
|
|
322
322
|
const resolved = path.resolve(filePath);
|
|
323
323
|
const dir = path.dirname(resolved);
|
|
324
|
-
await
|
|
324
|
+
await fsPromises.mkdir(dir, { recursive: true });
|
|
325
325
|
try {
|
|
326
|
-
const realDir = await
|
|
326
|
+
const realDir = await fsPromises.realpath(dir);
|
|
327
327
|
return path.join(realDir, path.basename(resolved));
|
|
328
328
|
} catch {
|
|
329
329
|
return resolved;
|
|
@@ -337,7 +337,7 @@ async function isStaleLock(lockPath, staleMs) {
|
|
|
337
337
|
if (!Number.isFinite(createdAt) || Date.now() - createdAt > staleMs) return true;
|
|
338
338
|
}
|
|
339
339
|
try {
|
|
340
|
-
const stat = await
|
|
340
|
+
const stat = await fsPromises.stat(lockPath);
|
|
341
341
|
return Date.now() - stat.mtimeMs > staleMs;
|
|
342
342
|
} catch {
|
|
343
343
|
return true;
|
|
@@ -350,7 +350,7 @@ async function releaseHeldLock(normalizedFile) {
|
|
|
350
350
|
if (current.count > 0) return;
|
|
351
351
|
HELD_LOCKS.delete(normalizedFile);
|
|
352
352
|
await current.handle.close().catch(() => void 0);
|
|
353
|
-
await
|
|
353
|
+
await fsPromises.rm(current.lockPath, { force: true }).catch(() => void 0);
|
|
354
354
|
}
|
|
355
355
|
async function acquireFileLock(filePath, options) {
|
|
356
356
|
const normalizedFile = await resolveNormalizedFilePath(filePath);
|
|
@@ -365,7 +365,7 @@ async function acquireFileLock(filePath, options) {
|
|
|
365
365
|
}
|
|
366
366
|
const attempts = Math.max(1, options.retries.retries + 1);
|
|
367
367
|
for (let attempt = 0; attempt < attempts; attempt += 1) try {
|
|
368
|
-
const handle = await
|
|
368
|
+
const handle = await fsPromises.open(lockPath, "wx");
|
|
369
369
|
await handle.writeFile(JSON.stringify({
|
|
370
370
|
pid: process.pid,
|
|
371
371
|
createdAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
@@ -382,7 +382,7 @@ async function acquireFileLock(filePath, options) {
|
|
|
382
382
|
} catch (err) {
|
|
383
383
|
if (err.code !== "EEXIST") throw err;
|
|
384
384
|
if (await isStaleLock(lockPath, options.stale)) {
|
|
385
|
-
await
|
|
385
|
+
await fsPromises.rm(lockPath, { force: true }).catch(() => void 0);
|
|
386
386
|
continue;
|
|
387
387
|
}
|
|
388
388
|
if (attempt >= attempts - 1) break;
|
|
@@ -11574,7 +11574,7 @@ function createIcaclsResetCommand(targetPath, opts) {
|
|
|
11574
11574
|
//#region src/security/audit-fs.ts
|
|
11575
11575
|
async function safeStat(targetPath) {
|
|
11576
11576
|
try {
|
|
11577
|
-
const lst = await
|
|
11577
|
+
const lst = await fsPromises.lstat(targetPath);
|
|
11578
11578
|
return {
|
|
11579
11579
|
ok: true,
|
|
11580
11580
|
isSymlink: lst.isSymbolicLink(),
|
|
@@ -11613,7 +11613,7 @@ async function inspectPathPermissions(targetPath, opts) {
|
|
|
11613
11613
|
let effectiveMode = st.mode;
|
|
11614
11614
|
let effectiveIsDir = st.isDir;
|
|
11615
11615
|
if (st.isSymlink) try {
|
|
11616
|
-
const target = await
|
|
11616
|
+
const target = await fsPromises.stat(targetPath);
|
|
11617
11617
|
effectiveMode = typeof target.mode === "number" ? target.mode : st.mode;
|
|
11618
11618
|
effectiveIsDir = target.isDirectory();
|
|
11619
11619
|
} catch {}
|
|
@@ -11793,7 +11793,7 @@ async function assertSecurePath(params) {
|
|
|
11793
11793
|
if (stat.isSymlink) {
|
|
11794
11794
|
if (!params.allowSymlinkPath) throw new Error(`${params.label} must not be a symlink: ${effectivePath}`);
|
|
11795
11795
|
try {
|
|
11796
|
-
effectivePath = await
|
|
11796
|
+
effectivePath = await fsPromises.realpath(effectivePath);
|
|
11797
11797
|
} catch {
|
|
11798
11798
|
throw new Error(`${params.label} symlink target is not readable: ${params.targetPath}`);
|
|
11799
11799
|
}
|
|
@@ -11841,7 +11841,7 @@ async function readFileProviderPayload(params) {
|
|
|
11841
11841
|
}, timeoutMs);
|
|
11842
11842
|
});
|
|
11843
11843
|
try {
|
|
11844
|
-
const payload = await Promise.race([
|
|
11844
|
+
const payload = await Promise.race([fsPromises.readFile(secureFilePath, { signal: abortController.signal }), timeoutPromise]);
|
|
11845
11845
|
if (payload.byteLength > maxBytes) throw new Error(`File provider "${params.providerName}" exceeded maxBytes (${maxBytes}).`);
|
|
11846
11846
|
const text = payload.toString("utf8");
|
|
11847
11847
|
if (params.providerConfig.mode === "singleValue") return text.replace(/\r?\n$/, "");
|