@termix-it/cryptoclaw 1.1.8 → 1.1.9
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-4l7ba973.js → accounts-7nNRr4R3.js} +1 -1
- package/dist/{accounts-k5nTdi32.js → accounts-BIr_ieyH.js} +1 -1
- package/dist/{accounts-CAjupeYV.js → accounts-CKpnUMZd.js} +16 -16
- package/dist/{active-listener-D9FARjMd.js → active-listener-ClXqZUsD.js} +1 -1
- package/dist/{api-key-rotation-C-Q6XdUW.js → api-key-rotation-CUJC6xSi.js} +2 -2
- package/dist/{audio-preflight-C7kt2vOu.js → audio-preflight--MDRrrlB.js} +33 -33
- package/dist/{audio-transcription-runner-CawngPvE.js → audio-transcription-runner-CgLX4N3r.js} +12 -12
- package/dist/{audit-membership-runtime-C6dnIaXJ.js → audit-membership-runtime-Ch2lLD_u.js} +5 -5
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +52 -52
- 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 +52 -52
- package/dist/bundled/soul-evil/handler.js +5 -5
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-Hho38eZq.js → channel-activity-32lmgAZH.js} +3 -3
- package/dist/{chrome-palWvTtp.js → chrome-CtEQV_6p.js} +18 -18
- package/dist/{commands-registry-A3LstXeY.js → commands-registry-FnGtnvb0.js} +4 -4
- package/dist/{deliver-JkYjt9Qz.js → deliver-32OxViWG.js} +20 -20
- package/dist/deliver-runtime-DGYhS7K1.js +37 -0
- package/dist/deps-send-discord.runtime-BJmezHoH.js +27 -0
- package/dist/deps-send-imessage.runtime-Dsq-J7FK.js +26 -0
- package/dist/deps-send-signal.runtime-2kRNCAkm.js +25 -0
- package/dist/deps-send-slack.runtime-DoM54spr.js +23 -0
- package/dist/deps-send-telegram.runtime-DGtmyBk2.js +28 -0
- package/dist/deps-send-whatsapp.runtime-B_ZiouDf.js +61 -0
- package/dist/{diagnostic-BGtFj4tU.js → diagnostic-UO82MQjo.js} +2 -2
- package/dist/{plugin-sdk/errors-B2jpHiod.js → errors-BwBpGOBV.js} +1 -1
- package/dist/{fetch-_iocPLV2.js → fetch-DozurFmr.js} +5 -5
- package/dist/{fetch-guard-CiQUuV0r.js → fetch-guard-XtFb6zM7.js} +2 -2
- package/dist/{frontmatter-Dn68lQ_o.js → frontmatter-Cy6ESb-O.js} +5 -5
- package/dist/{fs-safe-BLpOReWZ.js → fs-safe-YxZ8RAEw.js} +4 -4
- package/dist/{github-copilot-token-DDa7O18e.js → github-copilot-token-D7knylDF.js} +7 -7
- package/dist/{image-BlRI3dXw.js → image-B2LPzwKF.js} +6 -6
- package/dist/{image-ops-D7mq-4y1.js → image-ops-gm8VfGiD.js} +2 -2
- package/dist/image-runtime-BL3D208M.js +30 -0
- package/dist/{ir-Dpg87zYv.js → ir-B7IR3m4T.js} +7 -7
- package/dist/{legacy-names-BAiRv0I2.js → legacy-names-TrN6kryB.js} +1 -1
- package/dist/llm-slug-generator.js +52 -52
- package/dist/{logger-C53B395N.js → logger-CV2IWsAW.js} +1 -1
- package/dist/{login-CHsCISh4.js → login-C6CkDgLi.js} +5 -5
- package/dist/{login-qr-BEW3jIOt.js → login-qr-WEr1WQvg.js} +11 -11
- package/dist/{manager-Dfrejf6z.js → manager-BWh3BVp1.js} +13 -13
- package/dist/manager-runtime-CJHBIXOb.js +19 -0
- package/dist/{model-selection-e9hodq0l.js → model-selection-BiqOlgFe.js} +48 -48
- package/dist/{outbound-BZqL8UdJ.js → outbound-DSVwKSv4.js} +6 -6
- package/dist/{outbound-attachment-wzHGF-Is.js → outbound-attachment-CcY_Rg0-.js} +2 -2
- package/dist/{path-alias-guards-It4BBRdm.js → path-alias-guards-Gzq1eAOo.js} +1 -1
- package/dist/{paths-CZ0nrg7g.js → paths-BWg7M5Yy.js} +3 -3
- package/dist/{paths-C6TxBCvO.js → paths-Cvc9EM8Y.js} +5 -5
- package/dist/{pi-embedded-BNcbv6lg.js → pi-embedded-DkdNpxSe.js} +161 -161
- package/dist/{pi-embedded-helpers-CE9KKP1Q.js → pi-embedded-helpers-B_qa7ikD.js} +52 -52
- package/dist/{pi-model-discovery-32EFg27L.js → pi-model-discovery-FwBV8Q5J.js} +7 -7
- package/dist/pi-model-discovery-runtime-BozG-CtU.js +12 -0
- package/dist/{pi-tools.before-tool-call.runtime-BfjlGXIc.js → pi-tools.before-tool-call.runtime-2r6sdUt5.js} +10 -10
- package/dist/plugin-sdk/{accounts-Bpe8MpMj.js → accounts-B9ydKoYC.js} +2 -2
- package/dist/plugin-sdk/{accounts-BY3xA55d.js → accounts-DAebrX4r.js} +3 -3
- package/dist/plugin-sdk/{accounts-Dg9HUb5m.js → accounts-DxlJAHNG.js} +2 -2
- package/dist/plugin-sdk/{active-listener-kZJwBchj.js → active-listener-D7Jidx1U.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-wZaR5O8n.js → api-key-rotation-d8cmHGhi.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-DOR1d1hn.js → audio-preflight-vJtQi-4_.js} +26 -26
- package/dist/plugin-sdk/{audio-transcription-runner-DWncgs4M.js → audio-transcription-runner-Bfv_TVP4.js} +11 -11
- package/dist/plugin-sdk/{audit-membership-runtime-DvBMQsDC.js → audit-membership-runtime-BpoX61hv.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-VsWwcNLD.js → channel-activity-1LCR07HU.js} +3 -3
- package/dist/plugin-sdk/{channel-web-B5wxTr-8.js → channel-web-QSsZFIjA.js} +18 -18
- package/dist/plugin-sdk/{chrome-pOAzXzzJ.js → chrome-CbDAFNHQ.js} +6 -6
- package/dist/plugin-sdk/{commands-registry-pKaQ4EJQ.js → commands-registry-D8gIWgM5.js} +4 -4
- package/dist/plugin-sdk/{common-BlJfaliy.js → common-tbQtS1zp.js} +2 -2
- package/dist/plugin-sdk/{config-CURxPU7B.js → config-xkSrCec1.js} +7 -7
- package/dist/plugin-sdk/{deliver-BpfQj4BK.js → deliver-D_Ofr_vN.js} +10 -10
- package/dist/plugin-sdk/deliver-runtime-DkyFlw6M.js +32 -0
- package/dist/plugin-sdk/deps-send-discord.runtime-Bpqp608e.js +23 -0
- package/dist/plugin-sdk/deps-send-imessage.runtime-CEnAbBMn.js +22 -0
- package/dist/plugin-sdk/deps-send-signal.runtime-DLQqphLL.js +21 -0
- package/dist/plugin-sdk/deps-send-slack.runtime-BdLrhl4O.js +19 -0
- package/dist/plugin-sdk/deps-send-telegram.runtime-WQqnuFdj.js +24 -0
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-BljFnkyd.js +57 -0
- package/dist/plugin-sdk/{diagnostic-Bi3FO6Il.js → diagnostic-GjXXC_Pm.js} +2 -2
- package/dist/{errors-C1YF712P.js → plugin-sdk/errors-Cn3JyiMn.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-d5MU-Fi7.js → fetch-guard-ClYTU8LW.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-D57cyrSh.js → fs-safe-Bs9BHEmp.js} +3 -3
- package/dist/plugin-sdk/{image-DWnmWvGr.js → image-_uAwPFe2.js} +6 -6
- package/dist/plugin-sdk/{image-ops-BPP3M0yA.js → image-ops-CsS12Rhg.js} +2 -2
- package/dist/plugin-sdk/image-runtime-0p3JEsb2.js +25 -0
- package/dist/plugin-sdk/{ir-A16Z9dUw.js → ir-DvWncgWp.js} +7 -7
- package/dist/plugin-sdk/{local-roots-BQJNDffC.js → local-roots-Bh7FKHd2.js} +4 -4
- package/dist/plugin-sdk/{logger-Bl138Nx7.js → logger-Dj4IX2UB.js} +2 -2
- package/dist/plugin-sdk/{login-DXLuzgCO.js → login-CYqSEzPN.js} +4 -4
- package/dist/plugin-sdk/{login-qr-DdTcNEXK.js → login-qr-CXXXR_1G.js} +5 -5
- package/dist/plugin-sdk/{manager-ClrE1ahD.js → manager-Dj-hy8oN.js} +8 -8
- package/dist/plugin-sdk/manager-runtime-CzGyKWqZ.js +15 -0
- package/dist/plugin-sdk/{outbound-wmFCJQyk.js → outbound-IhJ6xLv1.js} +5 -5
- package/dist/plugin-sdk/{outbound-attachment-C1GuoigP.js → outbound-attachment-Aa86Zp9X.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-Bsi-4XND.js → path-alias-guards-CtnE1WrY.js} +1 -1
- package/dist/plugin-sdk/{paths-Cb2hB2o0.js → paths-Mew07RGP.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-VYetsWcU.js → pi-embedded-helpers-B_iabXhh.js} +16 -16
- package/dist/plugin-sdk/{pi-model-discovery-Bs1t1vHG.js → pi-model-discovery-avPx6Ptq.js} +1 -1
- package/dist/plugin-sdk/pi-model-discovery-runtime-SwUqnyFp.js +8 -0
- package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-133Rh_QB.js → pi-tools.before-tool-call.runtime-dixwOhKo.js} +4 -4
- package/dist/plugin-sdk/{plugins-A3lJ2lkT.js → plugins-WDZLdw8Z.js} +4 -4
- package/dist/plugin-sdk/{proxy-env-DnjPLipe.js → proxy-env-DKQK-fn1.js} +1 -1
- package/dist/{proxy-fetch-CVSmQMZt.js → plugin-sdk/proxy-fetch-rtc8GmoB.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-BhB6bXtS.js → pw-ai-eYJyyMZX.js} +9 -9
- package/dist/plugin-sdk/{qmd-manager-CmGPY3vR.js → qmd-manager-mWoTdSFY.js} +7 -7
- package/dist/plugin-sdk/{query-expansion-oxEhEDk_.js → query-expansion-4V3Vjs8V.js} +4 -4
- package/dist/plugin-sdk/{redact-C3rEm8A0.js → redact-CBwV828t.js} +1 -1
- package/dist/plugin-sdk/{reply-D3osmjmY.js → reply-RK8_OxAW.js} +73 -73
- package/dist/plugin-sdk/{resolve-outbound-target-K2KiC0bi.js → resolve-outbound-target-Dk3UdF5C.js} +2 -2
- package/dist/plugin-sdk/{run-with-concurrency-FfGqq3TC.js → run-with-concurrency-KlQQobSI.js} +1 -1
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-BxBLO_MD.js +10 -0
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-Dv_fcg58.js +19 -0
- package/dist/plugin-sdk/{send-C5J_PXzR.js → send-BTWIW3-9.js} +8 -8
- package/dist/plugin-sdk/{send-70p3gkTA.js → send-CG8TGQTM.js} +7 -7
- package/dist/plugin-sdk/{send-DdNdK-kV.js → send-CSJIozmo.js} +5 -5
- package/dist/plugin-sdk/{send-DjqI2JpQ.js → send-D50Hdj7y.js} +13 -13
- package/dist/plugin-sdk/{send-CqaHDOLs.js → send-wEJ-5g9f.js} +6 -6
- package/dist/plugin-sdk/{session-BBm3qP5l.js → session-CDTFGpPr.js} +3 -3
- package/dist/plugin-sdk/{skill-commands-B_tuCFSd.js → skill-commands-X5RX1jW3.js} +4 -4
- package/dist/plugin-sdk/{skills-BG1gHeJ_.js → skills-v1KdkGto.js} +6 -6
- package/dist/plugin-sdk/slash-commands.runtime-MtqQ0dUA.js +13 -0
- package/dist/plugin-sdk/slash-dispatch.runtime-vedDymM6.js +52 -0
- package/dist/plugin-sdk/slash-skill-commands.runtime-BraY0iT6.js +16 -0
- package/dist/plugin-sdk/{store-C3Z3fpIY.js → store-DtdqEbDW.js} +2 -2
- package/dist/plugin-sdk/subagent-registry-runtime-DH1Lu5_z.js +52 -0
- package/dist/plugin-sdk/{tables-BfXi9ML_.js → tables-D5d9mqkg.js} +1 -1
- package/dist/plugin-sdk/{thinking-J6jgjmDK.js → thinking-CCdKzGau.js} +7 -7
- package/dist/plugin-sdk/{tokens-DMbd3-Ct.js → tokens-D2fpVQt3.js} +1 -1
- package/dist/plugin-sdk/{tool-images-BtzvC48Z.js → tool-images-B4KNq2sg.js} +2 -2
- package/dist/plugin-sdk/web-DOQLvU76.js +56 -0
- package/dist/plugin-sdk/{whatsapp-actions-C4kVobIE.js → whatsapp-actions-Bi_hJ-Cq.js} +17 -17
- package/dist/plugin-sdk/whatsapp.js +50 -50
- package/dist/{plugins-rc2l4VJe.js → plugins-Burzc1_i.js} +10 -10
- package/dist/{proxy-env-C2sbN0UU.js → proxy-env-C05eD8Tt.js} +1 -1
- package/dist/{plugin-sdk/proxy-fetch-C-fXKPD2.js → proxy-fetch-C_2Ejh5T.js} +1 -1
- package/dist/{pw-ai-CWE0qzH7.js → pw-ai-BbxaV2Cy.js} +15 -15
- package/dist/{qmd-manager-DMSLC2iu.js → qmd-manager-JjGGwn8R.js} +11 -11
- package/dist/{query-expansion-MI1dZ5Nj.js → query-expansion-DkXzaUOH.js} +6 -6
- package/dist/{redact-BXURioma.js → redact-C-aJRv5O.js} +1 -1
- package/dist/{run-with-concurrency-C5E9gJhP.js → run-with-concurrency-CYTs7gPY.js} +4 -4
- package/dist/runtime-whatsapp-login.runtime-BU92rhCA.js +14 -0
- package/dist/runtime-whatsapp-outbound.runtime-DZy-sAPP.js +23 -0
- package/dist/{send-BlTVCcYd.js → send-ChW15YPB.js} +27 -27
- package/dist/{send-C87tIqIn.js → send-Cj0LCSvd.js} +7 -7
- package/dist/{send-BWySsurX.js → send-DDKqu28r.js} +7 -7
- package/dist/{send-OP60RbsK.js → send-hOoCA9jX.js} +6 -6
- package/dist/{send-Cpja8Q1N.js → send-q-l5fncb.js} +5 -5
- package/dist/{session-DmXsj3JD.js → session-BzKpA5X4.js} +8 -8
- package/dist/{skill-commands-DEsgUSH3.js → skill-commands-CIcvUo1A.js} +9 -9
- package/dist/{skills-OklkZyI1.js → skills-DU6_fNPx.js} +22 -22
- package/dist/slash-commands.runtime-CXJJf0jq.js +17 -0
- package/dist/slash-dispatch.runtime-CnDWfnhw.js +57 -0
- package/dist/slash-skill-commands.runtime-NPMuDGFx.js +21 -0
- package/dist/{store-BNhebBGr.js → store-DcxsUE2f.js} +2 -2
- package/dist/subagent-registry-runtime-R6EArAuY.js +57 -0
- package/dist/{subsystem-W834z9Wa.js → subsystem-CEiApUN8.js} +16 -16
- package/dist/{tables-XtcH-BaF.js → tables-DTb5mzup.js} +1 -1
- package/dist/{target-errors-CNzteBWz.js → target-errors-jNfnUab4.js} +2 -2
- package/dist/{thinking-X8yYhVf1.js → thinking-BJkp7vCP.js} +6 -6
- package/dist/{tokens-DxcVnNVJ.js → tokens-tz04P2cO.js} +1 -1
- package/dist/{tool-images-B-4ixjYn.js → tool-images-DRyUUf-X.js} +2 -2
- package/dist/{utils-D2oM4XHm.js → utils-BFS4zK3g.js} +7 -7
- package/dist/{web-B8rFiLYw.js → web-fbVaDaVW.js} +56 -56
- package/dist/{whatsapp-actions-BPIXiPAR.js → whatsapp-actions-CMHMrQzp.js} +22 -22
- package/dist/{workspace-ZgWjBCAm.js → workspace-D6GL2anS.js} +21 -21
- package/extensions/blockchain/package.json +1 -3
- package/package.json +1 -1
- package/dist/deliver-runtime-BvTbrDXE.js +0 -37
- package/dist/deps-send-discord.runtime-1mqY0Pn3.js +0 -27
- package/dist/deps-send-imessage.runtime-NAKUx6Vy.js +0 -26
- package/dist/deps-send-signal.runtime-CHqnnRXO.js +0 -25
- package/dist/deps-send-slack.runtime-CbGlCNTX.js +0 -23
- package/dist/deps-send-telegram.runtime-CgApeKta.js +0 -28
- package/dist/deps-send-whatsapp.runtime-CAPjqcnc.js +0 -61
- package/dist/image-runtime-Cp3I725X.js +0 -30
- package/dist/manager-runtime-DacMHR37.js +0 -19
- package/dist/pi-model-discovery-runtime-C8SNNnEN.js +0 -12
- package/dist/plugin-sdk/deliver-runtime-CoTMJYYS.js +0 -32
- package/dist/plugin-sdk/deps-send-discord.runtime-4lI0eS6q.js +0 -23
- package/dist/plugin-sdk/deps-send-imessage.runtime-i11JqPLo.js +0 -22
- package/dist/plugin-sdk/deps-send-signal.runtime-BHanWbgq.js +0 -21
- package/dist/plugin-sdk/deps-send-slack.runtime-DIHbNRq4.js +0 -19
- package/dist/plugin-sdk/deps-send-telegram.runtime-F-_XP5zF.js +0 -24
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-LYh1VbZJ.js +0 -57
- package/dist/plugin-sdk/image-runtime-dC0tUp3V.js +0 -25
- package/dist/plugin-sdk/manager-runtime-Ba5Qbwrz.js +0 -15
- package/dist/plugin-sdk/pi-model-discovery-runtime-CdT00Yy6.js +0 -8
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-BtI3_XNc.js +0 -10
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-1ZWHTOIM.js +0 -19
- package/dist/plugin-sdk/slash-commands.runtime-CNOgz4_9.js +0 -13
- package/dist/plugin-sdk/slash-dispatch.runtime-DB8Pxn4H.js +0 -52
- package/dist/plugin-sdk/slash-skill-commands.runtime-NOFmKWtQ.js +0 -16
- package/dist/plugin-sdk/subagent-registry-runtime-BSpW6Un2.js +0 -52
- package/dist/plugin-sdk/web-BU7hQoaC.js +0 -56
- package/dist/runtime-whatsapp-login.runtime-BhVxslsH.js +0 -14
- package/dist/runtime-whatsapp-outbound.runtime-CFivqxoq.js +0 -23
- package/dist/slash-commands.runtime-gtQnheWz.js +0 -17
- package/dist/slash-dispatch.runtime-w1y_0I6t.js +0 -57
- package/dist/slash-skill-commands.runtime-CA_oN4df.js +0 -21
- package/dist/subagent-registry-runtime-HYpWtFUu.js +0 -57
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { f as resolveSessionAgentId, i as resolveAgentConfig } from "./run-with-concurrency-
|
|
2
|
-
import { a as resolveGatewayPort, d as resolveRequiredHomeDir, n as STATE_DIR } from "./paths-
|
|
3
|
-
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-
|
|
1
|
+
import { f as resolveSessionAgentId, i as resolveAgentConfig } from "./run-with-concurrency-CYTs7gPY.js";
|
|
2
|
+
import { a as resolveGatewayPort, d as resolveRequiredHomeDir, n as STATE_DIR } from "./paths-Cvc9EM8Y.js";
|
|
3
|
+
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-CEiApUN8.js";
|
|
4
4
|
import { c as normalizeAgentId, g as normalizeOptionalAccountId, l as normalizeMainKey, r as buildAgentMainSessionKey, t as DEFAULT_AGENT_ID, u as resolveAgentIdFromSessionKey } from "./session-key-DgdmD4k7.js";
|
|
5
|
-
import { S as truncateUtf16Safe, d as normalizeE164, h as resolveUserPath } from "./utils-
|
|
6
|
-
import { T as resolvePathViaExistingAncestorSync, _ as runExec, a as DEFAULT_IDENTITY_FILENAME, b as openBoundaryFile, 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 } from "./workspace-
|
|
7
|
-
import { Bt as CHANNEL_IDS, W as resolveSecretRefValues, X as loadConfig, Y as createConfigIO, ar as resolveProcessScopedMap, cr as formatCliCommand, et as writeConfigFile, ft as secretRefKey, gr as resolveSecretInputRef, mt as parseByteSize, or as getProcessStartTime, pt as getBlockedNetworkModeReason, sr as isPidAlive } from "./model-selection-
|
|
8
|
-
import { c as parseBooleanValue } from "./legacy-names-
|
|
5
|
+
import { S as truncateUtf16Safe, d as normalizeE164, h as resolveUserPath } from "./utils-BFS4zK3g.js";
|
|
6
|
+
import { T as resolvePathViaExistingAncestorSync, _ as runExec, a as DEFAULT_IDENTITY_FILENAME, b as openBoundaryFile, 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 } from "./workspace-D6GL2anS.js";
|
|
7
|
+
import { Bt as CHANNEL_IDS, W as resolveSecretRefValues, X as loadConfig, Y as createConfigIO, ar as resolveProcessScopedMap, cr as formatCliCommand, et as writeConfigFile, ft as secretRefKey, gr as resolveSecretInputRef, mt as parseByteSize, or as getProcessStartTime, pt as getBlockedNetworkModeReason, sr as isPidAlive } from "./model-selection-BiqOlgFe.js";
|
|
8
|
+
import { c as parseBooleanValue } from "./legacy-names-TrN6kryB.js";
|
|
9
9
|
import { t as parseDurationMs } from "./parse-duration-D8SaZ9Wv.js";
|
|
10
|
-
import { d as getChannelDock, o as normalizeThinkLevel, v as normalizeHyphenSlug } from "./thinking-
|
|
11
|
-
import { _ as normalizeChatType, r as normalizeChannelId } from "./plugins-
|
|
10
|
+
import { d as getChannelDock, o as normalizeThinkLevel, v as normalizeHyphenSlug } from "./thinking-BJkp7vCP.js";
|
|
11
|
+
import { _ as normalizeChatType, r as normalizeChannelId } from "./plugins-Burzc1_i.js";
|
|
12
12
|
import { t as generateSecureToken } from "./secure-random-xpZo1jCG.js";
|
|
13
|
-
import { i as getImageMetadata, m as normalizeMessageChannel, n as buildImageResizeSideGrid, p as listDeliverableMessageChannels, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-
|
|
14
|
-
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-
|
|
15
|
-
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-
|
|
16
|
-
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-
|
|
17
|
-
import { n as extractErrorCode, r as formatErrorMessage } from "./errors-
|
|
18
|
-
import { n as SsrFBlockedError } from "./proxy-env-
|
|
19
|
-
import { i as saveMediaBuffer, n as ensureMediaDir } from "./store-
|
|
13
|
+
import { i as getImageMetadata, m as normalizeMessageChannel, n as buildImageResizeSideGrid, p as listDeliverableMessageChannels, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-gm8VfGiD.js";
|
|
14
|
+
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-CtEQV_6p.js";
|
|
15
|
+
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-DU6_fNPx.js";
|
|
16
|
+
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-Gzq1eAOo.js";
|
|
17
|
+
import { n as extractErrorCode, r as formatErrorMessage } from "./errors-BwBpGOBV.js";
|
|
18
|
+
import { n as SsrFBlockedError } from "./proxy-env-C05eD8Tt.js";
|
|
19
|
+
import { i as saveMediaBuffer, n as ensureMediaDir } from "./store-DcxsUE2f.js";
|
|
20
20
|
import { n as resolveWindowsSpawnProgram, t as materializeWindowsSpawnProgram } from "./windows-spawn-CjNYeBcQ.js";
|
|
21
21
|
import { i as writeTextAtomic, r as writeJsonAtomic } from "./json-files-D2dc4Wmw.js";
|
|
22
|
-
import { a as resolveSessionTranscriptPathInDir, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-
|
|
22
|
+
import { a as resolveSessionTranscriptPathInDir, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-BWg7M5Yy.js";
|
|
23
23
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-Db-3GZzv.js";
|
|
24
|
-
import { t as sanitizeContentBlocksImages } from "./tool-images-
|
|
24
|
+
import { t as sanitizeContentBlocksImages } from "./tool-images-DRyUUf-X.js";
|
|
25
25
|
import fs from "node:fs/promises";
|
|
26
26
|
import os from "node:os";
|
|
27
27
|
import path, { posix } from "node:path";
|
|
28
|
-
import
|
|
28
|
+
import fs$1, { existsSync } from "node:fs";
|
|
29
29
|
import { spawn } from "node:child_process";
|
|
30
30
|
import crypto, { createHash, timingSafeEqual } from "node:crypto";
|
|
31
31
|
import { CURRENT_SESSION_VERSION, SessionManager } from "@mariozechner/pi-coding-agent";
|
|
@@ -1280,7 +1280,7 @@ function isModuleNotFoundError(err) {
|
|
|
1280
1280
|
}
|
|
1281
1281
|
async function loadPwAiModule(mode) {
|
|
1282
1282
|
try {
|
|
1283
|
-
return await import("./pw-ai-
|
|
1283
|
+
return await import("./pw-ai-BbxaV2Cy.js");
|
|
1284
1284
|
} catch (err) {
|
|
1285
1285
|
if (mode === "soft") return null;
|
|
1286
1286
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -3057,11 +3057,11 @@ async function movePathToTrash(targetPath) {
|
|
|
3057
3057
|
return targetPath;
|
|
3058
3058
|
} catch {
|
|
3059
3059
|
const trashDir = path.join(os.homedir(), ".Trash");
|
|
3060
|
-
|
|
3060
|
+
fs$1.mkdirSync(trashDir, { recursive: true });
|
|
3061
3061
|
const base = path.basename(targetPath);
|
|
3062
3062
|
let dest = path.join(trashDir, `${base}-${Date.now()}`);
|
|
3063
|
-
if (
|
|
3064
|
-
|
|
3063
|
+
if (fs$1.existsSync(dest)) dest = path.join(trashDir, `${base}-${Date.now()}-${generateSecureToken(6)}`);
|
|
3064
|
+
fs$1.renameSync(targetPath, dest);
|
|
3065
3065
|
return dest;
|
|
3066
3066
|
}
|
|
3067
3067
|
}
|
|
@@ -3148,7 +3148,7 @@ function createBrowserProfilesService(ctx) {
|
|
|
3148
3148
|
} catch {}
|
|
3149
3149
|
const userDataDir = resolveOpenClawUserDataDir(name);
|
|
3150
3150
|
const profileDir = path.dirname(userDataDir);
|
|
3151
|
-
if (
|
|
3151
|
+
if (fs$1.existsSync(profileDir)) {
|
|
3152
3152
|
await movePathToTrash(profileDir);
|
|
3153
3153
|
deleted = true;
|
|
3154
3154
|
}
|
|
@@ -3646,7 +3646,7 @@ function createProfileAvailability({ opts, profile, state, getProfileState, setP
|
|
|
3646
3646
|
//#region src/browser/server-context.reset.ts
|
|
3647
3647
|
async function closePlaywrightBrowserConnection() {
|
|
3648
3648
|
try {
|
|
3649
|
-
await (await import("./pw-ai-
|
|
3649
|
+
await (await import("./pw-ai-BbxaV2Cy.js")).closePlaywrightBrowserConnection();
|
|
3650
3650
|
} catch {}
|
|
3651
3651
|
}
|
|
3652
3652
|
function createProfileResetOps({ profile, getProfileState, stopRunningBrowser, isHttpReachable, resolveOpenClawUserDataDir }) {
|
|
@@ -3664,7 +3664,7 @@ function createProfileResetOps({ profile, getProfileState, stopRunningBrowser, i
|
|
|
3664
3664
|
if (await isHttpReachable(300) && !profileState.running) await closePlaywrightBrowserConnection();
|
|
3665
3665
|
if (profileState.running) await stopRunningBrowser();
|
|
3666
3666
|
await closePlaywrightBrowserConnection();
|
|
3667
|
-
if (!
|
|
3667
|
+
if (!fs$1.existsSync(userDataDir)) return {
|
|
3668
3668
|
moved: false,
|
|
3669
3669
|
from: userDataDir
|
|
3670
3670
|
};
|
|
@@ -4412,7 +4412,7 @@ function releaseAllLocksSync() {
|
|
|
4412
4412
|
if (typeof held.handle.close === "function") held.handle.close().catch(() => {});
|
|
4413
4413
|
} catch {}
|
|
4414
4414
|
try {
|
|
4415
|
-
|
|
4415
|
+
fs$1.rmSync(held.lockPath, { force: true });
|
|
4416
4416
|
} catch {}
|
|
4417
4417
|
HELD_LOCKS.delete(sessionFile);
|
|
4418
4418
|
}
|
|
@@ -6010,7 +6010,7 @@ var SandboxFsBridgeImpl = class {
|
|
|
6010
6010
|
if (guarded.reason !== "path") {
|
|
6011
6011
|
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}`);
|
|
6012
6012
|
}
|
|
6013
|
-
} else
|
|
6013
|
+
} else fs$1.closeSync(guarded.fd);
|
|
6014
6014
|
const canonicalContainerPath = await this.resolveCanonicalContainerPath({
|
|
6015
6015
|
containerPath: target.containerPath,
|
|
6016
6016
|
allowFinalSymlinkForUnlink: options.aliasPolicy?.allowFinalSymlinkForUnlink === true
|
|
@@ -6021,7 +6021,7 @@ var SandboxFsBridgeImpl = class {
|
|
|
6021
6021
|
}
|
|
6022
6022
|
pathIsExistingDirectory(hostPath) {
|
|
6023
6023
|
try {
|
|
6024
|
-
return
|
|
6024
|
+
return fs$1.statSync(hostPath).isDirectory();
|
|
6025
6025
|
} catch {
|
|
6026
6026
|
return false;
|
|
6027
6027
|
}
|
|
@@ -6822,14 +6822,14 @@ function resolveSessionTranscriptCandidates(sessionId, storePath, sessionFile, a
|
|
|
6822
6822
|
function canonicalizePathForComparison$1(filePath) {
|
|
6823
6823
|
const resolved = path.resolve(filePath);
|
|
6824
6824
|
try {
|
|
6825
|
-
return
|
|
6825
|
+
return fs$1.realpathSync(resolved);
|
|
6826
6826
|
} catch {
|
|
6827
6827
|
return resolved;
|
|
6828
6828
|
}
|
|
6829
6829
|
}
|
|
6830
6830
|
function archiveFileOnDisk(filePath, reason) {
|
|
6831
6831
|
const archived = `${filePath}.${reason}.${formatSessionArchiveTimestamp()}`;
|
|
6832
|
-
|
|
6832
|
+
fs$1.renameSync(filePath, archived);
|
|
6833
6833
|
return archived;
|
|
6834
6834
|
}
|
|
6835
6835
|
/**
|
|
@@ -6845,7 +6845,7 @@ function archiveSessionTranscripts(opts) {
|
|
|
6845
6845
|
const relative = path.relative(storeDir, candidatePath);
|
|
6846
6846
|
if (!relative || relative.startsWith("..") || path.isAbsolute(relative)) continue;
|
|
6847
6847
|
}
|
|
6848
|
-
if (!
|
|
6848
|
+
if (!fs$1.existsSync(candidatePath)) continue;
|
|
6849
6849
|
try {
|
|
6850
6850
|
archived.push(archiveFileOnDisk(candidatePath, opts.reason));
|
|
6851
6851
|
} catch {}
|
|
@@ -6863,15 +6863,15 @@ async function cleanupArchivedSessionTranscripts(opts) {
|
|
|
6863
6863
|
let removed = 0;
|
|
6864
6864
|
let scanned = 0;
|
|
6865
6865
|
for (const dir of directories) {
|
|
6866
|
-
const entries = await
|
|
6866
|
+
const entries = await fs$1.promises.readdir(dir).catch(() => []);
|
|
6867
6867
|
for (const entry of entries) {
|
|
6868
6868
|
const timestamp = parseSessionArchiveTimestamp(entry, reason);
|
|
6869
6869
|
if (timestamp == null) continue;
|
|
6870
6870
|
scanned += 1;
|
|
6871
6871
|
if (now - timestamp <= opts.olderThanMs) continue;
|
|
6872
6872
|
const fullPath = path.join(dir, entry);
|
|
6873
|
-
if (!(await
|
|
6874
|
-
await
|
|
6873
|
+
if (!(await fs$1.promises.stat(fullPath).catch(() => null))?.isFile()) continue;
|
|
6874
|
+
await fs$1.promises.rm(fullPath).catch(() => void 0);
|
|
6875
6875
|
removed += 1;
|
|
6876
6876
|
}
|
|
6877
6877
|
}
|
|
@@ -7001,7 +7001,7 @@ function isCacheEnabled(ttlMs) {
|
|
|
7001
7001
|
}
|
|
7002
7002
|
function getFileStatSnapshot(filePath) {
|
|
7003
7003
|
try {
|
|
7004
|
-
const stats =
|
|
7004
|
+
const stats = fs$1.statSync(filePath);
|
|
7005
7005
|
return {
|
|
7006
7006
|
mtimeMs: stats.mtimeMs,
|
|
7007
7007
|
sizeBytes: stats.size
|
|
@@ -7020,7 +7020,7 @@ const NOOP_LOGGER = {
|
|
|
7020
7020
|
function canonicalizePathForComparison(filePath) {
|
|
7021
7021
|
const resolved = path.resolve(filePath);
|
|
7022
7022
|
try {
|
|
7023
|
-
return
|
|
7023
|
+
return fs$1.realpathSync(resolved);
|
|
7024
7024
|
} catch {
|
|
7025
7025
|
return resolved;
|
|
7026
7026
|
}
|
|
@@ -7078,12 +7078,12 @@ function resolveReferencedSessionTranscriptPaths(params) {
|
|
|
7078
7078
|
return referenced;
|
|
7079
7079
|
}
|
|
7080
7080
|
async function readSessionsDirFiles(sessionsDir) {
|
|
7081
|
-
const dirEntries = await
|
|
7081
|
+
const dirEntries = await fs$1.promises.readdir(sessionsDir, { withFileTypes: true }).catch(() => []);
|
|
7082
7082
|
const files = [];
|
|
7083
7083
|
for (const dirent of dirEntries) {
|
|
7084
7084
|
if (!dirent.isFile()) continue;
|
|
7085
7085
|
const filePath = path.join(sessionsDir, dirent.name);
|
|
7086
|
-
const stat = await
|
|
7086
|
+
const stat = await fs$1.promises.stat(filePath).catch(() => null);
|
|
7087
7087
|
if (!stat?.isFile()) continue;
|
|
7088
7088
|
files.push({
|
|
7089
7089
|
path: filePath,
|
|
@@ -7096,9 +7096,9 @@ async function readSessionsDirFiles(sessionsDir) {
|
|
|
7096
7096
|
return files;
|
|
7097
7097
|
}
|
|
7098
7098
|
async function removeFileIfExists(filePath) {
|
|
7099
|
-
const stat = await
|
|
7099
|
+
const stat = await fs$1.promises.stat(filePath).catch(() => null);
|
|
7100
7100
|
if (!stat?.isFile()) return 0;
|
|
7101
|
-
await
|
|
7101
|
+
await fs$1.promises.rm(filePath, { force: true }).catch(() => void 0);
|
|
7102
7102
|
return stat.size;
|
|
7103
7103
|
}
|
|
7104
7104
|
async function removeFileForBudget(params) {
|
|
@@ -7457,7 +7457,7 @@ function capEntryCount(store, overrideMax, opts = {}) {
|
|
|
7457
7457
|
}
|
|
7458
7458
|
async function getSessionFileSize(storePath) {
|
|
7459
7459
|
try {
|
|
7460
|
-
return (await
|
|
7460
|
+
return (await fs$1.promises.stat(storePath)).size;
|
|
7461
7461
|
} catch {
|
|
7462
7462
|
return null;
|
|
7463
7463
|
}
|
|
@@ -7474,7 +7474,7 @@ async function rotateSessionFile(storePath, overrideBytes) {
|
|
|
7474
7474
|
if (fileSize <= maxBytes) return false;
|
|
7475
7475
|
const backupPath = `${storePath}.bak.${Date.now()}`;
|
|
7476
7476
|
try {
|
|
7477
|
-
await
|
|
7477
|
+
await fs$1.promises.rename(storePath, backupPath);
|
|
7478
7478
|
log$2.info("rotated session store file", {
|
|
7479
7479
|
backupPath: path.basename(backupPath),
|
|
7480
7480
|
sizeBytes: fileSize
|
|
@@ -7485,11 +7485,11 @@ async function rotateSessionFile(storePath, overrideBytes) {
|
|
|
7485
7485
|
try {
|
|
7486
7486
|
const dir = path.dirname(storePath);
|
|
7487
7487
|
const baseName = path.basename(storePath);
|
|
7488
|
-
const backups = (await
|
|
7488
|
+
const backups = (await fs$1.promises.readdir(dir)).filter((f) => f.startsWith(`${baseName}.bak.`)).toSorted().toReversed();
|
|
7489
7489
|
const maxBackups = 3;
|
|
7490
7490
|
if (backups.length > maxBackups) {
|
|
7491
7491
|
const toDelete = backups.slice(maxBackups);
|
|
7492
|
-
for (const old of toDelete) await
|
|
7492
|
+
for (const old of toDelete) await fs$1.promises.unlink(path.join(dir, old)).catch(() => void 0);
|
|
7493
7493
|
log$2.info("cleaned up old session store backups", { deleted: toDelete.length });
|
|
7494
7494
|
}
|
|
7495
7495
|
} catch {}
|
|
@@ -7612,7 +7612,7 @@ function loadSessionStore(storePath, opts = {}) {
|
|
|
7612
7612
|
const maxReadAttempts = process.platform === "win32" ? 3 : 1;
|
|
7613
7613
|
const retryBuf = maxReadAttempts > 1 ? new Int32Array(new SharedArrayBuffer(4)) : void 0;
|
|
7614
7614
|
for (let attempt = 0; attempt < maxReadAttempts; attempt++) try {
|
|
7615
|
-
const raw =
|
|
7615
|
+
const raw = fs$1.readFileSync(storePath, "utf-8");
|
|
7616
7616
|
if (raw.length === 0 && attempt < maxReadAttempts - 1) {
|
|
7617
7617
|
Atomics.wait(retryBuf, 0, 0, 50);
|
|
7618
7618
|
continue;
|
|
@@ -7766,7 +7766,7 @@ async function saveSessionStoreUnlocked(storePath, store, opts) {
|
|
|
7766
7766
|
});
|
|
7767
7767
|
}
|
|
7768
7768
|
}
|
|
7769
|
-
await
|
|
7769
|
+
await fs$1.promises.mkdir(path.dirname(storePath), { recursive: true });
|
|
7770
7770
|
const json = JSON.stringify(store, null, 2);
|
|
7771
7771
|
if (getSerializedSessionStore(storePath) === json) {
|
|
7772
7772
|
updateSessionStoreWriteCaches({
|
|
@@ -8103,8 +8103,8 @@ function resolveMirroredTranscriptText(params) {
|
|
|
8103
8103
|
return trimmed ? trimmed : null;
|
|
8104
8104
|
}
|
|
8105
8105
|
async function ensureSessionHeader(params) {
|
|
8106
|
-
if (
|
|
8107
|
-
await
|
|
8106
|
+
if (fs$1.existsSync(params.sessionFile)) return;
|
|
8107
|
+
await fs$1.promises.mkdir(path.dirname(params.sessionFile), { recursive: true });
|
|
8108
8108
|
const header = {
|
|
8109
8109
|
type: "session",
|
|
8110
8110
|
version: CURRENT_SESSION_VERSION,
|
|
@@ -8112,7 +8112,7 @@ async function ensureSessionHeader(params) {
|
|
|
8112
8112
|
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
8113
8113
|
cwd: process.cwd()
|
|
8114
8114
|
};
|
|
8115
|
-
await
|
|
8115
|
+
await fs$1.promises.writeFile(params.sessionFile, `${JSON.stringify(header)}\n`, {
|
|
8116
8116
|
encoding: "utf-8",
|
|
8117
8117
|
mode: 384
|
|
8118
8118
|
});
|
|
@@ -8347,13 +8347,13 @@ async function ensureSandboxWorkspace(workspaceDir, seedFrom, skipBootstrap) {
|
|
|
8347
8347
|
});
|
|
8348
8348
|
if (!opened.ok) continue;
|
|
8349
8349
|
try {
|
|
8350
|
-
const content =
|
|
8350
|
+
const content = fs$1.readFileSync(opened.fd, "utf-8");
|
|
8351
8351
|
await fs.writeFile(dest, content, {
|
|
8352
8352
|
encoding: "utf-8",
|
|
8353
8353
|
flag: "wx"
|
|
8354
8354
|
});
|
|
8355
8355
|
} finally {
|
|
8356
|
-
|
|
8356
|
+
fs$1.closeSync(opened.fd);
|
|
8357
8357
|
}
|
|
8358
8358
|
} catch {}
|
|
8359
8359
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { c as normalizeProviderId, tr as ensureAuthProfileStore } from "./model-selection-
|
|
2
|
+
import { c as normalizeProviderId, tr as ensureAuthProfileStore } from "./model-selection-BiqOlgFe.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;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import "./run-with-concurrency-CYTs7gPY.js";
|
|
2
|
+
import "./paths-Cvc9EM8Y.js";
|
|
3
|
+
import "./subsystem-CEiApUN8.js";
|
|
4
|
+
import "./utils-BFS4zK3g.js";
|
|
5
|
+
import "./workspace-D6GL2anS.js";
|
|
6
|
+
import "./logger-CV2IWsAW.js";
|
|
7
|
+
import "./model-selection-BiqOlgFe.js";
|
|
8
|
+
import "./github-copilot-token-D7knylDF.js";
|
|
9
|
+
import "./legacy-names-TrN6kryB.js";
|
|
10
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-FwBV8Q5J.js";
|
|
11
|
+
|
|
12
|
+
export { discoverAuthStorage, discoverModels };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import "./run-with-concurrency-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { C as isPlainObject } from "./utils-
|
|
5
|
-
import "./workspace-
|
|
6
|
-
import "./logger-
|
|
7
|
-
import "./model-selection-
|
|
8
|
-
import "./github-copilot-token-
|
|
9
|
-
import "./legacy-names-
|
|
10
|
-
import { p as getDiagnosticSessionState, s as logToolLoopAction } from "./diagnostic-
|
|
1
|
+
import "./run-with-concurrency-CYTs7gPY.js";
|
|
2
|
+
import "./paths-Cvc9EM8Y.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-CEiApUN8.js";
|
|
4
|
+
import { C as isPlainObject } from "./utils-BFS4zK3g.js";
|
|
5
|
+
import "./workspace-D6GL2anS.js";
|
|
6
|
+
import "./logger-CV2IWsAW.js";
|
|
7
|
+
import "./model-selection-BiqOlgFe.js";
|
|
8
|
+
import "./github-copilot-token-D7knylDF.js";
|
|
9
|
+
import "./legacy-names-TrN6kryB.js";
|
|
10
|
+
import { p as getDiagnosticSessionState, s as logToolLoopAction } from "./diagnostic-UO82MQjo.js";
|
|
11
11
|
import { createHash } from "node:crypto";
|
|
12
12
|
|
|
13
13
|
//#region src/agents/tool-loop-detection.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ot as normalizeAccountId } from "./run-with-concurrency-
|
|
2
|
-
import { v as resolveAccountEntry, y as createAccountListHelpers } from "./accounts-
|
|
1
|
+
import { ot as normalizeAccountId } from "./run-with-concurrency-KlQQobSI.js";
|
|
2
|
+
import { v as resolveAccountEntry, y as createAccountListHelpers } from "./accounts-DAebrX4r.js";
|
|
3
3
|
|
|
4
4
|
//#region src/signal/accounts.ts
|
|
5
5
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("signal");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { at as DEFAULT_ACCOUNT_ID, ot as normalizeAccountId, st as normalizeOptionalAccountId } from "./run-with-concurrency-
|
|
2
|
-
import { Tr as formatCliCommand } from "./config-
|
|
3
|
-
import { B as success, G as getChildLogger, I as info, j as defaultRuntime, m as jidToE164, y as resolveUserPath } from "./logger-
|
|
1
|
+
import { at as DEFAULT_ACCOUNT_ID, ot as normalizeAccountId, st as normalizeOptionalAccountId } from "./run-with-concurrency-KlQQobSI.js";
|
|
2
|
+
import { Tr as formatCliCommand } from "./config-xkSrCec1.js";
|
|
3
|
+
import { B as success, G as getChildLogger, I as info, j as defaultRuntime, m as jidToE164, y as resolveUserPath } from "./logger-Dj4IX2UB.js";
|
|
4
4
|
import { o as resolveOAuthDir } from "./paths-0d8fBoC4.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import fs from "node:fs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ot as normalizeAccountId } from "./run-with-concurrency-
|
|
2
|
-
import { v as resolveAccountEntry, y as createAccountListHelpers } from "./accounts-
|
|
1
|
+
import { ot as normalizeAccountId } from "./run-with-concurrency-KlQQobSI.js";
|
|
2
|
+
import { v as resolveAccountEntry, y as createAccountListHelpers } from "./accounts-DAebrX4r.js";
|
|
3
3
|
|
|
4
4
|
//#region src/imessage/accounts.ts
|
|
5
5
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("imessage");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { at as DEFAULT_ACCOUNT_ID } from "./run-with-concurrency-
|
|
2
|
-
import { Tr as formatCliCommand } from "./config-
|
|
1
|
+
import { at as DEFAULT_ACCOUNT_ID } from "./run-with-concurrency-KlQQobSI.js";
|
|
2
|
+
import { Tr as formatCliCommand } from "./config-xkSrCec1.js";
|
|
3
3
|
import crypto from "node:crypto";
|
|
4
4
|
|
|
5
5
|
//#region src/logging/redact-identifier.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Ht as normalizeProviderId } from "./config-
|
|
2
|
-
import { r as formatErrorMessage } from "./errors-
|
|
1
|
+
import { Ht as normalizeProviderId } from "./config-xkSrCec1.js";
|
|
2
|
+
import { r as formatErrorMessage } from "./errors-Cn3JyiMn.js";
|
|
3
3
|
|
|
4
4
|
//#region src/infra/gemini-auth.ts
|
|
5
5
|
/**
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import "./run-with-concurrency-
|
|
2
|
-
import "./config-
|
|
3
|
-
import { L as logVerbose, z as shouldLogVerbose } from "./logger-
|
|
1
|
+
import "./run-with-concurrency-KlQQobSI.js";
|
|
2
|
+
import "./config-xkSrCec1.js";
|
|
3
|
+
import { L as logVerbose, z as shouldLogVerbose } from "./logger-Dj4IX2UB.js";
|
|
4
4
|
import "./paths-0d8fBoC4.js";
|
|
5
|
-
import "./accounts-
|
|
6
|
-
import "./plugins-
|
|
7
|
-
import "./thinking-
|
|
8
|
-
import "./accounts-
|
|
9
|
-
import "./image-ops-
|
|
10
|
-
import "./pi-embedded-helpers-
|
|
11
|
-
import "./accounts-
|
|
5
|
+
import "./accounts-DAebrX4r.js";
|
|
6
|
+
import "./plugins-WDZLdw8Z.js";
|
|
7
|
+
import "./thinking-CCdKzGau.js";
|
|
8
|
+
import "./accounts-DxlJAHNG.js";
|
|
9
|
+
import "./image-ops-CsS12Rhg.js";
|
|
10
|
+
import "./pi-embedded-helpers-B_iabXhh.js";
|
|
11
|
+
import "./accounts-B9ydKoYC.js";
|
|
12
12
|
import "./github-copilot-token-CKKBybuX.js";
|
|
13
|
-
import "./paths-
|
|
14
|
-
import { i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, p as isAudioAttachment, t as runAudioTranscription } from "./audio-transcription-runner-
|
|
15
|
-
import "./image-
|
|
16
|
-
import "./chrome-
|
|
17
|
-
import "./skills-
|
|
18
|
-
import "./path-alias-guards-
|
|
19
|
-
import "./redact-
|
|
20
|
-
import "./errors-
|
|
21
|
-
import "./fs-safe-
|
|
22
|
-
import "./proxy-env-
|
|
23
|
-
import "./store-
|
|
24
|
-
import "./tool-images-
|
|
25
|
-
import "./fetch-guard-
|
|
26
|
-
import "./api-key-rotation-
|
|
27
|
-
import "./local-roots-
|
|
28
|
-
import "./proxy-fetch-
|
|
13
|
+
import "./paths-Mew07RGP.js";
|
|
14
|
+
import { i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, p as isAudioAttachment, t as runAudioTranscription } from "./audio-transcription-runner-Bfv_TVP4.js";
|
|
15
|
+
import "./image-_uAwPFe2.js";
|
|
16
|
+
import "./chrome-CbDAFNHQ.js";
|
|
17
|
+
import "./skills-v1KdkGto.js";
|
|
18
|
+
import "./path-alias-guards-CtnE1WrY.js";
|
|
19
|
+
import "./redact-CBwV828t.js";
|
|
20
|
+
import "./errors-Cn3JyiMn.js";
|
|
21
|
+
import "./fs-safe-Bs9BHEmp.js";
|
|
22
|
+
import "./proxy-env-DKQK-fn1.js";
|
|
23
|
+
import "./store-DtdqEbDW.js";
|
|
24
|
+
import "./tool-images-B4KNq2sg.js";
|
|
25
|
+
import "./fetch-guard-ClYTU8LW.js";
|
|
26
|
+
import "./api-key-rotation-d8cmHGhi.js";
|
|
27
|
+
import "./local-roots-Bh7FKHd2.js";
|
|
28
|
+
import "./proxy-fetch-rtc8GmoB.js";
|
|
29
29
|
|
|
30
30
|
//#region src/media-understanding/audio-preflight.ts
|
|
31
31
|
/**
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { O as runExec, U as resolveAgentModelFallbackValues, W as resolveAgentModelPrimaryValue } from "./run-with-concurrency-
|
|
2
|
-
import { Fn as resolveOpenClawAgentDir, Ht as normalizeProviderId, Yt as normalizeGoogleModelId, dn as resolveApiKeyForProvider, f as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, h as resolveIMessageAttachmentRoots, m as mergeInboundPathRoots, n as loadConfig, p as isInboundPathAllowed, un as requireApiKey } from "./config-
|
|
3
|
-
import { L as logVerbose, O as createSubsystemLogger, Y as resolvePreferredOpenClawTmpDir, z as shouldLogVerbose } from "./logger-
|
|
4
|
-
import { _ as normalizeChatType } from "./plugins-
|
|
5
|
-
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-
|
|
6
|
-
import { C as ensureOpenClawModelsJson, t as describeImageWithModel } from "./image-
|
|
1
|
+
import { O as runExec, U as resolveAgentModelFallbackValues, W as resolveAgentModelPrimaryValue } from "./run-with-concurrency-KlQQobSI.js";
|
|
2
|
+
import { Fn as resolveOpenClawAgentDir, Ht as normalizeProviderId, Yt as normalizeGoogleModelId, dn as resolveApiKeyForProvider, f as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, h as resolveIMessageAttachmentRoots, m as mergeInboundPathRoots, n as loadConfig, p as isInboundPathAllowed, un as requireApiKey } from "./config-xkSrCec1.js";
|
|
3
|
+
import { L as logVerbose, O as createSubsystemLogger, Y as resolvePreferredOpenClawTmpDir, z as shouldLogVerbose } from "./logger-Dj4IX2UB.js";
|
|
4
|
+
import { _ as normalizeChatType } from "./plugins-WDZLdw8Z.js";
|
|
5
|
+
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-CsS12Rhg.js";
|
|
6
|
+
import { C as ensureOpenClawModelsJson, t as describeImageWithModel } from "./image-_uAwPFe2.js";
|
|
7
7
|
import { n as fetchWithTimeout } from "./fetch-timeout-CR10Uz2k.js";
|
|
8
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
9
|
-
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
10
|
-
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError } from "./local-roots-
|
|
11
|
-
import { n as resolveProxyFetchFromEnv } from "./proxy-fetch-
|
|
8
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-ClYTU8LW.js";
|
|
9
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-d8cmHGhi.js";
|
|
10
|
+
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError } from "./local-roots-Bh7FKHd2.js";
|
|
11
|
+
import { n as resolveProxyFetchFromEnv } from "./proxy-fetch-rtc8GmoB.js";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
import { constants } from "node:fs";
|
|
14
14
|
import os from "node:os";
|
|
@@ -990,7 +990,7 @@ var MediaAttachmentCache = class {
|
|
|
990
990
|
const log = createSubsystemLogger("model-catalog");
|
|
991
991
|
let modelCatalogPromise = null;
|
|
992
992
|
let hasLoggedModelCatalogError = false;
|
|
993
|
-
const defaultImportPiSdk = () => import("./pi-model-discovery-
|
|
993
|
+
const defaultImportPiSdk = () => import("./pi-model-discovery-avPx6Ptq.js").then((n) => n.r);
|
|
994
994
|
let importPiSdk = defaultImportPiSdk;
|
|
995
995
|
const CODEX_PROVIDER = "openai-codex";
|
|
996
996
|
const OPENAI_CODEX_GPT53_MODEL_ID = "gpt-5.3-codex";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { f as isRecord } from "./logger-
|
|
1
|
+
import { f as isRecord } from "./logger-Dj4IX2UB.js";
|
|
2
2
|
import "./paths-0d8fBoC4.js";
|
|
3
3
|
import { n as fetchWithTimeout } from "./fetch-timeout-CR10Uz2k.js";
|
|
4
|
-
import { t as makeProxyFetch } from "./proxy-fetch-
|
|
4
|
+
import { t as makeProxyFetch } from "./proxy-fetch-rtc8GmoB.js";
|
|
5
5
|
import "./proxy-BOZmkV9K.js";
|
|
6
6
|
|
|
7
7
|
//#region src/telegram/audit-membership-runtime.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { en as resolveRetryConfig, tn as retryAsync } from "./config-
|
|
2
|
-
import { O as createSubsystemLogger } from "./logger-
|
|
3
|
-
import { r as formatErrorMessage } from "./errors-
|
|
1
|
+
import { en as resolveRetryConfig, tn as retryAsync } from "./config-xkSrCec1.js";
|
|
2
|
+
import { O as createSubsystemLogger } from "./logger-Dj4IX2UB.js";
|
|
3
|
+
import { r as formatErrorMessage } from "./errors-Cn3JyiMn.js";
|
|
4
4
|
import { RateLimitError } from "@buape/carbon";
|
|
5
5
|
|
|
6
6
|
//#region src/infra/retry-policy.ts
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { $ as normalizeAgentId, J as buildAgentMainSessionKey, X as buildGroupHistoryKey, at as DEFAULT_ACCOUNT_ID, q as DEFAULT_MAIN_KEY } from "./run-with-concurrency-
|
|
2
|
-
import { Tr as formatCliCommand, n as loadConfig, ur as normalizeChatChannelId } from "./config-
|
|
3
|
-
import { C as sleep, G as getChildLogger, L as logVerbose, O as createSubsystemLogger, T as toWhatsappJid, h as normalizeE164, j as defaultRuntime, m as jidToE164, o as clamp, p as isSelfChatMode, v as resolveJidToE164, z as shouldLogVerbose } from "./logger-
|
|
4
|
-
import { i as resolveWhatsAppAccount, p as readWebSelfId, s as getWebAuthAgeMs } from "./accounts-
|
|
5
|
-
import { C as resolveChannelGroupRequireMention, S as resolveChannelGroupPolicy } from "./thinking-
|
|
6
|
-
import { A as shouldComputeCommandAuthorized, B as formatDurationPrecise, C as createInboundDebouncer, D as buildAgentSessionKey, E as createDedupeCache, G as resolveOpenProviderRuntimeGroupPolicy, H as finalizeInboundContext, I as resolveIdentityNamePrefix, K as warnMissingProviderGroupPolicyFallbackOnce, L as resolveMessagePrefix, O as resolveAgentRoute, R as buildMentionRegexes, T as formatInboundEnvelope, V as enqueueSystemEvent, W as resolveDefaultGroupPolicy, _ as resolveDmGroupAccessWithCommandGate, a as parseActivationCommand, b as shouldAckReactionForWhatsApp, c as computeBackoff, d as buildPairingReply, f as resolveMentionGating, g as readStoreAllowFromForDmPolicy, h as recordPendingHistoryEntryIfEnabled, i as normalizeGroupActivation, k as hasControlCommand, l as sleepWithAbort, m as buildHistoryContextFromEntries, p as DEFAULT_GROUP_HISTORY_LIMIT, s as resolveInboundSessionEnvelopeContext, t as getReplyFromConfig, u as createReplyPrefixOptions, v as resolveDmGroupAccessWithLists, w as resolveInboundDebounceMs, x as dispatchReplyWithBufferedBlockDispatcher, y as resolvePinnedMainDmOwnerFromAllowlist, z as normalizeMentionText } from "./reply-
|
|
7
|
-
import { _t as loadSessionStore, bt as updateLastRoute, in as resolveGroupSessionKey, yt as recordSessionMetaFromInbound } from "./pi-embedded-helpers-
|
|
8
|
-
import { s as resolveStorePath } from "./paths-
|
|
9
|
-
import { X as toLocationContext, Y as formatLocationText, et as readChannelAllowFromStoreSync, nt as upsertChannelPairingRequest } from "./send-
|
|
10
|
-
import { f as registerUnhandledRejectionHandler } from "./audio-transcription-runner-
|
|
11
|
-
import { i as saveMediaBuffer } from "./store-
|
|
12
|
-
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
13
|
-
import { a as loadWebMedia, d as chunkMarkdownTextWithMode, h as resolveTextChunkLimit, m as resolveChunkMode, s as resolveMarkdownTableMode } from "./ir-
|
|
14
|
-
import { n as recordChannelActivity } from "./channel-activity-
|
|
15
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
16
|
-
import { r as setActiveWebListener } from "./active-listener-
|
|
17
|
-
import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-
|
|
18
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
1
|
+
import { $ as normalizeAgentId, J as buildAgentMainSessionKey, X as buildGroupHistoryKey, at as DEFAULT_ACCOUNT_ID, q as DEFAULT_MAIN_KEY } from "./run-with-concurrency-KlQQobSI.js";
|
|
2
|
+
import { Tr as formatCliCommand, n as loadConfig, ur as normalizeChatChannelId } from "./config-xkSrCec1.js";
|
|
3
|
+
import { C as sleep, G as getChildLogger, L as logVerbose, O as createSubsystemLogger, T as toWhatsappJid, h as normalizeE164, j as defaultRuntime, m as jidToE164, o as clamp, p as isSelfChatMode, v as resolveJidToE164, z as shouldLogVerbose } from "./logger-Dj4IX2UB.js";
|
|
4
|
+
import { i as resolveWhatsAppAccount, p as readWebSelfId, s as getWebAuthAgeMs } from "./accounts-DAebrX4r.js";
|
|
5
|
+
import { C as resolveChannelGroupRequireMention, S as resolveChannelGroupPolicy } from "./thinking-CCdKzGau.js";
|
|
6
|
+
import { A as shouldComputeCommandAuthorized, B as formatDurationPrecise, C as createInboundDebouncer, D as buildAgentSessionKey, E as createDedupeCache, G as resolveOpenProviderRuntimeGroupPolicy, H as finalizeInboundContext, I as resolveIdentityNamePrefix, K as warnMissingProviderGroupPolicyFallbackOnce, L as resolveMessagePrefix, O as resolveAgentRoute, R as buildMentionRegexes, T as formatInboundEnvelope, V as enqueueSystemEvent, W as resolveDefaultGroupPolicy, _ as resolveDmGroupAccessWithCommandGate, a as parseActivationCommand, b as shouldAckReactionForWhatsApp, c as computeBackoff, d as buildPairingReply, f as resolveMentionGating, g as readStoreAllowFromForDmPolicy, h as recordPendingHistoryEntryIfEnabled, i as normalizeGroupActivation, k as hasControlCommand, l as sleepWithAbort, m as buildHistoryContextFromEntries, p as DEFAULT_GROUP_HISTORY_LIMIT, s as resolveInboundSessionEnvelopeContext, t as getReplyFromConfig, u as createReplyPrefixOptions, v as resolveDmGroupAccessWithLists, w as resolveInboundDebounceMs, x as dispatchReplyWithBufferedBlockDispatcher, y as resolvePinnedMainDmOwnerFromAllowlist, z as normalizeMentionText } from "./reply-RK8_OxAW.js";
|
|
7
|
+
import { _t as loadSessionStore, bt as updateLastRoute, in as resolveGroupSessionKey, yt as recordSessionMetaFromInbound } from "./pi-embedded-helpers-B_iabXhh.js";
|
|
8
|
+
import { s as resolveStorePath } from "./paths-Mew07RGP.js";
|
|
9
|
+
import { X as toLocationContext, Y as formatLocationText, et as readChannelAllowFromStoreSync, nt as upsertChannelPairingRequest } from "./send-D50Hdj7y.js";
|
|
10
|
+
import { f as registerUnhandledRejectionHandler } from "./audio-transcription-runner-Bfv_TVP4.js";
|
|
11
|
+
import { i as saveMediaBuffer } from "./store-DtdqEbDW.js";
|
|
12
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-Bh7FKHd2.js";
|
|
13
|
+
import { a as loadWebMedia, d as chunkMarkdownTextWithMode, h as resolveTextChunkLimit, m as resolveChunkMode, s as resolveMarkdownTableMode } from "./ir-DvWncgWp.js";
|
|
14
|
+
import { n as recordChannelActivity } from "./channel-activity-1LCR07HU.js";
|
|
15
|
+
import { t as convertMarkdownTables } from "./tables-D5d9mqkg.js";
|
|
16
|
+
import { r as setActiveWebListener } from "./active-listener-D7Jidx1U.js";
|
|
17
|
+
import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-IhJ6xLv1.js";
|
|
18
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-CDTFGpPr.js";
|
|
19
19
|
import { randomUUID } from "node:crypto";
|
|
20
20
|
import { DisconnectReason, downloadMediaMessage, extractMessageContent, getContentType, isJidGroup, normalizeMessageContent } from "@whiskeysockets/baileys";
|
|
21
21
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { R as isNotFoundPathError, z as isPathInside } from "./run-with-concurrency-
|
|
2
|
-
import { A as normalizeIpAddress, O as isLoopbackIpAddress, k as isPrivateOrLoopbackIpAddress, n as loadConfig } from "./config-
|
|
3
|
-
import { O as createSubsystemLogger, Y as resolvePreferredOpenClawTmpDir, a as CONFIG_DIR } from "./logger-
|
|
4
|
-
import { a as isErrno } from "./errors-
|
|
5
|
-
import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-
|
|
6
|
-
import { o as isPrivateNetworkAllowedByPolicy, s as resolvePinnedHostnameWithPolicy, t as hasProxyEnvConfigured } from "./proxy-env-
|
|
1
|
+
import { R as isNotFoundPathError, z as isPathInside } from "./run-with-concurrency-KlQQobSI.js";
|
|
2
|
+
import { A as normalizeIpAddress, O as isLoopbackIpAddress, k as isPrivateOrLoopbackIpAddress, n as loadConfig } from "./config-xkSrCec1.js";
|
|
3
|
+
import { O as createSubsystemLogger, Y as resolvePreferredOpenClawTmpDir, a as CONFIG_DIR } from "./logger-Dj4IX2UB.js";
|
|
4
|
+
import { a as isErrno } from "./errors-Cn3JyiMn.js";
|
|
5
|
+
import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-Bs9BHEmp.js";
|
|
6
|
+
import { o as isPrivateNetworkAllowedByPolicy, s as resolvePinnedHostnameWithPolicy, t as hasProxyEnvConfigured } from "./proxy-env-DKQK-fn1.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
import os from "node:os";
|