cclawd 1.0.6 → 1.0.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/{active-listener-Dkhmfuwx.js → active-listener-DYmI7imH.js} +2 -2
- package/dist/{api-key-rotation-BOfI3cG3.js → api-key-rotation-DLU4jvSu.js} +1 -1
- package/dist/{audio-preflight-CtkZ5SAs.js → audio-preflight-C9TMbRb4.js} +15 -15
- package/dist/{audio-transcription-runner-CbPqoiHX.js → audio-transcription-runner-Q5zG_hYd.js} +10 -10
- package/dist/{audit-membership-runtime-hXUuer4x.js → audit-membership-runtime-DhxSwFnF.js} +6 -6
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +35 -35
- package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
- package/dist/bundled/command-logger/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +35 -35
- package/dist/{channel-activity-DWAER4wd.js → channel-activity-Bx08UTAg.js} +2 -2
- package/dist/{commands-registry-BUyiA7nE.js → commands-registry-llLVCTH9.js} +2 -2
- package/dist/compact.runtime-BEn3giMt.js +39 -0
- package/dist/{deliver-aHOaRbkt.js → deliver-DJf2ZBpe.js} +19 -19
- package/dist/deliver-runtime-DkQ3XzGv.js +19 -0
- package/dist/deps-send-discord.runtime-BLpqSj6s.js +19 -0
- package/dist/deps-send-imessage.runtime-BFzyYqvR.js +18 -0
- package/dist/deps-send-signal.runtime-DT0TYCy1.js +17 -0
- package/dist/deps-send-slack.runtime-BhaGFfMX.js +17 -0
- package/dist/deps-send-telegram.runtime-B6Cic9NX.js +20 -0
- package/dist/deps-send-whatsapp.runtime-WtEhIq2S.js +43 -0
- package/dist/{diagnostic-BdcXX9iJ.js → diagnostic-BCCMF3O_.js} +2 -2
- package/dist/{env-lw2hsIUY.js → env-aYXLHjfZ.js} +1 -1
- package/dist/{fetch-D9NUULbj.js → fetch-DCTUdr1U.js} +5 -5
- package/dist/{fetch-C0iyt-Iz.js → fetch-bvgIiupu.js} +3 -3
- package/dist/{fetch-guard-B5ZMnGaN.js → fetch-guard-CqpEmMQ2.js} +2 -2
- package/dist/{frontmatter-C_obXuTp.js → frontmatter-DjZuS525.js} +3 -3
- package/dist/{github-copilot-token-8N63GdbE.js → github-copilot-token-CQmATy5E.js} +7 -7
- package/dist/{image-4x07m4Jl.js → image-Q8E1-lZn.js} +4 -4
- package/dist/image-runtime-B1LFYfQ2.js +12 -0
- package/dist/{ir-CsgNUpOU.js → ir-CzM3SxId.js} +6 -6
- package/dist/llm-slug-generator.js +35 -35
- package/dist/{logger-CbUVl62f.js → logger-ChbX1G7s.js} +7 -7
- package/dist/{login-p_O59TVQ.js → login-B0mtU11X.js} +4 -4
- package/dist/{login-qr-BCJpDsAy.js → login-qr-DY_i60f5.js} +10 -10
- package/dist/{manager-CwYv8O3T.js → manager-FAQPC0uO.js} +12 -12
- package/dist/manager-runtime-Da7ME9vS.js +15 -0
- package/dist/{model-selection-Cv2Puf5z.js → model-selection-wf3OY5DX.js} +122 -122
- package/dist/{outbound-Chpiwybe.js → outbound-Bw0dOVS7.js} +6 -6
- package/dist/{outbound-attachment-BnAVJDLe.js → outbound-attachment-1R6r9Pg_.js} +2 -2
- package/dist/{paths-CehYKFsO.js → paths-C0HLtPu0.js} +7 -7
- package/dist/{paths-DkxwiA8g.js → paths-hfkBoC7i.js} +5 -5
- package/dist/{pi-embedded-CJVNBk0y.js → pi-embedded-BAHaY-Oh.js} +150 -150
- package/dist/{pi-model-discovery-7IzK0Uc3.js → pi-model-discovery-ItS07aJB.js} +7 -7
- package/dist/pi-model-discovery-runtime-DjM7Z1fx.js +12 -0
- package/dist/{pi-tools.before-tool-call.runtime-BP2UvGJb.js → pi-tools.before-tool-call.runtime-D_mthvtC.js} +10 -10
- package/dist/plugin-sdk/signal.js +2 -2
- package/dist/{proxy-fetch-BOh1PLOW.js → proxy-fetch-c1ZUFFcO.js} +1 -1
- package/dist/{pw-ai-DwH5GpEO.js → pw-ai-Ok6KGelf.js} +9 -9
- package/dist/{qmd-manager-DEscZz5_.js → qmd-manager-DhfEz4Ar.js} +6 -6
- package/dist/{query-expansion-BErUY8P2.js → query-expansion-GqNV2iIE.js} +4 -4
- package/dist/runtime-whatsapp-login.runtime-D4BRhQkK.js +13 -0
- package/dist/runtime-whatsapp-outbound.runtime-DJPpS6g-.js +17 -0
- package/dist/{send-DUibfNQD.js → send-6R8b9zsj.js} +5 -5
- package/dist/{send-ORtn50qg.js → send-CEg4P96c.js} +5 -5
- package/dist/{send-C-Q_WPMf.js → send-CS0ocZHl.js} +3 -3
- package/dist/{send-DtBvCnPQ.js → send-DPflcjM5.js} +6 -6
- package/dist/{send-BDnOgWIp.js → send-DwAoiT2p.js} +25 -25
- package/dist/{session-B7imi6T5.js → session-BoIID5UR.js} +7 -7
- package/dist/{skill-commands-B9brPuiL.js → skill-commands-DhdiziMs.js} +9 -9
- package/dist/slash-commands.runtime-Cu1lTjV9.js +12 -0
- package/dist/slash-dispatch.runtime-DRVJEF4l.js +39 -0
- package/dist/slash-skill-commands.runtime-C373PJjv.js +13 -0
- package/dist/subagent-registry-runtime-D7hWBo1G.js +39 -0
- package/dist/{subsystem-DfXy5gUB.js → subsystem-C8z6w6xC.js} +14 -14
- package/dist/{tables-CjQqTOdD.js → tables-DQusRhkD.js} +1 -1
- package/dist/{target-errors-BZE1mc-W.js → target-errors-CfavnC9U.js} +1 -1
- package/dist/{tokens-6ul2IrzG.js → tokens-BWDIKewp.js} +1 -1
- package/dist/{web-Cd8yK1Zq.js → web-CrcrTQ2c.js} +39 -39
- package/dist/{whatsapp-actions-CYEzUMBI.js → whatsapp-actions-B0u0ZAme.js} +15 -15
- package/dist/{workspace-DGIcKCCW.js → workspace-CWDYHR27.js} +20 -20
- package/extensions/mfa-auth/index.ts +1028 -675
- package/extensions/mfa-auth/node_modules/.package-lock.json +21 -0
- package/extensions/mfa-auth/node_modules/ws/LICENSE +20 -0
- package/extensions/mfa-auth/node_modules/ws/README.md +548 -0
- package/extensions/mfa-auth/node_modules/ws/browser.js +8 -0
- package/extensions/mfa-auth/node_modules/ws/index.js +13 -0
- package/extensions/mfa-auth/node_modules/ws/lib/buffer-util.js +131 -0
- package/extensions/mfa-auth/node_modules/ws/lib/constants.js +19 -0
- package/extensions/mfa-auth/node_modules/ws/lib/event-target.js +292 -0
- package/extensions/mfa-auth/node_modules/ws/lib/extension.js +203 -0
- package/extensions/mfa-auth/node_modules/ws/lib/limiter.js +55 -0
- package/extensions/mfa-auth/node_modules/ws/lib/permessage-deflate.js +528 -0
- package/extensions/mfa-auth/node_modules/ws/lib/receiver.js +706 -0
- package/extensions/mfa-auth/node_modules/ws/lib/sender.js +602 -0
- package/extensions/mfa-auth/node_modules/ws/lib/stream.js +161 -0
- package/extensions/mfa-auth/node_modules/ws/lib/subprotocol.js +62 -0
- package/extensions/mfa-auth/node_modules/ws/lib/validation.js +152 -0
- package/extensions/mfa-auth/node_modules/ws/lib/websocket-server.js +554 -0
- package/extensions/mfa-auth/node_modules/ws/lib/websocket.js +1393 -0
- package/extensions/mfa-auth/node_modules/ws/package.json +69 -0
- package/extensions/mfa-auth/node_modules/ws/wrapper.mjs +8 -0
- package/extensions/mfa-auth/openclaw.plugin.json +1 -1
- package/extensions/mfa-auth/package-lock.json +23 -1
- package/extensions/mfa-auth/src/notification-service.ts +8 -2
- package/package.json +1 -1
- package/dist/compact.runtime-DpcZpcTl.js +0 -39
- package/dist/deliver-runtime-D4bCsr6d.js +0 -19
- package/dist/deps-send-discord.runtime-BziKU-pE.js +0 -19
- package/dist/deps-send-imessage.runtime-CFRnDTqp.js +0 -18
- package/dist/deps-send-signal.runtime-BuOtABJm.js +0 -17
- package/dist/deps-send-slack.runtime-BOLqvMxW.js +0 -17
- package/dist/deps-send-telegram.runtime-DeEoFLv5.js +0 -20
- package/dist/deps-send-whatsapp.runtime-CG1uXYLY.js +0 -43
- package/dist/image-runtime-smkMrIol.js +0 -12
- package/dist/manager-runtime-D_jEoBr9.js +0 -15
- package/dist/pi-model-discovery-runtime-DABef3qy.js +0 -12
- package/dist/runtime-whatsapp-login.runtime-BI3U306v.js +0 -13
- package/dist/runtime-whatsapp-outbound.runtime-Bsc2uD09.js +0 -17
- package/dist/slash-commands.runtime-Cf6ygfBp.js +0 -12
- package/dist/slash-dispatch.runtime-CsmvhO5K.js +0 -39
- package/dist/slash-skill-commands.runtime-CX7stIEP.js +0 -13
- package/dist/subagent-registry-runtime-B_S1nf7y.js +0 -39
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-DUslC3ob.js";
|
|
2
|
-
import { Qs as ensureAuthProfileStore, c as normalizeProviderId } from "./model-selection-
|
|
2
|
+
import { Qs as ensureAuthProfileStore, c as normalizeProviderId } from "./model-selection-wf3OY5DX.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fs from "node:fs";
|
|
5
5
|
import * as PiCodingAgent from "@mariozechner/pi-coding-agent";
|
|
6
6
|
//#region src/agents/pi-auth-credentials.ts
|
|
7
7
|
function convertAuthProfileCredentialToPi(cred) {
|
|
@@ -68,10 +68,10 @@ function isRecord(value) {
|
|
|
68
68
|
}
|
|
69
69
|
function scrubLegacyStaticAuthJsonEntries(pathname) {
|
|
70
70
|
if (process.env.OPENCLAW_AUTH_STORE_READONLY === "1") return;
|
|
71
|
-
if (!
|
|
71
|
+
if (!fs.existsSync(pathname)) return;
|
|
72
72
|
let parsed;
|
|
73
73
|
try {
|
|
74
|
-
parsed = JSON.parse(
|
|
74
|
+
parsed = JSON.parse(fs.readFileSync(pathname, "utf8"));
|
|
75
75
|
} catch {
|
|
76
76
|
return;
|
|
77
77
|
}
|
|
@@ -85,11 +85,11 @@ function scrubLegacyStaticAuthJsonEntries(pathname) {
|
|
|
85
85
|
}
|
|
86
86
|
if (!changed) return;
|
|
87
87
|
if (Object.keys(parsed).length === 0) {
|
|
88
|
-
|
|
88
|
+
fs.rmSync(pathname, { force: true });
|
|
89
89
|
return;
|
|
90
90
|
}
|
|
91
|
-
|
|
92
|
-
|
|
91
|
+
fs.writeFileSync(pathname, `${JSON.stringify(parsed, null, 2)}\n`, "utf8");
|
|
92
|
+
fs.chmodSync(pathname, 384);
|
|
93
93
|
}
|
|
94
94
|
function createAuthStorage(AuthStorageLike, path, creds) {
|
|
95
95
|
const withInMemory = AuthStorageLike;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import "./paths-C0HLtPu0.js";
|
|
2
|
+
import "./paths-hfkBoC7i.js";
|
|
3
|
+
import "./subsystem-C8z6w6xC.js";
|
|
4
|
+
import "./workspace-CWDYHR27.js";
|
|
5
|
+
import "./logger-ChbX1G7s.js";
|
|
6
|
+
import "./model-selection-wf3OY5DX.js";
|
|
7
|
+
import "./github-copilot-token-CQmATy5E.js";
|
|
8
|
+
import "./boolean-C7Ct_klp.js";
|
|
9
|
+
import "./env-aYXLHjfZ.js";
|
|
10
|
+
import "./frontmatter-DjZuS525.js";
|
|
11
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-ItS07aJB.js";
|
|
12
|
+
export { discoverAuthStorage, discoverModels };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import "./workspace-
|
|
5
|
-
import { D as isPlainObject } from "./logger-
|
|
6
|
-
import "./model-selection-
|
|
7
|
-
import "./github-copilot-token-
|
|
1
|
+
import "./paths-C0HLtPu0.js";
|
|
2
|
+
import "./paths-hfkBoC7i.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-C8z6w6xC.js";
|
|
4
|
+
import "./workspace-CWDYHR27.js";
|
|
5
|
+
import { D as isPlainObject } from "./logger-ChbX1G7s.js";
|
|
6
|
+
import "./model-selection-wf3OY5DX.js";
|
|
7
|
+
import "./github-copilot-token-CQmATy5E.js";
|
|
8
8
|
import "./boolean-C7Ct_klp.js";
|
|
9
|
-
import "./env-
|
|
10
|
-
import "./frontmatter-
|
|
11
|
-
import { p as getDiagnosticSessionState, s as logToolLoopAction } from "./diagnostic-
|
|
9
|
+
import "./env-aYXLHjfZ.js";
|
|
10
|
+
import "./frontmatter-DjZuS525.js";
|
|
11
|
+
import { p as getDiagnosticSessionState, s as logToolLoopAction } from "./diagnostic-BCCMF3O_.js";
|
|
12
12
|
import { createHash } from "node:crypto";
|
|
13
13
|
//#region src/agents/tool-loop-detection.ts
|
|
14
14
|
const log = createSubsystemLogger("agents/loop-detection");
|
|
@@ -5,7 +5,7 @@ import chalk, { Chalk } from "chalk";
|
|
|
5
5
|
import fs, { constants, createWriteStream } from "node:fs";
|
|
6
6
|
import { Logger } from "tslog";
|
|
7
7
|
import os from "node:os";
|
|
8
|
-
import
|
|
8
|
+
import json5 from "json5";
|
|
9
9
|
import { promisify } from "node:util";
|
|
10
10
|
import { randomUUID } from "node:crypto";
|
|
11
11
|
import fs$1 from "node:fs/promises";
|
|
@@ -752,7 +752,7 @@ function readLoggingConfig() {
|
|
|
752
752
|
try {
|
|
753
753
|
if (!fs.existsSync(configPath)) return;
|
|
754
754
|
const raw = fs.readFileSync(configPath, "utf-8");
|
|
755
|
-
const logging =
|
|
755
|
+
const logging = json5.parse(raw)?.logging;
|
|
756
756
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
757
757
|
return logging;
|
|
758
758
|
} catch {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as logWarn } from "./logger-
|
|
1
|
+
import { i as logWarn } from "./logger-ChbX1G7s.js";
|
|
2
2
|
import { EnvHttpProxyAgent, ProxyAgent, fetch } from "undici";
|
|
3
3
|
//#region src/infra/net/proxy-fetch.ts
|
|
4
4
|
const PROXY_FETCH_PROXY_URL = Symbol.for("openclaw.proxyFetch.proxyUrl");
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { _ as writeFileFromPathWithinRoot } from "./paths-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import { E as resolvePreferredOpenClawTmpDir } from "./subsystem-
|
|
4
|
-
import "./workspace-
|
|
5
|
-
import "./logger-
|
|
6
|
-
import { $i as assertBrowserNavigationRedirectChainAllowed, Ci as normalizeCdpHttpBaseForJsonEndpoints, Ei as withNoProxyForCdpUrl, Gi as resolveStrictExistingPathsWithinRoot, Hi as DEFAULT_TRACE_DIR, Ji as formatErrorMessage, Qi as assertBrowserNavigationAllowed, Si as getHeadersWithAuth, Ui as DEFAULT_UPLOAD_DIR, Zi as BrowserTabNotFoundError, bi as appendCdpPath, di as getChromeWebSocketUrl, ea as assertBrowserNavigationResultAllowed, nc as formatCliCommand, ta as withBrowserNavigationPolicy, vi as formatAriaSnapshot, wi as withCdpSocket, xi as fetchJson, yi as normalizeCdpWsUrl } from "./model-selection-
|
|
7
|
-
import "./github-copilot-token-
|
|
1
|
+
import { _ as writeFileFromPathWithinRoot } from "./paths-C0HLtPu0.js";
|
|
2
|
+
import "./paths-hfkBoC7i.js";
|
|
3
|
+
import { E as resolvePreferredOpenClawTmpDir } from "./subsystem-C8z6w6xC.js";
|
|
4
|
+
import "./workspace-CWDYHR27.js";
|
|
5
|
+
import "./logger-ChbX1G7s.js";
|
|
6
|
+
import { $i as assertBrowserNavigationRedirectChainAllowed, Ci as normalizeCdpHttpBaseForJsonEndpoints, Ei as withNoProxyForCdpUrl, Gi as resolveStrictExistingPathsWithinRoot, Hi as DEFAULT_TRACE_DIR, Ji as formatErrorMessage, Qi as assertBrowserNavigationAllowed, Si as getHeadersWithAuth, Ui as DEFAULT_UPLOAD_DIR, Zi as BrowserTabNotFoundError, bi as appendCdpPath, di as getChromeWebSocketUrl, ea as assertBrowserNavigationResultAllowed, nc as formatCliCommand, ta as withBrowserNavigationPolicy, vi as formatAriaSnapshot, wi as withCdpSocket, xi as fetchJson, yi as normalizeCdpWsUrl } from "./model-selection-wf3OY5DX.js";
|
|
7
|
+
import "./github-copilot-token-CQmATy5E.js";
|
|
8
8
|
import "./boolean-C7Ct_klp.js";
|
|
9
|
-
import "./env-
|
|
10
|
-
import "./frontmatter-
|
|
9
|
+
import "./env-aYXLHjfZ.js";
|
|
10
|
+
import "./frontmatter-DjZuS525.js";
|
|
11
11
|
import { t as markPwAiLoaded } from "./pw-ai-state-DQJ5aOuJ.js";
|
|
12
12
|
import fs from "node:fs/promises";
|
|
13
13
|
import path from "node:path";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { P as resolveAgentWorkspaceDir, c as materializeWindowsSpawnProgram, l as resolveWindowsSpawnProgram, v as writeFileWithinRoot } from "./paths-
|
|
2
|
-
import { c as resolveStateDir } from "./paths-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { tt as parseAgentSessionKey } from "./workspace-
|
|
5
|
-
import "./logger-
|
|
6
|
-
import { a as listSessionFilesForAgent, i as buildSessionEntry, r as requireNodeSqlite, t as extractKeywords, v as isFileMissingError, y as statRegularFile } from "./query-expansion-
|
|
1
|
+
import { P as resolveAgentWorkspaceDir, c as materializeWindowsSpawnProgram, l as resolveWindowsSpawnProgram, v as writeFileWithinRoot } from "./paths-C0HLtPu0.js";
|
|
2
|
+
import { c as resolveStateDir } from "./paths-hfkBoC7i.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-C8z6w6xC.js";
|
|
4
|
+
import { tt as parseAgentSessionKey } from "./workspace-CWDYHR27.js";
|
|
5
|
+
import "./logger-ChbX1G7s.js";
|
|
6
|
+
import { a as listSessionFilesForAgent, i as buildSessionEntry, r as requireNodeSqlite, t as extractKeywords, v as isFileMissingError, y as statRegularFile } from "./query-expansion-GqNV2iIE.js";
|
|
7
7
|
import fs from "node:fs/promises";
|
|
8
8
|
import os from "node:os";
|
|
9
9
|
import path from "node:path";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { E as runTasksWithConcurrency, S as redactSensitiveText, o as resolveSessionTranscriptsDirForAgent } from "./paths-
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
1
|
+
import { E as runTasksWithConcurrency, S as redactSensitiveText, o as resolveSessionTranscriptsDirForAgent } from "./paths-C0HLtPu0.js";
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-C8z6w6xC.js";
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
import fs from "node:fs/promises";
|
|
5
5
|
import path from "node:path";
|
|
6
|
-
import
|
|
6
|
+
import fs$1 from "node:fs";
|
|
7
7
|
import crypto from "node:crypto";
|
|
8
8
|
//#region src/memory/fs-utils.ts
|
|
9
9
|
function isFileMissingError(err) {
|
|
@@ -27,7 +27,7 @@ async function statRegularFile(absPath) {
|
|
|
27
27
|
//#region src/memory/internal.ts
|
|
28
28
|
function ensureDir(dir) {
|
|
29
29
|
try {
|
|
30
|
-
|
|
30
|
+
fs$1.mkdirSync(dir, { recursive: true });
|
|
31
31
|
} catch {}
|
|
32
32
|
return dir;
|
|
33
33
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import "./paths-C0HLtPu0.js";
|
|
2
|
+
import "./paths-hfkBoC7i.js";
|
|
3
|
+
import "./subsystem-C8z6w6xC.js";
|
|
4
|
+
import "./workspace-CWDYHR27.js";
|
|
5
|
+
import "./logger-ChbX1G7s.js";
|
|
6
|
+
import "./model-selection-wf3OY5DX.js";
|
|
7
|
+
import "./github-copilot-token-CQmATy5E.js";
|
|
8
|
+
import "./boolean-C7Ct_klp.js";
|
|
9
|
+
import "./env-aYXLHjfZ.js";
|
|
10
|
+
import "./frontmatter-DjZuS525.js";
|
|
11
|
+
import "./session-BoIID5UR.js";
|
|
12
|
+
import { t as loginWeb } from "./login-B0mtU11X.js";
|
|
13
|
+
export { loginWeb };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import "./paths-C0HLtPu0.js";
|
|
2
|
+
import "./paths-hfkBoC7i.js";
|
|
3
|
+
import "./subsystem-C8z6w6xC.js";
|
|
4
|
+
import "./workspace-CWDYHR27.js";
|
|
5
|
+
import "./logger-ChbX1G7s.js";
|
|
6
|
+
import "./model-selection-wf3OY5DX.js";
|
|
7
|
+
import "./github-copilot-token-CQmATy5E.js";
|
|
8
|
+
import "./boolean-C7Ct_klp.js";
|
|
9
|
+
import "./env-aYXLHjfZ.js";
|
|
10
|
+
import "./frontmatter-DjZuS525.js";
|
|
11
|
+
import "./fetch-DCTUdr1U.js";
|
|
12
|
+
import "./fetch-guard-CqpEmMQ2.js";
|
|
13
|
+
import "./ir-CzM3SxId.js";
|
|
14
|
+
import "./render-IRnn-2gt.js";
|
|
15
|
+
import "./tables-DQusRhkD.js";
|
|
16
|
+
import { n as sendPollWhatsApp, t as sendMessageWhatsApp } from "./outbound-Bw0dOVS7.js";
|
|
17
|
+
export { sendMessageWhatsApp, sendPollWhatsApp };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { h as normalizeE164, y as resolveUserPath } from "./logger-
|
|
2
|
-
import { Li as kindFromMime, Or as isAllowedParsedChatSender, Tr as resolveIMessageAccount, ao as loadConfig } from "./model-selection-
|
|
3
|
-
import { s as resolveMarkdownTableMode } from "./ir-
|
|
4
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
5
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
1
|
+
import { h as normalizeE164, y as resolveUserPath } from "./logger-ChbX1G7s.js";
|
|
2
|
+
import { Li as kindFromMime, Or as isAllowedParsedChatSender, Tr as resolveIMessageAccount, ao as loadConfig } from "./model-selection-wf3OY5DX.js";
|
|
3
|
+
import { s as resolveMarkdownTableMode } from "./ir-CzM3SxId.js";
|
|
4
|
+
import { t as convertMarkdownTables } from "./tables-DQusRhkD.js";
|
|
5
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-1R6r9Pg_.js";
|
|
6
6
|
import { spawn } from "node:child_process";
|
|
7
7
|
import { createInterface } from "node:readline";
|
|
8
8
|
//#region src/imessage/target-parsing-helpers.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { d as logVerbose } from "./subsystem-
|
|
2
|
-
import { ao as loadConfig, or as resolveSlackBotToken, rr as resolveSlackAccount } from "./model-selection-
|
|
1
|
+
import { d as logVerbose } from "./subsystem-C8z6w6xC.js";
|
|
2
|
+
import { ao as loadConfig, or as resolveSlackBotToken, rr as resolveSlackAccount } from "./model-selection-wf3OY5DX.js";
|
|
3
3
|
import { i as requireTargetKind, n as ensureTargetId, r as parseMentionPrefixOrAtUserTarget, t as buildMessagingTarget } from "./targets-C81dAn9s.js";
|
|
4
|
-
import { i as isSilentReplyText } from "./tokens-
|
|
5
|
-
import { r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
6
|
-
import { a as loadWebMedia, d as chunkMarkdownTextWithMode, h as resolveTextChunkLimit, m as resolveChunkMode, n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-
|
|
4
|
+
import { i as isSilentReplyText } from "./tokens-BWDIKewp.js";
|
|
5
|
+
import { r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-CqpEmMQ2.js";
|
|
6
|
+
import { a as loadWebMedia, d as chunkMarkdownTextWithMode, h as resolveTextChunkLimit, m as resolveChunkMode, n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-CzM3SxId.js";
|
|
7
7
|
import { t as renderMarkdownWithMarkers } from "./render-IRnn-2gt.js";
|
|
8
8
|
import { WebClient } from "@slack/web-api";
|
|
9
9
|
//#region src/slack/targets.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Li as kindFromMime, ao as loadConfig, ci as generateSecureUuid, cr as resolveSignalAccount } from "./model-selection-
|
|
1
|
+
import { Li as kindFromMime, ao as loadConfig, ci as generateSecureUuid, cr as resolveSignalAccount } from "./model-selection-wf3OY5DX.js";
|
|
2
2
|
import { n as fetchWithTimeout } from "./fetch-timeout-Bj8qHhwJ.js";
|
|
3
|
-
import { n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-
|
|
3
|
+
import { n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-CzM3SxId.js";
|
|
4
4
|
import { t as resolveFetch } from "./fetch-CeWULXBI.js";
|
|
5
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
5
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-1R6r9Pg_.js";
|
|
6
6
|
//#region src/signal/format.ts
|
|
7
7
|
function normalizeUrlForComparison(url) {
|
|
8
8
|
let normalized = url.toLowerCase();
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { E as resolvePreferredOpenClawTmpDir } from "./subsystem-
|
|
2
|
-
import { q as normalizeAccountId } from "./workspace-
|
|
3
|
-
import { Bi as maxBytesForKind, E as retryAsync, Mi as extensionForMime, Mr as resolveDiscordAccount, Pr as normalizeDiscordToken, T as resolveRetryConfig, ao as loadConfig } from "./model-selection-
|
|
1
|
+
import { E as resolvePreferredOpenClawTmpDir } from "./subsystem-C8z6w6xC.js";
|
|
2
|
+
import { q as normalizeAccountId } from "./workspace-CWDYHR27.js";
|
|
3
|
+
import { Bi as maxBytesForKind, E as retryAsync, Mi as extensionForMime, Mr as resolveDiscordAccount, Pr as normalizeDiscordToken, T as resolveRetryConfig, ao as loadConfig } from "./model-selection-wf3OY5DX.js";
|
|
4
4
|
import { i as requireTargetKind, r as parseMentionPrefixOrAtUserTarget, t as buildMessagingTarget } from "./targets-C81dAn9s.js";
|
|
5
|
-
import { a as loadWebMedia, d as chunkMarkdownTextWithMode, m as resolveChunkMode, o as loadWebMediaRaw, s as resolveMarkdownTableMode } from "./ir-
|
|
5
|
+
import { a as loadWebMedia, d as chunkMarkdownTextWithMode, m as resolveChunkMode, o as loadWebMediaRaw, s as resolveMarkdownTableMode } from "./ir-CzM3SxId.js";
|
|
6
6
|
import { t as resolveFetch } from "./fetch-CeWULXBI.js";
|
|
7
|
-
import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity-
|
|
7
|
+
import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity-Bx08UTAg.js";
|
|
8
8
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-C-AlrR3n.js";
|
|
9
9
|
import { n as normalizePollInput, t as normalizePollDurationHours } from "./polls-Dw-aNTWI.js";
|
|
10
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
10
|
+
import { t as convertMarkdownTables } from "./tables-DQusRhkD.js";
|
|
11
11
|
import fs from "node:fs/promises";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
import { promisify } from "node:util";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { S as redactSensitiveText } from "./paths-
|
|
2
|
-
import { c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix, o as resolveOAuthDir } from "./paths-
|
|
3
|
-
import { d as logVerbose, l as danger, t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { q as normalizeAccountId } from "./workspace-
|
|
5
|
-
import { a as CONFIG_DIR, b as safeParseJson } from "./logger-
|
|
6
|
-
import { Ii as isGifMedia, Ji as formatErrorMessage, Ki as collectErrorGraphCandidates, Li as kindFromMime, Ni as getFileExtension, Ri as normalizeMimeType, Rn as getChannelPlugin, Vs as resolveTelegramPreviewStreamMode, Xi as readErrorName, Xn as resolveTelegramAccount, Yi as formatUncaughtError, ao as loadConfig, ii as writeJsonAtomic, qi as extractErrorCode, so as readConfigFileSnapshotForWrite, tc as withFileLock$1, uo as writeConfigFile, zn as listChannelPlugins } from "./model-selection-
|
|
1
|
+
import { S as redactSensitiveText } from "./paths-C0HLtPu0.js";
|
|
2
|
+
import { c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix, o as resolveOAuthDir } from "./paths-hfkBoC7i.js";
|
|
3
|
+
import { d as logVerbose, l as danger, t as createSubsystemLogger } from "./subsystem-C8z6w6xC.js";
|
|
4
|
+
import { q as normalizeAccountId } from "./workspace-CWDYHR27.js";
|
|
5
|
+
import { a as CONFIG_DIR, b as safeParseJson } from "./logger-ChbX1G7s.js";
|
|
6
|
+
import { Ii as isGifMedia, Ji as formatErrorMessage, Ki as collectErrorGraphCandidates, Li as kindFromMime, Ni as getFileExtension, Ri as normalizeMimeType, Rn as getChannelPlugin, Vs as resolveTelegramPreviewStreamMode, Xi as readErrorName, Xn as resolveTelegramAccount, Yi as formatUncaughtError, ao as loadConfig, ii as writeJsonAtomic, qi as extractErrorCode, so as readConfigFileSnapshotForWrite, tc as withFileLock$1, uo as writeConfigFile, zn as listChannelPlugins } from "./model-selection-wf3OY5DX.js";
|
|
7
7
|
import { n as normalizeTelegramLookupTarget, r as parseTelegramTarget, t as normalizeTelegramChatId } from "./targets-D4pwl9LR.js";
|
|
8
|
-
import { n as makeProxyFetch } from "./proxy-fetch-
|
|
9
|
-
import { a as loadWebMedia, n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-
|
|
8
|
+
import { n as makeProxyFetch } from "./proxy-fetch-c1ZUFFcO.js";
|
|
9
|
+
import { a as loadWebMedia, n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-CzM3SxId.js";
|
|
10
10
|
import { t as renderMarkdownWithMarkers } from "./render-IRnn-2gt.js";
|
|
11
|
-
import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-
|
|
11
|
+
import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-Bx08UTAg.js";
|
|
12
12
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-C-AlrR3n.js";
|
|
13
13
|
import { n as normalizePollInput } from "./polls-Dw-aNTWI.js";
|
|
14
|
-
import { t as resolveTelegramFetch } from "./fetch-
|
|
14
|
+
import { t as resolveTelegramFetch } from "./fetch-bvgIiupu.js";
|
|
15
15
|
import os from "node:os";
|
|
16
16
|
import path from "node:path";
|
|
17
|
-
import
|
|
17
|
+
import fs from "node:fs";
|
|
18
18
|
import JSON5 from "json5";
|
|
19
19
|
import crypto, { randomBytes } from "node:crypto";
|
|
20
20
|
import { Bot, HttpError, InputFile } from "grammy";
|
|
@@ -68,7 +68,7 @@ function getPairingAdapter(channelId) {
|
|
|
68
68
|
//#region src/plugin-sdk/json-store.ts
|
|
69
69
|
async function readJsonFileWithFallback(filePath, fallback) {
|
|
70
70
|
try {
|
|
71
|
-
const parsed = safeParseJson(await
|
|
71
|
+
const parsed = safeParseJson(await fs.promises.readFile(filePath, "utf-8"));
|
|
72
72
|
if (parsed == null) return {
|
|
73
73
|
value: fallback,
|
|
74
74
|
exists: true
|
|
@@ -154,7 +154,7 @@ async function readPairingRequests(filePath) {
|
|
|
154
154
|
}
|
|
155
155
|
async function ensureJsonFile(filePath, fallback) {
|
|
156
156
|
try {
|
|
157
|
-
await
|
|
157
|
+
await fs.promises.access(filePath);
|
|
158
158
|
} catch {
|
|
159
159
|
await writeJsonFile(filePath, fallback);
|
|
160
160
|
}
|
|
@@ -310,7 +310,7 @@ function resolveAllowFromReadCacheOrMissing(filePath, stat) {
|
|
|
310
310
|
async function readAllowFromStateForPathWithExists(channel, filePath) {
|
|
311
311
|
let stat = null;
|
|
312
312
|
try {
|
|
313
|
-
stat = await
|
|
313
|
+
stat = await fs.promises.stat(filePath);
|
|
314
314
|
} catch (err) {
|
|
315
315
|
if (err.code !== "ENOENT") throw err;
|
|
316
316
|
}
|
|
@@ -353,7 +353,7 @@ async function writeAllowFromState(filePath, allowFrom) {
|
|
|
353
353
|
});
|
|
354
354
|
let stat = null;
|
|
355
355
|
try {
|
|
356
|
-
stat = await
|
|
356
|
+
stat = await fs.promises.stat(filePath);
|
|
357
357
|
} catch {}
|
|
358
358
|
setAllowFromReadCache(filePath, {
|
|
359
359
|
exists: true,
|
|
@@ -977,7 +977,7 @@ function resolveCronStorePath(storePath) {
|
|
|
977
977
|
}
|
|
978
978
|
async function loadCronStore(storePath) {
|
|
979
979
|
try {
|
|
980
|
-
const raw = await
|
|
980
|
+
const raw = await fs.promises.readFile(storePath, "utf-8");
|
|
981
981
|
let parsed;
|
|
982
982
|
try {
|
|
983
983
|
parsed = JSON5.parse(raw);
|
|
@@ -1003,21 +1003,21 @@ async function loadCronStore(storePath) {
|
|
|
1003
1003
|
}
|
|
1004
1004
|
}
|
|
1005
1005
|
async function setSecureFileMode(filePath) {
|
|
1006
|
-
await
|
|
1006
|
+
await fs.promises.chmod(filePath, 384).catch(() => void 0);
|
|
1007
1007
|
}
|
|
1008
1008
|
async function saveCronStore(storePath, store, opts) {
|
|
1009
1009
|
const storeDir = path.dirname(storePath);
|
|
1010
|
-
await
|
|
1010
|
+
await fs.promises.mkdir(storeDir, {
|
|
1011
1011
|
recursive: true,
|
|
1012
1012
|
mode: 448
|
|
1013
1013
|
});
|
|
1014
|
-
await
|
|
1014
|
+
await fs.promises.chmod(storeDir, 448).catch(() => void 0);
|
|
1015
1015
|
const json = JSON.stringify(store, null, 2);
|
|
1016
1016
|
const cached = serializedStoreCache.get(storePath);
|
|
1017
1017
|
if (cached === json) return;
|
|
1018
1018
|
let previous = cached ?? null;
|
|
1019
1019
|
if (previous === null) try {
|
|
1020
|
-
previous = await
|
|
1020
|
+
previous = await fs.promises.readFile(storePath, "utf-8");
|
|
1021
1021
|
} catch (err) {
|
|
1022
1022
|
if (err.code !== "ENOENT") throw err;
|
|
1023
1023
|
}
|
|
@@ -1026,14 +1026,14 @@ async function saveCronStore(storePath, store, opts) {
|
|
|
1026
1026
|
return;
|
|
1027
1027
|
}
|
|
1028
1028
|
const tmp = `${storePath}.${process.pid}.${randomBytes(8).toString("hex")}.tmp`;
|
|
1029
|
-
await
|
|
1029
|
+
await fs.promises.writeFile(tmp, json, {
|
|
1030
1030
|
encoding: "utf-8",
|
|
1031
1031
|
mode: 384
|
|
1032
1032
|
});
|
|
1033
1033
|
await setSecureFileMode(tmp);
|
|
1034
1034
|
if (previous !== null && !opts?.skipBackup) try {
|
|
1035
1035
|
const backupPath = `${storePath}.bak`;
|
|
1036
|
-
await
|
|
1036
|
+
await fs.promises.copyFile(storePath, backupPath);
|
|
1037
1037
|
await setSecureFileMode(backupPath);
|
|
1038
1038
|
} catch {}
|
|
1039
1039
|
await renameWithRetry(tmp, storePath);
|
|
@@ -1044,7 +1044,7 @@ const RENAME_MAX_RETRIES = 3;
|
|
|
1044
1044
|
const RENAME_BASE_DELAY_MS = 50;
|
|
1045
1045
|
async function renameWithRetry(src, dest) {
|
|
1046
1046
|
for (let attempt = 0; attempt <= RENAME_MAX_RETRIES; attempt++) try {
|
|
1047
|
-
await
|
|
1047
|
+
await fs.promises.rename(src, dest);
|
|
1048
1048
|
return;
|
|
1049
1049
|
} catch (err) {
|
|
1050
1050
|
const code = err.code;
|
|
@@ -1053,8 +1053,8 @@ async function renameWithRetry(src, dest) {
|
|
|
1053
1053
|
continue;
|
|
1054
1054
|
}
|
|
1055
1055
|
if (code === "EPERM" || code === "EEXIST") {
|
|
1056
|
-
await
|
|
1057
|
-
await
|
|
1056
|
+
await fs.promises.copyFile(src, dest);
|
|
1057
|
+
await fs.promises.unlink(src).catch(() => {});
|
|
1058
1058
|
return;
|
|
1059
1059
|
}
|
|
1060
1060
|
throw err;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as toPinoLikeLogger, b as getChildLogger, h as success, l as danger } from "./subsystem-
|
|
2
|
-
import { l as ensureDir, y as resolveUserPath } from "./logger-
|
|
3
|
-
import { Cr as resolveWebCredsPath, Sr as resolveWebCredsBackupPath, Ws as VERSION, _r as maybeRestoreCredsFromBackup, nc as formatCliCommand, xr as resolveDefaultWebAuthDir, yr as readCredsJsonRaw } from "./model-selection-
|
|
4
|
-
import
|
|
1
|
+
import { S as toPinoLikeLogger, b as getChildLogger, h as success, l as danger } from "./subsystem-C8z6w6xC.js";
|
|
2
|
+
import { l as ensureDir, y as resolveUserPath } from "./logger-ChbX1G7s.js";
|
|
3
|
+
import { Cr as resolveWebCredsPath, Sr as resolveWebCredsBackupPath, Ws as VERSION, _r as maybeRestoreCredsFromBackup, nc as formatCliCommand, xr as resolveDefaultWebAuthDir, yr as readCredsJsonRaw } from "./model-selection-wf3OY5DX.js";
|
|
4
|
+
import fs from "node:fs";
|
|
5
5
|
import "node:crypto";
|
|
6
6
|
import { DisconnectReason, fetchLatestBaileysVersion, makeCacheableSignalKeyStore, makeWASocket, useMultiFileAuthState } from "@whiskeysockets/baileys";
|
|
7
7
|
import qrcode from "qrcode-terminal";
|
|
@@ -19,16 +19,16 @@ async function safeSaveCreds(authDir, saveCreds, logger) {
|
|
|
19
19
|
const raw = readCredsJsonRaw(credsPath);
|
|
20
20
|
if (raw) try {
|
|
21
21
|
JSON.parse(raw);
|
|
22
|
-
|
|
22
|
+
fs.copyFileSync(credsPath, backupPath);
|
|
23
23
|
try {
|
|
24
|
-
|
|
24
|
+
fs.chmodSync(backupPath, 384);
|
|
25
25
|
} catch {}
|
|
26
26
|
} catch {}
|
|
27
27
|
} catch {}
|
|
28
28
|
try {
|
|
29
29
|
await Promise.resolve(saveCreds());
|
|
30
30
|
try {
|
|
31
|
-
|
|
31
|
+
fs.chmodSync(resolveWebCredsPath(authDir), 384);
|
|
32
32
|
} catch {}
|
|
33
33
|
} catch (err) {
|
|
34
34
|
logger.warn({ error: String(err) }, "failed saving WhatsApp creds");
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { N as resolveAgentSkillsFilter, O as listAgentIds, P as resolveAgentWorkspaceDir } from "./paths-
|
|
2
|
-
import { c as resolveStateDir } from "./paths-
|
|
3
|
-
import { d as logVerbose, t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { a as CONFIG_DIR, y as resolveUserPath } from "./logger-
|
|
5
|
-
import { da as buildWorkspaceSkillCommandSpecs, ha as resolvePluginSkillDirs, ni as createAsyncLock } from "./model-selection-
|
|
6
|
-
import { i as listChatCommands } from "./commands-registry-
|
|
1
|
+
import { N as resolveAgentSkillsFilter, O as listAgentIds, P as resolveAgentWorkspaceDir } from "./paths-C0HLtPu0.js";
|
|
2
|
+
import { c as resolveStateDir } from "./paths-hfkBoC7i.js";
|
|
3
|
+
import { d as logVerbose, t as createSubsystemLogger } from "./subsystem-C8z6w6xC.js";
|
|
4
|
+
import { a as CONFIG_DIR, y as resolveUserPath } from "./logger-ChbX1G7s.js";
|
|
5
|
+
import { da as buildWorkspaceSkillCommandSpecs, ha as resolvePluginSkillDirs, ni as createAsyncLock } from "./model-selection-wf3OY5DX.js";
|
|
6
|
+
import { i as listChatCommands } from "./commands-registry-llLVCTH9.js";
|
|
7
7
|
import os from "node:os";
|
|
8
8
|
import path from "node:path";
|
|
9
|
-
import
|
|
9
|
+
import fs from "node:fs";
|
|
10
10
|
import "node:crypto";
|
|
11
11
|
import chokidar from "chokidar";
|
|
12
12
|
//#region src/infra/pairing-files.ts
|
|
@@ -241,13 +241,13 @@ function listSkillCommandsForAgents(params) {
|
|
|
241
241
|
const workspaceFilters = /* @__PURE__ */ new Map();
|
|
242
242
|
for (const agentId of agentIds) {
|
|
243
243
|
const workspaceDir = resolveAgentWorkspaceDir(params.cfg, agentId);
|
|
244
|
-
if (!
|
|
244
|
+
if (!fs.existsSync(workspaceDir)) {
|
|
245
245
|
logVerbose(`Skipping agent "${agentId}": workspace does not exist: ${workspaceDir}`);
|
|
246
246
|
continue;
|
|
247
247
|
}
|
|
248
248
|
let canonicalDir;
|
|
249
249
|
try {
|
|
250
|
-
canonicalDir =
|
|
250
|
+
canonicalDir = fs.realpathSync(workspaceDir);
|
|
251
251
|
} catch {
|
|
252
252
|
logVerbose(`Skipping agent "${agentId}": cannot resolve workspace: ${workspaceDir}`);
|
|
253
253
|
continue;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import "./paths-C0HLtPu0.js";
|
|
2
|
+
import "./paths-hfkBoC7i.js";
|
|
3
|
+
import "./subsystem-C8z6w6xC.js";
|
|
4
|
+
import "./workspace-CWDYHR27.js";
|
|
5
|
+
import "./logger-ChbX1G7s.js";
|
|
6
|
+
import "./model-selection-wf3OY5DX.js";
|
|
7
|
+
import "./github-copilot-token-CQmATy5E.js";
|
|
8
|
+
import "./boolean-C7Ct_klp.js";
|
|
9
|
+
import "./env-aYXLHjfZ.js";
|
|
10
|
+
import "./frontmatter-DjZuS525.js";
|
|
11
|
+
import { f as resolveCommandArgMenu, n as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as parseCommandArgs } from "./commands-registry-llLVCTH9.js";
|
|
12
|
+
export { buildCommandTextFromArgs, findCommandByNativeName, listNativeCommandSpecsForConfig, parseCommandArgs, resolveCommandArgMenu };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import "./paths-C0HLtPu0.js";
|
|
2
|
+
import "./paths-hfkBoC7i.js";
|
|
3
|
+
import "./subsystem-C8z6w6xC.js";
|
|
4
|
+
import "./workspace-CWDYHR27.js";
|
|
5
|
+
import "./logger-ChbX1G7s.js";
|
|
6
|
+
import { zr as resolveConversationLabel } from "./model-selection-wf3OY5DX.js";
|
|
7
|
+
import "./github-copilot-token-CQmATy5E.js";
|
|
8
|
+
import "./boolean-C7Ct_klp.js";
|
|
9
|
+
import "./env-aYXLHjfZ.js";
|
|
10
|
+
import "./frontmatter-DjZuS525.js";
|
|
11
|
+
import "./send-CEg4P96c.js";
|
|
12
|
+
import "./send-DPflcjM5.js";
|
|
13
|
+
import { F as finalizeInboundContext, N as resolveAgentRoute, b as dispatchReplyWithDispatcher, d as createReplyPrefixOptions, i as deliverSlackSlashReplies, r as recordInboundSessionMetaSafe } from "./pi-embedded-BAHaY-Oh.js";
|
|
14
|
+
import "./tokens-BWDIKewp.js";
|
|
15
|
+
import "./deliver-DJf2ZBpe.js";
|
|
16
|
+
import "./diagnostic-BCCMF3O_.js";
|
|
17
|
+
import "./send-DwAoiT2p.js";
|
|
18
|
+
import "./pi-model-discovery-ItS07aJB.js";
|
|
19
|
+
import "./image-Q8E1-lZn.js";
|
|
20
|
+
import "./audio-transcription-runner-Q5zG_hYd.js";
|
|
21
|
+
import "./fetch-DCTUdr1U.js";
|
|
22
|
+
import "./fetch-guard-CqpEmMQ2.js";
|
|
23
|
+
import "./api-key-rotation-DLU4jvSu.js";
|
|
24
|
+
import "./proxy-fetch-c1ZUFFcO.js";
|
|
25
|
+
import { m as resolveChunkMode, s as resolveMarkdownTableMode } from "./ir-CzM3SxId.js";
|
|
26
|
+
import "./render-IRnn-2gt.js";
|
|
27
|
+
import "./target-errors-CfavnC9U.js";
|
|
28
|
+
import "./commands-registry-llLVCTH9.js";
|
|
29
|
+
import "./skill-commands-DhdiziMs.js";
|
|
30
|
+
import "./fetch-CeWULXBI.js";
|
|
31
|
+
import "./channel-activity-Bx08UTAg.js";
|
|
32
|
+
import "./tables-DQusRhkD.js";
|
|
33
|
+
import "./send-CS0ocZHl.js";
|
|
34
|
+
import "./outbound-attachment-1R6r9Pg_.js";
|
|
35
|
+
import "./send-6R8b9zsj.js";
|
|
36
|
+
import "./fetch-bvgIiupu.js";
|
|
37
|
+
import "./manager-FAQPC0uO.js";
|
|
38
|
+
import "./query-expansion-GqNV2iIE.js";
|
|
39
|
+
export { createReplyPrefixOptions, deliverSlackSlashReplies, dispatchReplyWithDispatcher, finalizeInboundContext, recordInboundSessionMetaSafe, resolveAgentRoute, resolveChunkMode, resolveConversationLabel, resolveMarkdownTableMode };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import "./paths-C0HLtPu0.js";
|
|
2
|
+
import "./paths-hfkBoC7i.js";
|
|
3
|
+
import "./subsystem-C8z6w6xC.js";
|
|
4
|
+
import "./workspace-CWDYHR27.js";
|
|
5
|
+
import "./logger-ChbX1G7s.js";
|
|
6
|
+
import "./model-selection-wf3OY5DX.js";
|
|
7
|
+
import "./github-copilot-token-CQmATy5E.js";
|
|
8
|
+
import "./boolean-C7Ct_klp.js";
|
|
9
|
+
import "./env-aYXLHjfZ.js";
|
|
10
|
+
import "./frontmatter-DjZuS525.js";
|
|
11
|
+
import "./commands-registry-llLVCTH9.js";
|
|
12
|
+
import { n as listSkillCommandsForAgents } from "./skill-commands-DhdiziMs.js";
|
|
13
|
+
export { listSkillCommandsForAgents };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import "./paths-C0HLtPu0.js";
|
|
2
|
+
import "./paths-hfkBoC7i.js";
|
|
3
|
+
import "./subsystem-C8z6w6xC.js";
|
|
4
|
+
import "./workspace-CWDYHR27.js";
|
|
5
|
+
import "./logger-ChbX1G7s.js";
|
|
6
|
+
import "./model-selection-wf3OY5DX.js";
|
|
7
|
+
import "./github-copilot-token-CQmATy5E.js";
|
|
8
|
+
import "./boolean-C7Ct_klp.js";
|
|
9
|
+
import "./env-aYXLHjfZ.js";
|
|
10
|
+
import "./frontmatter-DjZuS525.js";
|
|
11
|
+
import "./send-CEg4P96c.js";
|
|
12
|
+
import "./send-DPflcjM5.js";
|
|
13
|
+
import { B as countActiveDescendantRuns, G as replaceSubagentRunAfterSteer, H as countPendingDescendantRunsExcludingRun, K as resolveRequesterForChildSession, U as isSubagentSessionRunActive, V as countPendingDescendantRuns, W as listSubagentRunsForRequester, q as shouldIgnorePostCompletionAnnounceForSession } from "./pi-embedded-BAHaY-Oh.js";
|
|
14
|
+
import "./tokens-BWDIKewp.js";
|
|
15
|
+
import "./deliver-DJf2ZBpe.js";
|
|
16
|
+
import "./diagnostic-BCCMF3O_.js";
|
|
17
|
+
import "./send-DwAoiT2p.js";
|
|
18
|
+
import "./pi-model-discovery-ItS07aJB.js";
|
|
19
|
+
import "./image-Q8E1-lZn.js";
|
|
20
|
+
import "./audio-transcription-runner-Q5zG_hYd.js";
|
|
21
|
+
import "./fetch-DCTUdr1U.js";
|
|
22
|
+
import "./fetch-guard-CqpEmMQ2.js";
|
|
23
|
+
import "./api-key-rotation-DLU4jvSu.js";
|
|
24
|
+
import "./proxy-fetch-c1ZUFFcO.js";
|
|
25
|
+
import "./ir-CzM3SxId.js";
|
|
26
|
+
import "./render-IRnn-2gt.js";
|
|
27
|
+
import "./target-errors-CfavnC9U.js";
|
|
28
|
+
import "./commands-registry-llLVCTH9.js";
|
|
29
|
+
import "./skill-commands-DhdiziMs.js";
|
|
30
|
+
import "./fetch-CeWULXBI.js";
|
|
31
|
+
import "./channel-activity-Bx08UTAg.js";
|
|
32
|
+
import "./tables-DQusRhkD.js";
|
|
33
|
+
import "./send-CS0ocZHl.js";
|
|
34
|
+
import "./outbound-attachment-1R6r9Pg_.js";
|
|
35
|
+
import "./send-6R8b9zsj.js";
|
|
36
|
+
import "./fetch-bvgIiupu.js";
|
|
37
|
+
import "./manager-FAQPC0uO.js";
|
|
38
|
+
import "./query-expansion-GqNV2iIE.js";
|
|
39
|
+
export { countActiveDescendantRuns, countPendingDescendantRuns, countPendingDescendantRunsExcludingRun, isSubagentSessionRunActive, listSubagentRunsForRequester, replaceSubagentRunAfterSteer, resolveRequesterForChildSession, shouldIgnorePostCompletionAnnounceForSession };
|