cclawd 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{active-listener-DYmI7imH.js → active-listener-BLd27Pxd.js} +2 -2
- package/dist/{api-key-rotation-DLU4jvSu.js → api-key-rotation-Dg3JlNDQ.js} +1 -1
- package/dist/{audio-preflight-C9TMbRb4.js → audio-preflight-eV5m9mMp.js} +15 -15
- package/dist/{audio-transcription-runner-Q5zG_hYd.js → audio-transcription-runner-CQU4Eg1M.js} +10 -10
- package/dist/{audit-membership-runtime-DhxSwFnF.js → audit-membership-runtime-hXUuer4x.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-Bx08UTAg.js → channel-activity-dT3cYb0e.js} +2 -2
- package/dist/{commands-registry-llLVCTH9.js → commands-registry-CyLMCPuP.js} +2 -2
- package/dist/compact.runtime-DGRl4st4.js +39 -0
- package/dist/{deliver-DJf2ZBpe.js → deliver-B6eTtXSk.js} +19 -19
- package/dist/deliver-runtime-CLDpY6AW.js +19 -0
- package/dist/deps-send-discord.runtime-CxADlame.js +19 -0
- package/dist/deps-send-imessage.runtime-Wi79xm6H.js +18 -0
- package/dist/deps-send-signal.runtime-BDtzvsnR.js +17 -0
- package/dist/deps-send-slack.runtime-CgX24hgT.js +17 -0
- package/dist/deps-send-telegram.runtime-CEWc7ePn.js +20 -0
- package/dist/deps-send-whatsapp.runtime-B1KJ7YOp.js +43 -0
- package/dist/{diagnostic-BCCMF3O_.js → diagnostic-BZmAxdu9.js} +2 -2
- package/dist/{env-aYXLHjfZ.js → env-lw2hsIUY.js} +1 -1
- package/dist/{fetch-bvgIiupu.js → fetch-C0iyt-Iz.js} +3 -3
- package/dist/{fetch-DCTUdr1U.js → fetch-CMLoICyN.js} +5 -5
- package/dist/{fetch-guard-CqpEmMQ2.js → fetch-guard-DCj3k042.js} +2 -2
- package/dist/{frontmatter-DjZuS525.js → frontmatter-C_obXuTp.js} +3 -3
- package/dist/{github-copilot-token-CQmATy5E.js → github-copilot-token-8N63GdbE.js} +7 -7
- package/dist/{image-Q8E1-lZn.js → image-Bt49ybRv.js} +4 -4
- package/dist/image-runtime-Cilhq73U.js +12 -0
- package/dist/{ir-CzM3SxId.js → ir-CVtBjUiL.js} +6 -6
- package/dist/llm-slug-generator.js +35 -35
- package/dist/{logger-ChbX1G7s.js → logger-CbUVl62f.js} +7 -7
- package/dist/{login-B0mtU11X.js → login-D0fUoX-p.js} +4 -4
- package/dist/{login-qr-DY_i60f5.js → login-qr-ClBxstxZ.js} +10 -10
- package/dist/{manager-FAQPC0uO.js → manager-DSfEj66R.js} +12 -12
- package/dist/manager-runtime-BrZlGJsj.js +15 -0
- package/dist/{model-selection-wf3OY5DX.js → model-selection-CMEj8bpy.js} +130 -130
- package/dist/{outbound-Bw0dOVS7.js → outbound-BxIJyMzV.js} +6 -6
- package/dist/{outbound-attachment-1R6r9Pg_.js → outbound-attachment-CVJwpypG.js} +2 -2
- package/dist/{paths-C0HLtPu0.js → paths-CehYKFsO.js} +7 -7
- package/dist/{paths-hfkBoC7i.js → paths-DkxwiA8g.js} +5 -5
- package/dist/{pi-embedded-BAHaY-Oh.js → pi-embedded-CHNPEUAv.js} +159 -159
- package/dist/{pi-model-discovery-ItS07aJB.js → pi-model-discovery-D-r5y7kV.js} +7 -7
- package/dist/pi-model-discovery-runtime-DZQXYmdu.js +12 -0
- package/dist/{pi-tools.before-tool-call.runtime-D_mthvtC.js → pi-tools.before-tool-call.runtime-DagGpfw0.js} +10 -10
- package/dist/{proxy-fetch-c1ZUFFcO.js → proxy-fetch-BOh1PLOW.js} +1 -1
- package/dist/{pw-ai-Ok6KGelf.js → pw-ai-CoIUdns_.js} +9 -9
- package/dist/{qmd-manager-DhfEz4Ar.js → qmd-manager-DEscZz5_.js} +6 -6
- package/dist/{query-expansion-GqNV2iIE.js → query-expansion-BErUY8P2.js} +4 -4
- package/dist/runtime-whatsapp-login.runtime-ChqE9BkX.js +13 -0
- package/dist/runtime-whatsapp-outbound.runtime-yiy6jzKk.js +17 -0
- package/dist/{send-DPflcjM5.js → send-4rRrSKp9.js} +6 -6
- package/dist/{send-CEg4P96c.js → send-BKO1-P1t.js} +5 -5
- package/dist/{send-CS0ocZHl.js → send-EDBPXjTT.js} +3 -3
- package/dist/{send-6R8b9zsj.js → send-K2mAG7KC.js} +5 -5
- package/dist/{send-DwAoiT2p.js → send-V1MRV7QF.js} +25 -25
- package/dist/{session-BoIID5UR.js → session-CuVCho2m.js} +7 -7
- package/dist/{skill-commands-DhdiziMs.js → skill-commands-B55LOaMB.js} +9 -9
- package/dist/slash-commands.runtime-BchS0VkW.js +12 -0
- package/dist/slash-dispatch.runtime-BIKRY3fr.js +39 -0
- package/dist/slash-skill-commands.runtime-BP4jBHU9.js +13 -0
- package/dist/subagent-registry-runtime-DjEYzSyM.js +39 -0
- package/dist/{subsystem-C8z6w6xC.js → subsystem-DfXy5gUB.js} +14 -14
- package/dist/{tables-DQusRhkD.js → tables-BAGqh2XD.js} +1 -1
- package/dist/{target-errors-CfavnC9U.js → target-errors-CeBF8Pws.js} +1 -1
- package/dist/{tokens-BWDIKewp.js → tokens-6ul2IrzG.js} +1 -1
- package/dist/{web-CrcrTQ2c.js → web-BRSmQdtm.js} +39 -39
- package/dist/{whatsapp-actions-B0u0ZAme.js → whatsapp-actions-Dxb2K2Xh.js} +15 -15
- package/dist/{workspace-CWDYHR27.js → workspace-DGIcKCCW.js} +20 -20
- package/extensions/mfa-auth/README.md +33 -38
- package/extensions/mfa-auth/index.ts +97 -92
- package/extensions/mfa-auth/node_modules/.bin/qrcode-terminal +1 -6
- package/extensions/mfa-auth/node_modules/.bin/qrcode-terminal.cmd +17 -0
- package/extensions/mfa-auth/node_modules/.bin/qrcode-terminal.ps1 +0 -13
- package/extensions/mfa-auth/node_modules/.bin/tsx +1 -6
- package/extensions/mfa-auth/node_modules/.bin/tsx.cmd +17 -0
- package/extensions/mfa-auth/node_modules/.bin/tsx.ps1 +0 -13
- package/extensions/mfa-auth/node_modules/.package-lock.json +103 -0
- package/extensions/mfa-auth/package-lock.json +115 -0
- package/extensions/mfa-auth/package.json +1 -1
- package/extensions/mfa-auth/src/auth-manager.ts +4 -2
- package/extensions/mfa-auth/src/config.ts +1 -4
- package/extensions/mfa-auth/src/dabby-client.test.ts +68 -147
- package/extensions/mfa-auth/src/dabby-client.ts +70 -89
- package/extensions/mfa-auth/src/feishu-support/index.ts +2 -2
- package/extensions/mfa-auth/src/notification-service.ts +19 -14
- package/extensions/mfa-auth/src/providers/base.ts +0 -1
- package/extensions/mfa-auth/src/providers/qr-code.ts +3 -506
- package/extensions/mfa-auth/src/server.ts +3 -223
- package/extensions/mfa-auth/src/types.ts +13 -36
- package/package.json +458 -460
- package/dist/compact.runtime-BEn3giMt.js +0 -39
- package/dist/deliver-runtime-DkQ3XzGv.js +0 -19
- package/dist/deps-send-discord.runtime-BLpqSj6s.js +0 -19
- package/dist/deps-send-imessage.runtime-BFzyYqvR.js +0 -18
- package/dist/deps-send-signal.runtime-DT0TYCy1.js +0 -17
- package/dist/deps-send-slack.runtime-BhaGFfMX.js +0 -17
- package/dist/deps-send-telegram.runtime-B6Cic9NX.js +0 -20
- package/dist/deps-send-whatsapp.runtime-WtEhIq2S.js +0 -43
- package/dist/image-runtime-B1LFYfQ2.js +0 -12
- package/dist/manager-runtime-Da7ME9vS.js +0 -15
- package/dist/pi-model-discovery-runtime-DjM7Z1fx.js +0 -12
- package/dist/runtime-whatsapp-login.runtime-D4BRhQkK.js +0 -13
- package/dist/runtime-whatsapp-outbound.runtime-DJPpS6g-.js +0 -17
- package/dist/slash-commands.runtime-Cu1lTjV9.js +0 -12
- package/dist/slash-dispatch.runtime-DRVJEF4l.js +0 -39
- package/dist/slash-skill-commands.runtime-C373PJjv.js +0 -13
- package/dist/subagent-registry-runtime-D7hWBo1G.js +0 -39
- package/extensions/mfa-auth/node_modules/.bin/qrcode-terminal.CMD +0 -12
- package/extensions/mfa-auth/node_modules/.bin/tsx.CMD +0 -12
|
@@ -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-CMEj8bpy.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import syncFs 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 (!syncFs.existsSync(pathname)) return;
|
|
72
72
|
let parsed;
|
|
73
73
|
try {
|
|
74
|
-
parsed = JSON.parse(
|
|
74
|
+
parsed = JSON.parse(syncFs.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
|
+
syncFs.rmSync(pathname, { force: true });
|
|
89
89
|
return;
|
|
90
90
|
}
|
|
91
|
-
|
|
92
|
-
|
|
91
|
+
syncFs.writeFileSync(pathname, `${JSON.stringify(parsed, null, 2)}\n`, "utf8");
|
|
92
|
+
syncFs.chmodSync(pathname, 384);
|
|
93
93
|
}
|
|
94
94
|
function createAuthStorage(AuthStorageLike, path, creds) {
|
|
95
95
|
const withInMemory = AuthStorageLike;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import "./paths-CehYKFsO.js";
|
|
2
|
+
import "./paths-DkxwiA8g.js";
|
|
3
|
+
import "./subsystem-DfXy5gUB.js";
|
|
4
|
+
import "./workspace-DGIcKCCW.js";
|
|
5
|
+
import "./logger-CbUVl62f.js";
|
|
6
|
+
import "./model-selection-CMEj8bpy.js";
|
|
7
|
+
import "./github-copilot-token-8N63GdbE.js";
|
|
8
|
+
import "./boolean-C7Ct_klp.js";
|
|
9
|
+
import "./env-lw2hsIUY.js";
|
|
10
|
+
import "./frontmatter-C_obXuTp.js";
|
|
11
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-D-r5y7kV.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-CehYKFsO.js";
|
|
2
|
+
import "./paths-DkxwiA8g.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-DfXy5gUB.js";
|
|
4
|
+
import "./workspace-DGIcKCCW.js";
|
|
5
|
+
import { D as isPlainObject } from "./logger-CbUVl62f.js";
|
|
6
|
+
import "./model-selection-CMEj8bpy.js";
|
|
7
|
+
import "./github-copilot-token-8N63GdbE.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-lw2hsIUY.js";
|
|
10
|
+
import "./frontmatter-C_obXuTp.js";
|
|
11
|
+
import { p as getDiagnosticSessionState, s as logToolLoopAction } from "./diagnostic-BZmAxdu9.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");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as logWarn } from "./logger-
|
|
1
|
+
import { i as logWarn } from "./logger-CbUVl62f.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-CehYKFsO.js";
|
|
2
|
+
import "./paths-DkxwiA8g.js";
|
|
3
|
+
import { E as resolvePreferredOpenClawTmpDir } from "./subsystem-DfXy5gUB.js";
|
|
4
|
+
import "./workspace-DGIcKCCW.js";
|
|
5
|
+
import "./logger-CbUVl62f.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-CMEj8bpy.js";
|
|
7
|
+
import "./github-copilot-token-8N63GdbE.js";
|
|
8
8
|
import "./boolean-C7Ct_klp.js";
|
|
9
|
-
import "./env-
|
|
10
|
-
import "./frontmatter-
|
|
9
|
+
import "./env-lw2hsIUY.js";
|
|
10
|
+
import "./frontmatter-C_obXuTp.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-CehYKFsO.js";
|
|
2
|
+
import { c as resolveStateDir } from "./paths-DkxwiA8g.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-DfXy5gUB.js";
|
|
4
|
+
import { tt as parseAgentSessionKey } from "./workspace-DGIcKCCW.js";
|
|
5
|
+
import "./logger-CbUVl62f.js";
|
|
6
|
+
import { a as listSessionFilesForAgent, i as buildSessionEntry, r as requireNodeSqlite, t as extractKeywords, v as isFileMissingError, y as statRegularFile } from "./query-expansion-BErUY8P2.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-CehYKFsO.js";
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-DfXy5gUB.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 syncFs 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
|
+
syncFs.mkdirSync(dir, { recursive: true });
|
|
31
31
|
} catch {}
|
|
32
32
|
return dir;
|
|
33
33
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import "./paths-CehYKFsO.js";
|
|
2
|
+
import "./paths-DkxwiA8g.js";
|
|
3
|
+
import "./subsystem-DfXy5gUB.js";
|
|
4
|
+
import "./workspace-DGIcKCCW.js";
|
|
5
|
+
import "./logger-CbUVl62f.js";
|
|
6
|
+
import "./model-selection-CMEj8bpy.js";
|
|
7
|
+
import "./github-copilot-token-8N63GdbE.js";
|
|
8
|
+
import "./boolean-C7Ct_klp.js";
|
|
9
|
+
import "./env-lw2hsIUY.js";
|
|
10
|
+
import "./frontmatter-C_obXuTp.js";
|
|
11
|
+
import "./session-CuVCho2m.js";
|
|
12
|
+
import { t as loginWeb } from "./login-D0fUoX-p.js";
|
|
13
|
+
export { loginWeb };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import "./paths-CehYKFsO.js";
|
|
2
|
+
import "./paths-DkxwiA8g.js";
|
|
3
|
+
import "./subsystem-DfXy5gUB.js";
|
|
4
|
+
import "./workspace-DGIcKCCW.js";
|
|
5
|
+
import "./logger-CbUVl62f.js";
|
|
6
|
+
import "./model-selection-CMEj8bpy.js";
|
|
7
|
+
import "./github-copilot-token-8N63GdbE.js";
|
|
8
|
+
import "./boolean-C7Ct_klp.js";
|
|
9
|
+
import "./env-lw2hsIUY.js";
|
|
10
|
+
import "./frontmatter-C_obXuTp.js";
|
|
11
|
+
import "./fetch-CMLoICyN.js";
|
|
12
|
+
import "./fetch-guard-DCj3k042.js";
|
|
13
|
+
import "./ir-CVtBjUiL.js";
|
|
14
|
+
import "./render-IRnn-2gt.js";
|
|
15
|
+
import "./tables-BAGqh2XD.js";
|
|
16
|
+
import { n as sendPollWhatsApp, t as sendMessageWhatsApp } from "./outbound-BxIJyMzV.js";
|
|
17
|
+
export { sendMessageWhatsApp, sendPollWhatsApp };
|
|
@@ -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-DfXy5gUB.js";
|
|
2
|
+
import { q as normalizeAccountId } from "./workspace-DGIcKCCW.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-CMEj8bpy.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-CVtBjUiL.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-dT3cYb0e.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-BAGqh2XD.js";
|
|
11
11
|
import fs from "node:fs/promises";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
import { promisify } from "node:util";
|
|
@@ -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-DfXy5gUB.js";
|
|
2
|
+
import { ao as loadConfig, or as resolveSlackBotToken, rr as resolveSlackAccount } from "./model-selection-CMEj8bpy.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-6ul2IrzG.js";
|
|
5
|
+
import { r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-DCj3k042.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-CVtBjUiL.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-CMEj8bpy.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-CVtBjUiL.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-CVJwpypG.js";
|
|
6
6
|
//#region src/signal/format.ts
|
|
7
7
|
function normalizeUrlForComparison(url) {
|
|
8
8
|
let normalized = url.toLowerCase();
|
|
@@ -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-CbUVl62f.js";
|
|
2
|
+
import { Li as kindFromMime, Or as isAllowedParsedChatSender, Tr as resolveIMessageAccount, ao as loadConfig } from "./model-selection-CMEj8bpy.js";
|
|
3
|
+
import { s as resolveMarkdownTableMode } from "./ir-CVtBjUiL.js";
|
|
4
|
+
import { t as convertMarkdownTables } from "./tables-BAGqh2XD.js";
|
|
5
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-CVJwpypG.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,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-CehYKFsO.js";
|
|
2
|
+
import { c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix, o as resolveOAuthDir } from "./paths-DkxwiA8g.js";
|
|
3
|
+
import { d as logVerbose, l as danger, t as createSubsystemLogger } from "./subsystem-DfXy5gUB.js";
|
|
4
|
+
import { q as normalizeAccountId } from "./workspace-DGIcKCCW.js";
|
|
5
|
+
import { a as CONFIG_DIR, b as safeParseJson } from "./logger-CbUVl62f.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-CMEj8bpy.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-BOh1PLOW.js";
|
|
9
|
+
import { a as loadWebMedia, n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-CVtBjUiL.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-dT3cYb0e.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-C0iyt-Iz.js";
|
|
15
15
|
import os from "node:os";
|
|
16
16
|
import path from "node:path";
|
|
17
|
-
import
|
|
17
|
+
import syncFs 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 syncFs.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 syncFs.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 syncFs.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 syncFs.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 syncFs.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 syncFs.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 syncFs.promises.mkdir(storeDir, {
|
|
1011
1011
|
recursive: true,
|
|
1012
1012
|
mode: 448
|
|
1013
1013
|
});
|
|
1014
|
-
await
|
|
1014
|
+
await syncFs.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 syncFs.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 syncFs.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 syncFs.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 syncFs.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 syncFs.promises.copyFile(src, dest);
|
|
1057
|
+
await syncFs.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-DfXy5gUB.js";
|
|
2
|
+
import { l as ensureDir, y as resolveUserPath } from "./logger-CbUVl62f.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-CMEj8bpy.js";
|
|
4
|
+
import syncFs 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
|
+
syncFs.copyFileSync(credsPath, backupPath);
|
|
23
23
|
try {
|
|
24
|
-
|
|
24
|
+
syncFs.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
|
+
syncFs.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-CehYKFsO.js";
|
|
2
|
+
import { c as resolveStateDir } from "./paths-DkxwiA8g.js";
|
|
3
|
+
import { d as logVerbose, t as createSubsystemLogger } from "./subsystem-DfXy5gUB.js";
|
|
4
|
+
import { a as CONFIG_DIR, y as resolveUserPath } from "./logger-CbUVl62f.js";
|
|
5
|
+
import { da as buildWorkspaceSkillCommandSpecs, ha as resolvePluginSkillDirs, ni as createAsyncLock } from "./model-selection-CMEj8bpy.js";
|
|
6
|
+
import { i as listChatCommands } from "./commands-registry-CyLMCPuP.js";
|
|
7
7
|
import os from "node:os";
|
|
8
8
|
import path from "node:path";
|
|
9
|
-
import
|
|
9
|
+
import syncFs 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 (!syncFs.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 = syncFs.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-CehYKFsO.js";
|
|
2
|
+
import "./paths-DkxwiA8g.js";
|
|
3
|
+
import "./subsystem-DfXy5gUB.js";
|
|
4
|
+
import "./workspace-DGIcKCCW.js";
|
|
5
|
+
import "./logger-CbUVl62f.js";
|
|
6
|
+
import "./model-selection-CMEj8bpy.js";
|
|
7
|
+
import "./github-copilot-token-8N63GdbE.js";
|
|
8
|
+
import "./boolean-C7Ct_klp.js";
|
|
9
|
+
import "./env-lw2hsIUY.js";
|
|
10
|
+
import "./frontmatter-C_obXuTp.js";
|
|
11
|
+
import { f as resolveCommandArgMenu, n as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as parseCommandArgs } from "./commands-registry-CyLMCPuP.js";
|
|
12
|
+
export { buildCommandTextFromArgs, findCommandByNativeName, listNativeCommandSpecsForConfig, parseCommandArgs, resolveCommandArgMenu };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import "./paths-CehYKFsO.js";
|
|
2
|
+
import "./paths-DkxwiA8g.js";
|
|
3
|
+
import "./subsystem-DfXy5gUB.js";
|
|
4
|
+
import "./workspace-DGIcKCCW.js";
|
|
5
|
+
import "./logger-CbUVl62f.js";
|
|
6
|
+
import { zr as resolveConversationLabel } from "./model-selection-CMEj8bpy.js";
|
|
7
|
+
import "./github-copilot-token-8N63GdbE.js";
|
|
8
|
+
import "./boolean-C7Ct_klp.js";
|
|
9
|
+
import "./env-lw2hsIUY.js";
|
|
10
|
+
import "./frontmatter-C_obXuTp.js";
|
|
11
|
+
import "./send-BKO1-P1t.js";
|
|
12
|
+
import "./send-4rRrSKp9.js";
|
|
13
|
+
import { F as finalizeInboundContext, N as resolveAgentRoute, b as dispatchReplyWithDispatcher, d as createReplyPrefixOptions, i as deliverSlackSlashReplies, r as recordInboundSessionMetaSafe } from "./pi-embedded-CHNPEUAv.js";
|
|
14
|
+
import "./tokens-6ul2IrzG.js";
|
|
15
|
+
import "./deliver-B6eTtXSk.js";
|
|
16
|
+
import "./diagnostic-BZmAxdu9.js";
|
|
17
|
+
import "./send-V1MRV7QF.js";
|
|
18
|
+
import "./pi-model-discovery-D-r5y7kV.js";
|
|
19
|
+
import "./image-Bt49ybRv.js";
|
|
20
|
+
import "./audio-transcription-runner-CQU4Eg1M.js";
|
|
21
|
+
import "./fetch-CMLoICyN.js";
|
|
22
|
+
import "./fetch-guard-DCj3k042.js";
|
|
23
|
+
import "./api-key-rotation-Dg3JlNDQ.js";
|
|
24
|
+
import "./proxy-fetch-BOh1PLOW.js";
|
|
25
|
+
import { m as resolveChunkMode, s as resolveMarkdownTableMode } from "./ir-CVtBjUiL.js";
|
|
26
|
+
import "./render-IRnn-2gt.js";
|
|
27
|
+
import "./target-errors-CeBF8Pws.js";
|
|
28
|
+
import "./commands-registry-CyLMCPuP.js";
|
|
29
|
+
import "./skill-commands-B55LOaMB.js";
|
|
30
|
+
import "./fetch-CeWULXBI.js";
|
|
31
|
+
import "./channel-activity-dT3cYb0e.js";
|
|
32
|
+
import "./tables-BAGqh2XD.js";
|
|
33
|
+
import "./send-EDBPXjTT.js";
|
|
34
|
+
import "./outbound-attachment-CVJwpypG.js";
|
|
35
|
+
import "./send-K2mAG7KC.js";
|
|
36
|
+
import "./fetch-C0iyt-Iz.js";
|
|
37
|
+
import "./manager-DSfEj66R.js";
|
|
38
|
+
import "./query-expansion-BErUY8P2.js";
|
|
39
|
+
export { createReplyPrefixOptions, deliverSlackSlashReplies, dispatchReplyWithDispatcher, finalizeInboundContext, recordInboundSessionMetaSafe, resolveAgentRoute, resolveChunkMode, resolveConversationLabel, resolveMarkdownTableMode };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import "./paths-CehYKFsO.js";
|
|
2
|
+
import "./paths-DkxwiA8g.js";
|
|
3
|
+
import "./subsystem-DfXy5gUB.js";
|
|
4
|
+
import "./workspace-DGIcKCCW.js";
|
|
5
|
+
import "./logger-CbUVl62f.js";
|
|
6
|
+
import "./model-selection-CMEj8bpy.js";
|
|
7
|
+
import "./github-copilot-token-8N63GdbE.js";
|
|
8
|
+
import "./boolean-C7Ct_klp.js";
|
|
9
|
+
import "./env-lw2hsIUY.js";
|
|
10
|
+
import "./frontmatter-C_obXuTp.js";
|
|
11
|
+
import "./commands-registry-CyLMCPuP.js";
|
|
12
|
+
import { n as listSkillCommandsForAgents } from "./skill-commands-B55LOaMB.js";
|
|
13
|
+
export { listSkillCommandsForAgents };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import "./paths-CehYKFsO.js";
|
|
2
|
+
import "./paths-DkxwiA8g.js";
|
|
3
|
+
import "./subsystem-DfXy5gUB.js";
|
|
4
|
+
import "./workspace-DGIcKCCW.js";
|
|
5
|
+
import "./logger-CbUVl62f.js";
|
|
6
|
+
import "./model-selection-CMEj8bpy.js";
|
|
7
|
+
import "./github-copilot-token-8N63GdbE.js";
|
|
8
|
+
import "./boolean-C7Ct_klp.js";
|
|
9
|
+
import "./env-lw2hsIUY.js";
|
|
10
|
+
import "./frontmatter-C_obXuTp.js";
|
|
11
|
+
import "./send-BKO1-P1t.js";
|
|
12
|
+
import "./send-4rRrSKp9.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-CHNPEUAv.js";
|
|
14
|
+
import "./tokens-6ul2IrzG.js";
|
|
15
|
+
import "./deliver-B6eTtXSk.js";
|
|
16
|
+
import "./diagnostic-BZmAxdu9.js";
|
|
17
|
+
import "./send-V1MRV7QF.js";
|
|
18
|
+
import "./pi-model-discovery-D-r5y7kV.js";
|
|
19
|
+
import "./image-Bt49ybRv.js";
|
|
20
|
+
import "./audio-transcription-runner-CQU4Eg1M.js";
|
|
21
|
+
import "./fetch-CMLoICyN.js";
|
|
22
|
+
import "./fetch-guard-DCj3k042.js";
|
|
23
|
+
import "./api-key-rotation-Dg3JlNDQ.js";
|
|
24
|
+
import "./proxy-fetch-BOh1PLOW.js";
|
|
25
|
+
import "./ir-CVtBjUiL.js";
|
|
26
|
+
import "./render-IRnn-2gt.js";
|
|
27
|
+
import "./target-errors-CeBF8Pws.js";
|
|
28
|
+
import "./commands-registry-CyLMCPuP.js";
|
|
29
|
+
import "./skill-commands-B55LOaMB.js";
|
|
30
|
+
import "./fetch-CeWULXBI.js";
|
|
31
|
+
import "./channel-activity-dT3cYb0e.js";
|
|
32
|
+
import "./tables-BAGqh2XD.js";
|
|
33
|
+
import "./send-EDBPXjTT.js";
|
|
34
|
+
import "./outbound-attachment-CVJwpypG.js";
|
|
35
|
+
import "./send-K2mAG7KC.js";
|
|
36
|
+
import "./fetch-C0iyt-Iz.js";
|
|
37
|
+
import "./manager-DSfEj66R.js";
|
|
38
|
+
import "./query-expansion-BErUY8P2.js";
|
|
39
|
+
export { countActiveDescendantRuns, countPendingDescendantRuns, countPendingDescendantRunsExcludingRun, isSubagentSessionRunActive, listSubagentRunsForRequester, replaceSubagentRunAfterSteer, resolveRequesterForChildSession, shouldIgnorePostCompletionAnnounceForSession };
|