@bitseek/claw 1.3.0 → 1.3.2
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-BTexwKe8.js → accounts-CX1yOBOk.js} +1 -1
- package/dist/{accounts-ubG6irXZ.js → accounts-CaiECgq3.js} +16 -16
- package/dist/{accounts-CFz9Jc5d.js → accounts-DZqwa5NK.js} +1 -1
- package/dist/{active-listener-Hd9sOu9T.js → active-listener-neKWQsOO.js} +1 -1
- package/dist/{agent-scope-C6hps0r3.js → agent-scope-CTbRzU1C.js} +4 -4
- package/dist/{api-key-rotation-WzOC5dTW.js → api-key-rotation-BTSy5kZN.js} +2 -2
- package/dist/{audio-preflight-BWOdDA2n.js → audio-preflight-DZWb0ozj.js} +39 -39
- package/dist/{audio-transcription-runner-DaoqvWoi.js → audio-transcription-runner-2dp0SxL3.js} +11 -11
- package/dist/{bindings-CsIiIjqN.js → bindings-Daa-Etag.js} +2 -2
- package/dist/build-info.json +3 -3
- 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-Btz1t5_1.js} +3 -3
- package/dist/{chrome-CjTE-vWv.js → chrome-DX1blHAJ.js} +18 -18
- package/dist/{chunk-DtYb6TYl.js → chunk-DEkdXze6.js} +1 -1
- package/dist/{command-registry-By6zKf98.js → command-registry-DcARoFp5.js} +4 -4
- package/dist/{commands-registry-NIsv9Z4R.js → commands-registry-BQkQRhEo.js} +5 -5
- package/dist/{completion-cli-CV7dNv8l.js → completion-cli-DRUvmQGG.js} +2 -2
- package/dist/{completion-cli-BuLkcc9o.js → completion-cli-cJxeCv4O.js} +1 -1
- package/dist/control-ui/assets/{index-CBxamjSz.js → index-DIyxgivc.js} +420 -417
- package/dist/control-ui/assets/index-DIyxgivc.js.map +1 -0
- package/dist/control-ui/assets/index-EvU5ZebS.css +1 -0
- package/dist/control-ui/index.html +2 -2
- package/dist/{deliver-xY3h9X6N.js → deliver-C82Egs0W.js} +22 -22
- package/dist/{diagnostic-BO1GQJJf.js → diagnostic-DpOlXoSr.js} +2 -2
- package/dist/{dock-Cr9V9V1V.js → dock-DWqb4ufG.js} +6 -6
- package/dist/{doctor-completion-T9CxDBUR.js → doctor-completion-BPXyoyKn.js} +1 -1
- package/dist/{doctor-completion-BIt5xBwC.js → doctor-completion-COhnnC7x.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{env-DNMZEG57.js → env-Bn6pmvjK.js} +2 -2
- package/dist/{errors-DEkWxItM.js → errors-azBrKJmF.js} +1 -1
- package/dist/{fetch--iXu7oa7.js → fetch-B82CeaHJ.js} +5 -5
- package/dist/{fetch-guard-CNvY0vzQ.js → fetch-guard-CCLWHwu7.js} +2 -2
- package/dist/{frontmatter-DIRc-IR1.js → frontmatter-5U1LYLH9.js} +2 -2
- package/dist/{fs-safe-D8x_nIIA.js → fs-safe-BDR6eQAw.js} +4 -4
- package/dist/{gateway-cli-gzemofET.js → gateway-cli-9UPhizyo.js} +21 -1
- package/dist/{gateway-cli-CanylfLh.js → gateway-cli-BHpfj2p-.js} +21 -1
- package/dist/{github-copilot-token-DLGN-8YS.js → github-copilot-token-CPjAmbfr.js} +7 -7
- package/dist/{image-DCyaYY2d.js → image-BQ1JgwZu.js} +6 -6
- package/dist/{image-ops-DCpyia_K.js → image-ops-jvmQoiyw.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{internal-hooks-yQe6H47q.js → internal-hooks-oLQ2m8YT.js} +1 -1
- package/dist/{ir-BZUjdf-6.js → ir-BODD8g-I.js} +6 -6
- package/dist/llm-slug-generator.js +65 -65
- package/dist/{plugin-sdk/logger-Cr-x0vMf.js → logger-DelEB7MK.js} +1 -1
- package/dist/{login-CgEHUE7h.js → login-Cm2zDfEU.js} +6 -6
- package/dist/{login-qr-DUJfhbUe.js → login-qr-iS1jPDpP.js} +13 -13
- package/dist/{manager-BNuB9clC.js → manager-DdzkWOvc.js} +15 -15
- package/dist/{markdown-tables-BHONoo6S.js → markdown-tables-pfs_NCNh.js} +1 -1
- package/dist/{plugin-sdk/message-channel-CvNq-esz.js → message-channel-POuk6EOq.js} +1 -1
- package/dist/{model-selection-D_Si2Ict.js → model-selection-DfZMxaX3.js} +44 -44
- package/dist/{onboard-B-f5pmgG.js → onboard-Yx-4UNLx.js} +1 -1
- package/dist/{onboard-CLUldVpr.js → onboard-lxDPoEX0.js} +1 -1
- package/dist/{onboarding-Kp0zZunD.js → onboarding-BuP_R-4K.js} +1 -1
- package/dist/{onboarding-DHqNGWCb.js → onboarding-C1V78UtY.js} +1 -1
- package/dist/{onboarding.finalize-D_n9fly-.js → onboarding.finalize--jtLHdXd.js} +4 -4
- package/dist/{onboarding.finalize-CJ23anMx.js → onboarding.finalize-f-QjMD-6.js} +3 -3
- package/dist/{outbound-DOVV_R6m.js → outbound-4q4mbU-Z.js} +7 -7
- package/dist/{outbound-attachment-C7sJLSnv.js → outbound-attachment-CBCp1oVQ.js} +2 -2
- package/dist/{path-alias-guards-CKjKIhQ3.js → path-alias-guards-DfQIjfhB.js} +1 -1
- package/dist/{paths-Cpu0XgUj.js → paths-BZO1jkK2.js} +3 -3
- package/dist/{paths-aGRLvQx9.js → paths-DKuX7-1L.js} +5 -5
- package/dist/{pi-embedded-BgVoy_Nm.js → pi-embedded-BhZNT6T-.js} +178 -178
- package/dist/{pi-embedded-helpers-CMTVhLjq.js → pi-embedded-helpers-CuwhW4u9.js} +29 -29
- package/dist/{pi-model-discovery-DCIw1y1c.js → pi-model-discovery-COjkql-U.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-CkPj4OVY.js → audio-preflight-BTRRjPew.js} +33 -33
- package/dist/plugin-sdk/{audio-transcription-runner-BBn9jEMg.js → audio-transcription-runner-DFZS7uCO.js} +10 -10
- package/dist/plugin-sdk/{bindings-BSfhEjKN.js → bindings-CxxzC7gn.js} +2 -2
- package/dist/{channel-activity-D81g48kD.js → plugin-sdk/channel-activity-B3yZ-f-m.js} +3 -3
- package/dist/plugin-sdk/{channel-web-BaFUnG0F.js → channel-web-C521hZcX.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/plugin-sdk/{errors-jusxdu7M.js → 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-BlH5MJiV.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/{message-channel-Dl8dSs0T.js → plugin-sdk/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-ScShueoF.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-BFYGUEKu.js → plugin-sdk/replies-DbjvV4gf.js} +3 -3
- package/dist/plugin-sdk/{reply-BCRC0yeW.js → reply-Czob6ZQ0.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-B9Jzop3d.js → plugin-sdk/target-errors-0u6pegQv.js} +2 -2
- package/dist/{tokens-B9EDT4jv.js → plugin-sdk/tokens-DF2_VTJy.js} +1 -1
- package/dist/{tool-images-ffdfBx0b.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-D_qaocWb.js +72 -0
- package/dist/plugin-sdk/{whatsapp-actions-CRean1yN.js → whatsapp-actions-tVcrGNQc.js} +25 -25
- package/dist/{plugins-CJoaoIHc.js → plugins-D63QYxW6.js} +11 -11
- package/dist/{program-C0yxnClq.js → program-DAVrzhs2.js} +2 -2
- package/dist/{program-context-D2U9PEv9.js → program-context-CroeAMEq.js} +6 -6
- package/dist/{prompt-select-styled-Bir77erd.js → prompt-select-styled-Dbko_Q7s.js} +1 -1
- package/dist/{prompt-select-styled-Da_XCcz7.js → prompt-select-styled-Du3ff0sT.js} +1 -1
- package/dist/{proxy-env-BnDt8j9F.js → proxy-env-vYAjKL5q.js} +1 -1
- package/dist/{proxy-fetch-xlbVQYN_.js → proxy-fetch-AvkSvetA.js} +1 -1
- package/dist/{proxy-DfJJLvch.js → proxy-jINniQBi.js} +1 -1
- package/dist/{pw-ai-DGwA7iCM.js → pw-ai-BLNiRUPI.js} +17 -17
- package/dist/{qmd-manager-CeN3N992.js → qmd-manager-BBKfRzj-.js} +11 -11
- package/dist/{query-expansion-CGnW4Mk_.js → query-expansion-2BrixCA2.js} +5 -5
- package/dist/{plugin-sdk/redact-BOuKZWXa.js → redact-uUggP88O.js} +1 -1
- package/dist/{register.maintenance-ClYMbiJl.js → register.maintenance-DK--cbD8.js} +4 -4
- package/dist/{register.maintenance-CaDyvPmk.js → register.maintenance-MiuPJilJ.js} +5 -5
- package/dist/{register.onboard-a-TEy7gB.js → register.onboard-CXiK8Iev.js} +2 -2
- package/dist/{register.onboard-BUBCEjZ_.js → register.onboard-yJeNS-BD.js} +2 -2
- package/dist/{register.setup-Dlmt8cdD.js → register.setup-CtS7M9NK.js} +2 -2
- package/dist/{register.setup-9Je9b17j.js → register.setup-DRllOSJZ.js} +2 -2
- package/dist/{register.subclis-D2hfRpSx.js → register.subclis-D_FWN2RD.js} +3 -3
- package/dist/{registry-CJCkqTms.js → registry-C2GEGa2t.js} +3 -3
- package/dist/{plugin-sdk/replies-CddwWBTJ.js → replies-yAf6dFeT.js} +3 -3
- package/dist/{reply-prefix-DK1i6bCJ.js → reply-prefix-9mzt89Cf.js} +1 -1
- package/dist/{resolve-route-C5hVstLo.js → resolve-route-BNElrVxR.js} +4 -4
- package/dist/{retry-DTeP7C3h.js → retry-Ayb7e4XG.js} +1 -1
- package/dist/{run-main-D9foK80m.js → run-main-Dqz2ik3j.js} +3 -3
- package/dist/{send-B4pSMBHk.js → send-Bclgg0Ur.js} +8 -8
- package/dist/{send-BqKSZyIb.js → send-Bjaa69Cy.js} +27 -27
- package/dist/{send-V3fEVmLq.js → send-Cp0yQi_p.js} +10 -10
- package/dist/{send-XAO1mk64.js → send-DQ7hIAIK.js} +7 -7
- package/dist/{send-CN0f1Yst.js → send-DYY51FOR.js} +6 -6
- package/dist/{session-xKPVUYQP.js → session-TVb8hgJP.js} +9 -9
- package/dist/{session-meta-Cqv55kSk.js → session-meta-CyQWVUk4.js} +2 -2
- package/dist/{sessions-CA_BydGA.js → sessions-3jroJwu7.js} +31 -31
- package/dist/{skill-commands-CZFmIM-s.js → skill-commands-CSr9_48V.js} +9 -9
- package/dist/{skills-DMmr25nW.js → skills-B82IjVxn.js} +22 -22
- package/dist/{store-C8KgeMt2.js → store-DhC72KqW.js} +2 -2
- package/dist/{subsystem-BRjuJbbM.js → subsystem-CAatx5oo.js} +14 -14
- package/dist/{tables-BKnPZssn.js → tables-Bfh_TnCf.js} +1 -1
- package/dist/{plugin-sdk/target-errors-QZay02Cv.js → target-errors-CGYXYvSZ.js} +2 -2
- package/dist/{plugin-sdk/tokens-DIE-Bf72.js → tokens-BvzZdrVJ.js} +1 -1
- package/dist/{plugin-sdk/tool-images-heXfaJdb.js → tool-images-CqsWnc1k.js} +2 -2
- package/dist/{tool-loop-detection-CLoYKYIq.js → tool-loop-detection-C4V990MS.js} +3 -3
- package/dist/{update-cli-BDRni489.js → update-cli-DBkrPKzK.js} +5 -5
- package/dist/{update-cli-CWNpH8nb.js → update-cli-DvlRTsY-.js} +4 -4
- package/dist/{utils-BFZnl-5N.js → utils-Bo1RFF0l.js} +6 -6
- package/dist/{web-C1PpWeXj.js → web-DQzzt8wj.js} +69 -69
- package/dist/{whatsapp-actions-CHt12z-f.js → whatsapp-actions-DXjy9m41.js} +28 -28
- package/dist/{workspace-D6mrCnXi.js → workspace-CswOYN9T.js} +21 -21
- package/package.json +1 -1
- package/dist/control-ui/assets/index-CBxamjSz.js.map +0 -1
- package/dist/control-ui/assets/index-Ck63PFX9.css +0 -1
- package/dist/plugin-sdk/web-BDHHRoXS.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-CTbRzU1C.js";
|
|
2
|
+
import { a as resolveGatewayPort, n as STATE_DIR } from "./paths-DKuX7-1L.js";
|
|
3
|
+
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-CAatx5oo.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-Bo1RFF0l.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-CswOYN9T.js";
|
|
7
|
+
import { H as loadConfig, K as writeConfigFile, V as createConfigIO, it as getBlockedNetworkModeReason } from "./model-selection-DfZMxaX3.js";
|
|
8
|
+
import { n as formatCliCommand } from "./env-Bn6pmvjK.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-C2GEGa2t.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-jvmQoiyw.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-DX1blHAJ.js";
|
|
14
|
+
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-B82IjVxn.js";
|
|
15
|
+
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-DfQIjfhB.js";
|
|
16
|
+
import { n as extractErrorCode, r as formatErrorMessage } from "./errors-azBrKJmF.js";
|
|
17
|
+
import { n as SsrFBlockedError } from "./proxy-env-vYAjKL5q.js";
|
|
18
|
+
import { i as saveMediaBuffer, n as ensureMediaDir } from "./store-DhC72KqW.js";
|
|
19
19
|
import { n as resolveWindowsSpawnProgram, t as materializeWindowsSpawnProgram } from "./windows-spawn-BJZPhzR8.js";
|
|
20
20
|
import { r as writeJsonAtomic } from "./json-files-JTS4WE3P.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-3jroJwu7.js";
|
|
22
|
+
import { t as sanitizeContentBlocksImages } from "./tool-images-CqsWnc1k.js";
|
|
23
23
|
import { o as normalizeThinkLevel } from "./thinking-FnAYAFD8.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 fs$1, { 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-BLNiRUPI.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
|
+
fs$1.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 (fs$1.existsSync(dest)) dest = path.join(trashDir, `${base}-${Date.now()}-${generateSecureToken(6)}`);
|
|
2976
|
+
fs$1.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 (fs$1.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-BLNiRUPI.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 (!fs$1.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 fs$1.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 fs$1.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 = fs$1.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
|
+
fs$1.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-DfZMxaX3.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fs 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 (!fs.existsSync(pathname)) return;
|
|
74
74
|
let parsed;
|
|
75
75
|
try {
|
|
76
|
-
parsed = JSON.parse(
|
|
76
|
+
parsed = JSON.parse(fs.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
|
+
fs.rmSync(pathname, { force: true });
|
|
91
91
|
return;
|
|
92
92
|
}
|
|
93
|
-
|
|
94
|
-
|
|
93
|
+
fs.writeFileSync(pathname, `${JSON.stringify(parsed, null, 2)}\n`, "utf8");
|
|
94
|
+
fs.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 { f as isAudioAttachment, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, 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 { f as isAudioAttachment, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-DFZS7uCO.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";
|
|
@@ -1014,7 +1014,7 @@ var MediaAttachmentCache = class {
|
|
|
1014
1014
|
const log = createSubsystemLogger("model-catalog");
|
|
1015
1015
|
let modelCatalogPromise = null;
|
|
1016
1016
|
let hasLoggedModelCatalogError = false;
|
|
1017
|
-
const defaultImportPiSdk = () => import("./pi-model-discovery-
|
|
1017
|
+
const defaultImportPiSdk = () => import("./pi-model-discovery-CK3Ih_kq.js").then((n) => n.r);
|
|
1018
1018
|
let importPiSdk = defaultImportPiSdk;
|
|
1019
1019
|
const CODEX_PROVIDER = "openai-codex";
|
|
1020
1020
|
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-Czob6ZQ0.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 { d 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 { d as registerUnhandledRejectionHandler } from "./audio-transcription-runner-DFZS7uCO.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 = [
|