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,5 +1,5 @@
|
|
|
1
|
-
import { b as __exportAll } from "./proxy-env-
|
|
2
|
-
import { r as resolveAgentConfig } from "./agent-scope-
|
|
1
|
+
import { b as __exportAll } from "./proxy-env-B3rQCyUO.js";
|
|
2
|
+
import { r as resolveAgentConfig } from "./agent-scope-DU8uJiiv.js";
|
|
3
3
|
|
|
4
4
|
//#region src/agents/identity.ts
|
|
5
5
|
const DEFAULT_ACK_REACTION = "👀";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { b as __exportAll } from "./proxy-env-
|
|
2
|
-
import { ea as listBindings } from "./registry-
|
|
3
|
-
import { M as shouldLogVerbose } from "./subsystem-
|
|
4
|
-
import { F as buildAgentMainSessionKey, I as buildAgentPeerSessionKey, J as sanitizeAgentId, N as DEFAULT_AGENT_ID, P as DEFAULT_MAIN_KEY, V as normalizeAgentId, W as resolveCanonicalIdentity, X as DEFAULT_ACCOUNT_ID, Z as normalizeAccountId, c as resolveDefaultAgentId } from "./agent-scope-
|
|
5
|
-
import { t as logDebug } from "./logger-
|
|
1
|
+
import { b as __exportAll } from "./proxy-env-B3rQCyUO.js";
|
|
2
|
+
import { ea as listBindings } from "./registry-tm0HFWKN.js";
|
|
3
|
+
import { M as shouldLogVerbose } from "./subsystem-CchgWuXK.js";
|
|
4
|
+
import { F as buildAgentMainSessionKey, I as buildAgentPeerSessionKey, J as sanitizeAgentId, N as DEFAULT_AGENT_ID, P as DEFAULT_MAIN_KEY, V as normalizeAgentId, W as resolveCanonicalIdentity, X as DEFAULT_ACCOUNT_ID, Z as normalizeAccountId, c as resolveDefaultAgentId } from "./agent-scope-DU8uJiiv.js";
|
|
5
|
+
import { t as logDebug } from "./logger-BkzoyfHW.js";
|
|
6
6
|
import { n as normalizeChatType } from "./conversation-label-Byxk5Gak.js";
|
|
7
7
|
|
|
8
8
|
//#region src/routing/resolve-route.ts
|
|
@@ -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 "./pi-embedded-helpers-B-OOYT64.js";
|
|
10
|
+
import "./image-ops-Bm03YsK2.js";
|
|
11
|
+
import "./redact-CdcLrd0n.js";
|
|
12
|
+
import "./pi-embedded-utils-BoSGTbYO.js";
|
|
13
|
+
import "./chrome-VZ0Zuu2w.js";
|
|
14
|
+
import "./skills-CatBv8W4.js";
|
|
15
|
+
import "./path-alias-guards-Dft7g-_v.js";
|
|
16
|
+
import "./fs-safe-ClebEeLz.js";
|
|
17
|
+
import "./store-6JKvp2Zu.js";
|
|
18
|
+
import "./thinking-CwmtMy_H.js";
|
|
19
|
+
import "./tokens-Cioh8xR5.js";
|
|
20
|
+
import "./diagnostic-BRUM6uNI.js";
|
|
21
|
+
import "./diagnostic-session-state-BsHrQ7U3.js";
|
|
22
|
+
import { a as isEmbeddedPiRunActive, c as setActiveEmbeddedRun, i as endInFlightEmbeddedAttempt, l as waitForEmbeddedPiRunEnd, n as beginInFlightEmbeddedAttempt, o as isEmbeddedPiRunStreaming, r as clearActiveEmbeddedRun, s as queueEmbeddedPiMessage, t as abortEmbeddedPiRun } from "./runs-H2FY7UEk.js";
|
|
23
|
+
import "./reply-directives-hfOVgXpA.js";
|
|
24
|
+
|
|
25
|
+
export { abortEmbeddedPiRun };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Dt as normalizeUsage, ro as isTruthyEnvValue } from "./registry-
|
|
1
|
+
import { Dt as normalizeUsage, ro as isTruthyEnvValue } from "./registry-tm0HFWKN.js";
|
|
2
2
|
import { c as resolveStateDir } from "./paths-DnKvZ6zt.js";
|
|
3
|
-
import { B as appendFileLog } from "./subsystem-
|
|
4
|
-
import { a as isMessagingToolDuplicateNormalized, o as normalizeTextForComparison } from "./pi-embedded-helpers-
|
|
5
|
-
import { a as formatReasoningMessage, c as promoteThinkingTagsToBlocks, i as extractThinkingFromTaggedText, n as extractAssistantThinking, r as extractThinkingFromTaggedStream, t as extractAssistantText } from "./pi-embedded-utils-
|
|
6
|
-
import { n as SILENT_REPLY_TOKEN } from "./tokens-
|
|
7
|
-
import { D as refreshRunProgress, c as logModelCallCompleted, p as logSessionStateChange, s as logMessageQueued, t as diag, u as logModelCallStarted } from "./diagnostic-
|
|
8
|
-
import { r as getDiagnosticSessionState } from "./diagnostic-session-state-
|
|
3
|
+
import { B as appendFileLog } from "./subsystem-CchgWuXK.js";
|
|
4
|
+
import { a as isMessagingToolDuplicateNormalized, o as normalizeTextForComparison } from "./pi-embedded-helpers-B-OOYT64.js";
|
|
5
|
+
import { a as formatReasoningMessage, c as promoteThinkingTagsToBlocks, i as extractThinkingFromTaggedText, n as extractAssistantThinking, r as extractThinkingFromTaggedStream, t as extractAssistantText } from "./pi-embedded-utils-BoSGTbYO.js";
|
|
6
|
+
import { n as SILENT_REPLY_TOKEN } from "./tokens-Cioh8xR5.js";
|
|
7
|
+
import { D as refreshRunProgress, c as logModelCallCompleted, p as logSessionStateChange, s as logMessageQueued, t as diag, u as logModelCallStarted } from "./diagnostic-BRUM6uNI.js";
|
|
8
|
+
import { r as getDiagnosticSessionState } from "./diagnostic-session-state-BsHrQ7U3.js";
|
|
9
9
|
import { r as parseFenceSpans } from "./fences-FDYDS-Om.js";
|
|
10
|
-
import { t as parseReplyDirectives } from "./reply-directives-
|
|
10
|
+
import { t as parseReplyDirectives } from "./reply-directives-hfOVgXpA.js";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import { randomUUID } from "node:crypto";
|
|
13
13
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Dr as retryAsync, Er as resolveRetryConfig, Vn as loadConfig, gn as normalizeDiscordToken, hn as resolveDiscordAccount } from "./registry-
|
|
2
|
-
import { mt as resolvePreferredOpenClawTmpDir, r as avoidTrailingHighSurrogateBreak } from "./subsystem-
|
|
1
|
+
import { Dr as retryAsync, Er as resolveRetryConfig, Vn as loadConfig, gn as normalizeDiscordToken, hn as resolveDiscordAccount } from "./registry-tm0HFWKN.js";
|
|
2
|
+
import { mt as resolvePreferredOpenClawTmpDir, r as avoidTrailingHighSurrogateBreak } from "./subsystem-CchgWuXK.js";
|
|
3
3
|
import { i as requireTargetKind, r as parseMentionPrefixOrAtUserTarget, t as buildMessagingTarget } from "./targets-PrHL3e-f.js";
|
|
4
|
-
import { _ as maxBytesForKind, l as extensionForMime } from "./image-ops-
|
|
5
|
-
import { t as resolveFetch } from "./fetch-
|
|
6
|
-
import { a as createDiscordRetryRunner, i as normalizePollInput, n as recordChannelActivity, r as normalizePollDurationHours } from "./channel-activity-
|
|
4
|
+
import { _ as maxBytesForKind, l as extensionForMime } from "./image-ops-Bm03YsK2.js";
|
|
5
|
+
import { t as resolveFetch } from "./fetch-C1vgNaXJ.js";
|
|
6
|
+
import { a as createDiscordRetryRunner, i as normalizePollInput, n as recordChannelActivity, r as normalizePollDurationHours } from "./channel-activity-OIauZrkN.js";
|
|
7
7
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-CdUD5EUN.js";
|
|
8
|
-
import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-
|
|
9
|
-
import { i as chunkMarkdownTextWithMode, l as resolveChunkMode, u as resolveChunkNewlinePacking } from "./chunk-
|
|
10
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
11
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
8
|
+
import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-1CthVxHv.js";
|
|
9
|
+
import { i as chunkMarkdownTextWithMode, l as resolveChunkMode, u as resolveChunkNewlinePacking } from "./chunk-BWz-lIzS.js";
|
|
10
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-DZM4NfLU.js";
|
|
11
|
+
import { t as convertMarkdownTables } from "./tables-BPCP4CpE.js";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
import crypto from "node:crypto";
|
|
14
14
|
import { promisify } from "node:util";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Vn as loadConfig, an as resolveSlackBotToken, nn as resolveSlackAccount } from "./registry-
|
|
2
|
-
import { k as logVerbose } from "./subsystem-
|
|
1
|
+
import { Vn as loadConfig, an as resolveSlackBotToken, nn as resolveSlackAccount } from "./registry-tm0HFWKN.js";
|
|
2
|
+
import { k as logVerbose } from "./subsystem-CchgWuXK.js";
|
|
3
3
|
import { i as requireTargetKind, n as ensureTargetId, r as parseMentionPrefixOrAtUserTarget, t as buildMessagingTarget } from "./targets-PrHL3e-f.js";
|
|
4
|
-
import { r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
5
|
-
import { i as isSilentReplyText } from "./tokens-
|
|
6
|
-
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
7
|
-
import { d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, l as resolveChunkMode, u as resolveChunkNewlinePacking } from "./chunk-
|
|
8
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
4
|
+
import { r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-B2Wnl9Vi.js";
|
|
5
|
+
import { i as isSilentReplyText } from "./tokens-Cioh8xR5.js";
|
|
6
|
+
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-1CthVxHv.js";
|
|
7
|
+
import { d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, l as resolveChunkMode, u as resolveChunkNewlinePacking } from "./chunk-BWz-lIzS.js";
|
|
8
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-DZM4NfLU.js";
|
|
9
9
|
import { t as renderMarkdownWithMarkers } from "./render-DXuDCig7.js";
|
|
10
10
|
import { WebClient } from "@slack/web-api";
|
|
11
11
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Vn as loadConfig, sn as resolveSignalAccount } from "./registry-
|
|
2
|
-
import { r as avoidTrailingHighSurrogateBreak } from "./subsystem-
|
|
3
|
-
import { m as kindFromMime } from "./image-ops-
|
|
4
|
-
import { n as fetchWithTimeout } from "./fetch-timeout-
|
|
1
|
+
import { Vn as loadConfig, sn as resolveSignalAccount } from "./registry-tm0HFWKN.js";
|
|
2
|
+
import { r as avoidTrailingHighSurrogateBreak } from "./subsystem-CchgWuXK.js";
|
|
3
|
+
import { m as kindFromMime } from "./image-ops-Bm03YsK2.js";
|
|
4
|
+
import { n as fetchWithTimeout } from "./fetch-timeout-A1m6BOhm.js";
|
|
5
5
|
import { n as generateSecureUuid } from "./secure-random-B2UrD2xa.js";
|
|
6
|
-
import { t as resolveFetch } from "./fetch-
|
|
7
|
-
import { n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
8
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
9
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
6
|
+
import { t as resolveFetch } from "./fetch-C1vgNaXJ.js";
|
|
7
|
+
import { n as markdownToIR, t as chunkMarkdownIR } from "./ir-1CthVxHv.js";
|
|
8
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-DZM4NfLU.js";
|
|
9
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-GMgXpDQm.js";
|
|
10
10
|
|
|
11
11
|
//#region src/signal/format.ts
|
|
12
12
|
function normalizeUrlForComparison(url) {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { a as formatErrorMessage, l as readErrorName, n as collectErrorGraphCandidates, o as formatUncaughtError, r as extractErrorCode, t as hasProxyEnvConfigured } from "./proxy-env-
|
|
2
|
-
import { Gt as getChannelPlugin, Ha as withFileLock$1, K as writeJsonAtomic, Kt as listChannelPlugins, Ma as resolveTelegramPreviewStreamMode, Un as readConfigFileSnapshotForWrite, Vn as loadConfig, Wn as writeConfigFile, en as resolveTelegramAccount, ro as isTruthyEnvValue } from "./registry-
|
|
1
|
+
import { a as formatErrorMessage, l as readErrorName, n as collectErrorGraphCandidates, o as formatUncaughtError, r as extractErrorCode, t as hasProxyEnvConfigured } from "./proxy-env-B3rQCyUO.js";
|
|
2
|
+
import { Gt as getChannelPlugin, Ha as withFileLock$1, K as writeJsonAtomic, Kt as listChannelPlugins, Ma as resolveTelegramPreviewStreamMode, Un as readConfigFileSnapshotForWrite, Vn as loadConfig, Wn as writeConfigFile, en as resolveTelegramAccount, ro as isTruthyEnvValue } from "./registry-tm0HFWKN.js";
|
|
3
3
|
import { c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix, o as resolveOAuthDir } from "./paths-DnKvZ6zt.js";
|
|
4
|
-
import { D as danger, k as logVerbose, r as avoidTrailingHighSurrogateBreak, t as createSubsystemLogger, u as CONFIG_DIR, x as safeParseJson } from "./subsystem-
|
|
5
|
-
import { X as DEFAULT_ACCOUNT_ID, Z as normalizeAccountId } from "./agent-scope-
|
|
6
|
-
import { h as normalizeMimeType, m as kindFromMime, p as isGifMedia, u as getFileExtension } from "./image-ops-
|
|
7
|
-
import { t as redactSensitiveText } from "./redact-
|
|
8
|
-
import { r as makeProxyFetch } from "./proxy-fetch-
|
|
9
|
-
import { _ as logTelegramPoll, g as logTelegramDelivery, h as logTelegramApiRequest, m as logTelegramAccountState, v as logTelegramUpdate, y as logTelegramWebhook } from "./diagnostic-
|
|
4
|
+
import { D as danger, k as logVerbose, r as avoidTrailingHighSurrogateBreak, t as createSubsystemLogger, u as CONFIG_DIR, x as safeParseJson } from "./subsystem-CchgWuXK.js";
|
|
5
|
+
import { X as DEFAULT_ACCOUNT_ID, Z as normalizeAccountId } from "./agent-scope-DU8uJiiv.js";
|
|
6
|
+
import { h as normalizeMimeType, m as kindFromMime, p as isGifMedia, u as getFileExtension } from "./image-ops-Bm03YsK2.js";
|
|
7
|
+
import { t as redactSensitiveText } from "./redact-CdcLrd0n.js";
|
|
8
|
+
import { r as makeProxyFetch } from "./proxy-fetch-CNBkczcW.js";
|
|
9
|
+
import { _ as logTelegramPoll, g as logTelegramDelivery, h as logTelegramApiRequest, m as logTelegramAccountState, v as logTelegramUpdate, y as logTelegramWebhook } from "./diagnostic-BRUM6uNI.js";
|
|
10
10
|
import { n as sha256HexPrefix, t as redactIdentifier } from "./redact-identifier-BN_ntAFs.js";
|
|
11
|
-
import { t as resolveFetch } from "./fetch-
|
|
12
|
-
import { i as normalizePollInput, n as recordChannelActivity, o as createTelegramRetryRunner } from "./channel-activity-
|
|
11
|
+
import { t as resolveFetch } from "./fetch-C1vgNaXJ.js";
|
|
12
|
+
import { i as normalizePollInput, n as recordChannelActivity, o as createTelegramRetryRunner } from "./channel-activity-OIauZrkN.js";
|
|
13
13
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-CdUD5EUN.js";
|
|
14
|
-
import { a as loadWebMedia, n as markdownToIR } from "./ir-
|
|
15
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
14
|
+
import { a as loadWebMedia, n as markdownToIR } from "./ir-1CthVxHv.js";
|
|
15
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-DZM4NfLU.js";
|
|
16
16
|
import { t as renderMarkdownWithMarkers } from "./render-DXuDCig7.js";
|
|
17
17
|
import path from "node:path";
|
|
18
18
|
import crypto, { randomBytes } from "node:crypto";
|
|
19
19
|
import fs, { readFileSync } from "node:fs";
|
|
20
20
|
import os from "node:os";
|
|
21
|
-
import
|
|
21
|
+
import json5 from "json5";
|
|
22
22
|
import fs$1 from "node:fs/promises";
|
|
23
23
|
import process$1 from "node:process";
|
|
24
24
|
import * as dns from "node:dns";
|
|
@@ -1052,7 +1052,7 @@ async function loadCronStore(storePath) {
|
|
|
1052
1052
|
const raw = await fs.promises.readFile(storePath, "utf-8");
|
|
1053
1053
|
let parsed;
|
|
1054
1054
|
try {
|
|
1055
|
-
parsed =
|
|
1055
|
+
parsed = json5.parse(raw);
|
|
1056
1056
|
} catch (err) {
|
|
1057
1057
|
throw new Error(`Failed to parse cron store at ${storePath}: ${String(err)}`, { cause: err });
|
|
1058
1058
|
}
|
|
@@ -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 "./fetch-hEreHolP.js";
|
|
10
|
+
import "./image-ops-Bm03YsK2.js";
|
|
11
|
+
import "./redact-CdcLrd0n.js";
|
|
12
|
+
import "./fetch-guard-B2Wnl9Vi.js";
|
|
13
|
+
import "./proxy-fetch-CNBkczcW.js";
|
|
14
|
+
import "./path-alias-guards-Dft7g-_v.js";
|
|
15
|
+
import "./fs-safe-ClebEeLz.js";
|
|
16
|
+
import "./store-6JKvp2Zu.js";
|
|
17
|
+
import "./ir-1CthVxHv.js";
|
|
18
|
+
import "./chunk-BWz-lIzS.js";
|
|
19
|
+
import "./markdown-tables-DZM4NfLU.js";
|
|
20
|
+
import "./render-DXuDCig7.js";
|
|
21
|
+
import "./tables-BPCP4CpE.js";
|
|
22
|
+
import "./outbound-attachment-GMgXpDQm.js";
|
|
23
|
+
import { t as sendMessageIMessage } from "./send-DdPdUcD0.js";
|
|
24
|
+
|
|
25
|
+
export { sendMessageIMessage };
|
|
@@ -0,0 +1,27 @@
|
|
|
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 "./fetch-hEreHolP.js";
|
|
10
|
+
import "./image-ops-Bm03YsK2.js";
|
|
11
|
+
import "./redact-CdcLrd0n.js";
|
|
12
|
+
import "./fetch-guard-B2Wnl9Vi.js";
|
|
13
|
+
import "./proxy-fetch-CNBkczcW.js";
|
|
14
|
+
import "./path-alias-guards-Dft7g-_v.js";
|
|
15
|
+
import "./fs-safe-ClebEeLz.js";
|
|
16
|
+
import { a as reactMessageTelegram, c as sendStickerTelegram, i as editMessageTelegram, n as createForumTopicTelegram, o as sendMessageTelegram, r as deleteMessageTelegram, s as sendPollTelegram, t as buildInlineKeyboard } from "./send-CF3PEjRy.js";
|
|
17
|
+
import "./diagnostic-BRUM6uNI.js";
|
|
18
|
+
import "./diagnostic-session-state-BsHrQ7U3.js";
|
|
19
|
+
import "./fetch-C1vgNaXJ.js";
|
|
20
|
+
import "./channel-activity-OIauZrkN.js";
|
|
21
|
+
import "./ir-1CthVxHv.js";
|
|
22
|
+
import "./chunk-BWz-lIzS.js";
|
|
23
|
+
import "./markdown-tables-DZM4NfLU.js";
|
|
24
|
+
import "./render-DXuDCig7.js";
|
|
25
|
+
import "./proxy-CXI1ycJj.js";
|
|
26
|
+
|
|
27
|
+
export { sendMessageTelegram };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import "./proxy-env-
|
|
2
|
-
import "./registry-
|
|
1
|
+
import "./proxy-env-B3rQCyUO.js";
|
|
2
|
+
import "./registry-tm0HFWKN.js";
|
|
3
3
|
import "./paths-DnKvZ6zt.js";
|
|
4
|
-
import "./subsystem-
|
|
5
|
-
import "./agent-scope-
|
|
6
|
-
import "./logger-
|
|
4
|
+
import "./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 { $ as fetchChannelPermissionsDiscord, A as addRoleDiscord, B as removeRoleDiscord, C as fetchMessageDiscord, D as readMessagesDiscord, E as pinMessageDiscord, F as fetchRoleInfoDiscord, G as createChannelDiscord, H as listGuildEmojisDiscord, I as fetchVoiceStatusDiscord, J as moveChannelDiscord, K as deleteChannelDiscord, L as kickMemberDiscord, M as createScheduledEventDiscord, N as fetchChannelInfoDiscord, O as searchMessagesDiscord, P as fetchMemberInfoDiscord, Q as DiscordSendError, R as listGuildChannelsDiscord, S as editMessageDiscord, T as listThreadsDiscord, U as uploadEmojiDiscord, V as timeoutMemberDiscord, W as uploadStickerDiscord, X as setChannelPermissionDiscord, Y as removeChannelPermissionDiscord, _ as sendStickerDiscord, a as sendDiscordComponentMessage, b as createThreadDiscord, et as fetchMemberGuildPermissionsDiscord, g as sendPollDiscord, h as sendMessageDiscord, i as removeReactionDiscord, j as banMemberDiscord, k as unpinMessageDiscord, n as reactMessageDiscord, q as editChannelDiscord, r as removeOwnReactionsDiscord, t as fetchReactionsDiscord, tt as hasAnyGuildPermissionDiscord, v as sendVoiceMessageDiscord, w as listPinsDiscord, x as deleteMessageDiscord, y as sendWebhookMessageDiscord, z as listScheduledEventsDiscord } from "./send-
|
|
10
|
-
import "./fetch-
|
|
11
|
-
import "./image-ops-
|
|
12
|
-
import "./redact-
|
|
13
|
-
import "./fetch-guard-
|
|
14
|
-
import "./proxy-fetch-
|
|
15
|
-
import "./path-alias-guards-
|
|
16
|
-
import "./fs-safe-
|
|
17
|
-
import "./fetch-
|
|
18
|
-
import "./channel-activity-
|
|
19
|
-
import "./ir-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./markdown-tables-
|
|
8
|
+
import "./artifacts-Dk-7TtTn.js";
|
|
9
|
+
import { $ as fetchChannelPermissionsDiscord, A as addRoleDiscord, B as removeRoleDiscord, C as fetchMessageDiscord, D as readMessagesDiscord, E as pinMessageDiscord, F as fetchRoleInfoDiscord, G as createChannelDiscord, H as listGuildEmojisDiscord, I as fetchVoiceStatusDiscord, J as moveChannelDiscord, K as deleteChannelDiscord, L as kickMemberDiscord, M as createScheduledEventDiscord, N as fetchChannelInfoDiscord, O as searchMessagesDiscord, P as fetchMemberInfoDiscord, Q as DiscordSendError, R as listGuildChannelsDiscord, S as editMessageDiscord, T as listThreadsDiscord, U as uploadEmojiDiscord, V as timeoutMemberDiscord, W as uploadStickerDiscord, X as setChannelPermissionDiscord, Y as removeChannelPermissionDiscord, _ as sendStickerDiscord, a as sendDiscordComponentMessage, b as createThreadDiscord, et as fetchMemberGuildPermissionsDiscord, g as sendPollDiscord, h as sendMessageDiscord, i as removeReactionDiscord, j as banMemberDiscord, k as unpinMessageDiscord, n as reactMessageDiscord, q as editChannelDiscord, r as removeOwnReactionsDiscord, t as fetchReactionsDiscord, tt as hasAnyGuildPermissionDiscord, v as sendVoiceMessageDiscord, w as listPinsDiscord, x as deleteMessageDiscord, y as sendWebhookMessageDiscord, z as listScheduledEventsDiscord } from "./send-BMhuEEtY.js";
|
|
10
|
+
import "./fetch-hEreHolP.js";
|
|
11
|
+
import "./image-ops-Bm03YsK2.js";
|
|
12
|
+
import "./redact-CdcLrd0n.js";
|
|
13
|
+
import "./fetch-guard-B2Wnl9Vi.js";
|
|
14
|
+
import "./proxy-fetch-CNBkczcW.js";
|
|
15
|
+
import "./path-alias-guards-Dft7g-_v.js";
|
|
16
|
+
import "./fs-safe-ClebEeLz.js";
|
|
17
|
+
import "./fetch-C1vgNaXJ.js";
|
|
18
|
+
import "./channel-activity-OIauZrkN.js";
|
|
19
|
+
import "./ir-1CthVxHv.js";
|
|
20
|
+
import "./chunk-BWz-lIzS.js";
|
|
21
|
+
import "./markdown-tables-DZM4NfLU.js";
|
|
22
22
|
import "./render-DXuDCig7.js";
|
|
23
|
-
import "./tables-
|
|
23
|
+
import "./tables-BPCP4CpE.js";
|
|
24
24
|
|
|
25
25
|
export { sendMessageDiscord };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Vn as loadConfig, fn as resolveIMessageAccount } from "./registry-
|
|
2
|
-
import { _ as normalizeE164, b as resolveUserPath } from "./subsystem-
|
|
3
|
-
import { m as kindFromMime } from "./image-ops-
|
|
4
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
5
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
6
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
1
|
+
import { Vn as loadConfig, fn as resolveIMessageAccount } from "./registry-tm0HFWKN.js";
|
|
2
|
+
import { _ as normalizeE164, b as resolveUserPath } from "./subsystem-CchgWuXK.js";
|
|
3
|
+
import { m as kindFromMime } from "./image-ops-Bm03YsK2.js";
|
|
4
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-DZM4NfLU.js";
|
|
5
|
+
import { t as convertMarkdownTables } from "./tables-BPCP4CpE.js";
|
|
6
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-GMgXpDQm.js";
|
|
7
7
|
import { spawn } from "node:child_process";
|
|
8
8
|
import { createInterface } from "node:readline";
|
|
9
9
|
|
|
@@ -0,0 +1,23 @@
|
|
|
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 { t as sendMessageSlack } from "./send-BjR1QHnz.js";
|
|
10
|
+
import "./fetch-hEreHolP.js";
|
|
11
|
+
import "./image-ops-Bm03YsK2.js";
|
|
12
|
+
import "./redact-CdcLrd0n.js";
|
|
13
|
+
import "./fetch-guard-B2Wnl9Vi.js";
|
|
14
|
+
import "./proxy-fetch-CNBkczcW.js";
|
|
15
|
+
import "./path-alias-guards-Dft7g-_v.js";
|
|
16
|
+
import "./fs-safe-ClebEeLz.js";
|
|
17
|
+
import "./tokens-Cioh8xR5.js";
|
|
18
|
+
import "./ir-1CthVxHv.js";
|
|
19
|
+
import "./chunk-BWz-lIzS.js";
|
|
20
|
+
import "./markdown-tables-DZM4NfLU.js";
|
|
21
|
+
import "./render-DXuDCig7.js";
|
|
22
|
+
|
|
23
|
+
export { sendMessageSlack };
|
|
@@ -0,0 +1,24 @@
|
|
|
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 "./fetch-hEreHolP.js";
|
|
10
|
+
import "./image-ops-Bm03YsK2.js";
|
|
11
|
+
import "./redact-CdcLrd0n.js";
|
|
12
|
+
import "./fetch-guard-B2Wnl9Vi.js";
|
|
13
|
+
import "./proxy-fetch-CNBkczcW.js";
|
|
14
|
+
import "./path-alias-guards-Dft7g-_v.js";
|
|
15
|
+
import "./fs-safe-ClebEeLz.js";
|
|
16
|
+
import "./store-6JKvp2Zu.js";
|
|
17
|
+
import "./fetch-C1vgNaXJ.js";
|
|
18
|
+
import "./ir-1CthVxHv.js";
|
|
19
|
+
import "./chunk-BWz-lIzS.js";
|
|
20
|
+
import "./markdown-tables-DZM4NfLU.js";
|
|
21
|
+
import { n as sendReadReceiptSignal, r as sendTypingSignal, t as sendMessageSignal } from "./send-CEtGyK32.js";
|
|
22
|
+
import "./outbound-attachment-GMgXpDQm.js";
|
|
23
|
+
|
|
24
|
+
export { sendMessageSignal };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as __exportAll } from "./proxy-env-
|
|
2
|
-
import { x as recordSessionMetaFromInbound } from "./registry-
|
|
3
|
-
import { f as resolveStorePath } from "./artifacts-
|
|
1
|
+
import { b as __exportAll } from "./proxy-env-B3rQCyUO.js";
|
|
2
|
+
import { x as recordSessionMetaFromInbound } from "./registry-tm0HFWKN.js";
|
|
3
|
+
import { f as resolveStorePath } from "./artifacts-Dk-7TtTn.js";
|
|
4
4
|
|
|
5
5
|
//#region src/channels/session-meta.ts
|
|
6
6
|
var session_meta_exports = /* @__PURE__ */ __exportAll({ recordInboundSessionMetaSafe: () => recordInboundSessionMetaSafe });
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { b as __exportAll } from "./proxy-env-
|
|
2
|
-
import { W as createAsyncLock } from "./registry-
|
|
1
|
+
import { b as __exportAll } from "./proxy-env-B3rQCyUO.js";
|
|
2
|
+
import { W as createAsyncLock } from "./registry-tm0HFWKN.js";
|
|
3
3
|
import { c as resolveStateDir } from "./paths-DnKvZ6zt.js";
|
|
4
|
-
import { b as resolveUserPath, k as logVerbose, t as createSubsystemLogger, u as CONFIG_DIR } from "./subsystem-
|
|
5
|
-
import { n as listAgentIds, o as resolveAgentSkillsFilter, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
6
|
-
import { o as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-
|
|
7
|
-
import { a as listChatCommands } from "./commands-registry-
|
|
4
|
+
import { b as resolveUserPath, k as logVerbose, t as createSubsystemLogger, u as CONFIG_DIR } from "./subsystem-CchgWuXK.js";
|
|
5
|
+
import { n as listAgentIds, o as resolveAgentSkillsFilter, s as resolveAgentWorkspaceDir } from "./agent-scope-DU8uJiiv.js";
|
|
6
|
+
import { o as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-CatBv8W4.js";
|
|
7
|
+
import { a as listChatCommands } from "./commands-registry-XW2hmbAE.js";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import { randomUUID } from "node:crypto";
|
|
10
10
|
import fs from "node:fs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Ja as normalizeResolvedSecretInputString, ca as resolveMemorySlotDecision, fa as readManifestNamespace, io as parseBooleanValue, na as loadPluginManifestRegistry, oa as normalizePluginsConfig, sa as resolveEffectiveEnableState } from "./registry-
|
|
2
|
-
import { X as isPathInsideWithRealpath, at as isPathInside, b as resolveUserPath, lt as isDangerousHostEnvVarName, mt as resolvePreferredOpenClawTmpDir, t as createSubsystemLogger, u as CONFIG_DIR } from "./subsystem-
|
|
3
|
-
import { T as resolveOpenClawPackageRootSync, k as normalizeSkillFilter } from "./agent-scope-
|
|
4
|
-
import { n as assertNoPathAliasEscape } from "./path-alias-guards-
|
|
1
|
+
import { Ja as normalizeResolvedSecretInputString, ca as resolveMemorySlotDecision, fa as readManifestNamespace, io as parseBooleanValue, na as loadPluginManifestRegistry, oa as normalizePluginsConfig, sa as resolveEffectiveEnableState } from "./registry-tm0HFWKN.js";
|
|
2
|
+
import { X as isPathInsideWithRealpath, at as isPathInside, b as resolveUserPath, lt as isDangerousHostEnvVarName, mt as resolvePreferredOpenClawTmpDir, t as createSubsystemLogger, u as CONFIG_DIR } from "./subsystem-CchgWuXK.js";
|
|
3
|
+
import { T as resolveOpenClawPackageRootSync, k as normalizeSkillFilter } from "./agent-scope-DU8uJiiv.js";
|
|
4
|
+
import { n as assertNoPathAliasEscape } from "./path-alias-guards-Dft7g-_v.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import os from "node:os";
|
|
8
|
-
import
|
|
8
|
+
import json5 from "json5";
|
|
9
9
|
import { URL as URL$1, fileURLToPath } from "node:url";
|
|
10
10
|
import { formatSkillsForPrompt, loadSkillsFromDir } from "@mariozechner/pi-coding-agent";
|
|
11
11
|
import YAML from "yaml";
|
|
@@ -285,7 +285,7 @@ function resolveOpenClawManifestBlock(params) {
|
|
|
285
285
|
const raw = getFrontmatterString(params.frontmatter, params.key ?? "metadata");
|
|
286
286
|
if (!raw) return;
|
|
287
287
|
try {
|
|
288
|
-
const parsed =
|
|
288
|
+
const parsed = json5.parse(raw);
|
|
289
289
|
if (!parsed || typeof parsed !== "object") return;
|
|
290
290
|
return readManifestNamespace(parsed);
|
|
291
291
|
} catch {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { y as resolveConfigDir } from "./subsystem-
|
|
2
|
-
import { c as detectMime, l as extensionForMime } from "./image-ops-
|
|
1
|
+
import { y as resolveConfigDir } from "./subsystem-CchgWuXK.js";
|
|
2
|
+
import { c as detectMime, l as extensionForMime } from "./image-ops-Bm03YsK2.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import crypto from "node:crypto";
|
|
5
5
|
import fs$1 from "node:fs/promises";
|
|
@@ -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 { C as resetSubagentRegistryForTests, S as replaceSubagentRunAfterSteer, _ as markSubagentAnnounceExecuted, b as registerSubagentRun, c as countActiveDescendantRuns, d as countPendingDescendantRunsExcludingRun, f as getSubagentRunByRunIdForRead, g as listSubagentRunsForRequester, h as listDescendantRunsForRequester, l as countActiveRunsForSession, m as isSubagentSessionRunActive, o as addSubagentRunForTests, p as initSubagentRegistry, s as clearSubagentRunSteerRestart, u as countPendingDescendantRuns, v as markSubagentRunForSteerRestart, w as resolveRequesterForChildSession, x as releaseSubagentRun, y as markSubagentRunTerminated } 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 { addSubagentRunForTests, clearSubagentRunSteerRestart, countActiveDescendantRuns, countActiveRunsForSession, countPendingDescendantRuns, countPendingDescendantRunsExcludingRun, getSubagentRunByRunIdForRead, initSubagentRegistry, isSubagentSessionRunActive, listDescendantRunsForRequester, listSubagentRunsForRequester, markSubagentAnnounceExecuted, markSubagentRunForSteerRestart, markSubagentRunTerminated, registerSubagentRun, releaseSubagentRun, replaceSubagentRunAfterSteer, resetSubagentRegistryForTests, resolveRequesterForChildSession };
|
|
@@ -4,7 +4,7 @@ import path from "node:path";
|
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import os from "node:os";
|
|
6
6
|
import util, { promisify } from "node:util";
|
|
7
|
-
import
|
|
7
|
+
import json5 from "json5";
|
|
8
8
|
import { Logger } from "tslog";
|
|
9
9
|
import fs$1 from "node:fs/promises";
|
|
10
10
|
import zlib from "node:zlib";
|
|
@@ -1357,7 +1357,7 @@ const defaultResolver = {
|
|
|
1357
1357
|
resolvedPath,
|
|
1358
1358
|
rootRealDir
|
|
1359
1359
|
}),
|
|
1360
|
-
parseJson: (raw) =>
|
|
1360
|
+
parseJson: (raw) => json5.parse(raw)
|
|
1361
1361
|
};
|
|
1362
1362
|
/**
|
|
1363
1363
|
* Resolves all $include directives in a parsed config object.
|
|
@@ -1414,14 +1414,14 @@ function readLoggingConfig() {
|
|
|
1414
1414
|
try {
|
|
1415
1415
|
if (!fs.existsSync(configPath)) return;
|
|
1416
1416
|
const raw = fs.readFileSync(configPath, "utf-8");
|
|
1417
|
-
const resolvedIncludes = resolveConfigIncludes(
|
|
1417
|
+
const resolvedIncludes = resolveConfigIncludes(json5.parse(raw), configPath, {
|
|
1418
1418
|
readFile: (candidate) => fs.readFileSync(candidate, "utf-8"),
|
|
1419
1419
|
readFileWithGuards: ({ includePath, resolvedPath, rootRealDir }) => readConfigIncludeFileWithGuards({
|
|
1420
1420
|
includePath,
|
|
1421
1421
|
resolvedPath,
|
|
1422
1422
|
rootRealDir
|
|
1423
1423
|
}),
|
|
1424
|
-
parseJson: (includeRaw) =>
|
|
1424
|
+
parseJson: (includeRaw) => json5.parse(includeRaw)
|
|
1425
1425
|
});
|
|
1426
1426
|
if (resolvedIncludes && typeof resolvedIncludes === "object" && "env" in resolvedIncludes) applyConfigEnvVars(resolvedIncludes);
|
|
1427
1427
|
const resolvedConfig = resolveConfigEnvVars(resolvedIncludes);
|