@bitseek/claw 1.3.10-beta.2 → 1.3.10
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-CuCtdH3C.js → accounts-C9SoQRlD.js} +1 -1
- package/dist/{accounts-Cz3RQNdH.js → accounts-MEuVJDoB.js} +1 -1
- package/dist/{accounts-CAdzApsy.js → accounts-UZBaDk40.js} +7 -7
- package/dist/{acp-cli-Cpn_hxPA.js → acp-cli-KBNX_uXy.js} +8 -8
- package/dist/{agent-scope-BSkZamWK.js → agent-scope-YUWhK3d-.js} +1 -1
- package/dist/{agents-CTTYn76G.js → agents-CSco3QCV.js} +15 -15
- package/dist/{agents.config-P4PAeT4_.js → agents.config-LYVTdqX3.js} +2 -2
- package/dist/{api-key-rotation-KLYtCoCN.js → api-key-rotation-D7ptHGeX.js} +1 -1
- package/dist/{audio-preflight-B1d3Otlb.js → audio-preflight-0cqr2ck2.js} +36 -36
- package/dist/{audio-transcription-runner-BEtb5Jme.js → audio-transcription-runner--RGWC8nR.js} +22 -22
- package/dist/{audit-DG0miQ3A.js → audit-l_hNB_7d.js} +29 -29
- package/dist/{auth-CVxYkRFJ.js → auth-DeS7F6Hd.js} +1 -1
- package/dist/{auth-choice-CV8rLyb8.js → auth-choice-DzsegmXk.js} +12 -12
- package/dist/{auth-choice-Cmq6GQD8.js → auth-choice-jr1JhZAd.js} +14 -14
- package/dist/{auth-choice.apply-helpers-CDB_05Fx.js → auth-choice.apply-helpers-Cjj-3bz6.js} +1 -1
- package/dist/{auth-profiles-DNfjfFON.js → auth-profiles-Dgxwr8Sa.js} +16 -16
- package/dist/{auth-token-CBowgXcm.js → auth-token-BYBDbosA.js} +1 -1
- package/dist/{banner-CzgAzM1q.js → banner-CZb1jHEj.js} +2 -2
- package/dist/{bindings-B8U0BrYk.js → bindings-BDScuSfd.js} +1 -1
- package/dist/{bonjour-discovery-CvAov_o2.js → bonjour-discovery-Cr9ghR-L.js} +1 -1
- package/dist/{browser-cli-CBBjI2Mu.js → browser-cli-DtLO_KqJ.js} +12 -12
- package/dist/build-info.json +3 -3
- package/dist/{call-Da49LtVk.js → call-BxxjyXST.js} +10 -10
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-8QkfoueX.js → channel-account-context-D__SZrX3.js} +5 -5
- package/dist/{channel-options-CiMiQ1Q5.js → channel-options-BpjOUwv4.js} +3 -3
- package/dist/{channel-selection-BuY5iEbg.js → channel-selection-ZJlD8RW_.js} +1 -1
- package/dist/{channel-web-DNpAAGVd.js → channel-web-Cv_ZFOZJ.js} +18 -18
- package/dist/{channels-cli-DxMc7DH5.js → channels-cli-C8u7RwGw.js} +95 -95
- package/dist/{channels-status-issues-C3zPqi31.js → channels-status-issues-Ccr7cxgt.js} +1 -1
- package/dist/{chrome-BosxOvwr.js → chrome-F8yPeLCk.js} +4 -4
- package/dist/{clawbot-cli-Cq5MLCVY.js → clawbot-cli-CFFhJyHO.js} +5 -5
- package/dist/{cli-BN9QyJ2t.js → cli-Bte8NFEF.js} +76 -76
- package/dist/{client-CbO7FTeL.js → client-Ct3INy6Q.js} +2 -2
- package/dist/{command-registry-CZeXdavX.js → command-registry-C7RGVIsP.js} +13 -13
- package/dist/{commands-pIMTT07J.js → commands-NkZDaV9a.js} +1 -1
- package/dist/{commands-registry-DsvOsTTF.js → commands-registry-BEOnewEO.js} +3 -3
- package/dist/{completion-cli-CtFPrLVk.js → completion-cli-D9Bs9sNg.js} +13 -13
- package/dist/{config-cli-CFOqOvdY.js → config-cli-BgT87I31.js} +7 -7
- package/dist/{config-guard-_F29cfDV.js → config-guard-B9fTWjXL.js} +3 -3
- package/dist/{config-validation-DJiuTGa9.js → config-validation-CA4J--dN.js} +3 -3
- package/dist/{configure-u6SJdWUT.js → configure-DIknS6D2.js} +17 -17
- package/dist/control-ui/assets/index-BX-BH831.js.map +1 -1
- package/dist/{control-ui-assets-CWYG-y7n.js → control-ui-assets-hAbiBedq.js} +1 -1
- package/dist/{cron-cli-9N0CgRKB.js → cron-cli-DXGeT8Mw.js} +12 -12
- package/dist/{daemon-cli-BMq2D7sp.js → daemon-cli-CYtFdzXW.js} +15 -15
- package/dist/{daemon-install-C570xWh0.js → daemon-install-BmfoXdXy.js} +4 -4
- package/dist/{daemon-install-helpers-BHTLKVCH.js → daemon-install-helpers-BsUgG6nU.js} +11 -11
- package/dist/{dashboard-ChRtpalJ.js → dashboard-BzxWDKE9.js} +2 -2
- package/dist/{deliver-BCX2HRzP.js → deliver-DkGKUNSW.js} +7 -7
- package/dist/{devices-cli-BRo35VQ8.js → devices-cli-BMNzYzfw.js} +8 -8
- package/dist/{diagnostic-CgNDbdut.js → diagnostic-BS_rmYNQ.js} +1 -1
- package/dist/{diagnostics-DFZTmuFB.js → diagnostics-DCUyr8cM.js} +5 -5
- package/dist/{directory-cli-BKfV5rcs.js → directory-cli-CRSmIysH.js} +8 -8
- package/dist/{dns-cli--O5ugFD3.js → dns-cli-CSAjz7bt.js} +5 -5
- package/dist/{dock-Cki7hMDN.js → dock-CslXtXH_.js} +4 -4
- package/dist/{docs-cli-o8TMQTn6.js → docs-cli-BRb3xAC4.js} +4 -4
- package/dist/{doctor-completion-DdOKH1q8.js → doctor-completion-59O1eGAD.js} +2 -2
- package/dist/{doctor-config-flow-C2SyrY1V.js → doctor-config-flow-BEveSr6U.js} +15 -15
- package/dist/{enable-mI_Pnmyk.js → enable-rsx0VIgO.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{exec-approvals-allowlist-Bdtmhwgj.js → exec-approvals-allowlist-Dgb12MXc.js} +1 -1
- package/dist/{exec-approvals-cli-U6R3GXsh.js → exec-approvals-cli-CoxiMlt5.js} +16 -16
- package/dist/{exec-safe-bin-runtime-policy-DfgvmbZG.js → exec-safe-bin-runtime-policy-BfybDm-q.js} +2 -2
- package/dist/{fetch-Dp9uG2qN.js → fetch-BZWXCGP2.js} +3 -3
- package/dist/{fetch-guard-ClzGpvFK.js → fetch-guard-BplMfPrm.js} +1 -1
- package/dist/{fs-safe-BtSQvuQn.js → fs-safe-nXGqHBF8.js} +24 -24
- package/dist/{gateway-cli-D6K1V3Bk.js → gateway-cli-DneVvyuB.js} +161 -161
- package/dist/{gateway-rpc-ByQgck-k.js → gateway-rpc-DSDDTb9T.js} +1 -1
- package/dist/{health-CgHjmUFQ.js → health-BPybWGw9.js} +14 -14
- package/dist/{hooks-cli-BqCZdnvb.js → hooks-cli-f7lcBr1x.js} +84 -84
- package/dist/{hooks-status-DLAFiQoD.js → hooks-status-DC5Ls265.js} +1 -1
- package/dist/{image-CrLgaJde.js → image-BsWoO0mu.js} +5 -5
- package/dist/{plugin-sdk/image-ops-DgyVTXxr.js → image-ops-_2-6WZ4r.js} +1 -1
- package/dist/{inspect-BB0gFSLo.js → inspect-DRNo1VIP.js} +4 -4
- package/dist/{install-safe-path-CSglDbi-.js → install-safe-path-DBJEsbCp.js} +25 -25
- package/dist/{installs-D6ND4ZY7.js → installs-B2Z4DyUY.js} +9 -9
- package/dist/{ipv4-Dw9v4ItT.js → ipv4-BMbKD3zl.js} +1 -1
- package/dist/{ir-Bov3hbIf.js → ir-DaZ8ITYK.js} +6 -6
- package/dist/{issue-format-Bnj64obT.js → issue-format-BK98Hpx-.js} +1 -1
- package/dist/{json-files-1hhV5hS6.js → json-files-DrZ4qfxw.js} +8 -8
- package/dist/{lifecycle-core-_8xJF_9z.js → lifecycle-core-BrIHPmUB.js} +5 -5
- package/dist/{login-D-Js3AvX.js → login--V3ibRWJ.js} +3 -3
- package/dist/{login-qr-DzUhzJq4.js → login-qr-TavUzvgE.js} +6 -6
- package/dist/{logs-cli-DVtjPLN7.js → logs-cli-Dsmur7V7.js} +9 -9
- package/dist/{manager-ZjJ9M2x6.js → manager-B74jUC6O.js} +14 -14
- package/dist/{manifest-registry-InPIGvqe.js → manifest-registry-D1Y5hoq2.js} +1 -1
- package/dist/{markdown-tables-DoeNp6Yw.js → markdown-tables-BDe192Ai.js} +1 -1
- package/dist/{memory-cli-C0hNuh-t.js → memory-cli-BMul3CV1.js} +12 -12
- package/dist/{model-Cun06SAF.js → model-BUgU1YvD.js} +2 -2
- package/dist/{model-catalog-BoIN1v0Q.js → model-catalog-D4hoiCav.js} +3 -3
- package/dist/{model-picker-HEDcBXIB.js → model-picker-C52jOYls.js} +4 -4
- package/dist/{models-Xv17f3vZ.js → models-DpcOB3vj.js} +18 -18
- package/dist/{models-cli-BXyi6SWU.js → models-cli-Bi4rH3wA.js} +81 -81
- package/dist/{models-config-BjTFyv9Z.js → models-config-BUq1pLs3.js} +6 -6
- package/dist/{net-Dsab06Rf.js → net-B1yWST2Q.js} +2 -2
- package/dist/{node-cli-B15fr-qS.js → node-cli-CP6SmQRY.js} +33 -33
- package/dist/{node-command-policy-CtLbfZ7S.js → node-command-policy-DDNdYXwK.js} +1 -1
- package/dist/{node-service-Dc_k2bXh.js → node-service-BNRDY7GU.js} +1 -1
- package/dist/{nodes-cli-DxNXbAjA.js → nodes-cli-Bl9i1yqi.js} +16 -16
- package/dist/{nodes-screen-BfHQppAv.js → nodes-screen-9RT6NG41.js} +7 -7
- package/dist/{npm-pack-install-BAwUbntz.js → npm-pack-install-dRUKCY1x.js} +18 -18
- package/dist/{npm-resolution-BAviHHRA.js → npm-resolution-Dlw89aWh.js} +5 -5
- package/dist/{onboard-RamoqBQh.js → onboard-B45AuSWn.js} +6 -6
- package/dist/{onboard-channels-xMJXbWfp.js → onboard-channels-Dmrl0eA6.js} +20 -20
- package/dist/{onboard-custom-Bdm0AEOf.js → onboard-custom-CtmSA7Ih.js} +3 -3
- package/dist/{onboard-custom.shared-BJ1NdBPQ.js → onboard-custom.shared-DGA1AopE.js} +2 -2
- package/dist/{onboard-helpers-BS_bPZKe.js → onboard-helpers-D37MuS-y.js} +11 -11
- package/dist/{onboard-hooks-BKIWvalG.js → onboard-hooks-kJZEQTda.js} +4 -4
- package/dist/{onboard-remote-St2_FGbe.js → onboard-remote-C03eTxXO.js} +3 -3
- package/dist/{onboard-skills-m9oH0mp4.js → onboard-skills-VGug58zB.js} +4 -4
- package/dist/{onboarding-I5wAbpKA.js → onboarding-ZExAuMgK.js} +13 -13
- package/dist/{onboarding.finalize-Dvd8Uqat.js → onboarding.finalize-DyZzlCN9.js} +89 -89
- package/dist/{onboarding.gateway-config-BZkfmBr7.js → onboarding.gateway-config-33VygMXh.js} +18 -18
- package/dist/{openai-model-default-Dbn33YX3.js → openai-model-default-DYxdi5ZX.js} +2 -2
- package/dist/{outbound-SGcz-hQs.js → outbound-DhEQ9Uxy.js} +4 -4
- package/dist/{outbound-attachment-BLl9Vid0.js → outbound-attachment-Dhx3-Gcn.js} +2 -2
- package/dist/{pairing-cli-6-9woWGC.js → pairing-cli-CvCRXsUM.js} +9 -9
- package/dist/{pairing-labels-RbKVJQq5.js → pairing-labels-BUGAt7vg.js} +1 -1
- package/dist/{pairing-store-BBxShFYa.js → pairing-store-B27cuhBQ.js} +3 -3
- package/dist/{path-alias-guards-DCVgvjo3.js → path-alias-guards-BQRm9WIp.js} +3 -3
- package/dist/{path-safety-DmE3pKqe.js → path-safety-DDHmx5YW.js} +1 -1
- package/dist/{paths-ufuDrRZO.js → paths-B0fezTQW.js} +9 -9
- package/dist/{pi-embedded-helpers-YXFiUfat.js → pi-embedded-helpers-CrqtHYYD.js} +6 -6
- package/dist/{pi-model-discovery-BnW942uP.js → pi-model-discovery-P149vq2k.js} +1 -1
- package/dist/{pi-tools.policy-ClPMGEq4.js → pi-tools.policy-DwPGGCBG.js} +5 -5
- package/dist/{plugin-auto-enable-MtcFdE6T.js → plugin-auto-enable-C4EhTu_y.js} +3 -3
- package/dist/{plugin-registry-BlrQgW0D.js → plugin-registry-D8mx10Uh.js} +3 -3
- package/dist/plugin-sdk/{accounts-B0MGFQ0N.js → accounts-CK8a9UID.js} +1 -1
- package/dist/plugin-sdk/{accounts-CtdUkArQ.js → accounts-CS3X-w75.js} +1 -1
- package/dist/plugin-sdk/{accounts-C6gCLKxD.js → accounts-lwmUYGUE.js} +3 -3
- package/dist/plugin-sdk/{active-listener-B4jWKHgp.js → active-listener-BWmkk9uJ.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-C86F9PtR.js → agent-scope-hbikmG29.js} +3 -3
- package/dist/plugin-sdk/{api-key-rotation-Ckeuk7ma.js → api-key-rotation-CRkGVkaE.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-bn_-lI6T.js → audio-preflight-DbFTsm9v.js} +33 -33
- package/dist/plugin-sdk/{audio-transcription-runner-B7Y82C4Z.js → audio-transcription-runner-BP6ArtIg.js} +10 -10
- package/dist/plugin-sdk/{bindings-ChmACL7A.js → bindings-nNuMY2YM.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-BmpQZg2e.js → channel-activity-Bqbt4eXH.js} +3 -3
- package/dist/plugin-sdk/{channel-web-DWi8zvvE.js → channel-web-DugGqCi6.js} +23 -23
- package/dist/plugin-sdk/{chrome-DuBOBfOM.js → chrome-2cewsnu1.js} +7 -7
- package/dist/plugin-sdk/{chunk-C0X4iaGn.js → chunk-BYCmTLPZ.js} +1 -1
- package/dist/plugin-sdk/{command-format-CElfSn4A.js → command-format-BlehDg53.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-B1R1u0Ef.js → commands-registry-BOYYhfZ3.js} +5 -5
- package/dist/plugin-sdk/{config-BIceFM4q.js → config-QlwvRinO.js} +10 -10
- package/dist/plugin-sdk/{deliver-B8tQybg3.js → deliver-DjyqqLGN.js} +11 -11
- package/dist/plugin-sdk/{diagnostic-BbwhaVH5.js → diagnostic-Qi8YtEBS.js} +2 -2
- package/dist/plugin-sdk/{dock-ofKZIPvX.js → dock-kzzjqc23.js} +6 -6
- package/dist/plugin-sdk/{errors-D1n_xg5Q.js → errors-DVIIAWgf.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-JfIUTAXW.js → fetch-guard-DBpNRDsE.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-C32W4lb9.js → fs-safe-m9IoJqSI.js} +3 -3
- package/dist/plugin-sdk/{image-C6HhIJq-.js → image-B73NNIZF.js} +6 -6
- package/dist/{image-ops-Cv4BHtyC.js → plugin-sdk/image-ops-DZf5e0hi.js} +11 -11
- package/dist/plugin-sdk/index.js +64 -64
- package/dist/plugin-sdk/{ir-CUJX2XmF.js → ir-DqRMrArF.js} +6 -6
- package/dist/plugin-sdk/{local-roots-PQBdjF5V.js → local-roots-D45XofHa.js} +4 -4
- package/dist/plugin-sdk/{logger-BnDVA5Pn.js → logger-DfvFauG1.js} +1 -1
- package/dist/plugin-sdk/{login-fF45LyM7.js → login-jCR1wiz5.js} +6 -6
- package/dist/plugin-sdk/{login-qr-IMrHS0CU.js → login-qr-yj8Ns7nC.js} +9 -9
- package/dist/plugin-sdk/{manager-B0SAEWzU.js → manager-Cm_A6m9L.js} +10 -10
- package/dist/plugin-sdk/{markdown-tables-BTRy5g54.js → markdown-tables-CBEW0AEz.js} +1 -1
- package/dist/plugin-sdk/{message-channel-BBGSgNfZ.js → message-channel-CettmQxR.js} +1 -1
- package/dist/plugin-sdk/{outbound-CsQhMb1t.js → outbound-Bciu0j21.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment-PV4MNgO7.js → outbound-attachment-JlTOABiQ.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-CtvHdXkF.js → path-alias-guards-DJzjOH6k.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-BHnEYKw0.js → pi-embedded-helpers-Cb9NLnv7.js} +17 -17
- package/dist/plugin-sdk/{pi-model-discovery-CeMr9qlX.js → pi-model-discovery-D69omnZ4.js} +1 -1
- package/dist/plugin-sdk/{plugins-DoosFTlv.js → plugins-PXEjTi0a.js} +6 -6
- package/dist/plugin-sdk/{proxy-BC7TfAei.js → proxy-BJHqiC33.js} +1 -1
- package/dist/plugin-sdk/{proxy-fetch-D7xNZwMz.js → proxy-fetch-nIK8JZcG.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-COCVSS3S.js → pw-ai-BYRY2b8b.js} +13 -13
- package/dist/plugin-sdk/{qmd-manager-Dy2i7Yk2.js → qmd-manager-BDZK_TQ2.js} +8 -8
- package/dist/plugin-sdk/{query-expansion-Ce600EN-.js → query-expansion-BbG3wPsu.js} +2 -2
- package/dist/plugin-sdk/{redact-DR57Khnb.js → redact-CJpp3pJZ.js} +1 -1
- package/dist/plugin-sdk/{registry-CoOCMLwt.js → registry-DZtlIW2B.js} +2 -2
- package/dist/plugin-sdk/{replies-DrAmBEev.js → replies-EKccD3Vq.js} +3 -3
- package/dist/plugin-sdk/{reply-UD3RANYz.js → reply-BetOKhtK.js} +93 -93
- package/dist/plugin-sdk/{reply-prefix-S61xcDq5.js → reply-prefix-DSjz9ex2.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-CHbuy5MW.js → resolve-outbound-target-BWnhQoZm.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-D17tpQod.js → resolve-route-f4hKLSdv.js} +4 -4
- package/dist/plugin-sdk/{retry-BCP_IcXF.js → retry-WkwmuOq5.js} +1 -1
- package/dist/plugin-sdk/{send-4oPoqu-k.js → send-By6LXMdT.js} +8 -8
- package/dist/plugin-sdk/{send-DXz49rIh.js → send-CLmu_bs1.js} +6 -6
- package/dist/plugin-sdk/{send-B-OjHj4t.js → send-D6q7DSEd.js} +7 -7
- package/dist/plugin-sdk/{send-DfA6vCVP.js → send-DVH_jqoJ.js} +15 -15
- package/dist/plugin-sdk/{send-BnUKf8wg.js → send-wah5ag3x.js} +10 -10
- package/dist/plugin-sdk/{session-B_TxDBeW.js → session-BfaJDj55.js} +5 -5
- package/dist/plugin-sdk/{session-meta-Cs9Hy3rA.js → session-meta-CtcszwHp.js} +1 -1
- package/dist/plugin-sdk/{sessions-D0O4NXJE.js → sessions-CCrnhL0f.js} +6 -6
- package/dist/plugin-sdk/{skill-commands-Cq3lRmFA.js → skill-commands-BbZ5VC2j.js} +5 -5
- package/dist/plugin-sdk/{skills-CKk6dkB7.js → skills-DhjFSX9k.js} +8 -8
- package/dist/plugin-sdk/{ssrf-DWKS2l1Z.js → ssrf-yJVFBwP_.js} +1 -1
- package/dist/plugin-sdk/{store-D-KJbO1K.js → store-B49PVNHw.js} +2 -2
- package/dist/plugin-sdk/{subsystem-BOTkxxI1.js → subsystem-BSS_Lti_.js} +2 -2
- package/dist/plugin-sdk/{tables-iAM0v6UL.js → tables-B2ndgibI.js} +1 -1
- package/dist/plugin-sdk/{target-errors-Di5oh5b0.js → target-errors-3PJA_VbO.js} +2 -2
- package/dist/plugin-sdk/{tokens-DUELMaP-.js → tokens-CYf5ZhLm.js} +1 -1
- package/dist/plugin-sdk/{tool-images-4TDsVJHN.js → tool-images-DzNHghBZ.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-BooG-g5v.js → tool-loop-detection-paUegJmP.js} +2 -2
- package/dist/plugin-sdk/{utils-B7zMI7Td.js → utils-DaD2HGTy.js} +1 -1
- package/dist/plugin-sdk/web-C_bWyLWF.js +72 -0
- package/dist/plugin-sdk/{whatsapp-actions-CntfyIDF.js → whatsapp-actions-fOVsMKWU.js} +25 -25
- package/dist/{plugins-B9LVNfXo.js → plugins-DPspmGax.js} +2 -2
- package/dist/{plugins-cli-Dowiu6KT.js → plugins-cli-CL2MrWZt.js} +86 -86
- package/dist/{ports-TfIbPY8z.js → ports-BNwHSlzK.js} +1 -1
- package/dist/{ports-BKC_uvax.js → ports-Do_Plo8C.js} +2 -2
- package/dist/{program-BA-5175y.js → program-DIvdihfF.js} +84 -84
- package/dist/{prompt-select-styled-BcZ8H5DI.js → prompt-select-styled-Do1qynXW.js} +39 -39
- package/dist/{provider-auth-helpers-Bu2aZSnq.js → provider-auth-helpers-59RRb092.js} +5 -5
- package/dist/{proxy-env-DQluNeAy.js → proxy-env-B9lqcBfU.js} +1 -1
- package/dist/{push-apns-8_4x3QDX.js → push-apns-BK4xHeAC.js} +5 -5
- package/dist/{pw-ai-CgRxvnyo.js → pw-ai-B4CY-RXZ.js} +15 -15
- package/dist/{qmd-manager-ZEPpjdm5.js → qmd-manager-CoaYK3NS.js} +20 -20
- package/dist/{qr-cli-UOH4AqoB.js → qr-cli-tns16Dij.js} +1 -1
- package/dist/{query-expansion-DmsmrMjB.js → query-expansion-BOhTMSRT.js} +12 -12
- package/dist/{redact-snapshot-BGusjTY9.js → redact-snapshot-Cx6qYiIY.js} +1 -1
- package/dist/{register.agent-CHE7Qalv.js → register.agent-K6fKhk-d.js} +97 -97
- package/dist/register.configure-CCQ90-H1.js +175 -0
- package/dist/{register.init-DY3iSz8Y.js → register.init-B2cwbe39.js} +16 -16
- package/dist/{register.maintenance-yrpKG5iB.js → register.maintenance-DT2aoHXy.js} +99 -99
- package/dist/{register.message-DH4rUSVi.js → register.message-BLhsi48W.js} +77 -77
- package/dist/{register.onboard-maBvm3Rf.js → register.onboard-pMGHuLqk.js} +18 -18
- package/dist/{register.setup-igARJvnk.js → register.setup-CP__vdzh.js} +21 -21
- package/dist/{register.start-nNZtIOVx.js → register.start-CZMSVRfr.js} +17 -17
- package/dist/{register.status-health-sessions-TaLuKSkg.js → register.status-health-sessions-Dr1-y3qs.js} +91 -91
- package/dist/{register.subclis-DscBnK86.js → register.subclis-B9f3-nRB.js} +31 -31
- package/dist/{replies-Cnwwqegi.js → replies-9B0e_W0H.js} +1 -1
- package/dist/{reply-prefix-BwXX5Jk8.js → reply-prefix-CqTNlEbX.js} +1 -1
- package/dist/{resolve-route-BAFZr0AD.js → resolve-route-rhGDrrKc.js} +2 -2
- package/dist/{rpc-CeTMYkun.js → rpc-CclOFzPV.js} +1 -1
- package/dist/{run-main-w6C2SiYG.js → run-main-B6QZLb6Z.js} +95 -95
- package/dist/{runtime-uZw9qW6d.js → runtime-vnX4kz3-.js} +2 -2
- package/dist/{sandbox-GZ80o0rN.js → sandbox-ClasEjRW.js} +18 -18
- package/dist/{sandbox-cli-BdzWh2X7.js → sandbox-cli-BxLxr8Ov.js} +26 -26
- package/dist/{secrets-cli-DroWvA-9.js → secrets-cli-CfmktxZw.js} +10 -10
- package/dist/{security-cli-VJf80mpc.js → security-cli-50tLKbQX.js} +43 -43
- package/dist/{send-ofq5TYCm.js → send-BLv3U-2N.js} +5 -5
- package/dist/{send-CUhKEB1L.js → send-BLyXZjPe.js} +8 -8
- package/dist/{send-B3N6ed5I.js → send-BUqXYyi5.js} +11 -11
- package/dist/{send-DyQvZx-9.js → send-CwHSY0pB.js} +6 -6
- package/dist/{send-D52tAxa7.js → send-DLfPZ3_F.js} +6 -6
- package/dist/{server-si15CkOB.js → server-BAuP980-.js} +19 -19
- package/dist/{server-context-BIKTw3k8.js → server-context-3YhieMNo.js} +12 -12
- package/dist/{server-lifecycle-N5bU8mjm.js → server-lifecycle-DE7bHlKs.js} +2 -2
- package/dist/{server-middleware-Q0-cjKBA.js → server-middleware-hZnQvs4T.js} +1 -1
- package/dist/{server-node-events-DgNEG1Jq.js → server-node-events-p6pocXHJ.js} +77 -77
- package/dist/{service-Bdwg8-MP.js → service-DdLDWk4F.js} +15 -15
- package/dist/{session-Cjlyc-CV.js → session-D8FUKdiW.js} +1 -1
- package/dist/{session-meta-Dofh28uR.js → session-meta-Cyjw6vgH.js} +1 -1
- package/dist/{session-utils-dcEiC-U5.js → session-utils-BSsFceEN.js} +6 -6
- package/dist/{sessions-DupNmVK4.js → sessions-D0PiwO3b.js} +4 -4
- package/dist/{sessions-BUvaIZVg.js → sessions-DugDYFTs.js} +15 -15
- package/dist/{shared-haEHGkpf.js → shared-D96SvIQZ.js} +3 -3
- package/dist/{shared-CDevUk3t.js → shared-fKlvovu7.js} +1 -1
- package/dist/{skill-commands-Do5yZvPn.js → skill-commands-KfP9rDJM.js} +5 -5
- package/dist/{skill-scanner-DiC9yuOY.js → skill-scanner-D7WuF5Sb.js} +6 -6
- package/dist/{skills-cQZqFYZM.js → skills-CDZAo2Sd.js} +3 -3
- package/dist/{skills-cli-BXNcPNTR.js → skills-cli-DaSd8Xc2.js} +5 -5
- package/dist/{skills-install-BASrKfvX.js → skills-install-Ba_1ws_H.js} +6 -6
- package/dist/{skills-status-DLQ7pr9r.js → skills-status-CV1r9Fs_.js} +1 -1
- package/dist/{status-EvQ73B8e.js → status-Bk0e2K3D.js} +26 -26
- package/dist/{status.update-DUDM6iUC.js → status.update-CbAiJIbB.js} +2 -2
- package/dist/{store-D1eSPAL7.js → store-GKlw8Qa-.js} +5 -5
- package/dist/{subagent-registry-DxueEkqw.js → subagent-registry-ChrhyhQ5.js} +157 -157
- package/dist/{system-cli-BXGiTYVZ.js → system-cli-BNHXiAuw.js} +9 -9
- package/dist/{system-run-command-BkdvGhnZ.js → system-run-command-Pd55ipfO.js} +1 -1
- package/dist/{systemd-CTamqs8u.js → systemd-DVgFh5bF.js} +9 -9
- package/dist/{systemd-hints-D4VSR4gB.js → systemd-hints-BC7wmmDb.js} +6 -6
- package/dist/{systemd-linger-BbxFU05t.js → systemd-linger-C0GrW0si.js} +1 -1
- package/dist/{tables-CTFvIcTQ.js → tables-B6wgQqYN.js} +1 -1
- package/dist/{tailnet-CQxQNgt6.js → tailnet-D67wyPIH.js} +1 -1
- package/dist/{target-errors-8-urss_s.js → target-errors-AeE93vdq.js} +4 -4
- package/dist/{tool-images-hL7SizLq.js → tool-images-rmLnTSxP.js} +1 -1
- package/dist/{tui-DExFltkR.js → tui-BqRCX-bp.js} +6 -6
- package/dist/{tui-cli-oM2kNbdj.js → tui-cli-Bo7syV8j.js} +33 -33
- package/dist/{update-Bifl3Vpi.js → update-BPBo5wB4.js} +3 -3
- package/dist/{update-cli-By-XQR0X.js → update-cli-Cwwll1Xd.js} +107 -107
- package/dist/{update-runner-D3Dqz9wz.js → update-runner-sLKFIJY-.js} +16 -16
- package/dist/web-Dyvr-ZYW.js +127 -0
- package/dist/{webhooks-cli-BsZ0IIku.js → webhooks-cli-Dov_rqUg.js} +6 -6
- package/dist/{whatsapp-actions-DZxeDPhI.js → whatsapp-actions-COrqjCys.js} +19 -19
- package/dist/{with-timeout-CojHmZpl.js → with-timeout-DUosdGNq.js} +3 -3
- package/dist/{workspace-BxNxoapu.js → workspace-CoIrgiMR.js} +1 -1
- package/dist/{workspace-CZCYGcgM.js → workspace-D3Bd1Wd-.js} +23 -23
- package/dist/{workspace-dirs-CksYiwHf.js → workspace-dirs-x94RXrLL.js} +1 -1
- package/dist/{wsl-CiVud8tt.js → wsl-KDz114y6.js} +2 -2
- package/package.json +1 -1
- package/dist/plugin-sdk/web-UMF3rhRY.js +0 -72
- package/dist/register.configure-CXDvAw-s.js +0 -175
- package/dist/web-yRXxasJ5.js +0 -127
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as normalizeAccountId } from "./session-key-BLprDJYq.js";
|
|
2
2
|
import { t as resolveAccountEntry } from "./account-lookup-9wuXWwa_.js";
|
|
3
|
-
import { v as createAccountListHelpers } from "./accounts-
|
|
3
|
+
import { v as createAccountListHelpers } from "./accounts-UZBaDk40.js";
|
|
4
4
|
|
|
5
5
|
//#region src/imessage/accounts.ts
|
|
6
6
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("imessage");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as normalizeAccountId } from "./session-key-BLprDJYq.js";
|
|
2
2
|
import { t as resolveAccountEntry } from "./account-lookup-9wuXWwa_.js";
|
|
3
|
-
import { v as createAccountListHelpers } from "./accounts-
|
|
3
|
+
import { v as createAccountListHelpers } from "./accounts-UZBaDk40.js";
|
|
4
4
|
|
|
5
5
|
//#region src/signal/accounts.ts
|
|
6
6
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("signal");
|
|
@@ -7,7 +7,7 @@ import { f as jidToE164, v as resolveUserPath } from "./utils-Dwy0Sy1G.js";
|
|
|
7
7
|
import { t as resolveAccountEntry } from "./account-lookup-9wuXWwa_.js";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import fs from "node:fs";
|
|
10
|
-
import
|
|
10
|
+
import fs$1 from "node:fs/promises";
|
|
11
11
|
|
|
12
12
|
//#region src/channels/plugins/account-helpers.ts
|
|
13
13
|
function createAccountListHelpers(channelKey) {
|
|
@@ -96,14 +96,14 @@ async function webAuthExists(authDir = resolveDefaultWebAuthDir()) {
|
|
|
96
96
|
maybeRestoreCredsFromBackup(resolvedAuthDir);
|
|
97
97
|
const credsPath = resolveWebCredsPath(resolvedAuthDir);
|
|
98
98
|
try {
|
|
99
|
-
await
|
|
99
|
+
await fs$1.access(resolvedAuthDir);
|
|
100
100
|
} catch {
|
|
101
101
|
return false;
|
|
102
102
|
}
|
|
103
103
|
try {
|
|
104
|
-
const stats = await
|
|
104
|
+
const stats = await fs$1.stat(credsPath);
|
|
105
105
|
if (!stats.isFile() || stats.size <= 1) return false;
|
|
106
|
-
const raw = await
|
|
106
|
+
const raw = await fs$1.readFile(credsPath, "utf-8");
|
|
107
107
|
JSON.parse(raw);
|
|
108
108
|
return true;
|
|
109
109
|
} catch {
|
|
@@ -111,7 +111,7 @@ async function webAuthExists(authDir = resolveDefaultWebAuthDir()) {
|
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
async function clearLegacyBaileysAuthState(authDir) {
|
|
114
|
-
const entries = await
|
|
114
|
+
const entries = await fs$1.readdir(authDir, { withFileTypes: true });
|
|
115
115
|
const shouldDelete = (name) => {
|
|
116
116
|
if (name === "oauth.json") return false;
|
|
117
117
|
if (name === "creds.json" || name === "creds.json.bak") return true;
|
|
@@ -121,7 +121,7 @@ async function clearLegacyBaileysAuthState(authDir) {
|
|
|
121
121
|
await Promise.all(entries.map(async (entry) => {
|
|
122
122
|
if (!entry.isFile()) return;
|
|
123
123
|
if (!shouldDelete(entry.name)) return;
|
|
124
|
-
await
|
|
124
|
+
await fs$1.rm(path.join(authDir, entry.name), { force: true });
|
|
125
125
|
}));
|
|
126
126
|
}
|
|
127
127
|
async function logoutWeb(params) {
|
|
@@ -132,7 +132,7 @@ async function logoutWeb(params) {
|
|
|
132
132
|
return false;
|
|
133
133
|
}
|
|
134
134
|
if (params.isLegacyAuthDir) await clearLegacyBaileysAuthState(resolvedAuthDir);
|
|
135
|
-
else await
|
|
135
|
+
else await fs$1.rm(resolvedAuthDir, {
|
|
136
136
|
recursive: true,
|
|
137
137
|
force: true
|
|
138
138
|
});
|
|
@@ -3,10 +3,10 @@ import "./paths-D4kNqSu9.js";
|
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-BkPzfTiu.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-Dgxwr8Sa.js";
|
|
7
|
+
import "./agent-scope-YUWhK3d-.js";
|
|
8
8
|
import { v as resolveUserPath, x as shortenHomePath } from "./utils-Dwy0Sy1G.js";
|
|
9
|
-
import "./workspace-
|
|
9
|
+
import "./workspace-D3Bd1Wd-.js";
|
|
10
10
|
import "./logger-JNFFzTLe.js";
|
|
11
11
|
import "./exec-BxfdQ5hH.js";
|
|
12
12
|
import "./github-copilot-token-BqbY2oVI.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-C4Fq5HtN.js";
|
|
17
|
-
import "./manifest-registry-
|
|
17
|
+
import "./manifest-registry-D1Y5hoq2.js";
|
|
18
18
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DuRP9JPi.js";
|
|
19
|
-
import { t as GatewayClient } from "./client-
|
|
20
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
19
|
+
import { t as GatewayClient } from "./client-Ct3INy6Q.js";
|
|
20
|
+
import { t as buildGatewayConnectionDetails } from "./call-BxxjyXST.js";
|
|
21
21
|
import "./pairing-token-fCKTYUJ-.js";
|
|
22
|
-
import "./net-
|
|
23
|
-
import "./tailnet-
|
|
22
|
+
import "./net-B1yWST2Q.js";
|
|
23
|
+
import "./tailnet-D67wyPIH.js";
|
|
24
24
|
import { t as resolveGatewayCredentialsFromConfig } from "./credentials-DfK6Oke5.js";
|
|
25
25
|
import { r as isKnownCoreToolId } from "./tool-catalog-CDe8aNjS.js";
|
|
26
26
|
import { n as resolveWindowsSpawnProgram, t as materializeWindowsSpawnProgram } from "./windows-spawn-D0wwE7yg.js";
|
|
@@ -2,7 +2,7 @@ import { g as resolveStateDir } from "./paths-D4kNqSu9.js";
|
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-BkPzfTiu.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-Dwy0Sy1G.js";
|
|
5
|
-
import { F as normalizeSkillFilter, h as resolveDefaultAgentWorkspaceDir } from "./workspace-
|
|
5
|
+
import { F as normalizeSkillFilter, h as resolveDefaultAgentWorkspaceDir } from "./workspace-D3Bd1Wd-.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-BkPzfTiu.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-Dgxwr8Sa.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-Bu77oTl0.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-YUWhK3d-.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-Dwy0Sy1G.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-D3Bd1Wd-.js";
|
|
9
|
+
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-DPspmGax.js";
|
|
10
|
+
import { B as parseIdentityMarkdown, R as identityHasValues } from "./subagent-registry-ChrhyhQ5.js";
|
|
11
11
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-oIurw4YQ.js";
|
|
12
|
-
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-
|
|
12
|
+
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-D37MuS-y.js";
|
|
13
13
|
import { t as WizardCancelledError } from "./prompts-QSI6gA3k.js";
|
|
14
14
|
import { t as createClackPrompter } from "./clack-prompter-C1NdIpbi.js";
|
|
15
15
|
import { t as resolveChannelDefaultAccountId } from "./helpers-D6BlzJnx.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-CA4J--dN.js";
|
|
17
|
+
import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-LYVTdqX3.js";
|
|
18
|
+
import { r as setupChannels } from "./onboard-channels-Dmrl0eA6.js";
|
|
19
19
|
import { n as logConfigUpdated } from "./logging-UKb4kRzi.js";
|
|
20
20
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-DIbIQ3T7.js";
|
|
21
|
-
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-
|
|
21
|
+
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-DzsegmXk.js";
|
|
22
22
|
import path from "node:path";
|
|
23
|
-
import
|
|
23
|
+
import fs 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 fs.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 fs.mkdir(path.dirname(destAuthPath), { recursive: true });
|
|
413
|
+
await fs.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 fs.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-YUWhK3d-.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-ChrhyhQ5.js";
|
|
4
4
|
|
|
5
5
|
//#region src/commands/agents.config.ts
|
|
6
6
|
function findAgentEntryIndex(list, agentId) {
|
|
@@ -2,10 +2,10 @@ import { a as logVerbose, c as shouldLogVerbose } from "./globals-BASCq52M.js";
|
|
|
2
2
|
import "./paths-D4kNqSu9.js";
|
|
3
3
|
import "./subsystem-BkPzfTiu.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import "./auth-profiles-
|
|
6
|
-
import "./agent-scope-
|
|
5
|
+
import "./auth-profiles-Dgxwr8Sa.js";
|
|
6
|
+
import "./agent-scope-YUWhK3d-.js";
|
|
7
7
|
import "./utils-Dwy0Sy1G.js";
|
|
8
|
-
import "./workspace-
|
|
8
|
+
import "./workspace-D3Bd1Wd-.js";
|
|
9
9
|
import "./logger-JNFFzTLe.js";
|
|
10
10
|
import "./exec-BxfdQ5hH.js";
|
|
11
11
|
import "./github-copilot-token-BqbY2oVI.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-C4Fq5HtN.js";
|
|
16
|
-
import "./manifest-registry-
|
|
17
|
-
import "./dock-
|
|
18
|
-
import "./pi-model-discovery-
|
|
16
|
+
import "./manifest-registry-D1Y5hoq2.js";
|
|
17
|
+
import "./dock-CslXtXH_.js";
|
|
18
|
+
import "./pi-model-discovery-P149vq2k.js";
|
|
19
19
|
import "./frontmatter-I4t5UjzX.js";
|
|
20
|
-
import "./skills-
|
|
21
|
-
import "./path-alias-guards-
|
|
20
|
+
import "./skills-CDZAo2Sd.js";
|
|
21
|
+
import "./path-alias-guards-BQRm9WIp.js";
|
|
22
22
|
import "./message-channel-DuRP9JPi.js";
|
|
23
|
-
import "./sessions-
|
|
24
|
-
import "./plugins-
|
|
25
|
-
import "./accounts-
|
|
26
|
-
import "./accounts-
|
|
23
|
+
import "./sessions-DugDYFTs.js";
|
|
24
|
+
import "./plugins-DPspmGax.js";
|
|
25
|
+
import "./accounts-UZBaDk40.js";
|
|
26
|
+
import "./accounts-C9SoQRlD.js";
|
|
27
27
|
import "./logging-CcxUDNcI.js";
|
|
28
|
-
import "./accounts-
|
|
29
|
-
import "./bindings-
|
|
28
|
+
import "./accounts-MEuVJDoB.js";
|
|
29
|
+
import "./bindings-BDScuSfd.js";
|
|
30
30
|
import "./paths-oIurw4YQ.js";
|
|
31
31
|
import "./chat-envelope-AUuZAcrC.js";
|
|
32
|
-
import "./net-
|
|
33
|
-
import "./tailnet-
|
|
34
|
-
import "./image-ops-
|
|
35
|
-
import "./pi-embedded-helpers-
|
|
36
|
-
import "./sandbox-
|
|
32
|
+
import "./net-B1yWST2Q.js";
|
|
33
|
+
import "./tailnet-D67wyPIH.js";
|
|
34
|
+
import "./image-ops-_2-6WZ4r.js";
|
|
35
|
+
import "./pi-embedded-helpers-CrqtHYYD.js";
|
|
36
|
+
import "./sandbox-ClasEjRW.js";
|
|
37
37
|
import "./tool-catalog-CDe8aNjS.js";
|
|
38
|
-
import "./chrome-
|
|
38
|
+
import "./chrome-F8yPeLCk.js";
|
|
39
39
|
import "./tailscale-DwvUI5Bb.js";
|
|
40
|
-
import "./auth-
|
|
41
|
-
import "./server-context-
|
|
42
|
-
import "./paths-
|
|
40
|
+
import "./auth-DeS7F6Hd.js";
|
|
41
|
+
import "./server-context-3YhieMNo.js";
|
|
42
|
+
import "./paths-B0fezTQW.js";
|
|
43
43
|
import "./redact-CYcs8rK6.js";
|
|
44
44
|
import "./errors-BMwPyScO.js";
|
|
45
|
-
import "./fs-safe-
|
|
46
|
-
import "./proxy-env-
|
|
47
|
-
import "./store-
|
|
48
|
-
import "./ports-
|
|
45
|
+
import "./fs-safe-nXGqHBF8.js";
|
|
46
|
+
import "./proxy-env-B9lqcBfU.js";
|
|
47
|
+
import "./store-GKlw8Qa-.js";
|
|
48
|
+
import "./ports-Do_Plo8C.js";
|
|
49
49
|
import "./trash-Dlgx3ady.js";
|
|
50
|
-
import "./server-middleware-
|
|
51
|
-
import "./tool-images-
|
|
50
|
+
import "./server-middleware-hZnQvs4T.js";
|
|
51
|
+
import "./tool-images-rmLnTSxP.js";
|
|
52
52
|
import "./thinking-BxCyPtl0.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-BUq1pLs3.js";
|
|
54
|
+
import "./model-catalog-D4hoiCav.js";
|
|
55
|
+
import "./fetch-BZWXCGP2.js";
|
|
56
|
+
import { _ as isAudioAttachment, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner--RGWC8nR.js";
|
|
57
|
+
import "./fetch-guard-BplMfPrm.js";
|
|
58
|
+
import "./image-BsWoO0mu.js";
|
|
59
59
|
import "./tool-display-sVaWRESD.js";
|
|
60
|
-
import "./api-key-rotation-
|
|
60
|
+
import "./api-key-rotation-D7ptHGeX.js";
|
|
61
61
|
import "./proxy-fetch-ReVzadXq.js";
|
|
62
62
|
|
|
63
63
|
//#region src/media-understanding/audio-preflight.ts
|
package/dist/{audio-transcription-runner-BEtb5Jme.js → audio-transcription-runner--RGWC8nR.js}
RENAMED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { a as logVerbose, c as shouldLogVerbose, k as resolvePreferredOpenClawTmpDir } from "./globals-BASCq52M.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-Dgxwr8Sa.js";
|
|
3
|
+
import { _ as resolveAgentModelPrimaryValue, g as resolveAgentModelFallbackValues } from "./agent-scope-YUWhK3d-.js";
|
|
4
4
|
import { n as runExec } from "./exec-BxfdQ5hH.js";
|
|
5
5
|
import { t as normalizeChatType } from "./chat-type-CfYBRycO.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-_2-6WZ4r.js";
|
|
7
7
|
import { i as formatUncaughtError, n as extractErrorCode, s as readErrorName, t as collectErrorGraphCandidates } from "./errors-BMwPyScO.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-D4hoiCav.js";
|
|
9
|
+
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-BZWXCGP2.js";
|
|
10
10
|
import { n as fetchWithTimeout } from "./fetch-timeout-COrrU_w2.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-BplMfPrm.js";
|
|
12
|
+
import { t as describeImageWithModel } from "./image-BsWoO0mu.js";
|
|
13
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-D7ptHGeX.js";
|
|
14
14
|
import { n as resolveProxyFetchFromEnv } from "./proxy-fetch-ReVzadXq.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 fs$1 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 fs$1.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 fs$1.writeFile(tmpPath, bufferResult.buffer);
|
|
500
500
|
entry.tempPath = tmpPath;
|
|
501
501
|
entry.tempCleanup = async () => {
|
|
502
|
-
await
|
|
502
|
+
await fs$1.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 fs$1.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 fs$1.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 fs$1.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 fs$1.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 fs$1.readFile(fileOutput, "utf8");
|
|
1241
1241
|
if (content.trim()) return content.trim();
|
|
1242
1242
|
} catch {}
|
|
1243
1243
|
if (commandId === "gemini") {
|
|
@@ -1546,10 +1546,10 @@ async function runCliEntry(params) {
|
|
|
1546
1546
|
timeoutMs
|
|
1547
1547
|
});
|
|
1548
1548
|
if (capability === "audio") assertMinAudioSize({
|
|
1549
|
-
size: (await
|
|
1549
|
+
size: (await fs$1.stat(pathResult.path)).size,
|
|
1550
1550
|
attachmentIndex: params.attachmentIndex
|
|
1551
1551
|
});
|
|
1552
|
-
const outputDir = await
|
|
1552
|
+
const outputDir = await fs$1.mkdtemp(path.join(resolvePreferredOpenClawTmpDir(), "openclaw-media-cli-"));
|
|
1553
1553
|
const mediaPath = pathResult.path;
|
|
1554
1554
|
const outputBase = path.join(outputDir, path.parse(mediaPath).name);
|
|
1555
1555
|
const templCtx = {
|
|
@@ -1583,7 +1583,7 @@ async function runCliEntry(params) {
|
|
|
1583
1583
|
model: command
|
|
1584
1584
|
};
|
|
1585
1585
|
} finally {
|
|
1586
|
-
await
|
|
1586
|
+
await fs$1.rm(outputDir, {
|
|
1587
1587
|
recursive: true,
|
|
1588
1588
|
force: true
|
|
1589
1589
|
}).catch(() => {});
|
|
@@ -1627,9 +1627,9 @@ function candidateBinaryNames(name) {
|
|
|
1627
1627
|
}
|
|
1628
1628
|
async function isExecutable(filePath) {
|
|
1629
1629
|
try {
|
|
1630
|
-
if (!(await
|
|
1630
|
+
if (!(await fs$1.stat(filePath)).isFile()) return false;
|
|
1631
1631
|
if (process.platform === "win32") return true;
|
|
1632
|
-
await
|
|
1632
|
+
await fs$1.access(filePath, constants.X_OK);
|
|
1633
1633
|
return true;
|
|
1634
1634
|
} catch {
|
|
1635
1635
|
return false;
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import { g as resolveStateDir, m as resolveOAuthDir, o as resolveConfigPath } from "./paths-D4kNqSu9.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-Dgxwr8Sa.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-Bu77oTl0.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-YUWhK3d-.js";
|
|
5
5
|
import { c as normalizeAgentId } from "./session-key-BLprDJYq.js";
|
|
6
6
|
import { x as shortenHomePath } from "./utils-Dwy0Sy1G.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-D1Y5hoq2.js";
|
|
9
|
+
import { l as normalizeStringEntries } from "./dock-CslXtXH_.js";
|
|
10
|
+
import { i as loadWorkspaceSkillEntries } from "./skills-CDZAo2Sd.js";
|
|
11
11
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DuRP9JPi.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-DPspmGax.js";
|
|
13
|
+
import { t as GatewayClient } from "./client-Ct3INy6Q.js";
|
|
14
|
+
import { c as READ_SCOPE, t as buildGatewayConnectionDetails } from "./call-BxxjyXST.js";
|
|
15
15
|
import { t as resolveGatewayCredentialsFromConfig } from "./credentials-DfK6Oke5.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-ClasEjRW.js";
|
|
17
|
+
import { a as resolveGatewayAuth } from "./auth-DeS7F6Hd.js";
|
|
18
|
+
import { a as resolveProfile, c as resolveBrowserControlAuth, i as resolveBrowserConfig } from "./server-context-3YhieMNo.js";
|
|
19
19
|
import { r as formatErrorMessage } from "./errors-BMwPyScO.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-BfybDm-q.js";
|
|
21
|
+
import { a as resolveNativeSkillsEnabled, i as resolveNativeCommandsEnabled } from "./commands-NkZDaV9a.js";
|
|
22
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-B27cuhBQ.js";
|
|
23
|
+
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-x94RXrLL.js";
|
|
24
|
+
import { l as resolveDmAllowState, n as isToolAllowedByPolicies, o as pickSandboxToolPolicy } from "./pi-tools.policy-DwPGGCBG.js";
|
|
25
25
|
import { n as isDangerousNameMatchingEnabled } from "./dangerous-name-matching-CAHqhE34.js";
|
|
26
26
|
import { n as DEFAULT_GATEWAY_HTTP_TOOL_DENY } from "./dangerous-tools-lwpZk6nY.js";
|
|
27
27
|
import { t as resolveChannelDefaultAccountId } from "./helpers-D6BlzJnx.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-D7WuF5Sb.js";
|
|
29
|
+
import { r as resolveNodeCommandAllowlist, t as DEFAULT_DANGEROUS_NODE_COMMANDS } from "./node-command-policy-DDNdYXwK.js";
|
|
30
30
|
import { c as normalizeTelegramAllowFromEntry, s as isNumericTelegramUserId, t as isDiscordMutableAllowEntry } from "./mutable-allowlist-detectors-DiZDtmlZ.js";
|
|
31
31
|
import { t as inferParamBFromIdOrName } from "./model-param-b-NJsgH2EF.js";
|
|
32
32
|
import path from "node:path";
|
|
33
33
|
import JSON5 from "json5";
|
|
34
|
-
import * as fs from "node:fs/promises";
|
|
35
|
-
import
|
|
34
|
+
import * as fs$1 from "node:fs/promises";
|
|
35
|
+
import fs from "node:fs/promises";
|
|
36
36
|
import { randomUUID } from "node:crypto";
|
|
37
37
|
import { isIP } from "node:net";
|
|
38
38
|
|
|
@@ -1303,7 +1303,7 @@ async function collectIncludePathsRecursive(params) {
|
|
|
1303
1303
|
if (visited.has(resolved)) continue;
|
|
1304
1304
|
visited.add(resolved);
|
|
1305
1305
|
result.push(resolved);
|
|
1306
|
-
const rawText = await fs.readFile(resolved, "utf-8").catch(() => null);
|
|
1306
|
+
const rawText = await fs$1.readFile(resolved, "utf-8").catch(() => null);
|
|
1307
1307
|
if (!rawText) continue;
|
|
1308
1308
|
const nestedParsed = (() => {
|
|
1309
1309
|
try {
|
|
@@ -1338,7 +1338,7 @@ function expandTilde(p, env) {
|
|
|
1338
1338
|
}
|
|
1339
1339
|
async function readPluginManifestExtensions(pluginPath) {
|
|
1340
1340
|
const manifestPath = path.join(pluginPath, "package.json");
|
|
1341
|
-
const raw = await
|
|
1341
|
+
const raw = await fs.readFile(manifestPath, "utf-8").catch(() => "");
|
|
1342
1342
|
if (!raw.trim()) return [];
|
|
1343
1343
|
const extensions = JSON.parse(raw)?.[MANIFEST_KEY]?.extensions;
|
|
1344
1344
|
if (!Array.isArray(extensions)) return [];
|
|
@@ -1360,7 +1360,7 @@ async function listInstalledPluginDirs(params) {
|
|
|
1360
1360
|
};
|
|
1361
1361
|
return {
|
|
1362
1362
|
extensionsDir,
|
|
1363
|
-
pluginDirs: (await
|
|
1363
|
+
pluginDirs: (await fs.readdir(extensionsDir, { withFileTypes: true }).catch((err) => {
|
|
1364
1364
|
params.onReadError?.(err);
|
|
1365
1365
|
return [];
|
|
1366
1366
|
})).filter((entry) => entry.isDirectory()).map((entry) => entry.name).filter(Boolean)
|
|
@@ -1423,7 +1423,7 @@ function isPinnedRegistrySpec(spec) {
|
|
|
1423
1423
|
}
|
|
1424
1424
|
async function readInstalledPackageVersion(dir) {
|
|
1425
1425
|
try {
|
|
1426
|
-
const raw = await
|
|
1426
|
+
const raw = await fs.readFile(path.join(dir, "package.json"), "utf-8");
|
|
1427
1427
|
const parsed = JSON.parse(raw);
|
|
1428
1428
|
return typeof parsed.version === "string" ? parsed.version : void 0;
|
|
1429
1429
|
} catch {
|
|
@@ -1459,10 +1459,10 @@ async function listWorkspaceSkillMarkdownFiles(workspaceDir) {
|
|
|
1459
1459
|
const visitedDirs = /* @__PURE__ */ new Set();
|
|
1460
1460
|
while (queue.length > 0 && skillFiles.length < MAX_WORKSPACE_SKILL_SCAN_FILES_PER_WORKSPACE) {
|
|
1461
1461
|
const dir = queue.shift();
|
|
1462
|
-
const dirRealPath = await
|
|
1462
|
+
const dirRealPath = await fs.realpath(dir).catch(() => path.resolve(dir));
|
|
1463
1463
|
if (visitedDirs.has(dirRealPath)) continue;
|
|
1464
1464
|
visitedDirs.add(dirRealPath);
|
|
1465
|
-
const entries = await
|
|
1465
|
+
const entries = await fs.readdir(dir, { withFileTypes: true }).catch(() => []);
|
|
1466
1466
|
for (const entry of entries) {
|
|
1467
1467
|
if (entry.name.startsWith(".") || entry.name === "node_modules") continue;
|
|
1468
1468
|
const fullPath = path.join(dir, entry.name);
|
|
@@ -1471,7 +1471,7 @@ async function listWorkspaceSkillMarkdownFiles(workspaceDir) {
|
|
|
1471
1471
|
continue;
|
|
1472
1472
|
}
|
|
1473
1473
|
if (entry.isSymbolicLink()) {
|
|
1474
|
-
const stat = await
|
|
1474
|
+
const stat = await fs.stat(fullPath).catch(() => null);
|
|
1475
1475
|
if (!stat) continue;
|
|
1476
1476
|
if (stat.isDirectory()) {
|
|
1477
1477
|
queue.push(fullPath);
|
|
@@ -1759,13 +1759,13 @@ async function collectWorkspaceSkillSymlinkEscapeFindings(params) {
|
|
|
1759
1759
|
const seenSkillPaths = /* @__PURE__ */ new Set();
|
|
1760
1760
|
for (const workspaceDir of workspaceDirs) {
|
|
1761
1761
|
const workspacePath = path.resolve(workspaceDir);
|
|
1762
|
-
const workspaceRealPath = await
|
|
1762
|
+
const workspaceRealPath = await fs.realpath(workspacePath).catch(() => workspacePath);
|
|
1763
1763
|
const skillFilePaths = await listWorkspaceSkillMarkdownFiles(workspacePath);
|
|
1764
1764
|
for (const skillFilePath of skillFilePaths) {
|
|
1765
1765
|
const canonicalSkillPath = path.resolve(skillFilePath);
|
|
1766
1766
|
if (seenSkillPaths.has(canonicalSkillPath)) continue;
|
|
1767
1767
|
seenSkillPaths.add(canonicalSkillPath);
|
|
1768
|
-
const skillRealPath = await
|
|
1768
|
+
const skillRealPath = await fs.realpath(canonicalSkillPath).catch(() => null);
|
|
1769
1769
|
if (!skillRealPath) continue;
|
|
1770
1770
|
if (isPathInside(workspaceRealPath, skillRealPath)) continue;
|
|
1771
1771
|
escapedSkillFiles.push({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as safeEqualSecret } from "./secret-equal-CzmdvIUc.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-B1yWST2Q.js";
|
|
3
3
|
import { n as resolveGatewayCredentialsFromValues } from "./credentials-DfK6Oke5.js";
|
|
4
4
|
import { c as readTailscaleWhoisIdentity } from "./tailscale-DwvUI5Bb.js";
|
|
5
5
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Bn as listProfilesForProvider, Br as VENICE_DEFAULT_MODEL_REF, Kn as ensureAuthProfileStore, Un as upsertAuthProfile, _i as isHuggingfacePolicyLocked, br as resolveDefaultModelForAgent, d as exchangeChutesCodeForTokens, er as resolveOpenClawAgentDir, f as generateChutesPkce, gi as discoverHuggingfaceModels, n as resolveAuthProfileOrder, p as parseOAuthCallbackInput, qr as SYNTHETIC_DEFAULT_MODEL_REF, ri as getCustomProviderApiKey, si as resolveEnvApiKey, u as CHUTES_AUTHORIZE_ENDPOINT, vi as CLOUDFLARE_AI_GATEWAY_DEFAULT_MODEL_REF, wi as KILOCODE_DEFAULT_MODEL_REF } from "./auth-profiles-
|
|
3
|
-
import { a as resolveAgentDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir, v as toAgentModelListLike } from "./agent-scope-
|
|
4
|
-
import { h as resolveDefaultAgentWorkspaceDir } from "./workspace-
|
|
5
|
-
import { r as isLoopbackHost } from "./net-
|
|
6
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
7
|
-
import { f as openUrl } from "./onboard-helpers-
|
|
2
|
+
import { Bn as listProfilesForProvider, Br as VENICE_DEFAULT_MODEL_REF, Kn as ensureAuthProfileStore, Un as upsertAuthProfile, _i as isHuggingfacePolicyLocked, br as resolveDefaultModelForAgent, d as exchangeChutesCodeForTokens, er as resolveOpenClawAgentDir, f as generateChutesPkce, gi as discoverHuggingfaceModels, n as resolveAuthProfileOrder, p as parseOAuthCallbackInput, qr as SYNTHETIC_DEFAULT_MODEL_REF, ri as getCustomProviderApiKey, si as resolveEnvApiKey, u as CHUTES_AUTHORIZE_ENDPOINT, vi as CLOUDFLARE_AI_GATEWAY_DEFAULT_MODEL_REF, wi as KILOCODE_DEFAULT_MODEL_REF } from "./auth-profiles-Dgxwr8Sa.js";
|
|
3
|
+
import { a as resolveAgentDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir, v as toAgentModelListLike } from "./agent-scope-YUWhK3d-.js";
|
|
4
|
+
import { h as resolveDefaultAgentWorkspaceDir } from "./workspace-D3Bd1Wd-.js";
|
|
5
|
+
import { r as isLoopbackHost } from "./net-B1yWST2Q.js";
|
|
6
|
+
import { n as loadModelCatalog } from "./model-catalog-D4hoiCav.js";
|
|
7
|
+
import { f as openUrl } from "./onboard-helpers-D37MuS-y.js";
|
|
8
8
|
import { o as BITSEEK_DEFAULT_MODEL_REF } from "./constants-By6nxsIT.js";
|
|
9
|
-
import { t as enablePluginInConfig } from "./enable-
|
|
10
|
-
import { $ as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, A as applySyntheticConfig, At as QIANFAN_DEFAULT_MODEL_REF, B as applyZaiConfig, C as applyMoonshotConfigCn, Ct as setXaiApiKey, D as applyOpenrouterProviderConfig, Dt as KIMI_CODING_MODEL_REF, E as applyOpenrouterConfig, Et as writeOAuthCredentials, F as applyVeniceProviderConfig, G as applyCloudflareAiGatewayProviderConfig, H as applyLitellmConfig, I as applyXaiConfig, J as applyAgentDefaultModelPrimary, K as applyVercelAiGatewayConfig, L as applyXaiProviderConfig, M as applyTogetherConfig, N as applyTogetherProviderConfig, O as applyQianfanConfig, Ot as MISTRAL_DEFAULT_MODEL_REF, P as applyVeniceConfig, Q as TOGETHER_DEFAULT_MODEL_REF, R as applyXiaomiConfig, S as applyMoonshotConfig, St as setVolcengineApiKey, T as applyMoonshotProviderConfigCn, Tt as setZaiApiKey, U as applyLitellmProviderConfig, V as applyZaiProviderConfig, W as applyCloudflareAiGatewayConfig, X as LITELLM_DEFAULT_MODEL_REF, Y as HUGGINGFACE_DEFAULT_MODEL_REF, Z as OPENROUTER_DEFAULT_MODEL_REF, _ as applyKilocodeProviderConfig, _t as setQianfanApiKey, a as applyMinimaxApiConfig, at as setCloudflareAiGatewayConfig, b as applyMistralConfig, bt as setVeniceApiKey, c as applyMinimaxApiProviderConfigCn, ct as setKilocodeApiKey, d as applyAuthProfileConfig, dt as setMinimaxApiKey, et as XIAOMI_DEFAULT_MODEL_REF, f as applyBitseekConfig, ft as setMistralApiKey, g as applyKilocodeConfig, gt as setOpenrouterApiKey, h as applyHuggingfaceProviderConfig, ht as setOpencodeZenApiKey, i as applyOpencodeZenProviderConfig, it as setByteplusApiKey, j as applySyntheticProviderConfig, jt as XAI_DEFAULT_MODEL_REF, k as applyQianfanProviderConfig, kt as MOONSHOT_DEFAULT_MODEL_REF, l as applyMinimaxConfig, lt as setKimiCodingApiKey, mt as setOpenaiApiKey, n as validateAnthropicSetupToken, nt as setAnthropicApiKey, o as applyMinimaxApiConfigCn, ot as setGeminiApiKey, p as applyBitseekProviderConfig, pt as setMoonshotApiKey, q as applyVercelAiGatewayProviderConfig, r as applyOpencodeZenConfig, rt as setBitseekApiKey, s as applyMinimaxApiProviderConfig, st as setHuggingfaceApiKey, t as buildTokenProfileId, tt as ZAI_DEFAULT_MODEL_REF, u as applyMinimaxProviderConfig, ut as setLitellmApiKey, v as applyKimiCodeConfig, vt as setSyntheticApiKey, w as applyMoonshotProviderConfig, wt as setXiaomiApiKey, x as applyMistralProviderConfig, xt as setVercelAiGatewayApiKey, y as applyKimiCodeProviderConfig, yt as setTogetherApiKey, z as applyXiaomiProviderConfig } from "./auth-token-
|
|
11
|
-
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
12
|
-
import { a as normalizeSecretInputModeInput, c as ensureModelAllowlistEntry, i as ensureApiKeyFromOptionEnvOrPrompt, l as normalizeApiKeyInput, n as createAuthChoiceDefaultModelApplierForMutableState, o as normalizeTokenProviderInput, s as applyDefaultModelChoice, t as createAuthChoiceAgentModelNoter, u as validateApiKeyInput } from "./auth-choice.apply-helpers-
|
|
13
|
-
import { a as GOOGLE_GEMINI_DEFAULT_MODEL, i as detectZaiEndpoint, n as applyOpenAIConfig, o as applyGoogleGeminiModelDefault, r as applyOpenAIProviderConfig, t as OPENAI_DEFAULT_MODEL } from "./openai-model-default-
|
|
14
|
-
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-
|
|
9
|
+
import { t as enablePluginInConfig } from "./enable-rsx0VIgO.js";
|
|
10
|
+
import { $ as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, A as applySyntheticConfig, At as QIANFAN_DEFAULT_MODEL_REF, B as applyZaiConfig, C as applyMoonshotConfigCn, Ct as setXaiApiKey, D as applyOpenrouterProviderConfig, Dt as KIMI_CODING_MODEL_REF, E as applyOpenrouterConfig, Et as writeOAuthCredentials, F as applyVeniceProviderConfig, G as applyCloudflareAiGatewayProviderConfig, H as applyLitellmConfig, I as applyXaiConfig, J as applyAgentDefaultModelPrimary, K as applyVercelAiGatewayConfig, L as applyXaiProviderConfig, M as applyTogetherConfig, N as applyTogetherProviderConfig, O as applyQianfanConfig, Ot as MISTRAL_DEFAULT_MODEL_REF, P as applyVeniceConfig, Q as TOGETHER_DEFAULT_MODEL_REF, R as applyXiaomiConfig, S as applyMoonshotConfig, St as setVolcengineApiKey, T as applyMoonshotProviderConfigCn, Tt as setZaiApiKey, U as applyLitellmProviderConfig, V as applyZaiProviderConfig, W as applyCloudflareAiGatewayConfig, X as LITELLM_DEFAULT_MODEL_REF, Y as HUGGINGFACE_DEFAULT_MODEL_REF, Z as OPENROUTER_DEFAULT_MODEL_REF, _ as applyKilocodeProviderConfig, _t as setQianfanApiKey, a as applyMinimaxApiConfig, at as setCloudflareAiGatewayConfig, b as applyMistralConfig, bt as setVeniceApiKey, c as applyMinimaxApiProviderConfigCn, ct as setKilocodeApiKey, d as applyAuthProfileConfig, dt as setMinimaxApiKey, et as XIAOMI_DEFAULT_MODEL_REF, f as applyBitseekConfig, ft as setMistralApiKey, g as applyKilocodeConfig, gt as setOpenrouterApiKey, h as applyHuggingfaceProviderConfig, ht as setOpencodeZenApiKey, i as applyOpencodeZenProviderConfig, it as setByteplusApiKey, j as applySyntheticProviderConfig, jt as XAI_DEFAULT_MODEL_REF, k as applyQianfanProviderConfig, kt as MOONSHOT_DEFAULT_MODEL_REF, l as applyMinimaxConfig, lt as setKimiCodingApiKey, mt as setOpenaiApiKey, n as validateAnthropicSetupToken, nt as setAnthropicApiKey, o as applyMinimaxApiConfigCn, ot as setGeminiApiKey, p as applyBitseekProviderConfig, pt as setMoonshotApiKey, q as applyVercelAiGatewayProviderConfig, r as applyOpencodeZenConfig, rt as setBitseekApiKey, s as applyMinimaxApiProviderConfig, st as setHuggingfaceApiKey, t as buildTokenProfileId, tt as ZAI_DEFAULT_MODEL_REF, u as applyMinimaxProviderConfig, ut as setLitellmApiKey, v as applyKimiCodeConfig, vt as setSyntheticApiKey, w as applyMoonshotProviderConfig, wt as setXiaomiApiKey, x as applyMistralProviderConfig, xt as setVercelAiGatewayApiKey, y as applyKimiCodeProviderConfig, yt as setTogetherApiKey, z as applyXiaomiProviderConfig } from "./auth-token-BYBDbosA.js";
|
|
11
|
+
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-59RRb092.js";
|
|
12
|
+
import { a as normalizeSecretInputModeInput, c as ensureModelAllowlistEntry, i as ensureApiKeyFromOptionEnvOrPrompt, l as normalizeApiKeyInput, n as createAuthChoiceDefaultModelApplierForMutableState, o as normalizeTokenProviderInput, s as applyDefaultModelChoice, t as createAuthChoiceAgentModelNoter, u as validateApiKeyInput } from "./auth-choice.apply-helpers-Cjj-3bz6.js";
|
|
13
|
+
import { a as GOOGLE_GEMINI_DEFAULT_MODEL, i as detectZaiEndpoint, n as applyOpenAIConfig, o as applyGoogleGeminiModelDefault, r as applyOpenAIProviderConfig, t as OPENAI_DEFAULT_MODEL } from "./openai-model-default-DYxdi5ZX.js";
|
|
14
|
+
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-C52jOYls.js";
|
|
15
15
|
import { r as runOpenAIOAuthTlsPreflight, t as formatOpenAIOAuthTlsPreflightFix } from "./oauth-tls-preflight-CECFitV-.js";
|
|
16
16
|
import { loginOpenAICodex } from "@mariozechner/pi-ai";
|
|
17
17
|
import { randomBytes } from "node:crypto";
|