wednesdayai 0.4.12-dev.721 → 0.4.12-dev.722
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/{agent-scope-cbxkoURo.js → agent-scope-DxKPMu8w.js} +3 -3
- package/dist/{agent-turn-runner-CXf6g-6f.js → agent-turn-runner-LlrD6k2x.js} +5 -5
- package/dist/{api-key-rotation-BMnyfyGD.js → api-key-rotation-Br7_jaAV.js} +2 -2
- package/dist/{artifacts-DUhYSSmK.js → artifacts-QHme-vnS.js} +4 -4
- package/dist/{audio-preflight-ifCgpG3c.js → audio-preflight-B_5sTSyb.js} +27 -27
- package/dist/{audio-transcription-runner-ipSQoPp8.js → audio-transcription-runner-XFfvRPXl.js} +11 -11
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +58 -58
- package/dist/bundled/bootstrap-extra-files/handler.js +6 -6
- package/dist/bundled/command-logger/handler.js +2 -2
- package/dist/bundled/session-journal/handler.js +58 -58
- package/dist/bundled/session-memory/handler.js +58 -58
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-BJHm_pDV.js → channel-activity-DNq7LYjU.js} +3 -3
- package/dist/{chrome-DTJprCGv.js → chrome-FHxGdLnd.js} +15 -15
- package/dist/{chunk-eNEsWhab.js → chunk-BhntPUH_.js} +3 -3
- package/dist/{command-queue-smA8JaO_.js → command-queue-CkNuNlmY.js} +1 -1
- package/dist/{commands-registry-DdQg21ct.js → commands-registry-DC0fovy_.js} +2 -2
- package/dist/config.js +9 -9
- package/dist/daemon-cli.js +7 -7
- package/dist/{deliver-CVWbwPkb.js → deliver-CXqNQ8yi.js} +24 -24
- package/dist/{diagnostic-DI-K8155.js → diagnostic-Bbg-zObh.js} +5 -5
- package/dist/{fetch-BzXaK9px.js → fetch-BoHKSk-O.js} +8 -8
- package/dist/{fetch-guard-0mkjBgri.js → fetch-guard-TJjLK0FV.js} +3 -3
- package/dist/{frontmatter-PMByWrfP.js → frontmatter-saAwiKEb.js} +5 -5
- package/dist/{fs-safe-DwICJjkN.js → fs-safe-LRpYbPaA.js} +4 -4
- package/dist/{github-copilot-token-WSjo05vB.js → github-copilot-token-zGOMIGSh.js} +7 -7
- package/dist/{image-ops-O8pHxo7i.js → image-ops-D_fm2PuR.js} +1 -1
- package/dist/{ir-fzpdYPWw.js → ir-C4MMLUJr.js} +5 -5
- package/dist/{legacy-names-CLlrMq8r.js → legacy-names-vLJrYADD.js} +1 -1
- package/dist/llm-slug-generator.js +58 -58
- package/dist/{logger-DNehzD_s.js → logger-a0-zAY5a.js} +1 -1
- package/dist/{manager-DH-MILAU.js → manager-DdA_cy40.js} +12 -12
- package/dist/{markdown-tables-UWspJNAH.js → markdown-tables-Dd7jV1JF.js} +2 -2
- package/dist/{model-selection-9qbqwsOT.js → model-selection-CdZITU0t.js} +86 -86
- package/dist/{outbound-attachment-DVKqk30B.js → outbound-attachment-CqtMGpsJ.js} +2 -2
- package/dist/{outbound-message-hooks-S_VhlJs3.js → outbound-message-hooks-RBQbGzGm.js} +4 -4
- package/dist/{path-alias-guards-Cd5yHmTq.js → path-alias-guards-Zj-NwKjV.js} +1 -1
- package/dist/{paths-Cvc9EM8Y.js → paths-C6TxBCvO.js} +5 -5
- package/dist/{pi-embedded-maiK_yr9.js → pi-embedded-COs_yO7U.js} +169 -169
- package/dist/{pi-embedded-helpers-5JApWu7A.js → pi-embedded-helpers-BYLOFsUc.js} +24 -24
- package/dist/{pi-embedded-utils-kHMmP2Xh.js → pi-embedded-utils-DOtaZ7KV.js} +3 -3
- package/dist/{pi-model-discovery-CsC6yTDG.js → pi-model-discovery-B9KKtGuw.js} +7 -7
- package/dist/plugin-sdk/{agent-scope-BQYVQxfQ.js → agent-scope-DU8uJiiv.js} +2 -2
- package/dist/plugin-sdk/agent-turn-execute-DoRgVKVO.js +61 -0
- package/dist/plugin-sdk/{agent-turn-runner-CqIBwx4o.js → agent-turn-runner-pU0RGvg6.js} +6 -6
- package/dist/plugin-sdk/{api-key-rotation-BW3rq9Tg.js → api-key-rotation-Oe0hkmVQ.js} +2 -2
- package/dist/plugin-sdk/{artifacts-C8xK4Y3e.js → artifacts-Dk-7TtTn.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-BVO3xBbT.js → audio-preflight-8hRbl8Io.js} +22 -22
- package/dist/plugin-sdk/{audio-transcription-runner-DXiOiQMw.js → audio-transcription-runner-CUsZFiEA.js} +11 -11
- package/dist/plugin-sdk/{auth-profiles-CIKTWees.js → auth-profiles-OgKl-vr-.js} +5 -5
- package/dist/plugin-sdk/{channel-activity-Ck83U_es.js → channel-activity-OIauZrkN.js} +3 -3
- package/dist/plugin-sdk/{chrome-DDIL8pIX.js → chrome-VZ0Zuu2w.js} +12 -12
- package/dist/plugin-sdk/{chunk-D6yDhUpF.js → chunk-BWz-lIzS.js} +4 -4
- package/dist/plugin-sdk/{command-queue-Cveon04f.js → command-queue-CbgNIrv6.js} +2 -2
- package/dist/plugin-sdk/{commands-registry-DuwlD_aI.js → commands-registry-XW2hmbAE.js} +3 -3
- package/dist/plugin-sdk/{deliver-BD3gpFAY.js → deliver-B7W4NNsR.js} +11 -11
- package/dist/plugin-sdk/deliver-CJP9TznW.js +32 -0
- package/dist/plugin-sdk/{diagnostic-BhLorIrS.js → diagnostic-BRUM6uNI.js} +7 -7
- package/dist/plugin-sdk/{diagnostic-session-state-BjuWxrAM.js → diagnostic-session-state-BsHrQ7U3.js} +1 -1
- package/dist/plugin-sdk/{fetch-D1jXg-ju.js → fetch-C1vgNaXJ.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-DnwfMurj.js → fetch-guard-B2Wnl9Vi.js} +4 -4
- package/dist/plugin-sdk/{fetch-DFZXuu3W.js → fetch-hEreHolP.js} +7 -7
- package/dist/plugin-sdk/{fetch-timeout-D7XVWfxj.js → fetch-timeout-A1m6BOhm.js} +1 -1
- package/dist/plugin-sdk/{fs-safe-BQ5cHy9G.js → fs-safe-ClebEeLz.js} +3 -3
- package/dist/plugin-sdk/{image-ops-0TjWNKUx.js → image-ops-Bm03YsK2.js} +1 -1
- package/dist/plugin-sdk/{inbound-context-Bfr5DkdO.js → inbound-context-Cmgtf5my.js} +1 -1
- package/dist/plugin-sdk/{ir-CbL0sVL2.js → ir-1CthVxHv.js} +5 -5
- package/dist/plugin-sdk/{logger-D5s3kiib.js → logger-BkzoyfHW.js} +1 -1
- package/dist/plugin-sdk/{manager-CHBt3PC-.js → manager-C4CJpRd9.js} +8 -8
- package/dist/plugin-sdk/manager-CPcI0Fhz.js +16 -0
- package/dist/plugin-sdk/{markdown-tables-CBGsimjo.js → markdown-tables-DZM4NfLU.js} +3 -3
- package/dist/plugin-sdk/{outbound-attachment-C5x2htXW.js → outbound-attachment-GMgXpDQm.js} +2 -2
- package/dist/plugin-sdk/{outbound-message-hooks-2YmJP9k-.js → outbound-message-hooks-BUHUdpjM.js} +3 -3
- package/dist/plugin-sdk/{path-alias-guards-BIPHhakQ.js → path-alias-guards-Dft7g-_v.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-D74AHWBs.js → pi-embedded-helpers-B-OOYT64.js} +11 -11
- package/dist/plugin-sdk/{pi-embedded-utils-DQaOun1y.js → pi-embedded-utils-BoSGTbYO.js} +3 -3
- package/dist/plugin-sdk/{pi-model-discovery-C37z3zkx.js → pi-model-discovery-DF6l-F8s.js} +2 -2
- package/dist/plugin-sdk/provider-dispatcher-CNLIHg-v.js +61 -0
- package/dist/plugin-sdk/provider-image-L_SRDPHU.js +22 -0
- package/dist/plugin-sdk/{provider-image-Cy9HRMER.js → provider-image-zNa1Cccq.js} +5 -5
- package/dist/plugin-sdk/{proxy-CjNR_U3u.js → proxy-CXI1ycJj.js} +2 -2
- package/dist/plugin-sdk/{proxy-env-ubutfW07.js → proxy-env-B3rQCyUO.js} +2 -2
- package/dist/plugin-sdk/{proxy-fetch-Cv4b428x.js → proxy-fetch-CNBkczcW.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-DlM8D_uP.js → pw-ai-JJrE-B1e.js} +10 -10
- package/dist/plugin-sdk/{qmd-manager-Bv5B9pi9.js → qmd-manager-CkQhKIXI.js} +8 -8
- package/dist/plugin-sdk/{query-expansion-CWwH9pqd.js → query-expansion-DjZsVofz.js} +3 -3
- package/dist/plugin-sdk/{recorder-C3qdhG-p.js → recorder-BU_faNrp.js} +4 -4
- package/dist/{redact-BOHmCPP_.js → plugin-sdk/redact-CdcLrd0n.js} +1 -1
- package/dist/plugin-sdk/{registry-BXmLBUZj.js → registry-tm0HFWKN.js} +7 -7
- package/dist/plugin-sdk/replies-BFjGWAPs.js +25 -0
- package/dist/plugin-sdk/{replies-CjeAGcJx.js → replies-CS2GXrd-.js} +4 -4
- package/dist/plugin-sdk/{reply-directives-OuX5Mba_.js → reply-directives-hfOVgXpA.js} +2 -2
- package/dist/plugin-sdk/{reply-prefix-C83iSHUo.js → reply-prefix-BKQgC6Vj.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-BLBv69wV.js → resolve-route-tqQv32nr.js} +5 -5
- package/dist/plugin-sdk/runs-CPA1-H-2.js +25 -0
- package/dist/plugin-sdk/{runs-B4G4Txj3.js → runs-H2FY7UEk.js} +8 -8
- package/dist/plugin-sdk/{send-BwoWjRrJ.js → send-BMhuEEtY.js} +9 -9
- package/dist/plugin-sdk/{send-BUAw8fe4.js → send-BjR1QHnz.js} +7 -7
- package/dist/plugin-sdk/{send-B2Kip2qd.js → send-CEtGyK32.js} +8 -8
- package/dist/plugin-sdk/{send-Tg5PT6ci.js → send-CF3PEjRy.js} +14 -14
- package/dist/plugin-sdk/send-CRtSAH8I.js +25 -0
- package/dist/plugin-sdk/send-CzxwgKvR.js +27 -0
- package/dist/plugin-sdk/{send-D_2cxLLi.js → send-DUJMd2d7.js} +20 -20
- package/dist/plugin-sdk/{send-CfSEKKlU.js → send-DdPdUcD0.js} +6 -6
- package/dist/plugin-sdk/send-DuCB2xbl.js +23 -0
- package/dist/plugin-sdk/send-DyYaWr3E.js +24 -0
- package/dist/plugin-sdk/{session-meta-D3W538Wj.js → session-meta-oR-S9C5J.js} +3 -3
- package/dist/plugin-sdk/{skill-commands-ByVQek_m.js → skill-commands-Bh43SlDc.js} +6 -6
- package/dist/plugin-sdk/{skills-BGgry_YW.js → skills-CatBv8W4.js} +6 -6
- package/dist/plugin-sdk/{store-C6ZLKWUS.js → store-6JKvp2Zu.js} +2 -2
- package/dist/plugin-sdk/subagent-registry-CAdT47aY.js +61 -0
- package/dist/plugin-sdk/{subsystem-0F3fEqJW.js → subsystem-CchgWuXK.js} +4 -4
- package/dist/plugin-sdk/{tables-BCSRuiq_.js → tables-BPCP4CpE.js} +1 -1
- package/dist/plugin-sdk/testing.js +55 -55
- package/dist/plugin-sdk/{tokens-O0pGqOuf.js → tokens-Cioh8xR5.js} +1 -1
- package/dist/plugin-sdk/{tool-loop-detection-BG8uP1aD.js → tool-loop-detection-BN0lIxLx.js} +1 -1
- package/dist/plugin-sdk/{tools-Sk-IqHBP.js → tools-3raTfdu5.js} +102 -102
- package/dist/plugin-sdk/{user-run-recording-iS-qLIN9.js → user-run-recording-DlpzQk0X.js} +3 -3
- package/dist/{provider-image-Cb4z6zUu.js → provider-image-BllyLBJM.js} +5 -5
- package/dist/{proxy-env-i0jn5uxB.js → proxy-env-CzGKpJY_.js} +2 -2
- package/dist/{proxy-C9sq6M-h.js → proxy-fWL7CKDP.js} +1 -1
- package/dist/{proxy-fetch-CK5AQAYw.js → proxy-fetch-DCI0KuH6.js} +1 -1
- package/dist/{pw-ai-DziGw6Jy.js → pw-ai-CXSJw34w.js} +14 -14
- package/dist/{qmd-manager-p036XU01.js → qmd-manager-BwZ0V5fL.js} +10 -10
- package/dist/{query-expansion-30x7RlZY.js → query-expansion-31VWpPCz.js} +5 -5
- package/dist/{recorder-C_ViZLf1.js → recorder-DNRxe9C8.js} +4 -4
- package/dist/{plugin-sdk/redact-BEcZiZI1.js → redact-DZne_lu8.js} +1 -1
- package/dist/{replies-BsctLhfp.js → replies-NkETqb6B.js} +4 -4
- package/dist/{reply-directives-D9wYtPPy.js → reply-directives-DGITtNUL.js} +2 -2
- package/dist/{reply-prefix-C7WlN3qm.js → reply-prefix-DVkNDBNe.js} +1 -1
- package/dist/{resolve-route-BV8k5qjX.js → resolve-route-jDAjkfZE.js} +5 -5
- package/dist/{runs-ucQd8Fc-.js → runs-DGWNXyKA.js} +8 -8
- package/dist/{send-Tx-ew59_.js → send-CNLmncRW.js} +6 -6
- package/dist/{send-TscXeVY8.js → send-DEFcgo-1.js} +27 -27
- package/dist/{send-BGps2i_C.js → send-Do1AlhD5.js} +8 -8
- package/dist/{send-BiDcVZSc.js → send-Dq8ChBfS.js} +6 -6
- package/dist/{send-Ba3pDq6E.js → send-ENMm5qbW.js} +7 -7
- package/dist/{session-meta-DH__PMKt.js → session-meta-DuK_BrWT.js} +2 -2
- package/dist/{skill-commands-CRZajtK_.js → skill-commands-BhMQp_i8.js} +9 -9
- package/dist/{skills-DOc6uEd1.js → skills-ckuLxkyg.js} +21 -21
- package/dist/{store-xxN6qyAh.js → store-gQ6FSjVk.js} +2 -2
- package/dist/{subsystem-BCjklMkJ.js → subsystem-CPYnUTN4.js} +64 -64
- package/dist/{tables-o3ZpyPWV.js → tables-DEyD0zuy.js} +1 -1
- package/dist/{tokens-9Mla_HDp.js → tokens-9BPY4SaX.js} +1 -1
- package/dist/{tool-loop-detection-8uvf8mSd.js → tool-loop-detection-C1fqyXXD.js} +2 -2
- package/dist/{user-run-recording-CAk1Ketk.js → user-run-recording-B0XAAUwL.js} +2 -2
- package/dist/{workspace-Dbn4gFdH.js → workspace-B707AGIc.js} +9 -9
- package/extensions/acpx/package.json +1 -1
- package/extensions/anthropic/package.json +1 -1
- package/extensions/bifrost/package.json +1 -1
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/deepgram/package.json +1 -1
- package/extensions/deepinfra/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/diffs/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/dream-cycle/package.json +1 -1
- package/extensions/elevenlabs/package.json +1 -1
- package/extensions/elevenlabs/src/streaming-speech-provider-faults.test.ts +2 -2
- package/extensions/elevenlabs/src/streaming-speech-provider.test.ts +19 -5
- package/extensions/elevenlabs/src/streaming-speech-provider.ts +3 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/gemini-search/package.json +1 -1
- package/extensions/google/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/grok-search/package.json +1 -1
- package/extensions/groq/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/kimi-search/package.json +1 -1
- package/extensions/learning-core/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/lobster/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +1 -1
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/package.json +1 -1
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/mistral/package.json +1 -1
- package/extensions/moonshot/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +1 -1
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +1 -1
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/openai/package.json +1 -1
- package/extensions/openai-realtime/package.json +1 -1
- package/extensions/openrouter/package.json +1 -1
- package/extensions/perplexity-search/package.json +1 -1
- package/extensions/searxng-search/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/synology-chat/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +1 -1
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +1 -1
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zai/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +1 -1
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +1 -1
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
- package/dist/plugin-sdk/agent-turn-execute-BRJa_EBt.js +0 -61
- package/dist/plugin-sdk/deliver-DZoYhDxC.js +0 -32
- package/dist/plugin-sdk/manager-Bqpqu2GS.js +0 -16
- package/dist/plugin-sdk/provider-dispatcher-NB8R-FyS.js +0 -61
- package/dist/plugin-sdk/provider-image-g3vmjlkZ.js +0 -22
- package/dist/plugin-sdk/replies-0gHRQjbA.js +0 -25
- package/dist/plugin-sdk/runs-Dzlj-BO5.js +0 -25
- package/dist/plugin-sdk/send-COofA0BG.js +0 -23
- package/dist/plugin-sdk/send-DHNKlQPv.js +0 -27
- package/dist/plugin-sdk/send-NUHfC-G_.js +0 -25
- package/dist/plugin-sdk/send-Tm5-7bLz.js +0 -24
- package/dist/plugin-sdk/subagent-registry-B5xaoVWq.js +0 -61
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { b as __exportAll } from "./proxy-env-
|
|
2
|
-
import { Vn as loadConfig, bt as emitDiagnosticEvent } from "./registry-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { U as resolveAgentIdFromSessionKey } from "./agent-scope-
|
|
5
|
-
import { t as redactSensitiveText } from "./redact-
|
|
6
|
-
import { a as recordSessionChannelCorrelation, i as pruneDiagnosticSessionStates, o as recordTurnDuration, r as getDiagnosticSessionState, s as redactChannelCorrelation, t as diagnosticSessionStates } from "./diagnostic-session-state-
|
|
1
|
+
import { b as __exportAll } from "./proxy-env-B3rQCyUO.js";
|
|
2
|
+
import { Vn as loadConfig, bt as emitDiagnosticEvent } from "./registry-tm0HFWKN.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-CchgWuXK.js";
|
|
4
|
+
import { U as resolveAgentIdFromSessionKey } from "./agent-scope-DU8uJiiv.js";
|
|
5
|
+
import { t as redactSensitiveText } from "./redact-CdcLrd0n.js";
|
|
6
|
+
import { a as recordSessionChannelCorrelation, i as pruneDiagnosticSessionStates, o as recordTurnDuration, r as getDiagnosticSessionState, s as redactChannelCorrelation, t as diagnosticSessionStates } from "./diagnostic-session-state-BsHrQ7U3.js";
|
|
7
7
|
import { t as redactIdentifier } from "./redact-identifier-BN_ntAFs.js";
|
|
8
8
|
import { createHash } from "node:crypto";
|
|
9
9
|
|
|
@@ -836,7 +836,7 @@ function startDiagnosticHeartbeat(config) {
|
|
|
836
836
|
if (ageMs > stuckSessionAbortMs && state.queueDepth > 0 && !state.capturedEnd && !state.abortDispatched && state.sessionId) {
|
|
837
837
|
state.abortDispatched = true;
|
|
838
838
|
diag.warn(`stuck-session abort: sessionId=${state.sessionId} progressAge=${Math.round(ageMs / 1e3)}s threshold=${Math.round(stuckSessionAbortMs / 1e3)}s queueDepth=${state.queueDepth}`);
|
|
839
|
-
import("./runs-
|
|
839
|
+
import("./runs-CPA1-H-2.js").then(({ abortEmbeddedPiRun }) => {
|
|
840
840
|
if (state.sessionId && state.abortDispatched) abortEmbeddedPiRun(state.sessionId);
|
|
841
841
|
}).catch((err) => {
|
|
842
842
|
diag.warn(`stuck-session abort import failed: ${String(err)}`);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as resolvePinnedHostnameWithPolicy, d as closeDispatcher, f as createPinnedDispatcher, m as isPrivateIpAddress, t as hasProxyEnvConfigured, u as SsrFBlockedError } from "./proxy-env-
|
|
2
|
-
import { i as logWarn, r as logInfo } from "./logger-
|
|
3
|
-
import { t as bindAbortRelay } from "./fetch-timeout-
|
|
4
|
-
import { t as isNpmUndiciDispatchingFetch } from "./proxy-fetch-
|
|
1
|
+
import { _ as resolvePinnedHostnameWithPolicy, d as closeDispatcher, f as createPinnedDispatcher, m as isPrivateIpAddress, t as hasProxyEnvConfigured, u as SsrFBlockedError } from "./proxy-env-B3rQCyUO.js";
|
|
2
|
+
import { i as logWarn, r as logInfo } from "./logger-BkzoyfHW.js";
|
|
3
|
+
import { t as bindAbortRelay } from "./fetch-timeout-A1m6BOhm.js";
|
|
4
|
+
import { t as isNpmUndiciDispatchingFetch } from "./proxy-fetch-CNBkczcW.js";
|
|
5
5
|
import { EnvHttpProxyAgent, FormData, fetch } from "undici";
|
|
6
6
|
|
|
7
7
|
//#region src/infra/net/form-data.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { i as formatErrorChainMessage } from "./proxy-env-
|
|
2
|
-
import { Vn as loadConfig } from "./registry-
|
|
1
|
+
import { i as formatErrorChainMessage } from "./proxy-env-B3rQCyUO.js";
|
|
2
|
+
import { Vn as loadConfig } from "./registry-tm0HFWKN.js";
|
|
3
3
|
import { c as resolveStateDir } from "./paths-DnKvZ6zt.js";
|
|
4
|
-
import { mt as resolvePreferredOpenClawTmpDir } from "./subsystem-
|
|
5
|
-
import { s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
+
import { mt as resolvePreferredOpenClawTmpDir } from "./subsystem-CchgWuXK.js";
|
|
5
|
+
import { s as resolveAgentWorkspaceDir } from "./agent-scope-DU8uJiiv.js";
|
|
6
6
|
import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-DTYnjeA4.js";
|
|
7
|
-
import { c as detectMime, l as extensionForMime } from "./image-ops-
|
|
8
|
-
import { t as redactSensitiveText } from "./redact-
|
|
9
|
-
import { n as withStrictGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
7
|
+
import { c as detectMime, l as extensionForMime } from "./image-ops-Bm03YsK2.js";
|
|
8
|
+
import { t as redactSensitiveText } from "./redact-CdcLrd0n.js";
|
|
9
|
+
import { n as withStrictGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-B2Wnl9Vi.js";
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
|
|
12
12
|
//#region src/media/local-roots.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { l as expandHomePrefix } from "./paths-DnKvZ6zt.js";
|
|
2
|
-
import { $ as sameFileIdentity, at as isPathInside, it as isNotFoundPathError, ot as isSymlinkOpenError, rt as hasNodeErrorCode } from "./subsystem-
|
|
3
|
-
import { i as logWarn } from "./logger-
|
|
4
|
-
import { n as assertNoPathAliasEscape } from "./path-alias-guards-
|
|
2
|
+
import { $ as sameFileIdentity, at as isPathInside, it as isNotFoundPathError, ot as isSymlinkOpenError, rt as hasNodeErrorCode } from "./subsystem-CchgWuXK.js";
|
|
3
|
+
import { i as logWarn } from "./logger-BkzoyfHW.js";
|
|
4
|
+
import { n as assertNoPathAliasEscape } from "./path-alias-guards-Dft7g-_v.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { randomUUID } from "node:crypto";
|
|
7
7
|
import { constants } from "node:fs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as __exportAll } from "./proxy-env-
|
|
1
|
+
import { b as __exportAll } from "./proxy-env-B3rQCyUO.js";
|
|
2
2
|
import { n as normalizeChatType, t as resolveConversationLabel } from "./conversation-label-Byxk5Gak.js";
|
|
3
3
|
|
|
4
4
|
//#region src/auto-reply/reply/inbound-text.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { M as shouldLogVerbose, b as resolveUserPath, k as logVerbose } from "./subsystem-
|
|
2
|
-
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia } from "./fetch-
|
|
3
|
-
import { _ as maxBytesForKind, a as hasAlphaChannel, c as detectMime, l as extensionForMime, m as kindFromMime, o as optimizeImageToPng, r as convertHeicToJpeg, s as resizeToJpeg } from "./image-ops-
|
|
4
|
-
import { o as readLocalFileSafely, t as SafeOpenError } from "./fs-safe-
|
|
5
|
-
import { a as chunkText } from "./chunk-
|
|
1
|
+
import { M as shouldLogVerbose, b as resolveUserPath, k as logVerbose } from "./subsystem-CchgWuXK.js";
|
|
2
|
+
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia } from "./fetch-hEreHolP.js";
|
|
3
|
+
import { _ as maxBytesForKind, a as hasAlphaChannel, c as detectMime, l as extensionForMime, m as kindFromMime, o as optimizeImageToPng, r as convertHeicToJpeg, s as resizeToJpeg } from "./image-ops-Bm03YsK2.js";
|
|
4
|
+
import { o as readLocalFileSafely, t as SafeOpenError } from "./fs-safe-ClebEeLz.js";
|
|
5
|
+
import { a as chunkText } from "./chunk-BWz-lIzS.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import fs from "node:fs/promises";
|
|
8
8
|
import { fileURLToPath } from "node:url";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as logVerboseConsole, D as danger, N as warn, O as info, R as getLogger, o as defaultRuntime, t as createSubsystemLogger } from "./subsystem-
|
|
1
|
+
import { A as logVerboseConsole, D as danger, N as warn, O as info, R as getLogger, o as defaultRuntime, t as createSubsystemLogger } from "./subsystem-CchgWuXK.js";
|
|
2
2
|
|
|
3
3
|
//#region src/logger.ts
|
|
4
4
|
const subsystemPrefixRe = /^([a-z][a-z0-9-]{1,20}):\s+(.*)$/i;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { a as formatErrorMessage } from "./proxy-env-
|
|
2
|
-
import { Dr as retryAsync, Ir as requireApiKey, Ja as normalizeResolvedSecretInputString, Lr as resolveApiKeyForProvider, Rr as resolveEnvApiKey, Vn as loadConfig, Wa as normalizeOptionalSecretInput, at as onSessionTranscriptUpdate, ro as isTruthyEnvValue } from "./registry-
|
|
1
|
+
import { a as formatErrorMessage } from "./proxy-env-B3rQCyUO.js";
|
|
2
|
+
import { Dr as retryAsync, Ir as requireApiKey, Ja as normalizeResolvedSecretInputString, Lr as resolveApiKeyForProvider, Rr as resolveEnvApiKey, Vn as loadConfig, Wa as normalizeOptionalSecretInput, at as onSessionTranscriptUpdate, ro as isTruthyEnvValue } from "./registry-tm0HFWKN.js";
|
|
3
3
|
import { c as resolveStateDir } from "./paths-DnKvZ6zt.js";
|
|
4
|
-
import { E as truncateUtf16Safe, b as resolveUserPath, d as clampInt, f as clampNumber, t as createSubsystemLogger } from "./subsystem-
|
|
5
|
-
import { i as resolveAgentDir, r as resolveAgentConfig, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
6
|
-
import { d as resolveSessionTranscriptsDirForAgent } from "./artifacts-
|
|
4
|
+
import { E as truncateUtf16Safe, b as resolveUserPath, d as clampInt, f as clampNumber, t as createSubsystemLogger } from "./subsystem-CchgWuXK.js";
|
|
5
|
+
import { i as resolveAgentDir, r as resolveAgentConfig, s as resolveAgentWorkspaceDir } from "./agent-scope-DU8uJiiv.js";
|
|
6
|
+
import { d as resolveSessionTranscriptsDirForAgent } from "./artifacts-Dk-7TtTn.js";
|
|
7
7
|
import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-DTYnjeA4.js";
|
|
8
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
9
|
-
import { n as executeWithApiKeyRotation, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
10
|
-
import { _ as isFileMissingError, a as sessionPathForFile, c as cosineSimilarity, d as isMemoryPath, f as listMemoryFiles, g as runWithConcurrency, h as remapChunkLines, i as listSessionFilesForAgent, l as ensureDir, m as parseEmbedding, n as requireNodeSqlite, o as buildFileEntry, p as normalizeExtraMemoryPaths, r as buildSessionEntry, s as chunkMarkdown, t as extractKeywords, u as hashText, v as statRegularFile } from "./query-expansion-
|
|
8
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-B2Wnl9Vi.js";
|
|
9
|
+
import { n as executeWithApiKeyRotation, t as collectProviderApiKeysForExecution } from "./api-key-rotation-Oe0hkmVQ.js";
|
|
10
|
+
import { _ as isFileMissingError, a as sessionPathForFile, c as cosineSimilarity, d as isMemoryPath, f as listMemoryFiles, g as runWithConcurrency, h as remapChunkLines, i as listSessionFilesForAgent, l as ensureDir, m as parseEmbedding, n as requireNodeSqlite, o as buildFileEntry, p as normalizeExtraMemoryPaths, r as buildSessionEntry, s as chunkMarkdown, t as extractKeywords, u as hashText, v as statRegularFile } from "./query-expansion-DjZsVofz.js";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import { randomUUID } from "node:crypto";
|
|
13
13
|
import fs from "node:fs";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import "./proxy-env-B3rQCyUO.js";
|
|
2
|
+
import "./registry-tm0HFWKN.js";
|
|
3
|
+
import "./paths-DnKvZ6zt.js";
|
|
4
|
+
import "./subsystem-CchgWuXK.js";
|
|
5
|
+
import "./agent-scope-DU8uJiiv.js";
|
|
6
|
+
import "./logger-BkzoyfHW.js";
|
|
7
|
+
import "./github-copilot-token-CtAXGjCK.js";
|
|
8
|
+
import "./artifacts-Dk-7TtTn.js";
|
|
9
|
+
import "./redact-CdcLrd0n.js";
|
|
10
|
+
import "./fetch-guard-B2Wnl9Vi.js";
|
|
11
|
+
import "./proxy-fetch-CNBkczcW.js";
|
|
12
|
+
import "./api-key-rotation-Oe0hkmVQ.js";
|
|
13
|
+
import { t as MemoryIndexManager } from "./manager-C4CJpRd9.js";
|
|
14
|
+
import "./query-expansion-DjZsVofz.js";
|
|
15
|
+
|
|
16
|
+
export { MemoryIndexManager };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as __exportAll } from "./proxy-env-
|
|
2
|
-
import { bn as resolveAccountEntry, qt as normalizeChannelId } from "./registry-
|
|
3
|
-
import { Z as normalizeAccountId } from "./agent-scope-
|
|
1
|
+
import { b as __exportAll } from "./proxy-env-B3rQCyUO.js";
|
|
2
|
+
import { bn as resolveAccountEntry, qt as normalizeChannelId } from "./registry-tm0HFWKN.js";
|
|
3
|
+
import { Z as normalizeAccountId } from "./agent-scope-DU8uJiiv.js";
|
|
4
4
|
|
|
5
5
|
//#region src/config/markdown-tables.ts
|
|
6
6
|
var markdown_tables_exports = /* @__PURE__ */ __exportAll({ resolveMarkdownTableMode: () => resolveMarkdownTableMode });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as saveMediaBuffer } from "./store-
|
|
1
|
+
import { i as saveMediaBuffer } from "./store-6JKvp2Zu.js";
|
|
2
2
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-CdUD5EUN.js";
|
|
3
|
-
import { a as loadWebMedia } from "./ir-
|
|
3
|
+
import { a as loadWebMedia } from "./ir-1CthVxHv.js";
|
|
4
4
|
|
|
5
5
|
//#region src/media/outbound-attachment.ts
|
|
6
6
|
async function resolveOutboundAttachmentFromUrl(mediaUrl, maxBytes, options) {
|
package/dist/plugin-sdk/{outbound-message-hooks-2YmJP9k-.js → outbound-message-hooks-BUHUdpjM.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as getConfiguredSessionStorageRuntime, bt as emitDiagnosticEvent, ft as mergePromptContributions, h as getConversationReadQuery, m as triggerInternalHook, p as createInternalHookEvent } from "./registry-
|
|
2
|
-
import { k as logVerbose, t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { d as resolveSessionAgentId } from "./agent-scope-
|
|
1
|
+
import { _ as getConfiguredSessionStorageRuntime, bt as emitDiagnosticEvent, ft as mergePromptContributions, h as getConversationReadQuery, m as triggerInternalHook, p as createInternalHookEvent } from "./registry-tm0HFWKN.js";
|
|
2
|
+
import { k as logVerbose, t as createSubsystemLogger } from "./subsystem-CchgWuXK.js";
|
|
3
|
+
import { d as resolveSessionAgentId } from "./agent-scope-DU8uJiiv.js";
|
|
4
4
|
import { createHash } from "node:crypto";
|
|
5
5
|
|
|
6
6
|
//#region src/plugins/message-identity.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { et as BOUNDARY_PATH_ALIAS_POLICIES, it as isNotFoundPathError, tt as resolveBoundaryPath } from "./subsystem-
|
|
1
|
+
import { et as BOUNDARY_PATH_ALIAS_POLICIES, it as isNotFoundPathError, tt as resolveBoundaryPath } from "./subsystem-CchgWuXK.js";
|
|
2
2
|
import os from "node:os";
|
|
3
3
|
import fs from "node:fs/promises";
|
|
4
4
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { a as formatErrorMessage, r as extractErrorCode, u as SsrFBlockedError } from "./proxy-env-
|
|
2
|
-
import { Bn as createConfigIO, Bt as canonicalizeMainSessionAlias, K as writeJsonAtomic, Ni as getBlockedNetworkModeReason, Rn as acquireSessionWriteLock, Si as secretRefKey, Vn as loadConfig, Vt as resolveAgentMainSessionKey, Wn as writeConfigFile, Ya as resolveSecretInputRef, Yr as resolveSecretRefValues, ei as formatCliCommand, io as parseBooleanValue, pa as CHANNEL_IDS } from "./registry-
|
|
1
|
+
import { a as formatErrorMessage, r as extractErrorCode, u as SsrFBlockedError } from "./proxy-env-B3rQCyUO.js";
|
|
2
|
+
import { Bn as createConfigIO, Bt as canonicalizeMainSessionAlias, K as writeJsonAtomic, Ni as getBlockedNetworkModeReason, Rn as acquireSessionWriteLock, Si as secretRefKey, Vn as loadConfig, Vt as resolveAgentMainSessionKey, Wn as writeConfigFile, Ya as resolveSecretInputRef, Yr as resolveSecretRefValues, ei as formatCliCommand, io as parseBooleanValue, pa as CHANNEL_IDS } from "./registry-tm0HFWKN.js";
|
|
3
3
|
import { a as resolveGatewayPort, n as STATE_DIR } from "./paths-DnKvZ6zt.js";
|
|
4
|
-
import { E as truncateUtf16Safe, Z as openBoundaryFile, b as resolveUserPath, nt as resolvePathViaExistingAncestorSync, o as defaultRuntime, t as createSubsystemLogger } from "./subsystem-
|
|
5
|
-
import { D as runExec, U as resolveAgentIdFromSessionKey, V as normalizeAgentId, _ as DEFAULT_IDENTITY_FILENAME, b as DEFAULT_USER_FILENAME, d as resolveSessionAgentId, g as DEFAULT_HEARTBEAT_FILENAME, h as DEFAULT_BOOTSTRAP_FILENAME, m as DEFAULT_AGENT_WORKSPACE_DIR, p as DEFAULT_AGENTS_FILENAME, r as resolveAgentConfig, v as DEFAULT_SOUL_FILENAME, x as ensureAgentWorkspace, y as DEFAULT_TOOLS_FILENAME } from "./agent-scope-
|
|
4
|
+
import { E as truncateUtf16Safe, Z as openBoundaryFile, b as resolveUserPath, nt as resolvePathViaExistingAncestorSync, o as defaultRuntime, t as createSubsystemLogger } from "./subsystem-CchgWuXK.js";
|
|
5
|
+
import { D as runExec, U as resolveAgentIdFromSessionKey, V as normalizeAgentId, _ as DEFAULT_IDENTITY_FILENAME, b as DEFAULT_USER_FILENAME, d as resolveSessionAgentId, g as DEFAULT_HEARTBEAT_FILENAME, h as DEFAULT_BOOTSTRAP_FILENAME, m as DEFAULT_AGENT_WORKSPACE_DIR, p as DEFAULT_AGENTS_FILENAME, r as resolveAgentConfig, v as DEFAULT_SOUL_FILENAME, x as ensureAgentWorkspace, y as DEFAULT_TOOLS_FILENAME } from "./agent-scope-DU8uJiiv.js";
|
|
6
6
|
import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-DTYnjeA4.js";
|
|
7
|
-
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-
|
|
8
|
-
import { C as ensureChromeExtensionRelayServer, D as PROFILE_POST_RESTART_WS_TIMEOUT_MS, E as PROFILE_ATTACH_RETRY_TIMEOUT_MS, G as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, H as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, I as resolveWritablePathWithinRoot, J as DEFAULT_OPENCLAW_BROWSER_ENABLED, K as DEFAULT_BROWSER_EVALUATE_ENABLED, 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_EFFICIENT_MAX_CHARS, W as DEFAULT_AI_SNAPSHOT_MAX_CHARS, Y as DEFAULT_OPENCLAW_BROWSER_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_COLOR, r as isChromeReachable, u as createTargetViaCdp, v as appendCdpPath, w as stopChromeExtensionRelayServer, y as fetchJson, z as isLoopbackHost } from "./chrome-
|
|
9
|
-
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-
|
|
10
|
-
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-
|
|
11
|
-
import { i as saveMediaBuffer, n as ensureMediaDir } from "./store-
|
|
7
|
+
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-Bm03YsK2.js";
|
|
8
|
+
import { C as ensureChromeExtensionRelayServer, D as PROFILE_POST_RESTART_WS_TIMEOUT_MS, E as PROFILE_ATTACH_RETRY_TIMEOUT_MS, G as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, H as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, I as resolveWritablePathWithinRoot, J as DEFAULT_OPENCLAW_BROWSER_ENABLED, K as DEFAULT_BROWSER_EVALUATE_ENABLED, 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_EFFICIENT_MAX_CHARS, W as DEFAULT_AI_SNAPSHOT_MAX_CHARS, Y as DEFAULT_OPENCLAW_BROWSER_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_COLOR, r as isChromeReachable, u as createTargetViaCdp, v as appendCdpPath, w as stopChromeExtensionRelayServer, y as fetchJson, z as isLoopbackHost } from "./chrome-VZ0Zuu2w.js";
|
|
9
|
+
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-CatBv8W4.js";
|
|
10
|
+
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-Dft7g-_v.js";
|
|
11
|
+
import { i as saveMediaBuffer, n as ensureMediaDir } from "./store-6JKvp2Zu.js";
|
|
12
12
|
import { t as generateSecureToken } from "./secure-random-B2UrD2xa.js";
|
|
13
13
|
import { n as resolveWindowsSpawnProgram, t as materializeWindowsSpawnProgram } from "./windows-spawn-CjNYeBcQ.js";
|
|
14
14
|
import { o as normalizeThinkLevel } from "./thinking-CwmtMy_H.js";
|
|
@@ -1279,7 +1279,7 @@ function isModuleNotFoundError(err) {
|
|
|
1279
1279
|
}
|
|
1280
1280
|
async function loadPwAiModule(mode) {
|
|
1281
1281
|
try {
|
|
1282
|
-
return await import("./pw-ai-
|
|
1282
|
+
return await import("./pw-ai-JJrE-B1e.js");
|
|
1283
1283
|
} catch (err) {
|
|
1284
1284
|
if (mode === "soft") return null;
|
|
1285
1285
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -3644,7 +3644,7 @@ function createProfileAvailability({ opts, profile, state, getProfileState, setP
|
|
|
3644
3644
|
//#region src/browser/server-context.reset.ts
|
|
3645
3645
|
async function closePlaywrightBrowserConnection() {
|
|
3646
3646
|
try {
|
|
3647
|
-
await (await import("./pw-ai-
|
|
3647
|
+
await (await import("./pw-ai-JJrE-B1e.js")).closePlaywrightBrowserConnection();
|
|
3648
3648
|
} catch {}
|
|
3649
3649
|
}
|
|
3650
3650
|
function createProfileResetOps({ profile, getProfileState, stopRunningBrowser, isHttpReachable, resolveOpenClawUserDataDir }) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { S as shortenHomeInString } from "./subsystem-
|
|
2
|
-
import { R as sanitizeUserFacingText } from "./pi-embedded-helpers-
|
|
3
|
-
import { n as redactToolDetail } from "./redact-
|
|
1
|
+
import { S as shortenHomeInString } from "./subsystem-CchgWuXK.js";
|
|
2
|
+
import { R as sanitizeUserFacingText } from "./pi-embedded-helpers-B-OOYT64.js";
|
|
3
|
+
import { n as redactToolDetail } from "./redact-CdcLrd0n.js";
|
|
4
4
|
|
|
5
5
|
//#region src/shared/chat-content.ts
|
|
6
6
|
function extractTextFromChatContent(content, opts) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as __exportAll } from "./proxy-env-
|
|
2
|
-
import { Ra as ensureAuthProfileStore, mr as normalizeProviderId } from "./registry-
|
|
1
|
+
import { b as __exportAll } from "./proxy-env-B3rQCyUO.js";
|
|
2
|
+
import { Ra as ensureAuthProfileStore, mr as normalizeProviderId } from "./registry-tm0HFWKN.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import * as PiCodingAgent from "@mariozechner/pi-coding-agent";
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import "./proxy-env-B3rQCyUO.js";
|
|
2
|
+
import "./registry-tm0HFWKN.js";
|
|
3
|
+
import "./paths-DnKvZ6zt.js";
|
|
4
|
+
import "./subsystem-CchgWuXK.js";
|
|
5
|
+
import "./agent-scope-DU8uJiiv.js";
|
|
6
|
+
import "./logger-BkzoyfHW.js";
|
|
7
|
+
import "./github-copilot-token-CtAXGjCK.js";
|
|
8
|
+
import "./artifacts-Dk-7TtTn.js";
|
|
9
|
+
import "./send-BjR1QHnz.js";
|
|
10
|
+
import "./send-BMhuEEtY.js";
|
|
11
|
+
import { i as dispatchReplyWithDispatcher, r as dispatchReplyWithBufferedBlockDispatcher } from "./tools-3raTfdu5.js";
|
|
12
|
+
import "./agent-turn-runner-pU0RGvg6.js";
|
|
13
|
+
import "./pi-embedded-helpers-B-OOYT64.js";
|
|
14
|
+
import "./outbound-message-hooks-BUHUdpjM.js";
|
|
15
|
+
import "./provider-image-zNa1Cccq.js";
|
|
16
|
+
import "./audio-transcription-runner-CUsZFiEA.js";
|
|
17
|
+
import "./fetch-hEreHolP.js";
|
|
18
|
+
import "./image-ops-Bm03YsK2.js";
|
|
19
|
+
import "./redact-CdcLrd0n.js";
|
|
20
|
+
import "./fetch-guard-B2Wnl9Vi.js";
|
|
21
|
+
import "./proxy-fetch-CNBkczcW.js";
|
|
22
|
+
import "./api-key-rotation-Oe0hkmVQ.js";
|
|
23
|
+
import "./pi-model-discovery-DF6l-F8s.js";
|
|
24
|
+
import "./pi-embedded-utils-BoSGTbYO.js";
|
|
25
|
+
import "./chrome-VZ0Zuu2w.js";
|
|
26
|
+
import "./skills-CatBv8W4.js";
|
|
27
|
+
import "./path-alias-guards-Dft7g-_v.js";
|
|
28
|
+
import "./fs-safe-ClebEeLz.js";
|
|
29
|
+
import "./store-6JKvp2Zu.js";
|
|
30
|
+
import "./thinking-CwmtMy_H.js";
|
|
31
|
+
import "./send-CF3PEjRy.js";
|
|
32
|
+
import "./tokens-Cioh8xR5.js";
|
|
33
|
+
import "./diagnostic-BRUM6uNI.js";
|
|
34
|
+
import "./diagnostic-session-state-BsHrQ7U3.js";
|
|
35
|
+
import "./command-queue-CbgNIrv6.js";
|
|
36
|
+
import "./skill-commands-Bh43SlDc.js";
|
|
37
|
+
import "./runs-H2FY7UEk.js";
|
|
38
|
+
import "./reply-prefix-BKQgC6Vj.js";
|
|
39
|
+
import "./deliver-B7W4NNsR.js";
|
|
40
|
+
import "./recorder-BU_faNrp.js";
|
|
41
|
+
import "./commands-registry-XW2hmbAE.js";
|
|
42
|
+
import "./fetch-C1vgNaXJ.js";
|
|
43
|
+
import "./channel-activity-OIauZrkN.js";
|
|
44
|
+
import "./ir-1CthVxHv.js";
|
|
45
|
+
import "./chunk-BWz-lIzS.js";
|
|
46
|
+
import "./markdown-tables-DZM4NfLU.js";
|
|
47
|
+
import "./render-DXuDCig7.js";
|
|
48
|
+
import "./tables-BPCP4CpE.js";
|
|
49
|
+
import "./user-run-recording-DlpzQk0X.js";
|
|
50
|
+
import "./reply-directives-hfOVgXpA.js";
|
|
51
|
+
import "./send-CEtGyK32.js";
|
|
52
|
+
import "./outbound-attachment-GMgXpDQm.js";
|
|
53
|
+
import "./send-DdPdUcD0.js";
|
|
54
|
+
import "./resolve-route-tqQv32nr.js";
|
|
55
|
+
import "./proxy-CXI1ycJj.js";
|
|
56
|
+
import "./replies-CS2GXrd-.js";
|
|
57
|
+
import "./session-meta-oR-S9C5J.js";
|
|
58
|
+
import "./manager-C4CJpRd9.js";
|
|
59
|
+
import "./query-expansion-DjZsVofz.js";
|
|
60
|
+
|
|
61
|
+
export { dispatchReplyWithBufferedBlockDispatcher, dispatchReplyWithDispatcher };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import "./proxy-env-B3rQCyUO.js";
|
|
2
|
+
import "./registry-tm0HFWKN.js";
|
|
3
|
+
import "./paths-DnKvZ6zt.js";
|
|
4
|
+
import "./subsystem-CchgWuXK.js";
|
|
5
|
+
import "./agent-scope-DU8uJiiv.js";
|
|
6
|
+
import "./logger-BkzoyfHW.js";
|
|
7
|
+
import "./github-copilot-token-CtAXGjCK.js";
|
|
8
|
+
import "./artifacts-Dk-7TtTn.js";
|
|
9
|
+
import "./pi-embedded-helpers-B-OOYT64.js";
|
|
10
|
+
import { t as describeImageWithModel } from "./provider-image-zNa1Cccq.js";
|
|
11
|
+
import "./image-ops-Bm03YsK2.js";
|
|
12
|
+
import "./redact-CdcLrd0n.js";
|
|
13
|
+
import "./pi-model-discovery-DF6l-F8s.js";
|
|
14
|
+
import "./pi-embedded-utils-BoSGTbYO.js";
|
|
15
|
+
import "./chrome-VZ0Zuu2w.js";
|
|
16
|
+
import "./skills-CatBv8W4.js";
|
|
17
|
+
import "./path-alias-guards-Dft7g-_v.js";
|
|
18
|
+
import "./fs-safe-ClebEeLz.js";
|
|
19
|
+
import "./store-6JKvp2Zu.js";
|
|
20
|
+
import "./thinking-CwmtMy_H.js";
|
|
21
|
+
|
|
22
|
+
export { describeImageWithModel };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Cr as resolveImplicitBedrockProvider, Ga as normalizeSecretInput, Ir as requireApiKey, Pr as getApiKeyForModel, Sr as normalizeProviders, Tr as resolveImplicitProviders, Va as resolveOpenClawAgentDir, Vn as loadConfig, wr as resolveImplicitCopilotProvider } from "./registry-
|
|
2
|
-
import { ct as applyConfigEnvVars, g as isRecord } from "./subsystem-
|
|
3
|
-
import { A as resolveAgentModelFallbackValues, j as resolveAgentModelPrimaryValue } from "./agent-scope-
|
|
4
|
-
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-
|
|
5
|
-
import { t as extractAssistantText } from "./pi-embedded-utils-
|
|
1
|
+
import { Cr as resolveImplicitBedrockProvider, Ga as normalizeSecretInput, Ir as requireApiKey, Pr as getApiKeyForModel, Sr as normalizeProviders, Tr as resolveImplicitProviders, Va as resolveOpenClawAgentDir, Vn as loadConfig, wr as resolveImplicitCopilotProvider } from "./registry-tm0HFWKN.js";
|
|
2
|
+
import { ct as applyConfigEnvVars, g as isRecord } from "./subsystem-CchgWuXK.js";
|
|
3
|
+
import { A as resolveAgentModelFallbackValues, j as resolveAgentModelPrimaryValue } from "./agent-scope-DU8uJiiv.js";
|
|
4
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DF6l-F8s.js";
|
|
5
|
+
import { t as extractAssistantText } from "./pi-embedded-utils-BoSGTbYO.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import fs from "node:fs/promises";
|
|
8
8
|
import { complete } from "@mariozechner/pi-ai";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as __exportAll } from "./proxy-env-
|
|
2
|
-
import { n as makeManagedProxyFetch, r as makeProxyFetch } from "./proxy-fetch-
|
|
1
|
+
import { b as __exportAll } from "./proxy-env-B3rQCyUO.js";
|
|
2
|
+
import { n as makeManagedProxyFetch, r as makeProxyFetch } from "./proxy-fetch-CNBkczcW.js";
|
|
3
3
|
|
|
4
4
|
//#region src/telegram/proxy.ts
|
|
5
5
|
var proxy_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Fi as extractEmbeddedIpv4FromIpv6, Hi as isLegacyIpv4Literal, Ii as ipMatchesAnyCidr, Ki as parseCanonicalIpAddress, Li as isBlockedSpecialUseIpv4Address, Ri as isBlockedSpecialUseIpv6Address, Vi as isIpv4Address, qi as parseLooseIpAddress, zi as isCanonicalDottedDecimalIPv4 } from "./registry-
|
|
2
|
-
import { t as redactSensitiveText } from "./redact-
|
|
1
|
+
import { Fi as extractEmbeddedIpv4FromIpv6, Hi as isLegacyIpv4Literal, Ii as ipMatchesAnyCidr, Ki as parseCanonicalIpAddress, Li as isBlockedSpecialUseIpv4Address, Ri as isBlockedSpecialUseIpv6Address, Vi as isIpv4Address, qi as parseLooseIpAddress, zi as isCanonicalDottedDecimalIPv4 } from "./registry-tm0HFWKN.js";
|
|
2
|
+
import { t as redactSensitiveText } from "./redact-CdcLrd0n.js";
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
import { lookup } from "node:dns";
|
|
5
5
|
import { lookup as lookup$1 } from "node:dns/promises";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { a as formatErrorMessage } from "./proxy-env-
|
|
2
|
-
import { ei as formatCliCommand } from "./registry-
|
|
1
|
+
import { a as formatErrorMessage } from "./proxy-env-B3rQCyUO.js";
|
|
2
|
+
import { ei as formatCliCommand } from "./registry-tm0HFWKN.js";
|
|
3
3
|
import "./paths-DnKvZ6zt.js";
|
|
4
|
-
import { mt as resolvePreferredOpenClawTmpDir } from "./subsystem-
|
|
5
|
-
import "./agent-scope-
|
|
6
|
-
import "./logger-
|
|
4
|
+
import { mt as resolvePreferredOpenClawTmpDir } from "./subsystem-CchgWuXK.js";
|
|
5
|
+
import "./agent-scope-DU8uJiiv.js";
|
|
6
|
+
import "./logger-BkzoyfHW.js";
|
|
7
7
|
import "./github-copilot-token-CtAXGjCK.js";
|
|
8
|
-
import "./artifacts-
|
|
9
|
-
import "./redact-
|
|
10
|
-
import { F as resolveStrictExistingPathsWithinRoot, L as DEFAULT_FILL_FIELD_TYPE, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, S as withCdpSocket, _ as withBrowserNavigationPolicy, d as formatAriaSnapshot, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, j as DEFAULT_DOWNLOAD_DIR, k as withNoProxyForCdpUrl, t as getChromeWebSocketUrl, v as appendCdpPath, x as getHeadersWithAuth, y as fetchJson } from "./chrome-
|
|
11
|
-
import "./path-alias-guards-
|
|
12
|
-
import { s as writeFileFromPathWithinRoot } from "./fs-safe-
|
|
8
|
+
import "./artifacts-Dk-7TtTn.js";
|
|
9
|
+
import "./redact-CdcLrd0n.js";
|
|
10
|
+
import { F as resolveStrictExistingPathsWithinRoot, L as DEFAULT_FILL_FIELD_TYPE, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, S as withCdpSocket, _ as withBrowserNavigationPolicy, d as formatAriaSnapshot, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, j as DEFAULT_DOWNLOAD_DIR, k as withNoProxyForCdpUrl, t as getChromeWebSocketUrl, v as appendCdpPath, x as getHeadersWithAuth, y as fetchJson } from "./chrome-VZ0Zuu2w.js";
|
|
11
|
+
import "./path-alias-guards-Dft7g-_v.js";
|
|
12
|
+
import { s as writeFileFromPathWithinRoot } from "./fs-safe-ClebEeLz.js";
|
|
13
13
|
import path from "node:path";
|
|
14
14
|
import crypto from "node:crypto";
|
|
15
15
|
import fs from "node:fs/promises";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { c as resolveStateDir } from "./paths-DnKvZ6zt.js";
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { at as parseAgentSessionKey, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
-
import "./logger-
|
|
5
|
-
import "./artifacts-
|
|
6
|
-
import "./redact-
|
|
7
|
-
import "./path-alias-guards-
|
|
8
|
-
import { c as writeFileWithinRoot } from "./fs-safe-
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-CchgWuXK.js";
|
|
3
|
+
import { at as parseAgentSessionKey, s as resolveAgentWorkspaceDir } from "./agent-scope-DU8uJiiv.js";
|
|
4
|
+
import "./logger-BkzoyfHW.js";
|
|
5
|
+
import "./artifacts-Dk-7TtTn.js";
|
|
6
|
+
import "./redact-CdcLrd0n.js";
|
|
7
|
+
import "./path-alias-guards-Dft7g-_v.js";
|
|
8
|
+
import { c as writeFileWithinRoot } from "./fs-safe-ClebEeLz.js";
|
|
9
9
|
import { n as resolveWindowsSpawnProgram, t as materializeWindowsSpawnProgram } from "./windows-spawn-CjNYeBcQ.js";
|
|
10
|
-
import { _ as isFileMissingError, i as listSessionFilesForAgent, n as requireNodeSqlite, r as buildSessionEntry, t as extractKeywords, v as statRegularFile } from "./query-expansion-
|
|
10
|
+
import { _ as isFileMissingError, i as listSessionFilesForAgent, n as requireNodeSqlite, r as buildSessionEntry, t as extractKeywords, v as statRegularFile } from "./query-expansion-DjZsVofz.js";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import os from "node:os";
|
|
13
13
|
import fs from "node:fs/promises";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { d as resolveSessionTranscriptsDirForAgent, n as isPrimarySessionTranscriptFileName, p as runTasksWithConcurrency } from "./artifacts-
|
|
3
|
-
import { t as redactSensitiveText } from "./redact-
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-CchgWuXK.js";
|
|
2
|
+
import { d as resolveSessionTranscriptsDirForAgent, n as isPrimarySessionTranscriptFileName, p as runTasksWithConcurrency } from "./artifacts-Dk-7TtTn.js";
|
|
3
|
+
import { t as redactSensitiveText } from "./redact-CdcLrd0n.js";
|
|
4
4
|
import { createRequire } from "node:module";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import crypto from "node:crypto";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Ot as createJsonlSessionRunStore, _ as getConfiguredSessionStorageRuntime, bt as emitDiagnosticEvent, ct as instrumentSessionRunsForRunInvalidation } from "./registry-
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { N as DEFAULT_AGENT_ID } from "./agent-scope-
|
|
4
|
-
import { a as resolveDefaultSessionRunStorePath } from "./artifacts-
|
|
1
|
+
import { Ot as createJsonlSessionRunStore, _ as getConfiguredSessionStorageRuntime, bt as emitDiagnosticEvent, ct as instrumentSessionRunsForRunInvalidation } from "./registry-tm0HFWKN.js";
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-CchgWuXK.js";
|
|
3
|
+
import { N as DEFAULT_AGENT_ID } from "./agent-scope-DU8uJiiv.js";
|
|
4
|
+
import { a as resolveDefaultSessionRunStorePath } from "./artifacts-Dk-7TtTn.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { createHash, randomUUID } from "node:crypto";
|
|
7
7
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { c as resolveStateDir, d as resolveRequiredHomeDir, i as resolveDefaultConfigCandidates, l as expandHomePrefix, o as resolveOAuthDir, r as resolveConfigPath, s as resolveOAuthPath, t as DEFAULT_GATEWAY_PORT } from "./paths-DnKvZ6zt.js";
|
|
2
|
-
import { G as INCLUDE_KEY, J as isBlockedObjectKey, K as readConfigIncludeFileWithGuards, L as getChildLogger, Q as openBoundaryFileSync, U as normalizeConfigPaths, V as createFileLogWriter, W as ConfigIncludeError, Y as isPathInside$2, _ as normalizeE164, at as isPathInside$1, b as resolveUserPath, ct as applyConfigEnvVars, dt as MissingEnvVarError, ft as containsEnvVarReference, g as isRecord$3, k as logVerbose, n as stripAnsi, pt as resolveConfigEnvVars, q as resolveConfigIncludes, t as createSubsystemLogger, ut as sanitizeHostExecEnv, w as sleep, y as resolveConfigDir } from "./subsystem-
|
|
2
|
+
import { G as INCLUDE_KEY, J as isBlockedObjectKey, K as readConfigIncludeFileWithGuards, L as getChildLogger, Q as openBoundaryFileSync, U as normalizeConfigPaths, V as createFileLogWriter, W as ConfigIncludeError, Y as isPathInside$2, _ as normalizeE164, at as isPathInside$1, b as resolveUserPath, ct as applyConfigEnvVars, dt as MissingEnvVarError, ft as containsEnvVarReference, g as isRecord$3, k as logVerbose, n as stripAnsi, pt as resolveConfigEnvVars, q as resolveConfigIncludes, t as createSubsystemLogger, ut as sanitizeHostExecEnv, w as sleep, y as resolveConfigDir } from "./subsystem-CchgWuXK.js";
|
|
3
3
|
import { t as isPlainObject$2 } from "./plain-object-CLm2c5Nu.js";
|
|
4
|
-
import { D as runExec, F as buildAgentMainSessionKey, H as normalizeMainKey, M as toAgentModelListLike, N as DEFAULT_AGENT_ID, Q as normalizeOptionalAccountId, R as expandIdentityLinksToMatchKeys, V as normalizeAgentId, X as DEFAULT_ACCOUNT_ID, Z as normalizeAccountId$1, a as resolveAgentEffectiveModelPrimary, at as parseAgentSessionKey, c as resolveDefaultAgentId, j as resolveAgentModelPrimaryValue, r as resolveAgentConfig, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
+
import { D as runExec, F as buildAgentMainSessionKey, H as normalizeMainKey, M as toAgentModelListLike, N as DEFAULT_AGENT_ID, Q as normalizeOptionalAccountId, R as expandIdentityLinksToMatchKeys, V as normalizeAgentId, X as DEFAULT_ACCOUNT_ID, Z as normalizeAccountId$1, a as resolveAgentEffectiveModelPrimary, at as parseAgentSessionKey, c as resolveDefaultAgentId, j as resolveAgentModelPrimaryValue, r as resolveAgentConfig, s as resolveAgentWorkspaceDir } from "./agent-scope-DU8uJiiv.js";
|
|
5
5
|
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-CtAXGjCK.js";
|
|
6
|
-
import { f as resolveStorePath, i as parseSessionArchiveTimestamp, l as resolveSessionTranscriptPath, n as isPrimarySessionTranscriptFileName, o as resolveDefaultSessionStorePath, p as runTasksWithConcurrency, r as isSessionArchiveArtifactName, s as resolveSessionFilePath, t as formatSessionArchiveTimestamp, u as resolveSessionTranscriptPathInDir } from "./artifacts-
|
|
6
|
+
import { f as resolveStorePath, i as parseSessionArchiveTimestamp, l as resolveSessionTranscriptPath, n as isPrimarySessionTranscriptFileName, o as resolveDefaultSessionStorePath, p as runTasksWithConcurrency, r as isSessionArchiveArtifactName, s as resolveSessionFilePath, t as formatSessionArchiveTimestamp, u as resolveSessionTranscriptPathInDir } from "./artifacts-Dk-7TtTn.js";
|
|
7
7
|
import { n as normalizeChatType, t as resolveConversationLabel } from "./conversation-label-Byxk5Gak.js";
|
|
8
8
|
import { createRequire } from "node:module";
|
|
9
9
|
import path, { join } from "node:path";
|
|
@@ -12,7 +12,7 @@ import { Type } from "@sinclair/typebox";
|
|
|
12
12
|
import fs from "node:fs";
|
|
13
13
|
import os, { userInfo } from "node:os";
|
|
14
14
|
import util, { isDeepStrictEqual } from "node:util";
|
|
15
|
-
import
|
|
15
|
+
import json5 from "json5";
|
|
16
16
|
import dotenv from "dotenv";
|
|
17
17
|
import fs$1, { appendFile, chmod, mkdir, open, readFile, rename, rm, stat, writeFile } from "node:fs/promises";
|
|
18
18
|
import { execFileSync, spawn } from "node:child_process";
|
|
@@ -17906,7 +17906,7 @@ function resolveConfigPathForDeps(deps) {
|
|
|
17906
17906
|
function normalizeDeps(overrides = {}) {
|
|
17907
17907
|
return {
|
|
17908
17908
|
fs: overrides.fs ?? fs,
|
|
17909
|
-
json5: overrides.json5 ??
|
|
17909
|
+
json5: overrides.json5 ?? json5,
|
|
17910
17910
|
env: overrides.env ?? process.env,
|
|
17911
17911
|
homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
|
|
17912
17912
|
configPath: overrides.configPath ?? "",
|
|
@@ -17917,11 +17917,11 @@ function maybeLoadDotEnvForConfig(env) {
|
|
|
17917
17917
|
if (env !== process.env) return;
|
|
17918
17918
|
loadDotEnv({ quiet: true });
|
|
17919
17919
|
}
|
|
17920
|
-
function parseConfigJson5(raw, json5 =
|
|
17920
|
+
function parseConfigJson5(raw, json5$1 = json5) {
|
|
17921
17921
|
try {
|
|
17922
17922
|
return {
|
|
17923
17923
|
ok: true,
|
|
17924
|
-
parsed: json5.parse(raw)
|
|
17924
|
+
parsed: json5$1.parse(raw)
|
|
17925
17925
|
};
|
|
17926
17926
|
} catch (err) {
|
|
17927
17927
|
return {
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import "./proxy-env-B3rQCyUO.js";
|
|
2
|
+
import "./registry-tm0HFWKN.js";
|
|
3
|
+
import "./paths-DnKvZ6zt.js";
|
|
4
|
+
import "./subsystem-CchgWuXK.js";
|
|
5
|
+
import "./agent-scope-DU8uJiiv.js";
|
|
6
|
+
import "./logger-BkzoyfHW.js";
|
|
7
|
+
import "./github-copilot-token-CtAXGjCK.js";
|
|
8
|
+
import "./artifacts-Dk-7TtTn.js";
|
|
9
|
+
import "./send-BjR1QHnz.js";
|
|
10
|
+
import "./outbound-message-hooks-BUHUdpjM.js";
|
|
11
|
+
import "./fetch-hEreHolP.js";
|
|
12
|
+
import "./image-ops-Bm03YsK2.js";
|
|
13
|
+
import "./redact-CdcLrd0n.js";
|
|
14
|
+
import "./fetch-guard-B2Wnl9Vi.js";
|
|
15
|
+
import "./proxy-fetch-CNBkczcW.js";
|
|
16
|
+
import "./path-alias-guards-Dft7g-_v.js";
|
|
17
|
+
import "./fs-safe-ClebEeLz.js";
|
|
18
|
+
import "./tokens-Cioh8xR5.js";
|
|
19
|
+
import "./ir-1CthVxHv.js";
|
|
20
|
+
import "./chunk-BWz-lIzS.js";
|
|
21
|
+
import "./markdown-tables-DZM4NfLU.js";
|
|
22
|
+
import "./render-DXuDCig7.js";
|
|
23
|
+
import { i as resolveSlackThreadTs, n as deliverReplies, r as deliverSlackSlashReplies, t as createSlackReplyDeliveryPlan } from "./replies-CS2GXrd-.js";
|
|
24
|
+
|
|
25
|
+
export { createSlackReplyDeliveryPlan, deliverReplies, deliverSlackSlashReplies, resolveSlackThreadTs };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as markdownToSlackMrkdwnChunks, t as sendMessageSlack } from "./send-
|
|
2
|
-
import { d as resolveOutboundSessionId, f as getGlobalHookRunner, n as createMessageSentEmitter, t as applyMessageSendingHook } from "./outbound-message-hooks-
|
|
3
|
-
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-
|
|
4
|
-
import { i as chunkMarkdownTextWithMode } from "./chunk-
|
|
1
|
+
import { n as markdownToSlackMrkdwnChunks, t as sendMessageSlack } from "./send-BjR1QHnz.js";
|
|
2
|
+
import { d as resolveOutboundSessionId, f as getGlobalHookRunner, n as createMessageSentEmitter, t as applyMessageSendingHook } from "./outbound-message-hooks-BUHUdpjM.js";
|
|
3
|
+
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-Cioh8xR5.js";
|
|
4
|
+
import { i as chunkMarkdownTextWithMode } from "./chunk-BWz-lIzS.js";
|
|
5
5
|
|
|
6
6
|
//#region src/auto-reply/reply/reply-reference.ts
|
|
7
7
|
function createReplyReferencePlanner(options) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as parseInlineDirectives } from "./registry-
|
|
2
|
-
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-
|
|
1
|
+
import { R as parseInlineDirectives } from "./registry-tm0HFWKN.js";
|
|
2
|
+
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-Cioh8xR5.js";
|
|
3
3
|
import { r as parseFenceSpans } from "./fences-FDYDS-Om.js";
|
|
4
4
|
|
|
5
5
|
//#region src/media/audio-tags.ts
|