@bitseek/claw 1.2.9 → 1.3.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-2NNZ6Hbp.js → accounts-B3zSNWIv.js} +1 -1
- package/dist/{accounts-Cv5CUnT4.js → accounts-BQHz8_1_.js} +7 -7
- package/dist/{accounts-NHpMJ0aq.js → accounts-DTfEeXyO.js} +1 -1
- package/dist/{acp-cli-CyPiQ0lt.js → acp-cli-C24-lylb.js} +8 -8
- package/dist/{agent-scope-CY2-lUIY.js → agent-scope-CJelRKYY.js} +1 -1
- package/dist/{agents-BC3wwrO-.js → agents-Sp-v-_mR.js} +15 -15
- package/dist/{agents.config-CeG5P331.js → agents.config-C6zkqXkX.js} +2 -2
- package/dist/{api-key-rotation-Cf7QM5M_.js → api-key-rotation-xfk-b2Sv.js} +1 -1
- package/dist/{audio-preflight-iuCPDl1D.js → audio-preflight-Dl40LQzr.js} +36 -36
- package/dist/{audio-transcription-runner-CGADiTRL.js → audio-transcription-runner-jiDE7Pt8.js} +22 -22
- package/dist/{audit-Bjz6AFn-.js → audit-Bgu8Ommg.js} +29 -29
- package/dist/{auth-anvTU0Sb.js → auth-B3HDYw4G.js} +1 -1
- package/dist/{auth-choice-Co_Dl_bs.js → auth-choice-DYXCDlGW.js} +14 -14
- package/dist/{auth-choice-Dx1VT2I8.js → auth-choice-lzACBXDv.js} +12 -12
- package/dist/{auth-choice.apply-helpers-Du585kvU.js → auth-choice.apply-helpers-DR-eUj_5.js} +1 -1
- package/dist/{auth-profiles-CyG9VwU_.js → auth-profiles-D_x1_5v_.js} +16 -16
- package/dist/{auth-token-Cfvmvs2X.js → auth-token-BDQ5b9Wx.js} +1 -1
- package/dist/{banner-7O0OkDQ4.js → banner-CYVM4p3E.js} +2 -2
- package/dist/{bindings-DGvp9FdD.js → bindings-Hx6KNJeg.js} +1 -1
- package/dist/{bonjour-discovery-Dv9UQh6g.js → bonjour-discovery-DiHs5j0y.js} +1 -1
- package/dist/{browser-cli-C1OEYX9g.js → browser-cli-BMupJSz_.js} +12 -12
- package/dist/build-info.json +3 -3
- package/dist/{call-CmAGfSJE.js → call-CzoM7hPS.js} +10 -10
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-BrHQ7XHF.js → channel-account-context-BV3Q0XnD.js} +5 -5
- package/dist/{channel-options-BnZ1nSBu.js → channel-options-Cn6pNgzb.js} +3 -3
- package/dist/{channel-selection-DGtYwfd7.js → channel-selection-D8KYuWir.js} +1 -1
- package/dist/{channel-web-lHPdbnjv.js → channel-web-TsD9bdWt.js} +18 -18
- package/dist/{channels-cli-DEE_p7e9.js → channels-cli-DA8sLqQk.js} +95 -95
- package/dist/{channels-status-issues-BWcKByy7.js → channels-status-issues-CCNiQcg9.js} +1 -1
- package/dist/{chrome-DeZyLFsG.js → chrome-DuDCGdf-.js} +4 -4
- package/dist/{clawbot-cli-C6oL4o77.js → clawbot-cli-COQB6-NK.js} +5 -5
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-CD5xP9w9.js → cli-DIs0fL3W.js} +76 -76
- package/dist/{client-vUKV2o6h.js → client-BvL3EdiZ.js} +2 -2
- package/dist/{command-registry-B41say0S.js → command-registry-DcARoFp5.js} +13 -13
- package/dist/{commands-d8L0zY8O.js → commands-C67IbXs7.js} +1 -1
- package/dist/{commands-registry-C78O6aNi.js → commands-registry-D0_D5hFV.js} +3 -3
- package/dist/{completion-cli-DSxTjQik.js → completion-cli-DRUvmQGG.js} +13 -13
- package/dist/{completion-cli-BuLkcc9o.js → completion-cli-cJxeCv4O.js} +1 -1
- package/dist/{config-cli-BMtY1oFI.js → config-cli-Dh9rvUxe.js} +7 -7
- package/dist/{config-guard-Bztdn_pu.js → config-guard-CcE0LvHm.js} +3 -3
- package/dist/{config-validation-CAkiRwLK.js → config-validation-DO7QURfM.js} +3 -3
- package/dist/{configure-Dz9z2cyD.js → configure-BYFIF9Sz.js} +17 -17
- package/dist/control-ui/assets/{index-puDi2eTY.js → index-DeYOAwUj.js} +80 -80
- package/dist/control-ui/assets/index-DeYOAwUj.js.map +1 -0
- package/dist/control-ui/index.html +1 -1
- package/dist/{control-ui-assets-BGvtXBkm.js → control-ui-assets-Dx8wiZQ_.js} +1 -1
- package/dist/{cron-cli-nslB2EKF.js → cron-cli-xl75rAFd.js} +12 -12
- package/dist/{daemon-cli-D8I8RTf0.js → daemon-cli-BSy0rtO2.js} +15 -15
- package/dist/{daemon-install-CKree1OU.js → daemon-install-d2OYSlQz.js} +4 -4
- package/dist/{daemon-install-helpers-CBCbs7y1.js → daemon-install-helpers-D28keNLu.js} +11 -11
- package/dist/{dashboard-dc7KG5Fm.js → dashboard-DXvihe_P.js} +2 -2
- package/dist/{deliver-BRwFsEUd.js → deliver-Df8pSQk6.js} +7 -7
- package/dist/{devices-cli-jakb5Fk0.js → devices-cli-D6CoUTi_.js} +8 -8
- package/dist/{diagnostic-DjxUqpmL.js → diagnostic-Bvatw1Xn.js} +1 -1
- package/dist/{diagnostics-DR9Z0mN5.js → diagnostics-ABz8E7c-.js} +5 -5
- package/dist/{directory-cli-3FgAtenS.js → directory-cli-Dkil59xj.js} +8 -8
- package/dist/{dns-cli-DUsjD4em.js → dns-cli-CJydclW8.js} +5 -5
- package/dist/{dock-CoclJnwp.js → dock-DT8sACcR.js} +4 -4
- package/dist/{docs-cli-CpIeooaU.js → docs-cli-BkufgU5Y.js} +4 -4
- package/dist/{doctor-completion-BSR7Om4e.js → doctor-completion-BPXyoyKn.js} +2 -2
- package/dist/{doctor-completion-BIt5xBwC.js → doctor-completion-COhnnC7x.js} +1 -1
- package/dist/{doctor-config-flow-DUdUJgfq.js → doctor-config-flow-BrXA2e34.js} +15 -15
- package/dist/{enable-BNycqpJc.js → enable-CinNZxRH.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{exec-approvals-allowlist-CFjPSbxI.js → exec-approvals-allowlist-B4DS6FIn.js} +1 -1
- package/dist/{exec-approvals-cli-D8lFWgJj.js → exec-approvals-cli-Cani2Hjk.js} +16 -16
- package/dist/{exec-safe-bin-runtime-policy-CpMj95vJ.js → exec-safe-bin-runtime-policy-BP6ImlkB.js} +2 -2
- package/dist/{fetch-DOjg912W.js → fetch-DC-NMnAU.js} +3 -3
- package/dist/{fetch-guard-Csbz9pui.js → fetch-guard-B62rgaSw.js} +1 -1
- package/dist/{fs-safe-BqJ9egpm.js → fs-safe-CJDtl_QU.js} +24 -24
- package/dist/{gateway-cli-VrzgkvsB.js → gateway-cli-9UPhizyo.js} +181 -161
- package/dist/{gateway-cli-CanylfLh.js → gateway-cli-BHpfj2p-.js} +21 -1
- package/dist/{gateway-rpc-B5Spvviy.js → gateway-rpc-C7KYwonl.js} +1 -1
- package/dist/{health-D4cJIlo7.js → health-CWmeMvVp.js} +14 -14
- package/dist/{hooks-cli-BPg6BqOl.js → hooks-cli-DzvdmY1Z.js} +84 -84
- package/dist/{hooks-status-6tcOdcYp.js → hooks-status-DE20AAEu.js} +1 -1
- package/dist/{image-CI4JYwnc.js → image-UpBiPNsk.js} +5 -5
- package/dist/{image-ops-B2L37gT8.js → image-ops-BGTBZMuE.js} +10 -10
- package/dist/index.js +1 -1
- package/dist/{inspect-BzuEXYfa.js → inspect-Bmurt9te.js} +4 -4
- package/dist/{install-safe-path-C8QJ5yjB.js → install-safe-path-BB9b_AvF.js} +25 -25
- package/dist/{installs-CWbEA1d1.js → installs-BXcYytvn.js} +9 -9
- package/dist/{ipv4-DQS0lTwQ.js → ipv4-BB1Ro6so.js} +1 -1
- package/dist/{ir-CEwBpxhC.js → ir-DziC-P4Z.js} +6 -6
- package/dist/{issue-format-D8MobWNt.js → issue-format-DF2YB-kZ.js} +1 -1
- package/dist/{json-files-rR19q30D.js → json-files-CuJjdF_0.js} +8 -8
- package/dist/{lifecycle-core-CiAE4s92.js → lifecycle-core-CJd181-h.js} +5 -5
- package/dist/{login-CdHg3Emc.js → login-C_YjM9eH.js} +3 -3
- package/dist/{login-qr-DXecO0Tb.js → login-qr-DujJqOuy.js} +6 -6
- package/dist/{logs-cli-D8UCmwyR.js → logs-cli-Bc1A5X-r.js} +9 -9
- package/dist/{manager-DWpiNvlg.js → manager-7hZXEYTj.js} +14 -14
- package/dist/{manifest-registry-CBF8Vfz8.js → manifest-registry-Kbw8YPsZ.js} +1 -1
- package/dist/{markdown-tables-DQlQMRGZ.js → markdown-tables-BYHgyUjA.js} +1 -1
- package/dist/{memory-cli-BUrf60e_.js → memory-cli-CuT-iG2F.js} +12 -12
- package/dist/{model-DMZUvZJo.js → model-DmBmzJI6.js} +2 -2
- package/dist/{model-catalog-DFi9HgWu.js → model-catalog-D1X8r3WJ.js} +3 -3
- package/dist/{model-picker-Dt7Rl38k.js → model-picker-C56N_rW7.js} +4 -4
- package/dist/{models-CukrcW4u.js → models-C21qhHIB.js} +18 -18
- package/dist/{models-cli-DTjBGjrI.js → models-cli-CMETQ9Wy.js} +81 -81
- package/dist/{models-config-AePb9RAo.js → models-config-CmrBGsQs.js} +6 -6
- package/dist/{net-C75G4fup.js → net-BXeYv7Iu.js} +2 -2
- package/dist/{node-cli-D4Tj8JOq.js → node-cli-DSoqxwqZ.js} +33 -33
- package/dist/{node-command-policy-BZq5AebG.js → node-command-policy-pJ6IPNBA.js} +1 -1
- package/dist/{node-service-B0FIwOsW.js → node-service-DUUObpwl.js} +1 -1
- package/dist/{nodes-cli-DL-855N8.js → nodes-cli-BKGcOJ8A.js} +16 -16
- package/dist/{nodes-screen-BHwVUMr8.js → nodes-screen-DcxCMjOs.js} +7 -7
- package/dist/{npm-pack-install-qErvgXGZ.js → npm-pack-install-D5pJ8KzT.js} +18 -18
- package/dist/{npm-resolution-C_FZOBlT.js → npm-resolution-BAwDXgj5.js} +5 -5
- package/dist/{onboard-B-f5pmgG.js → onboard-Yx-4UNLx.js} +1 -1
- package/dist/{onboard-channels-DGipWl1h.js → onboard-channels-B59K9VZH.js} +20 -20
- package/dist/{onboard-custom-B5F-69pM.js → onboard-custom-CZR1K96w.js} +3 -3
- package/dist/{onboard-custom.shared-CBgv6y4h.js → onboard-custom.shared-B9NXcXpv.js} +2 -2
- package/dist/{onboard-helpers-D8lLbK3A.js → onboard-helpers-CczYNQDJ.js} +11 -11
- package/dist/{onboard-hooks-DBif0Jq8.js → onboard-hooks-o0B0p8tR.js} +4 -4
- package/dist/{onboard-DktYC_iu.js → onboard-lxDPoEX0.js} +6 -6
- package/dist/{onboard-remote-loJ1Jn9Q.js → onboard-remote-DtLQyBJB.js} +3 -3
- package/dist/{onboard-skills-JtcIUHsb.js → onboard-skills-Brzj5oDF.js} +4 -4
- package/dist/{onboarding-Kp0zZunD.js → onboarding-BuP_R-4K.js} +1 -1
- package/dist/{onboarding-D0IraL8k.js → onboarding-C1V78UtY.js} +13 -13
- package/dist/{onboarding.finalize-DHitw2tg.js → onboarding.finalize--jtLHdXd.js} +89 -89
- package/dist/{onboarding.finalize-CJ23anMx.js → onboarding.finalize-f-QjMD-6.js} +3 -3
- package/dist/{onboarding.gateway-config-uLDVSdpl.js → onboarding.gateway-config-D-gZxjbU.js} +18 -18
- package/dist/{openai-model-default-B1Dlue6a.js → openai-model-default-BNYNbslY.js} +2 -2
- package/dist/{outbound-BZyqP8d-.js → outbound-_RTZSBES.js} +4 -4
- package/dist/{outbound-attachment-DM-h2uQ1.js → outbound-attachment-CXINK8df.js} +2 -2
- package/dist/{pairing-cli-DR836bYa.js → pairing-cli-DiKgOlKC.js} +9 -9
- package/dist/{pairing-labels-x4akYNb7.js → pairing-labels-CFSUHOmk.js} +1 -1
- package/dist/{pairing-store-rFuiIoGM.js → pairing-store-BfzlN-z9.js} +3 -3
- package/dist/{path-alias-guards-laKq24fx.js → path-alias-guards-Cg9ZP1NN.js} +3 -3
- package/dist/{path-safety-Cr4WZsHE.js → path-safety-__ACzYqx.js} +1 -1
- package/dist/{paths-B_L2Zoe-.js → paths-BjoSX1aC.js} +9 -9
- package/dist/{pi-embedded-helpers-CEMPdfif.js → pi-embedded-helpers-CrD8I6qf.js} +6 -6
- package/dist/{pi-model-discovery-RrejIg26.js → pi-model-discovery-BZ2RCD_u.js} +1 -1
- package/dist/{pi-tools.policy-dUeXHcQL.js → pi-tools.policy-upaoJyu4.js} +5 -5
- package/dist/{plugin-auto-enable-S_lBQAKI.js → plugin-auto-enable-DER6qA6X.js} +3 -3
- package/dist/{plugin-registry-CIUGSWLT.js → plugin-registry-CA1t0UeN.js} +3 -3
- package/dist/{plugins-cli-DnLeUBfn.js → plugins-cli-Cidq7nJb.js} +86 -86
- package/dist/{plugins-C4cYqW07.js → plugins-vsjS_m58.js} +2 -2
- package/dist/{ports-DRaxdQmm.js → ports-sCOQUaAP.js} +2 -2
- package/dist/{ports-tfS1haOJ.js → ports-zWusnrvP.js} +1 -1
- package/dist/{program-3T_oL3TY.js → program-DAVrzhs2.js} +84 -84
- package/dist/{program-context-D2U9PEv9.js → program-context-CroeAMEq.js} +6 -6
- package/dist/{prompt-select-styled-Bir77erd.js → prompt-select-styled-Dbko_Q7s.js} +1 -1
- package/dist/{prompt-select-styled-BylOR7bV.js → prompt-select-styled-Du3ff0sT.js} +39 -39
- package/dist/{provider-auth-helpers-BEFKXIJE.js → provider-auth-helpers-B4nCFlNS.js} +5 -5
- package/dist/{proxy-env-BoopXu2J.js → proxy-env-BQIJPH4j.js} +1 -1
- package/dist/{push-apns-sUecrS7L.js → push-apns-BSwx-wiI.js} +5 -5
- package/dist/{pw-ai-CG7D8D2P.js → pw-ai-BeJ_96rV.js} +15 -15
- package/dist/{qmd-manager-Bo22w5wm.js → qmd-manager-BNohLpRA.js} +20 -20
- package/dist/{qr-cli-DiKa2ySu.js → qr-cli-CCHyao8J.js} +1 -1
- package/dist/{query-expansion-Ba9OpCm9.js → query-expansion-BrM3X6-L.js} +12 -12
- package/dist/{redact-snapshot-Dioor4fY.js → redact-snapshot-C1Yp9Q7B.js} +1 -1
- package/dist/{register.agent-FAGOpOS3.js → register.agent-kmdjftAP.js} +97 -97
- package/dist/register.configure-CZqcKxCG.js +175 -0
- package/dist/{register.init-B-wUDJAX.js → register.init-B1pIa3ys.js} +15 -15
- package/dist/{register.maintenance-ClYMbiJl.js → register.maintenance-DK--cbD8.js} +4 -4
- package/dist/{register.maintenance-B6f_YUQN.js → register.maintenance-MiuPJilJ.js} +99 -99
- package/dist/{register.message-WkJ5viuk.js → register.message-DJc4mrgz.js} +77 -77
- package/dist/{register.onboard-DvpF9feG.js → register.onboard-CXiK8Iev.js} +18 -18
- package/dist/{register.onboard-BUBCEjZ_.js → register.onboard-yJeNS-BD.js} +2 -2
- package/dist/{register.setup-Dlmt8cdD.js → register.setup-CtS7M9NK.js} +2 -2
- package/dist/{register.setup-CA7jtsG8.js → register.setup-DRllOSJZ.js} +21 -21
- package/dist/{register.start-3Hnjf8NZ.js → register.start-CyYd_xbF.js} +17 -17
- package/dist/{register.status-health-sessions-CY2i61By.js → register.status-health-sessions-CxepWnj5.js} +91 -91
- package/dist/{register.subclis-D72jBDzj.js → register.subclis-D_FWN2RD.js} +31 -31
- package/dist/{replies-BDnb0prE.js → replies-Ckd7Lwt0.js} +1 -1
- package/dist/{reply-prefix-H_GSyyzN.js → reply-prefix-DpXMFuAa.js} +1 -1
- package/dist/{resolve-route-ByAwAiq5.js → resolve-route-Cnto8LMw.js} +2 -2
- package/dist/{rpc-DQa5fiBV.js → rpc-CnRUZWNJ.js} +1 -1
- package/dist/{run-main-DOntWJzb.js → run-main-Dqz2ik3j.js} +95 -95
- package/dist/{runtime-D-Knnx0g.js → runtime-D4y0Gdfj.js} +2 -2
- package/dist/{sandbox-DI_zIUpo.js → sandbox-Tai-w14a.js} +18 -18
- package/dist/{sandbox-cli-Cn6OxK6L.js → sandbox-cli-uwsF36Ea.js} +26 -26
- package/dist/{secrets-cli-Cf2fFK2m.js → secrets-cli-DzeSuhpa.js} +10 -10
- package/dist/{security-cli-DS-dXNUv.js → security-cli-Dzelqio0.js} +43 -43
- package/dist/{send-BTswySBz.js → send-BpXRh0BM.js} +11 -11
- package/dist/{send-CZ2O-5pP.js → send-CQJKPGw4.js} +6 -6
- package/dist/{send-ZyB64ntO.js → send-Cpaj_bKB.js} +5 -5
- package/dist/{send-BCLu4NEE.js → send-e1X1pfda.js} +6 -6
- package/dist/{send-D0X-8aPh.js → send-sj8Hu26l.js} +8 -8
- package/dist/{server-C88L-6UW.js → server-Cr92VI8t.js} +19 -19
- package/dist/{server-context-CjPCwa4T.js → server-context-YLHmGfYV.js} +12 -12
- package/dist/{server-lifecycle-HLBzAVdX.js → server-lifecycle-B23lXM3Y.js} +2 -2
- package/dist/{server-middleware-DHxnFjIL.js → server-middleware-CKSnhiM2.js} +1 -1
- package/dist/{server-node-events-CyVS1c_n.js → server-node-events-B3SyIWEd.js} +77 -77
- package/dist/{service-CFfCS51c.js → service-Bjqlh_fF.js} +15 -15
- package/dist/{session-ApCom0An.js → session-DcnQHb9Q.js} +1 -1
- package/dist/{session-meta-Cew1QAYN.js → session-meta-DF1WT4cr.js} +1 -1
- package/dist/{session-utils-DYJSA9qa.js → session-utils-BUkGcYpv.js} +6 -6
- package/dist/{sessions-BXz4gdq6.js → sessions-B2mnwD21.js} +15 -15
- package/dist/{sessions-CeXgGBJ1.js → sessions-DVvNhGXX.js} +4 -4
- package/dist/{shared-Cd4Yi_Q8.js → shared-BojXguFB.js} +3 -3
- package/dist/{shared-Cl1av01k.js → shared-_j1K2VJ9.js} +1 -1
- package/dist/{skill-commands-Cpr3Poo2.js → skill-commands-CYucDd3C.js} +5 -5
- package/dist/{skill-scanner-3QHafkQH.js → skill-scanner-CSJqt034.js} +6 -6
- package/dist/{skills-D4S-gyVf.js → skills-BCgFAMj3.js} +3 -3
- package/dist/{skills-cli-CAhlFcYR.js → skills-cli-BM1iUpGc.js} +5 -5
- package/dist/{skills-install-DyneupGw.js → skills-install-e4_jXT_J.js} +6 -6
- package/dist/{skills-status-DQzBD0Y7.js → skills-status-DG-bH5mO.js} +1 -1
- package/dist/{status-VYa-lFs6.js → status-Bor8v_Ab.js} +26 -26
- package/dist/{status.update-BdgtGtkx.js → status.update-YC9VNJxl.js} +2 -2
- package/dist/{store-TdzSHRPN.js → store-U8cs0QvT.js} +5 -5
- package/dist/{subagent-registry-DlmrBMrv.js → subagent-registry-CukgiXMW.js} +156 -156
- package/dist/{system-cli-BYGGFlhn.js → system-cli-B_PUKo6-.js} +9 -9
- package/dist/{system-run-command-XHAlbx5q.js → system-run-command-GKGzGztn.js} +1 -1
- package/dist/{systemd-DRGkJYMb.js → systemd-HiU4Gzoc.js} +9 -9
- package/dist/{systemd-hints-C5HK00QG.js → systemd-hints-BDIASQOF.js} +6 -6
- package/dist/{systemd-linger-DME-3IVk.js → systemd-linger-DfrE-63p.js} +1 -1
- package/dist/{tables-BOsRa7CS.js → tables-DVXe5x1J.js} +1 -1
- package/dist/{tailnet-CfP3A6g2.js → tailnet-C1XBcWue.js} +1 -1
- package/dist/{target-errors-DPJ9HFp9.js → target-errors-C5LA-JI-.js} +4 -4
- package/dist/{tool-images-CmgHk8xk.js → tool-images-CnpAosfi.js} +1 -1
- package/dist/{tui-C16rnfcv.js → tui-CLK0s6TM.js} +6 -6
- package/dist/{tui-cli-Ct7mmQhr.js → tui-cli-DTdNoN6U.js} +33 -33
- package/dist/{update-DOvgIBRu.js → update-DLc3UsVC.js} +3 -3
- package/dist/{update-cli-BnefEkIB.js → update-cli-DBkrPKzK.js} +107 -107
- package/dist/{update-cli-CWNpH8nb.js → update-cli-DvlRTsY-.js} +4 -4
- package/dist/{update-runner-BSQpjT4r.js → update-runner-BAPahND7.js} +16 -16
- package/dist/web-D_nYCn4Q.js +127 -0
- package/dist/{webhooks-cli-DyIIpN1Q.js → webhooks-cli-c5SaGz4J.js} +6 -6
- package/dist/{whatsapp-actions-Dmv3vDs5.js → whatsapp-actions-CnjEOFOZ.js} +19 -19
- package/dist/{with-timeout-Cf-HNLSj.js → with-timeout-DurSJobr.js} +3 -3
- package/dist/{workspace-DzeL98px.js → workspace-BHfqkuYN.js} +23 -23
- package/dist/{workspace-A5CNJccm.js → workspace-DWBFoy1G.js} +1 -1
- package/dist/{workspace-dirs-Bevk6X_8.js → workspace-dirs-BOgNOBjy.js} +1 -1
- package/dist/{wsl-DksyFTBT.js → wsl-BDRu1-pk.js} +2 -2
- package/package.json +1 -1
- package/dist/control-ui/assets/index-puDi2eTY.js.map +0 -1
- package/dist/register.configure-aZwsNSkf.js +0 -175
- package/dist/web-C1Zm__bd.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-DndUerpe.js";
|
|
3
|
-
import { v as createAccountListHelpers } from "./accounts-
|
|
3
|
+
import { v as createAccountListHelpers } from "./accounts-BQHz8_1_.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 fs$1 from "node:fs/promises";
|
|
11
11
|
|
|
12
12
|
//#region src/channels/plugins/account-helpers.ts
|
|
13
13
|
function createAccountListHelpers(channelKey) {
|
|
@@ -96,14 +96,14 @@ async function webAuthExists(authDir = resolveDefaultWebAuthDir()) {
|
|
|
96
96
|
maybeRestoreCredsFromBackup(resolvedAuthDir);
|
|
97
97
|
const credsPath = resolveWebCredsPath(resolvedAuthDir);
|
|
98
98
|
try {
|
|
99
|
-
await
|
|
99
|
+
await fs$1.access(resolvedAuthDir);
|
|
100
100
|
} catch {
|
|
101
101
|
return false;
|
|
102
102
|
}
|
|
103
103
|
try {
|
|
104
|
-
const stats = await
|
|
104
|
+
const stats = await fs$1.stat(credsPath);
|
|
105
105
|
if (!stats.isFile() || stats.size <= 1) return false;
|
|
106
|
-
const raw = await
|
|
106
|
+
const raw = await fs$1.readFile(credsPath, "utf-8");
|
|
107
107
|
JSON.parse(raw);
|
|
108
108
|
return true;
|
|
109
109
|
} catch {
|
|
@@ -111,7 +111,7 @@ async function webAuthExists(authDir = resolveDefaultWebAuthDir()) {
|
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
async function clearLegacyBaileysAuthState(authDir) {
|
|
114
|
-
const entries = await
|
|
114
|
+
const entries = await fs$1.readdir(authDir, { withFileTypes: true });
|
|
115
115
|
const shouldDelete = (name) => {
|
|
116
116
|
if (name === "oauth.json") return false;
|
|
117
117
|
if (name === "creds.json" || name === "creds.json.bak") return true;
|
|
@@ -121,7 +121,7 @@ async function clearLegacyBaileysAuthState(authDir) {
|
|
|
121
121
|
await Promise.all(entries.map(async (entry) => {
|
|
122
122
|
if (!entry.isFile()) return;
|
|
123
123
|
if (!shouldDelete(entry.name)) return;
|
|
124
|
-
await
|
|
124
|
+
await fs$1.rm(path.join(authDir, entry.name), { force: true });
|
|
125
125
|
}));
|
|
126
126
|
}
|
|
127
127
|
async function logoutWeb(params) {
|
|
@@ -132,7 +132,7 @@ async function logoutWeb(params) {
|
|
|
132
132
|
return false;
|
|
133
133
|
}
|
|
134
134
|
if (params.isLegacyAuthDir) await clearLegacyBaileysAuthState(resolvedAuthDir);
|
|
135
|
-
else await
|
|
135
|
+
else await fs$1.rm(resolvedAuthDir, {
|
|
136
136
|
recursive: true,
|
|
137
137
|
force: true
|
|
138
138
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as normalizeAccountId } from "./session-key-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-BQHz8_1_.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-D_x1_5v_.js";
|
|
7
|
+
import "./agent-scope-CJelRKYY.js";
|
|
8
8
|
import { v as resolveUserPath, x as shortenHomePath } from "./utils-DIzy5B5o.js";
|
|
9
|
-
import "./workspace-
|
|
9
|
+
import "./workspace-BHfqkuYN.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-Kbw8YPsZ.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-BvL3EdiZ.js";
|
|
20
|
+
import { t as buildGatewayConnectionDetails } from "./call-CzoM7hPS.js";
|
|
21
21
|
import "./pairing-token-DoBZxQnC.js";
|
|
22
|
-
import "./net-
|
|
23
|
-
import "./tailnet-
|
|
22
|
+
import "./net-BXeYv7Iu.js";
|
|
23
|
+
import "./tailnet-C1XBcWue.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-BHfqkuYN.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-D_x1_5v_.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-CJelRKYY.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-BHfqkuYN.js";
|
|
9
|
+
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-vsjS_m58.js";
|
|
10
|
+
import { B as parseIdentityMarkdown, R as identityHasValues } from "./subagent-registry-CukgiXMW.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-CczYNQDJ.js";
|
|
13
13
|
import { t as WizardCancelledError } from "./prompts-CbZZ91V9.js";
|
|
14
14
|
import { t as createClackPrompter } from "./clack-prompter-B2lC_BWr.js";
|
|
15
15
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BSfSxnxh.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-DO7QURfM.js";
|
|
17
|
+
import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-C6zkqXkX.js";
|
|
18
|
+
import { r as setupChannels } from "./onboard-channels-B59K9VZH.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-lzACBXDv.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-CJelRKYY.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-CukgiXMW.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-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-D_x1_5v_.js";
|
|
6
|
+
import "./agent-scope-CJelRKYY.js";
|
|
7
7
|
import "./utils-DIzy5B5o.js";
|
|
8
|
-
import "./workspace-
|
|
8
|
+
import "./workspace-BHfqkuYN.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-Kbw8YPsZ.js";
|
|
17
|
+
import "./dock-DT8sACcR.js";
|
|
18
|
+
import "./pi-model-discovery-BZ2RCD_u.js";
|
|
19
19
|
import "./frontmatter-C0E8mspC.js";
|
|
20
|
-
import "./skills-
|
|
21
|
-
import "./path-alias-guards-
|
|
20
|
+
import "./skills-BCgFAMj3.js";
|
|
21
|
+
import "./path-alias-guards-Cg9ZP1NN.js";
|
|
22
22
|
import "./message-channel-0J6eKf3g.js";
|
|
23
|
-
import "./sessions-
|
|
24
|
-
import "./plugins-
|
|
25
|
-
import "./accounts-
|
|
26
|
-
import "./accounts-
|
|
23
|
+
import "./sessions-B2mnwD21.js";
|
|
24
|
+
import "./plugins-vsjS_m58.js";
|
|
25
|
+
import "./accounts-BQHz8_1_.js";
|
|
26
|
+
import "./accounts-B3zSNWIv.js";
|
|
27
27
|
import "./logging-5MtSkLpb.js";
|
|
28
|
-
import "./accounts-
|
|
29
|
-
import "./bindings-
|
|
28
|
+
import "./accounts-DTfEeXyO.js";
|
|
29
|
+
import "./bindings-Hx6KNJeg.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-BXeYv7Iu.js";
|
|
33
|
+
import "./tailnet-C1XBcWue.js";
|
|
34
|
+
import "./image-ops-BGTBZMuE.js";
|
|
35
|
+
import "./pi-embedded-helpers-CrD8I6qf.js";
|
|
36
|
+
import "./sandbox-Tai-w14a.js";
|
|
37
37
|
import "./tool-catalog-uQj_-Ahx.js";
|
|
38
|
-
import "./chrome-
|
|
38
|
+
import "./chrome-DuDCGdf-.js";
|
|
39
39
|
import "./tailscale-D3xGoMdQ.js";
|
|
40
|
-
import "./auth-
|
|
41
|
-
import "./server-context-
|
|
42
|
-
import "./paths-
|
|
40
|
+
import "./auth-B3HDYw4G.js";
|
|
41
|
+
import "./server-context-YLHmGfYV.js";
|
|
42
|
+
import "./paths-BjoSX1aC.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-CJDtl_QU.js";
|
|
46
|
+
import "./proxy-env-BQIJPH4j.js";
|
|
47
|
+
import "./store-U8cs0QvT.js";
|
|
48
|
+
import "./ports-sCOQUaAP.js";
|
|
49
49
|
import "./trash-ClChDUTf.js";
|
|
50
|
-
import "./server-middleware-
|
|
51
|
-
import "./tool-images-
|
|
50
|
+
import "./server-middleware-CKSnhiM2.js";
|
|
51
|
+
import "./tool-images-CnpAosfi.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-CmrBGsQs.js";
|
|
54
|
+
import "./model-catalog-D1X8r3WJ.js";
|
|
55
|
+
import "./fetch-DC-NMnAU.js";
|
|
56
|
+
import { _ as isAudioAttachment, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-jiDE7Pt8.js";
|
|
57
|
+
import "./fetch-guard-B62rgaSw.js";
|
|
58
|
+
import "./image-UpBiPNsk.js";
|
|
59
59
|
import "./tool-display-0M664wep.js";
|
|
60
|
-
import "./api-key-rotation-
|
|
60
|
+
import "./api-key-rotation-xfk-b2Sv.js";
|
|
61
61
|
import "./proxy-fetch-DEHZt1Tx.js";
|
|
62
62
|
|
|
63
63
|
//#region src/media-understanding/audio-preflight.ts
|
package/dist/{audio-transcription-runner-CGADiTRL.js → audio-transcription-runner-jiDE7Pt8.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-D_x1_5v_.js";
|
|
3
|
+
import { _ as resolveAgentModelPrimaryValue, g as resolveAgentModelFallbackValues } from "./agent-scope-CJelRKYY.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-BGTBZMuE.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-D1X8r3WJ.js";
|
|
9
|
+
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-DC-NMnAU.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-B62rgaSw.js";
|
|
12
|
+
import { t as describeImageWithModel } from "./image-UpBiPNsk.js";
|
|
13
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-xfk-b2Sv.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 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-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-D_x1_5v_.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-CJelRKYY.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-Kbw8YPsZ.js";
|
|
9
|
+
import { l as normalizeStringEntries } from "./dock-DT8sACcR.js";
|
|
10
|
+
import { i as loadWorkspaceSkillEntries } from "./skills-BCgFAMj3.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-vsjS_m58.js";
|
|
13
|
+
import { t as GatewayClient } from "./client-BvL3EdiZ.js";
|
|
14
|
+
import { c as READ_SCOPE, t as buildGatewayConnectionDetails } from "./call-CzoM7hPS.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-Tai-w14a.js";
|
|
17
|
+
import { a as resolveGatewayAuth } from "./auth-B3HDYw4G.js";
|
|
18
|
+
import { a as resolveProfile, c as resolveBrowserControlAuth, i as resolveBrowserConfig } from "./server-context-YLHmGfYV.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-BP6ImlkB.js";
|
|
21
|
+
import { a as resolveNativeSkillsEnabled, i as resolveNativeCommandsEnabled } from "./commands-C67IbXs7.js";
|
|
22
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-BfzlN-z9.js";
|
|
23
|
+
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-BOgNOBjy.js";
|
|
24
|
+
import { l as resolveDmAllowState, n as isToolAllowedByPolicies, o as pickSandboxToolPolicy } from "./pi-tools.policy-upaoJyu4.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-D_tNQLpF.js";
|
|
27
27
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BSfSxnxh.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-CSJqt034.js";
|
|
29
|
+
import { r as resolveNodeCommandAllowlist, t as DEFAULT_DANGEROUS_NODE_COMMANDS } from "./node-command-policy-pJ6IPNBA.js";
|
|
30
30
|
import { c as normalizeTelegramAllowFromEntry, s as isNumericTelegramUserId, t as isDiscordMutableAllowEntry } from "./mutable-allowlist-detectors-BaVrnZS3.js";
|
|
31
31
|
import { t as inferParamBFromIdOrName } from "./model-param-b-B5WDRptZ.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-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-BXeYv7Iu.js";
|
|
3
3
|
import { n as resolveGatewayCredentialsFromValues } from "./credentials-BtL4tqu0.js";
|
|
4
4
|
import { c as readTailscaleWhoisIdentity } from "./tailscale-D3xGoMdQ.js";
|
|
5
5
|
|
|
@@ -2,10 +2,10 @@ import "./globals-B68W7uN8.js";
|
|
|
2
2
|
import "./paths-BnKiOk2S.js";
|
|
3
3
|
import "./subsystem-DjdBljTA.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import { Kn as ensureAuthProfileStore, Si as normalizeSecretInput, Un as upsertAuthProfile, at as parseDurationMs, et as resolveDefaultSecretProviderAlias, hr as normalizeProviderId, l as resolveApiKeyForProfile, n as resolveAuthProfileOrder, si as resolveEnvApiKey, xi as normalizeOptionalSecretInput } from "./auth-profiles-
|
|
6
|
-
import "./agent-scope-
|
|
5
|
+
import { Kn as ensureAuthProfileStore, Si as normalizeSecretInput, Un as upsertAuthProfile, at as parseDurationMs, et as resolveDefaultSecretProviderAlias, hr as normalizeProviderId, l as resolveApiKeyForProfile, n as resolveAuthProfileOrder, si as resolveEnvApiKey, xi as normalizeOptionalSecretInput } from "./auth-profiles-D_x1_5v_.js";
|
|
6
|
+
import "./agent-scope-CJelRKYY.js";
|
|
7
7
|
import "./utils-DIzy5B5o.js";
|
|
8
|
-
import "./workspace-
|
|
8
|
+
import "./workspace-BHfqkuYN.js";
|
|
9
9
|
import "./logger-BJMfryJd.js";
|
|
10
10
|
import "./exec-CEAvKSx9.js";
|
|
11
11
|
import "./github-copilot-token-CulJ9J5l.js";
|
|
@@ -13,19 +13,19 @@ 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 "./models-config-
|
|
18
|
-
import "./model-catalog-
|
|
16
|
+
import "./manifest-registry-Kbw8YPsZ.js";
|
|
17
|
+
import "./models-config-CmrBGsQs.js";
|
|
18
|
+
import "./model-catalog-D1X8r3WJ.js";
|
|
19
19
|
import "./constants-SKxh9Cou.js";
|
|
20
20
|
import "./context-window-guard-ejUBbmnW.js";
|
|
21
|
-
import "./issue-format-
|
|
22
|
-
import "./shared-
|
|
23
|
-
import { n as applyCustomApiConfig, t as CustomApiError, u as resolveCustomProviderId } from "./onboard-custom.shared-
|
|
24
|
-
import { A as applySyntheticConfig, B as applyZaiConfig, C as applyMoonshotConfigCn, Ct as setXaiApiKey, E as applyOpenrouterConfig, H as applyLitellmConfig, I as applyXaiConfig, K as applyVercelAiGatewayConfig, M as applyTogetherConfig, O as applyQianfanConfig, P as applyVeniceConfig, R as applyXiaomiConfig, S as applyMoonshotConfig, St as setVolcengineApiKey, Tt as setZaiApiKey, W as applyCloudflareAiGatewayConfig, _t as setQianfanApiKey, a as applyMinimaxApiConfig, at as setCloudflareAiGatewayConfig, b as applyMistralConfig, bt as setVeniceApiKey, ct as setKilocodeApiKey, d as applyAuthProfileConfig, dt as setMinimaxApiKey, ft as setMistralApiKey, g as applyKilocodeConfig, gt as setOpenrouterApiKey, ht as setOpencodeZenApiKey, it as setByteplusApiKey, l as applyMinimaxConfig, lt as setKimiCodingApiKey, m as applyHuggingfaceConfig, mt as setOpenaiApiKey, n as validateAnthropicSetupToken, nt as setAnthropicApiKey, o as applyMinimaxApiConfigCn, ot as setGeminiApiKey, pt as setMoonshotApiKey, r as applyOpencodeZenConfig, st as setHuggingfaceApiKey, t as buildTokenProfileId, ut as setLitellmApiKey, v as applyKimiCodeConfig, vt as setSyntheticApiKey, wt as setXiaomiApiKey, xt as setVercelAiGatewayApiKey, yt as setTogetherApiKey } from "./auth-token-
|
|
25
|
-
import { a as normalizeSecretInputModeInput } from "./auth-choice.apply-helpers-
|
|
26
|
-
import { i as detectZaiEndpoint, n as applyOpenAIConfig, o as applyGoogleGeminiModelDefault } from "./openai-model-default-
|
|
27
|
-
import { r as applyPrimaryModel } from "./model-picker-
|
|
28
|
-
import { n as parseNonInteractiveCustomApiFlags } from "./onboard-custom-
|
|
21
|
+
import "./issue-format-DF2YB-kZ.js";
|
|
22
|
+
import "./shared-BojXguFB.js";
|
|
23
|
+
import { n as applyCustomApiConfig, t as CustomApiError, u as resolveCustomProviderId } from "./onboard-custom.shared-B9NXcXpv.js";
|
|
24
|
+
import { A as applySyntheticConfig, B as applyZaiConfig, C as applyMoonshotConfigCn, Ct as setXaiApiKey, E as applyOpenrouterConfig, H as applyLitellmConfig, I as applyXaiConfig, K as applyVercelAiGatewayConfig, M as applyTogetherConfig, O as applyQianfanConfig, P as applyVeniceConfig, R as applyXiaomiConfig, S as applyMoonshotConfig, St as setVolcengineApiKey, Tt as setZaiApiKey, W as applyCloudflareAiGatewayConfig, _t as setQianfanApiKey, a as applyMinimaxApiConfig, at as setCloudflareAiGatewayConfig, b as applyMistralConfig, bt as setVeniceApiKey, ct as setKilocodeApiKey, d as applyAuthProfileConfig, dt as setMinimaxApiKey, ft as setMistralApiKey, g as applyKilocodeConfig, gt as setOpenrouterApiKey, ht as setOpencodeZenApiKey, it as setByteplusApiKey, l as applyMinimaxConfig, lt as setKimiCodingApiKey, m as applyHuggingfaceConfig, mt as setOpenaiApiKey, n as validateAnthropicSetupToken, nt as setAnthropicApiKey, o as applyMinimaxApiConfigCn, ot as setGeminiApiKey, pt as setMoonshotApiKey, r as applyOpencodeZenConfig, st as setHuggingfaceApiKey, t as buildTokenProfileId, ut as setLitellmApiKey, v as applyKimiCodeConfig, vt as setSyntheticApiKey, wt as setXiaomiApiKey, xt as setVercelAiGatewayApiKey, yt as setTogetherApiKey } from "./auth-token-BDQ5b9Wx.js";
|
|
25
|
+
import { a as normalizeSecretInputModeInput } from "./auth-choice.apply-helpers-DR-eUj_5.js";
|
|
26
|
+
import { i as detectZaiEndpoint, n as applyOpenAIConfig, o as applyGoogleGeminiModelDefault } from "./openai-model-default-BNYNbslY.js";
|
|
27
|
+
import { r as applyPrimaryModel } from "./model-picker-C56N_rW7.js";
|
|
28
|
+
import { n as parseNonInteractiveCustomApiFlags } from "./onboard-custom-CZR1K96w.js";
|
|
29
29
|
|
|
30
30
|
//#region src/commands/onboard-non-interactive/api-keys.ts
|
|
31
31
|
function parseEnvVarNameFromSourceLabel(source) {
|