wednesdayai 0.5.1-dev.25 → 0.5.1-dev.27
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-BKsGMXqc.js → agent-scope-DCgndASv.js} +3 -3
- package/dist/{agent-turn-runner-LKV3FMwQ.js → agent-turn-runner-CX7rX8by.js} +6 -6
- package/dist/{api-key-rotation-DZNFm4xG.js → api-key-rotation-dv2YbGr8.js} +2 -2
- package/dist/{audio-preflight-DQous9JR.js → audio-preflight-Qwb3oAbc.js} +29 -29
- package/dist/{audio-transcription-runner-BK3cV_ad.js → audio-transcription-runner-C4eHWIy0.js} +26 -26
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +60 -60
- 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 +60 -60
- package/dist/bundled/session-memory/handler.js +60 -60
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-BAxUpg5h.js → channel-activity-Kn1_ykXE.js} +3 -3
- package/dist/{chat-content-BWkiC3u3.js → chat-content-CX7Bfpgy.js} +34 -34
- package/dist/{chrome-Dzgbe0zH.js → chrome-Bukcguhv.js} +31 -31
- package/dist/{chunk-Bvf22vTh.js → chunk-CEygNI3g.js} +3 -3
- package/dist/{command-queue-BOMFLCHM.js → command-queue-DOzYI9q4.js} +1 -1
- package/dist/{commands-registry-Da3c0MbL.js → commands-registry-Cof4HjvY.js} +2 -2
- package/dist/config.js +9 -9
- package/dist/{deliver-CJjQbaJE.js → deliver-BaTG7V5x.js} +29 -29
- package/dist/{diagnostic-Dn_o8RGN.js → diagnostic-DMrDenZI.js} +5 -5
- package/dist/{errors-1FTZDNVR.js → errors-COs_vQr3.js} +1 -1
- package/dist/{fetch-CnDdghbc.js → fetch-B1ohBh6A.js} +8 -8
- package/dist/{fetch-guard-B6BYdjiQ.js → fetch-guard-BXzVwvnJ.js} +3 -3
- package/dist/{frontmatter-DvbDhvt1.js → frontmatter-Cw_6jMAR.js} +3 -3
- package/dist/{fs-safe-IYMDplSg.js → fs-safe-BK5ALzKD.js} +26 -26
- package/dist/github-copilot-token-DYYKoDuV.js +106 -0
- package/dist/{image-ops-BuzZGoUm.js → image-ops-C-5VgbLB.js} +1 -1
- package/dist/{ir-CBsM7qoP.js → ir-DioI2VyB.js} +5 -5
- package/dist/{legacy-names-Ckds5WWe.js → legacy-names-CghFcfry.js} +1 -1
- package/dist/llm-slug-generator.js +60 -60
- package/dist/{logger-BeXVb5cn.js → logger-J4xjy-6D.js} +1 -1
- package/dist/{manager-BujYLKny.js → manager-D728Thsn.js} +18 -18
- package/dist/{markdown-tables-WuCFdPlC.js → markdown-tables-DfLMw9ti.js} +2 -2
- package/dist/{model-selection-CHi8o17y.js → model-selection-BHGpQSa9.js} +83 -83
- package/dist/{models-config-CAlyknIh.js → models-config-CJUMccZW.js} +2 -2
- package/dist/{outbound-attachment-C6mfyze2.js → outbound-attachment-DtVXUXnX.js} +2 -2
- package/dist/{outbound-message-hooks-jUzcd2OQ.js → outbound-message-hooks-7ErHCBLv.js} +5 -5
- package/dist/{path-alias-guards-BgOxr6f8.js → path-alias-guards-E9ntDORB.js} +1 -1
- package/dist/paths-BIDPYPVC.js +233 -0
- package/dist/{pi-embedded-aOKwlbog.js → pi-embedded-DpTacVAX.js} +277 -277
- package/dist/{pi-embedded-utils-BGvDJMAA.js → pi-embedded-utils-BAaHvb5G.js} +3 -3
- package/dist/{pi-model-discovery-CYfRyzsD.js → pi-model-discovery-BaH_6win.js} +7 -7
- package/dist/plugin-sdk/{agent-turn-execute-C6g1y27e.js → agent-turn-execute-Dg4sVJSk.js} +12 -12
- package/dist/plugin-sdk/{agent-turn-runner-BkP71ySA.js → agent-turn-runner-CD9Y0Gsf.js} +4 -4
- package/dist/plugin-sdk/{audio-preflight-CsMLbzm_.js → audio-preflight-GgmY1Zte.js} +5 -5
- package/dist/plugin-sdk/{audio-transcription-runner-2bpzZm3F.js → audio-transcription-runner-0gef4Ef0.js} +1 -1
- package/dist/plugin-sdk/{chat-content-CCOQCwrz.js → chat-content-Dpzf2nbZ.js} +3 -3
- package/dist/plugin-sdk/{chrome-C2bUQR0d.js → chrome-D9DwZOSC.js} +8 -8
- package/dist/plugin-sdk/{command-queue-J0ZpvnYU.js → command-queue-Cm8QKC0F.js} +1 -1
- package/dist/plugin-sdk/{deliver-CT3Lk2kq.js → deliver-CZVPDUrt.js} +1 -1
- package/dist/plugin-sdk/{deliver-dkNTCb3Z.js → deliver-D6hs0zDt.js} +3 -3
- package/dist/plugin-sdk/{diagnostic-C-Clqb63.js → diagnostic-Bi52EuT5.js} +1 -1
- package/dist/plugin-sdk/{monitor-BHeL2-is.js → monitor-BrUwRgsT.js} +32 -32
- package/dist/plugin-sdk/{pi-embedded-utils-BmeLQMRx.js → pi-embedded-utils-CeNVVYT3.js} +1 -1
- package/dist/plugin-sdk/{provider-dispatcher-BkEWKVLB.js → provider-dispatcher-Bx_RMlu-.js} +12 -12
- package/dist/plugin-sdk/{provider-image-QDVfXKph.js → provider-image-CBXOs7yQ.js} +4 -4
- package/dist/plugin-sdk/{provider-image-BSV8WjkR.js → provider-image-DH8Jro3J.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-QlS2E2LB.js → pw-ai-BP4Kwaqc.js} +1 -1
- package/dist/plugin-sdk/{runs-8iACp6xv.js → runs-C1Lvxfri.js} +3 -3
- package/dist/plugin-sdk/{runs-D0UdtKVI.js → runs-DG49eFuR.js} +5 -5
- package/dist/plugin-sdk/{send-BP8o2l4w.js → send-BguPpGBL.js} +2 -2
- package/dist/plugin-sdk/{send-CYZi6dwK.js → send-CcEF6VcP.js} +1 -1
- package/dist/plugin-sdk/{subagent-registry-DA50ITkO.js → subagent-registry-B4EmS6cu.js} +12 -12
- package/dist/plugin-sdk/testing.js +12 -12
- package/dist/{provider-image-CNBkTbhu.js → provider-image-BSkZoSBN.js} +6 -6
- package/dist/{proxy-Ds4gxPy8.js → proxy-CrSpy5Aw.js} +1 -1
- package/dist/{proxy-env-DAf-b2bM.js → proxy-env-BxR4m86L.js} +1 -1
- package/dist/{proxy-fetch-M3YAp_Kv.js → proxy-fetch-g109vqdt.js} +1 -1
- package/dist/{pw-ai-BcibeG9a.js → pw-ai-CNTt9O_x.js} +14 -14
- package/dist/{qmd-manager-C3UBJiCk.js → qmd-manager-CU9iEql0.js} +12 -12
- package/dist/{query-expansion-BT5lS0um.js → query-expansion-B_2rETEo.js} +13 -13
- package/dist/{recorder-B08vNxya.js → recorder-Clg9Kbqu.js} +2 -2
- package/dist/{redact-CKI6SufO.js → redact-DpE5Tg36.js} +1 -1
- package/dist/{replies-BHkXhmOj.js → replies-Cty02S3t.js} +5 -5
- package/dist/{reply-directives-DkfwzHl4.js → reply-directives-BIh2AkNd.js} +2 -2
- package/dist/{reply-prefix-DS2s69iC.js → reply-prefix-C-DjHvQK.js} +1 -1
- package/dist/{resolve-route-DxuZn3_M.js → resolve-route-DKZiteo6.js} +5 -5
- package/dist/{runs-DFvW_PVw.js → runs-6Q7RU60m.js} +9 -9
- package/dist/{send-D2WSE41A.js → send-Bf4geLyV.js} +8 -8
- package/dist/{send-mILKKt54.js → send-CsDSBjFo.js} +6 -6
- package/dist/{send-yIxOvEiz.js → send-DQvfLvpJ.js} +6 -6
- package/dist/{send-2aTk7PU-.js → send-VDe5tGbO.js} +28 -28
- package/dist/{send-odd2G3DX.js → send-bwKTbNlJ.js} +7 -7
- package/dist/{session-meta-B8B6RwSE.js → session-meta-5XI6vLtM.js} +1 -1
- package/dist/{sessions-DC7A0bw-.js → sessions-DF9biCmh.js} +5 -5
- package/dist/{skill-commands-DdVSQNce.js → skill-commands-CAOvM2sb.js} +8 -8
- package/dist/{skills-BXMjgvRl.js → skills-VN1CJK6W.js} +21 -21
- package/dist/{store-BVdeIl7N.js → store-HgGweM4u.js} +7 -7
- package/dist/subsystem-BZy3aWdW.js +2761 -0
- package/dist/{tables-yHwb0GsI.js → tables-DkwNUhx1.js} +1 -1
- package/dist/{tokens-CXBau-U0.js → tokens-PMai9bNL.js} +1 -1
- package/dist/{tool-loop-detection-Bw8B0hV3.js → tool-loop-detection-BqyMjpvr.js} +2 -2
- package/dist/{user-run-recording-8MZq1Us4.js → user-run-recording-B1HujJiT.js} +2 -2
- package/dist/{workspace-DK2ZEkpT.js → workspace-Bj1Jegt-.js} +27 -27
- 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/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/ui-surfaces/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 +6 -3
- package/scripts/install.ps1 +329 -0
- package/scripts/install.sh +2479 -0
|
@@ -7,7 +7,7 @@ import "./logger-DyKgSZpY.js";
|
|
|
7
7
|
import "./github-copilot-token-0cZptJ8H.js";
|
|
8
8
|
import "./send-IFL-W_Uo.js";
|
|
9
9
|
import "./send-D_NW7XdG.js";
|
|
10
|
-
import { a as dispatchReplyWithBufferedBlockDispatcher, o as dispatchReplyWithDispatcher } from "./monitor-
|
|
10
|
+
import { a as dispatchReplyWithBufferedBlockDispatcher, o as dispatchReplyWithDispatcher } from "./monitor-BrUwRgsT.js";
|
|
11
11
|
import "./diagnostic-events-CDas3Sai.js";
|
|
12
12
|
import "./chunk-Dbr0Vehe.js";
|
|
13
13
|
import "./tokens-DiBRHqAd.js";
|
|
@@ -15,7 +15,7 @@ import "./session-context-BAIHN7OF.js";
|
|
|
15
15
|
import "./sessions-BzL-aOdL.js";
|
|
16
16
|
import "./redact-CWUfXAQC.js";
|
|
17
17
|
import "./errors-DqDwjxIV.js";
|
|
18
|
-
import "./deliver-
|
|
18
|
+
import "./deliver-CZVPDUrt.js";
|
|
19
19
|
import "./path-alias-guards-Ce7BoDc1.js";
|
|
20
20
|
import "./fs-safe-C-Kpe4rk.js";
|
|
21
21
|
import "./image-ops-aTvAvmEV.js";
|
|
@@ -25,21 +25,21 @@ import "./send-CUz9nJkW.js";
|
|
|
25
25
|
import "./reply-prefix-CxID-d6C.js";
|
|
26
26
|
import "./commands-registry-hpcjcK5a.js";
|
|
27
27
|
import "./thinking-BOHpxvdU.js";
|
|
28
|
-
import "./diagnostic-
|
|
28
|
+
import "./diagnostic-Bi52EuT5.js";
|
|
29
29
|
import "./diagnostic-session-state-Cgs20sNV.js";
|
|
30
|
-
import "./command-queue-
|
|
30
|
+
import "./command-queue-Cm8QKC0F.js";
|
|
31
31
|
import "./user-run-recording-BBuGXUx5.js";
|
|
32
32
|
import "./recorder-XST6kIcp.js";
|
|
33
|
-
import "./agent-turn-runner-
|
|
34
|
-
import "./send-
|
|
33
|
+
import "./agent-turn-runner-CD9Y0Gsf.js";
|
|
34
|
+
import "./send-CcEF6VcP.js";
|
|
35
35
|
import "./pi-model-discovery-BoaDkVwc.js";
|
|
36
|
-
import "./chat-content-
|
|
37
|
-
import "./chrome-
|
|
36
|
+
import "./chat-content-Dpzf2nbZ.js";
|
|
37
|
+
import "./chrome-D9DwZOSC.js";
|
|
38
38
|
import "./skills-CE_rmZvg.js";
|
|
39
39
|
import "./models-config-DqU-TWXh.js";
|
|
40
|
-
import "./audio-transcription-runner-
|
|
41
|
-
import "./pi-embedded-utils-
|
|
42
|
-
import "./provider-image-
|
|
40
|
+
import "./audio-transcription-runner-0gef4Ef0.js";
|
|
41
|
+
import "./pi-embedded-utils-CeNVVYT3.js";
|
|
42
|
+
import "./provider-image-DH8Jro3J.js";
|
|
43
43
|
import "./fetch-_qRMEQ9n.js";
|
|
44
44
|
import "./fetch-guard-WEUniAgf.js";
|
|
45
45
|
import "./proxy-fetch-CboA-o2G.js";
|
|
@@ -48,7 +48,7 @@ import "./markdown-tables-CLYGTk51.js";
|
|
|
48
48
|
import "./ir-Ch3XOsWl.js";
|
|
49
49
|
import "./render-uf6PvGMV.js";
|
|
50
50
|
import "./skill-commands-C8ofD86R.js";
|
|
51
|
-
import "./runs-
|
|
51
|
+
import "./runs-C1Lvxfri.js";
|
|
52
52
|
import "./outbound-attachment-DQCWaSOB.js";
|
|
53
53
|
import "./reply-directives-CLkkbYIs.js";
|
|
54
54
|
import "./channel-activity-DhxIrkzC.js";
|
|
@@ -15,11 +15,11 @@ import "./image-ops-aTvAvmEV.js";
|
|
|
15
15
|
import "./store-BT6jvPu8.js";
|
|
16
16
|
import "./thinking-BOHpxvdU.js";
|
|
17
17
|
import "./pi-model-discovery-BoaDkVwc.js";
|
|
18
|
-
import "./chat-content-
|
|
19
|
-
import "./chrome-
|
|
18
|
+
import "./chat-content-Dpzf2nbZ.js";
|
|
19
|
+
import "./chrome-D9DwZOSC.js";
|
|
20
20
|
import "./skills-CE_rmZvg.js";
|
|
21
21
|
import "./models-config-DqU-TWXh.js";
|
|
22
|
-
import "./pi-embedded-utils-
|
|
23
|
-
import { t as describeImageWithModel } from "./provider-image-
|
|
22
|
+
import "./pi-embedded-utils-CeNVVYT3.js";
|
|
23
|
+
import { t as describeImageWithModel } from "./provider-image-DH8Jro3J.js";
|
|
24
24
|
|
|
25
25
|
export { describeImageWithModel };
|
|
@@ -3,7 +3,7 @@ import { g as isRecord } from "./subsystem-C4zZI3bH.js";
|
|
|
3
3
|
import { A as resolveAgentModelFallbackValues, j as resolveAgentModelPrimaryValue } from "./agent-scope-CvEyzKGT.js";
|
|
4
4
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-BoaDkVwc.js";
|
|
5
5
|
import { t as ensureOpenClawModelsJson } from "./models-config-DqU-TWXh.js";
|
|
6
|
-
import { t as extractAssistantText } from "./pi-embedded-utils-
|
|
6
|
+
import { t as extractAssistantText } from "./pi-embedded-utils-CeNVVYT3.js";
|
|
7
7
|
import { complete } from "@mariozechner/pi-ai";
|
|
8
8
|
|
|
9
9
|
//#region src/agents/tools/image-tool.helpers.ts
|
|
@@ -9,7 +9,7 @@ import "./redact-CWUfXAQC.js";
|
|
|
9
9
|
import { i as formatErrorMessage } from "./errors-DqDwjxIV.js";
|
|
10
10
|
import "./path-alias-guards-Ce7BoDc1.js";
|
|
11
11
|
import { s as writeFileFromPathWithinRoot } from "./fs-safe-C-Kpe4rk.js";
|
|
12
|
-
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-
|
|
12
|
+
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-D9DwZOSC.js";
|
|
13
13
|
import path from "node:path";
|
|
14
14
|
import crypto from "node:crypto";
|
|
15
15
|
import fs from "node:fs/promises";
|
|
@@ -4,10 +4,10 @@ import { B as appendFileLog } from "./subsystem-C4zZI3bH.js";
|
|
|
4
4
|
import { r as parseFenceSpans } from "./fences-B5RTr0-t.js";
|
|
5
5
|
import { n as SILENT_REPLY_TOKEN } from "./tokens-DiBRHqAd.js";
|
|
6
6
|
import { Ot as normalizeUsage } from "./sessions-BzL-aOdL.js";
|
|
7
|
-
import { D as refreshRunProgress, c as logModelCallCompleted, p as logSessionStateChange, s as logMessageQueued, t as diag, u as logModelCallStarted } from "./diagnostic-
|
|
7
|
+
import { D as refreshRunProgress, c as logModelCallCompleted, p as logSessionStateChange, s as logMessageQueued, t as diag, u as logModelCallStarted } from "./diagnostic-Bi52EuT5.js";
|
|
8
8
|
import { r as getDiagnosticSessionState } from "./diagnostic-session-state-Cgs20sNV.js";
|
|
9
|
-
import { o as isMessagingToolDuplicateNormalized, s as normalizeTextForComparison } from "./chat-content-
|
|
10
|
-
import { a as formatReasoningMessage, c as promoteThinkingTagsToBlocks, i as extractThinkingFromTaggedText, n as extractAssistantThinking, r as extractThinkingFromTaggedStream, t as extractAssistantText } from "./pi-embedded-utils-
|
|
9
|
+
import { o as isMessagingToolDuplicateNormalized, s as normalizeTextForComparison } from "./chat-content-Dpzf2nbZ.js";
|
|
10
|
+
import { a as formatReasoningMessage, c as promoteThinkingTagsToBlocks, i as extractThinkingFromTaggedText, n as extractAssistantThinking, r as extractThinkingFromTaggedStream, t as extractAssistantText } from "./pi-embedded-utils-CeNVVYT3.js";
|
|
11
11
|
import { t as parseReplyDirectives } from "./reply-directives-CLkkbYIs.js";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
import { randomUUID } from "node:crypto";
|
|
@@ -15,13 +15,13 @@ import "./fs-safe-C-Kpe4rk.js";
|
|
|
15
15
|
import "./image-ops-aTvAvmEV.js";
|
|
16
16
|
import "./store-BT6jvPu8.js";
|
|
17
17
|
import "./thinking-BOHpxvdU.js";
|
|
18
|
-
import "./diagnostic-
|
|
18
|
+
import "./diagnostic-Bi52EuT5.js";
|
|
19
19
|
import "./diagnostic-session-state-Cgs20sNV.js";
|
|
20
|
-
import "./chat-content-
|
|
21
|
-
import "./chrome-
|
|
20
|
+
import "./chat-content-Dpzf2nbZ.js";
|
|
21
|
+
import "./chrome-D9DwZOSC.js";
|
|
22
22
|
import "./skills-CE_rmZvg.js";
|
|
23
|
-
import "./pi-embedded-utils-
|
|
24
|
-
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-
|
|
23
|
+
import "./pi-embedded-utils-CeNVVYT3.js";
|
|
24
|
+
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-C1Lvxfri.js";
|
|
25
25
|
import "./reply-directives-CLkkbYIs.js";
|
|
26
26
|
|
|
27
27
|
export { abortEmbeddedPiRun };
|
|
@@ -13,9 +13,9 @@ import "./path-alias-guards-Ce7BoDc1.js";
|
|
|
13
13
|
import "./fs-safe-C-Kpe4rk.js";
|
|
14
14
|
import "./image-ops-aTvAvmEV.js";
|
|
15
15
|
import "./fetch-Bq1rppq3.js";
|
|
16
|
-
import "./diagnostic-
|
|
16
|
+
import "./diagnostic-Bi52EuT5.js";
|
|
17
17
|
import "./diagnostic-session-state-Cgs20sNV.js";
|
|
18
|
-
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-
|
|
18
|
+
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-CcEF6VcP.js";
|
|
19
19
|
import "./fetch-_qRMEQ9n.js";
|
|
20
20
|
import "./fetch-guard-WEUniAgf.js";
|
|
21
21
|
import "./proxy-fetch-CboA-o2G.js";
|
|
@@ -8,7 +8,7 @@ import { a as formatUncaughtError, c as readErrorName, i as formatErrorMessage,
|
|
|
8
8
|
import { h as normalizeMimeType, m as kindFromMime, p as isGifMedia, u as getFileExtension } from "./image-ops-aTvAvmEV.js";
|
|
9
9
|
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-Bq1rppq3.js";
|
|
10
10
|
import { n as sha256HexPrefix, t as redactIdentifier } from "./redact-identifier-B9Z7gyFb.js";
|
|
11
|
-
import { _ as logTelegramPoll, g as logTelegramDelivery, h as logTelegramApiRequest, m as logTelegramAccountState, v as logTelegramUpdate, y as logTelegramWebhook } from "./diagnostic-
|
|
11
|
+
import { _ as logTelegramPoll, g as logTelegramDelivery, h as logTelegramApiRequest, m as logTelegramAccountState, v as logTelegramUpdate, y as logTelegramWebhook } from "./diagnostic-Bi52EuT5.js";
|
|
12
12
|
import { r as writeJsonAtomic } from "./json-files-Dt0in6lC.js";
|
|
13
13
|
import { i as normalizeFormDataBodyForRuntime } from "./fetch-guard-WEUniAgf.js";
|
|
14
14
|
import { r as makeProxyFetch } from "./proxy-fetch-CboA-o2G.js";
|
|
@@ -7,7 +7,7 @@ import "./logger-DyKgSZpY.js";
|
|
|
7
7
|
import "./github-copilot-token-0cZptJ8H.js";
|
|
8
8
|
import "./send-IFL-W_Uo.js";
|
|
9
9
|
import "./send-D_NW7XdG.js";
|
|
10
|
-
import { C as releaseSubagentRun, E as resolveRequesterForChildSession, S as registerSubagentRun, T as resetSubagentRegistryForTests, _ as listSubagentRunsForRequester, b as markSubagentRunForSteerRestart, c as clearSubagentRunSteerRestart, d as countPendingDescendantRuns, f as countPendingDescendantRunsExcludingRun, g as listDescendantRunsForRequester, h as isSubagentSessionRunActive, l as countActiveDescendantRuns, m as initSubagentRegistry, p as getSubagentRunByRunIdForRead, s as addSubagentRunForTests, u as countActiveRunsForSession, v as markSubagentAnnounceDenied, w as replaceSubagentRunAfterSteer, x as markSubagentRunTerminated, y as markSubagentAnnounceExecuted } from "./monitor-
|
|
10
|
+
import { C as releaseSubagentRun, E as resolveRequesterForChildSession, S as registerSubagentRun, T as resetSubagentRegistryForTests, _ as listSubagentRunsForRequester, b as markSubagentRunForSteerRestart, c as clearSubagentRunSteerRestart, d as countPendingDescendantRuns, f as countPendingDescendantRunsExcludingRun, g as listDescendantRunsForRequester, h as isSubagentSessionRunActive, l as countActiveDescendantRuns, m as initSubagentRegistry, p as getSubagentRunByRunIdForRead, s as addSubagentRunForTests, u as countActiveRunsForSession, v as markSubagentAnnounceDenied, w as replaceSubagentRunAfterSteer, x as markSubagentRunTerminated, y as markSubagentAnnounceExecuted } from "./monitor-BrUwRgsT.js";
|
|
11
11
|
import "./diagnostic-events-CDas3Sai.js";
|
|
12
12
|
import "./chunk-Dbr0Vehe.js";
|
|
13
13
|
import "./tokens-DiBRHqAd.js";
|
|
@@ -15,7 +15,7 @@ import "./session-context-BAIHN7OF.js";
|
|
|
15
15
|
import "./sessions-BzL-aOdL.js";
|
|
16
16
|
import "./redact-CWUfXAQC.js";
|
|
17
17
|
import "./errors-DqDwjxIV.js";
|
|
18
|
-
import "./deliver-
|
|
18
|
+
import "./deliver-CZVPDUrt.js";
|
|
19
19
|
import "./path-alias-guards-Ce7BoDc1.js";
|
|
20
20
|
import "./fs-safe-C-Kpe4rk.js";
|
|
21
21
|
import "./image-ops-aTvAvmEV.js";
|
|
@@ -25,21 +25,21 @@ import "./send-CUz9nJkW.js";
|
|
|
25
25
|
import "./reply-prefix-CxID-d6C.js";
|
|
26
26
|
import "./commands-registry-hpcjcK5a.js";
|
|
27
27
|
import "./thinking-BOHpxvdU.js";
|
|
28
|
-
import "./diagnostic-
|
|
28
|
+
import "./diagnostic-Bi52EuT5.js";
|
|
29
29
|
import "./diagnostic-session-state-Cgs20sNV.js";
|
|
30
|
-
import "./command-queue-
|
|
30
|
+
import "./command-queue-Cm8QKC0F.js";
|
|
31
31
|
import "./user-run-recording-BBuGXUx5.js";
|
|
32
32
|
import "./recorder-XST6kIcp.js";
|
|
33
|
-
import "./agent-turn-runner-
|
|
34
|
-
import "./send-
|
|
33
|
+
import "./agent-turn-runner-CD9Y0Gsf.js";
|
|
34
|
+
import "./send-CcEF6VcP.js";
|
|
35
35
|
import "./pi-model-discovery-BoaDkVwc.js";
|
|
36
|
-
import "./chat-content-
|
|
37
|
-
import "./chrome-
|
|
36
|
+
import "./chat-content-Dpzf2nbZ.js";
|
|
37
|
+
import "./chrome-D9DwZOSC.js";
|
|
38
38
|
import "./skills-CE_rmZvg.js";
|
|
39
39
|
import "./models-config-DqU-TWXh.js";
|
|
40
|
-
import "./audio-transcription-runner-
|
|
41
|
-
import "./pi-embedded-utils-
|
|
42
|
-
import "./provider-image-
|
|
40
|
+
import "./audio-transcription-runner-0gef4Ef0.js";
|
|
41
|
+
import "./pi-embedded-utils-CeNVVYT3.js";
|
|
42
|
+
import "./provider-image-DH8Jro3J.js";
|
|
43
43
|
import "./fetch-_qRMEQ9n.js";
|
|
44
44
|
import "./fetch-guard-WEUniAgf.js";
|
|
45
45
|
import "./proxy-fetch-CboA-o2G.js";
|
|
@@ -48,7 +48,7 @@ import "./markdown-tables-CLYGTk51.js";
|
|
|
48
48
|
import "./ir-Ch3XOsWl.js";
|
|
49
49
|
import "./render-uf6PvGMV.js";
|
|
50
50
|
import "./skill-commands-C8ofD86R.js";
|
|
51
|
-
import "./runs-
|
|
51
|
+
import "./runs-C1Lvxfri.js";
|
|
52
52
|
import "./outbound-attachment-DQCWaSOB.js";
|
|
53
53
|
import "./reply-directives-CLkkbYIs.js";
|
|
54
54
|
import "./channel-activity-DhxIrkzC.js";
|
|
@@ -7,7 +7,7 @@ import "./logger-DyKgSZpY.js";
|
|
|
7
7
|
import "./github-copilot-token-0cZptJ8H.js";
|
|
8
8
|
import "./send-IFL-W_Uo.js";
|
|
9
9
|
import "./send-D_NW7XdG.js";
|
|
10
|
-
import { i as loadOpenClawPlugins, n as toToolDefinitions, r as resolvePluginTools, t as monitorSignalProvider } from "./monitor-
|
|
10
|
+
import { i as loadOpenClawPlugins, n as toToolDefinitions, r as resolvePluginTools, t as monitorSignalProvider } from "./monitor-BrUwRgsT.js";
|
|
11
11
|
import { r as resetDiagnosticEventsForTest } from "./diagnostic-events-CDas3Sai.js";
|
|
12
12
|
import "./chunk-Dbr0Vehe.js";
|
|
13
13
|
import "./tokens-DiBRHqAd.js";
|
|
@@ -15,7 +15,7 @@ import "./session-context-BAIHN7OF.js";
|
|
|
15
15
|
import "./sessions-BzL-aOdL.js";
|
|
16
16
|
import "./redact-CWUfXAQC.js";
|
|
17
17
|
import "./errors-DqDwjxIV.js";
|
|
18
|
-
import "./deliver-
|
|
18
|
+
import "./deliver-CZVPDUrt.js";
|
|
19
19
|
import "./path-alias-guards-Ce7BoDc1.js";
|
|
20
20
|
import "./fs-safe-C-Kpe4rk.js";
|
|
21
21
|
import "./image-ops-aTvAvmEV.js";
|
|
@@ -25,21 +25,21 @@ import "./send-CUz9nJkW.js";
|
|
|
25
25
|
import "./reply-prefix-CxID-d6C.js";
|
|
26
26
|
import "./commands-registry-hpcjcK5a.js";
|
|
27
27
|
import "./thinking-BOHpxvdU.js";
|
|
28
|
-
import "./diagnostic-
|
|
28
|
+
import "./diagnostic-Bi52EuT5.js";
|
|
29
29
|
import "./diagnostic-session-state-Cgs20sNV.js";
|
|
30
|
-
import "./command-queue-
|
|
30
|
+
import "./command-queue-Cm8QKC0F.js";
|
|
31
31
|
import "./user-run-recording-BBuGXUx5.js";
|
|
32
32
|
import "./recorder-XST6kIcp.js";
|
|
33
|
-
import "./agent-turn-runner-
|
|
34
|
-
import "./send-
|
|
33
|
+
import "./agent-turn-runner-CD9Y0Gsf.js";
|
|
34
|
+
import "./send-CcEF6VcP.js";
|
|
35
35
|
import "./pi-model-discovery-BoaDkVwc.js";
|
|
36
|
-
import "./chat-content-
|
|
37
|
-
import "./chrome-
|
|
36
|
+
import "./chat-content-Dpzf2nbZ.js";
|
|
37
|
+
import "./chrome-D9DwZOSC.js";
|
|
38
38
|
import "./skills-CE_rmZvg.js";
|
|
39
39
|
import "./models-config-DqU-TWXh.js";
|
|
40
|
-
import "./audio-transcription-runner-
|
|
41
|
-
import "./pi-embedded-utils-
|
|
42
|
-
import "./provider-image-
|
|
40
|
+
import "./audio-transcription-runner-0gef4Ef0.js";
|
|
41
|
+
import "./pi-embedded-utils-CeNVVYT3.js";
|
|
42
|
+
import "./provider-image-DH8Jro3J.js";
|
|
43
43
|
import "./fetch-_qRMEQ9n.js";
|
|
44
44
|
import "./fetch-guard-WEUniAgf.js";
|
|
45
45
|
import "./proxy-fetch-CboA-o2G.js";
|
|
@@ -48,7 +48,7 @@ import "./markdown-tables-CLYGTk51.js";
|
|
|
48
48
|
import "./ir-Ch3XOsWl.js";
|
|
49
49
|
import "./render-uf6PvGMV.js";
|
|
50
50
|
import "./skill-commands-C8ofD86R.js";
|
|
51
|
-
import "./runs-
|
|
51
|
+
import "./runs-C1Lvxfri.js";
|
|
52
52
|
import "./outbound-attachment-DQCWaSOB.js";
|
|
53
53
|
import "./reply-directives-CLkkbYIs.js";
|
|
54
54
|
import "./channel-activity-DhxIrkzC.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { g as resolveAgentModelPrimaryValue, h as resolveAgentModelFallbackValues } from "./agent-scope-
|
|
3
|
-
import { rt as isRecord } from "./subsystem-
|
|
4
|
-
import { A as requireApiKey, Ca as normalizeSecretInput, O as getApiKeyForModel } from "./model-selection-
|
|
5
|
-
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-
|
|
6
|
-
import { t as ensureOpenClawModelsJson } from "./models-config-
|
|
7
|
-
import { t as extractAssistantText } from "./pi-embedded-utils-
|
|
2
|
+
import { g as resolveAgentModelPrimaryValue, h as resolveAgentModelFallbackValues } from "./agent-scope-DCgndASv.js";
|
|
3
|
+
import { rt as isRecord } from "./subsystem-BZy3aWdW.js";
|
|
4
|
+
import { A as requireApiKey, Ca as normalizeSecretInput, O as getApiKeyForModel } from "./model-selection-BHGpQSa9.js";
|
|
5
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-BaH_6win.js";
|
|
6
|
+
import { t as ensureOpenClawModelsJson } from "./models-config-CJUMccZW.js";
|
|
7
|
+
import { t as extractAssistantText } from "./pi-embedded-utils-BAaHvb5G.js";
|
|
8
8
|
import { complete } from "@mariozechner/pi-ai";
|
|
9
9
|
|
|
10
10
|
//#region src/agents/tools/image-tool.helpers.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { n as makeManagedProxyFetch, r as makeProxyFetch } from "./proxy-fetch-
|
|
2
|
+
import { n as makeManagedProxyFetch, r as makeProxyFetch } from "./proxy-fetch-g109vqdt.js";
|
|
3
3
|
|
|
4
4
|
//#region src/telegram/proxy.ts
|
|
5
5
|
var proxy_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ct as ipMatchesAnyCidr, dt as isCanonicalDottedDecimalIPv4, lt as isBlockedSpecialUseIpv4Address, mt as isLegacyIpv4Literal, pt as isIpv4Address, st as extractEmbeddedIpv4FromIpv6, ut as isBlockedSpecialUseIpv6Address, vt as parseCanonicalIpAddress, yt as parseLooseIpAddress } from "./model-selection-
|
|
1
|
+
import { ct as ipMatchesAnyCidr, dt as isCanonicalDottedDecimalIPv4, lt as isBlockedSpecialUseIpv4Address, mt as isLegacyIpv4Literal, pt as isIpv4Address, st as extractEmbeddedIpv4FromIpv6, ut as isBlockedSpecialUseIpv6Address, vt as parseCanonicalIpAddress, yt as parseLooseIpAddress } from "./model-selection-BHGpQSa9.js";
|
|
2
2
|
import { lookup } from "node:dns";
|
|
3
3
|
import { lookup as lookup$1 } from "node:dns/promises";
|
|
4
4
|
import { Agent } from "undici";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import "./agent-scope-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import { mt as resolvePreferredOpenClawTmpDir } from "./subsystem-
|
|
4
|
-
import "./workspace-
|
|
5
|
-
import "./logger-
|
|
6
|
-
import { yr as formatCliCommand } from "./model-selection-
|
|
7
|
-
import "./github-copilot-token-
|
|
8
|
-
import "./legacy-names-
|
|
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 { i as formatErrorMessage } from "./errors-
|
|
13
|
-
import { s as writeFileFromPathWithinRoot } from "./fs-safe-
|
|
14
|
-
import "./proxy-env-
|
|
1
|
+
import "./agent-scope-DCgndASv.js";
|
|
2
|
+
import "./paths-BIDPYPVC.js";
|
|
3
|
+
import { mt as resolvePreferredOpenClawTmpDir } from "./subsystem-BZy3aWdW.js";
|
|
4
|
+
import "./workspace-Bj1Jegt-.js";
|
|
5
|
+
import "./logger-J4xjy-6D.js";
|
|
6
|
+
import { yr as formatCliCommand } from "./model-selection-BHGpQSa9.js";
|
|
7
|
+
import "./github-copilot-token-DYYKoDuV.js";
|
|
8
|
+
import "./legacy-names-CghFcfry.js";
|
|
9
|
+
import "./redact-DpE5Tg36.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-Bukcguhv.js";
|
|
11
|
+
import "./path-alias-guards-E9ntDORB.js";
|
|
12
|
+
import { i as formatErrorMessage } from "./errors-COs_vQr3.js";
|
|
13
|
+
import { s as writeFileFromPathWithinRoot } from "./fs-safe-BK5ALzKD.js";
|
|
14
|
+
import "./proxy-env-BxR4m86L.js";
|
|
15
15
|
import path from "node:path";
|
|
16
16
|
import fs from "node:fs/promises";
|
|
17
17
|
import crypto from "node:crypto";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { c as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
2
|
-
import { l as resolveStateDir } from "./paths-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { Q as parseAgentSessionKey } from "./workspace-
|
|
5
|
-
import "./logger-
|
|
6
|
-
import "./model-selection-
|
|
7
|
-
import "./github-copilot-token-
|
|
8
|
-
import "./legacy-names-
|
|
9
|
-
import "./redact-
|
|
10
|
-
import "./path-alias-guards-
|
|
11
|
-
import { c as writeFileWithinRoot } from "./fs-safe-
|
|
1
|
+
import { c as resolveAgentWorkspaceDir } from "./agent-scope-DCgndASv.js";
|
|
2
|
+
import { l as resolveStateDir } from "./paths-BIDPYPVC.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-BZy3aWdW.js";
|
|
4
|
+
import { Q as parseAgentSessionKey } from "./workspace-Bj1Jegt-.js";
|
|
5
|
+
import "./logger-J4xjy-6D.js";
|
|
6
|
+
import "./model-selection-BHGpQSa9.js";
|
|
7
|
+
import "./github-copilot-token-DYYKoDuV.js";
|
|
8
|
+
import "./legacy-names-CghFcfry.js";
|
|
9
|
+
import "./redact-DpE5Tg36.js";
|
|
10
|
+
import "./path-alias-guards-E9ntDORB.js";
|
|
11
|
+
import { c as writeFileWithinRoot } from "./fs-safe-BK5ALzKD.js";
|
|
12
12
|
import { n as resolveWindowsSpawnProgram, t as materializeWindowsSpawnProgram } from "./windows-spawn-Dbx8t3Tf.js";
|
|
13
|
-
import { a as resolveSessionMemoryStores, i as listSessionMemoryRows, n as requireNodeSqlite, o as sessionMemorySourceId, r as buildSessionMemoryEntry, t as extractKeywords, v as isFileMissingError, y as statRegularFile } from "./query-expansion-
|
|
13
|
+
import { a as resolveSessionMemoryStores, i as listSessionMemoryRows, n as requireNodeSqlite, o as sessionMemorySourceId, r as buildSessionMemoryEntry, t as extractKeywords, v as isFileMissingError, y as statRegularFile } from "./query-expansion-B_2rETEo.js";
|
|
14
14
|
import path from "node:path";
|
|
15
15
|
import os from "node:os";
|
|
16
16
|
import fs from "node:fs/promises";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Pn as DEFAULT_SESSION_UPDATED_AFTER_PAGE_SIZE, hn as getConfiguredSessionStorageRuntime, ra as runTasksWithConcurrency } from "./model-selection-
|
|
2
|
-
import { t as redactSensitiveText } from "./redact-
|
|
1
|
+
import { Pn as DEFAULT_SESSION_UPDATED_AFTER_PAGE_SIZE, hn as getConfiguredSessionStorageRuntime, ra as runTasksWithConcurrency } from "./model-selection-BHGpQSa9.js";
|
|
2
|
+
import { t as redactSensitiveText } from "./redact-DpE5Tg36.js";
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
import path from "node:path";
|
|
5
|
-
import
|
|
6
|
-
import fs from "node:fs/promises";
|
|
5
|
+
import fs from "node:fs";
|
|
6
|
+
import fs$1 from "node:fs/promises";
|
|
7
7
|
import crypto from "node:crypto";
|
|
8
8
|
|
|
9
9
|
//#region src/memory/fs-utils.ts
|
|
@@ -13,7 +13,7 @@ function isFileMissingError(err) {
|
|
|
13
13
|
async function statRegularFile(absPath) {
|
|
14
14
|
let stat;
|
|
15
15
|
try {
|
|
16
|
-
stat = await fs.lstat(absPath);
|
|
16
|
+
stat = await fs$1.lstat(absPath);
|
|
17
17
|
} catch (err) {
|
|
18
18
|
if (isFileMissingError(err)) return { missing: true };
|
|
19
19
|
throw err;
|
|
@@ -29,7 +29,7 @@ async function statRegularFile(absPath) {
|
|
|
29
29
|
//#region src/memory/internal.ts
|
|
30
30
|
function ensureDir(dir) {
|
|
31
31
|
try {
|
|
32
|
-
|
|
32
|
+
fs.mkdirSync(dir, { recursive: true });
|
|
33
33
|
} catch {}
|
|
34
34
|
return dir;
|
|
35
35
|
}
|
|
@@ -48,7 +48,7 @@ function isMemoryPath(relPath) {
|
|
|
48
48
|
return normalized.startsWith("memory/");
|
|
49
49
|
}
|
|
50
50
|
async function walkDir(dir, files) {
|
|
51
|
-
const entries = await fs.readdir(dir, { withFileTypes: true });
|
|
51
|
+
const entries = await fs$1.readdir(dir, { withFileTypes: true });
|
|
52
52
|
for (const entry of entries) {
|
|
53
53
|
const full = path.join(dir, entry.name);
|
|
54
54
|
if (entry.isSymbolicLink()) continue;
|
|
@@ -68,7 +68,7 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
|
|
|
68
68
|
const memoryDir = path.join(workspaceDir, "memory");
|
|
69
69
|
const addMarkdownFile = async (absPath) => {
|
|
70
70
|
try {
|
|
71
|
-
const stat = await fs.lstat(absPath);
|
|
71
|
+
const stat = await fs$1.lstat(absPath);
|
|
72
72
|
if (stat.isSymbolicLink() || !stat.isFile()) return;
|
|
73
73
|
if (!absPath.endsWith(".md")) return;
|
|
74
74
|
result.push(absPath);
|
|
@@ -77,12 +77,12 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
|
|
|
77
77
|
await addMarkdownFile(memoryFile);
|
|
78
78
|
await addMarkdownFile(altMemoryFile);
|
|
79
79
|
try {
|
|
80
|
-
const dirStat = await fs.lstat(memoryDir);
|
|
80
|
+
const dirStat = await fs$1.lstat(memoryDir);
|
|
81
81
|
if (!dirStat.isSymbolicLink() && dirStat.isDirectory()) await walkDir(memoryDir, result);
|
|
82
82
|
} catch {}
|
|
83
83
|
const normalizedExtraPaths = normalizeExtraMemoryPaths(workspaceDir, extraPaths);
|
|
84
84
|
if (normalizedExtraPaths.length > 0) for (const inputPath of normalizedExtraPaths) try {
|
|
85
|
-
const stat = await fs.lstat(inputPath);
|
|
85
|
+
const stat = await fs$1.lstat(inputPath);
|
|
86
86
|
if (stat.isSymbolicLink()) continue;
|
|
87
87
|
if (stat.isDirectory()) {
|
|
88
88
|
await walkDir(inputPath, result);
|
|
@@ -96,7 +96,7 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
|
|
|
96
96
|
for (const entry of result) {
|
|
97
97
|
let key = entry;
|
|
98
98
|
try {
|
|
99
|
-
key = await fs.realpath(entry);
|
|
99
|
+
key = await fs$1.realpath(entry);
|
|
100
100
|
} catch {}
|
|
101
101
|
if (seen.has(key)) continue;
|
|
102
102
|
seen.add(key);
|
|
@@ -110,14 +110,14 @@ function hashText(value) {
|
|
|
110
110
|
async function buildFileEntry(absPath, workspaceDir) {
|
|
111
111
|
let stat;
|
|
112
112
|
try {
|
|
113
|
-
stat = await fs.stat(absPath);
|
|
113
|
+
stat = await fs$1.stat(absPath);
|
|
114
114
|
} catch (err) {
|
|
115
115
|
if (isFileMissingError(err)) return null;
|
|
116
116
|
throw err;
|
|
117
117
|
}
|
|
118
118
|
let content;
|
|
119
119
|
try {
|
|
120
|
-
content = await fs.readFile(absPath, "utf-8");
|
|
120
|
+
content = await fs$1.readFile(absPath, "utf-8");
|
|
121
121
|
} catch (err) {
|
|
122
122
|
if (isFileMissingError(err)) return null;
|
|
123
123
|
throw err;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { hn as getConfiguredSessionStorageRuntime, un as SessionStorageUnavailableError } from "./model-selection-
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-BZy3aWdW.js";
|
|
2
|
+
import { hn as getConfiguredSessionStorageRuntime, un as SessionStorageUnavailableError } from "./model-selection-BHGpQSa9.js";
|
|
3
3
|
import { t as emitDiagnosticEvent } from "./diagnostic-events-DGRcTqIH.js";
|
|
4
4
|
import { createHash, randomUUID } from "node:crypto";
|
|
5
5
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { r as markdownToSlackMrkdwnChunks, t as sendMessageSlack } from "./send-
|
|
3
|
-
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-
|
|
4
|
-
import { Pt as getGlobalHookRunner } from "./sessions-
|
|
5
|
-
import { i as chunkMarkdownTextWithMode } from "./chunk-
|
|
6
|
-
import { d as resolveOutboundSessionId, n as createMessageSentEmitter, t as applyMessageSendingHook } from "./outbound-message-hooks-
|
|
2
|
+
import { r as markdownToSlackMrkdwnChunks, t as sendMessageSlack } from "./send-bwKTbNlJ.js";
|
|
3
|
+
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-PMai9bNL.js";
|
|
4
|
+
import { Pt as getGlobalHookRunner } from "./sessions-DF9biCmh.js";
|
|
5
|
+
import { i as chunkMarkdownTextWithMode } from "./chunk-CEygNI3g.js";
|
|
6
|
+
import { d as resolveOutboundSessionId, n as createMessageSentEmitter, t as applyMessageSendingHook } from "./outbound-message-hooks-7ErHCBLv.js";
|
|
7
7
|
|
|
8
8
|
//#region src/auto-reply/reply/reply-reference.ts
|
|
9
9
|
function createReplyReferencePlanner(options) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-
|
|
2
|
-
import { o as parseInlineDirectives } from "./sessions-
|
|
1
|
+
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-PMai9bNL.js";
|
|
2
|
+
import { o as parseInlineDirectives } from "./sessions-DF9biCmh.js";
|
|
3
3
|
import { r as parseFenceSpans } from "./fences-RrqZTgHp.js";
|
|
4
4
|
|
|
5
5
|
//#region src/media/audio-tags.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { r as resolveAgentConfig } from "./agent-scope-
|
|
2
|
+
import { r as resolveAgentConfig } from "./agent-scope-DCgndASv.js";
|
|
3
3
|
|
|
4
4
|
//#region src/agents/identity.ts
|
|
5
5
|
const DEFAULT_ACK_REACTION = "👀";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { l as resolveDefaultAgentId } from "./agent-scope-
|
|
3
|
-
import { h as shouldLogVerbose } from "./subsystem-
|
|
4
|
-
import { B as DEFAULT_ACCOUNT_ID, C as buildAgentMainSessionKey, L as sanitizeAgentId, P as resolveCanonicalIdentity, V as normalizeAccountId, b as DEFAULT_MAIN_KEY, j as normalizeAgentId, w as buildAgentPeerSessionKey, y as DEFAULT_AGENT_ID } from "./workspace-
|
|
5
|
-
import { t as logDebug } from "./logger-
|
|
6
|
-
import { cr as listBindings } from "./model-selection-
|
|
2
|
+
import { l as resolveDefaultAgentId } from "./agent-scope-DCgndASv.js";
|
|
3
|
+
import { h as shouldLogVerbose } from "./subsystem-BZy3aWdW.js";
|
|
4
|
+
import { B as DEFAULT_ACCOUNT_ID, C as buildAgentMainSessionKey, L as sanitizeAgentId, P as resolveCanonicalIdentity, V as normalizeAccountId, b as DEFAULT_MAIN_KEY, j as normalizeAgentId, w as buildAgentPeerSessionKey, y as DEFAULT_AGENT_ID } from "./workspace-Bj1Jegt-.js";
|
|
5
|
+
import { t as logDebug } from "./logger-J4xjy-6D.js";
|
|
6
|
+
import { cr as listBindings } from "./model-selection-BHGpQSa9.js";
|
|
7
7
|
import { r as normalizeChatType } from "./conversation-label-CrORLc0j.js";
|
|
8
8
|
|
|
9
9
|
//#region src/routing/resolve-route.ts
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { l as resolveStateDir } from "./paths-
|
|
3
|
-
import { C as appendFileLog } from "./subsystem-
|
|
4
|
-
import { la as isTruthyEnvValue } from "./model-selection-
|
|
5
|
-
import { n as SILENT_REPLY_TOKEN } from "./tokens-
|
|
6
|
-
import { E as normalizeUsage } from "./sessions-
|
|
7
|
-
import { D as refreshRunProgress, c as logModelCallCompleted, p as logSessionStateChange, s as logMessageQueued, t as diag, u as logModelCallStarted } from "./diagnostic-
|
|
2
|
+
import { l as resolveStateDir } from "./paths-BIDPYPVC.js";
|
|
3
|
+
import { C as appendFileLog } from "./subsystem-BZy3aWdW.js";
|
|
4
|
+
import { la as isTruthyEnvValue } from "./model-selection-BHGpQSa9.js";
|
|
5
|
+
import { n as SILENT_REPLY_TOKEN } from "./tokens-PMai9bNL.js";
|
|
6
|
+
import { E as normalizeUsage } from "./sessions-DF9biCmh.js";
|
|
7
|
+
import { D as refreshRunProgress, c as logModelCallCompleted, p as logSessionStateChange, s as logMessageQueued, t as diag, u as logModelCallStarted } from "./diagnostic-DMrDenZI.js";
|
|
8
8
|
import { r as getDiagnosticSessionState } from "./diagnostic-session-state-Bnyx-w0F.js";
|
|
9
|
-
import { o as isMessagingToolDuplicateNormalized, s as normalizeTextForComparison } from "./chat-content-
|
|
10
|
-
import { a as formatReasoningMessage, c as promoteThinkingTagsToBlocks, i as extractThinkingFromTaggedText, n as extractAssistantThinking, r as extractThinkingFromTaggedStream, t as extractAssistantText } from "./pi-embedded-utils-
|
|
9
|
+
import { o as isMessagingToolDuplicateNormalized, s as normalizeTextForComparison } from "./chat-content-CX7Bfpgy.js";
|
|
10
|
+
import { a as formatReasoningMessage, c as promoteThinkingTagsToBlocks, i as extractThinkingFromTaggedText, n as extractAssistantThinking, r as extractThinkingFromTaggedStream, t as extractAssistantText } from "./pi-embedded-utils-BAaHvb5G.js";
|
|
11
11
|
import { r as parseFenceSpans } from "./fences-RrqZTgHp.js";
|
|
12
|
-
import { t as parseReplyDirectives } from "./reply-directives-
|
|
12
|
+
import { t as parseReplyDirectives } from "./reply-directives-BIh2AkNd.js";
|
|
13
13
|
import path from "node:path";
|
|
14
14
|
import { randomUUID } from "node:crypto";
|
|
15
15
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { mt as resolvePreferredOpenClawTmpDir, r as avoidTrailingHighSurrogateBreak } from "./subsystem-
|
|
3
|
-
import { Tr as normalizeDiscordToken, U as loadConfig, b as resolveRetryConfig, wr as resolveDiscordAccount, x as retryAsync } from "./model-selection-
|
|
2
|
+
import { mt as resolvePreferredOpenClawTmpDir, r as avoidTrailingHighSurrogateBreak } from "./subsystem-BZy3aWdW.js";
|
|
3
|
+
import { Tr as normalizeDiscordToken, U as loadConfig, b as resolveRetryConfig, wr as resolveDiscordAccount, x as retryAsync } from "./model-selection-BHGpQSa9.js";
|
|
4
4
|
import { i as requireTargetKind, r as parseMentionPrefixOrAtUserTarget, t as buildMessagingTarget } from "./targets-05TiAkXA.js";
|
|
5
|
-
import { _ as maxBytesForKind, l as extensionForMime } from "./image-ops-
|
|
6
|
-
import { i as chunkMarkdownTextWithMode, l as resolveChunkMode, u as resolveChunkNewlinePacking } from "./chunk-
|
|
7
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
8
|
-
import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-
|
|
5
|
+
import { _ as maxBytesForKind, l as extensionForMime } from "./image-ops-C-5VgbLB.js";
|
|
6
|
+
import { i as chunkMarkdownTextWithMode, l as resolveChunkMode, u as resolveChunkNewlinePacking } from "./chunk-CEygNI3g.js";
|
|
7
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-DfLMw9ti.js";
|
|
8
|
+
import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-DioI2VyB.js";
|
|
9
9
|
import { t as resolveFetch } from "./fetch-BVyUaG_D.js";
|
|
10
|
-
import { a as createDiscordRetryRunner, i as normalizePollInput, n as recordChannelActivity, r as normalizePollDurationHours } from "./channel-activity-
|
|
10
|
+
import { a as createDiscordRetryRunner, i as normalizePollInput, n as recordChannelActivity, r as normalizePollDurationHours } from "./channel-activity-Kn1_ykXE.js";
|
|
11
11
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-CkQ1z00p.js";
|
|
12
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
12
|
+
import { t as convertMarkdownTables } from "./tables-DkwNUhx1.js";
|
|
13
13
|
import path from "node:path";
|
|
14
14
|
import fs from "node:fs/promises";
|
|
15
15
|
import { promisify } from "node:util";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { r as avoidTrailingHighSurrogateBreak } from "./subsystem-
|
|
3
|
-
import { U as loadConfig, mr as resolveSignalAccount } from "./model-selection-
|
|
2
|
+
import { r as avoidTrailingHighSurrogateBreak } from "./subsystem-BZy3aWdW.js";
|
|
3
|
+
import { U as loadConfig, mr as resolveSignalAccount } from "./model-selection-BHGpQSa9.js";
|
|
4
4
|
import { n as generateSecureUuid } from "./secure-random-BEYczWtd.js";
|
|
5
|
-
import { m as kindFromMime } from "./image-ops-
|
|
5
|
+
import { m as kindFromMime } from "./image-ops-C-5VgbLB.js";
|
|
6
6
|
import { n as fetchWithTimeout } from "./fetch-timeout-Dyj5Y_Ss.js";
|
|
7
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
8
|
-
import { n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
7
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-DfLMw9ti.js";
|
|
8
|
+
import { n as markdownToIR, t as chunkMarkdownIR } from "./ir-DioI2VyB.js";
|
|
9
9
|
import { t as resolveFetch } from "./fetch-BVyUaG_D.js";
|
|
10
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
10
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-DtVXUXnX.js";
|
|
11
11
|
|
|
12
12
|
//#region src/signal/format.ts
|
|
13
13
|
function normalizeUrlForComparison(url) {
|