@poolzin/pool-bot 2026.2.28 → 2026.2.29
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/CHANGELOG.md +11 -0
- package/dist/build-info.json +3 -3
- package/dist/{channel-account-context-5Ju_8GF1.js → channel-account-context-CJDVmIum.js} +1 -1
- package/dist/{channel-account-context-D7TOjSVz.js → channel-account-context-CRlP7Nrx.js} +1 -1
- package/dist/{completion-cli-1BmdzC7f.js → completion-cli-e0dXIQyO.js} +2 -2
- package/dist/{completion-cli-BmbEv4yw.js → completion-cli-zXkGVsw0.js} +1 -1
- package/dist/control-ui/apple-touch-icon.png +0 -0
- package/dist/control-ui/favicon-32.png +0 -0
- package/dist/control-ui/favicon.ico +0 -0
- package/dist/control-ui/favicon.svg +1 -0
- package/dist/control-ui/index.html +3 -1
- package/dist/entry.js +1 -1
- package/dist/{gateway-cli-zwln2gEM.js → gateway-cli-aUcl8N29.js} +4 -4
- package/dist/{gateway-cli-DbgQ-6bz.js → gateway-cli-ppOSIpag.js} +4 -4
- package/dist/index.js +1 -1
- package/dist/plugin-sdk/{accounts-qps-PGaZ.js → accounts-BWFiu4Jm.js} +1 -1
- package/dist/plugin-sdk/{accounts-jG3ZGBLX.js → accounts-B_Aoe1VF.js} +1 -1
- package/dist/plugin-sdk/{accounts-C558SrGV.js → accounts-D3365xzr.js} +2 -2
- package/dist/plugin-sdk/{active-listener-DDZsNkEe.js → active-listener-CBkofcB6.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-VVS4XklM.js → agent-scope-BGPwXHt4.js} +1 -1
- package/dist/plugin-sdk/{api-key-rotation-BiqZicwG.js → api-key-rotation-B4du_-Od.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-BaXhKA1p.js → audio-preflight-zGUTjaqC.js} +25 -25
- package/dist/plugin-sdk/{bindings-De393J25.js → bindings-6BkbZSKa.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-D4GAsro9.js → channel-activity-Ddv27ANU.js} +2 -2
- package/dist/plugin-sdk/{channel-web-9gU0rH_V.js → channel-web-D8BZWuJP.js} +21 -21
- package/dist/plugin-sdk/{chrome-CzJggrJb.js → chrome-CvAYixUS.js} +2 -2
- package/dist/plugin-sdk/{chunk-DuxWMY3u.js → chunk-Bm_b4Rdk.js} +1 -1
- package/dist/plugin-sdk/{command-format-ZEZOKCFL.js → command-format-DUNr4pS0.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-Bg9q_I6A.js → commands-registry-BcB0O5Cq.js} +4 -4
- package/dist/plugin-sdk/{config-Cvb_0_hh.js → config-CalFLWYb.js} +9 -9
- package/dist/plugin-sdk/{deliver-B42CCy-k.js → deliver-JeijIJ_l.js} +10 -10
- package/dist/plugin-sdk/{diagnostic-6crJ6mAV.js → diagnostic-D60C7LDV.js} +1 -1
- package/dist/plugin-sdk/{dock-D_55sk8e.js → dock-C9QHQ8_U.js} +5 -5
- package/dist/plugin-sdk/{image-2TrHOu12.js → image-PMejekDd.js} +6 -6
- package/dist/plugin-sdk/{image-ops-CmVfQD46.js → image-ops-ZJuDRWR0.js} +1 -1
- package/dist/plugin-sdk/index.js +53 -53
- package/dist/plugin-sdk/{ir-D6o8pS7g.js → ir-DTmVQKcx.js} +4 -4
- package/dist/plugin-sdk/{local-roots-DeFZOCiu.js → local-roots-mKPW8ygi.js} +3 -3
- package/dist/plugin-sdk/{login-dZqIajpQ.js → login-CiqPouyC.js} +6 -6
- package/dist/plugin-sdk/{login-qr-ap6m9nu6.js → login-qr-ICW4g4Hv.js} +8 -8
- package/dist/plugin-sdk/{manager-_2QgK1eN.js → manager-CYb7eIx_.js} +9 -9
- package/dist/plugin-sdk/{manifest-registry-DZBgkEee.js → manifest-registry-BFqfjuBH.js} +1 -1
- package/dist/plugin-sdk/{markdown-tables-DE5Qnrct.js → markdown-tables-DoP62_9A.js} +1 -1
- package/dist/plugin-sdk/{memory-search-C1bbQYdW.js → memory-search-CxG7hIwk.js} +2 -2
- package/dist/plugin-sdk/{message-channel-C7CXWd_U.js → message-channel-V6HmZ2XV.js} +1 -1
- package/dist/plugin-sdk/{model-selection-fg0UTEEu.js → model-selection-NXPDYrqg.js} +3 -3
- package/dist/plugin-sdk/{outbound-D8A6GSQk.js → outbound-DLythW5Y.js} +6 -6
- package/dist/plugin-sdk/{outbound-attachment-BK0GycN3.js → outbound-attachment-DkchSH7f.js} +2 -2
- package/dist/plugin-sdk/{pi-auth-json-DNAb81vN.js → pi-auth-json-BgijNY1K.js} +4 -4
- package/dist/plugin-sdk/{pi-embedded-helpers-NO6wKxeX.js → pi-embedded-helpers-MQke31iR.js} +13 -13
- package/dist/plugin-sdk/{plugins-D-hQF0Xk.js → plugins-DHbYU29p.js} +4 -4
- package/dist/plugin-sdk/{pw-ai-BFLB-ZuE.js → pw-ai-lEUbmn5s.js} +7 -7
- package/dist/plugin-sdk/{qmd-manager-DWhjseOR.js → qmd-manager-BQzpOa8y.js} +4 -4
- package/dist/plugin-sdk/{query-expansion-pOzjg41v.js → query-expansion-DF1cprQE.js} +2 -2
- package/dist/plugin-sdk/{redact-DrMZdRBQ.js → redact-zRRwM--k.js} +1 -1
- package/dist/plugin-sdk/{replies-D23tHwOp.js → replies-D0p01wqR.js} +3 -3
- package/dist/plugin-sdk/{reply-CujRN1Zw.js → reply-B9QVvCvU.js} +79 -79
- package/dist/plugin-sdk/{reply-prefix-BAuJ4WEo.js → reply-prefix-CaZMeryV.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-DLEiA8JB.js → resolve-outbound-target-CBtvgtHP.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-FzatfHPq.js → resolve-route-g9SQv6Q9.js} +3 -3
- package/dist/plugin-sdk/{retry-BIbb4Fhn.js → retry-_yZ2i0kR.js} +1 -1
- package/dist/plugin-sdk/{runner-OuwmobHs.js → runner-D04xtFtX.js} +9 -9
- package/dist/plugin-sdk/{send-CDVJz8Fy.js → send-CAxczDuK.js} +6 -6
- package/dist/plugin-sdk/{send-56Eh1faD.js → send-CXQWlgb5.js} +7 -7
- package/dist/plugin-sdk/{send-BoDYXT7w.js → send-DXBQ515b.js} +10 -10
- package/dist/plugin-sdk/{send-DVso6ZFj.js → send-DZfhnNTf.js} +12 -12
- package/dist/plugin-sdk/{send-BTchOCpW.js → send-aNmfXfb8.js} +6 -6
- package/dist/plugin-sdk/{session-Dc6uO_lE.js → session-x5KZFbAE.js} +4 -4
- package/dist/plugin-sdk/{sessions-y6F4HK01.js → sessions-DtNJ3noi.js} +6 -6
- package/dist/plugin-sdk/{skill-commands-CyHfanjn.js → skill-commands-DZRXpv5U.js} +4 -4
- package/dist/plugin-sdk/{skills-ltNydZfl.js → skills-CR6phPRG.js} +7 -7
- package/dist/plugin-sdk/{store-iXRTfog7.js → store-C16Z0xyv.js} +2 -2
- package/dist/plugin-sdk/{subsystem-hveVOFnp.js → subsystem-DCKWJZDj.js} +2 -2
- package/dist/plugin-sdk/{tables-DaOsBW9B.js → tables-wvxrt6J4.js} +1 -1
- package/dist/plugin-sdk/{target-errors-CNAKSzTT.js → target-errors-DWEwuz_e.js} +2 -2
- package/dist/plugin-sdk/{tokens-d8W_wXzC.js → tokens-CjM9niRP.js} +1 -1
- package/dist/plugin-sdk/{tool-images-BXHZAUK4.js → tool-images-jhZEqvnb.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-B9dhAJa7.js → tool-loop-detection-DrD6bnfk.js} +1 -1
- package/dist/plugin-sdk/web-C1H026zQ.js +63 -0
- package/dist/plugin-sdk/{whatsapp-actions-D5wHbCFK.js → whatsapp-actions-CHD4tRFX.js} +20 -20
- package/dist/{program-Btbv7tPl.js → program-DXx0_gvk.js} +2 -2
- package/dist/{program-context-Bf2JBF7b.js → program-context-DsjejRWo.js} +3 -3
- package/dist/{program-context-BPhRu5dk.js → program-context-hlJEzNx8.js} +5 -5
- package/dist/{prompt-select-styled-CVrJ7cVE.js → prompt-select-styled-B9KG-VNl.js} +3 -3
- package/dist/{prompt-select-styled-CtwPx8C_.js → prompt-select-styled-hczCp57Y.js} +3 -3
- package/dist/{register.maintenance-CxNAuDAw.js → register.maintenance-8c6IyHMv.js} +6 -6
- package/dist/{register.maintenance-B9YR3l7a.js → register.maintenance-C6nL5GWM.js} +5 -5
- package/dist/{register.status-health-sessions-o70nzsY5.js → register.status-health-sessions-C3jmmLhz.js} +3 -3
- package/dist/{register.status-health-sessions-Bx7WH263.js → register.status-health-sessions-MEFA_H67.js} +3 -3
- package/dist/{register.subclis-DWGH17eE.js → register.subclis-Do0tn1-w.js} +3 -3
- package/dist/{run-main-7CA1Zc8d.js → run-main-DVgekJB7.js} +3 -3
- package/dist/{status-C2aQ9yeG.js → status-A5Ws3Tf9.js} +2 -2
- package/dist/{status-CiMiNiY0.js → status-CqxyCtON.js} +2 -2
- package/dist/{status.update-RIEGPyWl.js → status.update-BZxiugDz.js} +1 -1
- package/dist/{status.update-CaleF9c9.js → status.update-Dtw3riaM.js} +1 -1
- package/dist/{update-cli-Bh2ipRjU.js → update-cli-DybQ8QFz.js} +16 -15
- package/dist/{update-cli-xbFm3uSW.js → update-cli-UF1MFZRL.js} +17 -16
- package/dist/{update-runner-DOlozU0b.js → update-runner-DPXpcSiy.js} +6 -5
- package/dist/{update-runner-chW03hD1.js → update-runner-DvWKDmIC.js} +6 -5
- 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/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/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/package.json +1 -1
- package/extensions/msteams/src/test-runtime.ts +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/synology-chat/package.json +2 -2
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
- package/dist/plugin-sdk/web-zVAaF80M.js +0 -63
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
## v2026.2.29 (2026-02-28)
|
|
2
|
+
|
|
3
|
+
### Fixes
|
|
4
|
+
- **Fix `poolbot update` command** — corrected npm registry URL, package names, and git repo URL so self-update resolves the right package (`@poolzin/pool-bot`) instead of the legacy unscoped name
|
|
5
|
+
- **Rebrand all extension plugin descriptions** — all 30 extension `package.json` descriptions now say "Pool Bot" instead of "OpenClaw"
|
|
6
|
+
- **Replace dashboard favicons** — replaced OC lobster icons with Pool Bot pool ball emoji favicons (SVG, PNG 32px, Apple Touch Icon 180px, ICO multi-size); added missing `favicon.svg` and `favicon-32.png`
|
|
7
|
+
- **Restore Pool Bot README** — removed upstream OC branding that was accidentally included in v2026.2.28 sync
|
|
8
|
+
- **Fix msteams state directory** — corrected `.openclaw` to `.poolbot` path in msteams test runtime
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
1
12
|
## v2026.2.28 (2026-02-27)
|
|
2
13
|
|
|
3
14
|
### Fixes
|
package/dist/build-info.json
CHANGED
|
@@ -327,7 +327,7 @@ async function fetchNpmTagVersion(params) {
|
|
|
327
327
|
const timeoutMs = params?.timeoutMs ?? 3500;
|
|
328
328
|
const tag = params.tag;
|
|
329
329
|
try {
|
|
330
|
-
const res = await fetchWithTimeout(`https://registry.npmjs.org
|
|
330
|
+
const res = await fetchWithTimeout(`https://registry.npmjs.org/@poolzin%2Fpool-bot/${encodeURIComponent(tag)}`, {}, Math.max(250, timeoutMs));
|
|
331
331
|
if (!res.ok) return {
|
|
332
332
|
tag,
|
|
333
333
|
version: null,
|
|
@@ -327,7 +327,7 @@ async function fetchNpmTagVersion(params) {
|
|
|
327
327
|
const timeoutMs = params?.timeoutMs ?? 3500;
|
|
328
328
|
const tag = params.tag;
|
|
329
329
|
try {
|
|
330
|
-
const res = await fetchWithTimeout(`https://registry.npmjs.org
|
|
330
|
+
const res = await fetchWithTimeout(`https://registry.npmjs.org/@poolzin%2Fpool-bot/${encodeURIComponent(tag)}`, {}, Math.max(250, timeoutMs));
|
|
331
331
|
if (!res.ok) return {
|
|
332
332
|
tag,
|
|
333
333
|
version: null,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { Ct as theme, Jt as resolveStateDir, Q as pathExists, l as routeLogsToStderr } from "./entry.js";
|
|
3
3
|
import { t as formatDocsLink } from "./links-CP1fqVVV.js";
|
|
4
|
-
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-
|
|
5
|
-
import { a as registerCoreCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-
|
|
4
|
+
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-Do0tn1-w.js";
|
|
5
|
+
import { a as registerCoreCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-DsjejRWo.js";
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs/promises";
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { g as resolveStateDir } from "./paths-2C7SRWzu.js";
|
|
3
3
|
import { J as pathExists, i as routeLogsToStderr, yt as theme } from "./subsystem-BsdRcJTH.js";
|
|
4
4
|
import { t as formatDocsLink } from "./links-JdHDEOEj.js";
|
|
5
|
-
import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-
|
|
5
|
+
import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-hlJEzNx8.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import os from "node:os";
|
|
8
8
|
import fs from "node:fs/promises";
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y=".9em" font-size="90">🎱</text></svg>
|
|
@@ -5,7 +5,9 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<title>Poolbot Control</title>
|
|
7
7
|
<meta name="color-scheme" content="dark light" />
|
|
8
|
-
<link rel="icon" href="./favicon.
|
|
8
|
+
<link rel="icon" type="image/svg+xml" href="./favicon.svg" />
|
|
9
|
+
<link rel="icon" type="image/png" sizes="32x32" href="./favicon-32.png" />
|
|
10
|
+
<link rel="apple-touch-icon" sizes="180x180" href="./apple-touch-icon.png" />
|
|
9
11
|
<script type="module" crossorigin src="./assets/index-BTXAnmIL.js"></script>
|
|
10
12
|
<link rel="stylesheet" crossorigin href="./assets/index-Dm429jwK.css">
|
|
11
13
|
</head>
|
package/dist/entry.js
CHANGED
|
@@ -2582,7 +2582,7 @@ if (!isMainModule({
|
|
|
2582
2582
|
applyCliProfileEnv({ profile: parsed.profile });
|
|
2583
2583
|
process$1.argv = parsed.argv;
|
|
2584
2584
|
}
|
|
2585
|
-
import("./run-main-
|
|
2585
|
+
import("./run-main-DVgekJB7.js").then(({ runCli }) => runCli(process$1.argv)).catch((error) => {
|
|
2586
2586
|
console.error("[poolbot] Failed to start CLI:", error instanceof Error ? error.stack ?? error.message : error);
|
|
2587
2587
|
process$1.exitCode = 1;
|
|
2588
2588
|
});
|
|
@@ -143,7 +143,7 @@ import { c as resolveNodeCommandAllowlist, l as probeGateway, n as collectEnable
|
|
|
143
143
|
import { i as discoverGatewayBeacons, n as installSkill } from "./onboard-skills-CD8uy75O.js";
|
|
144
144
|
import { c as startHeartbeatRunner, n as getHealthSnapshot, o as runHeartbeatOnce, s as setHeartbeatsEnabled, t as formatHealthChannelLines } from "./health-BjKDK2dC.js";
|
|
145
145
|
import { a as resolveControlUiRootOverrideSync, n as ensureControlUiAssetsBuilt, o as resolveControlUiRootSync } from "./health-format-6ZtkwckL.js";
|
|
146
|
-
import { c as DEFAULT_PACKAGE_CHANNEL, m as normalizeUpdateChannel, n as checkUpdateStatus, o as resolveNpmChannelTag, r as compareSemverStrings } from "./channel-account-context-
|
|
146
|
+
import { c as DEFAULT_PACKAGE_CHANNEL, m as normalizeUpdateChannel, n as checkUpdateStatus, o as resolveNpmChannelTag, r as compareSemverStrings } from "./channel-account-context-CJDVmIum.js";
|
|
147
147
|
import "./auth-choice-prompt-CZugbXWk.js";
|
|
148
148
|
import "./shared-i8MRiWE5.js";
|
|
149
149
|
import "./model-picker-Cte3NoL6.js";
|
|
@@ -155,12 +155,12 @@ import "./tui-BDU41_Gu.js";
|
|
|
155
155
|
import { a as sendApnsAlert, c as parseMessageWithAttachments, d as shouldLogWs, f as summarizeAgentEventForWsLog, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, p as setGatewayWsLogStyle, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration, u as logWs } from "./push-apns-DpCHdcIx.js";
|
|
156
156
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-BRfUi_CH.js";
|
|
157
157
|
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-C10y6j1q.js";
|
|
158
|
-
import { n as getStatusSummary } from "./status-
|
|
158
|
+
import { n as getStatusSummary } from "./status-A5Ws3Tf9.js";
|
|
159
159
|
import "./dm-policy-shared-oDCBsPNX.js";
|
|
160
160
|
import "./node-service-DX-tkSJI.js";
|
|
161
|
-
import "./status.update-
|
|
161
|
+
import "./status.update-Dtw3riaM.js";
|
|
162
162
|
import { t as resolveSystemRunCommand } from "./system-run-command-Ba7FHBZ4.js";
|
|
163
|
-
import { t as runGatewayUpdate } from "./update-runner-
|
|
163
|
+
import { t as runGatewayUpdate } from "./update-runner-DvWKDmIC.js";
|
|
164
164
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
165
165
|
import path from "node:path";
|
|
166
166
|
import fs from "node:fs";
|
|
@@ -140,7 +140,7 @@ import { c as resolveNodeCommandAllowlist, l as probeGateway, n as collectEnable
|
|
|
140
140
|
import { i as discoverGatewayBeacons, n as installSkill } from "./onboard-skills-BoWID_89.js";
|
|
141
141
|
import { c as startHeartbeatRunner, n as getHealthSnapshot, o as runHeartbeatOnce, s as setHeartbeatsEnabled, t as formatHealthChannelLines } from "./health-C2c4TNzq.js";
|
|
142
142
|
import { a as resolveControlUiRootOverrideSync, n as ensureControlUiAssetsBuilt, o as resolveControlUiRootSync } from "./health-format-B9XsSZfX.js";
|
|
143
|
-
import { c as DEFAULT_PACKAGE_CHANNEL, m as normalizeUpdateChannel, n as checkUpdateStatus, o as resolveNpmChannelTag, r as compareSemverStrings } from "./channel-account-context-
|
|
143
|
+
import { c as DEFAULT_PACKAGE_CHANNEL, m as normalizeUpdateChannel, n as checkUpdateStatus, o as resolveNpmChannelTag, r as compareSemverStrings } from "./channel-account-context-CRlP7Nrx.js";
|
|
144
144
|
import "./auth-choice-prompt-BptwyDOF.js";
|
|
145
145
|
import "./shared-D_opxTLW.js";
|
|
146
146
|
import "./model-picker-BztoRZ8_.js";
|
|
@@ -152,12 +152,12 @@ import "./tui-CC30lma-.js";
|
|
|
152
152
|
import { a as sendApnsAlert, c as parseMessageWithAttachments, d as shouldLogWs, f as summarizeAgentEventForWsLog, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, p as setGatewayWsLogStyle, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration, u as logWs } from "./push-apns-DUKdiRCs.js";
|
|
153
153
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-DfZZJZTy.js";
|
|
154
154
|
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-DZLBVwBC.js";
|
|
155
|
-
import { r as getStatusSummary } from "./status-
|
|
155
|
+
import { r as getStatusSummary } from "./status-CqxyCtON.js";
|
|
156
156
|
import "./dm-policy-shared-BqWteY1G.js";
|
|
157
157
|
import "./node-service-ByQUFU_X.js";
|
|
158
|
-
import "./status.update-
|
|
158
|
+
import "./status.update-BZxiugDz.js";
|
|
159
159
|
import { t as resolveSystemRunCommand } from "./system-run-command-jqaYxyVm.js";
|
|
160
|
-
import { t as runGatewayUpdate } from "./update-runner-
|
|
160
|
+
import { t as runGatewayUpdate } from "./update-runner-DPXpcSiy.js";
|
|
161
161
|
import { n as forceFreePortAndWait } from "./ports-BzwYg5ey.js";
|
|
162
162
|
import { spawn, spawnSync } from "node:child_process";
|
|
163
163
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
package/dist/index.js
CHANGED
|
@@ -109,7 +109,7 @@ import { t as isMainModule } from "./is-main-Ck2IsrrD.js";
|
|
|
109
109
|
import { t as ensurePoolbotCliOnPath } from "./path-env-CIjFSO-b.js";
|
|
110
110
|
import { t as assertSupportedRuntime } from "./runtime-guard-ekKufxHd.js";
|
|
111
111
|
import "./ports-BsZqreeE.js";
|
|
112
|
-
import { d as getVerboseFlag, f as hasFlag, i as getCoreCliCommandsWithSubcommands, m as hasRootVersionAlias, n as setProgramContext, o as registerProgramCommands, p as hasHelpOrVersion, s as getSubCliCommandsWithSubcommands, u as getCommandPath } from "./program-context-
|
|
112
|
+
import { d as getVerboseFlag, f as hasFlag, i as getCoreCliCommandsWithSubcommands, m as hasRootVersionAlias, n as setProgramContext, o as registerProgramCommands, p as hasHelpOrVersion, s as getSubCliCommandsWithSubcommands, u as getCommandPath } from "./program-context-hlJEzNx8.js";
|
|
113
113
|
import "./catalog-ClKqgHgm.js";
|
|
114
114
|
import "./plugin-registry-wtpKl3ef.js";
|
|
115
115
|
import { n as resolveCliChannelOptions } from "./channel-options-Ck4ip2Sk.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as normalizeAccountId } from "./session-key-C7qWg3SH.js";
|
|
2
|
-
import { g as createAccountListHelpers } from "./accounts-
|
|
2
|
+
import { g as createAccountListHelpers } from "./accounts-D3365xzr.js";
|
|
3
3
|
import { t as resolveAccountEntry } from "./account-lookup-B-58l5Qb.js";
|
|
4
4
|
|
|
5
5
|
//#region src/signal/accounts.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as normalizeAccountId } from "./session-key-C7qWg3SH.js";
|
|
2
|
-
import { g as createAccountListHelpers } from "./accounts-
|
|
2
|
+
import { g as createAccountListHelpers } from "./accounts-D3365xzr.js";
|
|
3
3
|
import { t as resolveAccountEntry } from "./account-lookup-B-58l5Qb.js";
|
|
4
4
|
|
|
5
5
|
//#region src/imessage/accounts.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { f as DEFAULT_ACCOUNT_ID, p as normalizeAccountId } from "./session-key-C7qWg3SH.js";
|
|
2
2
|
import { a as resolveOAuthDir } from "./paths-BGan_I71.js";
|
|
3
3
|
import { t as resolveAccountEntry } from "./account-lookup-B-58l5Qb.js";
|
|
4
|
-
import { B as resolveUserPath, F as jidToE164, X as info, i as defaultRuntime, ot as getChildLogger, tt as success } from "./subsystem-
|
|
5
|
-
import { t as formatCliCommand } from "./command-format-
|
|
4
|
+
import { B as resolveUserPath, F as jidToE164, X as info, i as defaultRuntime, ot as getChildLogger, tt as success } from "./subsystem-DCKWJZDj.js";
|
|
5
|
+
import { t as formatCliCommand } from "./command-format-DUNr4pS0.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs$1 from "node:fs/promises";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as DEFAULT_ACCOUNT_ID } from "./session-key-C7qWg3SH.js";
|
|
2
|
-
import { t as formatCliCommand } from "./command-format-
|
|
2
|
+
import { t as formatCliCommand } from "./command-format-DUNr4pS0.js";
|
|
3
3
|
import crypto from "node:crypto";
|
|
4
4
|
|
|
5
5
|
//#region src/logging/redact-identifier.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { b as isSubagentSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID, x as parseAgentSessionKey, y as isCronSessionKey } from "./session-key-C7qWg3SH.js";
|
|
2
2
|
import { s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-BGan_I71.js";
|
|
3
|
-
import { B as resolveUserPath, L as pathExists, Q as logVerboseConsole, X as info, Y as danger, et as shouldLogVerbose, i as defaultRuntime, nt as warn, st as getLogger, t as createSubsystemLogger } from "./subsystem-
|
|
3
|
+
import { B as resolveUserPath, L as pathExists, Q as logVerboseConsole, X as info, Y as danger, et as shouldLogVerbose, i as defaultRuntime, nt as warn, st as getLogger, t as createSubsystemLogger } from "./subsystem-DCKWJZDj.js";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import os from "node:os";
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import "./accounts-
|
|
1
|
+
import "./accounts-D3365xzr.js";
|
|
2
2
|
import "./paths-BGan_I71.js";
|
|
3
3
|
import "./github-copilot-token-B73UEgak.js";
|
|
4
|
-
import "./plugins-
|
|
5
|
-
import { Z as logVerbose, et as shouldLogVerbose } from "./subsystem-
|
|
6
|
-
import "./config-
|
|
7
|
-
import "./command-format-
|
|
8
|
-
import "./model-selection-
|
|
9
|
-
import "./agent-scope-
|
|
10
|
-
import "./manifest-registry-
|
|
11
|
-
import "./dock-
|
|
12
|
-
import "./image-ops-
|
|
4
|
+
import "./plugins-DHbYU29p.js";
|
|
5
|
+
import { Z as logVerbose, et as shouldLogVerbose } from "./subsystem-DCKWJZDj.js";
|
|
6
|
+
import "./config-CalFLWYb.js";
|
|
7
|
+
import "./command-format-DUNr4pS0.js";
|
|
8
|
+
import "./model-selection-NXPDYrqg.js";
|
|
9
|
+
import "./agent-scope-BGPwXHt4.js";
|
|
10
|
+
import "./manifest-registry-BFqfjuBH.js";
|
|
11
|
+
import "./dock-C9QHQ8_U.js";
|
|
12
|
+
import "./image-ops-ZJuDRWR0.js";
|
|
13
13
|
import "./ssrf-CYHMfycg.js";
|
|
14
14
|
import "./fetch-guard-DdYHBbAr.js";
|
|
15
|
-
import "./local-roots-
|
|
16
|
-
import "./message-channel-
|
|
17
|
-
import "./bindings-
|
|
18
|
-
import "./tool-images-
|
|
19
|
-
import { a as runCapability, l as isAudioAttachment, n as createMediaAttachmentCache, r as normalizeMediaAttachments, t as buildProviderRegistry } from "./runner-
|
|
20
|
-
import "./skills-
|
|
21
|
-
import "./chrome-
|
|
22
|
-
import "./accounts-
|
|
23
|
-
import "./accounts-
|
|
24
|
-
import "./sessions-
|
|
15
|
+
import "./local-roots-mKPW8ygi.js";
|
|
16
|
+
import "./message-channel-V6HmZ2XV.js";
|
|
17
|
+
import "./bindings-6BkbZSKa.js";
|
|
18
|
+
import "./tool-images-jhZEqvnb.js";
|
|
19
|
+
import { a as runCapability, l as isAudioAttachment, n as createMediaAttachmentCache, r as normalizeMediaAttachments, t as buildProviderRegistry } from "./runner-D04xtFtX.js";
|
|
20
|
+
import "./skills-CR6phPRG.js";
|
|
21
|
+
import "./chrome-CvAYixUS.js";
|
|
22
|
+
import "./accounts-B_Aoe1VF.js";
|
|
23
|
+
import "./accounts-BWFiu4Jm.js";
|
|
24
|
+
import "./sessions-DtNJ3noi.js";
|
|
25
25
|
import "./paths-D2UEL-Lp.js";
|
|
26
|
-
import "./store-
|
|
27
|
-
import "./pi-embedded-helpers-
|
|
26
|
+
import "./store-C16Z0xyv.js";
|
|
27
|
+
import "./pi-embedded-helpers-MQke31iR.js";
|
|
28
28
|
import "./thinking-Bg6S5Vbg.js";
|
|
29
|
-
import "./image-
|
|
29
|
+
import "./image-PMejekDd.js";
|
|
30
30
|
import "./pi-model-discovery-B0YMLTqd.js";
|
|
31
|
-
import "./redact-
|
|
32
|
-
import "./api-key-rotation-
|
|
31
|
+
import "./redact-zRRwM--k.js";
|
|
32
|
+
import "./api-key-rotation-B4du_-Od.js";
|
|
33
33
|
|
|
34
34
|
//#region src/media-understanding/audio-preflight.ts
|
|
35
35
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as normalizeAccountId, s as normalizeAgentId } from "./session-key-C7qWg3SH.js";
|
|
2
|
-
import { p as normalizeChatChannelId } from "./subsystem-
|
|
3
|
-
import { c as resolveDefaultAgentId } from "./agent-scope-
|
|
2
|
+
import { p as normalizeChatChannelId } from "./subsystem-DCKWJZDj.js";
|
|
3
|
+
import { c as resolveDefaultAgentId } from "./agent-scope-BGPwXHt4.js";
|
|
4
4
|
|
|
5
5
|
//#region src/routing/bindings.ts
|
|
6
6
|
function normalizeBindingChannelId(raw) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { n as retryAsync, t as resolveRetryConfig } from "./retry-
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-DCKWJZDj.js";
|
|
2
|
+
import { n as retryAsync, t as resolveRetryConfig } from "./retry-_yZ2i0kR.js";
|
|
3
3
|
import { n as formatErrorMessage } from "./errors-tsxe5Pi5.js";
|
|
4
4
|
import { RateLimitError } from "@buape/carbon";
|
|
5
5
|
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { a as buildGroupHistoryKey, n as DEFAULT_MAIN_KEY, r as buildAgentMainSessionKey, s as normalizeAgentId } from "./session-key-C7qWg3SH.js";
|
|
2
|
-
import { d as readWebSelfId, o as getWebAuthAgeMs, r as resolveWhatsAppAccount } from "./accounts-
|
|
3
|
-
import { D as enqueueSystemEvent, Dt as resolveOpenProviderRuntimeGroupPolicy, E as formatDurationPrecise, Et as resolveDefaultGroupPolicy, G as shouldAckReactionForWhatsApp, K as resolveMentionGating, X as DEFAULT_GROUP_HISTORY_LIMIT, Z as buildHistoryContextFromEntries, at as normalizeMentionText, bt as resolveEnvelopeFormatOptions, c as computeBackoff, d as dispatchReplyWithBufferedBlockDispatcher, g as shouldComputeCommandAuthorized, h as hasControlCommand, it as buildMentionRegexes, kt as warnMissingProviderGroupPolicyFallbackOnce, l as sleepWithAbort, m as resolveInboundDebounceMs, mt as createDedupeCache, n as normalizeGroupActivation, p as createInboundDebouncer, r as parseActivationCommand, rt as recordPendingHistoryEntryIfEnabled, t as getReplyFromConfig, u as buildPairingReply, vt as formatInboundEnvelope } from "./reply-
|
|
4
|
-
import { F as jidToE164, I as normalizeE164, K as toWhatsappJid, P as isSelfChatMode, W as sleep, Z as logVerbose, et as shouldLogVerbose, i as defaultRuntime, ot as getChildLogger, p as normalizeChatChannelId, t as createSubsystemLogger, z as resolveJidToE164 } from "./subsystem-
|
|
5
|
-
import { n as loadConfig } from "./config-
|
|
6
|
-
import { t as formatCliCommand } from "./command-format-
|
|
7
|
-
import { M as resolveChannelGroupRequireMention, j as resolveChannelGroupPolicy } from "./dock-
|
|
8
|
-
import { n as recordChannelActivity } from "./channel-activity-
|
|
9
|
-
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
10
|
-
import { a as loadWebMedia } from "./ir-
|
|
11
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-
|
|
12
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
13
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
14
|
-
import { $ as upsertChannelPairingRequest, Z as readChannelAllowFromStore, nt as formatLocationText, rt as toLocationContext } from "./send-
|
|
15
|
-
import { d as registerUnhandledRejectionHandler } from "./runner-
|
|
16
|
-
import { l as resolveIdentityNamePrefix, n as createReplyPrefixOptions, u as resolveMessagePrefix } from "./reply-prefix-
|
|
2
|
+
import { d as readWebSelfId, o as getWebAuthAgeMs, r as resolveWhatsAppAccount } from "./accounts-D3365xzr.js";
|
|
3
|
+
import { D as enqueueSystemEvent, Dt as resolveOpenProviderRuntimeGroupPolicy, E as formatDurationPrecise, Et as resolveDefaultGroupPolicy, G as shouldAckReactionForWhatsApp, K as resolveMentionGating, X as DEFAULT_GROUP_HISTORY_LIMIT, Z as buildHistoryContextFromEntries, at as normalizeMentionText, bt as resolveEnvelopeFormatOptions, c as computeBackoff, d as dispatchReplyWithBufferedBlockDispatcher, g as shouldComputeCommandAuthorized, h as hasControlCommand, it as buildMentionRegexes, kt as warnMissingProviderGroupPolicyFallbackOnce, l as sleepWithAbort, m as resolveInboundDebounceMs, mt as createDedupeCache, n as normalizeGroupActivation, p as createInboundDebouncer, r as parseActivationCommand, rt as recordPendingHistoryEntryIfEnabled, t as getReplyFromConfig, u as buildPairingReply, vt as formatInboundEnvelope } from "./reply-B9QVvCvU.js";
|
|
4
|
+
import { F as jidToE164, I as normalizeE164, K as toWhatsappJid, P as isSelfChatMode, W as sleep, Z as logVerbose, et as shouldLogVerbose, i as defaultRuntime, ot as getChildLogger, p as normalizeChatChannelId, t as createSubsystemLogger, z as resolveJidToE164 } from "./subsystem-DCKWJZDj.js";
|
|
5
|
+
import { n as loadConfig } from "./config-CalFLWYb.js";
|
|
6
|
+
import { t as formatCliCommand } from "./command-format-DUNr4pS0.js";
|
|
7
|
+
import { M as resolveChannelGroupRequireMention, j as resolveChannelGroupPolicy } from "./dock-C9QHQ8_U.js";
|
|
8
|
+
import { n as recordChannelActivity } from "./channel-activity-Ddv27ANU.js";
|
|
9
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-mKPW8ygi.js";
|
|
10
|
+
import { a as loadWebMedia } from "./ir-DTmVQKcx.js";
|
|
11
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-Bm_b4Rdk.js";
|
|
12
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-DoP62_9A.js";
|
|
13
|
+
import { t as convertMarkdownTables } from "./tables-wvxrt6J4.js";
|
|
14
|
+
import { $ as upsertChannelPairingRequest, Z as readChannelAllowFromStore, nt as formatLocationText, rt as toLocationContext } from "./send-DZfhnNTf.js";
|
|
15
|
+
import { d as registerUnhandledRejectionHandler } from "./runner-D04xtFtX.js";
|
|
16
|
+
import { l as resolveIdentityNamePrefix, n as createReplyPrefixOptions, u as resolveMessagePrefix } from "./reply-prefix-CaZMeryV.js";
|
|
17
17
|
import { t as finalizeInboundContext } from "./inbound-context-DvBz4Pqb.js";
|
|
18
|
-
import { W as resolveGroupSessionKey, c as recordSessionMetaFromInbound, l as updateLastRoute, o as loadSessionStore, s as readSessionUpdatedAt } from "./sessions-
|
|
18
|
+
import { W as resolveGroupSessionKey, c as recordSessionMetaFromInbound, l as updateLastRoute, o as loadSessionStore, s as readSessionUpdatedAt } from "./sessions-DtNJ3noi.js";
|
|
19
19
|
import { l as resolveStorePath } from "./paths-D2UEL-Lp.js";
|
|
20
|
-
import { r as saveMediaBuffer } from "./store-
|
|
21
|
-
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-
|
|
22
|
-
import { r as setActiveWebListener } from "./active-listener-
|
|
23
|
-
import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-
|
|
24
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
20
|
+
import { r as saveMediaBuffer } from "./store-C16Z0xyv.js";
|
|
21
|
+
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-g9SQv6Q9.js";
|
|
22
|
+
import { r as setActiveWebListener } from "./active-listener-CBkofcB6.js";
|
|
23
|
+
import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-DLythW5Y.js";
|
|
24
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-x5KZFbAE.js";
|
|
25
25
|
import { randomUUID } from "node:crypto";
|
|
26
26
|
import { DisconnectReason, downloadMediaMessage, extractMessageContent, getContentType, isJidGroup, normalizeMessageContent } from "@whiskeysockets/baileys";
|
|
27
27
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { E as CONFIG_DIR, t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { n as loadConfig } from "./config-
|
|
1
|
+
import { E as CONFIG_DIR, t as createSubsystemLogger } from "./subsystem-DCKWJZDj.js";
|
|
2
|
+
import { n as loadConfig } from "./config-CalFLWYb.js";
|
|
3
3
|
import { i as isErrno } from "./errors-tsxe5Pi5.js";
|
|
4
4
|
import { c as resolvePinnedHostnameWithPolicy, u as isLoopbackIpAddress } from "./ssrf-CYHMfycg.js";
|
|
5
5
|
import fs from "node:fs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { p as normalizeAccountId } from "./session-key-C7qWg3SH.js";
|
|
3
3
|
import { t as resolveAccountEntry } from "./account-lookup-B-58l5Qb.js";
|
|
4
|
-
import { t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-
|
|
4
|
+
import { t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-V6HmZ2XV.js";
|
|
5
5
|
|
|
6
6
|
//#region src/markdown/fences.ts
|
|
7
7
|
function parseFenceSpans(buffer) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
3
|
-
import { J as isPlainObject, j as escapeRegExp, m as getActivePluginRegistry } from "./subsystem-
|
|
4
|
-
import { X as DEFAULT_PROVIDER, Y as DEFAULT_MODEL, l as resolveConfiguredModelRef } from "./model-selection-
|
|
5
|
-
import { n as listChannelDocks } from "./dock-
|
|
2
|
+
import { r as normalizeChannelId } from "./plugins-DHbYU29p.js";
|
|
3
|
+
import { J as isPlainObject, j as escapeRegExp, m as getActivePluginRegistry } from "./subsystem-DCKWJZDj.js";
|
|
4
|
+
import { X as DEFAULT_PROVIDER, Y as DEFAULT_MODEL, l as resolveConfiguredModelRef } from "./model-selection-NXPDYrqg.js";
|
|
5
|
+
import { n as listChannelDocks } from "./dock-C9QHQ8_U.js";
|
|
6
6
|
import { r as listThinkingLevels } from "./thinking-Bg6S5Vbg.js";
|
|
7
7
|
|
|
8
8
|
//#region src/config/commands.ts
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { h as isBlockedObjectKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-C7qWg3SH.js";
|
|
2
2
|
import { c as expandHomePrefix, n as resolveConfigPath, r as resolveDefaultConfigCandidates, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-BGan_I71.js";
|
|
3
|
-
import { B as resolveUserPath, J as isPlainObject$5, N as isRecord$1, R as resolveConfigDir, c as CHANNEL_IDS, p as normalizeChatChannelId } from "./subsystem-
|
|
4
|
-
import { $ as resolveShellEnvFallbackTimeoutMs, J as DEFAULT_CONTEXT_TOKENS, Q as loadShellEnvFallback, c as parseModelRef, et as shouldDeferShellEnvFallback, it as normalizeEnvVarKey, nt as isDangerousHostEnvOverrideVarName, rt as isDangerousHostEnvVarName, s as normalizeProviderId, tt as shouldEnableShellEnvFallback } from "./model-selection-
|
|
5
|
-
import { P as resolveAgentModelPrimaryValue, c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
6
|
-
import { c as normalizePluginsConfig, d as isPathInside, l as resolveEffectiveEnableState, t as loadPluginManifestRegistry, u as resolveMemorySlotDecision } from "./manifest-registry-
|
|
3
|
+
import { B as resolveUserPath, J as isPlainObject$5, N as isRecord$1, R as resolveConfigDir, c as CHANNEL_IDS, p as normalizeChatChannelId } from "./subsystem-DCKWJZDj.js";
|
|
4
|
+
import { $ as resolveShellEnvFallbackTimeoutMs, J as DEFAULT_CONTEXT_TOKENS, Q as loadShellEnvFallback, c as parseModelRef, et as shouldDeferShellEnvFallback, it as normalizeEnvVarKey, nt as isDangerousHostEnvOverrideVarName, rt as isDangerousHostEnvVarName, s as normalizeProviderId, tt as shouldEnableShellEnvFallback } from "./model-selection-NXPDYrqg.js";
|
|
5
|
+
import { P as resolveAgentModelPrimaryValue, c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-BGPwXHt4.js";
|
|
6
|
+
import { c as normalizePluginsConfig, d as isPathInside, l as resolveEffectiveEnableState, t as loadPluginManifestRegistry, u as resolveMemorySlotDecision } from "./manifest-registry-BFqfjuBH.js";
|
|
7
7
|
import { createRequire } from "node:module";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import os from "node:os";
|
|
11
|
-
import
|
|
11
|
+
import json5 from "json5";
|
|
12
12
|
import crypto from "node:crypto";
|
|
13
13
|
import { isDeepStrictEqual } from "node:util";
|
|
14
14
|
import dotenv from "dotenv";
|
|
@@ -1091,7 +1091,7 @@ function safeRealpath(target) {
|
|
|
1091
1091
|
}
|
|
1092
1092
|
const defaultResolver = {
|
|
1093
1093
|
readFile: (p) => fs.readFileSync(p, "utf-8"),
|
|
1094
|
-
parseJson: (raw) =>
|
|
1094
|
+
parseJson: (raw) => json5.parse(raw)
|
|
1095
1095
|
};
|
|
1096
1096
|
/**
|
|
1097
1097
|
* Resolves all $include directives in a parsed config object.
|
|
@@ -7956,7 +7956,7 @@ function resolveConfigPathForDeps(deps) {
|
|
|
7956
7956
|
function normalizeDeps(overrides = {}) {
|
|
7957
7957
|
return {
|
|
7958
7958
|
fs: overrides.fs ?? fs,
|
|
7959
|
-
json5: overrides.json5 ??
|
|
7959
|
+
json5: overrides.json5 ?? json5,
|
|
7960
7960
|
env: overrides.env ?? process.env,
|
|
7961
7961
|
homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
|
|
7962
7962
|
configPath: overrides.configPath ?? "",
|
|
@@ -7967,11 +7967,11 @@ function maybeLoadDotEnvForConfig(env) {
|
|
|
7967
7967
|
if (env !== process.env) return;
|
|
7968
7968
|
loadDotEnv({ quiet: true });
|
|
7969
7969
|
}
|
|
7970
|
-
function parseConfigJson5(raw, json5 =
|
|
7970
|
+
function parseConfigJson5(raw, json5$1 = json5) {
|
|
7971
7971
|
try {
|
|
7972
7972
|
return {
|
|
7973
7973
|
ok: true,
|
|
7974
|
-
parsed: json5.parse(raw)
|
|
7974
|
+
parsed: json5$1.parse(raw)
|
|
7975
7975
|
};
|
|
7976
7976
|
} catch (err) {
|
|
7977
7977
|
return {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { m as normalizeOptionalAccountId, p as normalizeAccountId } from "./session-key-C7qWg3SH.js";
|
|
3
3
|
import { s as resolveStateDir } from "./paths-BGan_I71.js";
|
|
4
|
-
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
5
|
-
import { T as triggerInternalHook, m as getActivePluginRegistry, t as createSubsystemLogger, w as createInternalHookEvent } from "./subsystem-
|
|
6
|
-
import { t as getChannelDock } from "./dock-
|
|
7
|
-
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
8
|
-
import { c as resolveChunkMode, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph } from "./chunk-
|
|
9
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
10
|
-
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-
|
|
11
|
-
import { a as resolveMirroredTranscriptText, i as appendAssistantMessageToSessionTranscript, w as parseInlineDirectives } from "./sessions-
|
|
12
|
-
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-
|
|
4
|
+
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-DHbYU29p.js";
|
|
5
|
+
import { T as triggerInternalHook, m as getActivePluginRegistry, t as createSubsystemLogger, w as createInternalHookEvent } from "./subsystem-DCKWJZDj.js";
|
|
6
|
+
import { t as getChannelDock } from "./dock-C9QHQ8_U.js";
|
|
7
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-mKPW8ygi.js";
|
|
8
|
+
import { c as resolveChunkMode, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph } from "./chunk-Bm_b4Rdk.js";
|
|
9
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-DoP62_9A.js";
|
|
10
|
+
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-CjM9niRP.js";
|
|
11
|
+
import { a as resolveMirroredTranscriptText, i as appendAssistantMessageToSessionTranscript, w as parseInlineDirectives } from "./sessions-DtNJ3noi.js";
|
|
12
|
+
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-MQke31iR.js";
|
|
13
13
|
import { n as generateSecureUuid } from "./secure-random-B-5_WwG4.js";
|
|
14
|
-
import { a as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-
|
|
14
|
+
import { a as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-CAxczDuK.js";
|
|
15
15
|
import fs from "node:fs";
|
|
16
16
|
import path from "node:path";
|
|
17
17
|
|
|
@@ -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-DCKWJZDj.js";
|
|
3
3
|
|
|
4
4
|
//#region src/infra/diagnostic-events.ts
|
|
5
5
|
let seq = 0;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { p as normalizeAccountId } from "./session-key-C7qWg3SH.js";
|
|
2
|
-
import { r as resolveWhatsAppAccount } from "./accounts-
|
|
3
|
-
import { D as resolveSlackAccount, F as resolveDiscordAccount, O as resolveSlackReplyToMode, S as resolveTelegramAccount, _ as normalizeWhatsAppTarget } from "./plugins-
|
|
2
|
+
import { r as resolveWhatsAppAccount } from "./accounts-D3365xzr.js";
|
|
3
|
+
import { D as resolveSlackAccount, F as resolveDiscordAccount, O as resolveSlackReplyToMode, S as resolveTelegramAccount, _ as normalizeWhatsAppTarget } from "./plugins-DHbYU29p.js";
|
|
4
4
|
import { t as resolveAccountEntry } from "./account-lookup-B-58l5Qb.js";
|
|
5
|
-
import { I as normalizeE164, h as requireActivePluginRegistry, j as escapeRegExp, l as CHAT_CHANNEL_ORDER, u as getChatChannelMeta } from "./subsystem-
|
|
6
|
-
import { r as resolveIMessageAccount } from "./accounts-
|
|
7
|
-
import { i as resolveSignalAccount } from "./accounts-
|
|
5
|
+
import { I as normalizeE164, h as requireActivePluginRegistry, j as escapeRegExp, l as CHAT_CHANNEL_ORDER, u as getChatChannelMeta } from "./subsystem-DCKWJZDj.js";
|
|
6
|
+
import { r as resolveIMessageAccount } from "./accounts-B_Aoe1VF.js";
|
|
7
|
+
import { i as resolveSignalAccount } from "./accounts-BWFiu4Jm.js";
|
|
8
8
|
|
|
9
9
|
//#region src/config/types.tools.ts
|
|
10
10
|
const TOOLS_BY_SENDER_KEY_TYPES = [
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { H as shortenHomeInString, N as isRecord } from "./subsystem-
|
|
3
|
-
import { n as loadConfig } from "./config-
|
|
4
|
-
import { K as resolvePoolbotAgentDir, O as normalizeSecretInput, S as getApiKeyForModel, _ as resolveImplicitBedrockProvider, g as normalizeProviders, v as resolveImplicitCopilotProvider, w as requireApiKey, y as resolveImplicitProviders } from "./model-selection-
|
|
5
|
-
import { N as resolveAgentModelFallbackValues, P as resolveAgentModelPrimaryValue } from "./agent-scope-
|
|
6
|
-
import { N as sanitizeUserFacingText } from "./pi-embedded-helpers-
|
|
2
|
+
import { H as shortenHomeInString, N as isRecord } from "./subsystem-DCKWJZDj.js";
|
|
3
|
+
import { n as loadConfig } from "./config-CalFLWYb.js";
|
|
4
|
+
import { K as resolvePoolbotAgentDir, O as normalizeSecretInput, S as getApiKeyForModel, _ as resolveImplicitBedrockProvider, g as normalizeProviders, v as resolveImplicitCopilotProvider, w as requireApiKey, y as resolveImplicitProviders } from "./model-selection-NXPDYrqg.js";
|
|
5
|
+
import { N as resolveAgentModelFallbackValues, P as resolveAgentModelPrimaryValue } from "./agent-scope-BGPwXHt4.js";
|
|
6
|
+
import { N as sanitizeUserFacingText } from "./pi-embedded-helpers-MQke31iR.js";
|
|
7
7
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-B0YMLTqd.js";
|
|
8
|
-
import { n as redactToolDetail } from "./redact-
|
|
8
|
+
import { n as redactToolDetail } from "./redact-zRRwM--k.js";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import fs from "node:fs/promises";
|
|
11
11
|
import { complete } from "@mariozechner/pi-ai";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as runExec } from "./agent-scope-
|
|
1
|
+
import { E as runExec } from "./agent-scope-BGPwXHt4.js";
|
|
2
2
|
import { n as isPathInside, r as isSymlinkOpenError, t as isNotFoundPathError } from "./path-guards-D-LNoA8B.js";
|
|
3
3
|
import { constants } from "node:fs";
|
|
4
4
|
import path from "node:path";
|