@bitseek/claw 1.2.0 → 1.2.1
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-B3zSNWIv.js → accounts-2NNZ6Hbp.js} +1 -1
- package/dist/{accounts-BQHz8_1_.js → accounts-Cv5CUnT4.js} +7 -7
- package/dist/{accounts-DTfEeXyO.js → accounts-NHpMJ0aq.js} +1 -1
- package/dist/{acp-cli-DYu2k7v9.js → acp-cli-B0u6no4K.js} +8 -8
- package/dist/{agent-scope-CJelRKYY.js → agent-scope-CY2-lUIY.js} +1 -1
- package/dist/{agents-B1UgGs6R.js → agents-Cweyfj22.js} +15 -15
- package/dist/{agents.config-CmUkQxtt.js → agents.config-DA3Y8w1t.js} +2 -2
- package/dist/{api-key-rotation-xfk-b2Sv.js → api-key-rotation-Cf7QM5M_.js} +1 -1
- package/dist/{audio-preflight-CHD1xVrt.js → audio-preflight-DdrORTn9.js} +4 -4
- package/dist/{audio-preflight-59K4nxSA.js → audio-preflight-SRgix4XS.js} +36 -36
- package/dist/{audio-transcription-runner-DwWOJBSn.js → audio-transcription-runner-CGsd7139.js} +1 -1
- package/dist/{audio-transcription-runner-DGyS5H3K.js → audio-transcription-runner-DkibzFT2.js} +22 -22
- package/dist/{audit-DJfP7KjJ.js → audit-TSVXvoTa.js} +29 -29
- package/dist/{auth-B3HDYw4G.js → auth-anvTU0Sb.js} +1 -1
- package/dist/{auth-choice-Ko0_UPIV.js → auth-choice-Bhzlukg0.js} +12 -12
- package/dist/{auth-choice-f6C6bI9v.js → auth-choice-CR6bBvDU.js} +14 -14
- package/dist/{auth-choice.apply-helpers-DR-eUj_5.js → auth-choice.apply-helpers-Du585kvU.js} +1 -1
- package/dist/{auth-profiles-D_x1_5v_.js → auth-profiles-CyG9VwU_.js} +16 -16
- package/dist/{auth-token-BqjY9MGq.js → auth-token-BIEjzQiE.js} +1 -1
- package/dist/{banner-DB1rGYKC.js → banner-D-ha13Xs.js} +2 -2
- package/dist/{bindings-Hx6KNJeg.js → bindings-DGvp9FdD.js} +1 -1
- package/dist/{bonjour-discovery-t-SAPCsb.js → bonjour-discovery-B68dCYTY.js} +1 -1
- package/dist/{browser-cli-CTlLlDFe.js → browser-cli-DREC4EVl.js} +12 -12
- package/dist/build-info.json +3 -3
- package/dist/{call-CzoM7hPS.js → call-CmAGfSJE.js} +10 -10
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-CiCkIxCu.js → channel-account-context-DNFdIaSr.js} +7 -6
- package/dist/{channel-account-context-D0zX-Gup.js → channel-account-context-etfgJrr_.js} +2 -1
- package/dist/{channel-options-DLPoMi6B.js → channel-options-6JzQN9nt.js} +3 -3
- package/dist/{channel-selection-D8KYuWir.js → channel-selection-DGtYwfd7.js} +1 -1
- package/dist/{channel-web-BMZ_oZSK.js → channel-web-oQImOucb.js} +18 -18
- package/dist/{channels-cli-sNDA9BU2.js → channels-cli-CzLX8jUv.js} +95 -95
- package/dist/{channels-status-issues-5n9kobSz.js → channels-status-issues-BMNB2aMG.js} +1 -1
- package/dist/{chrome-DuDCGdf-.js → chrome-DeZyLFsG.js} +4 -4
- package/dist/{chrome-CuMCXCQN.js → chrome-xatreDUO.js} +8 -8
- package/dist/{clawbot-cli-SIY_fH-I.js → clawbot-cli-H1Uj0ifV.js} +5 -5
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-Cjv-J_yg.js → cli-C2xvYknT.js} +76 -76
- package/dist/{client-BvL3EdiZ.js → client-vUKV2o6h.js} +2 -2
- package/dist/{command-registry-KfIoXPZE.js → command-registry-QcrBU_9X.js} +13 -13
- package/dist/{commands-C67IbXs7.js → commands-d8L0zY8O.js} +1 -1
- package/dist/{commands-registry-D0_D5hFV.js → commands-registry-C78O6aNi.js} +3 -3
- package/dist/{completion-cli-iCWrVHvc.js → completion-cli-BkWPjJyP.js} +13 -13
- package/dist/{completion-cli-SYxZGwWD.js → completion-cli-VWIJWtLM.js} +1 -1
- package/dist/{config-cli-5lP-lwj0.js → config-cli-B4WnAVfw.js} +7 -7
- package/dist/{config-guard-t_xLf16g.js → config-guard-RZw5NkPK.js} +3 -3
- package/dist/{config-validation-DkA3FBg8.js → config-validation-tb90Bzho.js} +3 -3
- package/dist/{configure-hI0hAw1W.js → configure-DuwIk56q.js} +17 -17
- package/dist/control-ui/assets/{index-DPyUb7lL.css → index-B5WC_0Be.css} +1 -1
- package/dist/control-ui/assets/{index-BlqD_sH7.js → index-DmJK8e2M.js} +2 -2
- package/dist/control-ui/assets/index-DmJK8e2M.js.map +1 -0
- package/dist/control-ui/index.html +2 -2
- package/dist/{control-ui-assets-M84PR-kz.js → control-ui-assets-Czpjuiah.js} +1 -1
- package/dist/{cron-cli-Bg88aQ8Y.js → cron-cli-D5MnhB5f.js} +12 -12
- package/dist/{daemon-cli-CFnqQB6M.js → daemon-cli-oCVkh3bg.js} +15 -15
- package/dist/{daemon-install-helpers-C1iBqd73.js → daemon-install-helpers-D5tste0V.js} +11 -11
- package/dist/{daemon-install-CdoMSH6S.js → daemon-install-vQ6KespE.js} +4 -4
- package/dist/{dashboard-CYa-ISxZ.js → dashboard-BstU6qkZ.js} +2 -2
- package/dist/{deliver-DTgCZWjU.js → deliver-H0xCFj4j.js} +7 -7
- package/dist/{deliver-Dyh8ZsLI.js → deliver-Z7543EnP.js} +1 -1
- package/dist/{devices-cli-9aOy3d7K.js → devices-cli-D6b6S-Iy.js} +8 -8
- package/dist/{diagnostic-Bvatw1Xn.js → diagnostic-DjxUqpmL.js} +1 -1
- package/dist/{diagnostics-DooDWHeF.js → diagnostics-vLzdmcgg.js} +5 -5
- package/dist/{directory-cli-Rk2cBm0A.js → directory-cli-D3o7BGMd.js} +8 -8
- package/dist/{dns-cli-BXhJBWtC.js → dns-cli-B5kqVfFd.js} +5 -5
- package/dist/{dock-DT8sACcR.js → dock-CoclJnwp.js} +4 -4
- package/dist/{docs-cli-D606Eb-M.js → docs-cli-CyjlhZAj.js} +4 -4
- package/dist/{doctor-completion-C7FCLVKC.js → doctor-completion-DGNL86eP.js} +1 -1
- package/dist/{doctor-completion-DNAwhmlY.js → doctor-completion-SBDS3edN.js} +2 -2
- package/dist/{doctor-config-flow-ePZ7ejQj.js → doctor-config-flow-DclZbGUP.js} +15 -15
- package/dist/{enable-CnvIWic7.js → enable-CKAw_GCd.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{exec-approvals-allowlist-B4DS6FIn.js → exec-approvals-allowlist-CFjPSbxI.js} +1 -1
- package/dist/{exec-approvals-cli-Czp8csm7.js → exec-approvals-cli-U46MdeMi.js} +16 -16
- package/dist/{exec-safe-bin-runtime-policy-BP6ImlkB.js → exec-safe-bin-runtime-policy-CpMj95vJ.js} +2 -2
- package/dist/extensionAPI.js +6 -6
- package/dist/{fetch-DC-NMnAU.js → fetch-DOjg912W.js} +3 -3
- package/dist/{fetch-guard-B62rgaSw.js → fetch-guard-Csbz9pui.js} +1 -1
- package/dist/{fs-safe-CJDtl_QU.js → fs-safe-BqJ9egpm.js} +24 -24
- package/dist/{gateway-cli-BKhQZ6rL.js → gateway-cli-ADJ8WFzB.js} +267 -93
- package/dist/{gateway-cli-Cb1IDsaH.js → gateway-cli-D5wMqxbT.js} +423 -249
- package/dist/{gateway-rpc-BgV_ZJ92.js → gateway-rpc-DFqEAyI_.js} +1 -1
- package/dist/{health-DugDjq1f.js → health-Dzwp2cfK.js} +14 -14
- package/dist/{hooks-cli-VjmNvsLG.js → hooks-cli-DKAhHxZp.js} +84 -84
- package/dist/{hooks-status-DE20AAEu.js → hooks-status-6tcOdcYp.js} +1 -1
- package/dist/{image-BfqphdQM.js → image-BjuH1GKB.js} +5 -5
- package/dist/{image-DihIv8Eo.js → image-DQV2jl6F.js} +1 -1
- package/dist/{image-ops-BGTBZMuE.js → image-ops-B2L37gT8.js} +10 -10
- package/dist/index.js +1 -1
- package/dist/{inspect-DeP74OJO.js → inspect-DJUXn0vX.js} +4 -4
- package/dist/{install-safe-path-CWo3RPkH.js → install-safe-path-DVQh7rEs.js} +25 -25
- package/dist/{installs-BYqcA-ke.js → installs-jXfyPi74.js} +9 -9
- package/dist/{ipv4-BB1Ro6so.js → ipv4-DQS0lTwQ.js} +1 -1
- package/dist/{ir-DziC-P4Z.js → ir-CEwBpxhC.js} +6 -6
- package/dist/{issue-format-CqVkT3gT.js → issue-format-NBMJ5xAP.js} +1 -1
- package/dist/{json-files-CuJjdF_0.js → json-files-rR19q30D.js} +8 -8
- package/dist/{lifecycle-core-DAWYYqJl.js → lifecycle-core-oTVOKNSW.js} +5 -5
- package/dist/{login-CYfV0FRr.js → login-I5RlwiJn.js} +3 -3
- package/dist/{login-qr-DUSyrCPW.js → login-qr-CRjZn3ix.js} +6 -6
- package/dist/{logs-cli--IqfO6Fs.js → logs-cli-D2-73CiV.js} +9 -9
- package/dist/{manager-7hZXEYTj.js → manager-DWpiNvlg.js} +14 -14
- package/dist/{manifest-registry-Kbw8YPsZ.js → manifest-registry-CBF8Vfz8.js} +1 -1
- package/dist/{markdown-tables-BYHgyUjA.js → markdown-tables-DQlQMRGZ.js} +1 -1
- package/dist/{memory-cli-CuT-iG2F.js → memory-cli-BUrf60e_.js} +12 -12
- package/dist/{model-DmBmzJI6.js → model-DMZUvZJo.js} +2 -2
- package/dist/{model-catalog-D1X8r3WJ.js → model-catalog-DFi9HgWu.js} +3 -3
- package/dist/{model-picker-CrYHvOZH.js → model-picker-DFyoaAce.js} +4 -4
- package/dist/{models-BwUaRaeh.js → models-B-VHfTz-.js} +18 -18
- package/dist/{models-cli-DPvtAoJ-.js → models-cli-DQBbzn_p.js} +81 -81
- package/dist/{models-config-CmrBGsQs.js → models-config-AePb9RAo.js} +6 -6
- package/dist/{net-BXeYv7Iu.js → net-C75G4fup.js} +2 -2
- package/dist/{node-cli-Co4McDQy.js → node-cli-UnJ5obvj.js} +33 -33
- package/dist/{node-command-policy-D7hSN9B8.js → node-command-policy-DMwxqhrG.js} +1 -1
- package/dist/{node-service-CzRylWgI.js → node-service-83OYUi14.js} +1 -1
- package/dist/{nodes-cli-wABD1dZs.js → nodes-cli-U66EhW5E.js} +16 -16
- package/dist/{nodes-screen-DcxCMjOs.js → nodes-screen-BHwVUMr8.js} +7 -7
- package/dist/{npm-pack-install-BGN-e1vW.js → npm-pack-install-1gsZywqI.js} +18 -18
- package/dist/{npm-resolution-Dp9ywE7U.js → npm-resolution-ZwcMp-e1.js} +5 -5
- package/dist/{onboard-tlfs9gUN.js → onboard-1RaJpuJ4.js} +1 -1
- package/dist/{onboard-DfDL2v89.js → onboard-Ce_QcPvd.js} +6 -6
- package/dist/{onboard-channels-CjyJiI4i.js → onboard-channels-BLL6tVVk.js} +20 -20
- package/dist/{onboard-custom-WfZ3J4O7.js → onboard-custom-CltkNK3c.js} +3 -3
- package/dist/{onboard-custom.shared-D52ggtQF.js → onboard-custom.shared-CXzE62ZH.js} +2 -2
- package/dist/{onboard-helpers-CczYNQDJ.js → onboard-helpers-D8lLbK3A.js} +11 -11
- package/dist/{onboard-hooks-o0B0p8tR.js → onboard-hooks-DBif0Jq8.js} +4 -4
- package/dist/{onboard-remote-DTz_Z9Xl.js → onboard-remote-DpEjARZa.js} +3 -3
- package/dist/{onboard-skills-D70PenD-.js → onboard-skills-CL0tHf_N.js} +4 -4
- package/dist/{onboarding-H5cLNUFG.js → onboarding-Rub9MXWB.js} +1 -1
- package/dist/{onboarding-DNV-TKzA.js → onboarding-WDRpEgra.js} +13 -13
- package/dist/{onboarding.finalize-C6UdLnH3.js → onboarding.finalize-CWYrjSVx.js} +89 -89
- package/dist/{onboarding.finalize-DfZFzt37.js → onboarding.finalize-MTyP_Dr4.js} +3 -3
- package/dist/{onboarding.gateway-config-CnQR4xLI.js → onboarding.gateway-config-Ce8ndMkF.js} +18 -18
- package/dist/{openai-model-default-DqKKq57j.js → openai-model-default-XM-ZB1MD.js} +2 -2
- package/dist/{outbound-Dv-MM4iv.js → outbound-CHyBoNxD.js} +4 -4
- package/dist/{outbound-attachment-CXINK8df.js → outbound-attachment-DM-h2uQ1.js} +2 -2
- package/dist/{pairing-cli-BUHAN0R5.js → pairing-cli-DUMMuvWC.js} +9 -9
- package/dist/{pairing-labels-CFSUHOmk.js → pairing-labels-x4akYNb7.js} +1 -1
- package/dist/{pairing-store-BfzlN-z9.js → pairing-store-rFuiIoGM.js} +3 -3
- package/dist/{path-alias-guards-Cg9ZP1NN.js → path-alias-guards-laKq24fx.js} +3 -3
- package/dist/{path-safety-tZSbJG67.js → path-safety-BxYB92SS.js} +1 -1
- package/dist/{paths-BjoSX1aC.js → paths-B_L2Zoe-.js} +9 -9
- package/dist/{pi-embedded-xCcmCTnf.js → pi-embedded-CZAvX74y.js} +22 -22
- package/dist/{pi-embedded-helpers-C3sJPGXn.js → pi-embedded-helpers-BB2whkUz.js} +6 -6
- package/dist/{pi-embedded-helpers-Bmj18lhA.js → pi-embedded-helpers-DK1ft2pf.js} +3 -3
- package/dist/{pi-model-discovery-BZ2RCD_u.js → pi-model-discovery-RrejIg26.js} +1 -1
- package/dist/{pi-tools.policy-BH0D2kX0.js → pi-tools.policy-DRW8ya1z.js} +5 -5
- package/dist/{plugin-auto-enable-DER6qA6X.js → plugin-auto-enable-S_lBQAKI.js} +3 -3
- package/dist/{plugin-registry-CmucB2C0.js → plugin-registry-C2g1aLrK.js} +3 -3
- package/dist/{plugins-vsjS_m58.js → plugins-C4cYqW07.js} +2 -2
- package/dist/{plugins-cli-DJFtia9f.js → plugins-cli-Cdug93Mi.js} +86 -86
- package/dist/{ports-sCOQUaAP.js → ports-DRaxdQmm.js} +2 -2
- package/dist/{ports-zWusnrvP.js → ports-tfS1haOJ.js} +1 -1
- package/dist/{program-BkK1YIQS.js → program-L4hhvW67.js} +84 -84
- package/dist/{program-context-CFNQpYpG.js → program-context-BEPxCThZ.js} +7 -7
- package/dist/{prompt-select-styled-DlC5a1xd.js → prompt-select-styled-CYmsrkR3.js} +39 -39
- package/dist/{prompt-select-styled-DGdjezC8.js → prompt-select-styled-DTqU-r5T.js} +3 -3
- package/dist/{provider-auth-helpers-CJ2_W1oy.js → provider-auth-helpers-CNkIHUuF.js} +5 -5
- package/dist/{proxy-env-BQIJPH4j.js → proxy-env-BoopXu2J.js} +1 -1
- package/dist/{push-apns-BKjyYFyk.js → push-apns-DRX0c6-y.js} +5 -5
- package/dist/{pw-ai-pqeoAqm_.js → pw-ai-CMUrm_kS.js} +1 -1
- package/dist/{pw-ai-ITbRRqVN.js → pw-ai-DyGZ1pXu.js} +15 -15
- package/dist/{qmd-manager-BNohLpRA.js → qmd-manager-Bo22w5wm.js} +20 -20
- package/dist/{qr-cli-D-LqDNlm.js → qr-cli-EHSe4TmR.js} +1 -1
- package/dist/{query-expansion-BrM3X6-L.js → query-expansion-Ba9OpCm9.js} +12 -12
- package/dist/{redact-snapshot-D3QFNQl8.js → redact-snapshot-kY3aFpcF.js} +1 -1
- package/dist/{register.agent-C3K3DXul.js → register.agent-CaCz2lnX.js} +97 -97
- package/dist/register.configure-BHL2CNOY.js +174 -0
- package/dist/{register.init-ClMzXUKm.js → register.init-D4hlhvsq.js} +15 -15
- package/dist/{register.maintenance-Bb8amfJh.js → register.maintenance-DsxNo00b.js} +6 -6
- package/dist/{register.maintenance-zsZrRIaB.js → register.maintenance-MJR5bDWC.js} +99 -99
- package/dist/{register.message-CfRd6EM2.js → register.message-ChJGE4xV.js} +77 -77
- package/dist/{register.onboard-qFRFDsPK.js → register.onboard-4aB9FmjK.js} +2 -2
- package/dist/{register.onboard-BFM29BaY.js → register.onboard-CRCrMN8O.js} +18 -18
- package/dist/{register.setup-D0E9z_QW.js → register.setup-CCPeU8WO.js} +2 -2
- package/dist/{register.setup-Caqvvqmm.js → register.setup-DqRNRiXi.js} +21 -21
- package/dist/{register.start-CrwDVujg.js → register.start-D3IRihbV.js} +17 -17
- package/dist/{register.status-health-sessions-CWb4-Kgs.js → register.status-health-sessions-EhCB2a7v.js} +3 -3
- package/dist/{register.status-health-sessions-BBEF4th9.js → register.status-health-sessions-zD3z2YuT.js} +91 -91
- package/dist/{register.subclis-rB1Roe3w.js → register.subclis-D12iC4nF.js} +31 -31
- package/dist/{replies-Ckd7Lwt0.js → replies-BDnb0prE.js} +1 -1
- package/dist/{reply-prefix-DpXMFuAa.js → reply-prefix-H_GSyyzN.js} +1 -1
- package/dist/{resolve-route-Cnto8LMw.js → resolve-route-ByAwAiq5.js} +2 -2
- package/dist/{rpc-9G93KhBv.js → rpc-Bzb0JMJ_.js} +1 -1
- package/dist/{run-main-C02l3ZhV.js → run-main-C_fGUv-Y.js} +95 -95
- package/dist/{runtime-BI0xjrHi.js → runtime-Cx-7xFzl.js} +2 -2
- package/dist/{sandbox-CLIUxOtc.js → sandbox-BLqUWbp2.js} +18 -18
- package/dist/{sandbox-cli-MjHZjW2w.js → sandbox-cli-CEriRvUh.js} +26 -26
- package/dist/{secrets-cli-BFU9jh2A.js → secrets-cli-DG-NG8PH.js} +10 -10
- package/dist/{security-cli-DIfmEZrw.js → security-cli-C_Bc1U-7.js} +43 -43
- package/dist/{send-e1X1pfda.js → send-BCLu4NEE.js} +6 -6
- package/dist/{send-BpXRh0BM.js → send-BTswySBz.js} +11 -11
- package/dist/{send-CQJKPGw4.js → send-CZ2O-5pP.js} +6 -6
- package/dist/{send-sj8Hu26l.js → send-D0X-8aPh.js} +8 -8
- package/dist/{send-Cpaj_bKB.js → send-ZyB64ntO.js} +5 -5
- package/dist/{server-DbB5aXZq.js → server-CzDsmd9g.js} +19 -19
- package/dist/{server-context-DnPsW_Mg.js → server-context-DRq_OT33.js} +12 -12
- package/dist/{server-lifecycle-B2y6Fg7R.js → server-lifecycle-CcYnyYPQ.js} +2 -2
- package/dist/{server-middleware-CKSnhiM2.js → server-middleware-DHxnFjIL.js} +1 -1
- package/dist/{server-node-events-BwnXBzS2.js → server-node-events-B5xSV7Kq.js} +77 -77
- package/dist/{service-Wk285d-R.js → service-CZORJG4z.js} +15 -15
- package/dist/{session-meta-DF1WT4cr.js → session-meta-Cew1QAYN.js} +1 -1
- package/dist/{session-DNbfXbBi.js → session-nilNSQEL.js} +1 -1
- package/dist/{session-utils-BncMg1bn.js → session-utils-DxaIoRMp.js} +6 -6
- package/dist/{sessions-B2mnwD21.js → sessions-BXz4gdq6.js} +15 -15
- package/dist/{sessions-C2Xfck_9.js → sessions-DhD3eJDE.js} +4 -4
- package/dist/{shared-CJN2BLdi.js → shared-BZscafy-.js} +1 -1
- package/dist/{shared-BAdi_Ot7.js → shared-DvHQekWm.js} +3 -3
- package/dist/{skill-commands-CYucDd3C.js → skill-commands-Cpr3Poo2.js} +5 -5
- package/dist/{skill-scanner-BXOiOvI1.js → skill-scanner-0-AybMIe.js} +6 -6
- package/dist/{skills-BCgFAMj3.js → skills-D4S-gyVf.js} +3 -3
- package/dist/{skills-cli-CwbRKLum.js → skills-cli-B0jFsoo4.js} +5 -5
- package/dist/{skills-install-BQyeS7wB.js → skills-install-C6-Zzqoi.js} +6 -6
- package/dist/{skills-status-DG-bH5mO.js → skills-status-DQzBD0Y7.js} +1 -1
- package/dist/{status-B4v5QI5X.js → status-BfWqYNJf.js} +2 -2
- package/dist/{status-XGYDzhkW.js → status-Dw7ag8qn.js} +26 -26
- package/dist/{status.update-n2QPQr8w.js → status.update-B6whKviL.js} +2 -2
- package/dist/{status.update-DIamQqHr.js → status.update-C8qgou8r.js} +1 -1
- package/dist/{store-U8cs0QvT.js → store-TdzSHRPN.js} +5 -5
- package/dist/{subagent-registry-WD5F6cBf.js → subagent-registry-D6OfBLNb.js} +156 -156
- package/dist/{system-cli-C_5YHHhF.js → system-cli-BoamUpxz.js} +9 -9
- package/dist/{system-run-command-GKGzGztn.js → system-run-command-XHAlbx5q.js} +1 -1
- package/dist/{systemd-Dbwmb4TX.js → systemd-C4JtDaKk.js} +9 -9
- package/dist/{systemd-hints-VM2JkQxw.js → systemd-hints-ZHrBbXDd.js} +6 -6
- package/dist/{systemd-linger-DoeP9Z3f.js → systemd-linger-CD4viBmg.js} +1 -1
- package/dist/{tables-DVXe5x1J.js → tables-BOsRa7CS.js} +1 -1
- package/dist/{tailnet-C1XBcWue.js → tailnet-CfP3A6g2.js} +1 -1
- package/dist/{target-errors-C5LA-JI-.js → target-errors-DPJ9HFp9.js} +4 -4
- package/dist/{tool-images-CnpAosfi.js → tool-images-CmgHk8xk.js} +1 -1
- package/dist/{tui-kOoc7WBf.js → tui-GWJMI53u.js} +6 -6
- package/dist/{tui-cli-DeTfdnEG.js → tui-cli-CMrxH2Q_.js} +33 -33
- package/dist/{update-DFr19tQ1.js → update-CDWJ50iD.js} +3 -3
- package/dist/{update-cli-CUSnVFt4.js → update-cli-Dw_JHcRy.js} +22 -14
- package/dist/{update-cli-BlswPThb.js → update-cli-r3eyhSgp.js} +122 -114
- package/dist/{update-runner-CX6jOI_r.js → update-runner-CHxTFtW8.js} +34 -22
- package/dist/{update-runner-BA9B0S60.js → update-runner-CJua_LZ3.js} +19 -7
- package/dist/web-B4yuhy9a.js +125 -0
- package/dist/{web-CvYmNThc.js → web-De45Xhd1.js} +6 -6
- package/dist/{webhooks-cli-DLgCJq4n.js → webhooks-cli-B09BdLSk.js} +6 -6
- package/dist/{whatsapp-actions-B81EJMQI.js → whatsapp-actions-DUoWY7mE.js} +19 -19
- package/dist/{with-timeout-l0X_rwcb.js → with-timeout-B9qgOUui.js} +3 -3
- package/dist/{workspace-DWBFoy1G.js → workspace-A5CNJccm.js} +1 -1
- package/dist/{workspace-BHfqkuYN.js → workspace-DzeL98px.js} +23 -23
- package/dist/{workspace-dirs-BOgNOBjy.js → workspace-dirs-Bevk6X_8.js} +1 -1
- package/dist/{wsl-BDRu1-pk.js → wsl-DksyFTBT.js} +2 -2
- package/docs/install/index.md +12 -12
- package/docs/install/updating.md +32 -33
- package/docs/plans/2026-03-11-bitseek-update-package-design.md +25 -0
- package/package.json +1 -1
- package/dist/control-ui/assets/index-BlqD_sH7.js.map +0 -1
- package/dist/register.configure-aJItV_ZP.js +0 -174
- package/dist/web-DNL22pwf.js +0 -125
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as normalizeAccountId } from "./session-key-BLprDJYq.js";
|
|
2
2
|
import { t as resolveAccountEntry } from "./account-lookup-DndUerpe.js";
|
|
3
|
-
import { v as createAccountListHelpers } from "./accounts-
|
|
3
|
+
import { v as createAccountListHelpers } from "./accounts-Cv5CUnT4.js";
|
|
4
4
|
|
|
5
5
|
//#region src/imessage/accounts.ts
|
|
6
6
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("imessage");
|
|
@@ -7,7 +7,7 @@ import { f as jidToE164, v as resolveUserPath } from "./utils-DIzy5B5o.js";
|
|
|
7
7
|
import { t as resolveAccountEntry } from "./account-lookup-DndUerpe.js";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import fs from "node:fs";
|
|
10
|
-
import
|
|
10
|
+
import fsPromises 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 fsPromises.access(resolvedAuthDir);
|
|
100
100
|
} catch {
|
|
101
101
|
return false;
|
|
102
102
|
}
|
|
103
103
|
try {
|
|
104
|
-
const stats = await
|
|
104
|
+
const stats = await fsPromises.stat(credsPath);
|
|
105
105
|
if (!stats.isFile() || stats.size <= 1) return false;
|
|
106
|
-
const raw = await
|
|
106
|
+
const raw = await fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.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-BLprDJYq.js";
|
|
2
2
|
import { t as resolveAccountEntry } from "./account-lookup-DndUerpe.js";
|
|
3
|
-
import { v as createAccountListHelpers } from "./accounts-
|
|
3
|
+
import { v as createAccountListHelpers } from "./accounts-Cv5CUnT4.js";
|
|
4
4
|
|
|
5
5
|
//#region src/signal/accounts.ts
|
|
6
6
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("signal");
|
|
@@ -3,10 +3,10 @@ import "./paths-BnKiOk2S.js";
|
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-DjdBljTA.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
5
|
import { n as isMainModule } from "./entry.js";
|
|
6
|
-
import { M as loadConfig } from "./auth-profiles-
|
|
7
|
-
import "./agent-scope-
|
|
6
|
+
import { M as loadConfig } from "./auth-profiles-CyG9VwU_.js";
|
|
7
|
+
import "./agent-scope-CY2-lUIY.js";
|
|
8
8
|
import { v as resolveUserPath, x as shortenHomePath } from "./utils-DIzy5B5o.js";
|
|
9
|
-
import "./workspace-
|
|
9
|
+
import "./workspace-DzeL98px.js";
|
|
10
10
|
import "./logger-BJMfryJd.js";
|
|
11
11
|
import "./exec-CEAvKSx9.js";
|
|
12
12
|
import "./github-copilot-token-CulJ9J5l.js";
|
|
@@ -14,13 +14,13 @@ import "./host-env-security-CJMD0__Z.js";
|
|
|
14
14
|
import { t as VERSION } from "./version-CGDNfh5C.js";
|
|
15
15
|
import "./env-vars-Dw0EwyGP.js";
|
|
16
16
|
import "./registry-7fg1BnMw.js";
|
|
17
|
-
import "./manifest-registry-
|
|
17
|
+
import "./manifest-registry-CBF8Vfz8.js";
|
|
18
18
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-0J6eKf3g.js";
|
|
19
|
-
import { t as GatewayClient } from "./client-
|
|
20
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
19
|
+
import { t as GatewayClient } from "./client-vUKV2o6h.js";
|
|
20
|
+
import { t as buildGatewayConnectionDetails } from "./call-CmAGfSJE.js";
|
|
21
21
|
import "./pairing-token-DoBZxQnC.js";
|
|
22
|
-
import "./net-
|
|
23
|
-
import "./tailnet-
|
|
22
|
+
import "./net-C75G4fup.js";
|
|
23
|
+
import "./tailnet-CfP3A6g2.js";
|
|
24
24
|
import { t as resolveGatewayCredentialsFromConfig } from "./credentials-BtL4tqu0.js";
|
|
25
25
|
import { r as isKnownCoreToolId } from "./tool-catalog-uQj_-Ahx.js";
|
|
26
26
|
import { n as resolveWindowsSpawnProgram, t as materializeWindowsSpawnProgram } from "./windows-spawn-sB-dPrhi.js";
|
|
@@ -2,7 +2,7 @@ import { g as resolveStateDir } from "./paths-BnKiOk2S.js";
|
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-DjdBljTA.js";
|
|
3
3
|
import { T as parseAgentSessionKey, c as normalizeAgentId, t as DEFAULT_AGENT_ID, u as resolveAgentIdFromSessionKey } from "./session-key-BLprDJYq.js";
|
|
4
4
|
import { v as resolveUserPath } from "./utils-DIzy5B5o.js";
|
|
5
|
-
import { F as normalizeSkillFilter, h as resolveDefaultAgentWorkspaceDir } from "./workspace-
|
|
5
|
+
import { F as normalizeSkillFilter, h as resolveDefaultAgentWorkspaceDir } from "./workspace-DzeL98px.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
|
8
8
|
//#region src/config/model-input.ts
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { d as defaultRuntime } from "./subsystem-DjdBljTA.js";
|
|
3
|
-
import { Kn as ensureAuthProfileStore, Qn as resolveAuthStorePath, R as writeConfigFile } from "./auth-profiles-
|
|
3
|
+
import { Kn as ensureAuthProfileStore, Qn as resolveAuthStorePath, R as writeConfigFile } from "./auth-profiles-CyG9VwU_.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-CVXyxgq3.js";
|
|
5
|
-
import { a as resolveAgentDir, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
5
|
+
import { a as resolveAgentDir, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-CY2-lUIY.js";
|
|
6
6
|
import { c as normalizeAgentId, h as DEFAULT_ACCOUNT_ID, t as DEFAULT_AGENT_ID } from "./session-key-BLprDJYq.js";
|
|
7
7
|
import { v as resolveUserPath, x as shortenHomePath } from "./utils-DIzy5B5o.js";
|
|
8
|
-
import { a as DEFAULT_IDENTITY_FILENAME } from "./workspace-
|
|
9
|
-
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
10
|
-
import { B as parseIdentityMarkdown, R as identityHasValues } from "./subagent-registry-
|
|
8
|
+
import { a as DEFAULT_IDENTITY_FILENAME } from "./workspace-DzeL98px.js";
|
|
9
|
+
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-C4cYqW07.js";
|
|
10
|
+
import { B as parseIdentityMarkdown, R as identityHasValues } from "./subagent-registry-D6OfBLNb.js";
|
|
11
11
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-CTtLmER4.js";
|
|
12
|
-
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-
|
|
12
|
+
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-D8lLbK3A.js";
|
|
13
13
|
import { t as WizardCancelledError } from "./prompts-DomsZukd.js";
|
|
14
14
|
import { t as createClackPrompter } from "./clack-prompter-DNiUmv2O.js";
|
|
15
15
|
import { t as resolveChannelDefaultAccountId } from "./helpers-B7sHmVvT.js";
|
|
16
|
-
import { a as parseBindingSpecs, i as describeBinding, n as applyAgentBindings, o as removeAgentBindings, r as buildChannelBindings, t as requireValidConfigSnapshot } from "./config-validation-
|
|
17
|
-
import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-
|
|
18
|
-
import { r as setupChannels } from "./onboard-channels-
|
|
16
|
+
import { a as parseBindingSpecs, i as describeBinding, n as applyAgentBindings, o as removeAgentBindings, r as buildChannelBindings, t as requireValidConfigSnapshot } from "./config-validation-tb90Bzho.js";
|
|
17
|
+
import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-DA3Y8w1t.js";
|
|
18
|
+
import { r as setupChannels } from "./onboard-channels-BLL6tVVk.js";
|
|
19
19
|
import { n as logConfigUpdated } from "./logging-DsLC1iR-.js";
|
|
20
20
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-DQclruUl.js";
|
|
21
|
-
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-
|
|
21
|
+
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-Bhzlukg0.js";
|
|
22
22
|
import path from "node:path";
|
|
23
|
-
import
|
|
23
|
+
import fsPromises from "node:fs/promises";
|
|
24
24
|
|
|
25
25
|
//#region src/commands/agents.command-shared.ts
|
|
26
26
|
function createQuietRuntime(runtime) {
|
|
@@ -267,7 +267,7 @@ async function agentsUnbindCommand(opts, runtime = defaultRuntime) {
|
|
|
267
267
|
//#region src/commands/agents.commands.add.ts
|
|
268
268
|
async function fileExists(pathname) {
|
|
269
269
|
try {
|
|
270
|
-
await
|
|
270
|
+
await fsPromises.stat(pathname);
|
|
271
271
|
return true;
|
|
272
272
|
} catch {
|
|
273
273
|
return false;
|
|
@@ -409,8 +409,8 @@ async function agentsAddCommand(opts, runtime = defaultRuntime, params) {
|
|
|
409
409
|
message: `Copy auth profiles from "${defaultAgentId}"?`,
|
|
410
410
|
initialValue: false
|
|
411
411
|
})) {
|
|
412
|
-
await
|
|
413
|
-
await
|
|
412
|
+
await fsPromises.mkdir(path.dirname(destAuthPath), { recursive: true });
|
|
413
|
+
await fsPromises.copyFile(sourceAuthPath, destAuthPath);
|
|
414
414
|
await prompter.note(`Copied auth profiles from "${defaultAgentId}".`, "Auth profiles");
|
|
415
415
|
}
|
|
416
416
|
}
|
|
@@ -558,7 +558,7 @@ const coerceTrimmed = (value) => {
|
|
|
558
558
|
};
|
|
559
559
|
async function loadIdentityFromFile(filePath) {
|
|
560
560
|
try {
|
|
561
|
-
const parsed = parseIdentityMarkdown(await
|
|
561
|
+
const parsed = parseIdentityMarkdown(await fsPromises.readFile(filePath, "utf-8"));
|
|
562
562
|
if (!identityHasValues(parsed)) return null;
|
|
563
563
|
return parsed;
|
|
564
564
|
} catch {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as resolveAgentDir, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
1
|
+
import { a as resolveAgentDir, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-CY2-lUIY.js";
|
|
2
2
|
import { c as normalizeAgentId } from "./session-key-BLprDJYq.js";
|
|
3
|
-
import { R as identityHasValues, z as loadAgentIdentityFromWorkspace } from "./subagent-registry-
|
|
3
|
+
import { R as identityHasValues, z as loadAgentIdentityFromWorkspace } from "./subagent-registry-D6OfBLNb.js";
|
|
4
4
|
|
|
5
5
|
//#region src/commands/agents.config.ts
|
|
6
6
|
function findAgentEntryIndex(list, agentId) {
|
|
@@ -15,8 +15,8 @@ import "./accounts-BvAUwnNS.js";
|
|
|
15
15
|
import "./image-ops-CSs8oYrR.js";
|
|
16
16
|
import "./pi-model-discovery-DpYZ-y1X.js";
|
|
17
17
|
import "./message-channel-B1_JjaQ_.js";
|
|
18
|
-
import "./pi-embedded-helpers-
|
|
19
|
-
import "./chrome-
|
|
18
|
+
import "./pi-embedded-helpers-DK1ft2pf.js";
|
|
19
|
+
import "./chrome-xatreDUO.js";
|
|
20
20
|
import "./skills-Z-lrvzqS.js";
|
|
21
21
|
import "./path-alias-guards-BaYeiedF.js";
|
|
22
22
|
import "./redact-b4XSqAVh.js";
|
|
@@ -29,8 +29,8 @@ import "./accounts-B1Ev8y2Q.js";
|
|
|
29
29
|
import "./paths-BmEQm4ho.js";
|
|
30
30
|
import "./tool-images-BOZsvFJ9.js";
|
|
31
31
|
import "./thinking-kXAj2UX9.js";
|
|
32
|
-
import "./image-
|
|
33
|
-
import { g as isAudioAttachment, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-
|
|
32
|
+
import "./image-DQV2jl6F.js";
|
|
33
|
+
import { g as isAudioAttachment, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-CGsd7139.js";
|
|
34
34
|
import "./fetch-BfCWv6tx.js";
|
|
35
35
|
import "./fetch-guard-DfeA6yKv.js";
|
|
36
36
|
import "./api-key-rotation-Bcht0XFN.js";
|
|
@@ -2,10 +2,10 @@ import { a as logVerbose, c as shouldLogVerbose } from "./globals-B68W7uN8.js";
|
|
|
2
2
|
import "./paths-BnKiOk2S.js";
|
|
3
3
|
import "./subsystem-DjdBljTA.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import "./auth-profiles-
|
|
6
|
-
import "./agent-scope-
|
|
5
|
+
import "./auth-profiles-CyG9VwU_.js";
|
|
6
|
+
import "./agent-scope-CY2-lUIY.js";
|
|
7
7
|
import "./utils-DIzy5B5o.js";
|
|
8
|
-
import "./workspace-
|
|
8
|
+
import "./workspace-DzeL98px.js";
|
|
9
9
|
import "./logger-BJMfryJd.js";
|
|
10
10
|
import "./exec-CEAvKSx9.js";
|
|
11
11
|
import "./github-copilot-token-CulJ9J5l.js";
|
|
@@ -13,51 +13,51 @@ import "./host-env-security-CJMD0__Z.js";
|
|
|
13
13
|
import "./version-CGDNfh5C.js";
|
|
14
14
|
import "./env-vars-Dw0EwyGP.js";
|
|
15
15
|
import "./registry-7fg1BnMw.js";
|
|
16
|
-
import "./manifest-registry-
|
|
17
|
-
import "./dock-
|
|
18
|
-
import "./pi-model-discovery-
|
|
16
|
+
import "./manifest-registry-CBF8Vfz8.js";
|
|
17
|
+
import "./dock-CoclJnwp.js";
|
|
18
|
+
import "./pi-model-discovery-RrejIg26.js";
|
|
19
19
|
import "./frontmatter-C0E8mspC.js";
|
|
20
|
-
import "./skills-
|
|
21
|
-
import "./path-alias-guards-
|
|
20
|
+
import "./skills-D4S-gyVf.js";
|
|
21
|
+
import "./path-alias-guards-laKq24fx.js";
|
|
22
22
|
import "./message-channel-0J6eKf3g.js";
|
|
23
|
-
import "./sessions-
|
|
24
|
-
import "./plugins-
|
|
25
|
-
import "./accounts-
|
|
26
|
-
import "./accounts-
|
|
23
|
+
import "./sessions-BXz4gdq6.js";
|
|
24
|
+
import "./plugins-C4cYqW07.js";
|
|
25
|
+
import "./accounts-Cv5CUnT4.js";
|
|
26
|
+
import "./accounts-2NNZ6Hbp.js";
|
|
27
27
|
import "./logging-5MtSkLpb.js";
|
|
28
|
-
import "./accounts-
|
|
29
|
-
import "./bindings-
|
|
28
|
+
import "./accounts-NHpMJ0aq.js";
|
|
29
|
+
import "./bindings-DGvp9FdD.js";
|
|
30
30
|
import "./paths-CTtLmER4.js";
|
|
31
31
|
import "./chat-envelope-D3RSz140.js";
|
|
32
|
-
import "./net-
|
|
33
|
-
import "./tailnet-
|
|
34
|
-
import "./image-ops-
|
|
35
|
-
import "./pi-embedded-helpers-
|
|
36
|
-
import "./sandbox-
|
|
32
|
+
import "./net-C75G4fup.js";
|
|
33
|
+
import "./tailnet-CfP3A6g2.js";
|
|
34
|
+
import "./image-ops-B2L37gT8.js";
|
|
35
|
+
import "./pi-embedded-helpers-BB2whkUz.js";
|
|
36
|
+
import "./sandbox-BLqUWbp2.js";
|
|
37
37
|
import "./tool-catalog-uQj_-Ahx.js";
|
|
38
|
-
import "./chrome-
|
|
38
|
+
import "./chrome-DeZyLFsG.js";
|
|
39
39
|
import "./tailscale-D3xGoMdQ.js";
|
|
40
|
-
import "./auth-
|
|
41
|
-
import "./server-context-
|
|
42
|
-
import "./paths-
|
|
40
|
+
import "./auth-anvTU0Sb.js";
|
|
41
|
+
import "./server-context-DRq_OT33.js";
|
|
42
|
+
import "./paths-B_L2Zoe-.js";
|
|
43
43
|
import "./redact-Ck5U_y4i.js";
|
|
44
44
|
import "./errors-BJz45-qI.js";
|
|
45
|
-
import "./fs-safe-
|
|
46
|
-
import "./proxy-env-
|
|
47
|
-
import "./store-
|
|
48
|
-
import "./ports-
|
|
45
|
+
import "./fs-safe-BqJ9egpm.js";
|
|
46
|
+
import "./proxy-env-BoopXu2J.js";
|
|
47
|
+
import "./store-TdzSHRPN.js";
|
|
48
|
+
import "./ports-DRaxdQmm.js";
|
|
49
49
|
import "./trash-ClChDUTf.js";
|
|
50
|
-
import "./server-middleware-
|
|
51
|
-
import "./tool-images-
|
|
50
|
+
import "./server-middleware-DHxnFjIL.js";
|
|
51
|
+
import "./tool-images-CmgHk8xk.js";
|
|
52
52
|
import "./thinking-pYqswKJZ.js";
|
|
53
|
-
import "./models-config-
|
|
54
|
-
import "./model-catalog-
|
|
55
|
-
import "./fetch-
|
|
56
|
-
import { _ as isAudioAttachment, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-
|
|
57
|
-
import "./fetch-guard-
|
|
58
|
-
import "./image-
|
|
53
|
+
import "./models-config-AePb9RAo.js";
|
|
54
|
+
import "./model-catalog-DFi9HgWu.js";
|
|
55
|
+
import "./fetch-DOjg912W.js";
|
|
56
|
+
import { _ as isAudioAttachment, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-DkibzFT2.js";
|
|
57
|
+
import "./fetch-guard-Csbz9pui.js";
|
|
58
|
+
import "./image-BjuH1GKB.js";
|
|
59
59
|
import "./tool-display-0M664wep.js";
|
|
60
|
-
import "./api-key-rotation-
|
|
60
|
+
import "./api-key-rotation-Cf7QM5M_.js";
|
|
61
61
|
import "./proxy-fetch-DEHZt1Tx.js";
|
|
62
62
|
|
|
63
63
|
//#region src/media-understanding/audio-preflight.ts
|
package/dist/{audio-transcription-runner-DwWOJBSn.js → audio-transcription-runner-CGsd7139.js}
RENAMED
|
@@ -3,7 +3,7 @@ import { p as shouldLogVerbose, t as createSubsystemLogger, u as logVerbose, w a
|
|
|
3
3
|
import { $ as resolveIMessageAttachmentRoots, An as resolveOpenClawAgentDir, O as requireApiKey, Q as mergeInboundPathRoots, V as loadConfig, X as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, Z as isInboundPathAllowed, c as normalizeProviderId, h as normalizeGoogleModelId, k as resolveApiKeyForProvider } from "./model-selection-D5OFBCTr.js";
|
|
4
4
|
import { t as normalizeChatType } from "./chat-type-CYPyHAj-.js";
|
|
5
5
|
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-CSs8oYrR.js";
|
|
6
|
-
import { T as ensureOpenClawModelsJson, t as describeImageWithModel } from "./image-
|
|
6
|
+
import { T as ensureOpenClawModelsJson, t as describeImageWithModel } from "./image-DQV2jl6F.js";
|
|
7
7
|
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-BfCWv6tx.js";
|
|
8
8
|
import { n as fetchWithTimeout } from "./fetch-timeout-BVa_Fx_T.js";
|
|
9
9
|
import { t as fetchWithSsrFGuard } from "./fetch-guard-DfeA6yKv.js";
|
package/dist/{audio-transcription-runner-DGyS5H3K.js → audio-transcription-runner-DkibzFT2.js}
RENAMED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { a as logVerbose, c as shouldLogVerbose, k as resolvePreferredOpenClawTmpDir } from "./globals-B68W7uN8.js";
|
|
2
|
-
import { G as isInboundPathAllowed, K as mergeInboundPathRoots, Pr as normalizeGoogleModelId, W as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, ai as resolveApiKeyForProvider, hr as normalizeProviderId, ii as requireApiKey, q as resolveIMessageAttachmentRoots } from "./auth-profiles-
|
|
3
|
-
import { _ as resolveAgentModelPrimaryValue, g as resolveAgentModelFallbackValues } from "./agent-scope-
|
|
2
|
+
import { G as isInboundPathAllowed, K as mergeInboundPathRoots, Pr as normalizeGoogleModelId, W as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, ai as resolveApiKeyForProvider, hr as normalizeProviderId, ii as requireApiKey, q as resolveIMessageAttachmentRoots } from "./auth-profiles-CyG9VwU_.js";
|
|
3
|
+
import { _ as resolveAgentModelPrimaryValue, g as resolveAgentModelFallbackValues } from "./agent-scope-CY2-lUIY.js";
|
|
4
4
|
import { n as runExec } from "./exec-CEAvKSx9.js";
|
|
5
5
|
import { t as normalizeChatType } from "./chat-type-B5__aQIT.js";
|
|
6
|
-
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-
|
|
6
|
+
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-B2L37gT8.js";
|
|
7
7
|
import { i as formatUncaughtError, n as extractErrorCode, s as readErrorName, t as collectErrorGraphCandidates } from "./errors-BJz45-qI.js";
|
|
8
|
-
import { n as loadModelCatalog, r as modelSupportsVision, t as findModelInCatalog } from "./model-catalog-
|
|
9
|
-
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-
|
|
8
|
+
import { n as loadModelCatalog, r as modelSupportsVision, t as findModelInCatalog } from "./model-catalog-DFi9HgWu.js";
|
|
9
|
+
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-DOjg912W.js";
|
|
10
10
|
import { n as fetchWithTimeout } from "./fetch-timeout-CZWuvzq4.js";
|
|
11
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
12
|
-
import { t as describeImageWithModel } from "./image-
|
|
13
|
-
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
11
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-Csbz9pui.js";
|
|
12
|
+
import { t as describeImageWithModel } from "./image-BjuH1GKB.js";
|
|
13
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-Cf7QM5M_.js";
|
|
14
14
|
import { n as resolveProxyFetchFromEnv } from "./proxy-fetch-DEHZt1Tx.js";
|
|
15
15
|
import process$1 from "node:process";
|
|
16
16
|
import { fileURLToPath } from "node:url";
|
|
17
17
|
import path from "node:path";
|
|
18
18
|
import os from "node:os";
|
|
19
19
|
import { constants } from "node:fs";
|
|
20
|
-
import
|
|
20
|
+
import fsPromises from "node:fs/promises";
|
|
21
21
|
import crypto from "node:crypto";
|
|
22
22
|
|
|
23
23
|
//#region src/media-understanding/attachments.normalize.ts
|
|
@@ -426,7 +426,7 @@ var MediaAttachmentCache = class {
|
|
|
426
426
|
const size = await this.ensureLocalStat(entry);
|
|
427
427
|
if (entry.resolvedPath) {
|
|
428
428
|
if (size !== void 0 && size > params.maxBytes) throw new MediaUnderstandingSkipError("maxBytes", `Attachment ${params.attachmentIndex + 1} exceeds maxBytes ${params.maxBytes}`);
|
|
429
|
-
const buffer = await
|
|
429
|
+
const buffer = await fsPromises.readFile(entry.resolvedPath);
|
|
430
430
|
entry.buffer = buffer;
|
|
431
431
|
entry.bufferMime = entry.bufferMime ?? entry.attachment.mime ?? await detectMime({
|
|
432
432
|
buffer,
|
|
@@ -496,10 +496,10 @@ var MediaAttachmentCache = class {
|
|
|
496
496
|
prefix: "openclaw-media",
|
|
497
497
|
extension: path.extname(bufferResult.fileName || "") || ""
|
|
498
498
|
});
|
|
499
|
-
await
|
|
499
|
+
await fsPromises.writeFile(tmpPath, bufferResult.buffer);
|
|
500
500
|
entry.tempPath = tmpPath;
|
|
501
501
|
entry.tempCleanup = async () => {
|
|
502
|
-
await
|
|
502
|
+
await fsPromises.unlink(tmpPath).catch(() => {});
|
|
503
503
|
};
|
|
504
504
|
return {
|
|
505
505
|
path: tmpPath,
|
|
@@ -546,12 +546,12 @@ var MediaAttachmentCache = class {
|
|
|
546
546
|
if (entry.statSize !== void 0) return entry.statSize;
|
|
547
547
|
try {
|
|
548
548
|
const currentPath = entry.resolvedPath;
|
|
549
|
-
const stat = await
|
|
549
|
+
const stat = await fsPromises.stat(currentPath);
|
|
550
550
|
if (!stat.isFile()) {
|
|
551
551
|
entry.resolvedPath = void 0;
|
|
552
552
|
return;
|
|
553
553
|
}
|
|
554
|
-
const canonicalPath = await
|
|
554
|
+
const canonicalPath = await fsPromises.realpath(currentPath).catch(() => currentPath);
|
|
555
555
|
if (!isInboundPathAllowed({
|
|
556
556
|
filePath: canonicalPath,
|
|
557
557
|
roots: await this.getCanonicalLocalPathRoots()
|
|
@@ -573,7 +573,7 @@ var MediaAttachmentCache = class {
|
|
|
573
573
|
if (this.canonicalLocalPathRoots) return await this.canonicalLocalPathRoots;
|
|
574
574
|
this.canonicalLocalPathRoots = (async () => mergeInboundPathRoots(this.localPathRoots, await Promise.all(this.localPathRoots.map(async (root) => {
|
|
575
575
|
if (root.includes("*")) return root;
|
|
576
|
-
return await
|
|
576
|
+
return await fsPromises.realpath(root).catch(() => root);
|
|
577
577
|
}))))();
|
|
578
578
|
return await this.canonicalLocalPathRoots;
|
|
579
579
|
}
|
|
@@ -646,7 +646,7 @@ const MIN_AUDIO_FILE_BYTES = 1024;
|
|
|
646
646
|
async function fileExists(filePath) {
|
|
647
647
|
if (!filePath) return false;
|
|
648
648
|
try {
|
|
649
|
-
await
|
|
649
|
+
await fsPromises.stat(filePath);
|
|
650
650
|
return true;
|
|
651
651
|
} catch {
|
|
652
652
|
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 fsPromises.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 fsPromises.stat(pathResult.path)).size,
|
|
1550
1550
|
attachmentIndex: params.attachmentIndex
|
|
1551
1551
|
});
|
|
1552
|
-
const outputDir = await
|
|
1552
|
+
const outputDir = await fsPromises.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 fsPromises.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 fsPromises.stat(filePath)).isFile()) return false;
|
|
1631
1631
|
if (process.platform === "win32") return true;
|
|
1632
|
-
await
|
|
1632
|
+
await fsPromises.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-BnKiOk2S.js";
|
|
2
|
-
import { An as INCLUDE_KEY, C as formatPermissionRemediation, S as formatPermissionDetail, T as safeStat, Wt as normalizeTrustedSafeBinDirs, it as normalizeNetworkMode, j as createConfigIO, jn as MAX_INCLUDE_DEPTH, rt as isDangerousNetworkMode, w as inspectPathPermissions } from "./auth-profiles-
|
|
2
|
+
import { An as INCLUDE_KEY, C as formatPermissionRemediation, S as formatPermissionDetail, T as safeStat, Wt as normalizeTrustedSafeBinDirs, it as normalizeNetworkMode, j as createConfigIO, jn as MAX_INCLUDE_DEPTH, rt as isDangerousNetworkMode, w as inspectPathPermissions } from "./auth-profiles-CyG9VwU_.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-CVXyxgq3.js";
|
|
4
|
-
import { _ as resolveAgentModelPrimaryValue, d as resolveDefaultAgentId, g as resolveAgentModelFallbackValues } from "./agent-scope-
|
|
4
|
+
import { _ as resolveAgentModelPrimaryValue, d as resolveDefaultAgentId, g as resolveAgentModelFallbackValues } from "./agent-scope-CY2-lUIY.js";
|
|
5
5
|
import { c as normalizeAgentId } from "./session-key-BLprDJYq.js";
|
|
6
6
|
import { x as shortenHomePath } from "./utils-DIzy5B5o.js";
|
|
7
7
|
import { i as isPathInside, n as MANIFEST_KEY, r as extensionUsesSkippedScannerPath } from "./legacy-names-D3aIn6ij.js";
|
|
8
|
-
import { d as normalizePluginsConfig } from "./manifest-registry-
|
|
9
|
-
import { l as normalizeStringEntries } from "./dock-
|
|
10
|
-
import { i as loadWorkspaceSkillEntries } from "./skills-
|
|
8
|
+
import { d as normalizePluginsConfig } from "./manifest-registry-CBF8Vfz8.js";
|
|
9
|
+
import { l as normalizeStringEntries } from "./dock-CoclJnwp.js";
|
|
10
|
+
import { i as loadWorkspaceSkillEntries } from "./skills-D4S-gyVf.js";
|
|
11
11
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-0J6eKf3g.js";
|
|
12
|
-
import { n as listChannelPlugins } from "./plugins-
|
|
13
|
-
import { t as GatewayClient } from "./client-
|
|
14
|
-
import { c as READ_SCOPE, t as buildGatewayConnectionDetails } from "./call-
|
|
12
|
+
import { n as listChannelPlugins } from "./plugins-C4cYqW07.js";
|
|
13
|
+
import { t as GatewayClient } from "./client-vUKV2o6h.js";
|
|
14
|
+
import { c as READ_SCOPE, t as buildGatewayConnectionDetails } from "./call-CmAGfSJE.js";
|
|
15
15
|
import { t as resolveGatewayCredentialsFromConfig } from "./credentials-BtL4tqu0.js";
|
|
16
|
-
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-
|
|
17
|
-
import { a as resolveGatewayAuth } from "./auth-
|
|
18
|
-
import { a as resolveProfile, c as resolveBrowserControlAuth, i as resolveBrowserConfig } from "./server-context-
|
|
16
|
+
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-BLqUWbp2.js";
|
|
17
|
+
import { a as resolveGatewayAuth } from "./auth-anvTU0Sb.js";
|
|
18
|
+
import { a as resolveProfile, c as resolveBrowserControlAuth, i as resolveBrowserConfig } from "./server-context-DRq_OT33.js";
|
|
19
19
|
import { r as formatErrorMessage } from "./errors-BJz45-qI.js";
|
|
20
|
-
import { r as resolveMergedSafeBinProfileFixtures, t as listInterpreterLikeSafeBins } from "./exec-safe-bin-runtime-policy-
|
|
21
|
-
import { a as resolveNativeSkillsEnabled, i as resolveNativeCommandsEnabled } from "./commands-
|
|
22
|
-
import { i as readChannelAllowFromStore } from "./pairing-store-
|
|
23
|
-
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-
|
|
24
|
-
import { l as resolveDmAllowState, n as isToolAllowedByPolicies, o as pickSandboxToolPolicy } from "./pi-tools.policy-
|
|
20
|
+
import { r as resolveMergedSafeBinProfileFixtures, t as listInterpreterLikeSafeBins } from "./exec-safe-bin-runtime-policy-CpMj95vJ.js";
|
|
21
|
+
import { a as resolveNativeSkillsEnabled, i as resolveNativeCommandsEnabled } from "./commands-d8L0zY8O.js";
|
|
22
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-rFuiIoGM.js";
|
|
23
|
+
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-Bevk6X_8.js";
|
|
24
|
+
import { l as resolveDmAllowState, n as isToolAllowedByPolicies, o as pickSandboxToolPolicy } from "./pi-tools.policy-DRW8ya1z.js";
|
|
25
25
|
import { n as isDangerousNameMatchingEnabled } from "./dangerous-name-matching-CffcsSiI.js";
|
|
26
26
|
import { n as DEFAULT_GATEWAY_HTTP_TOOL_DENY } from "./dangerous-tools-B9LIt3MU.js";
|
|
27
27
|
import { t as resolveChannelDefaultAccountId } from "./helpers-B7sHmVvT.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-0-AybMIe.js";
|
|
29
|
+
import { r as resolveNodeCommandAllowlist, t as DEFAULT_DANGEROUS_NODE_COMMANDS } from "./node-command-policy-DMwxqhrG.js";
|
|
30
30
|
import { c as normalizeTelegramAllowFromEntry, s as isNumericTelegramUserId, t as isDiscordMutableAllowEntry } from "./mutable-allowlist-detectors-DHXBcz_e.js";
|
|
31
31
|
import { t as inferParamBFromIdOrName } from "./model-param-b-scvX_s5g.js";
|
|
32
32
|
import path from "node:path";
|
|
33
33
|
import JSON5 from "json5";
|
|
34
|
-
import * as fs
|
|
35
|
-
import
|
|
34
|
+
import * as fs from "node:fs/promises";
|
|
35
|
+
import fsPromises 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
|
|
1306
|
+
const rawText = await fs.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 fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.realpath(canonicalSkillPath).catch(() => null);
|
|
1769
1769
|
if (!skillRealPath) continue;
|
|
1770
1770
|
if (isPathInside(workspaceRealPath, skillRealPath)) continue;
|
|
1771
1771
|
escapedSkillFiles.push({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as safeEqualSecret } from "./secret-equal-Gla36CGi.js";
|
|
2
|
-
import { a as isTrustedProxyAddress, l as resolveClientIp, n as isLoopbackAddress, t as isLocalishHost } from "./net-
|
|
2
|
+
import { a as isTrustedProxyAddress, l as resolveClientIp, n as isLoopbackAddress, t as isLocalishHost } from "./net-C75G4fup.js";
|
|
3
3
|
import { n as resolveGatewayCredentialsFromValues } from "./credentials-BtL4tqu0.js";
|
|
4
4
|
import { c as readTailscaleWhoisIdentity } from "./tailscale-D3xGoMdQ.js";
|
|
5
5
|
|