@bitseek/claw 1.3.3 → 1.3.5
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-C7-qIj9S.js → accounts-C0g5--0e.js} +1 -1
- package/dist/{accounts-BuH44wOf.js → accounts-Dr4JgFGK.js} +1 -1
- package/dist/{accounts-YiXpEWQB.js → accounts-ESSExMvC.js} +7 -7
- package/dist/{acp-cli-C0E6TWGs.js → acp-cli-CbjSFq1x.js} +8 -8
- package/dist/{agent-scope-CY2-lUIY.js → agent-scope-CJelRKYY.js} +1 -1
- package/dist/{agents-ORCxWsDn.js → agents-BqONdWNu.js} +15 -15
- package/dist/{agents.config-DrY6s7HL.js → agents.config-2cTTTDPj.js} +2 -2
- package/dist/{agents.config-CvgerNZr.js → agents.config-DhIvFsFv.js} +1 -1
- package/dist/{api-key-rotation-C7SJO4Nd.js → api-key-rotation-7AxlAIU7.js} +1 -1
- package/dist/{audio-preflight-DXJR9ICy.js → audio-preflight-C2pZmbnM.js} +4 -4
- package/dist/{audio-preflight-FcKPBDaM.js → audio-preflight-uJePeeJ2.js} +36 -36
- package/dist/{audio-transcription-runner-S9u5-nsu.js → audio-transcription-runner-CQ4BMvGX.js} +1 -1
- package/dist/{audio-transcription-runner-DLL_6E3Z.js → audio-transcription-runner-DgoTt2Qi.js} +22 -22
- package/dist/{audit-Bq33mo12.js → audit-Dp7M6JvG.js} +29 -29
- package/dist/{auth-BH8QpwSt.js → auth-CzuZwE7M.js} +1 -1
- package/dist/{auth-choice-BkF1geyi.js → auth-choice-CxRgsY3j.js} +6 -6
- package/dist/{auth-choice-BogsyP9d.js → auth-choice-D6WGnKQk.js} +4 -4
- package/dist/{auth-choice-o_B6r3SA.js → auth-choice-Da9Ml4DK.js} +16 -16
- package/dist/{auth-choice-BDXGghAn.js → auth-choice-lhaABxGx.js} +13 -13
- package/dist/{auth-choice.apply-helpers-D9JJjYV4.js → auth-choice.apply-helpers-ir8GviGs.js} +1 -1
- package/dist/{auth-profiles-1D0rBps3.js → auth-profiles-Ncv1fyN5.js} +16 -16
- package/dist/{auth-token-3AxkbvQY.js → auth-token-BTTsYSXG.js} +4 -3
- package/dist/{auth-token-KkSq49WV.js → auth-token-KZZH9ZpM.js} +3 -2
- package/dist/{banner-iVOjYALn.js → banner-CMCfl-_K.js} +2 -2
- package/dist/{bindings-8T2naFRm.js → bindings-C2tByF8e.js} +1 -1
- package/dist/{bonjour-discovery-Dfc3n2GZ.js → bonjour-discovery-CC78xmYI.js} +1 -1
- package/dist/{browser-cli-YWbP4I14.js → browser-cli-vRHyP5Tu.js} +12 -12
- package/dist/build-info.json +2 -2
- package/dist/bundled/boot-md/handler.js +6 -6
- package/dist/bundled/session-memory/handler.js +6 -6
- package/dist/{call-DKqpA9Z1.js → call-BolSRDlL.js} +10 -10
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-Df8XiNL_.js → channel-account-context-DSofwLgp.js} +5 -5
- package/dist/{channel-options-Bhkc7_f4.js → channel-options-Didnr81h.js} +1 -1
- package/dist/{channel-options-DBkdFJpv.js → channel-options-gDhT85r4.js} +3 -3
- package/dist/{channel-selection-DvH0eFfq.js → channel-selection-DAkTNagG.js} +1 -1
- package/dist/{channel-web-DFMP-9oI.js → channel-web-C45x6ahP.js} +18 -18
- package/dist/{channel-web-B0P0EVvO.js → channel-web-rP0VBNIt.js} +1 -1
- package/dist/{channels-cli-Cpg0eE35.js → channels-cli-BpiA2BQE.js} +8 -8
- package/dist/{channels-cli-Cb31JAsk.js → channels-cli-CZQbGl-H.js} +97 -97
- package/dist/{channels-status-issues-DbgzPgIT.js → channels-status-issues-ib5LY9cR.js} +1 -1
- package/dist/{chrome-Cs1O_rOB.js → chrome-DNZHZwLH.js} +4 -4
- package/dist/{chrome-Dvo1iZKa.js → chrome-DWfXErGH.js} +8 -8
- package/dist/{clawbot-cli-DS7XFNhh.js → clawbot-cli-B0Hd9quY.js} +5 -5
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-C3lgF34a.js → cli-Cvdtw0CY.js} +3 -3
- package/dist/{cli-DnShryy2.js → cli-D5yg1LCm.js} +78 -78
- package/dist/{client-CbelTUyH.js → client-D3Y8sx9i.js} +2 -2
- package/dist/{command-registry-BPSOtew_.js → command-registry-DshPN0jE.js} +13 -13
- package/dist/{commands-B8GXg7jc.js → commands-CvjTbnpO.js} +1 -1
- package/dist/{commands-registry-CL_GSOWa.js → commands-registry-CMWIA5nS.js} +3 -3
- package/dist/{completion-cli-DaFk2P3E.js → completion-cli-BD1Wf-K1.js} +1 -1
- package/dist/{completion-cli-D5rxhSoX.js → completion-cli-Ds2kVMMx.js} +13 -13
- package/dist/{config-cli-CnGjfuxR.js → config-cli-BtvOIDkG.js} +7 -7
- package/dist/{config-cli-CgcDfxer.js → config-cli-C-yIXgGr.js} +1 -1
- package/dist/{config-guard-KdPUbj6b.js → config-guard-D3uYbBeN.js} +3 -3
- package/dist/{config-validation-BAPzXTIZ.js → config-validation-C_edTHc_.js} +3 -3
- package/dist/{configure-vAteyJCB.js → configure-CgbTpfrx.js} +17 -17
- package/dist/{configure-DQNSyoHA.js → configure-DflayaB2.js} +4 -4
- package/dist/constants-BJMtcGm_.js +16 -0
- package/dist/constants-D1Q8yQ1_.js +16 -0
- package/dist/{context-window-guard-BEDyA5YL.js → context-window-guard-BqrKjiIm.js} +1 -1
- package/dist/{context-window-guard-DeogNTcc.js → context-window-guard-DfLcl4Sl.js} +1 -1
- package/dist/control-ui/assets/index-CZbqZLPL.js.map +1 -1
- package/dist/{control-ui-assets-DOt9K_XQ.js → control-ui-assets-CTp_YbTN.js} +1 -1
- package/dist/{cron-cli-BODa5Hjv.js → cron-cli-DrMOzU3j.js} +12 -12
- package/dist/{daemon-cli-0UQHVorp.js → daemon-cli-SPY75752.js} +15 -15
- package/dist/{daemon-install-IXSut9Ak.js → daemon-install-BWb3fVhk.js} +4 -4
- package/dist/{daemon-install-helpers-CVMHs8zT.js → daemon-install-helpers-DJg83rPu.js} +11 -11
- package/dist/{dashboard-DKQ1mukA.js → dashboard-CCwQ2XPE.js} +2 -2
- package/dist/{deliver-CC3F9Kbq.js → deliver-DRKtTsvj.js} +7 -7
- package/dist/{deliver-NVEoeWVm.js → deliver-zrYSWfQ5.js} +1 -1
- package/dist/{devices-cli-BxHaos-D.js → devices-cli-DEi-I2cs.js} +8 -8
- package/dist/{diagnostic-C6IGpsPB.js → diagnostic-D2YBqJR0.js} +1 -1
- package/dist/{diagnostics-DKQWCTrs.js → diagnostics-D16lnwhz.js} +5 -5
- package/dist/{directory-cli-CM0yj3EJ.js → directory-cli-C-hoa-kc.js} +8 -8
- package/dist/{dns-cli-4V7j2QJt.js → dns-cli-bfQXNsnB.js} +5 -5
- package/dist/{dock-6qH4Y0HH.js → dock-DXBor-4C.js} +4 -4
- package/dist/{docs-cli-B4OKIYf3.js → docs-cli-Bk3ByNGZ.js} +4 -4
- package/dist/{doctor-completion-C8NZ7PLx.js → doctor-completion-DpsPIdur.js} +2 -2
- package/dist/{doctor-completion-D1lF2gak.js → doctor-completion-f2gLNSUa.js} +1 -1
- package/dist/{doctor-config-flow-CRh5VUYo.js → doctor-config-flow-DhnDuMG9.js} +15 -15
- package/dist/{enable-Dg2l-a-F.js → enable-DUzrhH2H.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{exec-approvals-allowlist-CuJvX5ng.js → exec-approvals-allowlist-BjI4jCdB.js} +1 -1
- package/dist/{exec-approvals-cli-CG_sEqkm.js → exec-approvals-cli-DjgEYE6-.js} +16 -16
- package/dist/{exec-safe-bin-runtime-policy-Dvdq9iDc.js → exec-safe-bin-runtime-policy-DJT0CbIu.js} +2 -2
- package/dist/{fetch-CIaHb2Cp.js → fetch-Ch8LsU9k.js} +3 -3
- package/dist/{fetch-guard-t4V7UlQC.js → fetch-guard-B3dFBAUH.js} +1 -1
- package/dist/{fs-safe-keI0663i.js → fs-safe-Bbp_1S9D.js} +24 -24
- package/dist/{gateway-cli-BKlWGZ1k.js → gateway-cli-3rP04OO5.js} +11 -11
- package/dist/{gateway-cli-Cq0anbXD.js → gateway-cli-CbVaqoxB.js} +163 -163
- package/dist/{gateway-rpc-BT-pYZR-.js → gateway-rpc-CH4zohVW.js} +1 -1
- package/dist/{health-B-UhwtkZ.js → health-DaN3xECS.js} +1 -1
- package/dist/{health-DF5uVHJ8.js → health-Gkd0akfz.js} +14 -14
- package/dist/{hooks-cli-C8hrIyKL.js → hooks-cli-gRM8FMyG.js} +86 -86
- package/dist/{hooks-cli-BNyDiG6r.js → hooks-cli-n5Weiheq.js} +4 -4
- package/dist/{hooks-status-DD2TFR4J.js → hooks-status-BjqUFVk2.js} +1 -1
- package/dist/{image-NGniYRpo.js → image-2aQoIIQl.js} +5 -5
- package/dist/{image-CSuemKkK.js → image-DnxYCkHO.js} +1 -1
- package/dist/{image-ops-lN_xsQHN.js → image-ops-Di37o6bN.js} +10 -10
- package/dist/index.js +8 -8
- package/dist/{inspect-BxpKPHIb.js → inspect-8xmwRHN0.js} +4 -4
- package/dist/{install-safe-path-BP03c-sO.js → install-safe-path-lyrY4AbG.js} +25 -25
- package/dist/{installs-CpGSqQzs.js → installs-B-WNFE2v.js} +9 -9
- package/dist/{ipv4-yOt1RWEn.js → ipv4-aGQhzP5g.js} +1 -1
- package/dist/{ir-DSD5UBLt.js → ir-CPt8jJjC.js} +6 -6
- package/dist/{issue-format-oiZHuL_T.js → issue-format-Bm-71lmf.js} +1 -1
- package/dist/{json-files-1hhV5hS6.js → json-files-DrZ4qfxw.js} +8 -8
- package/dist/{lifecycle-core-B6CCivG-.js → lifecycle-core-BBoysuYG.js} +5 -5
- package/dist/llm-slug-generator.js +6 -6
- package/dist/{login-DMdb2smS.js → login-CUi8T8WR.js} +3 -3
- package/dist/{login-qr-D4Z_nKS0.js → login-qr-BaGgKfeX.js} +6 -6
- package/dist/{logs-cli-CyIoR_sQ.js → logs-cli-BeBjeWxt.js} +9 -9
- package/dist/{manager-B9EfOw_y.js → manager-C5ViXKTz.js} +14 -14
- package/dist/{manifest-registry-CBF8Vfz8.js → manifest-registry-Kbw8YPsZ.js} +1 -1
- package/dist/{markdown-tables-w90v38Ry.js → markdown-tables-B1FRFNMI.js} +1 -1
- package/dist/{memory-cli-CuLSqZSI.js → memory-cli-DF4DARLw.js} +12 -12
- package/dist/{model-Bkq6198v.js → model-D49_t4Rw.js} +2 -2
- package/dist/{model-catalog-DgMq7sEI.js → model-catalog-B9xOhfnS.js} +3 -3
- package/dist/{model-picker-GYsO_IgK.js → model-picker-DaLz-bqQ.js} +4 -4
- package/dist/{models-Bht60MxY.js → models-CJodAVSF.js} +18 -18
- package/dist/{models-cli-S6G_2scT.js → models-cli-B1Dwj01V.js} +5 -5
- package/dist/{models-cli-BgBuBuEk.js → models-cli-Ceb37L0t.js} +83 -83
- package/dist/{models-config-SG5a8tJD.js → models-config-BJTF5xb7.js} +6 -6
- package/dist/{net-DfmnTN89.js → net-B6xk1xkz.js} +2 -2
- package/dist/{node-cli-Csot4WhY.js → node-cli-hD2wltn8.js} +33 -33
- package/dist/{node-command-policy-zI2Nd_XZ.js → node-command-policy-bP6LYXJe.js} +1 -1
- package/dist/{node-service-DHWADbz3.js → node-service-B10h5Sui.js} +1 -1
- package/dist/{nodes-cli-BJF1Kb0I.js → nodes-cli-BaO6VigE.js} +16 -16
- package/dist/{nodes-screen-C9ytNi_p.js → nodes-screen-DIBoM5tG.js} +7 -7
- package/dist/{npm-pack-install-BkSJrEoq.js → npm-pack-install-C9DS0YeS.js} +18 -18
- package/dist/{npm-resolution-B74nY0RB.js → npm-resolution-B5fqS6mO.js} +5 -5
- package/dist/{npm-resolution-DIvETHTU.js → npm-resolution-dNC8uD0I.js} +1 -1
- package/dist/{onboard-B6HW9q6Q.js → onboard-CE9V4Lb7.js} +6 -6
- package/dist/{onboard-channels-DJVM_aUx.js → onboard-channels-DPIysHDh.js} +20 -20
- package/dist/{onboard-channels-pzjW5IfR.js → onboard-channels-DQ1rkv4c.js} +1 -1
- package/dist/{onboard-custom-2Dhma9aa.js → onboard-custom-BhL4byJI.js} +1 -1
- package/dist/{onboard-custom-CRXcWyfJ.js → onboard-custom-Ca3nnlVy.js} +3 -3
- package/dist/{onboard-custom.shared-CNcCdRsS.js → onboard-custom.shared-D6P-b1Wa.js} +3 -3
- package/dist/{onboard-custom.shared-BVWW8dhE.js → onboard-custom.shared-vjI8sl9Q.js} +1 -1
- package/dist/{onboard-helpers-2jZi8DyE.js → onboard-helpers-D-l_4GyD.js} +11 -11
- package/dist/{onboard-hooks-D8MxBe6j.js → onboard-hooks-DDwA_gb0.js} +4 -4
- package/dist/{onboard-CnMe8gwt.js → onboard-qD3I6PJW.js} +3 -3
- package/dist/{onboard-remote-Dfkyladm.js → onboard-remote-B023mLV2.js} +3 -3
- package/dist/{onboard-skills-rw0449ZN.js → onboard-skills-UbGzjecs.js} +4 -4
- package/dist/{onboarding-DHOKHrHh.js → onboarding-CjwEj4uN.js} +4 -4
- package/dist/{onboarding-Cnod4Rtf.js → onboarding-_GD-DZHG.js} +13 -13
- package/dist/{onboarding.finalize-CRJ2ikq7.js → onboarding.finalize-B5hA5lV8.js} +7 -7
- package/dist/{onboarding.finalize-Boa2idzu.js → onboarding.finalize-kX5lNpGT.js} +91 -91
- package/dist/{onboarding.gateway-config-DYsZSw1-.js → onboarding.gateway-config-Dvu99ZRI.js} +18 -18
- package/dist/{openai-model-default-D4FwcmmB.js → openai-model-default-BHaYGK6i.js} +2 -2
- package/dist/{openai-model-default-DUmVSDlR.js → openai-model-default-op8vboY6.js} +1 -1
- package/dist/{outbound-B33AvY5n.js → outbound-DP_Pdp7e.js} +4 -4
- package/dist/{outbound-attachment-BGnMFNUJ.js → outbound-attachment-C1mspOfp.js} +2 -2
- package/dist/{pairing-cli-Df3Pa86k.js → pairing-cli-BwaiwEE0.js} +9 -9
- package/dist/{pairing-labels-DsUsf_bd.js → pairing-labels-BDzfGlP0.js} +1 -1
- package/dist/{pairing-store-DISFyfXe.js → pairing-store-DVasdu6J.js} +3 -3
- package/dist/{path-alias-guards-GklztZEg.js → path-alias-guards-CwNBr-6E.js} +3 -3
- package/dist/{path-safety-D310le-T.js → path-safety-Bpqz1wi_.js} +1 -1
- package/dist/{paths-BDiNGPdu.js → paths-C2VtkO4T.js} +9 -9
- package/dist/{pi-embedded-C1bjl5QY.js → pi-embedded-BQqt592d.js} +22 -22
- package/dist/{pi-embedded-helpers-jjDKx95g.js → pi-embedded-helpers-BYOv7Q7E.js} +6 -6
- package/dist/{pi-embedded-helpers-BUAKpUH7.js → pi-embedded-helpers-Bo7e-QzJ.js} +3 -3
- package/dist/{pi-model-discovery-D4cae7Aa.js → pi-model-discovery-B7QZQW84.js} +1 -1
- package/dist/{pi-tools.policy-Cjhz5iy7.js → pi-tools.policy-CUqhItn9.js} +5 -5
- package/dist/{plugin-auto-enable-Bz7g0nLn.js → plugin-auto-enable-BJBnaUzA.js} +3 -3
- package/dist/{plugin-registry-C-GmY3jR.js → plugin-registry-2CmN8Jv2.js} +1 -1
- package/dist/{plugin-registry-MDhg7Qi4.js → plugin-registry-NaHPDM1s.js} +3 -3
- package/dist/plugin-sdk/bitseek/constants.d.ts +3 -1
- package/dist/{plugins-DaKbDkTU.js → plugins-BYHJoTB8.js} +2 -2
- package/dist/{plugins-cli-C48Zjd96.js → plugins-cli-DwKgp7q7.js} +88 -88
- package/dist/{plugins-cli-Dmby2yHh.js → plugins-cli-o6KJO4Qe.js} +4 -4
- package/dist/{ports-rhtsAoOq.js → ports-Bjm5w0DD.js} +2 -2
- package/dist/{ports-CkYr4Wsz.js → ports-CmP85Z6Y.js} +1 -1
- package/dist/{program-SWTF9VwN.js → program-BTBw45uK.js} +86 -86
- package/dist/{program-context-BEi8inrG.js → program-context-CqvVc2Bn.js} +18 -18
- package/dist/{prompt-select-styled-CmtT9U6P.js → prompt-select-styled-7VZwhnhd.js} +39 -39
- package/dist/{prompt-select-styled-uWynTnGe.js → prompt-select-styled-DK1SacDX.js} +4 -4
- package/dist/{provider-auth-helpers-DnnYgfnU.js → provider-auth-helpers-CzSm0FSu.js} +5 -5
- package/dist/{provider-auth-helpers-D-NWKlbH.js → provider-auth-helpers-hI1pbI9r.js} +2 -2
- package/dist/{proxy-env-zRmsnQyF.js → proxy-env-B3cJLAXi.js} +1 -1
- package/dist/{push-apns-DpNqlhRp.js → push-apns-DMeB2M_b.js} +5 -5
- package/dist/{push-apns-CxuflGia.js → push-apns-DZ0qaSFA.js} +1 -1
- package/dist/{pw-ai-shcztqUJ.js → pw-ai-BuJ96cBK.js} +15 -15
- package/dist/{pw-ai-K29PikaU.js → pw-ai-Cu3cnNF0.js} +1 -1
- package/dist/{qmd-manager-Dkj5bE5Q.js → qmd-manager-CU27lJu6.js} +20 -20
- package/dist/{qr-cli-CVeJLILo.js → qr-cli-D5wWchj3.js} +1 -1
- package/dist/{query-expansion-C_gNfBxn.js → query-expansion-DTVQFgNJ.js} +12 -12
- package/dist/{redact-snapshot-jjHvRNNQ.js → redact-snapshot-DiQrZF-C.js} +1 -1
- package/dist/{register.agent-KPyI7NIX.js → register.agent-BBOmACUM.js} +99 -99
- package/dist/{register.agent-CM2WrDiT.js → register.agent-D9rmYCMS.js} +10 -10
- package/dist/register.configure-BJ7l1h-A.js +175 -0
- package/dist/{register.configure-DO4EtzQf.js → register.configure-CZF2XAPO.js} +13 -13
- package/dist/{register.init-fbZRTWnn.js → register.init-BXkISfms.js} +18 -17
- package/dist/{register.init--ZybjVz2.js → register.init-BvMr7cj9.js} +3 -2
- package/dist/{register.maintenance-5ovOEoCx.js → register.maintenance-FKHpDu3E.js} +101 -101
- package/dist/{register.maintenance-BEr69U9Q.js → register.maintenance-qjXr4IGe.js} +9 -9
- package/dist/{register.message-C4WVGh_P.js → register.message-BME4m1Jr.js} +79 -79
- package/dist/{register.message-5nFfiTjN.js → register.message-Cs0mwtTw.js} +4 -4
- package/dist/{register.onboard-CYlc-JLy.js → register.onboard--_sGklZ6.js} +18 -18
- package/dist/{register.onboard-DRJusS4p.js → register.onboard-BzpyjklK.js} +2 -2
- package/dist/{register.setup-CFj3zDQ5.js → register.setup-Degyv4Bj.js} +2 -2
- package/dist/{register.setup-Cz9kVlNj.js → register.setup-qYawYgIM.js} +21 -21
- package/dist/{register.start-BesEIeyG.js → register.start-DErNT3nQ.js} +17 -17
- package/dist/{register.status-health-sessions-BPLHKCVT.js → register.status-health-sessions-Czq26k6E.js} +93 -93
- package/dist/{register.status-health-sessions-5YEbsmFq.js → register.status-health-sessions-wp3A615j.js} +5 -5
- package/dist/{register.subclis-BPpxGpDU.js → register.subclis-DkDc3aKk.js} +31 -31
- package/dist/{replies--7kgWzUI.js → replies-BTbk1yj0.js} +1 -1
- package/dist/{reply-DocHuCQP.js → reply-OEcNPoWd.js} +4 -4
- package/dist/{reply-prefix-Db6C8_77.js → reply-prefix-CQi-DNJ_.js} +1 -1
- package/dist/{resolve-route-DqGvgUbS.js → resolve-route-qkwCBMOn.js} +2 -2
- package/dist/{rpc-Da_4fj6k.js → rpc-Cnf8pyqe.js} +1 -1
- package/dist/{run-main-D4CxtTIj.js → run-main-VaM4RFaa.js} +97 -97
- package/dist/{runtime-Dtwe1yzQ.js → runtime-BKPQGwlu.js} +2 -2
- package/dist/{sandbox-7BPxFdm0.js → sandbox-FcGYiz2w.js} +18 -18
- package/dist/{sandbox-cli-fNztPATd.js → sandbox-cli-I_Ee8o_F.js} +26 -26
- package/dist/{secrets-cli-Buc9vA9M.js → secrets-cli-Y5Ae8654.js} +10 -10
- package/dist/{security-cli-CBa6BNve.js → security-cli-Cxh4Msyp.js} +43 -43
- package/dist/{send-B_g5mC7P.js → send-BCFY4Zon.js} +6 -6
- package/dist/{send-BIDQVuz-.js → send-BND_guiq.js} +6 -6
- package/dist/{send-B9F6v1RI.js → send-BaweV9LV.js} +5 -5
- package/dist/{send-Xi705BIB.js → send-CApiXnSH.js} +8 -8
- package/dist/{send-Dt2MU1Ez.js → send-aCOVuBQ6.js} +11 -11
- package/dist/{server-DGSKOG9H.js → server-B9tR6Pn2.js} +19 -19
- package/dist/{server-context-PzcGGZd6.js → server-context-CEq3QrPf.js} +12 -12
- package/dist/{server-lifecycle-DKHhAN2b.js → server-lifecycle-Dm-2uq1J.js} +2 -2
- package/dist/{server-middleware-DV0oZmRx.js → server-middleware-Bm0ro16L.js} +1 -1
- package/dist/{server-node-events-C_CyfSiL.js → server-node-events-BE-B31Iv.js} +79 -79
- package/dist/{server-node-events-CZ-3bwB5.js → server-node-events-h5NyibKC.js} +4 -4
- package/dist/{service-BP_KUPqt.js → service-D_q10odK.js} +15 -15
- package/dist/{session-zBCRyIT4.js → session-BilXyYPK.js} +1 -1
- package/dist/{session-meta-DVRsY69Q.js → session-meta-BmvLv08s.js} +1 -1
- package/dist/{session-utils-CJnxY0Iq.js → session-utils-DdRL6aoq.js} +6 -6
- package/dist/{sessions-DvmE9uli.js → sessions-ChAmoyIS.js} +15 -15
- package/dist/{sessions-D6w_y8HL.js → sessions-CktkDWsc.js} +4 -4
- package/dist/{shared-CdPG7WbR.js → shared-CYOVnE8Z.js} +1 -1
- package/dist/{shared-BpCAsQdK.js → shared-ChzS9n9t.js} +3 -3
- package/dist/{skill-commands-xxmr2qwC.js → skill-commands-BIN2pI7T.js} +5 -5
- package/dist/{skill-scanner-CWbaA3Xe.js → skill-scanner-CSmiOSFd.js} +6 -6
- package/dist/{skills-Cn4HFdI6.js → skills-CqO2kuTQ.js} +3 -3
- package/dist/{skills-cli-fx9XRVfF.js → skills-cli-CCfNGx-q.js} +5 -5
- package/dist/{skills-install-8BRmLudM.js → skills-install-3PLvMn_P.js} +6 -6
- package/dist/{skills-status-KyIZObis.js → skills-status-C1TG3OK0.js} +1 -1
- package/dist/{status-DGYiEE9b.js → status-CmNVuywF.js} +2 -2
- package/dist/{status-Cpa2ZBOB.js → status-D_I-fLJF.js} +26 -26
- package/dist/{status.update-dR_eb-sA.js → status.update-BX7tZJju.js} +2 -2
- package/dist/{store-C-5s51Gr.js → store-H4Sy0kJE.js} +5 -5
- package/dist/{subagent-registry-BFi2AvAR.js → subagent-registry-D4xGq2uc.js} +158 -158
- package/dist/{system-cli-0oaOfAhE.js → system-cli-zS6TKEZN.js} +9 -9
- package/dist/{system-run-command--za6p_x3.js → system-run-command-Bnym6gCM.js} +1 -1
- package/dist/{systemd-BKKFcgDX.js → systemd-B-TNk1de.js} +9 -9
- package/dist/{systemd-hints-DWiwN7xP.js → systemd-hints-BtHGM1Jb.js} +6 -6
- package/dist/{systemd-linger-CxIMr-zT.js → systemd-linger-CTeOH7Nl.js} +1 -1
- package/dist/{tables-Dxff0JSr.js → tables-CQmtKuyg.js} +1 -1
- package/dist/{tailnet-Cu8EdqyP.js → tailnet-DcxtJZA8.js} +1 -1
- package/dist/{target-errors-BF6f4DMR.js → target-errors-B_xyg1kW.js} +4 -4
- package/dist/{tool-images-BdyT10Li.js → tool-images-D1tcg9xW.js} +1 -1
- package/dist/{tui-CpmJvFb8.js → tui-CaNLNBF2.js} +6 -6
- package/dist/{tui-cli-C3paex8S.js → tui-cli-YnPauYsR.js} +33 -33
- package/dist/{update-DeX-3j-N.js → update-Cn9hdCvW.js} +3 -3
- package/dist/{update-cli-BFovLSoE.js → update-cli-CWS0bKZV.js} +109 -109
- package/dist/{update-cli-GRNVZJPC.js → update-cli-Do4BIFSd.js} +9 -9
- package/dist/{update-runner-BEeaojMB.js → update-runner-BUth8QlB.js} +16 -16
- package/dist/{update-runner-C_NOsmrM.js → update-runner-D5vyQGte.js} +1 -1
- package/dist/{web-JHPqOF_6.js → web-Bc1AWW4q.js} +4 -4
- package/dist/{web-_gRUr5dM.js → web-C5gLi1bN.js} +6 -6
- package/dist/web-CQqnJkMB.js +127 -0
- package/dist/{webhooks-cli-D8OXryhs.js → webhooks-cli-BI8a49sS.js} +6 -6
- package/dist/{whatsapp-actions-DXHJuREZ.js → whatsapp-actions-DdiWBZ9X.js} +19 -19
- package/dist/{with-timeout-CL7ogNKf.js → with-timeout-DbFn1lEx.js} +3 -3
- package/dist/{workspace-V4tpdXSA.js → workspace-AgsRlsqX.js} +1 -1
- package/dist/{workspace-DzeL98px.js → workspace-BHfqkuYN.js} +23 -23
- package/dist/{workspace-dirs-pZ_2cckP.js → workspace-dirs-DxSNfi_Q.js} +1 -1
- package/dist/{wsl-CiVud8tt.js → wsl-KDz114y6.js} +2 -2
- package/docs/install/installer.md +7 -0
- package/package.json +6 -1
- package/dist/constants-CLQ_6hKz.js +0 -10
- package/dist/constants-DnSTSxcE.js +0 -10
- package/dist/register.configure-CLQG7kfp.js +0 -175
- package/dist/web-DgzOP2dY.js +0 -127
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { m as getChildLogger } from "./globals-B68W7uN8.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-DjdBljTA.js";
|
|
4
|
-
import { M as loadConfig } from "./auth-profiles-
|
|
4
|
+
import { M as loadConfig } from "./auth-profiles-Ncv1fyN5.js";
|
|
5
5
|
import { c as escapeRegExp, w as toWhatsappJid } from "./utils-DIzy5B5o.js";
|
|
6
6
|
import { n as generateSecureUuid } from "./secure-random-C6AVByhV.js";
|
|
7
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
8
|
-
import { a as loadWebMedia } from "./ir-
|
|
7
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-B1FRFNMI.js";
|
|
8
|
+
import { a as loadWebMedia } from "./ir-CPt8jJjC.js";
|
|
9
9
|
import { n as normalizePollInput } from "./polls-DXeUmcgz.js";
|
|
10
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
10
|
+
import { t as convertMarkdownTables } from "./tables-CQmtKuyg.js";
|
|
11
11
|
import { i as redactIdentifier, n as requireActiveWebListener } from "./active-listener-iQzznKb6.js";
|
|
12
12
|
|
|
13
13
|
//#region src/markdown/whatsapp.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as saveMediaBuffer } from "./store-
|
|
2
|
-
import { a as loadWebMedia } from "./ir-
|
|
1
|
+
import { i as saveMediaBuffer } from "./store-H4Sy0kJE.js";
|
|
2
|
+
import { a as loadWebMedia } from "./ir-CPt8jJjC.js";
|
|
3
3
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-BRu0610C.js";
|
|
4
4
|
|
|
5
5
|
//#region src/media/outbound-attachment.ts
|
|
@@ -2,11 +2,11 @@ import { p as theme } from "./globals-B68W7uN8.js";
|
|
|
2
2
|
import "./paths-BnKiOk2S.js";
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-DjdBljTA.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import { M as loadConfig } from "./auth-profiles-
|
|
5
|
+
import { M as loadConfig } from "./auth-profiles-Ncv1fyN5.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-CVXyxgq3.js";
|
|
7
|
-
import "./agent-scope-
|
|
7
|
+
import "./agent-scope-CJelRKYY.js";
|
|
8
8
|
import "./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 "./version-CGDNfh5C.js";
|
|
15
15
|
import "./env-vars-Dw0EwyGP.js";
|
|
16
16
|
import "./registry-7fg1BnMw.js";
|
|
17
|
-
import "./manifest-registry-
|
|
18
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
19
|
-
import "./accounts-
|
|
17
|
+
import "./manifest-registry-Kbw8YPsZ.js";
|
|
18
|
+
import { r as normalizeChannelId } from "./plugins-BYHJoTB8.js";
|
|
19
|
+
import "./accounts-ESSExMvC.js";
|
|
20
20
|
import "./logging-CcxUDNcI.js";
|
|
21
|
-
import "./bindings-
|
|
22
|
-
import { d as listPairingChannels, f as notifyPairingApproved, n as approveChannelPairingCode, r as listChannelPairingRequests } from "./pairing-store-
|
|
23
|
-
import { t as resolvePairingIdLabel } from "./pairing-labels-
|
|
21
|
+
import "./bindings-C2tByF8e.js";
|
|
22
|
+
import { d as listPairingChannels, f as notifyPairingApproved, n as approveChannelPairingCode, r as listChannelPairingRequests } from "./pairing-store-DVasdu6J.js";
|
|
23
|
+
import { t as resolvePairingIdLabel } from "./pairing-labels-BDzfGlP0.js";
|
|
24
24
|
import { t as formatDocsLink } from "./links-CbS2yOg-.js";
|
|
25
25
|
import { t as renderTable } from "./table-9IueuXKv.js";
|
|
26
26
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { g as resolveStateDir, m as resolveOAuthDir, y as resolveRequiredHomeDir } from "./paths-BnKiOk2S.js";
|
|
2
|
-
import { tr as withFileLock$1 } from "./auth-profiles-
|
|
2
|
+
import { tr as withFileLock$1 } from "./auth-profiles-Ncv1fyN5.js";
|
|
3
3
|
import { h as DEFAULT_ACCOUNT_ID } from "./session-key-BLprDJYq.js";
|
|
4
4
|
import { y as safeParseJson } from "./utils-DIzy5B5o.js";
|
|
5
|
-
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-
|
|
6
|
-
import { r as writeJsonAtomic } from "./json-files-
|
|
5
|
+
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-BYHJoTB8.js";
|
|
6
|
+
import { r as writeJsonAtomic } from "./json-files-DrZ4qfxw.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import os from "node:os";
|
|
9
9
|
import fs from "node:fs";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { A as isNotFoundPathError, D as resolveBoundaryPath, E as BOUNDARY_PATH_ALIAS_POLICIES } from "./workspace-
|
|
1
|
+
import { A as isNotFoundPathError, D as resolveBoundaryPath, E as BOUNDARY_PATH_ALIAS_POLICIES } from "./workspace-BHfqkuYN.js";
|
|
2
2
|
import os from "node:os";
|
|
3
|
-
import
|
|
3
|
+
import fs from "node:fs/promises";
|
|
4
4
|
|
|
5
5
|
//#region src/infra/hardlink-guards.ts
|
|
6
6
|
async function assertNoHardlinkedFinalPath(params) {
|
|
7
7
|
if (params.allowFinalHardlinkForUnlink) return;
|
|
8
8
|
let stat;
|
|
9
9
|
try {
|
|
10
|
-
stat = await
|
|
10
|
+
stat = await fs.stat(params.filePath);
|
|
11
11
|
} catch (err) {
|
|
12
12
|
if (isNotFoundPathError(err)) return;
|
|
13
13
|
throw err;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { k as resolvePreferredOpenClawTmpDir } from "./globals-B68W7uN8.js";
|
|
2
|
-
import { A as isNotFoundPathError, j as isPathInside } from "./workspace-
|
|
3
|
-
import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-
|
|
2
|
+
import { A as isNotFoundPathError, j as isPathInside } from "./workspace-BHfqkuYN.js";
|
|
3
|
+
import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-Bbp_1S9D.js";
|
|
4
4
|
import path from "node:path";
|
|
5
|
-
import
|
|
5
|
+
import fs from "node:fs/promises";
|
|
6
6
|
|
|
7
7
|
//#region src/browser/form-fields.ts
|
|
8
8
|
const DEFAULT_FILL_FIELD_TYPE = "text";
|
|
@@ -44,28 +44,28 @@ function invalidPath(scopeLabel) {
|
|
|
44
44
|
}
|
|
45
45
|
async function resolveRealPathIfExists(targetPath) {
|
|
46
46
|
try {
|
|
47
|
-
return await
|
|
47
|
+
return await fs.realpath(targetPath);
|
|
48
48
|
} catch {
|
|
49
49
|
return;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
async function resolveTrustedRootRealPath(rootDir) {
|
|
53
53
|
try {
|
|
54
|
-
const rootLstat = await
|
|
54
|
+
const rootLstat = await fs.lstat(rootDir);
|
|
55
55
|
if (!rootLstat.isDirectory() || rootLstat.isSymbolicLink()) return;
|
|
56
|
-
return await
|
|
56
|
+
return await fs.realpath(rootDir);
|
|
57
57
|
} catch {
|
|
58
58
|
return;
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
async function validateCanonicalPathWithinRoot(params) {
|
|
62
62
|
try {
|
|
63
|
-
const candidateLstat = await
|
|
63
|
+
const candidateLstat = await fs.lstat(params.candidatePath);
|
|
64
64
|
if (candidateLstat.isSymbolicLink()) return "invalid";
|
|
65
65
|
if (params.expect === "directory" && !candidateLstat.isDirectory()) return "invalid";
|
|
66
66
|
if (params.expect === "file" && !candidateLstat.isFile()) return "invalid";
|
|
67
67
|
if (params.expect === "file" && candidateLstat.nlink > 1) return "invalid";
|
|
68
|
-
const candidateRealPath = await
|
|
68
|
+
const candidateRealPath = await fs.realpath(params.candidatePath);
|
|
69
69
|
return isPathInside(params.rootRealPath, candidateRealPath) ? "ok" : "invalid";
|
|
70
70
|
} catch (err) {
|
|
71
71
|
return isNotFoundPathError(err) ? "not-found" : "invalid";
|
|
@@ -143,7 +143,7 @@ async function resolveCheckedPathsWithinRoot(params) {
|
|
|
143
143
|
};
|
|
144
144
|
if (!rootRealPath || !raw || !path.isAbsolute(raw)) return lexicalPathResult;
|
|
145
145
|
try {
|
|
146
|
-
const resolvedExistingPath = await
|
|
146
|
+
const resolvedExistingPath = await fs.realpath(raw);
|
|
147
147
|
const relativePath = path.relative(rootRealPath, resolvedExistingPath);
|
|
148
148
|
if (!isInRoot(relativePath)) return lexicalPathResult;
|
|
149
149
|
return {
|
|
@@ -24,17 +24,17 @@ import { t as buildChannelAccountBindings } from "./bindings-CsIiIjqN.js";
|
|
|
24
24
|
import { a as createSlackWebClient, c as validateSlackBlocksArray, d as resolveSlackChannelId, i as normalizeSlackOutboundText, l as buildSlackBlocksFallbackText, o as resolveSlackWebClientOptions, s as parseSlackBlocksInput, t as sendMessageSlack, u as parseSlackTarget } from "./send-CcQZM0c7.js";
|
|
25
25
|
import { $ as fetchChannelPermissionsDiscord, A as unpinMessageDiscord, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveTimestampMs, D as pinMessageDiscord, Dt as normalizeChannelSlug, E as listThreadsDiscord, Et as buildChannelKeyCandidates, F as fetchMemberInfoDiscord, G as uploadStickerDiscord, H as timeoutMemberDiscord, I as fetchRoleInfoDiscord, J as editChannelDiscord, K as createChannelDiscord, L as fetchVoiceStatusDiscord, M as banMemberDiscord, N as createScheduledEventDiscord, O as readMessagesDiscord, Ot as resolveChannelEntryMatchWithFallback, P as fetchChannelInfoDiscord, Q as stripUndefinedFields, R as kickMemberDiscord, S as deleteMessageDiscord, St as resolveDiscordSystemLocation, T as listPinsDiscord, Tt as applyChannelMatchMeta, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendPollDiscord, _t as resolveDiscordShouldRequireMention, a as removeReactionDiscord, at as resolveDiscordChannelId, b as sendWebhookMessageDiscord, bt as formatDiscordReactionEmoji, c as formatDiscordComponentEventText, ct as isDiscordGroupAllowedByPolicy, d as parseDiscordModalCustomId, dt as resolveDiscordAllowListMatch, et as hasAnyGuildPermissionDiscord, f as parseDiscordModalCustomIdForCarbon, ft as resolveDiscordChannelConfigWithFallback, g as sendMessageDiscord, gt as resolveDiscordOwnerAllowFrom, h as resolveDiscordModalEntry, ht as resolveDiscordOwnerAccess, i as removeOwnReactionsDiscord, it as parseDiscordTarget, j as addRoleDiscord, k as searchMessagesDiscord, l as parseDiscordComponentCustomId, lt as normalizeDiscordAllowList, m as resolveDiscordComponentEntry, mt as resolveDiscordMemberAccessState, n as fetchReactionsDiscord, nt as createDiscordClient, o as sendDiscordComponentMessage, ot as listDiscordDirectoryGroupsLive, p as readDiscordComponentSpec, pt as resolveDiscordGuildEntry, q as deleteChannelDiscord, r as reactMessageDiscord, rt as createDiscordRestClient, s as createDiscordFormModal, st as listDiscordDirectoryPeersLive, tt as chunkDiscordTextWithMode, u as parseDiscordComponentCustomIdForCarbon, ut as normalizeDiscordSlug, v as sendStickerDiscord, vt as resolveGroupDmAllow, w as fetchMessageDiscord, wt as fetchDiscord, x as createThreadDiscord, xt as formatDiscordUserTag, y as sendVoiceMessageDiscord, yt as shouldEmitDiscordReactionNotification, z as listGuildChannelsDiscord } from "./send-DcL81tZr.js";
|
|
26
26
|
import { n as generateSecureUuid, t as generateSecureToken } from "./secure-random-CY3Mg7Dp.js";
|
|
27
|
-
import { A as initializeGlobalHookRunner, C as shouldSuppressReasoningPayload, D as normalizeChannelTargetInput, E as buildTargetResolverSignature, O as normalizeTargetForProvider, S as shouldSuppressMessagingToolReplies, T as resolveReplyToMode, _ as applyReplyTagsToPayload, a as normalizeOutboundPayloadsForJson, b as filterMessagingToolMediaDuplicates, c as parseReplyDirectives, d as toInternalMessagePreprocessedContext, f as toInternalMessageReceivedContext, g as fireAndForgetHook, h as toPluginMessageReceivedEvent, i as normalizeOutboundPayloads, k as getGlobalHookRunner, l as splitMediaFromOutput, m as toPluginMessageContext, o as normalizeReplyPayloadsForDelivery, p as toInternalMessageTranscribedContext, r as formatOutboundPayloadLog, s as throwIfAborted, t as deliverOutboundPayloads, u as deriveInboundMessageHookContext, v as applyReplyThreading, w as createReplyToModeFilterForChannel, x as isRenderablePayload, y as filterMessagingToolDuplicates } from "./deliver-
|
|
27
|
+
import { A as initializeGlobalHookRunner, C as shouldSuppressReasoningPayload, D as normalizeChannelTargetInput, E as buildTargetResolverSignature, O as normalizeTargetForProvider, S as shouldSuppressMessagingToolReplies, T as resolveReplyToMode, _ as applyReplyTagsToPayload, a as normalizeOutboundPayloadsForJson, b as filterMessagingToolMediaDuplicates, c as parseReplyDirectives, d as toInternalMessagePreprocessedContext, f as toInternalMessageReceivedContext, g as fireAndForgetHook, h as toPluginMessageReceivedEvent, i as normalizeOutboundPayloads, k as getGlobalHookRunner, l as splitMediaFromOutput, m as toPluginMessageContext, o as normalizeReplyPayloadsForDelivery, p as toInternalMessageTranscribedContext, r as formatOutboundPayloadLog, s as throwIfAborted, t as deliverOutboundPayloads, u as deriveInboundMessageHookContext, v as applyReplyThreading, w as createReplyToModeFilterForChannel, x as isRenderablePayload, y as filterMessagingToolDuplicates } from "./deliver-zrYSWfQ5.js";
|
|
28
28
|
import { a as logMessageProcessed, c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, i as logLaneEnqueue, l as logWebhookProcessed, m as isDiagnosticsEnabled, o as logMessageQueued, p as emitDiagnosticEvent, r as logLaneDequeue, s as logSessionStateChange, t as diag, u as logWebhookReceived } from "./diagnostic-BO1GQJJf.js";
|
|
29
29
|
import { r as getDiagnosticSessionState } from "./diagnostic-session-state-DBPrVBk3.js";
|
|
30
30
|
import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-BTexwKe8.js";
|
|
31
31
|
import { $ as readChannelAllowFromStore, A as describeReplyTarget, B as resolveTelegramStreamMode, C as buildSenderLabel, D as buildTelegramParentPeer, E as buildTelegramGroupPeerId, F as resolveTelegramDirectPeerId, G as resolveSenderAllowMatch$1, H as isSenderAllowed$1, I as resolveTelegramForumThreadId, J as mergeDmAllowFromSources, K as firstDefined$1, L as resolveTelegramGroupAllowFromContext, M as extractTelegramLocation, N as hasBotMention, O as buildTelegramThreadParams, P as normalizeForwardedContext, Q as addChannelAllowFromStoreEntry, R as resolveTelegramMediaPlaceholder, S as buildGroupLabel, T as buildTelegramGroupFrom, U as normalizeAllowFrom$2, V as resolveTelegramThreadSpec, W as normalizeDmAllowFromWithStore$1, X as formatLocationText, Y as resolveGroupAllowFromSources, Z as toLocationContext, _ as resolveTelegramFetch, a as reactMessageTelegram, at as listPairingChannels, b as loadCronStore, c as sendStickerTelegram, ct as resolveTelegramTargetChatType, d as wasSentByBot, et as removeChannelAllowFromStoreEntry, f as isRecoverableTelegramNetworkError, g as wrapFileReferencesInHtml, h as renderTelegramHtmlText, i as editMessageTelegram, it as getPairingAdapter, j as expandTextLinks, k as buildTypingThreadParams, m as markdownToTelegramHtml, n as createForumTopicTelegram, nt as readJsonFileWithFallback, o as sendMessageTelegram, ot as isVoiceCompatibleAudio, p as markdownToTelegramChunks, q as isSenderIdAllowed, r as deleteMessageTelegram, rt as writeJsonFileAtomically, s as sendPollTelegram, st as parseTelegramTarget, t as buildInlineKeyboard, tt as upsertChannelPairingRequest, u as resolveTelegramVoiceSend, v as splitTelegramCaption, w as buildSenderName, x as resolveCronStorePath, y as withTelegramApiErrorLogging, z as resolveTelegramReplyId } from "./send-D2zYssqK.js";
|
|
32
32
|
import { c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, g as MAX_IMAGE_BYTES, i as getImageMetadata, l as extensionForMime, m as kindFromMime, p as isGifMedia, s as resizeToJpeg, v as mediaKindFromMime } from "./image-ops-DCpyia_K.js";
|
|
33
|
-
import { _ as resolveAttachmentKind, a as resolveAutoImageModel, b as modelSupportsVision, c as applyTemplate, d as normalizeMediaUnderstandingChatType, f as resolveMediaUnderstandingScope, h as registerUnhandledRejectionHandler, i as normalizeMediaAttachments, l as resolveConcurrency, m as buildRandomTempFilePath, n as buildProviderRegistry, o as resolveMediaAttachmentLocalRoots, p as CLI_OUTPUT_MAX_BUFFER, r as createMediaAttachmentCache, s as runCapability, t as runAudioTranscription, u as resolveTimeoutMs$2, v as findModelInCatalog, x as resolveAliasedOpenAiCompatibleModelId, y as loadModelCatalog } from "./audio-transcription-runner-
|
|
33
|
+
import { _ as resolveAttachmentKind, a as resolveAutoImageModel, b as modelSupportsVision, c as applyTemplate, d as normalizeMediaUnderstandingChatType, f as resolveMediaUnderstandingScope, h as registerUnhandledRejectionHandler, i as normalizeMediaAttachments, l as resolveConcurrency, m as buildRandomTempFilePath, n as buildProviderRegistry, o as resolveMediaAttachmentLocalRoots, p as CLI_OUTPUT_MAX_BUFFER, r as createMediaAttachmentCache, s as runCapability, t as runAudioTranscription, u as resolveTimeoutMs$2, v as findModelInCatalog, x as resolveAliasedOpenAiCompatibleModelId, y as loadModelCatalog } from "./audio-transcription-runner-CQ4BMvGX.js";
|
|
34
34
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DA46fxhD.js";
|
|
35
35
|
import { a as isMarkdownCapableMessageChannel, c as resolveGatewayMessageChannel, d as GATEWAY_CLIENT_MODES, f as GATEWAY_CLIENT_NAMES, i as isInternalMessageChannel, l as resolveMessageChannel, n as isDeliverableMessageChannel, o as listDeliverableMessageChannels, r as isGatewayMessageChannel, s as normalizeMessageChannel, t as INTERNAL_MESSAGE_CHANNEL, u as GATEWAY_CLIENT_IDS } from "./message-channel-pbgFFUNm.js";
|
|
36
|
-
import { $ as mergeAlsoAllowPolicy, A as isRawApiErrorPayload, B as registerBrowserRoutes, C as isCloudCodeAssistFormatError, D as isFailoverErrorMessage, E as isFailoverAssistantError, F as sanitizeUserFacingText, G as resolveBrowserControlAuth, H as resolveProfile, I as ensureSandboxWorkspaceForSession, J as resolveSandboxConfigForAgent, K as resolveGatewayCredentialsFromConfig, L as resolveSandboxContext, M as isTransientHttpError, N as parseImageDimensionError, O as isLikelyContextOverflowError, P as parseImageSizeError, Q as expandPolicyWithPluginGroups, R as resolveSandboxRuntimeStatus, S as isBillingAssistantError, T as isContextOverflowError, U as getBridgeAuthForPort, V as resolveBrowserConfig, W as ensureBrowserControlAuth, X as buildPluginToolGroups, Y as applyOwnerOnlyToolPolicy, Z as collectExplicitAllowlist, _ as formatBillingErrorMessage, a as isMessagingToolDuplicateNormalized, at as matchesAnyGlobPattern, b as isAuthAssistantError, c as extractToolCallsFromAssistant, ct as resolveBootstrapMaxChars, d as downgradeOpenAIFunctionCallReasoningPairs, et as stripPluginOnlyAllowlist, f as downgradeOpenAIReasoningBlocks, g as formatAssistantErrorText, h as classifyFailoverReason, it as compileGlobPatterns, j as isTimeoutErrorMessage, k as isRateLimitAssistantError, l as extractToolResultId, lt as resolveBootstrapTotalMaxChars, m as BILLING_ERROR_USER_MESSAGE, n as validateGeminiTurns, nt as normalizeToolName, o as normalizeTextForComparison, ot as buildBootstrapContextFiles, p as isGoogleModelApi, q as trimToUndefined$1, r as pickFallbackThinkingLevel, rt as resolveToolProfilePolicy, s as sanitizeSessionMessagesImages, st as ensureSessionHeader, t as validateAnthropicTurns, tt as expandToolGroups, u as sanitizeToolCallIdsForCloudCodeAssist, ut as sanitizeGoogleTurnOrdering, v as formatRawAssistantErrorForUi, w as isCompactionFailureError, x as isAuthPermanentErrorMessage, y as getApiErrorPayloadFingerprint, z as createBrowserRouteContext } from "./pi-embedded-helpers-
|
|
37
|
-
import { A as rawDataToString, B as isSecureWebSocketUrl, C as ensureChromeExtensionRelayServer, N as DEFAULT_UPLOAD_DIR, P as resolveExistingPathsWithinRoot, U as DEFAULT_AI_SNAPSHOT_MAX_CHARS, s as resolveLsofCommandSync, z as isLoopbackHost } from "./chrome-
|
|
36
|
+
import { $ as mergeAlsoAllowPolicy, A as isRawApiErrorPayload, B as registerBrowserRoutes, C as isCloudCodeAssistFormatError, D as isFailoverErrorMessage, E as isFailoverAssistantError, F as sanitizeUserFacingText, G as resolveBrowserControlAuth, H as resolveProfile, I as ensureSandboxWorkspaceForSession, J as resolveSandboxConfigForAgent, K as resolveGatewayCredentialsFromConfig, L as resolveSandboxContext, M as isTransientHttpError, N as parseImageDimensionError, O as isLikelyContextOverflowError, P as parseImageSizeError, Q as expandPolicyWithPluginGroups, R as resolveSandboxRuntimeStatus, S as isBillingAssistantError, T as isContextOverflowError, U as getBridgeAuthForPort, V as resolveBrowserConfig, W as ensureBrowserControlAuth, X as buildPluginToolGroups, Y as applyOwnerOnlyToolPolicy, Z as collectExplicitAllowlist, _ as formatBillingErrorMessage, a as isMessagingToolDuplicateNormalized, at as matchesAnyGlobPattern, b as isAuthAssistantError, c as extractToolCallsFromAssistant, ct as resolveBootstrapMaxChars, d as downgradeOpenAIFunctionCallReasoningPairs, et as stripPluginOnlyAllowlist, f as downgradeOpenAIReasoningBlocks, g as formatAssistantErrorText, h as classifyFailoverReason, it as compileGlobPatterns, j as isTimeoutErrorMessage, k as isRateLimitAssistantError, l as extractToolResultId, lt as resolveBootstrapTotalMaxChars, m as BILLING_ERROR_USER_MESSAGE, n as validateGeminiTurns, nt as normalizeToolName, o as normalizeTextForComparison, ot as buildBootstrapContextFiles, p as isGoogleModelApi, q as trimToUndefined$1, r as pickFallbackThinkingLevel, rt as resolveToolProfilePolicy, s as sanitizeSessionMessagesImages, st as ensureSessionHeader, t as validateAnthropicTurns, tt as expandToolGroups, u as sanitizeToolCallIdsForCloudCodeAssist, ut as sanitizeGoogleTurnOrdering, v as formatRawAssistantErrorForUi, w as isCompactionFailureError, x as isAuthPermanentErrorMessage, y as getApiErrorPayloadFingerprint, z as createBrowserRouteContext } from "./pi-embedded-helpers-Bo7e-QzJ.js";
|
|
37
|
+
import { A as rawDataToString, B as isSecureWebSocketUrl, C as ensureChromeExtensionRelayServer, N as DEFAULT_UPLOAD_DIR, P as resolveExistingPathsWithinRoot, U as DEFAULT_AI_SNAPSHOT_MAX_CHARS, s as resolveLsofCommandSync, z as isLoopbackHost } from "./chrome-DWfXErGH.js";
|
|
38
38
|
import { c as assertSandboxPath, d as resolveSandboxedMediaSource, f as applySkillEnvOverrides, i as resolveSkillsPromptForRun, l as resolveSandboxInputPath, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverridesFromSnapshot, r as loadWorkspaceSkillEntries, s as assertMediaNotDataUrl } from "./skills-BttlqUXr.js";
|
|
39
39
|
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-Cpb5gMG6.js";
|
|
40
40
|
import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-CaZQhKzI.js";
|
|
@@ -50,7 +50,7 @@ import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as re
|
|
|
50
50
|
import { n as onSessionTranscriptUpdate, t as emitSessionTranscriptUpdate } from "./transcript-events-ByYgonIF.js";
|
|
51
51
|
import { a as canonicalizeBase64, i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, o as estimateBase64DecodedBytes, r as sanitizeToolResultImages } from "./tool-images-ArXzv82F.js";
|
|
52
52
|
import { a as normalizeReasoningLevel, c as normalizeVerboseLevel, i as normalizeElevatedLevel, l as resolveResponseUsageMode, n as formatXHighModelHint, o as normalizeThinkLevel, s as normalizeUsageDisplay, t as formatThinkingLevels, u as supportsXHighThinking } from "./thinking-BcOnJa2q.js";
|
|
53
|
-
import { C as extractTextFromChatContent, S as isInsideCode, T as ensureOpenClawModelsJson, _ as stripThinkingTagsFromText, a as decodeDataUrl, b as stripReasoningTagsFromText, c as extractAssistantThinking, d as formatReasoningMessage, f as inferToolMetaFromArgs, g as stripMinimaxToolCallXml, h as stripDowngradedToolCallText, i as coerceImageModelConfig, l as extractThinkingFromTaggedStream, m as promoteThinkingTagsToBlocks, o as resolveProviderVisionModelFromConfig, p as isAssistantMessage, r as coerceImageAssistantText, s as extractAssistantText$1, u as extractThinkingFromTaggedText, v as formatToolSummary, w as minimaxUnderstandImage, x as findCodeRegions, y as resolveToolDisplay } from "./image-
|
|
53
|
+
import { C as extractTextFromChatContent, S as isInsideCode, T as ensureOpenClawModelsJson, _ as stripThinkingTagsFromText, a as decodeDataUrl, b as stripReasoningTagsFromText, c as extractAssistantThinking, d as formatReasoningMessage, f as inferToolMetaFromArgs, g as stripMinimaxToolCallXml, h as stripDowngradedToolCallText, i as coerceImageModelConfig, l as extractThinkingFromTaggedStream, m as promoteThinkingTagsToBlocks, o as resolveProviderVisionModelFromConfig, p as isAssistantMessage, r as coerceImageAssistantText, s as extractAssistantText$1, u as extractThinkingFromTaggedText, v as formatToolSummary, w as minimaxUnderstandImage, x as findCodeRegions, y as resolveToolDisplay } from "./image-DnxYCkHO.js";
|
|
54
54
|
import { a as getDefaultMediaLocalRoots, i as getAgentScopedMediaLocalRoots, n as fetchRemoteMedia, r as readResponseWithLimit, t as MediaFetchError } from "./fetch-4RonjgqX.js";
|
|
55
55
|
import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-CYFFedEH.js";
|
|
56
56
|
import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-B1EGEHan.js";
|
|
@@ -95,7 +95,7 @@ import { CURRENT_SESSION_VERSION, DefaultResourceLoader, SessionManager, Setting
|
|
|
95
95
|
import { EdgeTTS } from "node-edge-tts";
|
|
96
96
|
import { createServer } from "node:http";
|
|
97
97
|
import { ProxyAgent, fetch as fetch$1 } from "undici";
|
|
98
|
-
import WebSocket, { WebSocket
|
|
98
|
+
import WebSocket$1, { WebSocket } from "ws";
|
|
99
99
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
100
100
|
import { createJiti } from "jiti";
|
|
101
101
|
import AjvPkg from "ajv";
|
|
@@ -8197,7 +8197,7 @@ var GatewayClient = class {
|
|
|
8197
8197
|
if (fingerprint !== expected) return /* @__PURE__ */ new Error("gateway tls fingerprint mismatch");
|
|
8198
8198
|
});
|
|
8199
8199
|
}
|
|
8200
|
-
this.ws = new WebSocket
|
|
8200
|
+
this.ws = new WebSocket(url, wsOptions);
|
|
8201
8201
|
this.ws.on("open", () => {
|
|
8202
8202
|
if (url.startsWith("wss://") && this.opts.tlsFingerprint) {
|
|
8203
8203
|
const tlsError = this.validateTlsFingerprint();
|
|
@@ -8393,7 +8393,7 @@ var GatewayClient = class {
|
|
|
8393
8393
|
const connectChallengeTimeoutMs = typeof rawConnectDelayMs === "number" && Number.isFinite(rawConnectDelayMs) ? Math.max(250, Math.min(1e4, rawConnectDelayMs)) : 2e3;
|
|
8394
8394
|
if (this.connectTimer) clearTimeout(this.connectTimer);
|
|
8395
8395
|
this.connectTimer = setTimeout(() => {
|
|
8396
|
-
if (this.connectSent || this.ws?.readyState !== WebSocket
|
|
8396
|
+
if (this.connectSent || this.ws?.readyState !== WebSocket.OPEN) return;
|
|
8397
8397
|
this.opts.onConnectError?.(/* @__PURE__ */ new Error("gateway connect challenge timeout"));
|
|
8398
8398
|
this.ws?.close(1008, "connect challenge timeout");
|
|
8399
8399
|
}, connectChallengeTimeoutMs);
|
|
@@ -8435,7 +8435,7 @@ var GatewayClient = class {
|
|
|
8435
8435
|
return null;
|
|
8436
8436
|
}
|
|
8437
8437
|
async request(method, params, opts) {
|
|
8438
|
-
if (!this.ws || this.ws.readyState !== WebSocket
|
|
8438
|
+
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error("gateway not connected");
|
|
8439
8439
|
const id = randomUUID();
|
|
8440
8440
|
const frame = {
|
|
8441
8441
|
type: "req",
|
|
@@ -9715,7 +9715,7 @@ async function routeReply(params) {
|
|
|
9715
9715
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
9716
9716
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
9717
9717
|
try {
|
|
9718
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
9718
|
+
const { deliverOutboundPayloads } = await import("./deliver-zrYSWfQ5.js").then((n) => n.n);
|
|
9719
9719
|
const outboundSession = buildOutboundSessionContext({
|
|
9720
9720
|
cfg,
|
|
9721
9721
|
agentId: resolvedAgentId,
|
|
@@ -14273,7 +14273,7 @@ async function sendTranscriptEcho(params) {
|
|
|
14273
14273
|
}
|
|
14274
14274
|
const text = formatEchoTranscript(transcript, params.format ?? DEFAULT_ECHO_TRANSCRIPT_FORMAT);
|
|
14275
14275
|
try {
|
|
14276
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
14276
|
+
const { deliverOutboundPayloads } = await import("./deliver-zrYSWfQ5.js").then((n) => n.n);
|
|
14277
14277
|
await deliverOutboundPayloads({
|
|
14278
14278
|
cfg,
|
|
14279
14279
|
channel: normalizedChannel,
|
|
@@ -49773,7 +49773,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
49773
49773
|
return;
|
|
49774
49774
|
}
|
|
49775
49775
|
try {
|
|
49776
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
49776
|
+
const { deliverOutboundPayloads } = await import("./deliver-zrYSWfQ5.js").then((n) => n.n);
|
|
49777
49777
|
const outboundSession = buildOutboundSessionContext({
|
|
49778
49778
|
cfg: params.cfg,
|
|
49779
49779
|
sessionKey: params.sessionKey
|
|
@@ -54715,7 +54715,7 @@ async function describeStickerImage(params) {
|
|
|
54715
54715
|
logVerbose(`telegram: describing sticker with ${provider}/${model}`);
|
|
54716
54716
|
try {
|
|
54717
54717
|
const buffer = await fs.readFile(imagePath);
|
|
54718
|
-
const { describeImageWithModel } = await import("./image-
|
|
54718
|
+
const { describeImageWithModel } = await import("./image-DnxYCkHO.js").then((n) => n.n);
|
|
54719
54719
|
return (await describeImageWithModel({
|
|
54720
54720
|
buffer,
|
|
54721
54721
|
fileName: "sticker.webp",
|
|
@@ -56469,7 +56469,7 @@ async function resolveDiscordPreflightAudioMentionContext(params) {
|
|
|
56469
56469
|
const needsPreflightTranscription = !params.isDirectMessage && params.shouldRequireMention && hasAudioAttachment && !hasTypedText && params.mentionRegexes.length > 0;
|
|
56470
56470
|
let transcript;
|
|
56471
56471
|
if (needsPreflightTranscription) try {
|
|
56472
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
56472
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-C2pZmbnM.js");
|
|
56473
56473
|
const audioUrls = audioAttachments.map((att) => att.url).filter((url) => typeof url === "string" && url.length > 0);
|
|
56474
56474
|
if (audioUrls.length > 0) transcript = await transcribeFirstAudio({
|
|
56475
56475
|
ctx: {
|
|
@@ -61011,7 +61011,7 @@ function createOutboundSendDepsFromCliSource(deps) {
|
|
|
61011
61011
|
function createDefaultDeps() {
|
|
61012
61012
|
return {
|
|
61013
61013
|
sendMessageWhatsApp: async (...args) => {
|
|
61014
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
61014
|
+
const { sendMessageWhatsApp } = await import("./web-C5gLi1bN.js");
|
|
61015
61015
|
return await sendMessageWhatsApp(...args);
|
|
61016
61016
|
},
|
|
61017
61017
|
sendMessageTelegram: async (...args) => {
|
|
@@ -64459,7 +64459,7 @@ function createDiscordGatewayPlugin(params) {
|
|
|
64459
64459
|
return super.registerClient(client);
|
|
64460
64460
|
}
|
|
64461
64461
|
createWebSocket(url) {
|
|
64462
|
-
return new WebSocket(url, { agent: wsAgent });
|
|
64462
|
+
return new WebSocket$1(url, { agent: wsAgent });
|
|
64463
64463
|
}
|
|
64464
64464
|
}
|
|
64465
64465
|
return new ProxyGatewayPlugin();
|
|
@@ -76490,7 +76490,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, replyMedia =
|
|
|
76490
76490
|
const disableAudioPreflight = firstDefined$1(topicConfig?.disableAudioPreflight, groupConfig?.disableAudioPreflight) === true;
|
|
76491
76491
|
let preflightTranscript;
|
|
76492
76492
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0 && !disableAudioPreflight) try {
|
|
76493
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
76493
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-C2pZmbnM.js");
|
|
76494
76494
|
preflightTranscript = await transcribeFirstAudio({
|
|
76495
76495
|
ctx: {
|
|
76496
76496
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -79275,7 +79275,7 @@ function loadWebLoginQr() {
|
|
|
79275
79275
|
return webLoginQrPromise;
|
|
79276
79276
|
}
|
|
79277
79277
|
function loadWebChannel() {
|
|
79278
|
-
webChannelPromise ??= import("./web-
|
|
79278
|
+
webChannelPromise ??= import("./web-C5gLi1bN.js");
|
|
79279
79279
|
return webChannelPromise;
|
|
79280
79280
|
}
|
|
79281
79281
|
function loadWhatsAppActions() {
|
|
@@ -87086,7 +87086,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
87086
87086
|
* Throws if the connection is not open.
|
|
87087
87087
|
*/
|
|
87088
87088
|
send(event) {
|
|
87089
|
-
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error(`OpenAIWebSocketManager: cannot send — connection is not open (readyState=${this.ws?.readyState ?? "no socket"})`);
|
|
87089
|
+
if (!this.ws || this.ws.readyState !== WebSocket$1.OPEN) throw new Error(`OpenAIWebSocketManager: cannot send — connection is not open (readyState=${this.ws?.readyState ?? "no socket"})`);
|
|
87090
87090
|
this.ws.send(JSON.stringify(event));
|
|
87091
87091
|
}
|
|
87092
87092
|
/**
|
|
@@ -87103,7 +87103,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
87103
87103
|
* Returns true if the WebSocket is currently open and ready to send.
|
|
87104
87104
|
*/
|
|
87105
87105
|
isConnected() {
|
|
87106
|
-
return this.ws !== null && this.ws.readyState === WebSocket.OPEN;
|
|
87106
|
+
return this.ws !== null && this.ws.readyState === WebSocket$1.OPEN;
|
|
87107
87107
|
}
|
|
87108
87108
|
/**
|
|
87109
87109
|
* Permanently closes the WebSocket connection and disables auto-reconnect.
|
|
@@ -87113,7 +87113,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
87113
87113
|
this._cancelRetryTimer();
|
|
87114
87114
|
if (this.ws) {
|
|
87115
87115
|
this.ws.removeAllListeners();
|
|
87116
|
-
if (this.ws.readyState === WebSocket.OPEN || this.ws.readyState === WebSocket.CONNECTING) this.ws.close(1e3, "Client closed");
|
|
87116
|
+
if (this.ws.readyState === WebSocket$1.OPEN || this.ws.readyState === WebSocket$1.CONNECTING) this.ws.close(1e3, "Client closed");
|
|
87117
87117
|
this.ws = null;
|
|
87118
87118
|
}
|
|
87119
87119
|
}
|
|
@@ -87123,7 +87123,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
87123
87123
|
reject(/* @__PURE__ */ new Error("OpenAIWebSocketManager: apiKey is required before connecting."));
|
|
87124
87124
|
return;
|
|
87125
87125
|
}
|
|
87126
|
-
const socket = new WebSocket(this.wsUrl, { headers: {
|
|
87126
|
+
const socket = new WebSocket$1(this.wsUrl, { headers: {
|
|
87127
87127
|
Authorization: `Bearer ${this.apiKey}`,
|
|
87128
87128
|
"OpenAI-Beta": "responses-websocket=v1"
|
|
87129
87129
|
} });
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-DjdBljTA.js";
|
|
2
2
|
import { T as truncateUtf16Safe } from "./utils-DIzy5B5o.js";
|
|
3
|
-
import { s as formatSandboxToolPolicyBlockedMessage } from "./sandbox-
|
|
4
|
-
import { t as sanitizeContentBlocksImages } from "./tool-images-
|
|
3
|
+
import { s as formatSandboxToolPolicyBlockedMessage } from "./sandbox-FcGYiz2w.js";
|
|
4
|
+
import { t as sanitizeContentBlocksImages } from "./tool-images-D1tcg9xW.js";
|
|
5
5
|
import { s as normalizeThinkLevel } from "./thinking-BxCyPtl0.js";
|
|
6
6
|
import path from "node:path";
|
|
7
|
-
import
|
|
7
|
+
import fs from "node:fs/promises";
|
|
8
8
|
import { createHash } from "node:crypto";
|
|
9
9
|
|
|
10
10
|
//#region src/agents/pi-embedded-helpers/bootstrap.ts
|
|
@@ -102,10 +102,10 @@ function clampToBudget(content, budget) {
|
|
|
102
102
|
async function ensureSessionHeader(params) {
|
|
103
103
|
const file = params.sessionFile;
|
|
104
104
|
try {
|
|
105
|
-
await
|
|
105
|
+
await fs.stat(file);
|
|
106
106
|
return;
|
|
107
107
|
} catch {}
|
|
108
|
-
await
|
|
108
|
+
await fs.mkdir(path.dirname(file), { recursive: true });
|
|
109
109
|
const entry = {
|
|
110
110
|
type: "session",
|
|
111
111
|
version: 2,
|
|
@@ -113,7 +113,7 @@ async function ensureSessionHeader(params) {
|
|
|
113
113
|
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
114
114
|
cwd: params.cwd
|
|
115
115
|
};
|
|
116
|
-
await
|
|
116
|
+
await fs.writeFile(file, `${JSON.stringify(entry)}\n`, "utf-8");
|
|
117
117
|
}
|
|
118
118
|
function buildBootstrapContextFiles(files, opts) {
|
|
119
119
|
const maxChars = opts?.maxChars ?? DEFAULT_BOOTSTRAP_MAX_CHARS;
|
|
@@ -10,7 +10,7 @@ import { t as parseBooleanValue } from "./boolean-mcn6kL0s.js";
|
|
|
10
10
|
import { t as CHANNEL_IDS } from "./registry-CJCkqTms.js";
|
|
11
11
|
import { t as generateSecureToken } from "./secure-random-CY3Mg7Dp.js";
|
|
12
12
|
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-DCpyia_K.js";
|
|
13
|
-
import { C as ensureChromeExtensionRelayServer, D as PROFILE_POST_RESTART_WS_TIMEOUT_MS, E as PROFILE_ATTACH_RETRY_TIMEOUT_MS, G as DEFAULT_BROWSER_EVALUATE_ENABLED, H as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, I as resolveWritablePathWithinRoot, J as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, K as DEFAULT_OPENCLAW_BROWSER_COLOR, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, O as resolveCdpReachabilityTimeouts, P as resolveExistingPathsWithinRoot, R as normalizeBrowserFormField, T as CDP_JSON_NEW_TIMEOUT_MS, U as DEFAULT_AI_SNAPSHOT_MAX_CHARS, V as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, W as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, _ as withBrowserNavigationPolicy, a as resolveOpenClawUserDataDir, b as fetchOk, c as resolveBrowserExecutableForPlatform, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, i as launchOpenClawChrome, j as DEFAULT_DOWNLOAD_DIR, l as captureScreenshot, m as InvalidBrowserNavigationUrlError, n as isChromeCdpReady, o as stopOpenClawChrome, p as snapshotAria, q as DEFAULT_OPENCLAW_BROWSER_ENABLED, r as isChromeReachable, u as createTargetViaCdp, v as appendCdpPath, w as stopChromeExtensionRelayServer, y as fetchJson, z as isLoopbackHost } from "./chrome-
|
|
13
|
+
import { C as ensureChromeExtensionRelayServer, D as PROFILE_POST_RESTART_WS_TIMEOUT_MS, E as PROFILE_ATTACH_RETRY_TIMEOUT_MS, G as DEFAULT_BROWSER_EVALUATE_ENABLED, H as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, I as resolveWritablePathWithinRoot, J as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, K as DEFAULT_OPENCLAW_BROWSER_COLOR, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, O as resolveCdpReachabilityTimeouts, P as resolveExistingPathsWithinRoot, R as normalizeBrowserFormField, T as CDP_JSON_NEW_TIMEOUT_MS, U as DEFAULT_AI_SNAPSHOT_MAX_CHARS, V as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, W as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, _ as withBrowserNavigationPolicy, a as resolveOpenClawUserDataDir, b as fetchOk, c as resolveBrowserExecutableForPlatform, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, i as launchOpenClawChrome, j as DEFAULT_DOWNLOAD_DIR, l as captureScreenshot, m as InvalidBrowserNavigationUrlError, n as isChromeCdpReady, o as stopOpenClawChrome, p as snapshotAria, q as DEFAULT_OPENCLAW_BROWSER_ENABLED, r as isChromeReachable, u as createTargetViaCdp, v as appendCdpPath, w as stopChromeExtensionRelayServer, y as fetchJson, z as isLoopbackHost } from "./chrome-DWfXErGH.js";
|
|
14
14
|
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-BttlqUXr.js";
|
|
15
15
|
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-Cpb5gMG6.js";
|
|
16
16
|
import { n as extractErrorCode, r as formatErrorMessage } from "./errors-B11yhRo6.js";
|
|
@@ -1192,7 +1192,7 @@ function isModuleNotFoundError(err) {
|
|
|
1192
1192
|
}
|
|
1193
1193
|
async function loadPwAiModule(mode) {
|
|
1194
1194
|
try {
|
|
1195
|
-
return await import("./pw-ai-
|
|
1195
|
+
return await import("./pw-ai-Cu3cnNF0.js");
|
|
1196
1196
|
} catch (err) {
|
|
1197
1197
|
if (mode === "soft") return null;
|
|
1198
1198
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -3558,7 +3558,7 @@ function createProfileAvailability({ opts, profile, state, getProfileState, setP
|
|
|
3558
3558
|
//#region src/browser/server-context.reset.ts
|
|
3559
3559
|
async function closePlaywrightBrowserConnection() {
|
|
3560
3560
|
try {
|
|
3561
|
-
await (await import("./pw-ai-
|
|
3561
|
+
await (await import("./pw-ai-Cu3cnNF0.js")).closePlaywrightBrowserConnection();
|
|
3562
3562
|
} catch {}
|
|
3563
3563
|
}
|
|
3564
3564
|
function createProfileResetOps({ profile, getProfileState, stopRunningBrowser, isHttpReachable, resolveOpenClawUserDataDir }) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Kn as ensureAuthProfileStore, hr as normalizeProviderId } from "./auth-profiles-
|
|
2
|
+
import { Kn as ensureAuthProfileStore, hr as normalizeProviderId } from "./auth-profiles-Ncv1fyN5.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import * as PiCodingAgent from "@mariozechner/pi-coding-agent";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Nn as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH } from "./auth-profiles-
|
|
2
|
-
import { i as resolveAgentConfig } from "./agent-scope-
|
|
1
|
+
import { Nn as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH } from "./auth-profiles-Ncv1fyN5.js";
|
|
2
|
+
import { i as resolveAgentConfig } from "./agent-scope-CJelRKYY.js";
|
|
3
3
|
import { E as resolveThreadParentSessionKey, c as normalizeAgentId, u as resolveAgentIdFromSessionKey } from "./session-key-BLprDJYq.js";
|
|
4
|
-
import { l as normalizeStringEntries, o as resolveChannelGroupToolsPolicy, t as getChannelDock } from "./dock-
|
|
4
|
+
import { l as normalizeStringEntries, o as resolveChannelGroupToolsPolicy, t as getChannelDock } from "./dock-DXBor-4C.js";
|
|
5
5
|
import { l as normalizeMessageChannel } from "./message-channel-BiM2wKMK.js";
|
|
6
|
-
import { S as normalizeToolName, T as matchesAnyGlobPattern, w as compileGlobPatterns, x as expandToolGroups } from "./sandbox-
|
|
7
|
-
import { i as readChannelAllowFromStore } from "./pairing-store-
|
|
6
|
+
import { S as normalizeToolName, T as matchesAnyGlobPattern, w as compileGlobPatterns, x as expandToolGroups } from "./sandbox-FcGYiz2w.js";
|
|
7
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-DVasdu6J.js";
|
|
8
8
|
import { i as resolveGroupAllowFromSources, r as mergeDmAllowFromSources } from "./allow-from-Dw5EiUPa.js";
|
|
9
9
|
|
|
10
10
|
//#region src/channels/command-gating.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { hr as normalizeProviderId } from "./auth-profiles-
|
|
1
|
+
import { hr as normalizeProviderId } from "./auth-profiles-Ncv1fyN5.js";
|
|
2
2
|
import { t as CONFIG_DIR, u as isRecord, v as resolveUserPath } from "./utils-DIzy5B5o.js";
|
|
3
3
|
import { n as MANIFEST_KEY } from "./legacy-names-D3aIn6ij.js";
|
|
4
4
|
import { a as getChatChannelMeta, l as normalizeChatChannelId, o as listChatChannels } from "./registry-7fg1BnMw.js";
|
|
5
|
-
import { n as loadPluginManifestRegistry, r as discoverOpenClawPlugins } from "./manifest-registry-
|
|
6
|
-
import { t as hasAnyWhatsAppAuth } from "./accounts-
|
|
5
|
+
import { n as loadPluginManifestRegistry, r as discoverOpenClawPlugins } from "./manifest-registry-Kbw8YPsZ.js";
|
|
6
|
+
import { t as hasAnyWhatsAppAuth } from "./accounts-ESSExMvC.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { dt as loadOpenClawPlugins } from "./reply-
|
|
2
|
+
import { dt as loadOpenClawPlugins } from "./reply-OEcNPoWd.js";
|
|
3
3
|
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-CiBV1K6b.js";
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-BT74-yyS.js";
|
|
5
5
|
import { Wt as loadConfig } from "./model-selection-xdfZxwgB.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-DjdBljTA.js";
|
|
3
|
-
import { M as loadConfig } from "./auth-profiles-
|
|
4
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
3
|
+
import { M as loadConfig } from "./auth-profiles-Ncv1fyN5.js";
|
|
4
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-CJelRKYY.js";
|
|
5
5
|
import { u as getActivePluginRegistry } from "./registry-7fg1BnMw.js";
|
|
6
|
-
import { _ as loadOpenClawPlugins } from "./subagent-registry-
|
|
6
|
+
import { _ as loadOpenClawPlugins } from "./subagent-registry-D4xGq2uc.js";
|
|
7
7
|
|
|
8
8
|
//#region src/cli/plugin-registry.ts
|
|
9
9
|
var plugin_registry_exports = /* @__PURE__ */ __exportAll({ ensurePluginRegistryLoaded: () => ensurePluginRegistryLoaded });
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import type { ModelCompatConfig } from "../config/types.models.js";
|
|
1
2
|
export declare const BITSEEK_PROVIDER_ID = "bitseek";
|
|
2
3
|
export declare const BITSEEK_DEFAULT_BASE_URL = "https://chat-proxy.bitseek.ai/v1";
|
|
3
4
|
export declare const BITSEEK_DEFAULT_MODEL_ID = "AUTO";
|
|
4
5
|
export declare const BITSEEK_DEFAULT_MODEL_REF = "bitseek/AUTO";
|
|
5
6
|
export declare const BITSEEK_DEFAULT_CONTEXT_WINDOW_TOKENS = 131072;
|
|
6
|
-
export declare const BITSEEK_DEFAULT_MAX_TOKENS =
|
|
7
|
+
export declare const BITSEEK_DEFAULT_MAX_TOKENS = 65536;
|
|
8
|
+
export declare const BITSEEK_DEEPSEEK_REASONER_COMPAT: ModelCompatConfig;
|
|
7
9
|
export type BitseekPreset = "solo" | "team" | "remote";
|
|
@@ -6,8 +6,8 @@ import { p as normalizeE164 } from "./utils-DIzy5B5o.js";
|
|
|
6
6
|
import { f as getActivePluginRegistryVersion, n as CHAT_CHANNEL_ORDER, p as requireActivePluginRegistry, s as normalizeAnyChannelId } from "./registry-7fg1BnMw.js";
|
|
7
7
|
import { t as normalizeChatType } from "./chat-type-CfYBRycO.js";
|
|
8
8
|
import { t as resolveAccountEntry } from "./account-lookup-9wuXWwa_.js";
|
|
9
|
-
import { v as createAccountListHelpers } from "./accounts-
|
|
10
|
-
import { i as resolveDefaultAgentBoundAccountId, r as listBoundAccountIds } from "./bindings-
|
|
9
|
+
import { v as createAccountListHelpers } from "./accounts-ESSExMvC.js";
|
|
10
|
+
import { i as resolveDefaultAgentBoundAccountId, r as listBoundAccountIds } from "./bindings-C2tByF8e.js";
|
|
11
11
|
import fs from "node:fs";
|
|
12
12
|
import util from "node:util";
|
|
13
13
|
|