@visorcraft/idlehands 4.2.6 → 4.2.7
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-B8cGzkjD.js → accounts-BDVs8LTu.js} +1 -1
- package/dist/{accounts-D5tB_lO0.js → accounts-CIvVRRHb.js} +1 -1
- package/dist/{accounts-BQC_GRUB.js → accounts-Dk8mJIrQ.js} +6 -6
- package/dist/{agent-scope-Bxq1eWbA.js → agent-scope-DyP_tr7s.js} +4 -4
- package/dist/{agent-via-gateway-B_XqJoXa.js → agent-via-gateway-BMsMjnWe.js} +7 -7
- package/dist/{agent-via-gateway-BTaqOj5m.js → agent-via-gateway-CW7FhqaW.js} +60 -60
- package/dist/{anton-BvT9_aWG.js → anton-BDDjbZ5H.js} +1 -1
- package/dist/{anton-QvQ90n78.js → anton-C33_8bVg.js} +5 -5
- package/dist/{audio-preflight-qkU2lsDn.js → audio-preflight-BSlR2jEq.js} +35 -35
- package/dist/{audio-preflight-CSSlgO89.js → audio-preflight-vD3mDc6w.js} +4 -4
- package/dist/{auth-store-Bb4aajHu.js → auth-store-DXT-l7fO.js} +12 -12
- package/dist/{bindings-CLZIJ0Eo.js → bindings-D3b5Fmc9.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/{plugin-sdk/channel-activity-TcS_VfJk.js → channel-activity-D_TMOGQ0.js} +3 -3
- package/dist/{chrome-Do5potHV.js → chrome-DEnkfZ9p.js} +9 -9
- package/dist/{chrome-CT_a9OgI.js → chrome-_2tzVjVl.js} +26 -26
- package/dist/{chunk-Djk-9JeT.js → chunk-CMpX7Jaz.js} +1 -1
- package/dist/{commands-registry-_TBHHpvt.js → commands-registry-j4vAzcF2.js} +5 -5
- package/dist/{deliver-whAbSPLk.js → deliver-5FLCa6tB.js} +1 -1
- package/dist/{deliver-Db2xqgLg.js → deliver-CVTXl0Cv.js} +20 -20
- package/dist/{deps-BO1TSzg3.js → deps-Bp-zobQ9.js} +1 -1
- package/dist/{plugin-sdk/deps-DHns5FkJ.js → deps-k7zLO-No.js} +6 -6
- package/dist/{diagnostic-BvlZ0Sot.js → diagnostic-4owMk4vH.js} +1 -1
- package/dist/{dock-ejUetwTC.js → dock-BgOmHcbh.js} +6 -6
- package/dist/emergency-stop-Bqex5qoB.js +113 -0
- package/dist/{emergency-stop-C_7XuwW8.js → emergency-stop-CHHSptxF.js} +7 -7
- package/dist/{env-q-PhWbb_.js → env-B5G1qwGc.js} +1 -1
- package/dist/{plugin-sdk/errors-UqLewZJL.js → errors-C_0nm4TJ.js} +1 -1
- package/dist/extensionAPI.js +7 -7
- package/dist/{fetch-guard-CcfDZXe9.js → fetch-guard-iuQsIjqN.js} +1 -1
- package/dist/{frontmatter-pTUG4Sx_.js → frontmatter-BOudmHMS.js} +2 -2
- package/dist/{fs-safe-2l05hI1Y.js → fs-safe-CYUaAFO9.js} +2 -2
- package/dist/{gemini-auth-DLSGffQK.js → gemini-auth-CIyaa44H.js} +2 -2
- package/dist/{github-copilot-token-BjmEQcmi.js → github-copilot-token-Dgt6cnsM.js} +7 -7
- package/dist/{image-Dlu13Ebx.js → image-COw__ACq.js} +6 -6
- package/dist/{image-BAsQlUqT.js → image-C_aN5P6-.js} +1 -1
- package/dist/{image-ops-J8P5zOFm.js → image-ops-D1KtygWz.js} +1 -1
- package/dist/{plugin-sdk/ir-Bv0Zbp2E.js → ir-B7IBoKLy.js} +6 -6
- package/dist/llm-slug-generator.js +60 -60
- package/dist/{local-roots-d4y0lvs2.js → local-roots-KN4Hp1yZ.js} +5 -5
- package/dist/{login-C2X0In6m.js → login-CFr5vJmR.js} +6 -6
- package/dist/{login-qr-C17PY0rr.js → login-qr-CFFFOjOl.js} +11 -11
- package/dist/{manager-CgzA1hKo.js → manager-BE_76jWB.js} +15 -15
- package/dist/{markdown-tables-R8VTpfE9.js → markdown-tables-CzsockiZ.js} +1 -1
- package/dist/{message-channel-ZdI1-uUh.js → message-channel-C8QtrwEU.js} +1 -1
- package/dist/{model-selection-C5hI1dum.js → model-selection-1MMYqY6M.js} +41 -41
- package/dist/{outbound-CdY_AskB.js → outbound-BNh6PpQb.js} +6 -6
- package/dist/{outbound-attachment-IfeZJAKk.js → outbound-attachment-3I6GzwDe.js} +2 -2
- package/dist/{path-alias-guards-BZmt6hFb.js → path-alias-guards-Cu1nXNMM.js} +1 -1
- package/dist/{paths-DQpv9a3Q.js → paths-BYNVLNi_.js} +5 -5
- package/dist/{paths-D3p7ZvM6.js → paths-D_qUel1T.js} +3 -3
- package/dist/{pi-embedded-Cfe7sfXp.js → pi-embedded-BYtUxbhJ.js} +26 -26
- package/dist/{pi-embedded-CQoT3WaM.js → pi-embedded-CIJj8Clt.js} +184 -184
- package/dist/{pi-embedded-helpers-Ct2rwp-P.js → pi-embedded-helpers-C2j0LfJC.js} +4 -4
- package/dist/{pi-embedded-helpers-B3ceCcxm.js → pi-embedded-helpers-CyTpDKo5.js} +24 -24
- package/dist/{pi-model-discovery-Dlx4RLWo.js → pi-model-discovery-Bb__OY-j.js} +7 -7
- package/dist/plugin-sdk/{accounts-Kt6ygPsC.js → accounts-BLYMokxV.js} +2 -2
- package/dist/plugin-sdk/{accounts-mjFAny5F.js → accounts-C5tHm1UI.js} +1 -1
- package/dist/plugin-sdk/{accounts-B9nfRzyn.js → accounts-CBVAw5_G.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-CU41EMlR.js → agent-scope-jl80I5G9.js} +2 -2
- package/dist/plugin-sdk/{agent-via-gateway-DgS1tFFD.js → agent-via-gateway-RUSmiQPF.js} +55 -55
- package/dist/plugin-sdk/{anton-CNaMAyWx.js → anton-BluQsLu2.js} +4 -4
- package/dist/plugin-sdk/{api-key-rotation-CZhCWd61.js → api-key-rotation-D6nK54XH.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-CRgDehfO.js → audio-preflight-CKqqN8ty.js} +30 -30
- package/dist/plugin-sdk/{auth-store-DycBvVqL.js → auth-store-DaPWgQTx.js} +1 -1
- package/dist/plugin-sdk/{bindings-BDKKHGv-.js → bindings-xXgmJGxj.js} +2 -2
- package/dist/{channel-activity-DdL3RAv_.js → plugin-sdk/channel-activity-loOg1DRw.js} +3 -3
- package/dist/plugin-sdk/{channel-web-DwpLcf95.js → channel-web-Dn0OzSFP.js} +24 -24
- package/dist/plugin-sdk/{chrome-BCTizrZD.js → chrome-Cb9FgiCI.js} +6 -6
- package/dist/plugin-sdk/{chunk-DZr5xuqv.js → chunk-PW4MBmaN.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-BqJLwZYh.js → commands-registry-B5m2EsHz.js} +5 -5
- package/dist/plugin-sdk/{config-BzPMtEKA.js → config-CEgzwk0J.js} +10 -10
- package/dist/plugin-sdk/{deliver-Cfc1UCre.js → deliver-BNfMF0Nb.js} +10 -10
- package/dist/{deps-BQsD8-_C.js → plugin-sdk/deps-C8qACokW.js} +6 -6
- package/dist/plugin-sdk/{diagnostic-B8VzcqLf.js → diagnostic-ByA6zvzu.js} +1 -1
- package/dist/plugin-sdk/{dock-CMURqoee.js → dock-DKQYtT6-.js} +6 -6
- package/dist/plugin-sdk/{emergency-stop-BV2NiRit.js → emergency-stop-DylRK_E8.js} +55 -55
- package/dist/plugin-sdk/{env-qurSiOO2.js → env-5XecRTLs.js} +1 -1
- package/dist/{errors-C4SHjIZK.js → plugin-sdk/errors-CMcD8Lhh.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-C174s8ZV.js → fetch-guard-DwdUEdmT.js} +1 -1
- package/dist/plugin-sdk/{fs-safe-CCXTOK7j.js → fs-safe-qsx2_8-o.js} +2 -2
- package/dist/plugin-sdk/{image-DDuK8tyO.js → image-C_1tftC8.js} +6 -6
- package/dist/plugin-sdk/{image-ops-BRYGGDwL.js → image-ops-CXSUo-AM.js} +1 -1
- package/dist/plugin-sdk/index.js +60 -60
- package/dist/{ir-BT5aAdU9.js → plugin-sdk/ir-kdDGpPMq.js} +6 -6
- package/dist/plugin-sdk/{local-roots-bHCsSVt_.js → local-roots-DjB6DYeI.js} +4 -4
- package/dist/plugin-sdk/{login-CkQrnY2G.js → login-DIwO5D5Y.js} +6 -6
- package/dist/plugin-sdk/{login-qr-DAeHibH_.js → login-qr-CpCAJuvT.js} +8 -8
- package/dist/plugin-sdk/{manager-CTC1S_c9.js → manager-Dox9r7og.js} +10 -10
- package/dist/plugin-sdk/{markdown-tables-DfUQHRZY.js → markdown-tables-Drtwd4J5.js} +1 -1
- package/dist/plugin-sdk/{message-channel-DiMXmQeQ.js → message-channel-CQ0qkGHj.js} +1 -1
- package/dist/plugin-sdk/{outbound-B1twcfz5.js → outbound-Dx_q6JAI.js} +6 -6
- package/dist/plugin-sdk/{outbound-attachment-Bs7fNaqv.js → outbound-attachment-BisU5Vji.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-yyy61qHh.js → path-alias-guards-C_uBEYb4.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-BAm9cWol.js → pi-embedded-helpers-B68z4sHq.js} +16 -16
- package/dist/plugin-sdk/{pi-model-discovery-Bt6JtUFr.js → pi-model-discovery-Dt6899be.js} +1 -1
- package/dist/plugin-sdk/{plugins-DRPlVBr_.js → plugins-NTjIvHYk.js} +5 -5
- package/dist/plugin-sdk/{pw-ai-CY0evCZ2.js → pw-ai-Dk2PTZzq.js} +10 -10
- package/dist/plugin-sdk/{qmd-manager-BckPBwZX.js → qmd-manager-juzrnopq.js} +5 -5
- package/dist/plugin-sdk/{query-expansion-CPqK-tTR.js → query-expansion-xBXvzdkL.js} +2 -2
- package/dist/plugin-sdk/{redact-Ub8sMBBC.js → redact-B6VQH3UQ.js} +1 -1
- package/dist/plugin-sdk/{replies-DwTNZJgi.js → replies-ZovJp-3F.js} +3 -3
- package/dist/plugin-sdk/{reply-B_cEB9MH.js → reply-DhycbFxW.js} +95 -95
- package/dist/plugin-sdk/{reply-prefix-BqV0o7_7.js → reply-prefix--mxmTL7A.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-DAdNGEqG.js → resolve-outbound-target-CnUtsDch.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-C5mAwY-o.js → resolve-route-BZABUE4J.js} +3 -3
- package/dist/plugin-sdk/{retry-2OVzZJMZ.js → retry-Bh7jveNm.js} +1 -1
- package/dist/plugin-sdk/{runner-Ck0w3rcz.js → runner-CZz1tOIR.js} +10 -10
- package/dist/plugin-sdk/{send-BBD-m-nM.js → send-0EVlThEG.js} +10 -10
- package/dist/plugin-sdk/{send-CaPoBwby.js → send-B26cNPqY.js} +6 -6
- package/dist/plugin-sdk/{send-CPeuqOlq.js → send-BCjVQhp3.js} +13 -13
- package/dist/plugin-sdk/{send-SsqudCMv.js → send-CHUGIZs9.js} +7 -7
- package/dist/plugin-sdk/{send-A4Lv5nrg.js → send-Cb5NIN8s.js} +7 -7
- package/dist/plugin-sdk/{session-DpL4uk1J.js → session-DdJj6_DW.js} +3 -3
- package/dist/plugin-sdk/{sessions-CQ5iD4Uq.js → sessions-DNx9c2O2.js} +6 -6
- package/dist/plugin-sdk/{skill-commands-C_O9I71g.js → skill-commands-DorIK8kn.js} +5 -5
- package/dist/plugin-sdk/{skills-DmiIiX4l.js → skills-Dh_Cf2PA.js} +8 -8
- package/dist/plugin-sdk/{store-BI3rLJdW.js → store-CCCXwngh.js} +2 -2
- package/dist/plugin-sdk/{subsystem-lJo9gqAK.js → subsystem-DWPzKeZ0.js} +1 -1
- package/dist/plugin-sdk/{tables-C4X_nAUQ.js → tables-CF9W23Rd.js} +1 -1
- package/dist/plugin-sdk/{target-errors-CXh6e9ZE.js → target-errors-DaH0qYtL.js} +2 -2
- package/dist/{tokens-DGajj8M9.js → plugin-sdk/tokens-Y97UKh4C.js} +1 -1
- package/dist/plugin-sdk/{tool-images-Cf9aWlVu.js → tool-images-BMRkn_yk.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-DuwkSqZL.js → tool-loop-detection-Cv8wyfAi.js} +2 -2
- package/dist/plugin-sdk/{utils-dP-FpIgu.js → utils-Dyj2wV4e.js} +2 -2
- package/dist/plugin-sdk/web-yryYzFPs.js +71 -0
- package/dist/plugin-sdk/{whatsapp-actions-Bcknq6EZ.js → whatsapp-actions-B5g-Rywy.js} +23 -23
- package/dist/{plugins-DYr-HHj0.js → plugins-CRB60mCJ.js} +10 -10
- package/dist/{pw-ai-DIV4PcIo.js → pw-ai-CowTfhOG.js} +13 -13
- package/dist/{pw-ai-yrIWfcWX.js → pw-ai-DjmrIQle.js} +1 -1
- package/dist/{qmd-manager-BRvg3Rx2.js → qmd-manager-B_GgyQQ0.js} +8 -8
- package/dist/{query-expansion-DHuNyU-_.js → query-expansion-DEq020GG.js} +5 -5
- package/dist/{redact-1Y0KPNtr.js → redact-Bvpf-ATQ.js} +1 -1
- package/dist/{replies-2C16fnBP.js → replies-6_GxvQYe.js} +3 -3
- package/dist/{reply-prefix-DCljZiIB.js → reply-prefix-BUgeSN2R.js} +1 -1
- package/dist/{resolve-route-ClcifpKn.js → resolve-route-DuttYY7A.js} +4 -4
- package/dist/{retry-CG6cMRDQ.js → retry-BeB9WenR.js} +1 -1
- package/dist/{runner-BkCU-kqs.js → runner-BzNdfqDz.js} +11 -11
- package/dist/{runner-Bv_BA3vd.js → runner-CZW_eyf2.js} +1 -1
- package/dist/{send-DZa8fWSm.js → send-BeIZJuy4.js} +7 -7
- package/dist/{send-Y1hD4tQ1.js → send-C1hvd3bt.js} +6 -6
- package/dist/{send-BOxJ4QXF.js → send-D4bMycQu.js} +7 -7
- package/dist/{send-FLdrx-oF.js → send-Dfa3sn6r.js} +24 -24
- package/dist/{send-IlPMLAH-.js → send-DmLC7aEF.js} +10 -10
- package/dist/{session-nUPBXeEa.js → session-F_YDS_1V.js} +7 -7
- package/dist/{sessions-DRA4oaxz.js → sessions-3ioSeOA1.js} +41 -41
- package/dist/{skill-commands-BHTBXXVn.js → skill-commands-Ck3flWX7.js} +9 -9
- package/dist/{skills-umlGvChF.js → skills-CnAPWfca.js} +22 -22
- package/dist/{store-D-ZicQeo.js → store-CvMgrKWx.js} +2 -2
- package/dist/{subsystem-D7ZepYT1.js → subsystem-tzu-rIAJ.js} +1 -1
- package/dist/{tables-Co_R_WKs.js → tables-5k-zOZ-s.js} +1 -1
- package/dist/{target-errors-B1mcM4WR.js → target-errors-BPfQrPim.js} +2 -2
- package/dist/{plugin-sdk/tokens-CU9S3S7t.js → tokens-BRLyURxW.js} +1 -1
- package/dist/{tool-images-Duuqr4bN.js → tool-images-CcGZpzmq.js} +2 -2
- package/dist/{tool-loop-detection-CjWRg_4q.js → tool-loop-detection-BNGetx3Z.js} +3 -3
- package/dist/{utils-D9wGoiU9.js → utils-CTFLl_ji.js} +18 -18
- package/dist/{web-D3gOCfby.js → web-BsIp9miY.js} +8 -8
- package/dist/{web-D7J5iB9K.js → web-JPsGpVZ5.js} +66 -66
- package/dist/{whatsapp-actions-BJ6kVDXi.js → whatsapp-actions-DbPcN6JQ.js} +25 -25
- package/dist/{workspace-tAtkoD_r.js → workspace-DBFSzT6O.js} +18 -18
- package/package.json +1 -1
- package/dist/emergency-stop-DVyGxgzf.js +0 -113
- package/dist/plugin-sdk/web-B-hYOnMb.js +0 -71
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { r as loadConfig } from "./config-
|
|
3
|
-
import { q as resolvePreferredIdleHandsTmpDir } from "./utils-
|
|
4
|
-
import { B as resolveDiscordAccount, V as normalizeDiscordToken, _ as ensureTargetId, b as requireTargetKind, g as buildMessagingTarget, v as parseTargetMention, y as parseTargetPrefixes } from "./plugins-
|
|
2
|
+
import { r as loadConfig } from "./config-CEgzwk0J.js";
|
|
3
|
+
import { q as resolvePreferredIdleHandsTmpDir } from "./utils-Dyj2wV4e.js";
|
|
4
|
+
import { B as resolveDiscordAccount, V as normalizeDiscordToken, _ as ensureTargetId, b as requireTargetKind, g as buildMessagingTarget, v as parseTargetMention, y as parseTargetPrefixes } from "./plugins-NTjIvHYk.js";
|
|
5
5
|
import { t as resolveFetch } from "./fetch-Bdjb7Pke.js";
|
|
6
|
-
import { n as retryAsync, t as resolveRetryConfig } from "./retry-
|
|
7
|
-
import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity-
|
|
6
|
+
import { n as retryAsync, t as resolveRetryConfig } from "./retry-Bh7jveNm.js";
|
|
7
|
+
import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity-loOg1DRw.js";
|
|
8
8
|
import { n as normalizePollInput, t as normalizePollDurationHours } from "./polls-CFdM6_bj.js";
|
|
9
|
-
import { _ as maxBytesForKind, l as extensionForMime } from "./image-ops-
|
|
10
|
-
import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-
|
|
11
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode } from "./chunk-
|
|
12
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
13
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
9
|
+
import { _ as maxBytesForKind, l as extensionForMime } from "./image-ops-CXSUo-AM.js";
|
|
10
|
+
import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-kdDGpPMq.js";
|
|
11
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode } from "./chunk-PW4MBmaN.js";
|
|
12
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-Drtwd4J5.js";
|
|
13
|
+
import { t as convertMarkdownTables } from "./tables-CF9W23Rd.js";
|
|
14
14
|
import path from "node:path";
|
|
15
15
|
import fs from "node:fs/promises";
|
|
16
16
|
import crypto from "node:crypto";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { r as loadConfig } from "./config-
|
|
3
|
-
import { i as resolveSignalAccount } from "./accounts-
|
|
2
|
+
import { r as loadConfig } from "./config-CEgzwk0J.js";
|
|
3
|
+
import { i as resolveSignalAccount } from "./accounts-C5tHm1UI.js";
|
|
4
4
|
import { n as fetchWithTimeout } from "./fetch-timeout-DwpMsAKA.js";
|
|
5
5
|
import { t as resolveFetch } from "./fetch-Bdjb7Pke.js";
|
|
6
|
-
import { v as mediaKindFromMime } from "./image-ops-
|
|
7
|
-
import { n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
8
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
6
|
+
import { v as mediaKindFromMime } from "./image-ops-CXSUo-AM.js";
|
|
7
|
+
import { n as markdownToIR, t as chunkMarkdownIR } from "./ir-kdDGpPMq.js";
|
|
8
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-Drtwd4J5.js";
|
|
9
9
|
import { n as generateSecureUuid } from "./secure-random-B2sXEOWH.js";
|
|
10
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
10
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-BisU5Vji.js";
|
|
11
11
|
|
|
12
12
|
//#region src/signal/client.ts
|
|
13
13
|
const DEFAULT_TIMEOUT_MS = 1e4;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { f as DEFAULT_ACCOUNT_ID, p as normalizeAccountId } from "./session-key-47BV2tLd.js";
|
|
3
3
|
import { d as resolveStateDir, f as expandHomePrefix, l as resolveOAuthDir, m as resolveRequiredHomeDir } from "./paths-CtGV5i8O.js";
|
|
4
|
-
import { Vt as resolveTelegramPreviewStreamMode, a as readConfigFileSnapshotForWrite, jn as withFileLock$1, r as loadConfig, s as writeConfigFile } from "./config-
|
|
5
|
-
import { D as logVerbose, g as safeParseJson, t as CONFIG_DIR, w as danger } from "./utils-
|
|
6
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
7
|
-
import { t as isTruthyEnvValue } from "./env-
|
|
8
|
-
import { D as resolveTelegramAccount, n as listChannelPlugins, t as getChannelPlugin } from "./plugins-
|
|
4
|
+
import { Vt as resolveTelegramPreviewStreamMode, a as readConfigFileSnapshotForWrite, jn as withFileLock$1, r as loadConfig, s as writeConfigFile } from "./config-CEgzwk0J.js";
|
|
5
|
+
import { D as logVerbose, g as safeParseJson, t as CONFIG_DIR, w as danger } from "./utils-Dyj2wV4e.js";
|
|
6
|
+
import { t as createSubsystemLogger } from "./subsystem-DWPzKeZ0.js";
|
|
7
|
+
import { t as isTruthyEnvValue } from "./env-5XecRTLs.js";
|
|
8
|
+
import { D as resolveTelegramAccount, n as listChannelPlugins, t as getChannelPlugin } from "./plugins-NTjIvHYk.js";
|
|
9
9
|
import { t as resolveFetch } from "./fetch-Bdjb7Pke.js";
|
|
10
|
-
import { t as redactSensitiveText } from "./redact-
|
|
11
|
-
import { n as formatErrorMessage, r as formatUncaughtError, t as extractErrorCode } from "./errors-
|
|
12
|
-
import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-
|
|
10
|
+
import { t as redactSensitiveText } from "./redact-B6VQH3UQ.js";
|
|
11
|
+
import { n as formatErrorMessage, r as formatUncaughtError, t as extractErrorCode } from "./errors-CMcD8Lhh.js";
|
|
12
|
+
import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-loOg1DRw.js";
|
|
13
13
|
import { n as normalizePollInput } from "./polls-CFdM6_bj.js";
|
|
14
|
-
import { h as normalizeMimeType, p as isGifMedia, u as getFileExtension, v as mediaKindFromMime } from "./image-ops-
|
|
15
|
-
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
16
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
14
|
+
import { h as normalizeMimeType, p as isGifMedia, u as getFileExtension, v as mediaKindFromMime } from "./image-ops-CXSUo-AM.js";
|
|
15
|
+
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-kdDGpPMq.js";
|
|
16
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-Drtwd4J5.js";
|
|
17
17
|
import { t as renderMarkdownWithMarkers } from "./render-latcSJiL.js";
|
|
18
18
|
import { t as makeProxyFetch } from "./proxy-C4ewPdlN.js";
|
|
19
19
|
import fs, { readFileSync } from "node:fs";
|
|
@@ -21,7 +21,7 @@ import path from "node:path";
|
|
|
21
21
|
import os from "node:os";
|
|
22
22
|
import fs$1 from "node:fs/promises";
|
|
23
23
|
import crypto from "node:crypto";
|
|
24
|
-
import
|
|
24
|
+
import json5 from "json5";
|
|
25
25
|
import { Agent, setGlobalDispatcher } from "undici";
|
|
26
26
|
import * as dns from "node:dns";
|
|
27
27
|
import * as net$1 from "node:net";
|
|
@@ -1562,7 +1562,7 @@ async function loadCronStore(storePath) {
|
|
|
1562
1562
|
const raw = await fs.promises.readFile(storePath, "utf-8");
|
|
1563
1563
|
let parsed;
|
|
1564
1564
|
try {
|
|
1565
|
-
parsed =
|
|
1565
|
+
parsed = json5.parse(raw);
|
|
1566
1566
|
} catch (err) {
|
|
1567
1567
|
throw new Error(`Failed to parse cron store at ${storePath}: ${String(err)}`, { cause: err });
|
|
1568
1568
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { r as loadConfig } from "./config-
|
|
3
|
-
import { d as normalizeE164, h as resolveUserPath } from "./utils-
|
|
4
|
-
import { r as resolveIMessageAccount } from "./accounts-
|
|
5
|
-
import { v as mediaKindFromMime } from "./image-ops-
|
|
6
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
7
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
8
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
2
|
+
import { r as loadConfig } from "./config-CEgzwk0J.js";
|
|
3
|
+
import { d as normalizeE164, h as resolveUserPath } from "./utils-Dyj2wV4e.js";
|
|
4
|
+
import { r as resolveIMessageAccount } from "./accounts-CBVAw5_G.js";
|
|
5
|
+
import { v as mediaKindFromMime } from "./image-ops-CXSUo-AM.js";
|
|
6
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-Drtwd4J5.js";
|
|
7
|
+
import { t as convertMarkdownTables } from "./tables-CF9W23Rd.js";
|
|
8
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-BisU5Vji.js";
|
|
9
9
|
import { spawn } from "node:child_process";
|
|
10
10
|
import { createInterface } from "node:readline";
|
|
11
11
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { r as loadConfig } from "./config-
|
|
3
|
-
import { D as logVerbose } from "./utils-
|
|
4
|
-
import { F as resolveSlackBotToken, M as resolveSlackAccount, m as parseSlackTarget } from "./plugins-
|
|
5
|
-
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
6
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-
|
|
7
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
2
|
+
import { r as loadConfig } from "./config-CEgzwk0J.js";
|
|
3
|
+
import { D as logVerbose } from "./utils-Dyj2wV4e.js";
|
|
4
|
+
import { F as resolveSlackBotToken, M as resolveSlackAccount, m as parseSlackTarget } from "./plugins-NTjIvHYk.js";
|
|
5
|
+
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-kdDGpPMq.js";
|
|
6
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-PW4MBmaN.js";
|
|
7
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-Drtwd4J5.js";
|
|
8
8
|
import { t as renderMarkdownWithMarkers } from "./render-latcSJiL.js";
|
|
9
|
-
import { i as isSilentReplyText } from "./tokens-
|
|
9
|
+
import { i as isSilentReplyText } from "./tokens-Y97UKh4C.js";
|
|
10
10
|
import { WebClient } from "@slack/web-api";
|
|
11
11
|
|
|
12
12
|
//#region src/slack/blocks-input.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Bn as VERSION } from "./config-
|
|
2
|
-
import { B as toPinoLikeLogger, I as getChildLogger, a as ensureDir, h as resolveUserPath, j as success, w as danger } from "./utils-
|
|
1
|
+
import { Bn as VERSION } from "./config-CEgzwk0J.js";
|
|
2
|
+
import { B as toPinoLikeLogger, I as getChildLogger, a as ensureDir, h as resolveUserPath, j as success, w as danger } from "./utils-Dyj2wV4e.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-DRnDl0ar.js";
|
|
4
|
-
import { c as readCredsJsonRaw, d as resolveWebCredsBackupPath, f as resolveWebCredsPath, o as maybeRestoreCredsFromBackup, u as resolveDefaultWebAuthDir } from "./auth-store-
|
|
4
|
+
import { c as readCredsJsonRaw, d as resolveWebCredsBackupPath, f as resolveWebCredsPath, o as maybeRestoreCredsFromBackup, u as resolveDefaultWebAuthDir } from "./auth-store-DaPWgQTx.js";
|
|
5
5
|
import fs from "node:fs";
|
|
6
6
|
import { randomUUID } from "node:crypto";
|
|
7
7
|
import { DisconnectReason, fetchLatestBaileysVersion, makeCacheableSignalKeyStore, makeWASocket, useMultiFileAuthState } from "@whiskeysockets/baileys";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { c as normalizeMainKey, l as resolveAgentIdFromSessionKey, m as normalizeOptionalAccountId, r as buildAgentMainSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-47BV2tLd.js";
|
|
3
3
|
import { m as resolveRequiredHomeDir } from "./paths-CtGV5i8O.js";
|
|
4
|
-
import { H as parseByteSize, Mn as resolveProcessScopedMap, Nn as isPidAlive, V as parseDurationMs, r as loadConfig } from "./config-
|
|
5
|
-
import { d as normalizeE164 } from "./utils-
|
|
6
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
7
|
-
import { M as normalizeHyphenSlug, t as getChannelDock } from "./dock-
|
|
8
|
-
import { o as listDeliverableMessageChannels, s as normalizeMessageChannel } from "./message-channel-
|
|
4
|
+
import { H as parseByteSize, Mn as resolveProcessScopedMap, Nn as isPidAlive, V as parseDurationMs, r as loadConfig } from "./config-CEgzwk0J.js";
|
|
5
|
+
import { d as normalizeE164 } from "./utils-Dyj2wV4e.js";
|
|
6
|
+
import { t as createSubsystemLogger } from "./subsystem-DWPzKeZ0.js";
|
|
7
|
+
import { M as normalizeHyphenSlug, t as getChannelDock } from "./dock-DKQYtT6-.js";
|
|
8
|
+
import { o as listDeliverableMessageChannels, s as normalizeMessageChannel } from "./message-channel-CQ0qkGHj.js";
|
|
9
9
|
import { t as normalizeChatType } from "./chat-type-t7Wyry0R.js";
|
|
10
10
|
import { n as resolveConversationLabel } from "./conversation-label-C3GZ0Hvg.js";
|
|
11
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
11
|
+
import { r as normalizeChannelId } from "./plugins-NTjIvHYk.js";
|
|
12
12
|
import { a as resolveSessionFilePathOptions, c as resolveSessionTranscriptsDir, d as validateSessionId, i as resolveSessionFilePath, l as resolveSessionTranscriptsDirForAgent, o as resolveSessionTranscriptPath, r as resolveDefaultSessionStorePath, s as resolveSessionTranscriptPathInDir, t as SAFE_SESSION_ID_RE, u as resolveStorePath } from "./paths-CSpzSLh8.js";
|
|
13
13
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-ChU6IQwp.js";
|
|
14
14
|
import fs from "node:fs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { d as resolveStateDir } from "./paths-CtGV5i8O.js";
|
|
3
|
-
import { h as resolveUserPath, t as CONFIG_DIR } from "./utils-
|
|
4
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
5
|
-
import { n as listAgentIds, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
6
|
-
import { o as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-
|
|
7
|
-
import { a as listChatCommands } from "./commands-registry-
|
|
3
|
+
import { h as resolveUserPath, t as CONFIG_DIR } from "./utils-Dyj2wV4e.js";
|
|
4
|
+
import { t as createSubsystemLogger } from "./subsystem-DWPzKeZ0.js";
|
|
5
|
+
import { n as listAgentIds, s as resolveAgentWorkspaceDir } from "./agent-scope-jl80I5G9.js";
|
|
6
|
+
import { o as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-Dh_Cf2PA.js";
|
|
7
|
+
import { a as listChatCommands } from "./commands-registry-B5m2EsHz.js";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import os from "node:os";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { $ as LEGACY_MANIFEST_KEYS, Un as isDangerousHostEnvVarName, Y as loadPluginManifestRegistry, et as MANIFEST_KEY, it as resolveMemorySlotDecision, nt as normalizePluginsConfig, rt as resolveEffectiveEnableState } from "./config-
|
|
2
|
-
import { h as resolveUserPath, q as resolvePreferredIdleHandsTmpDir, t as CONFIG_DIR } from "./utils-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { n as parseBooleanValue } from "./env-
|
|
5
|
-
import { T as resolveIdleHandsPackageRootSync, U as normalizeSkillFilter, V as isPathInside } from "./agent-scope-
|
|
6
|
-
import { n as assertNoPathAliasEscape } from "./path-alias-guards-
|
|
1
|
+
import { $ as LEGACY_MANIFEST_KEYS, Un as isDangerousHostEnvVarName, Y as loadPluginManifestRegistry, et as MANIFEST_KEY, it as resolveMemorySlotDecision, nt as normalizePluginsConfig, rt as resolveEffectiveEnableState } from "./config-CEgzwk0J.js";
|
|
2
|
+
import { h as resolveUserPath, q as resolvePreferredIdleHandsTmpDir, t as CONFIG_DIR } from "./utils-Dyj2wV4e.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-DWPzKeZ0.js";
|
|
4
|
+
import { n as parseBooleanValue } from "./env-5XecRTLs.js";
|
|
5
|
+
import { T as resolveIdleHandsPackageRootSync, U as normalizeSkillFilter, V as isPathInside } from "./agent-scope-jl80I5G9.js";
|
|
6
|
+
import { n as assertNoPathAliasEscape } from "./path-alias-guards-C_uBEYb4.js";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import os from "node:os";
|
|
10
10
|
import { createHash, timingSafeEqual } from "node:crypto";
|
|
11
|
-
import
|
|
11
|
+
import json5 from "json5";
|
|
12
12
|
import { URL, fileURLToPath } from "node:url";
|
|
13
13
|
import { formatSkillsForPrompt, loadSkillsFromDir } from "@mariozechner/pi-coding-agent";
|
|
14
14
|
import YAML from "yaml";
|
|
@@ -240,7 +240,7 @@ function resolveIdleHandsManifestBlock(params) {
|
|
|
240
240
|
const raw = getFrontmatterString(params.frontmatter, params.key ?? "metadata");
|
|
241
241
|
if (!raw) return;
|
|
242
242
|
try {
|
|
243
|
-
const parsed =
|
|
243
|
+
const parsed = json5.parse(raw);
|
|
244
244
|
if (!parsed || typeof parsed !== "object") return;
|
|
245
245
|
const manifestKeys = [MANIFEST_KEY, ...LEGACY_MANIFEST_KEYS];
|
|
246
246
|
for (const key of manifestKeys) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as resolveConfigDir } from "./utils-
|
|
2
|
-
import { c as detectMime, l as extensionForMime } from "./image-ops-
|
|
1
|
+
import { p as resolveConfigDir } from "./utils-Dyj2wV4e.js";
|
|
2
|
+
import { c as detectMime, l as extensionForMime } from "./image-ops-CXSUo-AM.js";
|
|
3
3
|
import { createWriteStream } from "node:fs";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import fs$1 from "node:fs/promises";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as logVerbose, E as isVerbose, G as normalizeLogLevel, H as resolveEnvLogLevelOverride, I as getChildLogger, K as readLoggingConfig, R as isFileLogLevelEnabled, U as loggingState, V as resolveNodeRequireFromMeta, W as levelToMinLevel, h as resolveUserPath } from "./utils-
|
|
1
|
+
import { D as logVerbose, E as isVerbose, G as normalizeLogLevel, H as resolveEnvLogLevelOverride, I as getChildLogger, K as readLoggingConfig, R as isFileLogLevelEnabled, U as loggingState, V as resolveNodeRequireFromMeta, W as levelToMinLevel, h as resolveUserPath } from "./utils-Dyj2wV4e.js";
|
|
2
2
|
import { i as clearActiveProgressLine } from "./runtime-CjfcfOBD.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import util from "node:util";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as detectMime } from "./image-ops-
|
|
2
|
-
import { r as sanitizeToolResultImages } from "./tool-images-
|
|
1
|
+
import { c as detectMime } from "./image-ops-CXSUo-AM.js";
|
|
2
|
+
import { r as sanitizeToolResultImages } from "./tool-images-BMRkn_yk.js";
|
|
3
3
|
import fs from "node:fs/promises";
|
|
4
4
|
|
|
5
5
|
//#region src/agents/tools/common.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-DWPzKeZ0.js";
|
|
2
|
+
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-CXSUo-AM.js";
|
|
3
3
|
|
|
4
4
|
//#region src/media/base64.ts
|
|
5
5
|
function estimateBase64DecodedBytes(base64) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./paths-CtGV5i8O.js";
|
|
2
|
-
import { C as isPlainObject } from "./utils-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { C as isPlainObject } from "./utils-Dyj2wV4e.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-DWPzKeZ0.js";
|
|
4
4
|
import "./runtime-CjfcfOBD.js";
|
|
5
5
|
import { createHash } from "node:crypto";
|
|
6
6
|
|
|
@@ -2,7 +2,7 @@ import { f as expandHomePrefix, i as resolveConfigPath, l as resolveOAuthDir, m
|
|
|
2
2
|
import fs from "node:fs";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import os from "node:os";
|
|
5
|
-
import
|
|
5
|
+
import json5 from "json5";
|
|
6
6
|
import { Logger } from "tslog";
|
|
7
7
|
import chalk, { Chalk } from "chalk";
|
|
8
8
|
|
|
@@ -111,7 +111,7 @@ function readLoggingConfig() {
|
|
|
111
111
|
try {
|
|
112
112
|
if (!fs.existsSync(configPath)) return;
|
|
113
113
|
const raw = fs.readFileSync(configPath, "utf-8");
|
|
114
|
-
const logging =
|
|
114
|
+
const logging = json5.parse(raw)?.logging;
|
|
115
115
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
116
116
|
return logging;
|
|
117
117
|
} catch {
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import "./accounts-BLYMokxV.js";
|
|
2
|
+
import "./reply-DhycbFxW.js";
|
|
3
|
+
import "./paths-CtGV5i8O.js";
|
|
4
|
+
import "./github-copilot-token-CY2euW0d.js";
|
|
5
|
+
import "./config-CEgzwk0J.js";
|
|
6
|
+
import "./utils-Dyj2wV4e.js";
|
|
7
|
+
import "./subsystem-DWPzKeZ0.js";
|
|
8
|
+
import "./runtime-CjfcfOBD.js";
|
|
9
|
+
import "./env-5XecRTLs.js";
|
|
10
|
+
import "./agent-scope-jl80I5G9.js";
|
|
11
|
+
import "./dock-DKQYtT6-.js";
|
|
12
|
+
import "./message-channel-CQ0qkGHj.js";
|
|
13
|
+
import "./sessions-DNx9c2O2.js";
|
|
14
|
+
import "./plugins-NTjIvHYk.js";
|
|
15
|
+
import "./accounts-CBVAw5_G.js";
|
|
16
|
+
import "./accounts-C5tHm1UI.js";
|
|
17
|
+
import "./bindings-xXgmJGxj.js";
|
|
18
|
+
import { i as logWebSelfId, p as webAuthExists, s as pickWebChannel, t as WA_WEB_AUTH_DIR } from "./auth-store-DaPWgQTx.js";
|
|
19
|
+
import "./send-0EVlThEG.js";
|
|
20
|
+
import "./paths-CSpzSLh8.js";
|
|
21
|
+
import "./fetch-Bdjb7Pke.js";
|
|
22
|
+
import "./retry-Bh7jveNm.js";
|
|
23
|
+
import "./redact-B6VQH3UQ.js";
|
|
24
|
+
import "./errors-CMcD8Lhh.js";
|
|
25
|
+
import "./channel-activity-loOg1DRw.js";
|
|
26
|
+
import "./path-alias-guards-C_uBEYb4.js";
|
|
27
|
+
import "./fs-safe-qsx2_8-o.js";
|
|
28
|
+
import "./image-ops-CXSUo-AM.js";
|
|
29
|
+
import "./ssrf-C3kIyB5u.js";
|
|
30
|
+
import "./fetch-guard-DwdUEdmT.js";
|
|
31
|
+
import "./local-roots-DjB6DYeI.js";
|
|
32
|
+
import "./ir-kdDGpPMq.js";
|
|
33
|
+
import "./chunk-PW4MBmaN.js";
|
|
34
|
+
import "./markdown-tables-Drtwd4J5.js";
|
|
35
|
+
import "./render-latcSJiL.js";
|
|
36
|
+
import "./tables-CF9W23Rd.js";
|
|
37
|
+
import "./send-CHUGIZs9.js";
|
|
38
|
+
import "./send-BCjVQhp3.js";
|
|
39
|
+
import "./tool-images-BMRkn_yk.js";
|
|
40
|
+
import "./target-errors-DaH0qYtL.js";
|
|
41
|
+
import "./send-Cb5NIN8s.js";
|
|
42
|
+
import "./runner-CZz1tOIR.js";
|
|
43
|
+
import "./reply-prefix--mxmTL7A.js";
|
|
44
|
+
import "./tokens-Y97UKh4C.js";
|
|
45
|
+
import "./skill-commands-DorIK8kn.js";
|
|
46
|
+
import "./skills-Dh_Cf2PA.js";
|
|
47
|
+
import "./chrome-Cb9FgiCI.js";
|
|
48
|
+
import "./deliver-BNfMF0Nb.js";
|
|
49
|
+
import "./diagnostic-ByA6zvzu.js";
|
|
50
|
+
import "./store-CCCXwngh.js";
|
|
51
|
+
import "./pi-embedded-helpers-B68z4sHq.js";
|
|
52
|
+
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-Dn0OzSFP.js";
|
|
53
|
+
import "./thinking-g4Rrlwu4.js";
|
|
54
|
+
import "./image-C_1tftC8.js";
|
|
55
|
+
import "./pi-model-discovery-Dt6899be.js";
|
|
56
|
+
import "./api-key-rotation-D6nK54XH.js";
|
|
57
|
+
import "./commands-registry-B5m2EsHz.js";
|
|
58
|
+
import "./diagnostic-session-state-Br7SziNV.js";
|
|
59
|
+
import "./manager-Dox9r7og.js";
|
|
60
|
+
import "./query-expansion-xBXvzdkL.js";
|
|
61
|
+
import "./send-B26cNPqY.js";
|
|
62
|
+
import "./proxy-C4ewPdlN.js";
|
|
63
|
+
import "./resolve-route-BZABUE4J.js";
|
|
64
|
+
import "./replies-ZovJp-3F.js";
|
|
65
|
+
import "./deps-C8qACokW.js";
|
|
66
|
+
import "./outbound-attachment-BisU5Vji.js";
|
|
67
|
+
import { n as sendMessageWhatsApp } from "./outbound-Dx_q6JAI.js";
|
|
68
|
+
import { i as waitForWaConnection, t as createWaSocket } from "./session-DdJj6_DW.js";
|
|
69
|
+
import { t as loginWeb } from "./login-DIwO5D5Y.js";
|
|
70
|
+
|
|
71
|
+
export { WA_WEB_AUTH_DIR, createWaSocket, logWebSelfId, loginWeb, monitorWebChannel, monitorWebInbox, pickWebChannel, sendMessageWhatsApp, waitForWaConnection, webAuthExists };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { i as resolveWhatsAppAccount } from "./accounts-
|
|
1
|
+
import { i as resolveWhatsAppAccount } from "./accounts-BLYMokxV.js";
|
|
2
2
|
import "./paths-CtGV5i8O.js";
|
|
3
3
|
import "./github-copilot-token-CY2euW0d.js";
|
|
4
|
-
import "./config-
|
|
5
|
-
import "./utils-
|
|
6
|
-
import "./subsystem-
|
|
4
|
+
import "./config-CEgzwk0J.js";
|
|
5
|
+
import "./utils-Dyj2wV4e.js";
|
|
6
|
+
import "./subsystem-DWPzKeZ0.js";
|
|
7
7
|
import "./runtime-CjfcfOBD.js";
|
|
8
|
-
import "./env-
|
|
9
|
-
import "./agent-scope-
|
|
10
|
-
import "./message-channel-
|
|
11
|
-
import "./plugins-
|
|
12
|
-
import "./bindings-
|
|
13
|
-
import "./auth-store-
|
|
14
|
-
import "./path-alias-guards-
|
|
15
|
-
import "./fs-safe-
|
|
16
|
-
import "./image-ops-
|
|
8
|
+
import "./env-5XecRTLs.js";
|
|
9
|
+
import "./agent-scope-jl80I5G9.js";
|
|
10
|
+
import "./message-channel-CQ0qkGHj.js";
|
|
11
|
+
import "./plugins-NTjIvHYk.js";
|
|
12
|
+
import "./bindings-xXgmJGxj.js";
|
|
13
|
+
import "./auth-store-DaPWgQTx.js";
|
|
14
|
+
import "./path-alias-guards-C_uBEYb4.js";
|
|
15
|
+
import "./fs-safe-qsx2_8-o.js";
|
|
16
|
+
import "./image-ops-CXSUo-AM.js";
|
|
17
17
|
import "./ssrf-C3kIyB5u.js";
|
|
18
|
-
import "./fetch-guard-
|
|
19
|
-
import "./local-roots-
|
|
20
|
-
import "./ir-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./markdown-tables-
|
|
18
|
+
import "./fetch-guard-DwdUEdmT.js";
|
|
19
|
+
import "./local-roots-DjB6DYeI.js";
|
|
20
|
+
import "./ir-kdDGpPMq.js";
|
|
21
|
+
import "./chunk-PW4MBmaN.js";
|
|
22
|
+
import "./markdown-tables-Drtwd4J5.js";
|
|
23
23
|
import "./render-latcSJiL.js";
|
|
24
|
-
import "./tables-
|
|
25
|
-
import "./tool-images-
|
|
26
|
-
import { a as createActionGate, c as jsonResult, d as readReactionParams, i as ToolAuthorizationError, m as readStringParam } from "./target-errors-
|
|
27
|
-
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-
|
|
28
|
-
import { r as sendReactionWhatsApp } from "./outbound-
|
|
24
|
+
import "./tables-CF9W23Rd.js";
|
|
25
|
+
import "./tool-images-BMRkn_yk.js";
|
|
26
|
+
import { a as createActionGate, c as jsonResult, d as readReactionParams, i as ToolAuthorizationError, m as readStringParam } from "./target-errors-DaH0qYtL.js";
|
|
27
|
+
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-CnUtsDch.js";
|
|
28
|
+
import { r as sendReactionWhatsApp } from "./outbound-Dx_q6JAI.js";
|
|
29
29
|
|
|
30
30
|
//#region src/agents/tools/whatsapp-target-auth.ts
|
|
31
31
|
function resolveAuthorizedWhatsAppOutboundTarget(params) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { d as requireActivePluginRegistry, o as normalizeAnyChannelId, r as CHAT_CHANNEL_ORDER, t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { d as normalizeE164 } from "./utils-
|
|
1
|
+
import { d as requireActivePluginRegistry, o as normalizeAnyChannelId, r as CHAT_CHANNEL_ORDER, t as createSubsystemLogger } from "./subsystem-tzu-rIAJ.js";
|
|
2
|
+
import { d as normalizeE164 } from "./utils-CTFLl_ji.js";
|
|
3
3
|
import { f as DEFAULT_ACCOUNT_ID, p as normalizeAccountId } from "./session-key-CuLPSMu_.js";
|
|
4
|
-
import { t as isTruthyEnvValue } from "./env-
|
|
5
|
-
import { r as createAccountListHelpers } from "./accounts-
|
|
4
|
+
import { t as isTruthyEnvValue } from "./env-B5G1qwGc.js";
|
|
5
|
+
import { r as createAccountListHelpers } from "./accounts-Dk8mJIrQ.js";
|
|
6
6
|
import { t as resolveAccountEntry } from "./account-lookup-DlMshWZ_.js";
|
|
7
7
|
import { t as normalizeChatType } from "./chat-type-BPBtOjer.js";
|
|
8
|
-
import { i as resolveDefaultAgentBoundAccountId, r as listBoundAccountIds } from "./bindings-
|
|
9
|
-
import
|
|
8
|
+
import { i as resolveDefaultAgentBoundAccountId, r as listBoundAccountIds } from "./bindings-D3b5Fmc9.js";
|
|
9
|
+
import syncFs from "node:fs";
|
|
10
10
|
import util from "node:util";
|
|
11
11
|
|
|
12
12
|
//#region src/channels/plugins/account-action-gate.ts
|
|
@@ -185,7 +185,7 @@ function resolveTelegramToken(cfg, opts = {}) {
|
|
|
185
185
|
const accountCfg = resolveAccountCfg(accountId !== DEFAULT_ACCOUNT_ID ? accountId : DEFAULT_ACCOUNT_ID);
|
|
186
186
|
const accountTokenFile = accountCfg?.tokenFile?.trim();
|
|
187
187
|
if (accountTokenFile) {
|
|
188
|
-
if (!
|
|
188
|
+
if (!syncFs.existsSync(accountTokenFile)) {
|
|
189
189
|
opts.logMissingFile?.(`channels.telegram.accounts.${accountId}.tokenFile not found: ${accountTokenFile}`);
|
|
190
190
|
return {
|
|
191
191
|
token: "",
|
|
@@ -193,7 +193,7 @@ function resolveTelegramToken(cfg, opts = {}) {
|
|
|
193
193
|
};
|
|
194
194
|
}
|
|
195
195
|
try {
|
|
196
|
-
const token =
|
|
196
|
+
const token = syncFs.readFileSync(accountTokenFile, "utf-8").trim();
|
|
197
197
|
if (token) return {
|
|
198
198
|
token,
|
|
199
199
|
source: "tokenFile"
|
|
@@ -218,7 +218,7 @@ function resolveTelegramToken(cfg, opts = {}) {
|
|
|
218
218
|
const allowEnv = accountId === DEFAULT_ACCOUNT_ID;
|
|
219
219
|
const tokenFile = telegramCfg?.tokenFile?.trim();
|
|
220
220
|
if (tokenFile && allowEnv) {
|
|
221
|
-
if (!
|
|
221
|
+
if (!syncFs.existsSync(tokenFile)) {
|
|
222
222
|
opts.logMissingFile?.(`channels.telegram.tokenFile not found: ${tokenFile}`);
|
|
223
223
|
return {
|
|
224
224
|
token: "",
|
|
@@ -226,7 +226,7 @@ function resolveTelegramToken(cfg, opts = {}) {
|
|
|
226
226
|
};
|
|
227
227
|
}
|
|
228
228
|
try {
|
|
229
|
-
const token =
|
|
229
|
+
const token = syncFs.readFileSync(tokenFile, "utf-8").trim();
|
|
230
230
|
if (token) return {
|
|
231
231
|
token,
|
|
232
232
|
source: "tokenFile"
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import "./agent-scope-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import "./subsystem-
|
|
4
|
-
import { K as resolvePreferredIdleHandsTmpDir } from "./utils-
|
|
1
|
+
import "./agent-scope-DyP_tr7s.js";
|
|
2
|
+
import "./paths-BYNVLNi_.js";
|
|
3
|
+
import "./subsystem-tzu-rIAJ.js";
|
|
4
|
+
import { K as resolvePreferredIdleHandsTmpDir } from "./utils-CTFLl_ji.js";
|
|
5
5
|
import "./runtime-8mi3mpYB.js";
|
|
6
|
-
import "./workspace-
|
|
7
|
-
import "./model-selection-
|
|
8
|
-
import "./github-copilot-token-
|
|
6
|
+
import "./workspace-DBFSzT6O.js";
|
|
7
|
+
import "./model-selection-1MMYqY6M.js";
|
|
8
|
+
import "./github-copilot-token-Dgt6cnsM.js";
|
|
9
9
|
import { t as formatCliCommand } from "./command-format-BAxx4PW5.js";
|
|
10
10
|
import "./boolean-CE7i9tBR.js";
|
|
11
|
-
import "./env-
|
|
12
|
-
import { A as resolveStrictExistingPathsWithinRoot, M as DEFAULT_FILL_FIELD_TYPE, O as DEFAULT_UPLOAD_DIR, S as withCdpSocket, _ as withBrowserNavigationPolicy, d as formatAriaSnapshot, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, v as appendCdpPath, x as getHeadersWithAuth, y as fetchJson } from "./chrome-
|
|
11
|
+
import "./env-B5G1qwGc.js";
|
|
12
|
+
import { A as resolveStrictExistingPathsWithinRoot, M as DEFAULT_FILL_FIELD_TYPE, O as DEFAULT_UPLOAD_DIR, S as withCdpSocket, _ as withBrowserNavigationPolicy, d as formatAriaSnapshot, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, v as appendCdpPath, x as getHeadersWithAuth, y as fetchJson } from "./chrome-_2tzVjVl.js";
|
|
13
13
|
import "./ssrf-CZeHDwVZ.js";
|
|
14
|
-
import "./path-alias-guards-
|
|
15
|
-
import "./redact-
|
|
16
|
-
import { n as formatErrorMessage } from "./errors-
|
|
17
|
-
import "./fs-safe-
|
|
14
|
+
import "./path-alias-guards-Cu1nXNMM.js";
|
|
15
|
+
import "./redact-Bvpf-ATQ.js";
|
|
16
|
+
import { n as formatErrorMessage } from "./errors-C_0nm4TJ.js";
|
|
17
|
+
import "./fs-safe-CYUaAFO9.js";
|
|
18
18
|
import fs from "node:fs/promises";
|
|
19
19
|
import path from "node:path";
|
|
20
20
|
import crypto from "node:crypto";
|
|
@@ -7,7 +7,7 @@ import "./model-selection-D3Jhcvg-.js";
|
|
|
7
7
|
import "./github-copilot-token-D50c466d.js";
|
|
8
8
|
import { t as formatCliCommand } from "./command-format-BAxx4PW5.js";
|
|
9
9
|
import "./env-BpvqFD5n.js";
|
|
10
|
-
import { A as resolveStrictExistingPathsWithinRoot, M as DEFAULT_FILL_FIELD_TYPE, O as DEFAULT_UPLOAD_DIR, S as withCdpSocket, _ as withBrowserNavigationPolicy, d as formatAriaSnapshot, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, v as appendCdpPath, x as getHeadersWithAuth, y as fetchJson } from "./chrome-
|
|
10
|
+
import { A as resolveStrictExistingPathsWithinRoot, M as DEFAULT_FILL_FIELD_TYPE, O as DEFAULT_UPLOAD_DIR, S as withCdpSocket, _ as withBrowserNavigationPolicy, d as formatAriaSnapshot, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, v as appendCdpPath, x as getHeadersWithAuth, y as fetchJson } from "./chrome-DEnkfZ9p.js";
|
|
11
11
|
import "./ssrf-DappnhDp.js";
|
|
12
12
|
import "./path-alias-guards-CGbCFqW8.js";
|
|
13
13
|
import "./redact-DeLmHwQa.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
2
|
-
import { d as resolveStateDir } from "./paths-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import "./utils-
|
|
1
|
+
import { s as resolveAgentWorkspaceDir } from "./agent-scope-DyP_tr7s.js";
|
|
2
|
+
import { d as resolveStateDir } from "./paths-BYNVLNi_.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-tzu-rIAJ.js";
|
|
4
|
+
import "./utils-CTFLl_ji.js";
|
|
5
5
|
import "./runtime-8mi3mpYB.js";
|
|
6
6
|
import { x as parseAgentSessionKey } from "./session-key-CuLPSMu_.js";
|
|
7
|
-
import "./workspace-
|
|
8
|
-
import "./redact-
|
|
9
|
-
import "./paths-
|
|
10
|
-
import { _ as isFileMissingError, i as listSessionFilesForAgent, n as requireNodeSqlite, r as buildSessionEntry, t as extractKeywords, v as statRegularFile } from "./query-expansion-
|
|
7
|
+
import "./workspace-DBFSzT6O.js";
|
|
8
|
+
import "./redact-Bvpf-ATQ.js";
|
|
9
|
+
import "./paths-D_qUel1T.js";
|
|
10
|
+
import { _ as isFileMissingError, i as listSessionFilesForAgent, n as requireNodeSqlite, r as buildSessionEntry, t as extractKeywords, v as statRegularFile } from "./query-expansion-DEq020GG.js";
|
|
11
11
|
import fs from "node:fs/promises";
|
|
12
12
|
import os from "node:os";
|
|
13
13
|
import path from "node:path";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-tzu-rIAJ.js";
|
|
2
2
|
import { t as runTasksWithConcurrency } from "./run-with-concurrency-CEV6qf-x.js";
|
|
3
|
-
import { t as redactSensitiveText } from "./redact-
|
|
4
|
-
import { l as resolveSessionTranscriptsDirForAgent } from "./paths-
|
|
3
|
+
import { t as redactSensitiveText } from "./redact-Bvpf-ATQ.js";
|
|
4
|
+
import { l as resolveSessionTranscriptsDirForAgent } from "./paths-D_qUel1T.js";
|
|
5
5
|
import { createRequire } from "node:module";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
7
7
|
import path from "node:path";
|
|
8
|
-
import
|
|
8
|
+
import syncFs from "node:fs";
|
|
9
9
|
import crypto from "node:crypto";
|
|
10
10
|
|
|
11
11
|
//#region src/memory/fs-utils.ts
|
|
@@ -31,7 +31,7 @@ async function statRegularFile(absPath) {
|
|
|
31
31
|
//#region src/memory/internal.ts
|
|
32
32
|
function ensureDir(dir) {
|
|
33
33
|
try {
|
|
34
|
-
|
|
34
|
+
syncFs.mkdirSync(dir, { recursive: true });
|
|
35
35
|
} catch {}
|
|
36
36
|
return dir;
|
|
37
37
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-
|
|
3
|
-
import { r as markdownToSlackMrkdwnChunks, t as sendMessageSlack } from "./send-
|
|
4
|
-
import { i as chunkMarkdownTextWithMode } from "./chunk-
|
|
2
|
+
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-BRLyURxW.js";
|
|
3
|
+
import { r as markdownToSlackMrkdwnChunks, t as sendMessageSlack } from "./send-BeIZJuy4.js";
|
|
4
|
+
import { i as chunkMarkdownTextWithMode } from "./chunk-CMpX7Jaz.js";
|
|
5
5
|
|
|
6
6
|
//#region src/auto-reply/reply/reply-reference.ts
|
|
7
7
|
function createReplyReferencePlanner(options) {
|
|
@@ -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-DyP_tr7s.js";
|
|
3
3
|
|
|
4
4
|
//#region src/agents/identity.ts
|
|
5
5
|
const DEFAULT_ACK_REACTION = "👀";
|