@bitseek/claw 1.3.6 → 1.3.7
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-CX1yOBOk.js → accounts-BTexwKe8.js} +1 -1
- package/dist/{accounts-Bwq1wvds.js → accounts-DMvETf-t.js} +1 -1
- package/dist/{accounts-CaiECgq3.js → accounts-ubG6irXZ.js} +16 -16
- package/dist/{active-listener-neKWQsOO.js → active-listener-Hd9sOu9T.js} +1 -1
- package/dist/{agent-scope-CTbRzU1C.js → agent-scope-C6hps0r3.js} +4 -4
- package/dist/{api-key-rotation-BbZD-rsQ.js → api-key-rotation-Cv5_SG_o.js} +2 -2
- package/dist/{audio-preflight-C5Crv38h.js → audio-preflight-C2pZmbnM.js} +39 -39
- package/dist/{audio-transcription-runner-eVtEKUPC.js → audio-transcription-runner-CQ4BMvGX.js} +11 -11
- package/dist/{bindings-Daa-Etag.js → bindings-CsIiIjqN.js} +2 -2
- package/dist/build-info.json +2 -2
- package/dist/bundled/boot-md/handler.js +65 -65
- package/dist/bundled/bootstrap-extra-files/handler.js +7 -7
- package/dist/bundled/command-logger/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +65 -65
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{plugin-sdk/channel-activity-DAEbma-o.js → channel-activity-Dwc2BBvs.js} +3 -3
- package/dist/{chrome-BRjY_MCc.js → chrome-DWfXErGH.js} +26 -26
- package/dist/{chunk-Dfkbh8wX.js → chunk-2ZxftpDd.js} +1 -1
- package/dist/{command-registry-BSN6zVlZ.js → command-registry-CtTmCFgA.js} +5 -5
- package/dist/{commands-registry-NyRDVN7s.js → commands-registry-CTkboeeC.js} +5 -5
- package/dist/{completion-cli-lZ6S6oKA.js → completion-cli-D_Hxee-R.js} +2 -2
- package/dist/{completion-cli-BDeiV4p9.js → completion-cli-wYWbi5wA.js} +1 -1
- package/dist/{deliver-DlLNT2iR.js → deliver-zrYSWfQ5.js} +22 -22
- package/dist/{diagnostic-DpOlXoSr.js → diagnostic-BO1GQJJf.js} +2 -2
- package/dist/{dock-DXlPVrMo.js → dock-Bm23mfim.js} +6 -6
- package/dist/{doctor-completion-BKCOmkBi.js → doctor-completion-BYgrEW3s.js} +1 -1
- package/dist/{doctor-completion-Bim4XRFT.js → doctor-completion-Bai361_Y.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{env-Bn6pmvjK.js → env-DNMZEG57.js} +2 -2
- package/dist/{plugin-sdk/errors-jusxdu7M.js → errors-B11yhRo6.js} +1 -1
- package/dist/{fetch-2cO0rj7X.js → fetch-4RonjgqX.js} +5 -5
- package/dist/{fetch-guard-iigSYt3Q.js → fetch-guard-B1EGEHan.js} +2 -2
- package/dist/{frontmatter-rlCI8Hmw.js → frontmatter-D6vByAHn.js} +2 -2
- package/dist/{fs-safe-CM9EhGvi.js → fs-safe-C77EShMC.js} +4 -4
- package/dist/{gateway-cli-CDgld1qp.js → gateway-cli-C3ftrrlK.js} +1 -1
- package/dist/{gateway-cli-8DmbQc9V.js → gateway-cli-CBGutU8q.js} +1 -1
- package/dist/{github-copilot-token-CPjAmbfr.js → github-copilot-token-DLGN-8YS.js} +7 -7
- package/dist/{image-BWlmyhr-.js → image-DnxYCkHO.js} +6 -6
- package/dist/{image-ops-jvmQoiyw.js → image-ops-DCpyia_K.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{internal-hooks-oLQ2m8YT.js → internal-hooks-yQe6H47q.js} +1 -1
- package/dist/{ir-pR36nI-3.js → ir-DcDVAFj3.js} +6 -6
- package/dist/llm-slug-generator.js +65 -65
- package/dist/{plugin-sdk/logger-Cr-x0vMf.js → logger-BlH5MJiV.js} +1 -1
- package/dist/{login-Cm2zDfEU.js → login-CgEHUE7h.js} +6 -6
- package/dist/{login-qr-iS1jPDpP.js → login-qr-DUJfhbUe.js} +13 -13
- package/dist/{manager-BX3KtavU.js → manager-tozHviEd.js} +15 -15
- package/dist/{markdown-tables-pfs_NCNh.js → markdown-tables-BHONoo6S.js} +1 -1
- package/dist/{message-channel-DB68nc40.js → message-channel-pbgFFUNm.js} +1 -1
- package/dist/{model-selection-DfZMxaX3.js → model-selection-D_Si2Ict.js} +44 -44
- package/dist/{onboard-BcaFvsav.js → onboard-C0Bo_5Vw.js} +1 -1
- package/dist/{onboard-sKY5jwsH.js → onboard-CI1TyO0l.js} +1 -1
- package/dist/{onboarding-BRfS3PSa.js → onboarding-DjOCmNCk.js} +1 -1
- package/dist/{onboarding-JNyox6ZE.js → onboarding-DufCP2B8.js} +1 -1
- package/dist/{onboarding.finalize-hBg4b8IC.js → onboarding.finalize-BI2feWXN.js} +4 -4
- package/dist/{onboarding.finalize-CG9tTRyw.js → onboarding.finalize-C7iEnG3X.js} +3 -3
- package/dist/{outbound-N9_vLIGT.js → outbound-9rXkgGZM.js} +7 -7
- package/dist/{outbound-attachment-CEt49GWZ.js → outbound-attachment-Cy8rvvJE.js} +2 -2
- package/dist/{path-alias-guards-xY_GOJVd.js → path-alias-guards-Cpb5gMG6.js} +1 -1
- package/dist/{paths-Bi8MJ8NM.js → paths-BHEVctLd.js} +3 -3
- package/dist/{paths-DKuX7-1L.js → paths-aGRLvQx9.js} +5 -5
- package/dist/{pi-embedded-CDXssetE.js → pi-embedded-BQqt592d.js} +187 -187
- package/dist/{pi-embedded-helpers-DSPiPpLM.js → pi-embedded-helpers-Bo7e-QzJ.js} +29 -29
- package/dist/{pi-model-discovery-N7o4F93J.js → pi-model-discovery-DA46fxhD.js} +7 -7
- package/dist/plugin-sdk/{accounts-COLYAAOx.js → accounts-4WE2wtsW.js} +1 -1
- package/dist/plugin-sdk/{accounts-BZrkOo6-.js → accounts-AbI8uETR.js} +1 -1
- package/dist/plugin-sdk/{accounts-D_pT5EjF.js → accounts-BYcizTXn.js} +3 -3
- package/dist/plugin-sdk/{active-listener-DxBXcWm_.js → active-listener-pnqLAUOh.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-DT5pxpJB.js → agent-scope-_j3fIYCK.js} +3 -3
- package/dist/plugin-sdk/{api-key-rotation-Dl6Ad7Nj.js → api-key-rotation-CYI51U_M.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-PGsiEosa.js → audio-preflight-D8BVTHCB.js} +33 -33
- package/dist/plugin-sdk/{audio-transcription-runner-CooPnqtC.js → audio-transcription-runner-CRpY5uDq.js} +10 -10
- package/dist/plugin-sdk/{bindings-BSfhEjKN.js → bindings-CxxzC7gn.js} +2 -2
- package/dist/{channel-activity-D0BHmeoE.js → plugin-sdk/channel-activity-B3yZ-f-m.js} +3 -3
- package/dist/plugin-sdk/{channel-web-Dn5fneOY.js → channel-web-BgnipXq5.js} +23 -23
- package/dist/plugin-sdk/{chrome-Dn0G4NoF.js → chrome-oPevdeh5.js} +7 -7
- package/dist/plugin-sdk/{chunk-cvtXztAT.js → chunk-BPyPeheZ.js} +1 -1
- package/dist/plugin-sdk/{command-format-BOJz3y1v.js → command-format-DvyMEXQo.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-CZWv_JwZ.js → commands-registry-Dk8re8Lz.js} +5 -5
- package/dist/plugin-sdk/{config-DAwOhnVF.js → config-D7I2_X4P.js} +10 -10
- package/dist/plugin-sdk/{deliver-PdH-MCq8.js → deliver-NrIHn0__.js} +11 -11
- package/dist/plugin-sdk/{diagnostic-BZvj-qNu.js → diagnostic-DL3k_wRi.js} +2 -2
- package/dist/plugin-sdk/{dock-BdR3OYZn.js → dock-CjdkiLH7.js} +6 -6
- package/dist/{errors-Ct2kCLWx.js → plugin-sdk/errors-DFTN4h2I.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-Dary6WwJ.js → fetch-guard-BivEyA4v.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-DMCE0ej9.js → fs-safe-B256n7Ff.js} +3 -3
- package/dist/plugin-sdk/{image-B3A2l2ep.js → image-CkPzr3XN.js} +6 -6
- package/dist/plugin-sdk/{image-ops-DulHE5Qc.js → image-ops-C9GXWF3o.js} +1 -1
- package/dist/plugin-sdk/index.js +64 -64
- package/dist/plugin-sdk/{ir-BFXiJrsN.js → ir-BIm-jvIK.js} +6 -6
- package/dist/plugin-sdk/{local-roots-DssN60r6.js → local-roots-2AOXGUXW.js} +4 -4
- package/dist/{logger-DelEB7MK.js → plugin-sdk/logger-CNhs9eKJ.js} +1 -1
- package/dist/plugin-sdk/{login-D0ul3-6C.js → login-BcLiF9tC.js} +6 -6
- package/dist/plugin-sdk/{login-qr-XWKTFBuI.js → login-qr-GyPUodKJ.js} +9 -9
- package/dist/plugin-sdk/{manager-DGx_cF54.js → manager-DYLqNUb4.js} +10 -10
- package/dist/plugin-sdk/{markdown-tables-CsQpDNU5.js → markdown-tables-D9mmqMKi.js} +1 -1
- package/dist/plugin-sdk/{message-channel-CvNq-esz.js → message-channel-_CEZcqxE.js} +1 -1
- package/dist/plugin-sdk/{outbound-D29FHlQl.js → outbound-DdTsUaXa.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment-DRHrZUOx.js → outbound-attachment--hkuIDR1.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-DpKV1B5p.js → path-alias-guards-BqUCBfUg.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-CKEUWckk.js → pi-embedded-helpers-CTfvZz83.js} +17 -17
- package/dist/plugin-sdk/{pi-model-discovery-BPeQq9XM.js → pi-model-discovery-CK3Ih_kq.js} +1 -1
- package/dist/plugin-sdk/{plugins-DF_dKXTR.js → plugins-BpHAMNJ1.js} +6 -6
- package/dist/plugin-sdk/{proxy-BfmEDoun.js → proxy-BJdRZOnJ.js} +1 -1
- package/dist/plugin-sdk/{proxy-fetch-BpHIgvBk.js → proxy-fetch-jmbopGcm.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-BmmXDjtm.js → pw-ai-D0Kx7w1D.js} +13 -13
- package/dist/plugin-sdk/{qmd-manager-3hQbqkm5.js → qmd-manager-BDcutPp9.js} +8 -8
- package/dist/plugin-sdk/{query-expansion-BOGLUWB7.js → query-expansion-C_X8SyEA.js} +2 -2
- package/dist/{redact-BC9R18Uw.js → plugin-sdk/redact-DH8u23pF.js} +1 -1
- package/dist/plugin-sdk/{registry-Cv-oHUj1.js → registry-HF8_S7QO.js} +2 -2
- package/dist/{replies-B6I1tT5t.js → plugin-sdk/replies-DbjvV4gf.js} +3 -3
- package/dist/plugin-sdk/{reply-rsLB0nJs.js → reply-DpplAsbO.js} +93 -93
- package/dist/plugin-sdk/{reply-prefix-DXthVxCx.js → reply-prefix-KODsMNJ-.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-D3Y4F2Le.js → resolve-outbound-target-BPT4aNiD.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-DuwYYn4a.js → resolve-route-De2B5QY_.js} +4 -4
- package/dist/plugin-sdk/{retry-BMcrIz7L.js → retry-pZ8iKytf.js} +1 -1
- package/dist/plugin-sdk/{send-D0AaWnIj.js → send-1uW-uqPf.js} +7 -7
- package/dist/plugin-sdk/{send-C5USYGq7.js → send-BoNw1Bki.js} +8 -8
- package/dist/plugin-sdk/{send-B0ztz6QC.js → send-C-Rd2stz.js} +6 -6
- package/dist/plugin-sdk/{send-DJzwu8kk.js → send-CZIN8SDx.js} +15 -15
- package/dist/plugin-sdk/{send-DEyQJTzd.js → send-wCqsQs_s.js} +10 -10
- package/dist/plugin-sdk/{session-meta-ChWvKVWj.js → session-meta-7J-uHiM_.js} +1 -1
- package/dist/plugin-sdk/{session-BA7tVDpV.js → session-ooYcB82T.js} +5 -5
- package/dist/plugin-sdk/{sessions-BXps6YzJ.js → sessions-lAIo5l8W.js} +6 -6
- package/dist/plugin-sdk/{skill-commands-B20uUsji.js → skill-commands-D1Q6hGS4.js} +5 -5
- package/dist/plugin-sdk/{skills-DXOTei42.js → skills-BWSDv2F_.js} +8 -8
- package/dist/plugin-sdk/{ssrf-Doxv9M7Q.js → ssrf-JKDwTi8i.js} +1 -1
- package/dist/plugin-sdk/{store-BZbE1V-C.js → store-BMeqzQAf.js} +2 -2
- package/dist/plugin-sdk/{subsystem-CM1s2lDT.js → subsystem-B0V8LFBA.js} +2 -2
- package/dist/plugin-sdk/{tables-BhH8EIqU.js → tables-DCSeBGBz.js} +1 -1
- package/dist/{target-errors-C-KolUyX.js → plugin-sdk/target-errors-0u6pegQv.js} +2 -2
- package/dist/{tokens-BvzZdrVJ.js → plugin-sdk/tokens-DF2_VTJy.js} +1 -1
- package/dist/{tool-images-DiKIlElg.js → plugin-sdk/tool-images-BbsgbHMZ.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-CygMSQUK.js → tool-loop-detection-JkCpGrfk.js} +2 -2
- package/dist/plugin-sdk/{utils-BcL6KGZf.js → utils-BfVxx6bk.js} +1 -1
- package/dist/plugin-sdk/web-pXzbtWjI.js +72 -0
- package/dist/plugin-sdk/{whatsapp-actions-CRean1yN.js → whatsapp-actions-tVcrGNQc.js} +25 -25
- package/dist/{plugins-D63QYxW6.js → plugins-CJoaoIHc.js} +11 -11
- package/dist/{program-B_-eFyJE.js → program-CQtsVyIe.js} +2 -2
- package/dist/{program-context-BJQXRZ1w.js → program-context-CbirfwjC.js} +7 -7
- package/dist/{prompt-select-styled-asxoqY78.js → prompt-select-styled-BlHvgGuv.js} +1 -1
- package/dist/{prompt-select-styled-QH4mD93d.js → prompt-select-styled-CY9iF1l-.js} +1 -1
- package/dist/{proxy-jINniQBi.js → proxy-DfJJLvch.js} +1 -1
- package/dist/{proxy-env-Drg9J503.js → proxy-env-ynOWOBHx.js} +1 -1
- package/dist/{proxy-fetch-AvkSvetA.js → proxy-fetch-xlbVQYN_.js} +1 -1
- package/dist/{pw-ai-gDXxKGzT.js → pw-ai-Cu3cnNF0.js} +17 -17
- package/dist/{qmd-manager-DXbV8CPG.js → qmd-manager-n4jauq3A.js} +11 -11
- package/dist/{query-expansion-C0A4WwZX.js → query-expansion-CdDUaBcQ.js} +5 -5
- package/dist/{plugin-sdk/redact-BOuKZWXa.js → redact-CaZQhKzI.js} +1 -1
- package/dist/{register.maintenance-DvWoKstb.js → register.maintenance-Cid2HJ-t.js} +5 -5
- package/dist/{register.maintenance-B0nZqqML.js → register.maintenance-CyXghztz.js} +4 -4
- package/dist/{register.onboard-DOhvWYV7.js → register.onboard-BsT9XRRr.js} +2 -2
- package/dist/{register.onboard-B1-O21vU.js → register.onboard-CoItO2Ov.js} +2 -2
- package/dist/{register.setup-ixDBzvTR.js → register.setup-2S-SXPOC.js} +2 -2
- package/dist/{register.setup-KPZYo_I1.js → register.setup-DJjPOLJK.js} +2 -2
- package/dist/{register.start-Df91ZVJJ.js → register.start-CI8ol0Mk.js} +1 -1
- package/dist/{register.start-DErNT3nQ.js → register.start-D5trBtN0.js} +1 -1
- package/dist/{register.subclis-BSGvOwqU.js → register.subclis-CIlBs5A-.js} +3 -3
- package/dist/{registry-C2GEGa2t.js → registry-CJCkqTms.js} +3 -3
- package/dist/{plugin-sdk/replies-CddwWBTJ.js → replies-D6zARd6r.js} +3 -3
- package/dist/{reply-prefix-9mzt89Cf.js → reply-prefix-DK1i6bCJ.js} +1 -1
- package/dist/{resolve-route-BNElrVxR.js → resolve-route-C5hVstLo.js} +4 -4
- package/dist/{retry-Ayb7e4XG.js → retry-DTeP7C3h.js} +1 -1
- package/dist/{run-main-CdI1kXKr.js → run-main-bo-QbYn_.js} +3 -3
- package/dist/{send-BMzVXosN.js → send--Gq-Uh-l.js} +7 -7
- package/dist/{send-DC_e_Iev.js → send-BpyiQEov.js} +6 -6
- package/dist/{send-B6QQ8XfC.js → send-CcQZM0c7.js} +8 -8
- package/dist/{send-Buidj_8L.js → send-D2zYssqK.js} +27 -27
- package/dist/{send-BQETStDl.js → send-DcL81tZr.js} +10 -10
- package/dist/{session-meta-DAMj6ZRX.js → session-meta-BbCwXniv.js} +2 -2
- package/dist/{session-TVb8hgJP.js → session-xKPVUYQP.js} +9 -9
- package/dist/{sessions-Ck4ZR4dY.js → sessions-D7EjW0sG.js} +31 -31
- package/dist/{skill-commands-KesfMtZ9.js → skill-commands-Cea3CZFF.js} +9 -9
- package/dist/{skills-BYmEoxNo.js → skills-BttlqUXr.js} +22 -22
- package/dist/{store-KLMMBnKE.js → store-B7PaqfvZ.js} +2 -2
- package/dist/{subsystem-CAatx5oo.js → subsystem-BRjuJbbM.js} +14 -14
- package/dist/{tables-DqechQWF.js → tables-BJ0XAman.js} +1 -1
- package/dist/{plugin-sdk/target-errors-QZay02Cv.js → target-errors-Dad0aUFR.js} +2 -2
- package/dist/{plugin-sdk/tokens-DIE-Bf72.js → tokens-B9EDT4jv.js} +1 -1
- package/dist/{plugin-sdk/tool-images-heXfaJdb.js → tool-images-ArXzv82F.js} +2 -2
- package/dist/{tool-loop-detection-C4V990MS.js → tool-loop-detection-CLoYKYIq.js} +3 -3
- package/dist/{update-cli-CfeiDzYx.js → update-cli-BYrdZPXD.js} +4 -4
- package/dist/{update-cli-DKmrzt8l.js → update-cli-wmp8VSbx.js} +5 -5
- package/dist/{utils-Bo1RFF0l.js → utils-BFZnl-5N.js} +6 -6
- package/dist/{web-BPI4HIht.js → web-C5gLi1bN.js} +69 -69
- package/dist/{whatsapp-actions-Bf61u88d.js → whatsapp-actions-Be9uvUUL.js} +28 -28
- package/dist/{workspace-CswOYN9T.js → workspace-D6mrCnXi.js} +21 -21
- package/package.json +1 -1
- package/dist/plugin-sdk/web-RBob4uU1.js +0 -72
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { d as resolveSessionAgentId, r as resolveAgentConfig } from "./agent-scope-
|
|
2
|
-
import { a as resolveGatewayPort, n as STATE_DIR } from "./paths-
|
|
3
|
-
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-
|
|
1
|
+
import { d as resolveSessionAgentId, r as resolveAgentConfig } from "./agent-scope-C6hps0r3.js";
|
|
2
|
+
import { a as resolveGatewayPort, n as STATE_DIR } from "./paths-aGRLvQx9.js";
|
|
3
|
+
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-BRjuJbbM.js";
|
|
4
4
|
import { c as normalizeAgentId, u as resolveAgentIdFromSessionKey } from "./session-key-a6av96Fj.js";
|
|
5
|
-
import { S as truncateUtf16Safe, h as resolveUserPath } from "./utils-
|
|
6
|
-
import { D as resolvePathViaExistingAncestorSync, S as openBoundaryFile, a as DEFAULT_IDENTITY_FILENAME, c as DEFAULT_USER_FILENAME, i as DEFAULT_HEARTBEAT_FILENAME, l as ensureAgentWorkspace, n as DEFAULT_AGENT_WORKSPACE_DIR, o as DEFAULT_SOUL_FILENAME, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_TOOLS_FILENAME, t as DEFAULT_AGENTS_FILENAME, y as runExec } from "./workspace-
|
|
7
|
-
import { H as loadConfig, K as writeConfigFile, V as createConfigIO, it as getBlockedNetworkModeReason } from "./model-selection-
|
|
8
|
-
import { n as formatCliCommand } from "./env-
|
|
5
|
+
import { S as truncateUtf16Safe, h as resolveUserPath } from "./utils-BFZnl-5N.js";
|
|
6
|
+
import { D as resolvePathViaExistingAncestorSync, S as openBoundaryFile, a as DEFAULT_IDENTITY_FILENAME, c as DEFAULT_USER_FILENAME, i as DEFAULT_HEARTBEAT_FILENAME, l as ensureAgentWorkspace, n as DEFAULT_AGENT_WORKSPACE_DIR, o as DEFAULT_SOUL_FILENAME, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_TOOLS_FILENAME, t as DEFAULT_AGENTS_FILENAME, y as runExec } from "./workspace-D6mrCnXi.js";
|
|
7
|
+
import { H as loadConfig, K as writeConfigFile, V as createConfigIO, it as getBlockedNetworkModeReason } from "./model-selection-D_Si2Ict.js";
|
|
8
|
+
import { n as formatCliCommand } from "./env-DNMZEG57.js";
|
|
9
9
|
import { t as parseBooleanValue } from "./boolean-mcn6kL0s.js";
|
|
10
|
-
import { t as CHANNEL_IDS } from "./registry-
|
|
10
|
+
import { t as CHANNEL_IDS } from "./registry-CJCkqTms.js";
|
|
11
11
|
import { t as generateSecureToken } from "./secure-random-CY3Mg7Dp.js";
|
|
12
|
-
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-
|
|
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-
|
|
14
|
-
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-
|
|
15
|
-
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-
|
|
16
|
-
import { n as extractErrorCode, r as formatErrorMessage } from "./errors-
|
|
17
|
-
import { n as SsrFBlockedError } from "./proxy-env-
|
|
18
|
-
import { i as saveMediaBuffer, n as ensureMediaDir } from "./store-
|
|
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-DWfXErGH.js";
|
|
14
|
+
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-BttlqUXr.js";
|
|
15
|
+
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-Cpb5gMG6.js";
|
|
16
|
+
import { n as extractErrorCode, r as formatErrorMessage } from "./errors-B11yhRo6.js";
|
|
17
|
+
import { n as SsrFBlockedError } from "./proxy-env-ynOWOBHx.js";
|
|
18
|
+
import { i as saveMediaBuffer, n as ensureMediaDir } from "./store-B7PaqfvZ.js";
|
|
19
19
|
import { n as resolveWindowsSpawnProgram, t as materializeWindowsSpawnProgram } from "./windows-spawn-wLpB_Uk8.js";
|
|
20
20
|
import { r as writeJsonAtomic } from "./json-files-BpxTFudd.js";
|
|
21
|
-
import { B as canonicalizeMainSessionAlias, K as acquireSessionWriteLock, V as resolveAgentMainSessionKey } from "./sessions-
|
|
22
|
-
import { t as sanitizeContentBlocksImages } from "./tool-images-
|
|
21
|
+
import { B as canonicalizeMainSessionAlias, K as acquireSessionWriteLock, V as resolveAgentMainSessionKey } from "./sessions-D7EjW0sG.js";
|
|
22
|
+
import { t as sanitizeContentBlocksImages } from "./tool-images-ArXzv82F.js";
|
|
23
23
|
import { o as normalizeThinkLevel } from "./thinking-BcOnJa2q.js";
|
|
24
24
|
import fs from "node:fs/promises";
|
|
25
25
|
import os from "node:os";
|
|
26
26
|
import path, { posix } from "node:path";
|
|
27
|
-
import
|
|
27
|
+
import syncFs, { existsSync } from "node:fs";
|
|
28
28
|
import { spawn } from "node:child_process";
|
|
29
29
|
import crypto, { createHash, timingSafeEqual } from "node:crypto";
|
|
30
30
|
import express from "express";
|
|
@@ -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;
|
|
@@ -2969,11 +2969,11 @@ async function movePathToTrash(targetPath) {
|
|
|
2969
2969
|
return targetPath;
|
|
2970
2970
|
} catch {
|
|
2971
2971
|
const trashDir = path.join(os.homedir(), ".Trash");
|
|
2972
|
-
|
|
2972
|
+
syncFs.mkdirSync(trashDir, { recursive: true });
|
|
2973
2973
|
const base = path.basename(targetPath);
|
|
2974
2974
|
let dest = path.join(trashDir, `${base}-${Date.now()}`);
|
|
2975
|
-
if (
|
|
2976
|
-
|
|
2975
|
+
if (syncFs.existsSync(dest)) dest = path.join(trashDir, `${base}-${Date.now()}-${generateSecureToken(6)}`);
|
|
2976
|
+
syncFs.renameSync(targetPath, dest);
|
|
2977
2977
|
return dest;
|
|
2978
2978
|
}
|
|
2979
2979
|
}
|
|
@@ -3060,7 +3060,7 @@ function createBrowserProfilesService(ctx) {
|
|
|
3060
3060
|
} catch {}
|
|
3061
3061
|
const userDataDir = resolveOpenClawUserDataDir(name);
|
|
3062
3062
|
const profileDir = path.dirname(userDataDir);
|
|
3063
|
-
if (
|
|
3063
|
+
if (syncFs.existsSync(profileDir)) {
|
|
3064
3064
|
await movePathToTrash(profileDir);
|
|
3065
3065
|
deleted = true;
|
|
3066
3066
|
}
|
|
@@ -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 }) {
|
|
@@ -3576,7 +3576,7 @@ function createProfileResetOps({ profile, getProfileState, stopRunningBrowser, i
|
|
|
3576
3576
|
if (await isHttpReachable(300) && !profileState.running) await closePlaywrightBrowserConnection();
|
|
3577
3577
|
if (profileState.running) await stopRunningBrowser();
|
|
3578
3578
|
await closePlaywrightBrowserConnection();
|
|
3579
|
-
if (!
|
|
3579
|
+
if (!syncFs.existsSync(userDataDir)) return {
|
|
3580
3580
|
moved: false,
|
|
3581
3581
|
from: userDataDir
|
|
3582
3582
|
};
|
|
@@ -5635,7 +5635,7 @@ var SandboxFsBridgeImpl = class {
|
|
|
5635
5635
|
if (guarded.reason !== "path") {
|
|
5636
5636
|
if (!(options.allowedType === "directory" && this.pathIsExistingDirectory(target.hostPath))) throw guarded.error instanceof Error ? guarded.error : /* @__PURE__ */ new Error(`Sandbox boundary checks failed; cannot ${options.action}: ${target.containerPath}`);
|
|
5637
5637
|
}
|
|
5638
|
-
} else
|
|
5638
|
+
} else syncFs.closeSync(guarded.fd);
|
|
5639
5639
|
const canonicalContainerPath = await this.resolveCanonicalContainerPath({
|
|
5640
5640
|
containerPath: target.containerPath,
|
|
5641
5641
|
allowFinalSymlinkForUnlink: options.aliasPolicy?.allowFinalSymlinkForUnlink === true
|
|
@@ -5646,7 +5646,7 @@ var SandboxFsBridgeImpl = class {
|
|
|
5646
5646
|
}
|
|
5647
5647
|
pathIsExistingDirectory(hostPath) {
|
|
5648
5648
|
try {
|
|
5649
|
-
return
|
|
5649
|
+
return syncFs.statSync(hostPath).isDirectory();
|
|
5650
5650
|
} catch {
|
|
5651
5651
|
return false;
|
|
5652
5652
|
}
|
|
@@ -5914,13 +5914,13 @@ async function ensureSandboxWorkspace(workspaceDir, seedFrom, skipBootstrap) {
|
|
|
5914
5914
|
});
|
|
5915
5915
|
if (!opened.ok) continue;
|
|
5916
5916
|
try {
|
|
5917
|
-
const content =
|
|
5917
|
+
const content = syncFs.readFileSync(opened.fd, "utf-8");
|
|
5918
5918
|
await fs.writeFile(dest, content, {
|
|
5919
5919
|
encoding: "utf-8",
|
|
5920
5920
|
flag: "wx"
|
|
5921
5921
|
});
|
|
5922
5922
|
} finally {
|
|
5923
|
-
|
|
5923
|
+
syncFs.closeSync(opened.fd);
|
|
5924
5924
|
}
|
|
5925
5925
|
} catch {}
|
|
5926
5926
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Dn as ensureAuthProfileStore, c as normalizeProviderId } from "./model-selection-
|
|
2
|
+
import { Dn as ensureAuthProfileStore, c as normalizeProviderId } from "./model-selection-D_Si2Ict.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import syncFs from "node:fs";
|
|
5
5
|
import * as PiCodingAgent from "@mariozechner/pi-coding-agent";
|
|
6
6
|
|
|
7
7
|
//#region src/agents/pi-auth-credentials.ts
|
|
@@ -70,10 +70,10 @@ function isRecord(value) {
|
|
|
70
70
|
}
|
|
71
71
|
function scrubLegacyStaticAuthJsonEntries(pathname) {
|
|
72
72
|
if (process.env.OPENCLAW_AUTH_STORE_READONLY === "1") return;
|
|
73
|
-
if (!
|
|
73
|
+
if (!syncFs.existsSync(pathname)) return;
|
|
74
74
|
let parsed;
|
|
75
75
|
try {
|
|
76
|
-
parsed = JSON.parse(
|
|
76
|
+
parsed = JSON.parse(syncFs.readFileSync(pathname, "utf8"));
|
|
77
77
|
} catch {
|
|
78
78
|
return;
|
|
79
79
|
}
|
|
@@ -87,11 +87,11 @@ function scrubLegacyStaticAuthJsonEntries(pathname) {
|
|
|
87
87
|
}
|
|
88
88
|
if (!changed) return;
|
|
89
89
|
if (Object.keys(parsed).length === 0) {
|
|
90
|
-
|
|
90
|
+
syncFs.rmSync(pathname, { force: true });
|
|
91
91
|
return;
|
|
92
92
|
}
|
|
93
|
-
|
|
94
|
-
|
|
93
|
+
syncFs.writeFileSync(pathname, `${JSON.stringify(parsed, null, 2)}\n`, "utf8");
|
|
94
|
+
syncFs.chmodSync(pathname, 384);
|
|
95
95
|
}
|
|
96
96
|
function createAuthStorage(AuthStorageLike, path, creds) {
|
|
97
97
|
const withInMemory = AuthStorageLike;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { m as normalizeAccountId } from "./session-key-CVIXEtLx.js";
|
|
2
|
-
import { v as createAccountListHelpers } from "./accounts-
|
|
2
|
+
import { v as createAccountListHelpers } from "./accounts-BYcizTXn.js";
|
|
3
3
|
import { t as resolveAccountEntry } from "./account-lookup-BCxEEOS8.js";
|
|
4
4
|
|
|
5
5
|
//#region src/imessage/accounts.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { m as normalizeAccountId } from "./session-key-CVIXEtLx.js";
|
|
2
|
-
import { v as createAccountListHelpers } from "./accounts-
|
|
2
|
+
import { v as createAccountListHelpers } from "./accounts-BYcizTXn.js";
|
|
3
3
|
import { t as resolveAccountEntry } from "./account-lookup-BCxEEOS8.js";
|
|
4
4
|
|
|
5
5
|
//#region src/signal/accounts.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h as normalizeOptionalAccountId, m as normalizeAccountId, p as DEFAULT_ACCOUNT_ID } from "./session-key-CVIXEtLx.js";
|
|
2
2
|
import { o as resolveOAuthDir } from "./paths-C__vjTc0.js";
|
|
3
|
-
import { i as defaultRuntime, l as info, m as success, y as getChildLogger } from "./subsystem-
|
|
4
|
-
import { h as resolveUserPath, u as jidToE164 } from "./utils-
|
|
5
|
-
import { t as formatCliCommand } from "./command-format-
|
|
3
|
+
import { i as defaultRuntime, l as info, m as success, y as getChildLogger } from "./subsystem-B0V8LFBA.js";
|
|
4
|
+
import { h as resolveUserPath, u as jidToE164 } from "./utils-BfVxx6bk.js";
|
|
5
|
+
import { t as formatCliCommand } from "./command-format-DvyMEXQo.js";
|
|
6
6
|
import { t as resolveAccountEntry } from "./account-lookup-BCxEEOS8.js";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
import path from "node:path";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as DEFAULT_ACCOUNT_ID } from "./session-key-CVIXEtLx.js";
|
|
2
|
-
import { t as formatCliCommand } from "./command-format-
|
|
2
|
+
import { t as formatCliCommand } from "./command-format-DvyMEXQo.js";
|
|
3
3
|
import crypto from "node:crypto";
|
|
4
4
|
|
|
5
5
|
//#region src/logging/redact-identifier.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { S as parseAgentSessionKey, b as isCronSessionKey, c as normalizeAgentId, t as DEFAULT_AGENT_ID, u as resolveAgentIdFromSessionKey, x as isSubagentSessionKey } from "./session-key-CVIXEtLx.js";
|
|
2
2
|
import { c as resolveStateDir } from "./paths-C__vjTc0.js";
|
|
3
|
-
import { c as danger, p as shouldLogVerbose, t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { f as pathExists$1, h as resolveUserPath } from "./utils-
|
|
5
|
-
import { n as logError, t as logDebug } from "./logger-
|
|
3
|
+
import { c as danger, p as shouldLogVerbose, t as createSubsystemLogger } from "./subsystem-B0V8LFBA.js";
|
|
4
|
+
import { f as pathExists$1, h as resolveUserPath } from "./utils-BfVxx6bk.js";
|
|
5
|
+
import { n as logError, t as logDebug } from "./logger-CNhs9eKJ.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import os from "node:os";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ln as normalizeProviderId } from "./config-
|
|
2
|
-
import { r as formatErrorMessage } from "./errors-
|
|
1
|
+
import { ln as normalizeProviderId } from "./config-D7I2_X4P.js";
|
|
2
|
+
import { r as formatErrorMessage } from "./errors-DFTN4h2I.js";
|
|
3
3
|
|
|
4
4
|
//#region src/infra/gemini-auth.ts
|
|
5
5
|
/**
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import "./accounts-
|
|
1
|
+
import "./accounts-BYcizTXn.js";
|
|
2
2
|
import "./paths-C__vjTc0.js";
|
|
3
3
|
import "./github-copilot-token-WHEJfZD4.js";
|
|
4
|
-
import "./config-
|
|
5
|
-
import { p as shouldLogVerbose, u as logVerbose } from "./subsystem-
|
|
6
|
-
import "./utils-
|
|
7
|
-
import "./command-format-
|
|
8
|
-
import "./agent-scope-
|
|
9
|
-
import "./logger-
|
|
10
|
-
import "./registry-
|
|
11
|
-
import "./dock-
|
|
12
|
-
import "./message-channel-
|
|
13
|
-
import "./sessions-
|
|
14
|
-
import "./plugins-
|
|
15
|
-
import "./accounts-
|
|
16
|
-
import "./accounts-
|
|
17
|
-
import "./bindings-
|
|
4
|
+
import "./config-D7I2_X4P.js";
|
|
5
|
+
import { p as shouldLogVerbose, u as logVerbose } from "./subsystem-B0V8LFBA.js";
|
|
6
|
+
import "./utils-BfVxx6bk.js";
|
|
7
|
+
import "./command-format-DvyMEXQo.js";
|
|
8
|
+
import "./agent-scope-_j3fIYCK.js";
|
|
9
|
+
import "./logger-CNhs9eKJ.js";
|
|
10
|
+
import "./registry-HF8_S7QO.js";
|
|
11
|
+
import "./dock-CjdkiLH7.js";
|
|
12
|
+
import "./message-channel-_CEZcqxE.js";
|
|
13
|
+
import "./sessions-lAIo5l8W.js";
|
|
14
|
+
import "./plugins-BpHAMNJ1.js";
|
|
15
|
+
import "./accounts-4WE2wtsW.js";
|
|
16
|
+
import "./accounts-AbI8uETR.js";
|
|
17
|
+
import "./bindings-CxxzC7gn.js";
|
|
18
18
|
import "./paths-DlLOyPPw.js";
|
|
19
|
-
import "./redact-
|
|
20
|
-
import "./errors-
|
|
21
|
-
import "./path-alias-guards-
|
|
22
|
-
import "./fs-safe-
|
|
23
|
-
import "./image-ops-
|
|
24
|
-
import "./ssrf-
|
|
25
|
-
import "./fetch-guard-
|
|
26
|
-
import "./local-roots-
|
|
27
|
-
import "./tool-images-
|
|
28
|
-
import { i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, p as isAudioAttachment, t as runAudioTranscription } from "./audio-transcription-runner-
|
|
29
|
-
import "./skills-
|
|
30
|
-
import "./chrome-
|
|
31
|
-
import "./store-
|
|
32
|
-
import "./pi-embedded-helpers-
|
|
19
|
+
import "./redact-DH8u23pF.js";
|
|
20
|
+
import "./errors-DFTN4h2I.js";
|
|
21
|
+
import "./path-alias-guards-BqUCBfUg.js";
|
|
22
|
+
import "./fs-safe-B256n7Ff.js";
|
|
23
|
+
import "./image-ops-C9GXWF3o.js";
|
|
24
|
+
import "./ssrf-JKDwTi8i.js";
|
|
25
|
+
import "./fetch-guard-BivEyA4v.js";
|
|
26
|
+
import "./local-roots-2AOXGUXW.js";
|
|
27
|
+
import "./tool-images-BbsgbHMZ.js";
|
|
28
|
+
import { i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, p as isAudioAttachment, t as runAudioTranscription } from "./audio-transcription-runner-CRpY5uDq.js";
|
|
29
|
+
import "./skills-BWSDv2F_.js";
|
|
30
|
+
import "./chrome-oPevdeh5.js";
|
|
31
|
+
import "./store-BMeqzQAf.js";
|
|
32
|
+
import "./pi-embedded-helpers-CTfvZz83.js";
|
|
33
33
|
import "./thinking-DGaZRXAR.js";
|
|
34
|
-
import "./image-
|
|
35
|
-
import "./pi-model-discovery-
|
|
36
|
-
import "./api-key-rotation-
|
|
37
|
-
import "./proxy-fetch-
|
|
34
|
+
import "./image-CkPzr3XN.js";
|
|
35
|
+
import "./pi-model-discovery-CK3Ih_kq.js";
|
|
36
|
+
import "./api-key-rotation-CYI51U_M.js";
|
|
37
|
+
import "./proxy-fetch-jmbopGcm.js";
|
|
38
38
|
|
|
39
39
|
//#region src/media-understanding/audio-preflight.ts
|
|
40
40
|
/**
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { An as resolveApiKeyForProvider, S as resolveIMessageAttachmentRoots, b as isInboundPathAllowed, gn as normalizeGoogleModelId, kn as requireApiKey, ln as normalizeProviderId, n as loadConfig, qn as resolveOpenClawAgentDir, x as mergeInboundPathRoots, y as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS } from "./config-
|
|
2
|
-
import { T as resolvePreferredOpenClawTmpDir, p as shouldLogVerbose, t as createSubsystemLogger, u as logVerbose } from "./subsystem-
|
|
3
|
-
import { G as resolveAgentModelPrimaryValue, W as resolveAgentModelFallbackValues, k as runExec } from "./agent-scope-
|
|
1
|
+
import { An as resolveApiKeyForProvider, S as resolveIMessageAttachmentRoots, b as isInboundPathAllowed, gn as normalizeGoogleModelId, kn as requireApiKey, ln as normalizeProviderId, n as loadConfig, qn as resolveOpenClawAgentDir, x as mergeInboundPathRoots, y as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS } from "./config-D7I2_X4P.js";
|
|
2
|
+
import { T as resolvePreferredOpenClawTmpDir, p as shouldLogVerbose, t as createSubsystemLogger, u as logVerbose } from "./subsystem-B0V8LFBA.js";
|
|
3
|
+
import { G as resolveAgentModelPrimaryValue, W as resolveAgentModelFallbackValues, k as runExec } from "./agent-scope-_j3fIYCK.js";
|
|
4
4
|
import { t as normalizeChatType } from "./chat-type-C4pAlbsI.js";
|
|
5
5
|
import { n as fetchWithTimeout } from "./fetch-timeout-C-qHqfzG.js";
|
|
6
|
-
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-
|
|
7
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
8
|
-
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError } from "./local-roots-
|
|
9
|
-
import { t as describeImageWithModel, w as ensureOpenClawModelsJson } from "./image-
|
|
10
|
-
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
11
|
-
import { n as resolveProxyFetchFromEnv } from "./proxy-fetch-
|
|
6
|
+
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-C9GXWF3o.js";
|
|
7
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-BivEyA4v.js";
|
|
8
|
+
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError } from "./local-roots-2AOXGUXW.js";
|
|
9
|
+
import { t as describeImageWithModel, w as ensureOpenClawModelsJson } from "./image-CkPzr3XN.js";
|
|
10
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-CYI51U_M.js";
|
|
11
|
+
import { n as resolveProxyFetchFromEnv } from "./proxy-fetch-jmbopGcm.js";
|
|
12
12
|
import { constants } from "node:fs";
|
|
13
13
|
import path from "node:path";
|
|
14
14
|
import os from "node:os";
|
|
@@ -1027,7 +1027,7 @@ function resolveAliasedOpenAiCompatibleModelId(modelId) {
|
|
|
1027
1027
|
const log = createSubsystemLogger("model-catalog");
|
|
1028
1028
|
let modelCatalogPromise = null;
|
|
1029
1029
|
let hasLoggedModelCatalogError = false;
|
|
1030
|
-
const defaultImportPiSdk = () => import("./pi-model-discovery-
|
|
1030
|
+
const defaultImportPiSdk = () => import("./pi-model-discovery-CK3Ih_kq.js").then((n) => n.r);
|
|
1031
1031
|
let importPiSdk = defaultImportPiSdk;
|
|
1032
1032
|
const CODEX_PROVIDER = "openai-codex";
|
|
1033
1033
|
const OPENAI_CODEX_GPT53_MODEL_ID = "gpt-5.3-codex";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as normalizeAgentId, m as normalizeAccountId } from "./session-key-CVIXEtLx.js";
|
|
2
|
-
import { c as resolveDefaultAgentId } from "./agent-scope-
|
|
3
|
-
import { s as normalizeChatChannelId } from "./registry-
|
|
2
|
+
import { c as resolveDefaultAgentId } from "./agent-scope-_j3fIYCK.js";
|
|
3
|
+
import { s as normalizeChatChannelId } from "./registry-HF8_S7QO.js";
|
|
4
4
|
|
|
5
5
|
//#region src/routing/bindings.ts
|
|
6
6
|
function normalizeBindingChannelId(raw) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-B0V8LFBA.js";
|
|
2
|
+
import { n as retryAsync, t as resolveRetryConfig } from "./retry-pZ8iKytf.js";
|
|
3
|
+
import { r as formatErrorMessage } from "./errors-DFTN4h2I.js";
|
|
4
4
|
import { RateLimitError } from "@buape/carbon";
|
|
5
5
|
|
|
6
6
|
//#region src/infra/retry-policy.ts
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { a as buildGroupHistoryKey, c as normalizeAgentId, n as DEFAULT_MAIN_KEY, p as DEFAULT_ACCOUNT_ID, r as buildAgentMainSessionKey } from "./session-key-CVIXEtLx.js";
|
|
2
|
-
import { i as resolveWhatsAppAccount, p as readWebSelfId, s as getWebAuthAgeMs } from "./accounts-
|
|
3
|
-
import { At as resolveDefaultGroupPolicy, C as formatDurationPrecise, Ct as resolveDmGroupAccessWithLists, J as DEFAULT_GROUP_HISTORY_LIMIT, Nt as warnMissingProviderGroupPolicyFallbackOnce, St as resolveDmGroupAccessWithCommandGate, Tt as resolvePinnedMainDmOwnerFromAllowlist, U as shouldAckReactionForWhatsApp, W as resolveMentionGating, Y as buildHistoryContextFromEntries, _t as buildPairingReply, ct as formatInboundEnvelope, d as dispatchReplyWithBufferedBlockDispatcher, g as shouldComputeCommandAuthorized, h as hasControlCommand, i as resolveInboundSessionEnvelopeContext, it as createDedupeCache, jt as resolveOpenProviderRuntimeGroupPolicy, l as computeBackoff, m as resolveInboundDebounceMs, n as normalizeGroupActivation, nt as buildMentionRegexes, p as createInboundDebouncer, r as parseActivationCommand, rt as normalizeMentionText, t as getReplyFromConfig, tt as recordPendingHistoryEntryIfEnabled, u as sleepWithAbort, w as enqueueSystemEvent, yt as readStoreAllowFromForDmPolicy } from "./reply-
|
|
4
|
-
import { n as loadConfig } from "./config-
|
|
5
|
-
import { i as defaultRuntime, p as shouldLogVerbose, t as createSubsystemLogger, u as logVerbose, y as getChildLogger } from "./subsystem-
|
|
6
|
-
import { d as normalizeE164, l as isSelfChatMode, m as resolveJidToE164, n as clamp, u as jidToE164, x as toWhatsappJid, y as sleep } from "./utils-
|
|
7
|
-
import { t as formatCliCommand } from "./command-format-
|
|
8
|
-
import { s as normalizeChatChannelId } from "./registry-
|
|
9
|
-
import { N as resolveChannelGroupPolicy, P as resolveChannelGroupRequireMention } from "./dock-
|
|
10
|
-
import { c as recordSessionMetaFromInbound, l as updateLastRoute, o as loadSessionStore, q as resolveGroupSessionKey } from "./sessions-
|
|
2
|
+
import { i as resolveWhatsAppAccount, p as readWebSelfId, s as getWebAuthAgeMs } from "./accounts-BYcizTXn.js";
|
|
3
|
+
import { At as resolveDefaultGroupPolicy, C as formatDurationPrecise, Ct as resolveDmGroupAccessWithLists, J as DEFAULT_GROUP_HISTORY_LIMIT, Nt as warnMissingProviderGroupPolicyFallbackOnce, St as resolveDmGroupAccessWithCommandGate, Tt as resolvePinnedMainDmOwnerFromAllowlist, U as shouldAckReactionForWhatsApp, W as resolveMentionGating, Y as buildHistoryContextFromEntries, _t as buildPairingReply, ct as formatInboundEnvelope, d as dispatchReplyWithBufferedBlockDispatcher, g as shouldComputeCommandAuthorized, h as hasControlCommand, i as resolveInboundSessionEnvelopeContext, it as createDedupeCache, jt as resolveOpenProviderRuntimeGroupPolicy, l as computeBackoff, m as resolveInboundDebounceMs, n as normalizeGroupActivation, nt as buildMentionRegexes, p as createInboundDebouncer, r as parseActivationCommand, rt as normalizeMentionText, t as getReplyFromConfig, tt as recordPendingHistoryEntryIfEnabled, u as sleepWithAbort, w as enqueueSystemEvent, yt as readStoreAllowFromForDmPolicy } from "./reply-DpplAsbO.js";
|
|
4
|
+
import { n as loadConfig } from "./config-D7I2_X4P.js";
|
|
5
|
+
import { i as defaultRuntime, p as shouldLogVerbose, t as createSubsystemLogger, u as logVerbose, y as getChildLogger } from "./subsystem-B0V8LFBA.js";
|
|
6
|
+
import { d as normalizeE164, l as isSelfChatMode, m as resolveJidToE164, n as clamp, u as jidToE164, x as toWhatsappJid, y as sleep } from "./utils-BfVxx6bk.js";
|
|
7
|
+
import { t as formatCliCommand } from "./command-format-DvyMEXQo.js";
|
|
8
|
+
import { s as normalizeChatChannelId } from "./registry-HF8_S7QO.js";
|
|
9
|
+
import { N as resolveChannelGroupPolicy, P as resolveChannelGroupRequireMention } from "./dock-CjdkiLH7.js";
|
|
10
|
+
import { c as recordSessionMetaFromInbound, l as updateLastRoute, o as loadSessionStore, q as resolveGroupSessionKey } from "./sessions-lAIo5l8W.js";
|
|
11
11
|
import { s as resolveStorePath } from "./paths-DlLOyPPw.js";
|
|
12
|
-
import { n as recordChannelActivity } from "./channel-activity-
|
|
13
|
-
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
14
|
-
import { a as loadWebMedia } from "./ir-
|
|
15
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-
|
|
16
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
17
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
18
|
-
import { X as formatLocationText, Z as toLocationContext, at as upsertChannelPairingRequest, rt as readChannelAllowFromStoreSync } from "./send-
|
|
19
|
-
import { f as registerUnhandledRejectionHandler } from "./audio-transcription-runner-
|
|
20
|
-
import { l as resolveIdentityNamePrefix, n as createReplyPrefixOptions, u as resolveMessagePrefix } from "./reply-prefix-
|
|
21
|
-
import { a as saveMediaBuffer } from "./store-
|
|
12
|
+
import { n as recordChannelActivity } from "./channel-activity-B3yZ-f-m.js";
|
|
13
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-2AOXGUXW.js";
|
|
14
|
+
import { a as loadWebMedia } from "./ir-BIm-jvIK.js";
|
|
15
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-BPyPeheZ.js";
|
|
16
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-D9mmqMKi.js";
|
|
17
|
+
import { t as convertMarkdownTables } from "./tables-DCSeBGBz.js";
|
|
18
|
+
import { X as formatLocationText, Z as toLocationContext, at as upsertChannelPairingRequest, rt as readChannelAllowFromStoreSync } from "./send-CZIN8SDx.js";
|
|
19
|
+
import { f as registerUnhandledRejectionHandler } from "./audio-transcription-runner-CRpY5uDq.js";
|
|
20
|
+
import { l as resolveIdentityNamePrefix, n as createReplyPrefixOptions, u as resolveMessagePrefix } from "./reply-prefix-KODsMNJ-.js";
|
|
21
|
+
import { a as saveMediaBuffer } from "./store-BMeqzQAf.js";
|
|
22
22
|
import { t as finalizeInboundContext } from "./inbound-context-DZb6zIHq.js";
|
|
23
|
-
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-
|
|
24
|
-
import { r as setActiveWebListener } from "./active-listener-
|
|
25
|
-
import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-
|
|
26
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
23
|
+
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-De2B5QY_.js";
|
|
24
|
+
import { r as setActiveWebListener } from "./active-listener-pnqLAUOh.js";
|
|
25
|
+
import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-DdTsUaXa.js";
|
|
26
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-ooYcB82T.js";
|
|
27
27
|
import { randomUUID } from "node:crypto";
|
|
28
28
|
import { DisconnectReason, downloadMediaMessage, extractMessageContent, getContentType, isJidGroup, normalizeMessageContent } from "@whiskeysockets/baileys";
|
|
29
29
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { X as isPrivateOrLoopbackIpAddress, Y as isLoopbackIpAddress, Z as normalizeIpAddress, n as loadConfig } from "./config-
|
|
2
|
-
import { T as resolvePreferredOpenClawTmpDir, t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { t as CONFIG_DIR } from "./utils-
|
|
4
|
-
import { B as isPathInside, z as isNotFoundPathError } from "./agent-scope-
|
|
5
|
-
import { a as isErrno } from "./errors-
|
|
6
|
-
import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-
|
|
7
|
-
import { c as resolvePinnedHostnameWithPolicy, s as isPrivateNetworkAllowedByPolicy, u as hasProxyEnvConfigured } from "./ssrf-
|
|
1
|
+
import { X as isPrivateOrLoopbackIpAddress, Y as isLoopbackIpAddress, Z as normalizeIpAddress, n as loadConfig } from "./config-D7I2_X4P.js";
|
|
2
|
+
import { T as resolvePreferredOpenClawTmpDir, t as createSubsystemLogger } from "./subsystem-B0V8LFBA.js";
|
|
3
|
+
import { t as CONFIG_DIR } from "./utils-BfVxx6bk.js";
|
|
4
|
+
import { B as isPathInside, z as isNotFoundPathError } from "./agent-scope-_j3fIYCK.js";
|
|
5
|
+
import { a as isErrno } from "./errors-DFTN4h2I.js";
|
|
6
|
+
import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-B256n7Ff.js";
|
|
7
|
+
import { c as resolvePinnedHostnameWithPolicy, s as isPrivateNetworkAllowedByPolicy, u as hasProxyEnvConfigured } from "./ssrf-JKDwTi8i.js";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import os from "node:os";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { m as normalizeAccountId } from "./session-key-CVIXEtLx.js";
|
|
3
|
-
import { t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-
|
|
3
|
+
import { t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-_CEZcqxE.js";
|
|
4
4
|
import { t as resolveAccountEntry } from "./account-lookup-BCxEEOS8.js";
|
|
5
5
|
|
|
6
6
|
//#region src/markdown/fences.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as replaceCliName, p as resolveCliName } from "./paths-C__vjTc0.js";
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-B0V8LFBA.js";
|
|
3
3
|
|
|
4
4
|
//#region src/utils/boolean.ts
|
|
5
5
|
const DEFAULT_TRUTHY = [
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { ar as DEFAULT_PROVIDER, ir as DEFAULT_MODEL, un as resolveConfiguredModelRef } from "./config-
|
|
3
|
-
import { C as isPlainObject, o as escapeRegExp } from "./utils-
|
|
4
|
-
import { c as getActivePluginRegistry } from "./registry-
|
|
5
|
-
import { n as listChannelDocks } from "./dock-
|
|
6
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
2
|
+
import { ar as DEFAULT_PROVIDER, ir as DEFAULT_MODEL, un as resolveConfiguredModelRef } from "./config-D7I2_X4P.js";
|
|
3
|
+
import { C as isPlainObject, o as escapeRegExp } from "./utils-BfVxx6bk.js";
|
|
4
|
+
import { c as getActivePluginRegistry } from "./registry-HF8_S7QO.js";
|
|
5
|
+
import { n as listChannelDocks } from "./dock-CjdkiLH7.js";
|
|
6
|
+
import { r as normalizeChannelId } from "./plugins-BpHAMNJ1.js";
|
|
7
7
|
import { r as listThinkingLevels } from "./thinking-DGaZRXAR.js";
|
|
8
8
|
|
|
9
9
|
//#region src/config/commands.ts
|
|
@@ -2,12 +2,12 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { c as normalizeAgentId, g as isBlockedObjectKey, t as DEFAULT_AGENT_ID } from "./session-key-CVIXEtLx.js";
|
|
3
3
|
import { c as resolveStateDir, d as resolveRequiredHomeDir, i as resolveDefaultConfigCandidates, l as expandHomePrefix, r as resolveConfigPath, s as resolveOAuthPath, t as DEFAULT_GATEWAY_PORT } from "./paths-C__vjTc0.js";
|
|
4
4
|
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-WHEJfZD4.js";
|
|
5
|
-
import { n as stripAnsi, t as createSubsystemLogger } from "./subsystem-
|
|
6
|
-
import { C as isPlainObject$2, c as isRecord$3, h as resolveUserPath, p as resolveConfigDir } from "./utils-
|
|
7
|
-
import { n as isTruthyEnvValue, t as formatCliCommand } from "./command-format-
|
|
8
|
-
import { B as isPathInside$2, G as resolveAgentModelPrimaryValue, K as toAgentModelListLike, N as openBoundaryFileSync, T as resolveWorkspaceExtensionsDir, a as resolveAgentEffectiveModelPrimary, c as resolveDefaultAgentId, j as canUseBoundaryFileOpen, k as runExec, r as resolveAgentConfig, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
5
|
+
import { n as stripAnsi, t as createSubsystemLogger } from "./subsystem-B0V8LFBA.js";
|
|
6
|
+
import { C as isPlainObject$2, c as isRecord$3, h as resolveUserPath, p as resolveConfigDir } from "./utils-BfVxx6bk.js";
|
|
7
|
+
import { n as isTruthyEnvValue, t as formatCliCommand } from "./command-format-DvyMEXQo.js";
|
|
8
|
+
import { B as isPathInside$2, G as resolveAgentModelPrimaryValue, K as toAgentModelListLike, N as openBoundaryFileSync, T as resolveWorkspaceExtensionsDir, a as resolveAgentEffectiveModelPrimary, c as resolveDefaultAgentId, j as canUseBoundaryFileOpen, k as runExec, r as resolveAgentConfig, s as resolveAgentWorkspaceDir } from "./agent-scope-_j3fIYCK.js";
|
|
9
9
|
import { t as runTasksWithConcurrency } from "./run-with-concurrency-Ckp-v-FK.js";
|
|
10
|
-
import { s as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry-
|
|
10
|
+
import { s as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry-HF8_S7QO.js";
|
|
11
11
|
import { createRequire } from "node:module";
|
|
12
12
|
import fs from "node:fs";
|
|
13
13
|
import path from "node:path";
|
|
@@ -15,7 +15,7 @@ import os from "node:os";
|
|
|
15
15
|
import fs$1 from "node:fs/promises";
|
|
16
16
|
import crypto, { createHash, randomBytes, randomUUID } from "node:crypto";
|
|
17
17
|
import { isDeepStrictEqual } from "node:util";
|
|
18
|
-
import
|
|
18
|
+
import JSON5 from "json5";
|
|
19
19
|
import dotenv from "dotenv";
|
|
20
20
|
import { execFileSync, spawn } from "node:child_process";
|
|
21
21
|
import { fileURLToPath } from "node:url";
|
|
@@ -6828,7 +6828,7 @@ const defaultResolver = {
|
|
|
6828
6828
|
resolvedPath,
|
|
6829
6829
|
rootRealDir
|
|
6830
6830
|
}),
|
|
6831
|
-
parseJson: (raw) =>
|
|
6831
|
+
parseJson: (raw) => JSON5.parse(raw)
|
|
6832
6832
|
};
|
|
6833
6833
|
/**
|
|
6834
6834
|
* Resolves all $include directives in a parsed config object.
|
|
@@ -15875,7 +15875,7 @@ function resolveConfigPathForDeps(deps) {
|
|
|
15875
15875
|
function normalizeDeps(overrides = {}) {
|
|
15876
15876
|
return {
|
|
15877
15877
|
fs: overrides.fs ?? fs,
|
|
15878
|
-
json5: overrides.json5 ??
|
|
15878
|
+
json5: overrides.json5 ?? JSON5,
|
|
15879
15879
|
env: overrides.env ?? process.env,
|
|
15880
15880
|
homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
|
|
15881
15881
|
configPath: overrides.configPath ?? "",
|
|
@@ -15886,11 +15886,11 @@ function maybeLoadDotEnvForConfig(env) {
|
|
|
15886
15886
|
if (env !== process.env) return;
|
|
15887
15887
|
loadDotEnv({ quiet: true });
|
|
15888
15888
|
}
|
|
15889
|
-
function parseConfigJson5(raw, json5
|
|
15889
|
+
function parseConfigJson5(raw, json5 = JSON5) {
|
|
15890
15890
|
try {
|
|
15891
15891
|
return {
|
|
15892
15892
|
ok: true,
|
|
15893
|
-
parsed: json5
|
|
15893
|
+
parsed: json5.parse(raw)
|
|
15894
15894
|
};
|
|
15895
15895
|
} catch (err) {
|
|
15896
15896
|
return {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { h as normalizeOptionalAccountId, m as normalizeAccountId } from "./session-key-CVIXEtLx.js";
|
|
3
3
|
import { c as resolveStateDir } from "./paths-C__vjTc0.js";
|
|
4
|
-
import { t as createSubsystemLogger, u as logVerbose } from "./subsystem-
|
|
5
|
-
import { b as createInternalHookEvent, c as getActivePluginRegistry, u as getActivePluginRegistryVersion, x as triggerInternalHook } from "./registry-
|
|
6
|
-
import { t as getChannelDock } from "./dock-
|
|
7
|
-
import { i as resolveMirroredTranscriptText, r as appendAssistantMessageToSessionTranscript, w as parseInlineDirectives } from "./sessions-
|
|
8
|
-
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
9
|
-
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
10
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph, p as parseFenceSpans } from "./chunk-
|
|
11
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
12
|
-
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-
|
|
13
|
-
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-
|
|
4
|
+
import { t as createSubsystemLogger, u as logVerbose } from "./subsystem-B0V8LFBA.js";
|
|
5
|
+
import { b as createInternalHookEvent, c as getActivePluginRegistry, u as getActivePluginRegistryVersion, x as triggerInternalHook } from "./registry-HF8_S7QO.js";
|
|
6
|
+
import { t as getChannelDock } from "./dock-CjdkiLH7.js";
|
|
7
|
+
import { i as resolveMirroredTranscriptText, r as appendAssistantMessageToSessionTranscript, w as parseInlineDirectives } from "./sessions-lAIo5l8W.js";
|
|
8
|
+
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-BpHAMNJ1.js";
|
|
9
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-2AOXGUXW.js";
|
|
10
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph, p as parseFenceSpans } from "./chunk-BPyPeheZ.js";
|
|
11
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-D9mmqMKi.js";
|
|
12
|
+
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-DF2_VTJy.js";
|
|
13
|
+
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-CTfvZz83.js";
|
|
14
14
|
import { n as generateSecureUuid } from "./secure-random-C5PtFEje.js";
|
|
15
|
-
import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-
|
|
15
|
+
import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-C-Rd2stz.js";
|
|
16
16
|
import fs from "node:fs";
|
|
17
17
|
import path from "node:path";
|
|
18
18
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { n as loadConfig } from "./config-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { n as loadConfig } from "./config-D7I2_X4P.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-B0V8LFBA.js";
|
|
4
4
|
import { i as pruneDiagnosticSessionStates, r as getDiagnosticSessionState, t as diagnosticSessionStates } from "./diagnostic-session-state-Wd5tNeQG.js";
|
|
5
5
|
|
|
6
6
|
//#region src/infra/diagnostic-events.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { m as normalizeAccountId } from "./session-key-CVIXEtLx.js";
|
|
2
|
-
import { i as resolveWhatsAppAccount } from "./accounts-
|
|
3
|
-
import { d as normalizeE164, o as escapeRegExp } from "./utils-
|
|
4
|
-
import { d as requireActivePluginRegistry, n as CHAT_CHANNEL_ORDER, r as getChatChannelMeta } from "./registry-
|
|
2
|
+
import { i as resolveWhatsAppAccount } from "./accounts-BYcizTXn.js";
|
|
3
|
+
import { d as normalizeE164, o as escapeRegExp } from "./utils-BfVxx6bk.js";
|
|
4
|
+
import { d as requireActivePluginRegistry, n as CHAT_CHANNEL_ORDER, r as getChatChannelMeta } from "./registry-HF8_S7QO.js";
|
|
5
5
|
import { t as resolveAccountEntry } from "./account-lookup-BCxEEOS8.js";
|
|
6
|
-
import { A as resolveSlackAccount, B as resolveDiscordAccount, C as resolveTelegramAccount, F as normalizeWhatsAppTarget, j as resolveSlackReplyToMode } from "./plugins-
|
|
7
|
-
import { r as resolveIMessageAccount } from "./accounts-
|
|
8
|
-
import { i as resolveSignalAccount } from "./accounts-
|
|
6
|
+
import { A as resolveSlackAccount, B as resolveDiscordAccount, C as resolveTelegramAccount, F as normalizeWhatsAppTarget, j as resolveSlackReplyToMode } from "./plugins-BpHAMNJ1.js";
|
|
7
|
+
import { r as resolveIMessageAccount } from "./accounts-4WE2wtsW.js";
|
|
8
|
+
import { i as resolveSignalAccount } from "./accounts-AbI8uETR.js";
|
|
9
9
|
|
|
10
10
|
//#region src/config/types.tools.ts
|
|
11
11
|
const TOOLS_BY_SENDER_KEY_TYPES = [
|