@visorcraft/idlehands 4.0.19 → 4.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{accounts-BDVs8LTu.js → accounts-B8cGzkjD.js} +1 -1
- package/dist/{accounts-Dk8mJIrQ.js → accounts-BQC_GRUB.js} +6 -6
- package/dist/{accounts-CIvVRRHb.js → accounts-D5tB_lO0.js} +1 -1
- package/dist/{agent-scope-DyP_tr7s.js → agent-scope-Bxq1eWbA.js} +4 -4
- package/dist/{agent-via-gateway-B2Z_k_od.js → agent-via-gateway-DHn8V6v4.js} +60 -60
- package/dist/{anton-DsmttQbC.js → anton-Dyz3neEN.js} +5 -5
- package/dist/{audio-preflight-BSlR2jEq.js → audio-preflight-B8qbJcB1.js} +35 -35
- package/dist/{auth-store-DXT-l7fO.js → auth-store-Bb4aajHu.js} +12 -12
- package/dist/{bindings-D3b5Fmc9.js → bindings-CLZIJ0Eo.js} +2 -2
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +60 -60
- package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
- package/dist/bundled/command-logger/handler.js +3 -3
- package/dist/bundled/session-memory/handler.js +60 -60
- package/dist/{channel-activity-D_TMOGQ0.js → channel-activity-DdL3RAv_.js} +3 -3
- package/dist/{chrome-_2tzVjVl.js → chrome-xahUzIaT.js} +17 -17
- package/dist/{chunk-CMpX7Jaz.js → chunk-Djk-9JeT.js} +1 -1
- package/dist/{commands-registry-j4vAzcF2.js → commands-registry-_TBHHpvt.js} +5 -5
- package/dist/{deliver-CVTXl0Cv.js → deliver-CIFO6sel.js} +20 -20
- package/dist/{deps-BAMUVAdU.js → deps-DwTILPLD.js} +6 -6
- package/dist/{diagnostic-4owMk4vH.js → diagnostic-BvlZ0Sot.js} +1 -1
- package/dist/{dock-BgOmHcbh.js → dock-ejUetwTC.js} +6 -6
- package/dist/emergency-stop-C2sJ4lsk.js +113 -0
- package/dist/{env-B5G1qwGc.js → env-q-PhWbb_.js} +1 -1
- package/dist/{errors-C_0nm4TJ.js → errors-C4SHjIZK.js} +1 -1
- package/dist/{fetch-guard-iuQsIjqN.js → fetch-guard-CcfDZXe9.js} +1 -1
- package/dist/{frontmatter-BOudmHMS.js → frontmatter-pTUG4Sx_.js} +2 -2
- package/dist/{fs-safe-CYUaAFO9.js → fs-safe-2l05hI1Y.js} +2 -2
- package/dist/{gemini-auth-CIyaa44H.js → gemini-auth-DLSGffQK.js} +2 -2
- package/dist/{github-copilot-token-Dgt6cnsM.js → github-copilot-token-BjmEQcmi.js} +7 -7
- package/dist/{image-COw__ACq.js → image-D9D-lzCw.js} +6 -6
- package/dist/{image-ops-D1KtygWz.js → image-ops-J8P5zOFm.js} +1 -1
- package/dist/{ir-B7IBoKLy.js → ir-BT5aAdU9.js} +5 -5
- package/dist/llm-slug-generator.js +60 -60
- package/dist/{local-roots-KN4Hp1yZ.js → local-roots-d4y0lvs2.js} +5 -5
- package/dist/{login-CFr5vJmR.js → login-C2X0In6m.js} +6 -6
- package/dist/{login-qr-CFFFOjOl.js → login-qr-C17PY0rr.js} +11 -11
- package/dist/{manager-BE_76jWB.js → manager-CgzA1hKo.js} +15 -15
- package/dist/{markdown-tables-CzsockiZ.js → markdown-tables-R8VTpfE9.js} +1 -1
- package/dist/{message-channel-C8QtrwEU.js → message-channel-ZdI1-uUh.js} +1 -1
- package/dist/{model-selection-1MMYqY6M.js → model-selection-C5hI1dum.js} +41 -41
- package/dist/{outbound-BNh6PpQb.js → outbound-CdY_AskB.js} +6 -6
- package/dist/{outbound-attachment-3I6GzwDe.js → outbound-attachment-IfeZJAKk.js} +2 -2
- package/dist/{path-alias-guards-Cu1nXNMM.js → path-alias-guards-BZmt6hFb.js} +1 -1
- package/dist/{paths-D_qUel1T.js → paths-D3p7ZvM6.js} +3 -3
- package/dist/{paths-BYNVLNi_.js → paths-DQpv9a3Q.js} +5 -5
- package/dist/{pi-embedded-helpers-CyTpDKo5.js → pi-embedded-helpers-CUoUoEEN.js} +24 -24
- package/dist/{pi-embedded-BeyOxL6U.js → pi-embedded-k2mZJOsr.js} +179 -179
- package/dist/{pi-model-discovery-Bb__OY-j.js → pi-model-discovery-Dlx4RLWo.js} +7 -7
- package/dist/{plugins-CRB60mCJ.js → plugins-DYr-HHj0.js} +10 -10
- package/dist/{pw-ai-CowTfhOG.js → pw-ai-CnvVtt_s.js} +13 -13
- package/dist/{qmd-manager-B_GgyQQ0.js → qmd-manager-BRvg3Rx2.js} +8 -8
- package/dist/{query-expansion-DEq020GG.js → query-expansion-DHuNyU-_.js} +5 -5
- package/dist/{redact-Bvpf-ATQ.js → redact-1Y0KPNtr.js} +1 -1
- package/dist/{replies-6_GxvQYe.js → replies-2C16fnBP.js} +3 -3
- package/dist/{reply-prefix-BUgeSN2R.js → reply-prefix-DCljZiIB.js} +1 -1
- package/dist/{resolve-route-DuttYY7A.js → resolve-route-ClcifpKn.js} +4 -4
- package/dist/{retry-BeB9WenR.js → retry-CG6cMRDQ.js} +1 -1
- package/dist/{runner-BzNdfqDz.js → runner-DjDddZhb.js} +11 -11
- package/dist/{send-D4bMycQu.js → send-BOxJ4QXF.js} +7 -7
- package/dist/{send-BeIZJuy4.js → send-DZa8fWSm.js} +7 -7
- package/dist/{send-Dfa3sn6r.js → send-FLdrx-oF.js} +24 -24
- package/dist/{send-DmLC7aEF.js → send-IlPMLAH-.js} +10 -10
- package/dist/{send-C1hvd3bt.js → send-Y1hD4tQ1.js} +6 -6
- package/dist/{session-F_YDS_1V.js → session-nUPBXeEa.js} +7 -7
- package/dist/{sessions-3ioSeOA1.js → sessions-DRA4oaxz.js} +41 -41
- package/dist/{skill-commands-Ck3flWX7.js → skill-commands-BHTBXXVn.js} +9 -9
- package/dist/{skills-CnAPWfca.js → skills-umlGvChF.js} +22 -22
- package/dist/{store-CvMgrKWx.js → store-D-ZicQeo.js} +2 -2
- package/dist/{subsystem-tzu-rIAJ.js → subsystem-D7ZepYT1.js} +1 -1
- package/dist/{tables-5k-zOZ-s.js → tables-Co_R_WKs.js} +1 -1
- package/dist/{target-errors-BPfQrPim.js → target-errors-B1mcM4WR.js} +2 -2
- package/dist/{tokens-BRLyURxW.js → tokens-DGajj8M9.js} +1 -1
- package/dist/{tool-images-CcGZpzmq.js → tool-images-Duuqr4bN.js} +2 -2
- package/dist/{tool-loop-detection-BNGetx3Z.js → tool-loop-detection-CjWRg_4q.js} +3 -3
- package/dist/{utils-CTFLl_ji.js → utils-D9wGoiU9.js} +18 -18
- package/dist/{web-Csmkqx1W.js → web-t3fXJTeB.js} +66 -66
- package/dist/{whatsapp-actions-DbPcN6JQ.js → whatsapp-actions-BJ6kVDXi.js} +25 -25
- package/dist/{workspace-DBFSzT6O.js → workspace-tAtkoD_r.js} +18 -18
- package/extensions/acpx/package.json +1 -1
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/hand/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +12 -0
- 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-portal-auth/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +12 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +12 -0
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/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 +12 -0
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +12 -0
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +12 -0
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +12 -0
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
- package/dist/emergency-stop-BldYLJq7.js +0 -113
|
@@ -1,78 +1,78 @@
|
|
|
1
|
-
import "./agent-scope-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { A as shouldLogVerbose, D as logVerbose, I as getChildLogger, d as normalizeE164, l as isSelfChatMode, m as resolveJidToE164, n as clamp, u as jidToE164, x as toWhatsappJid, y as sleep } from "./utils-
|
|
1
|
+
import "./agent-scope-Bxq1eWbA.js";
|
|
2
|
+
import "./paths-DQpv9a3Q.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-D7ZepYT1.js";
|
|
4
|
+
import { A as shouldLogVerbose, D as logVerbose, I as getChildLogger, d as normalizeE164, l as isSelfChatMode, m as resolveJidToE164, n as clamp, u as jidToE164, x as toWhatsappJid, y as sleep } from "./utils-D9wGoiU9.js";
|
|
5
5
|
import { n as defaultRuntime } from "./runtime-8mi3mpYB.js";
|
|
6
6
|
import { a as buildGroupHistoryKey, n as DEFAULT_MAIN_KEY, r as buildAgentMainSessionKey, s as normalizeAgentId } from "./session-key-CuLPSMu_.js";
|
|
7
|
-
import "./workspace-
|
|
8
|
-
import { R as loadConfig } from "./model-selection-
|
|
9
|
-
import "./github-copilot-token-
|
|
7
|
+
import "./workspace-tAtkoD_r.js";
|
|
8
|
+
import { R as loadConfig } from "./model-selection-C5hI1dum.js";
|
|
9
|
+
import "./github-copilot-token-BjmEQcmi.js";
|
|
10
10
|
import { t as formatCliCommand } from "./command-format-BAxx4PW5.js";
|
|
11
11
|
import "./boolean-CE7i9tBR.js";
|
|
12
|
-
import "./env-
|
|
13
|
-
import { a as resolveChannelGroupRequireMention, i as resolveChannelGroupPolicy } from "./dock-
|
|
14
|
-
import "./tokens-
|
|
15
|
-
import { A as formatDurationPrecise, C as resolveInboundDebounceMs, D as getReplyFromConfig, E as createDedupeCache, L as buildMentionRegexes, M as hasControlCommand, N as shouldComputeCommandAuthorized, O as normalizeGroupActivation, R as normalizeMentionText, S as createInboundDebouncer, T as resolveEnvelopeFormatOptions, _ as resolveDmGroupAccessWithLists, b as dispatchReplyWithBufferedBlockDispatcher, c as resolveMentionGating, d as recordPendingHistoryEntryIfEnabled, f as resolveDefaultGroupPolicy, g as resolveDmGroupAccessWithCommandGate, h as readStoreAllowFromForDmPolicy, i as sleepWithAbort, j as enqueueSystemEvent, k as parseActivationCommand, l as DEFAULT_GROUP_HISTORY_LIMIT, m as warnMissingProviderGroupPolicyFallbackOnce, p as resolveOpenProviderRuntimeGroupPolicy, r as computeBackoff, s as buildPairingReply, u as buildHistoryContextFromEntries, w as formatInboundEnvelope, y as shouldAckReactionForWhatsApp } from "./pi-embedded-
|
|
16
|
-
import "./plugins-
|
|
17
|
-
import { n as resolveWhatsAppAccount } from "./accounts-
|
|
18
|
-
import "./bindings-
|
|
19
|
-
import { i as logWebSelfId, l as readWebSelfId, n as getWebAuthAgeMs, p as webAuthExists, s as pickWebChannel, t as WA_WEB_AUTH_DIR } from "./auth-store-
|
|
20
|
-
import "./send-
|
|
21
|
-
import "./send-
|
|
22
|
-
import "./deliver-
|
|
23
|
-
import "./diagnostic-
|
|
12
|
+
import "./env-q-PhWbb_.js";
|
|
13
|
+
import { a as resolveChannelGroupRequireMention, i as resolveChannelGroupPolicy } from "./dock-ejUetwTC.js";
|
|
14
|
+
import "./tokens-DGajj8M9.js";
|
|
15
|
+
import { A as formatDurationPrecise, C as resolveInboundDebounceMs, D as getReplyFromConfig, E as createDedupeCache, L as buildMentionRegexes, M as hasControlCommand, N as shouldComputeCommandAuthorized, O as normalizeGroupActivation, R as normalizeMentionText, S as createInboundDebouncer, T as resolveEnvelopeFormatOptions, _ as resolveDmGroupAccessWithLists, b as dispatchReplyWithBufferedBlockDispatcher, c as resolveMentionGating, d as recordPendingHistoryEntryIfEnabled, f as resolveDefaultGroupPolicy, g as resolveDmGroupAccessWithCommandGate, h as readStoreAllowFromForDmPolicy, i as sleepWithAbort, j as enqueueSystemEvent, k as parseActivationCommand, l as DEFAULT_GROUP_HISTORY_LIMIT, m as warnMissingProviderGroupPolicyFallbackOnce, p as resolveOpenProviderRuntimeGroupPolicy, r as computeBackoff, s as buildPairingReply, u as buildHistoryContextFromEntries, w as formatInboundEnvelope, y as shouldAckReactionForWhatsApp } from "./pi-embedded-k2mZJOsr.js";
|
|
16
|
+
import "./plugins-DYr-HHj0.js";
|
|
17
|
+
import { n as resolveWhatsAppAccount } from "./accounts-BQC_GRUB.js";
|
|
18
|
+
import "./bindings-CLZIJ0Eo.js";
|
|
19
|
+
import { i as logWebSelfId, l as readWebSelfId, n as getWebAuthAgeMs, p as webAuthExists, s as pickWebChannel, t as WA_WEB_AUTH_DIR } from "./auth-store-Bb4aajHu.js";
|
|
20
|
+
import "./send-DZa8fWSm.js";
|
|
21
|
+
import "./send-IlPMLAH-.js";
|
|
22
|
+
import "./deliver-CIFO6sel.js";
|
|
23
|
+
import "./diagnostic-BvlZ0Sot.js";
|
|
24
24
|
import "./diagnostic-session-state-BGF2r-kt.js";
|
|
25
|
-
import "./accounts-
|
|
26
|
-
import { J as toLocationContext, Q as upsertChannelPairingRequest, q as formatLocationText } from "./send-
|
|
27
|
-
import "./image-ops-
|
|
28
|
-
import "./pi-model-discovery-
|
|
29
|
-
import "./message-channel-
|
|
30
|
-
import "./pi-embedded-helpers-
|
|
31
|
-
import "./chrome-
|
|
25
|
+
import "./accounts-B8cGzkjD.js";
|
|
26
|
+
import { J as toLocationContext, Q as upsertChannelPairingRequest, q as formatLocationText } from "./send-FLdrx-oF.js";
|
|
27
|
+
import "./image-ops-J8P5zOFm.js";
|
|
28
|
+
import "./pi-model-discovery-Dlx4RLWo.js";
|
|
29
|
+
import "./message-channel-ZdI1-uUh.js";
|
|
30
|
+
import "./pi-embedded-helpers-CUoUoEEN.js";
|
|
31
|
+
import "./chrome-xahUzIaT.js";
|
|
32
32
|
import "./ssrf-CZeHDwVZ.js";
|
|
33
|
-
import "./frontmatter-
|
|
34
|
-
import "./skills-
|
|
35
|
-
import "./path-alias-guards-
|
|
36
|
-
import "./redact-
|
|
37
|
-
import "./errors-
|
|
38
|
-
import "./fs-safe-
|
|
39
|
-
import { r as saveMediaBuffer } from "./store-
|
|
40
|
-
import { K as resolveGroupSessionKey, c as readSessionUpdatedAt, d as updateLastRoute, l as recordSessionMetaFromInbound, s as loadSessionStore } from "./sessions-
|
|
41
|
-
import "./accounts-
|
|
42
|
-
import { u as resolveStorePath } from "./paths-
|
|
43
|
-
import "./tool-images-
|
|
33
|
+
import "./frontmatter-pTUG4Sx_.js";
|
|
34
|
+
import "./skills-umlGvChF.js";
|
|
35
|
+
import "./path-alias-guards-BZmt6hFb.js";
|
|
36
|
+
import "./redact-1Y0KPNtr.js";
|
|
37
|
+
import "./errors-C4SHjIZK.js";
|
|
38
|
+
import "./fs-safe-2l05hI1Y.js";
|
|
39
|
+
import { r as saveMediaBuffer } from "./store-D-ZicQeo.js";
|
|
40
|
+
import { K as resolveGroupSessionKey, c as readSessionUpdatedAt, d as updateLastRoute, l as recordSessionMetaFromInbound, s as loadSessionStore } from "./sessions-DRA4oaxz.js";
|
|
41
|
+
import "./accounts-D5tB_lO0.js";
|
|
42
|
+
import { u as resolveStorePath } from "./paths-D3p7ZvM6.js";
|
|
43
|
+
import "./tool-images-Duuqr4bN.js";
|
|
44
44
|
import "./thinking-z4_linel.js";
|
|
45
|
-
import "./image-
|
|
46
|
-
import { c as resolveIdentityNamePrefix, l as resolveMessagePrefix, t as createReplyPrefixOptions } from "./reply-prefix-
|
|
47
|
-
import "./manager-
|
|
48
|
-
import "./gemini-auth-
|
|
49
|
-
import "./fetch-guard-
|
|
50
|
-
import "./query-expansion-
|
|
51
|
-
import "./retry-
|
|
52
|
-
import "./target-errors-
|
|
53
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-
|
|
54
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
55
|
-
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
56
|
-
import { a as loadWebMedia } from "./ir-
|
|
45
|
+
import "./image-D9D-lzCw.js";
|
|
46
|
+
import { c as resolveIdentityNamePrefix, l as resolveMessagePrefix, t as createReplyPrefixOptions } from "./reply-prefix-DCljZiIB.js";
|
|
47
|
+
import "./manager-CgzA1hKo.js";
|
|
48
|
+
import "./gemini-auth-DLSGffQK.js";
|
|
49
|
+
import "./fetch-guard-CcfDZXe9.js";
|
|
50
|
+
import "./query-expansion-DHuNyU-_.js";
|
|
51
|
+
import "./retry-CG6cMRDQ.js";
|
|
52
|
+
import "./target-errors-B1mcM4WR.js";
|
|
53
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-Djk-9JeT.js";
|
|
54
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-R8VTpfE9.js";
|
|
55
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-d4y0lvs2.js";
|
|
56
|
+
import { a as loadWebMedia } from "./ir-BT5aAdU9.js";
|
|
57
57
|
import "./render-MTSxc7LK.js";
|
|
58
|
-
import "./commands-registry-
|
|
59
|
-
import "./skill-commands-
|
|
58
|
+
import "./commands-registry-_TBHHpvt.js";
|
|
59
|
+
import "./skill-commands-BHTBXXVn.js";
|
|
60
60
|
import { t as finalizeInboundContext } from "./inbound-context-BYczzTII.js";
|
|
61
|
-
import { p as registerUnhandledRejectionHandler } from "./runner-
|
|
61
|
+
import { p as registerUnhandledRejectionHandler } from "./runner-DjDddZhb.js";
|
|
62
62
|
import "./fetch-CsfR_943.js";
|
|
63
|
-
import { n as recordChannelActivity } from "./channel-activity-
|
|
64
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
65
|
-
import "./send-
|
|
66
|
-
import "./outbound-attachment-
|
|
67
|
-
import "./send-
|
|
68
|
-
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-
|
|
63
|
+
import { n as recordChannelActivity } from "./channel-activity-DdL3RAv_.js";
|
|
64
|
+
import { t as convertMarkdownTables } from "./tables-Co_R_WKs.js";
|
|
65
|
+
import "./send-Y1hD4tQ1.js";
|
|
66
|
+
import "./outbound-attachment-IfeZJAKk.js";
|
|
67
|
+
import "./send-BOxJ4QXF.js";
|
|
68
|
+
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-ClcifpKn.js";
|
|
69
69
|
import { r as setActiveWebListener } from "./active-listener-jilCMH1M.js";
|
|
70
70
|
import "./proxy-CRB9oCP5.js";
|
|
71
|
-
import "./replies-
|
|
72
|
-
import "./deps-
|
|
73
|
-
import { i as markdownToWhatsApp, n as sendMessageWhatsApp, r as sendReactionWhatsApp } from "./outbound-
|
|
74
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
75
|
-
import { t as loginWeb } from "./login-
|
|
71
|
+
import "./replies-2C16fnBP.js";
|
|
72
|
+
import "./deps-DwTILPLD.js";
|
|
73
|
+
import { i as markdownToWhatsApp, n as sendMessageWhatsApp, r as sendReactionWhatsApp } from "./outbound-CdY_AskB.js";
|
|
74
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-nUPBXeEa.js";
|
|
75
|
+
import { t as loginWeb } from "./login-C2X0In6m.js";
|
|
76
76
|
import { randomUUID } from "node:crypto";
|
|
77
77
|
import { DisconnectReason, downloadMediaMessage, extractMessageContent, getContentType, isJidGroup, normalizeMessageContent } from "@whiskeysockets/baileys";
|
|
78
78
|
|
|
@@ -864,10 +864,10 @@ async function monitorWebInbox(options) {
|
|
|
864
864
|
};
|
|
865
865
|
const stopText = (inboundMessage.body ?? "").trim();
|
|
866
866
|
if (stopText) {
|
|
867
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
867
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-C2sJ4lsk.js");
|
|
868
868
|
if (isAbortRequestText(stopText)) {
|
|
869
|
-
const { loadConfig: loadCfg } = await import("./model-selection-
|
|
870
|
-
const { resolveAgentRoute } = await import("./resolve-route-
|
|
869
|
+
const { loadConfig: loadCfg } = await import("./model-selection-C5hI1dum.js").then((n) => n.I);
|
|
870
|
+
const { resolveAgentRoute } = await import("./resolve-route-ClcifpKn.js").then((n) => n.r);
|
|
871
871
|
const freshCfg = loadCfg();
|
|
872
872
|
const route = resolveAgentRoute({
|
|
873
873
|
cfg: freshCfg,
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import "./agent-scope-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import "./subsystem-
|
|
4
|
-
import "./utils-
|
|
1
|
+
import "./agent-scope-Bxq1eWbA.js";
|
|
2
|
+
import "./paths-DQpv9a3Q.js";
|
|
3
|
+
import "./subsystem-D7ZepYT1.js";
|
|
4
|
+
import "./utils-D9wGoiU9.js";
|
|
5
5
|
import "./runtime-8mi3mpYB.js";
|
|
6
|
-
import "./workspace-
|
|
7
|
-
import "./model-selection-
|
|
8
|
-
import "./github-copilot-token-
|
|
6
|
+
import "./workspace-tAtkoD_r.js";
|
|
7
|
+
import "./model-selection-C5hI1dum.js";
|
|
8
|
+
import "./github-copilot-token-BjmEQcmi.js";
|
|
9
9
|
import "./boolean-CE7i9tBR.js";
|
|
10
|
-
import "./env-
|
|
11
|
-
import { a as normalizeWhatsAppTarget, i as isWhatsAppGroupJid } from "./plugins-
|
|
12
|
-
import { n as resolveWhatsAppAccount } from "./accounts-
|
|
13
|
-
import "./bindings-
|
|
14
|
-
import "./auth-store-
|
|
15
|
-
import "./image-ops-
|
|
16
|
-
import "./message-channel-
|
|
10
|
+
import "./env-q-PhWbb_.js";
|
|
11
|
+
import { a as normalizeWhatsAppTarget, i as isWhatsAppGroupJid } from "./plugins-DYr-HHj0.js";
|
|
12
|
+
import { n as resolveWhatsAppAccount } from "./accounts-BQC_GRUB.js";
|
|
13
|
+
import "./bindings-CLZIJ0Eo.js";
|
|
14
|
+
import "./auth-store-Bb4aajHu.js";
|
|
15
|
+
import "./image-ops-J8P5zOFm.js";
|
|
16
|
+
import "./message-channel-ZdI1-uUh.js";
|
|
17
17
|
import "./ssrf-CZeHDwVZ.js";
|
|
18
|
-
import "./path-alias-guards-
|
|
19
|
-
import "./fs-safe-
|
|
20
|
-
import "./tool-images-
|
|
21
|
-
import "./fetch-guard-
|
|
22
|
-
import { a as createActionGate, c as jsonResult, d as readReactionParams, i as ToolAuthorizationError, m as readStringParam, n as missingTargetError } from "./target-errors-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./markdown-tables-
|
|
25
|
-
import "./local-roots-
|
|
26
|
-
import "./ir-
|
|
18
|
+
import "./path-alias-guards-BZmt6hFb.js";
|
|
19
|
+
import "./fs-safe-2l05hI1Y.js";
|
|
20
|
+
import "./tool-images-Duuqr4bN.js";
|
|
21
|
+
import "./fetch-guard-CcfDZXe9.js";
|
|
22
|
+
import { a as createActionGate, c as jsonResult, d as readReactionParams, i as ToolAuthorizationError, m as readStringParam, n as missingTargetError } from "./target-errors-B1mcM4WR.js";
|
|
23
|
+
import "./chunk-Djk-9JeT.js";
|
|
24
|
+
import "./markdown-tables-R8VTpfE9.js";
|
|
25
|
+
import "./local-roots-d4y0lvs2.js";
|
|
26
|
+
import "./ir-BT5aAdU9.js";
|
|
27
27
|
import "./render-MTSxc7LK.js";
|
|
28
|
-
import "./tables-
|
|
29
|
-
import { r as sendReactionWhatsApp } from "./outbound-
|
|
28
|
+
import "./tables-Co_R_WKs.js";
|
|
29
|
+
import { r as sendReactionWhatsApp } from "./outbound-CdY_AskB.js";
|
|
30
30
|
|
|
31
31
|
//#region src/whatsapp/resolve-outbound-target.ts
|
|
32
32
|
function resolveWhatsAppOutboundTarget(params) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { m as resolveRequiredHomeDir } from "./paths-
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { A as shouldLogVerbose, L as getLogger, M as warn, O as logVerboseConsole, T as info, f as pathExists$1, h as resolveUserPath, w as danger } from "./utils-
|
|
1
|
+
import { m as resolveRequiredHomeDir } from "./paths-DQpv9a3Q.js";
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-D7ZepYT1.js";
|
|
3
|
+
import { A as shouldLogVerbose, L as getLogger, M as warn, O as logVerboseConsole, T as info, f as pathExists$1, h as resolveUserPath, w as danger } from "./utils-D9wGoiU9.js";
|
|
4
4
|
import { n as defaultRuntime } from "./runtime-8mi3mpYB.js";
|
|
5
5
|
import { b as isSubagentSessionKey, y as isCronSessionKey } from "./session-key-CuLPSMu_.js";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
7
7
|
import os from "node:os";
|
|
8
8
|
import path from "node:path";
|
|
9
|
-
import
|
|
9
|
+
import fs$1 from "node:fs";
|
|
10
10
|
import { promisify } from "node:util";
|
|
11
11
|
import { execFile, spawn } from "node:child_process";
|
|
12
12
|
import { fileURLToPath } from "node:url";
|
|
@@ -226,7 +226,7 @@ function resolveBoundaryPathLexicalSync(params) {
|
|
|
226
226
|
lexicalCursor = path.join(lexicalCursor, segment);
|
|
227
227
|
let stat;
|
|
228
228
|
try {
|
|
229
|
-
stat =
|
|
229
|
+
stat = fs$1.lstatSync(lexicalCursor);
|
|
230
230
|
} catch (error) {
|
|
231
231
|
if (isNotFoundPathError(error)) {
|
|
232
232
|
const missingSuffix = segments.slice(idx);
|
|
@@ -332,15 +332,15 @@ function resolvePathViaExistingAncestorSync(targetPath) {
|
|
|
332
332
|
const normalized = path.resolve(targetPath);
|
|
333
333
|
let cursor = normalized;
|
|
334
334
|
const missingSuffix = [];
|
|
335
|
-
while (!isFilesystemRoot(cursor) && !
|
|
335
|
+
while (!isFilesystemRoot(cursor) && !fs$1.existsSync(cursor)) {
|
|
336
336
|
missingSuffix.unshift(path.basename(cursor));
|
|
337
337
|
const parent = path.dirname(cursor);
|
|
338
338
|
if (parent === cursor) break;
|
|
339
339
|
cursor = parent;
|
|
340
340
|
}
|
|
341
|
-
if (!
|
|
341
|
+
if (!fs$1.existsSync(cursor)) return normalized;
|
|
342
342
|
try {
|
|
343
|
-
const resolvedAncestor = path.resolve(
|
|
343
|
+
const resolvedAncestor = path.resolve(fs$1.realpathSync(cursor));
|
|
344
344
|
if (missingSuffix.length === 0) return resolvedAncestor;
|
|
345
345
|
return path.resolve(resolvedAncestor, ...missingSuffix);
|
|
346
346
|
} catch {
|
|
@@ -365,7 +365,7 @@ function getPathKindSync(absolutePath, preserveFinalSymlink) {
|
|
|
365
365
|
try {
|
|
366
366
|
return {
|
|
367
367
|
exists: true,
|
|
368
|
-
kind: toResolvedKind(preserveFinalSymlink ?
|
|
368
|
+
kind: toResolvedKind(preserveFinalSymlink ? fs$1.lstatSync(absolutePath) : fs$1.statSync(absolutePath))
|
|
369
369
|
};
|
|
370
370
|
} catch (error) {
|
|
371
371
|
if (isNotFoundPathError(error)) return {
|
|
@@ -425,10 +425,10 @@ async function resolveSymlinkHopPath(symlinkPath) {
|
|
|
425
425
|
}
|
|
426
426
|
function resolveSymlinkHopPathSync(symlinkPath) {
|
|
427
427
|
try {
|
|
428
|
-
return path.resolve(
|
|
428
|
+
return path.resolve(fs$1.realpathSync(symlinkPath));
|
|
429
429
|
} catch (error) {
|
|
430
430
|
if (!isNotFoundPathError(error)) throw error;
|
|
431
|
-
const linkTarget =
|
|
431
|
+
const linkTarget = fs$1.readlinkSync(symlinkPath);
|
|
432
432
|
return resolvePathViaExistingAncestorSync(path.resolve(path.dirname(symlinkPath), linkTarget));
|
|
433
433
|
}
|
|
434
434
|
}
|
|
@@ -454,7 +454,7 @@ function sameFileIdentity(left, right) {
|
|
|
454
454
|
return sameFileIdentity$1(left, right);
|
|
455
455
|
}
|
|
456
456
|
function openVerifiedFileSync(params) {
|
|
457
|
-
const ioFs = params.ioFs ??
|
|
457
|
+
const ioFs = params.ioFs ?? fs$1;
|
|
458
458
|
const openReadFlags = ioFs.constants.O_RDONLY | (typeof ioFs.constants.O_NOFOLLOW === "number" ? ioFs.constants.O_NOFOLLOW : 0);
|
|
459
459
|
let fd = null;
|
|
460
460
|
try {
|
|
@@ -526,7 +526,7 @@ function canUseBoundaryFileOpen(ioFs) {
|
|
|
526
526
|
return typeof ioFs.openSync === "function" && typeof ioFs.closeSync === "function" && typeof ioFs.fstatSync === "function" && typeof ioFs.lstatSync === "function" && typeof ioFs.realpathSync === "function" && typeof ioFs.readFileSync === "function" && typeof ioFs.constants === "object" && ioFs.constants !== null;
|
|
527
527
|
}
|
|
528
528
|
function openBoundaryFileSync(params) {
|
|
529
|
-
const ioFs = params.ioFs ??
|
|
529
|
+
const ioFs = params.ioFs ?? fs$1;
|
|
530
530
|
const absolutePath = path.resolve(params.absolutePath);
|
|
531
531
|
let resolvedPath;
|
|
532
532
|
let rootRealPath;
|
|
@@ -864,7 +864,7 @@ async function readPackageName(dir) {
|
|
|
864
864
|
}
|
|
865
865
|
function readPackageNameSync(dir) {
|
|
866
866
|
try {
|
|
867
|
-
const raw =
|
|
867
|
+
const raw = fs$1.readFileSync(path.join(dir, "package.json"), "utf-8");
|
|
868
868
|
const parsed = JSON.parse(raw);
|
|
869
869
|
return typeof parsed.name === "string" ? parsed.name : null;
|
|
870
870
|
} catch {
|
|
@@ -898,7 +898,7 @@ function candidateDirsFromArgv1(argv1) {
|
|
|
898
898
|
const normalized = path.resolve(argv1);
|
|
899
899
|
const candidates = [path.dirname(normalized)];
|
|
900
900
|
try {
|
|
901
|
-
const resolved =
|
|
901
|
+
const resolved = fs$1.realpathSync(normalized);
|
|
902
902
|
if (resolved !== normalized) candidates.push(path.dirname(resolved));
|
|
903
903
|
} catch {}
|
|
904
904
|
const parts = normalized.split(path.sep);
|
|
@@ -1010,14 +1010,14 @@ async function readWorkspaceFileWithGuards(params) {
|
|
|
1010
1010
|
const identity = workspaceFileIdentity(opened.stat, opened.path);
|
|
1011
1011
|
const cached = workspaceFileCache.get(params.filePath);
|
|
1012
1012
|
if (cached && cached.identity === identity) {
|
|
1013
|
-
|
|
1013
|
+
fs$1.closeSync(opened.fd);
|
|
1014
1014
|
return {
|
|
1015
1015
|
ok: true,
|
|
1016
1016
|
content: cached.content
|
|
1017
1017
|
};
|
|
1018
1018
|
}
|
|
1019
1019
|
try {
|
|
1020
|
-
const content =
|
|
1020
|
+
const content = fs$1.readFileSync(opened.fd, "utf-8");
|
|
1021
1021
|
workspaceFileCache.set(params.filePath, {
|
|
1022
1022
|
content,
|
|
1023
1023
|
identity
|
|
@@ -1034,7 +1034,7 @@ async function readWorkspaceFileWithGuards(params) {
|
|
|
1034
1034
|
error
|
|
1035
1035
|
};
|
|
1036
1036
|
} finally {
|
|
1037
|
-
|
|
1037
|
+
fs$1.closeSync(opened.fd);
|
|
1038
1038
|
}
|
|
1039
1039
|
}
|
|
1040
1040
|
function stripFrontMatter(content) {
|