@visorcraft/idlehands 4.2.0 → 4.2.2
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-BlHH-u_r.js} +1 -1
- package/dist/{accounts-Dk8mJIrQ.js → accounts-DLL4jMvc.js} +2 -2
- package/dist/{accounts-CIvVRRHb.js → accounts-DOlh6RqB.js} +1 -1
- package/dist/{agent-scope-DyP_tr7s.js → agent-scope-CSFjmUrH.js} +3 -3
- package/dist/{agent-via-gateway-CUtzJXBE.js → agent-via-gateway-Bf6TEh2k.js} +57 -57
- package/dist/{anton-CoGaJdTU.js → anton-CuLeFevj.js} +4 -4
- package/dist/{audio-preflight-CW8IH1lU.js → audio-preflight-9inwhXLH.js} +32 -32
- package/dist/{auth-store-DXT-l7fO.js → auth-store-bL1LNwm5.js} +1 -1
- package/dist/{bindings-D3b5Fmc9.js → bindings-av9-yFB3.js} +2 -2
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +57 -57
- package/dist/bundled/bootstrap-extra-files/handler.js +4 -4
- package/dist/bundled/command-logger/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +57 -57
- package/dist/{channel-activity-D_TMOGQ0.js → channel-activity-Df_QWn3k.js} +3 -3
- package/dist/{chrome-BcJB6PcM.js → chrome-DkhJIPqM.js} +6 -6
- package/dist/{chunk-CMpX7Jaz.js → chunk-CgCAeFdA.js} +1 -1
- package/dist/{commands-registry-j4vAzcF2.js → commands-registry-CowrfO43.js} +5 -5
- package/dist/{deliver-BUiQ-9fE.js → deliver-l8EA_rIo.js} +10 -10
- package/dist/{deps-B4J8H6nI.js → deps-B1l5WEJq.js} +6 -6
- package/dist/{diagnostic-4owMk4vH.js → diagnostic-DUpiGDI6.js} +1 -1
- package/dist/{dock-BgOmHcbh.js → dock-4HLkEWeL.js} +6 -6
- package/dist/emergency-stop-Br57IwSQ.js +113 -0
- package/dist/{env-B5G1qwGc.js → env-BtjfGfYS.js} +1 -1
- package/dist/{errors-C_0nm4TJ.js → errors-XpvBRvrk.js} +1 -1
- package/dist/{fetch-guard-iuQsIjqN.js → fetch-guard-BdcyjI44.js} +1 -1
- package/dist/{frontmatter-BOudmHMS.js → frontmatter-CNT2SLK9.js} +2 -2
- package/dist/{fs-safe-CYUaAFO9.js → fs-safe-qiODuhN1.js} +2 -2
- package/dist/{gemini-auth-CIyaa44H.js → gemini-auth-DcQhBD_n.js} +2 -2
- package/dist/{image-D8b_rlQC.js → image-D_PnW33c.js} +6 -6
- package/dist/{image-ops-D1KtygWz.js → image-ops-CVPIEkjZ.js} +1 -1
- package/dist/{ir-B7IBoKLy.js → ir-z6aop5rJ.js} +5 -5
- package/dist/llm-slug-generator.js +57 -57
- package/dist/{local-roots-KN4Hp1yZ.js → local-roots-czSWcF7i.js} +4 -4
- package/dist/{login-CFr5vJmR.js → login-CUJ4A8gi.js} +6 -6
- package/dist/{login-qr-CFFFOjOl.js → login-qr-BTJ95win.js} +9 -9
- package/dist/{manager-BE_76jWB.js → manager-BZ0tYOnu.js} +10 -10
- package/dist/{markdown-tables-CzsockiZ.js → markdown-tables-Cjn8O_5e.js} +1 -1
- package/dist/{message-channel-C8QtrwEU.js → message-channel-9h0j5RdN.js} +1 -1
- package/dist/{model-selection-1MMYqY6M.js → model-selection-C88a_9g6.js} +11 -11
- package/dist/{outbound-attachment-3I6GzwDe.js → outbound-attachment-BuJwyBh-.js} +2 -2
- package/dist/{outbound-BNh6PpQb.js → outbound-pWVnnOB8.js} +6 -6
- package/dist/{path-alias-guards-Cu1nXNMM.js → path-alias-guards-CwzKuGwh.js} +1 -1
- package/dist/{pi-embedded-C6RDRgJM.js → pi-embedded-C-ELC4B8.js} +96 -96
- package/dist/{pi-embedded-helpers-CghCLoPo.js → pi-embedded-helpers-BdHpVi4N.js} +16 -16
- package/dist/{pi-model-discovery-Bb__OY-j.js → pi-model-discovery-DXdGUBPM.js} +1 -1
- package/dist/{plugins-CRB60mCJ.js → plugins-HLi321vw.js} +5 -5
- package/dist/{pw-ai-CfYaR1K2.js → pw-ai-ClfeTowr.js} +11 -11
- package/dist/{qmd-manager-B_GgyQQ0.js → qmd-manager-DxMPr_TW.js} +6 -6
- package/dist/{query-expansion-DEq020GG.js → query-expansion-BIZ50Uk8.js} +2 -2
- package/dist/{redact-Bvpf-ATQ.js → redact-Dk_8Rk3-.js} +1 -1
- package/dist/{replies-6_GxvQYe.js → replies-cfk2XJ69.js} +3 -3
- package/dist/{reply-prefix-BUgeSN2R.js → reply-prefix-PDoW4EZy.js} +1 -1
- package/dist/{resolve-route-DuttYY7A.js → resolve-route-Co_8ykQj.js} +4 -4
- package/dist/{retry-BeB9WenR.js → retry-DbI92XJ6.js} +1 -1
- package/dist/{runner-PgRFPYUj.js → runner-CDjI14QL.js} +11 -11
- package/dist/{send-Dfa3sn6r.js → send-BygI0N_k.js} +13 -13
- package/dist/{send-BeIZJuy4.js → send-C-sC5FEL.js} +7 -7
- package/dist/{send-D4bMycQu.js → send-CcOlxFgw.js} +7 -7
- package/dist/{send-C1hvd3bt.js → send-gAZecXKW.js} +6 -6
- package/dist/{send-DmLC7aEF.js → send-qZc5cwnf.js} +10 -10
- package/dist/{session-F_YDS_1V.js → session-CsQYfL3c.js} +3 -3
- package/dist/{sessions-3ioSeOA1.js → sessions-BxJlMZ9d.js} +6 -6
- package/dist/{skill-commands-Ck3flWX7.js → skill-commands-DdspcyAT.js} +5 -5
- package/dist/{skills-CnAPWfca.js → skills-Cto1PwoM.js} +7 -7
- package/dist/{store-CvMgrKWx.js → store-wmxD_RdX.js} +2 -2
- package/dist/{subsystem-tzu-rIAJ.js → subsystem-B7s1gpl_.js} +1 -1
- package/dist/{tables-5k-zOZ-s.js → tables-DjMlciHF.js} +1 -1
- package/dist/{target-errors-BPfQrPim.js → target-errors-CtMvHKax.js} +2 -2
- package/dist/{tokens-BRLyURxW.js → tokens-B2bEUMr5.js} +1 -1
- package/dist/{tool-images-CcGZpzmq.js → tool-images-upeV0xA7.js} +2 -2
- package/dist/{tool-loop-detection-BNGetx3Z.js → tool-loop-detection-BpnogMb3.js} +2 -2
- package/dist/{utils-CTFLl_ji.js → utils-BB3tnxio.js} +2 -2
- package/dist/{web-NzOJcvWO.js → web-7nT90W2f.js} +63 -63
- package/dist/{whatsapp-actions-DbPcN6JQ.js → whatsapp-actions-Da9VWDOd.js} +23 -23
- package/dist/{workspace-DBFSzT6O.js → workspace-nJ4KDY5w.js} +2 -2
- 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-CVO75pTD.js +0 -113
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { K as resolvePreferredIdleHandsTmpDir, t as CONFIG_DIR } from "./utils-
|
|
3
|
-
import { A as isNotFoundPathError, j as isPathInside } from "./workspace-
|
|
4
|
-
import { R as loadConfig } from "./model-selection-
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-B7s1gpl_.js";
|
|
2
|
+
import { K as resolvePreferredIdleHandsTmpDir, t as CONFIG_DIR } from "./utils-BB3tnxio.js";
|
|
3
|
+
import { A as isNotFoundPathError, j as isPathInside } from "./workspace-nJ4KDY5w.js";
|
|
4
|
+
import { R as loadConfig } from "./model-selection-C88a_9g6.js";
|
|
5
5
|
import { a as resolvePinnedHostnameWithPolicy, s as isLoopbackIpAddress } from "./ssrf-CZeHDwVZ.js";
|
|
6
|
-
import { i as isErrno } from "./errors-
|
|
7
|
-
import { n as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-
|
|
6
|
+
import { i as isErrno } from "./errors-XpvBRvrk.js";
|
|
7
|
+
import { n as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-qiODuhN1.js";
|
|
8
8
|
import fs from "node:fs/promises";
|
|
9
9
|
import os from "node:os";
|
|
10
10
|
import path from "node:path";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { p as normalizeAccountId } from "./session-key-CuLPSMu_.js";
|
|
3
3
|
import { t as resolveAccountEntry } from "./account-lookup-DlMshWZ_.js";
|
|
4
|
-
import { t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-
|
|
4
|
+
import { t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-9h0j5RdN.js";
|
|
5
5
|
|
|
6
6
|
//#region src/markdown/fences.ts
|
|
7
7
|
function parseFenceSpans(buffer) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { l as getActivePluginRegistry } from "./subsystem-
|
|
3
|
-
import { C as isPlainObject, o as escapeRegExp } from "./utils-
|
|
4
|
-
import { bn as DEFAULT_PROVIDER, u as resolveConfiguredModelRef, yn as DEFAULT_MODEL } from "./model-selection-
|
|
5
|
-
import { n as listChannelDocks } from "./dock-
|
|
6
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
2
|
+
import { l as getActivePluginRegistry } from "./subsystem-B7s1gpl_.js";
|
|
3
|
+
import { C as isPlainObject, o as escapeRegExp } from "./utils-BB3tnxio.js";
|
|
4
|
+
import { bn as DEFAULT_PROVIDER, u as resolveConfiguredModelRef, yn as DEFAULT_MODEL } from "./model-selection-C88a_9g6.js";
|
|
5
|
+
import { n as listChannelDocks } from "./dock-4HLkEWeL.js";
|
|
6
|
+
import { r as normalizeChannelId } from "./plugins-HLi321vw.js";
|
|
7
7
|
import { r as listThinkingLevels } from "./thinking-z4_linel.js";
|
|
8
8
|
|
|
9
9
|
//#region src/config/commands.ts
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { d as resolveStateDir } from "./paths-BYNVLNi_.js";
|
|
3
|
-
import { C as triggerInternalHook, b as createInternalHookEvent, l as getActivePluginRegistry, t as createSubsystemLogger } from "./subsystem-
|
|
3
|
+
import { C as triggerInternalHook, b as createInternalHookEvent, l as getActivePluginRegistry, t as createSubsystemLogger } from "./subsystem-B7s1gpl_.js";
|
|
4
4
|
import { m as normalizeOptionalAccountId, p as normalizeAccountId } from "./session-key-CuLPSMu_.js";
|
|
5
|
-
import { t as getChannelDock } from "./dock-
|
|
6
|
-
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-
|
|
7
|
-
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
5
|
+
import { t as getChannelDock } from "./dock-4HLkEWeL.js";
|
|
6
|
+
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-B2bEUMr5.js";
|
|
7
|
+
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-HLi321vw.js";
|
|
8
8
|
import { n as generateSecureUuid } from "./secure-random-B1N_MXT_.js";
|
|
9
|
-
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-
|
|
10
|
-
import { E as parseInlineDirectives, a as resolveMirroredTranscriptText, i as appendAssistantMessageToSessionTranscript } from "./sessions-
|
|
11
|
-
import { c as resolveChunkMode, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph } from "./chunk-
|
|
12
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
13
|
-
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
14
|
-
import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-
|
|
9
|
+
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-BdHpVi4N.js";
|
|
10
|
+
import { E as parseInlineDirectives, a as resolveMirroredTranscriptText, i as appendAssistantMessageToSessionTranscript } from "./sessions-BxJlMZ9d.js";
|
|
11
|
+
import { c as resolveChunkMode, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph } from "./chunk-CgCAeFdA.js";
|
|
12
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-Cjn8O_5e.js";
|
|
13
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-czSWcF7i.js";
|
|
14
|
+
import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-gAZecXKW.js";
|
|
15
15
|
import path from "node:path";
|
|
16
16
|
import syncFs from "node:fs";
|
|
17
17
|
|
|
@@ -18,27 +18,27 @@ var deps_exports = /* @__PURE__ */ __exportAll({ createDefaultDeps: () => create
|
|
|
18
18
|
function createDefaultDeps() {
|
|
19
19
|
return {
|
|
20
20
|
sendMessageWhatsApp: async (...args) => {
|
|
21
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
21
|
+
const { sendMessageWhatsApp } = await import("./web-7nT90W2f.js");
|
|
22
22
|
return await sendMessageWhatsApp(...args);
|
|
23
23
|
},
|
|
24
24
|
sendMessageTelegram: async (...args) => {
|
|
25
|
-
const { sendMessageTelegram } = await import("./send-
|
|
25
|
+
const { sendMessageTelegram } = await import("./send-BygI0N_k.js").then((n) => n.l);
|
|
26
26
|
return await sendMessageTelegram(...args);
|
|
27
27
|
},
|
|
28
28
|
sendMessageDiscord: async (...args) => {
|
|
29
|
-
const { sendMessageDiscord } = await import("./send-
|
|
29
|
+
const { sendMessageDiscord } = await import("./send-qZc5cwnf.js").then((n) => n.t);
|
|
30
30
|
return await sendMessageDiscord(...args);
|
|
31
31
|
},
|
|
32
32
|
sendMessageSlack: async (...args) => {
|
|
33
|
-
const { sendMessageSlack } = await import("./send-
|
|
33
|
+
const { sendMessageSlack } = await import("./send-C-sC5FEL.js").then((n) => n.n);
|
|
34
34
|
return await sendMessageSlack(...args);
|
|
35
35
|
},
|
|
36
36
|
sendMessageSignal: async (...args) => {
|
|
37
|
-
const { sendMessageSignal } = await import("./send-
|
|
37
|
+
const { sendMessageSignal } = await import("./send-gAZecXKW.js").then((n) => n.i);
|
|
38
38
|
return await sendMessageSignal(...args);
|
|
39
39
|
},
|
|
40
40
|
sendMessageIMessage: async (...args) => {
|
|
41
|
-
const { sendMessageIMessage } = await import("./send-
|
|
41
|
+
const { sendMessageIMessage } = await import("./send-CcOlxFgw.js").then((n) => n.n);
|
|
42
42
|
return await sendMessageIMessage(...args);
|
|
43
43
|
}
|
|
44
44
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-B7s1gpl_.js";
|
|
3
3
|
import { i as pruneDiagnosticSessionStates, r as getDiagnosticSessionState, t as diagnosticSessionStates } from "./diagnostic-session-state-BGF2r-kt.js";
|
|
4
4
|
|
|
5
5
|
//#region src/infra/diagnostic-events.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { d as requireActivePluginRegistry, i as getChatChannelMeta, r as CHAT_CHANNEL_ORDER } from "./subsystem-
|
|
2
|
-
import { d as normalizeE164, o as escapeRegExp } from "./utils-
|
|
1
|
+
import { d as requireActivePluginRegistry, i as getChatChannelMeta, r as CHAT_CHANNEL_ORDER } from "./subsystem-B7s1gpl_.js";
|
|
2
|
+
import { d as normalizeE164, o as escapeRegExp } from "./utils-BB3tnxio.js";
|
|
3
3
|
import { p as normalizeAccountId } from "./session-key-CuLPSMu_.js";
|
|
4
|
-
import { _ as resolveDiscordAccount, a as normalizeWhatsAppTarget, d as resolveSlackAccount, f as resolveSlackReplyToMode, l as resolveTelegramAccount } from "./plugins-
|
|
5
|
-
import { n as resolveWhatsAppAccount } from "./accounts-
|
|
4
|
+
import { _ as resolveDiscordAccount, a as normalizeWhatsAppTarget, d as resolveSlackAccount, f as resolveSlackReplyToMode, l as resolveTelegramAccount } from "./plugins-HLi321vw.js";
|
|
5
|
+
import { n as resolveWhatsAppAccount } from "./accounts-DLL4jMvc.js";
|
|
6
6
|
import { t as resolveAccountEntry } from "./account-lookup-DlMshWZ_.js";
|
|
7
|
-
import { n as resolveSignalAccount } from "./accounts-
|
|
8
|
-
import { t as resolveIMessageAccount } from "./accounts-
|
|
7
|
+
import { n as resolveSignalAccount } from "./accounts-BlHH-u_r.js";
|
|
8
|
+
import { t as resolveIMessageAccount } from "./accounts-DOlh6RqB.js";
|
|
9
9
|
|
|
10
10
|
//#region src/config/types.tools.ts
|
|
11
11
|
const TOOLS_BY_SENDER_KEY_TYPES = [
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import "./agent-scope-CSFjmUrH.js";
|
|
2
|
+
import "./paths-BYNVLNi_.js";
|
|
3
|
+
import "./subsystem-B7s1gpl_.js";
|
|
4
|
+
import { D as logVerbose } from "./utils-BB3tnxio.js";
|
|
5
|
+
import "./runtime-8mi3mpYB.js";
|
|
6
|
+
import "./workspace-nJ4KDY5w.js";
|
|
7
|
+
import "./model-selection-C88a_9g6.js";
|
|
8
|
+
import "./github-copilot-token-Dgt6cnsM.js";
|
|
9
|
+
import "./boolean-CE7i9tBR.js";
|
|
10
|
+
import "./env-BtjfGfYS.js";
|
|
11
|
+
import "./dock-4HLkEWeL.js";
|
|
12
|
+
import "./tokens-B2bEUMr5.js";
|
|
13
|
+
import { B as clearSessionQueues, F as isAbortRequestText, I as stopSubagentsForRequester, P as formatAbortReplyText, n as abortEmbeddedPiRun } from "./pi-embedded-C-ELC4B8.js";
|
|
14
|
+
import "./plugins-HLi321vw.js";
|
|
15
|
+
import "./accounts-DLL4jMvc.js";
|
|
16
|
+
import "./bindings-av9-yFB3.js";
|
|
17
|
+
import "./auth-store-bL1LNwm5.js";
|
|
18
|
+
import "./send-C-sC5FEL.js";
|
|
19
|
+
import "./send-qZc5cwnf.js";
|
|
20
|
+
import "./deliver-l8EA_rIo.js";
|
|
21
|
+
import "./diagnostic-DUpiGDI6.js";
|
|
22
|
+
import "./diagnostic-session-state-BGF2r-kt.js";
|
|
23
|
+
import "./accounts-BlHH-u_r.js";
|
|
24
|
+
import "./send-BygI0N_k.js";
|
|
25
|
+
import "./image-ops-CVPIEkjZ.js";
|
|
26
|
+
import "./pi-model-discovery-DXdGUBPM.js";
|
|
27
|
+
import "./message-channel-9h0j5RdN.js";
|
|
28
|
+
import "./pi-embedded-helpers-BdHpVi4N.js";
|
|
29
|
+
import "./chrome-DkhJIPqM.js";
|
|
30
|
+
import "./ssrf-CZeHDwVZ.js";
|
|
31
|
+
import "./frontmatter-CNT2SLK9.js";
|
|
32
|
+
import "./skills-Cto1PwoM.js";
|
|
33
|
+
import "./path-alias-guards-CwzKuGwh.js";
|
|
34
|
+
import "./redact-Dk_8Rk3-.js";
|
|
35
|
+
import "./errors-XpvBRvrk.js";
|
|
36
|
+
import "./fs-safe-qiODuhN1.js";
|
|
37
|
+
import "./store-wmxD_RdX.js";
|
|
38
|
+
import { s as loadSessionStore } from "./sessions-BxJlMZ9d.js";
|
|
39
|
+
import "./accounts-DOlh6RqB.js";
|
|
40
|
+
import { r as resolveDefaultSessionStorePath } from "./paths-D_qUel1T.js";
|
|
41
|
+
import "./tool-images-upeV0xA7.js";
|
|
42
|
+
import "./thinking-z4_linel.js";
|
|
43
|
+
import "./image-D_PnW33c.js";
|
|
44
|
+
import "./reply-prefix-PDoW4EZy.js";
|
|
45
|
+
import "./manager-BZ0tYOnu.js";
|
|
46
|
+
import "./gemini-auth-DcQhBD_n.js";
|
|
47
|
+
import "./fetch-guard-BdcyjI44.js";
|
|
48
|
+
import "./query-expansion-BIZ50Uk8.js";
|
|
49
|
+
import "./retry-DbI92XJ6.js";
|
|
50
|
+
import "./target-errors-CtMvHKax.js";
|
|
51
|
+
import "./chunk-CgCAeFdA.js";
|
|
52
|
+
import "./markdown-tables-Cjn8O_5e.js";
|
|
53
|
+
import "./local-roots-czSWcF7i.js";
|
|
54
|
+
import "./ir-z6aop5rJ.js";
|
|
55
|
+
import "./render-MTSxc7LK.js";
|
|
56
|
+
import "./commands-registry-CowrfO43.js";
|
|
57
|
+
import "./skill-commands-DdspcyAT.js";
|
|
58
|
+
import "./runner-CDjI14QL.js";
|
|
59
|
+
import "./fetch-CsfR_943.js";
|
|
60
|
+
import "./channel-activity-Df_QWn3k.js";
|
|
61
|
+
import "./tables-DjMlciHF.js";
|
|
62
|
+
import "./send-gAZecXKW.js";
|
|
63
|
+
import "./outbound-attachment-BuJwyBh-.js";
|
|
64
|
+
import "./send-CcOlxFgw.js";
|
|
65
|
+
import "./resolve-route-Co_8ykQj.js";
|
|
66
|
+
import "./proxy-CRB9oCP5.js";
|
|
67
|
+
import "./replies-cfk2XJ69.js";
|
|
68
|
+
import "./deps-B1l5WEJq.js";
|
|
69
|
+
|
|
70
|
+
//#region src/auto-reply/reply/emergency-stop.ts
|
|
71
|
+
/**
|
|
72
|
+
* Emergency stop — bypass all queues and debouncing.
|
|
73
|
+
* Called at the earliest ingress point (before debouncer) to guarantee immediate execution.
|
|
74
|
+
*/
|
|
75
|
+
/**
|
|
76
|
+
* Execute an emergency stop for a session.
|
|
77
|
+
* Clears all queues, aborts embedded runs, and stops subagents.
|
|
78
|
+
* Returns the reply text to send to the user.
|
|
79
|
+
*/
|
|
80
|
+
function emergencyStop(params) {
|
|
81
|
+
const { cfg, sessionKey, sessionId } = params;
|
|
82
|
+
const cleared = clearSessionQueues([sessionKey, sessionId]);
|
|
83
|
+
if (cleared.followupCleared > 0 || cleared.laneCleared > 0) logVerbose(`emergency-stop: cleared followups=${cleared.followupCleared} lane=${cleared.laneCleared} keys=${cleared.keys.join(",")}`);
|
|
84
|
+
if (sessionId) abortEmbeddedPiRun(sessionId);
|
|
85
|
+
const { stopped } = stopSubagentsForRequester({
|
|
86
|
+
cfg,
|
|
87
|
+
requesterSessionKey: sessionKey
|
|
88
|
+
});
|
|
89
|
+
logVerbose(`emergency-stop: sessionKey=${sessionKey} sessionId=${sessionId} stoppedSubagents=${stopped}`);
|
|
90
|
+
return {
|
|
91
|
+
aborted: true,
|
|
92
|
+
replyText: formatAbortReplyText(stopped),
|
|
93
|
+
sessionKey
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Resolve session info from the session store for emergency stop.
|
|
98
|
+
* Lightweight — just reads the store, no locks.
|
|
99
|
+
*/
|
|
100
|
+
function resolveSessionForEmergencyStop(sessionKey) {
|
|
101
|
+
try {
|
|
102
|
+
const store = loadSessionStore(resolveDefaultSessionStorePath());
|
|
103
|
+
return {
|
|
104
|
+
sessionId: store[sessionKey]?.sessionId,
|
|
105
|
+
store
|
|
106
|
+
};
|
|
107
|
+
} catch {
|
|
108
|
+
return {};
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
//#endregion
|
|
113
|
+
export { emergencyStop, isAbortRequestText, resolveSessionForEmergencyStop };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as logWarn } from "./workspace-
|
|
1
|
+
import { S as logWarn } from "./workspace-nJ4KDY5w.js";
|
|
2
2
|
import { a as resolvePinnedHostnameWithPolicy, n as closeDispatcher, r as createPinnedDispatcher, t as SsrFBlockedError } from "./ssrf-CZeHDwVZ.js";
|
|
3
3
|
import { t as bindAbortRelay } from "./fetch-timeout-3YYM8QuM.js";
|
|
4
4
|
import { EnvHttpProxyAgent } from "undici";
|
|
@@ -2,7 +2,7 @@ import { t as parseBooleanValue } from "./boolean-CE7i9tBR.js";
|
|
|
2
2
|
import { n as MANIFEST_KEY, t as LEGACY_MANIFEST_KEYS } from "./legacy-names-B4ZvHEmO.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import syncFs from "node:fs";
|
|
5
|
-
import
|
|
5
|
+
import json5 from "json5";
|
|
6
6
|
import YAML from "yaml";
|
|
7
7
|
|
|
8
8
|
//#region src/shared/config-eval.ts
|
|
@@ -224,7 +224,7 @@ function resolveIdleHandsManifestBlock(params) {
|
|
|
224
224
|
const raw = getFrontmatterString(params.frontmatter, params.key ?? "metadata");
|
|
225
225
|
if (!raw) return;
|
|
226
226
|
try {
|
|
227
|
-
const parsed =
|
|
227
|
+
const parsed = json5.parse(raw);
|
|
228
228
|
if (!parsed || typeof parsed !== "object") return;
|
|
229
229
|
const manifestKeys = [MANIFEST_KEY, ...LEGACY_MANIFEST_KEYS];
|
|
230
230
|
for (const key of manifestKeys) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as isNotFoundPathError, E as sameFileIdentity, M as isSymlinkOpenError, j as isPathInside } from "./workspace-
|
|
2
|
-
import { n as assertNoPathAliasEscape } from "./path-alias-guards-
|
|
1
|
+
import { A as isNotFoundPathError, E as sameFileIdentity, M as isSymlinkOpenError, j as isPathInside } from "./workspace-nJ4KDY5w.js";
|
|
2
|
+
import { n as assertNoPathAliasEscape } from "./path-alias-guards-CwzKuGwh.js";
|
|
3
3
|
import fs from "node:fs/promises";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import { constants } from "node:fs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as normalizeProviderId } from "./model-selection-
|
|
2
|
-
import { n as formatErrorMessage } from "./errors-
|
|
1
|
+
import { c as normalizeProviderId } from "./model-selection-C88a_9g6.js";
|
|
2
|
+
import { n as formatErrorMessage } from "./errors-XpvBRvrk.js";
|
|
3
3
|
|
|
4
4
|
//#region src/agents/live-auth-keys.ts
|
|
5
5
|
const KEY_SPLIT_RE = /[\s,;]+/g;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { h as resolveAgentModelPrimaryValue, m as resolveAgentModelFallbackValues } from "./agent-scope-
|
|
3
|
-
import { _ as shortenHomeInString, c as isRecord } from "./utils-
|
|
4
|
-
import { R as loadConfig, S as getApiKeyForModel, _ as normalizeProviders, dn as resolveIdleHandsAgentDir, gn as normalizeSecretInput, v as resolveImplicitCopilotProvider, w as requireApiKey, y as resolveImplicitProviders } from "./model-selection-
|
|
5
|
-
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-
|
|
6
|
-
import { P as sanitizeUserFacingText } from "./pi-embedded-helpers-
|
|
7
|
-
import { n as redactToolDetail } from "./redact-
|
|
2
|
+
import { h as resolveAgentModelPrimaryValue, m as resolveAgentModelFallbackValues } from "./agent-scope-CSFjmUrH.js";
|
|
3
|
+
import { _ as shortenHomeInString, c as isRecord } from "./utils-BB3tnxio.js";
|
|
4
|
+
import { R as loadConfig, S as getApiKeyForModel, _ as normalizeProviders, dn as resolveIdleHandsAgentDir, gn as normalizeSecretInput, v as resolveImplicitCopilotProvider, w as requireApiKey, y as resolveImplicitProviders } from "./model-selection-C88a_9g6.js";
|
|
5
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DXdGUBPM.js";
|
|
6
|
+
import { P as sanitizeUserFacingText } from "./pi-embedded-helpers-BdHpVi4N.js";
|
|
7
|
+
import { n as redactToolDetail } from "./redact-Dk_8Rk3-.js";
|
|
8
8
|
import fs from "node:fs/promises";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import { complete } from "@mariozechner/pi-ai";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { A as shouldLogVerbose, D as logVerbose, h as resolveUserPath } from "./utils-
|
|
2
|
-
import { _ as maxBytesForKind, a as hasAlphaChannel, c as detectMime, l as extensionForMime, o as optimizeImageToPng, r as convertHeicToJpeg, s as resizeToJpeg, v as mediaKindFromMime } from "./image-ops-
|
|
3
|
-
import { r as readLocalFileSafely, t as SafeOpenError } from "./fs-safe-
|
|
4
|
-
import { a as chunkText } from "./chunk-
|
|
5
|
-
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots } from "./local-roots-
|
|
1
|
+
import { A as shouldLogVerbose, D as logVerbose, h as resolveUserPath } from "./utils-BB3tnxio.js";
|
|
2
|
+
import { _ as maxBytesForKind, a as hasAlphaChannel, c as detectMime, l as extensionForMime, o as optimizeImageToPng, r as convertHeicToJpeg, s as resizeToJpeg, v as mediaKindFromMime } from "./image-ops-CVPIEkjZ.js";
|
|
3
|
+
import { r as readLocalFileSafely, t as SafeOpenError } from "./fs-safe-qiODuhN1.js";
|
|
4
|
+
import { a as chunkText } from "./chunk-CgCAeFdA.js";
|
|
5
|
+
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots } from "./local-roots-czSWcF7i.js";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import { fileURLToPath } from "node:url";
|
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
import { a as resolveAgentEffectiveModelPrimary, c as resolveDefaultAgentId, i as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
1
|
+
import { a as resolveAgentEffectiveModelPrimary, c as resolveDefaultAgentId, i as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-CSFjmUrH.js";
|
|
2
2
|
import "./paths-BYNVLNi_.js";
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import "./utils-
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-B7s1gpl_.js";
|
|
4
|
+
import "./utils-BB3tnxio.js";
|
|
5
5
|
import "./runtime-8mi3mpYB.js";
|
|
6
|
-
import "./workspace-
|
|
7
|
-
import { bn as DEFAULT_PROVIDER, l as parseModelRef, yn as DEFAULT_MODEL } from "./model-selection-
|
|
6
|
+
import "./workspace-nJ4KDY5w.js";
|
|
7
|
+
import { bn as DEFAULT_PROVIDER, l as parseModelRef, yn as DEFAULT_MODEL } from "./model-selection-C88a_9g6.js";
|
|
8
8
|
import "./github-copilot-token-Dgt6cnsM.js";
|
|
9
9
|
import "./boolean-CE7i9tBR.js";
|
|
10
|
-
import "./env-
|
|
11
|
-
import "./dock-
|
|
12
|
-
import "./tokens-
|
|
13
|
-
import { t as runEmbeddedPiAgent } from "./pi-embedded-
|
|
14
|
-
import "./plugins-
|
|
15
|
-
import "./accounts-
|
|
16
|
-
import "./bindings-
|
|
17
|
-
import "./auth-store-
|
|
18
|
-
import "./send-
|
|
19
|
-
import "./send-
|
|
20
|
-
import "./deliver-
|
|
21
|
-
import "./diagnostic-
|
|
10
|
+
import "./env-BtjfGfYS.js";
|
|
11
|
+
import "./dock-4HLkEWeL.js";
|
|
12
|
+
import "./tokens-B2bEUMr5.js";
|
|
13
|
+
import { t as runEmbeddedPiAgent } from "./pi-embedded-C-ELC4B8.js";
|
|
14
|
+
import "./plugins-HLi321vw.js";
|
|
15
|
+
import "./accounts-DLL4jMvc.js";
|
|
16
|
+
import "./bindings-av9-yFB3.js";
|
|
17
|
+
import "./auth-store-bL1LNwm5.js";
|
|
18
|
+
import "./send-C-sC5FEL.js";
|
|
19
|
+
import "./send-qZc5cwnf.js";
|
|
20
|
+
import "./deliver-l8EA_rIo.js";
|
|
21
|
+
import "./diagnostic-DUpiGDI6.js";
|
|
22
22
|
import "./diagnostic-session-state-BGF2r-kt.js";
|
|
23
|
-
import "./accounts-
|
|
24
|
-
import "./send-
|
|
25
|
-
import "./image-ops-
|
|
26
|
-
import "./pi-model-discovery-
|
|
27
|
-
import "./message-channel-
|
|
28
|
-
import "./pi-embedded-helpers-
|
|
29
|
-
import "./chrome-
|
|
23
|
+
import "./accounts-BlHH-u_r.js";
|
|
24
|
+
import "./send-BygI0N_k.js";
|
|
25
|
+
import "./image-ops-CVPIEkjZ.js";
|
|
26
|
+
import "./pi-model-discovery-DXdGUBPM.js";
|
|
27
|
+
import "./message-channel-9h0j5RdN.js";
|
|
28
|
+
import "./pi-embedded-helpers-BdHpVi4N.js";
|
|
29
|
+
import "./chrome-DkhJIPqM.js";
|
|
30
30
|
import "./ssrf-CZeHDwVZ.js";
|
|
31
|
-
import "./frontmatter-
|
|
32
|
-
import "./skills-
|
|
33
|
-
import "./path-alias-guards-
|
|
34
|
-
import "./redact-
|
|
35
|
-
import "./errors-
|
|
36
|
-
import "./fs-safe-
|
|
37
|
-
import "./store-
|
|
38
|
-
import "./sessions-
|
|
39
|
-
import "./accounts-
|
|
31
|
+
import "./frontmatter-CNT2SLK9.js";
|
|
32
|
+
import "./skills-Cto1PwoM.js";
|
|
33
|
+
import "./path-alias-guards-CwzKuGwh.js";
|
|
34
|
+
import "./redact-Dk_8Rk3-.js";
|
|
35
|
+
import "./errors-XpvBRvrk.js";
|
|
36
|
+
import "./fs-safe-qiODuhN1.js";
|
|
37
|
+
import "./store-wmxD_RdX.js";
|
|
38
|
+
import "./sessions-BxJlMZ9d.js";
|
|
39
|
+
import "./accounts-DOlh6RqB.js";
|
|
40
40
|
import "./paths-D_qUel1T.js";
|
|
41
|
-
import "./tool-images-
|
|
41
|
+
import "./tool-images-upeV0xA7.js";
|
|
42
42
|
import "./thinking-z4_linel.js";
|
|
43
|
-
import "./image-
|
|
44
|
-
import "./reply-prefix-
|
|
45
|
-
import "./manager-
|
|
46
|
-
import "./gemini-auth-
|
|
47
|
-
import "./fetch-guard-
|
|
48
|
-
import "./query-expansion-
|
|
49
|
-
import "./retry-
|
|
50
|
-
import "./target-errors-
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./markdown-tables-
|
|
53
|
-
import "./local-roots-
|
|
54
|
-
import "./ir-
|
|
43
|
+
import "./image-D_PnW33c.js";
|
|
44
|
+
import "./reply-prefix-PDoW4EZy.js";
|
|
45
|
+
import "./manager-BZ0tYOnu.js";
|
|
46
|
+
import "./gemini-auth-DcQhBD_n.js";
|
|
47
|
+
import "./fetch-guard-BdcyjI44.js";
|
|
48
|
+
import "./query-expansion-BIZ50Uk8.js";
|
|
49
|
+
import "./retry-DbI92XJ6.js";
|
|
50
|
+
import "./target-errors-CtMvHKax.js";
|
|
51
|
+
import "./chunk-CgCAeFdA.js";
|
|
52
|
+
import "./markdown-tables-Cjn8O_5e.js";
|
|
53
|
+
import "./local-roots-czSWcF7i.js";
|
|
54
|
+
import "./ir-z6aop5rJ.js";
|
|
55
55
|
import "./render-MTSxc7LK.js";
|
|
56
|
-
import "./commands-registry-
|
|
57
|
-
import "./skill-commands-
|
|
58
|
-
import "./runner-
|
|
56
|
+
import "./commands-registry-CowrfO43.js";
|
|
57
|
+
import "./skill-commands-DdspcyAT.js";
|
|
58
|
+
import "./runner-CDjI14QL.js";
|
|
59
59
|
import "./fetch-CsfR_943.js";
|
|
60
|
-
import "./channel-activity-
|
|
61
|
-
import "./tables-
|
|
62
|
-
import "./send-
|
|
63
|
-
import "./outbound-attachment-
|
|
64
|
-
import "./send-
|
|
65
|
-
import "./resolve-route-
|
|
60
|
+
import "./channel-activity-Df_QWn3k.js";
|
|
61
|
+
import "./tables-DjMlciHF.js";
|
|
62
|
+
import "./send-gAZecXKW.js";
|
|
63
|
+
import "./outbound-attachment-BuJwyBh-.js";
|
|
64
|
+
import "./send-CcOlxFgw.js";
|
|
65
|
+
import "./resolve-route-Co_8ykQj.js";
|
|
66
66
|
import "./proxy-CRB9oCP5.js";
|
|
67
|
-
import "./replies-
|
|
68
|
-
import "./deps-
|
|
67
|
+
import "./replies-cfk2XJ69.js";
|
|
68
|
+
import "./deps-B1l5WEJq.js";
|
|
69
69
|
import fs from "node:fs/promises";
|
|
70
70
|
import os from "node:os";
|
|
71
71
|
import path from "node:path";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
1
|
+
import { s as resolveAgentWorkspaceDir } from "./agent-scope-CSFjmUrH.js";
|
|
2
2
|
import { d as resolveStateDir } from "./paths-BYNVLNi_.js";
|
|
3
|
-
import { K as resolvePreferredIdleHandsTmpDir } from "./utils-
|
|
4
|
-
import { c as detectMime, l as extensionForMime } from "./image-ops-
|
|
5
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
3
|
+
import { K as resolvePreferredIdleHandsTmpDir } from "./utils-BB3tnxio.js";
|
|
4
|
+
import { c as detectMime, l as extensionForMime } from "./image-ops-CVPIEkjZ.js";
|
|
5
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-BdcyjI44.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
|
8
8
|
//#region src/media/read-response-with-limit.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { T as info, j as success, w as danger } from "./utils-
|
|
2
|
+
import { T as info, j as success, w as danger } from "./utils-BB3tnxio.js";
|
|
3
3
|
import { n as defaultRuntime } from "./runtime-8mi3mpYB.js";
|
|
4
|
-
import { x as logInfo } from "./workspace-
|
|
5
|
-
import { R as loadConfig } from "./model-selection-
|
|
4
|
+
import { x as logInfo } from "./workspace-nJ4KDY5w.js";
|
|
5
|
+
import { R as loadConfig } from "./model-selection-C88a_9g6.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-BAxx4PW5.js";
|
|
7
|
-
import { n as resolveWhatsAppAccount } from "./accounts-
|
|
8
|
-
import { a as logoutWeb } from "./auth-store-
|
|
9
|
-
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-
|
|
7
|
+
import { n as resolveWhatsAppAccount } from "./accounts-DLL4jMvc.js";
|
|
8
|
+
import { a as logoutWeb } from "./auth-store-bL1LNwm5.js";
|
|
9
|
+
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-CsQYfL3c.js";
|
|
10
10
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
11
11
|
|
|
12
12
|
//#region src/web/login.ts
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import "./agent-scope-
|
|
1
|
+
import "./agent-scope-CSFjmUrH.js";
|
|
2
2
|
import "./paths-BYNVLNi_.js";
|
|
3
|
-
import "./subsystem-
|
|
4
|
-
import { T as info, j as success, w as danger } from "./utils-
|
|
3
|
+
import "./subsystem-B7s1gpl_.js";
|
|
4
|
+
import { T as info, j as success, w as danger } from "./utils-BB3tnxio.js";
|
|
5
5
|
import { n as defaultRuntime } from "./runtime-8mi3mpYB.js";
|
|
6
|
-
import { x as logInfo } from "./workspace-
|
|
7
|
-
import { R as loadConfig } from "./model-selection-
|
|
6
|
+
import { x as logInfo } from "./workspace-nJ4KDY5w.js";
|
|
7
|
+
import { R as loadConfig } from "./model-selection-C88a_9g6.js";
|
|
8
8
|
import "./github-copilot-token-Dgt6cnsM.js";
|
|
9
9
|
import "./boolean-CE7i9tBR.js";
|
|
10
|
-
import "./env-
|
|
11
|
-
import { n as resolveWhatsAppAccount } from "./accounts-
|
|
12
|
-
import { a as logoutWeb, l as readWebSelfId, p as webAuthExists } from "./auth-store-
|
|
13
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
10
|
+
import "./env-BtjfGfYS.js";
|
|
11
|
+
import { n as resolveWhatsAppAccount } from "./accounts-DLL4jMvc.js";
|
|
12
|
+
import { a as logoutWeb, l as readWebSelfId, p as webAuthExists } from "./auth-store-bL1LNwm5.js";
|
|
13
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-CsQYfL3c.js";
|
|
14
14
|
import { randomUUID } from "node:crypto";
|
|
15
15
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
16
16
|
import QRCodeModule from "qrcode-terminal/vendor/QRCode/index.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { i as resolveAgentDir, r as resolveAgentConfig, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
2
|
+
import { i as resolveAgentDir, r as resolveAgentConfig, s as resolveAgentWorkspaceDir } from "./agent-scope-CSFjmUrH.js";
|
|
3
3
|
import { d as resolveStateDir } from "./paths-BYNVLNi_.js";
|
|
4
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
5
|
-
import { S as truncateUtf16Safe, h as resolveUserPath, i as clampNumber, r as clampInt } from "./utils-
|
|
6
|
-
import { T as resolveApiKeyForProvider, w as requireApiKey } from "./model-selection-
|
|
7
|
-
import { t as isTruthyEnvValue } from "./env-
|
|
8
|
-
import { n as formatErrorMessage } from "./errors-
|
|
4
|
+
import { t as createSubsystemLogger } from "./subsystem-B7s1gpl_.js";
|
|
5
|
+
import { S as truncateUtf16Safe, h as resolveUserPath, i as clampNumber, r as clampInt } from "./utils-BB3tnxio.js";
|
|
6
|
+
import { T as resolveApiKeyForProvider, w as requireApiKey } from "./model-selection-C88a_9g6.js";
|
|
7
|
+
import { t as isTruthyEnvValue } from "./env-BtjfGfYS.js";
|
|
8
|
+
import { n as formatErrorMessage } from "./errors-XpvBRvrk.js";
|
|
9
9
|
import { l as resolveSessionTranscriptsDirForAgent } from "./paths-D_qUel1T.js";
|
|
10
10
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-_OimdA_2.js";
|
|
11
|
-
import { n as collectProviderApiKeysForExecution, r as executeWithApiKeyRotation, t as parseGeminiAuth } from "./gemini-auth-
|
|
12
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
13
|
-
import { _ as isFileMissingError, a as sessionPathForFile, c as cosineSimilarity, d as isMemoryPath, f as listMemoryFiles, g as runWithConcurrency, h as remapChunkLines, i as listSessionFilesForAgent, l as ensureDir, m as parseEmbedding, n as requireNodeSqlite, o as buildFileEntry, p as normalizeExtraMemoryPaths, r as buildSessionEntry, s as chunkMarkdown, t as extractKeywords, u as hashText, v as statRegularFile } from "./query-expansion-
|
|
14
|
-
import { n as retryAsync } from "./retry-
|
|
11
|
+
import { n as collectProviderApiKeysForExecution, r as executeWithApiKeyRotation, t as parseGeminiAuth } from "./gemini-auth-DcQhBD_n.js";
|
|
12
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-BdcyjI44.js";
|
|
13
|
+
import { _ as isFileMissingError, a as sessionPathForFile, c as cosineSimilarity, d as isMemoryPath, f as listMemoryFiles, g as runWithConcurrency, h as remapChunkLines, i as listSessionFilesForAgent, l as ensureDir, m as parseEmbedding, n as requireNodeSqlite, o as buildFileEntry, p as normalizeExtraMemoryPaths, r as buildSessionEntry, s as chunkMarkdown, t as extractKeywords, u as hashText, v as statRegularFile } from "./query-expansion-BIZ50Uk8.js";
|
|
14
|
+
import { n as retryAsync } from "./retry-DbI92XJ6.js";
|
|
15
15
|
import fs from "node:fs/promises";
|
|
16
16
|
import os from "node:os";
|
|
17
17
|
import path from "node:path";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { p as normalizeAccountId } from "./session-key-CuLPSMu_.js";
|
|
3
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
3
|
+
import { r as normalizeChannelId } from "./plugins-HLi321vw.js";
|
|
4
4
|
import { t as resolveAccountEntry } from "./account-lookup-DlMshWZ_.js";
|
|
5
5
|
|
|
6
6
|
//#region src/config/markdown-tables.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as normalizeChatChannelId, l as getActivePluginRegistry, n as CHANNEL_IDS } from "./subsystem-
|
|
1
|
+
import { c as normalizeChatChannelId, l as getActivePluginRegistry, n as CHANNEL_IDS } from "./subsystem-B7s1gpl_.js";
|
|
2
2
|
|
|
3
3
|
//#region src/gateway/protocol/client-info.ts
|
|
4
4
|
const GATEWAY_CLIENT_IDS = {
|