openclaw-multi-auto 1.6.1 → 1.6.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/{audio-preflight-DpxQCpsA.js → audio-preflight-DoPfNXDz.js} +4 -4
- package/dist/{audio-transcription-runner-28fcRNNi.js → audio-transcription-runner-CzjuH3uL.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +6 -6
- package/dist/bundled/session-memory/handler.js +6 -6
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{chrome-DwizpzOC.js → chrome-DlhJHqj8.js} +8 -8
- package/dist/{deliver-D4o6VIur.js → deliver-CApVJA_l.js} +1 -1
- package/dist/{deliver-runtime-P-G3bPjW.js → deliver-runtime-D1z-h5eg.js} +3 -3
- package/dist/{deps-send-whatsapp.runtime-CJkTHkah.js → deps-send-whatsapp.runtime-Dz_4fi2D.js} +7 -7
- package/dist/{image-Bbn53mzj.js → image-B3Mz7N5I.js} +1 -1
- package/dist/{image-runtime-CVv2ra9J.js → image-runtime-DWjhow2W.js} +3 -3
- package/dist/llm-slug-generator.js +6 -6
- package/dist/{pi-embedded-BaGj07T0.js → pi-embedded-bcjMe3wj.js} +24 -24
- package/dist/{pi-embedded-helpers-wy0DZvx1.js → pi-embedded-helpers-D5yyGEvA.js} +3 -3
- package/dist/plugin-sdk/{accounts-C3m65--E.js → accounts-BJAXxY46.js} +2 -2
- package/dist/plugin-sdk/{accounts-CNCCkdEF.js → accounts-C1j7HSL0.js} +3 -3
- package/dist/plugin-sdk/{accounts-BslAlVYS.js → accounts-DyFCXtHv.js} +2 -2
- package/dist/plugin-sdk/{active-listener-CkPnMUkB.js → active-listener-CftX5jLD.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-BXnNsojA.js → api-key-rotation-8nyyt1kx.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-CtO4fFvp.js → audio-preflight-C_aSAPR1.js} +26 -26
- package/dist/plugin-sdk/{audio-transcription-runner-DnxvOS1-.js → audio-transcription-runner-CB53F7_7.js} +11 -11
- package/dist/plugin-sdk/{audit-membership-runtime-BpfoSk8M.js → audit-membership-runtime-BXndI4LG.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-WJYxcJ3S.js → channel-activity-C5y8AgAV.js} +3 -3
- package/dist/plugin-sdk/{channel-web-dO5k3ubM.js → channel-web-DBTRO03V.js} +18 -18
- package/dist/plugin-sdk/{chrome-CjNTuJML.js → chrome-f00sZkDX.js} +6 -6
- package/dist/plugin-sdk/{commands-registry-CdYjoI0i.js → commands-registry-BJ_NxG2F.js} +4 -4
- package/dist/plugin-sdk/{common-oYc5vPFl.js → common-Cf27Jwxu.js} +2 -2
- package/dist/plugin-sdk/compat.js +50 -50
- package/dist/plugin-sdk/{config-B1z-UxQ3.js → config-CHQrpx-Q.js} +7 -7
- package/dist/plugin-sdk/{deliver-D5_6T567.js → deliver-DNEuetST.js} +10 -10
- package/dist/plugin-sdk/deliver-runtime-BFdqklJM.js +32 -0
- package/dist/plugin-sdk/deps-send-discord.runtime-DuqpYwU0.js +23 -0
- package/dist/plugin-sdk/deps-send-imessage.runtime-CZ2rS8Lb.js +22 -0
- package/dist/plugin-sdk/deps-send-signal.runtime-BdqiWhIh.js +21 -0
- package/dist/plugin-sdk/deps-send-slack.runtime-04s36qiC.js +19 -0
- package/dist/plugin-sdk/deps-send-telegram.runtime-LE5tkPvr.js +24 -0
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-Bz57lobC.js +57 -0
- package/dist/plugin-sdk/{diagnostic-Bxxu0ig-.js → diagnostic-LYUUmjJ5.js} +2 -2
- package/dist/plugin-sdk/discord.js +6 -6
- package/dist/plugin-sdk/{errors-B3cHyZZA.js → errors-CtMWwS2Z.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-Dcgod0tg.js → fetch-guard-CxYB5Kg6.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-BaKqI3G4.js → fs-safe-DtfhxbrI.js} +3 -3
- package/dist/plugin-sdk/googlechat.js +2 -2
- package/dist/plugin-sdk/{image-B2mQW9Rb.js → image-BwjYjRHx.js} +6 -6
- package/dist/plugin-sdk/{image-ops-Cbzr4U9l.js → image-ops-BnZKcbd6.js} +2 -2
- package/dist/plugin-sdk/image-runtime-B8twoubs.js +25 -0
- package/dist/plugin-sdk/imessage.js +2 -2
- package/dist/plugin-sdk/index.js +50 -50
- package/dist/plugin-sdk/{ir-ZEmrTr4J.js → ir-Z4hX67TJ.js} +7 -7
- package/dist/plugin-sdk/{local-roots-CIPRxA-4.js → local-roots-KhjQw04O.js} +4 -4
- package/dist/plugin-sdk/{logger-CvPFVOgT.js → logger-DHIIvMxj.js} +2 -2
- package/dist/plugin-sdk/{login-CCTew9bt.js → login-C31642Ld.js} +4 -4
- package/dist/plugin-sdk/{login-qr-BI3Vi_wJ.js → login-qr--y2SG_Ue.js} +5 -5
- package/dist/plugin-sdk/{manager-BEoYPn7R.js → manager-2UZBMCc7.js} +8 -8
- package/dist/plugin-sdk/manager-runtime-CMeLwose.js +15 -0
- package/dist/plugin-sdk/mattermost.js +3 -3
- package/dist/plugin-sdk/{outbound-ByOw1K6W.js → outbound-Ba0QUI5h.js} +5 -5
- package/dist/plugin-sdk/{outbound-attachment-BzVhxRRw.js → outbound-attachment-B1Laso-8.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-sWayacde.js → path-alias-guards-C7Vm5DZ1.js} +1 -1
- package/dist/plugin-sdk/{paths-Dpg3qxcl.js → paths-DopV9PQG.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-DIxXkGJf.js → pi-embedded-helpers-DnA_OCzP.js} +16 -16
- package/dist/plugin-sdk/{pi-model-discovery-DM_2uFtj.js → pi-model-discovery-DdPqXk8f.js} +1 -1
- package/dist/plugin-sdk/pi-model-discovery-runtime-D8CJhtJY.js +8 -0
- package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-w1dqL_ty.js → pi-tools.before-tool-call.runtime-DxFHiLUE.js} +4 -4
- package/dist/plugin-sdk/{plugins-C4USiH29.js → plugins-CbCt4osF.js} +4 -4
- package/dist/plugin-sdk/{proxy-env-ET-rp8eg.js → proxy-env-C63mMdas.js} +1 -1
- package/dist/plugin-sdk/{proxy-fetch-uDXGKG3Z.js → proxy-fetch-Ch95c_Y2.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-CyOt3RDA.js → pw-ai-DpJk62D4.js} +9 -9
- package/dist/plugin-sdk/{qmd-manager-BySdoVR7.js → qmd-manager-Ca-iSfEE.js} +7 -7
- package/dist/plugin-sdk/{query-expansion-C6uS-7lj.js → query-expansion-B_Xe41Ab.js} +4 -4
- package/dist/plugin-sdk/{redact-Bvxt1T_Q.js → redact-hp9TOulW.js} +1 -1
- package/dist/plugin-sdk/{reply-CTCSeQqW.js → reply-CovBlFea.js} +73 -73
- package/dist/plugin-sdk/{resolve-outbound-target-Bw8YNANu.js → resolve-outbound-target-BbrHgyUk.js} +2 -2
- package/dist/plugin-sdk/{run-with-concurrency-C_KCHwvf.js → run-with-concurrency-BR1DXa8T.js} +1 -1
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-SkO91TZH.js +10 -0
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-B0VWK5hm.js +19 -0
- package/dist/plugin-sdk/{send-C0w6xP2x.js → send-BTztm3D2.js} +6 -6
- package/dist/plugin-sdk/{send-qPyNGSe4.js → send-BXpXBwM_.js} +13 -13
- package/dist/plugin-sdk/{send-BZ6nYFZr.js → send-BvAtLLPl.js} +5 -5
- package/dist/plugin-sdk/{send-CFf-1V89.js → send-CWJUuG0i.js} +8 -8
- package/dist/plugin-sdk/{send-CY-Qfwia.js → send-EcglC4cG.js} +7 -7
- package/dist/plugin-sdk/{session-COrvpvUQ.js → session-k256LJZT.js} +3 -3
- package/dist/plugin-sdk/{skill-commands-DZqhtmiv.js → skill-commands-DoRqLzxm.js} +4 -4
- package/dist/plugin-sdk/{skills-Cw_vXEJb.js → skills-QudILG6e.js} +6 -6
- package/dist/plugin-sdk/slack.js +2 -2
- package/dist/plugin-sdk/slash-commands.runtime-DS6vCNSL.js +13 -0
- package/dist/plugin-sdk/slash-dispatch.runtime-BXrxb2wd.js +52 -0
- package/dist/plugin-sdk/slash-skill-commands.runtime-Bd6qQ2oT.js +16 -0
- package/dist/plugin-sdk/{store-CMHj6IIw.js → store-BbDQw3g6.js} +2 -2
- package/dist/plugin-sdk/subagent-registry-runtime-1uwQbuXj.js +52 -0
- package/dist/plugin-sdk/{tables-CSqrHsKL.js → tables-BhvloMKN.js} +1 -1
- package/dist/plugin-sdk/{thinking-DOnsR_A8.js → thinking-URzkT-3p.js} +7 -7
- package/dist/plugin-sdk/{tokens-BDr0Z9o3.js → tokens-B1PW5Ayy.js} +1 -1
- package/dist/plugin-sdk/{tool-images-eEfOVkzf.js → tool-images-xpqbP6RR.js} +2 -2
- package/dist/plugin-sdk/web-B74yhL2N.js +56 -0
- package/dist/plugin-sdk/{whatsapp-actions-xcleMoMv.js → whatsapp-actions-RcZ6vp61.js} +17 -17
- package/dist/plugin-sdk/whatsapp.js +50 -50
- package/dist/{pw-ai-Cl1Lc7RC.js → pw-ai-CDQDCfUa.js} +1 -1
- package/dist/{slash-dispatch.runtime-DoBAQBU5.js → slash-dispatch.runtime-CWbpp23S.js} +6 -6
- package/dist/{subagent-registry-runtime-ppWS3tVu.js → subagent-registry-runtime-DEVpAaAP.js} +6 -6
- package/dist/{web-CzWRVmFt.js → web-NWKn8ABz.js} +6 -6
- package/package.json +1 -1
- package/scripts/create-instance.sh +11 -0
- package/dist/plugin-sdk/deliver-runtime-C5dgvvga.js +0 -32
- package/dist/plugin-sdk/deps-send-discord.runtime-Dg4N7PHJ.js +0 -23
- package/dist/plugin-sdk/deps-send-imessage.runtime-0OEwzMQm.js +0 -22
- package/dist/plugin-sdk/deps-send-signal.runtime-BM1jRt3G.js +0 -21
- package/dist/plugin-sdk/deps-send-slack.runtime-1E3BYRdF.js +0 -19
- package/dist/plugin-sdk/deps-send-telegram.runtime-DNCxIflA.js +0 -24
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-OLwr-9c8.js +0 -57
- package/dist/plugin-sdk/image-runtime-BFm45j49.js +0 -25
- package/dist/plugin-sdk/manager-runtime-DxclHQ4U.js +0 -15
- package/dist/plugin-sdk/pi-model-discovery-runtime-BuzvkvNR.js +0 -8
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-BxgRDkhc.js +0 -10
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-elOqrkfg.js +0 -19
- package/dist/plugin-sdk/slash-commands.runtime-D67JLweo.js +0 -13
- package/dist/plugin-sdk/slash-dispatch.runtime-DvcpvCJ0.js +0 -52
- package/dist/plugin-sdk/slash-skill-commands.runtime-BM1x3azR.js +0 -16
- package/dist/plugin-sdk/subagent-registry-runtime-1lbDyRzz.js +0 -52
- package/dist/plugin-sdk/web-BLyT64pW.js +0 -56
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { c as resolveAgentWorkspaceDir, r as listAgentIds, s as resolveAgentSkillsFilter } from "./run-with-concurrency-
|
|
2
|
-
import { L as logVerbose, O as createSubsystemLogger, a as CONFIG_DIR, y as resolveUserPath } from "./logger-
|
|
1
|
+
import { c as resolveAgentWorkspaceDir, r as listAgentIds, s as resolveAgentSkillsFilter } from "./run-with-concurrency-BR1DXa8T.js";
|
|
2
|
+
import { L as logVerbose, O as createSubsystemLogger, a as CONFIG_DIR, y as resolveUserPath } from "./logger-DHIIvMxj.js";
|
|
3
3
|
import { c as resolveStateDir } from "./paths-0d8fBoC4.js";
|
|
4
4
|
import { t as createAsyncLock } from "./json-files-DtF9ARSD.js";
|
|
5
|
-
import { o as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-
|
|
6
|
-
import { i as listChatCommands } from "./commands-registry-
|
|
5
|
+
import { o as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-QudILG6e.js";
|
|
6
|
+
import { i as listChatCommands } from "./commands-registry-BJ_NxG2F.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
import os from "node:os";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { E as resolveOpenClawPackageRootSync, H as normalizeSkillFilter, z as isPathInside } from "./run-with-concurrency-
|
|
2
|
-
import { $n as parseBooleanValue, J as resolveMemorySlotDecision, K as normalizePluginsConfig, U as LEGACY_MANIFEST_KEYS, W as MANIFEST_KEY, Xn as isDangerousHostEnvVarName, kn as isPathInsideWithRealpath, nr as normalizeResolvedSecretInputString, q as resolveEffectiveEnableState, z as loadPluginManifestRegistry } from "./config-
|
|
3
|
-
import { O as createSubsystemLogger, Y as resolvePreferredOpenClawTmpDir, a as CONFIG_DIR, y as resolveUserPath } from "./logger-
|
|
4
|
-
import { n as assertNoPathAliasEscape } from "./path-alias-guards-
|
|
1
|
+
import { E as resolveOpenClawPackageRootSync, H as normalizeSkillFilter, z as isPathInside } from "./run-with-concurrency-BR1DXa8T.js";
|
|
2
|
+
import { $n as parseBooleanValue, J as resolveMemorySlotDecision, K as normalizePluginsConfig, U as LEGACY_MANIFEST_KEYS, W as MANIFEST_KEY, Xn as isDangerousHostEnvVarName, kn as isPathInsideWithRealpath, nr as normalizeResolvedSecretInputString, q as resolveEffectiveEnableState, z as loadPluginManifestRegistry } from "./config-CHQrpx-Q.js";
|
|
3
|
+
import { O as createSubsystemLogger, Y as resolvePreferredOpenClawTmpDir, a as CONFIG_DIR, y as resolveUserPath } from "./logger-DHIIvMxj.js";
|
|
4
|
+
import { n as assertNoPathAliasEscape } from "./path-alias-guards-C7Vm5DZ1.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import os from "node:os";
|
|
8
|
-
import
|
|
8
|
+
import JSON5 from "json5";
|
|
9
9
|
import { URL as URL$1, fileURLToPath } from "node:url";
|
|
10
10
|
import { formatSkillsForPrompt, loadSkillsFromDir } from "@mariozechner/pi-coding-agent";
|
|
11
11
|
import YAML from "yaml";
|
|
@@ -285,7 +285,7 @@ function resolveOpenClawManifestBlock(params) {
|
|
|
285
285
|
const raw = getFrontmatterString(params.frontmatter, params.key ?? "metadata");
|
|
286
286
|
if (!raw) return;
|
|
287
287
|
try {
|
|
288
|
-
const parsed =
|
|
288
|
+
const parsed = JSON5.parse(raw);
|
|
289
289
|
if (!parsed || typeof parsed !== "object") return;
|
|
290
290
|
const manifestKeys = [MANIFEST_KEY, ...LEGACY_MANIFEST_KEYS];
|
|
291
291
|
for (const key of manifestKeys) {
|
package/dist/plugin-sdk/slack.js
CHANGED
|
@@ -4,7 +4,7 @@ import chalk, { Chalk } from "chalk";
|
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import { Logger } from "tslog";
|
|
6
6
|
import os from "node:os";
|
|
7
|
-
import
|
|
7
|
+
import JSON5 from "json5";
|
|
8
8
|
import { promisify } from "node:util";
|
|
9
9
|
import fs$1 from "node:fs/promises";
|
|
10
10
|
import { execFile, spawn } from "node:child_process";
|
|
@@ -758,7 +758,7 @@ function readLoggingConfig() {
|
|
|
758
758
|
try {
|
|
759
759
|
if (!fs.existsSync(configPath)) return;
|
|
760
760
|
const raw = fs.readFileSync(configPath, "utf-8");
|
|
761
|
-
const logging =
|
|
761
|
+
const logging = JSON5.parse(raw)?.logging;
|
|
762
762
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
763
763
|
return logging;
|
|
764
764
|
} catch {
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import "./run-with-concurrency-BR1DXa8T.js";
|
|
2
|
+
import "./config-CHQrpx-Q.js";
|
|
3
|
+
import "./logger-DHIIvMxj.js";
|
|
4
|
+
import "./paths-0d8fBoC4.js";
|
|
5
|
+
import "./accounts-C1j7HSL0.js";
|
|
6
|
+
import "./plugins-CbCt4osF.js";
|
|
7
|
+
import "./thinking-URzkT-3p.js";
|
|
8
|
+
import "./accounts-DyFCXtHv.js";
|
|
9
|
+
import "./accounts-BJAXxY46.js";
|
|
10
|
+
import "./github-copilot-token-CKKBybuX.js";
|
|
11
|
+
import { f as resolveCommandArgMenu, n as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as parseCommandArgs } from "./commands-registry-BJ_NxG2F.js";
|
|
12
|
+
|
|
13
|
+
export { buildCommandTextFromArgs, findCommandByNativeName, listNativeCommandSpecsForConfig, parseCommandArgs, resolveCommandArgMenu };
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import "./run-with-concurrency-BR1DXa8T.js";
|
|
2
|
+
import "./config-CHQrpx-Q.js";
|
|
3
|
+
import "./logger-DHIIvMxj.js";
|
|
4
|
+
import "./paths-0d8fBoC4.js";
|
|
5
|
+
import "./accounts-C1j7HSL0.js";
|
|
6
|
+
import "./plugins-CbCt4osF.js";
|
|
7
|
+
import "./thinking-URzkT-3p.js";
|
|
8
|
+
import "./accounts-DyFCXtHv.js";
|
|
9
|
+
import "./send-BTztm3D2.js";
|
|
10
|
+
import "./common-Cf27Jwxu.js";
|
|
11
|
+
import { H as finalizeInboundContext, O as resolveAgentRoute, S as dispatchReplyWithDispatcher, o as deliverSlackSlashReplies, r as recordInboundSessionMetaSafe, u as createReplyPrefixOptions } from "./reply-CovBlFea.js";
|
|
12
|
+
import "./image-ops-BnZKcbd6.js";
|
|
13
|
+
import { rn as resolveConversationLabel } from "./pi-embedded-helpers-DnA_OCzP.js";
|
|
14
|
+
import "./accounts-BJAXxY46.js";
|
|
15
|
+
import "./send-CWJUuG0i.js";
|
|
16
|
+
import "./github-copilot-token-CKKBybuX.js";
|
|
17
|
+
import "./paths-DopV9PQG.js";
|
|
18
|
+
import "./send-BXpXBwM_.js";
|
|
19
|
+
import "./tokens-B1PW5Ayy.js";
|
|
20
|
+
import "./audio-transcription-runner-CB53F7_7.js";
|
|
21
|
+
import "./image-BwjYjRHx.js";
|
|
22
|
+
import "./chrome-f00sZkDX.js";
|
|
23
|
+
import "./skills-QudILG6e.js";
|
|
24
|
+
import "./path-alias-guards-C7Vm5DZ1.js";
|
|
25
|
+
import "./redact-hp9TOulW.js";
|
|
26
|
+
import "./errors-CtMWwS2Z.js";
|
|
27
|
+
import "./fs-safe-DtfhxbrI.js";
|
|
28
|
+
import "./proxy-env-C63mMdas.js";
|
|
29
|
+
import "./store-BbDQw3g6.js";
|
|
30
|
+
import "./tool-images-xpqbP6RR.js";
|
|
31
|
+
import "./fetch-guard-CxYB5Kg6.js";
|
|
32
|
+
import "./api-key-rotation-8nyyt1kx.js";
|
|
33
|
+
import "./local-roots-KhjQw04O.js";
|
|
34
|
+
import "./proxy-fetch-Ch95c_Y2.js";
|
|
35
|
+
import "./deliver-DNEuetST.js";
|
|
36
|
+
import "./commands-registry-BJ_NxG2F.js";
|
|
37
|
+
import "./skill-commands-DoRqLzxm.js";
|
|
38
|
+
import "./fetch-O45GieZo.js";
|
|
39
|
+
import "./diagnostic-LYUUmjJ5.js";
|
|
40
|
+
import "./pi-model-discovery-DdPqXk8f.js";
|
|
41
|
+
import { m as resolveChunkMode, s as resolveMarkdownTableMode } from "./ir-Z4hX67TJ.js";
|
|
42
|
+
import "./render-95l30zcf.js";
|
|
43
|
+
import "./send-BvAtLLPl.js";
|
|
44
|
+
import "./outbound-attachment-B1Laso-8.js";
|
|
45
|
+
import "./send-EcglC4cG.js";
|
|
46
|
+
import "./channel-activity-C5y8AgAV.js";
|
|
47
|
+
import "./tables-BhvloMKN.js";
|
|
48
|
+
import "./proxy-BOZmkV9K.js";
|
|
49
|
+
import "./manager-2UZBMCc7.js";
|
|
50
|
+
import "./query-expansion-B_Xe41Ab.js";
|
|
51
|
+
|
|
52
|
+
export { createReplyPrefixOptions, deliverSlackSlashReplies, dispatchReplyWithDispatcher, finalizeInboundContext, recordInboundSessionMetaSafe, resolveAgentRoute, resolveChunkMode, resolveConversationLabel, resolveMarkdownTableMode };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import "./run-with-concurrency-BR1DXa8T.js";
|
|
2
|
+
import "./config-CHQrpx-Q.js";
|
|
3
|
+
import "./logger-DHIIvMxj.js";
|
|
4
|
+
import "./paths-0d8fBoC4.js";
|
|
5
|
+
import "./accounts-C1j7HSL0.js";
|
|
6
|
+
import "./plugins-CbCt4osF.js";
|
|
7
|
+
import "./thinking-URzkT-3p.js";
|
|
8
|
+
import "./accounts-DyFCXtHv.js";
|
|
9
|
+
import "./accounts-BJAXxY46.js";
|
|
10
|
+
import "./github-copilot-token-CKKBybuX.js";
|
|
11
|
+
import "./skills-QudILG6e.js";
|
|
12
|
+
import "./path-alias-guards-C7Vm5DZ1.js";
|
|
13
|
+
import "./commands-registry-BJ_NxG2F.js";
|
|
14
|
+
import { n as listSkillCommandsForAgents } from "./skill-commands-DoRqLzxm.js";
|
|
15
|
+
|
|
16
|
+
export { listSkillCommandsForAgents };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as resolveConfigDir } from "./logger-
|
|
2
|
-
import { c as detectMime, l as extensionForMime } from "./image-ops-
|
|
1
|
+
import { _ as resolveConfigDir } from "./logger-DHIIvMxj.js";
|
|
2
|
+
import { c as detectMime, l as extensionForMime } from "./image-ops-BnZKcbd6.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs$1 from "node:fs/promises";
|
|
5
5
|
import crypto from "node:crypto";
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import "./run-with-concurrency-BR1DXa8T.js";
|
|
2
|
+
import "./config-CHQrpx-Q.js";
|
|
3
|
+
import "./logger-DHIIvMxj.js";
|
|
4
|
+
import "./paths-0d8fBoC4.js";
|
|
5
|
+
import "./accounts-C1j7HSL0.js";
|
|
6
|
+
import "./plugins-CbCt4osF.js";
|
|
7
|
+
import "./thinking-URzkT-3p.js";
|
|
8
|
+
import "./accounts-DyFCXtHv.js";
|
|
9
|
+
import "./send-BTztm3D2.js";
|
|
10
|
+
import "./common-Cf27Jwxu.js";
|
|
11
|
+
import { F as resolveRequesterForChildSession, M as countPendingDescendantRuns, N as countPendingDescendantRunsExcludingRun, P as isSubagentSessionRunActive, j as countActiveDescendantRuns } from "./reply-CovBlFea.js";
|
|
12
|
+
import "./image-ops-BnZKcbd6.js";
|
|
13
|
+
import "./pi-embedded-helpers-DnA_OCzP.js";
|
|
14
|
+
import "./accounts-BJAXxY46.js";
|
|
15
|
+
import "./send-CWJUuG0i.js";
|
|
16
|
+
import "./github-copilot-token-CKKBybuX.js";
|
|
17
|
+
import "./paths-DopV9PQG.js";
|
|
18
|
+
import "./send-BXpXBwM_.js";
|
|
19
|
+
import "./tokens-B1PW5Ayy.js";
|
|
20
|
+
import "./audio-transcription-runner-CB53F7_7.js";
|
|
21
|
+
import "./image-BwjYjRHx.js";
|
|
22
|
+
import "./chrome-f00sZkDX.js";
|
|
23
|
+
import "./skills-QudILG6e.js";
|
|
24
|
+
import "./path-alias-guards-C7Vm5DZ1.js";
|
|
25
|
+
import "./redact-hp9TOulW.js";
|
|
26
|
+
import "./errors-CtMWwS2Z.js";
|
|
27
|
+
import "./fs-safe-DtfhxbrI.js";
|
|
28
|
+
import "./proxy-env-C63mMdas.js";
|
|
29
|
+
import "./store-BbDQw3g6.js";
|
|
30
|
+
import "./tool-images-xpqbP6RR.js";
|
|
31
|
+
import "./fetch-guard-CxYB5Kg6.js";
|
|
32
|
+
import "./api-key-rotation-8nyyt1kx.js";
|
|
33
|
+
import "./local-roots-KhjQw04O.js";
|
|
34
|
+
import "./proxy-fetch-Ch95c_Y2.js";
|
|
35
|
+
import "./deliver-DNEuetST.js";
|
|
36
|
+
import "./commands-registry-BJ_NxG2F.js";
|
|
37
|
+
import "./skill-commands-DoRqLzxm.js";
|
|
38
|
+
import "./fetch-O45GieZo.js";
|
|
39
|
+
import "./diagnostic-LYUUmjJ5.js";
|
|
40
|
+
import "./pi-model-discovery-DdPqXk8f.js";
|
|
41
|
+
import "./ir-Z4hX67TJ.js";
|
|
42
|
+
import "./render-95l30zcf.js";
|
|
43
|
+
import "./send-BvAtLLPl.js";
|
|
44
|
+
import "./outbound-attachment-B1Laso-8.js";
|
|
45
|
+
import "./send-EcglC4cG.js";
|
|
46
|
+
import "./channel-activity-C5y8AgAV.js";
|
|
47
|
+
import "./tables-BhvloMKN.js";
|
|
48
|
+
import "./proxy-BOZmkV9K.js";
|
|
49
|
+
import "./manager-2UZBMCc7.js";
|
|
50
|
+
import "./query-expansion-B_Xe41Ab.js";
|
|
51
|
+
|
|
52
|
+
export { countActiveDescendantRuns, countPendingDescendantRuns, countPendingDescendantRunsExcludingRun, isSubagentSessionRunActive, resolveRequesterForChildSession };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ot as normalizeAccountId } from "./run-with-concurrency-
|
|
2
|
-
import { ar as CHAT_CHANNEL_ORDER, mr as requireActivePluginRegistry, or as getChatChannelMeta } from "./config-
|
|
3
|
-
import { h as normalizeE164, u as escapeRegExp } from "./logger-
|
|
4
|
-
import { i as resolveWhatsAppAccount, v as resolveAccountEntry } from "./accounts-
|
|
5
|
-
import { C as normalizeWhatsAppTarget, b as resolveDiscordAccount, l as resolveTelegramAccount, m as resolveSlackReplyToMode, p as resolveSlackAccount } from "./plugins-
|
|
6
|
-
import { t as resolveIMessageAccount } from "./accounts-
|
|
7
|
-
import { n as resolveSignalAccount } from "./accounts-
|
|
1
|
+
import { ot as normalizeAccountId } from "./run-with-concurrency-BR1DXa8T.js";
|
|
2
|
+
import { ar as CHAT_CHANNEL_ORDER, mr as requireActivePluginRegistry, or as getChatChannelMeta } from "./config-CHQrpx-Q.js";
|
|
3
|
+
import { h as normalizeE164, u as escapeRegExp } from "./logger-DHIIvMxj.js";
|
|
4
|
+
import { i as resolveWhatsAppAccount, v as resolveAccountEntry } from "./accounts-C1j7HSL0.js";
|
|
5
|
+
import { C as normalizeWhatsAppTarget, b as resolveDiscordAccount, l as resolveTelegramAccount, m as resolveSlackReplyToMode, p as resolveSlackAccount } from "./plugins-CbCt4osF.js";
|
|
6
|
+
import { t as resolveIMessageAccount } from "./accounts-DyFCXtHv.js";
|
|
7
|
+
import { n as resolveSignalAccount } from "./accounts-BJAXxY46.js";
|
|
8
8
|
|
|
9
9
|
//#region src/channels/plugins/normalize/shared.ts
|
|
10
10
|
function trimMessagingTarget(raw) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { O as createSubsystemLogger } from "./logger-
|
|
2
|
-
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-
|
|
1
|
+
import { O as createSubsystemLogger } from "./logger-DHIIvMxj.js";
|
|
2
|
+
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-BnZKcbd6.js";
|
|
3
3
|
|
|
4
4
|
//#region src/media/base64.ts
|
|
5
5
|
function estimateBase64DecodedBytes(base64) {
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import "./run-with-concurrency-BR1DXa8T.js";
|
|
2
|
+
import "./config-CHQrpx-Q.js";
|
|
3
|
+
import "./logger-DHIIvMxj.js";
|
|
4
|
+
import "./paths-0d8fBoC4.js";
|
|
5
|
+
import { _ as webAuthExists, c as logWebSelfId, d as pickWebChannel, o as WA_WEB_AUTH_DIR } from "./accounts-C1j7HSL0.js";
|
|
6
|
+
import "./plugins-CbCt4osF.js";
|
|
7
|
+
import "./thinking-URzkT-3p.js";
|
|
8
|
+
import "./accounts-DyFCXtHv.js";
|
|
9
|
+
import "./send-BTztm3D2.js";
|
|
10
|
+
import "./common-Cf27Jwxu.js";
|
|
11
|
+
import "./reply-CovBlFea.js";
|
|
12
|
+
import "./image-ops-BnZKcbd6.js";
|
|
13
|
+
import "./pi-embedded-helpers-DnA_OCzP.js";
|
|
14
|
+
import "./accounts-BJAXxY46.js";
|
|
15
|
+
import "./send-CWJUuG0i.js";
|
|
16
|
+
import "./github-copilot-token-CKKBybuX.js";
|
|
17
|
+
import "./paths-DopV9PQG.js";
|
|
18
|
+
import "./send-BXpXBwM_.js";
|
|
19
|
+
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-DBTRO03V.js";
|
|
20
|
+
import "./tokens-B1PW5Ayy.js";
|
|
21
|
+
import "./audio-transcription-runner-CB53F7_7.js";
|
|
22
|
+
import "./image-BwjYjRHx.js";
|
|
23
|
+
import "./chrome-f00sZkDX.js";
|
|
24
|
+
import "./skills-QudILG6e.js";
|
|
25
|
+
import "./path-alias-guards-C7Vm5DZ1.js";
|
|
26
|
+
import "./redact-hp9TOulW.js";
|
|
27
|
+
import "./errors-CtMWwS2Z.js";
|
|
28
|
+
import "./fs-safe-DtfhxbrI.js";
|
|
29
|
+
import "./proxy-env-C63mMdas.js";
|
|
30
|
+
import "./store-BbDQw3g6.js";
|
|
31
|
+
import "./tool-images-xpqbP6RR.js";
|
|
32
|
+
import "./fetch-guard-CxYB5Kg6.js";
|
|
33
|
+
import "./api-key-rotation-8nyyt1kx.js";
|
|
34
|
+
import "./local-roots-KhjQw04O.js";
|
|
35
|
+
import "./proxy-fetch-Ch95c_Y2.js";
|
|
36
|
+
import "./deliver-DNEuetST.js";
|
|
37
|
+
import "./commands-registry-BJ_NxG2F.js";
|
|
38
|
+
import "./skill-commands-DoRqLzxm.js";
|
|
39
|
+
import "./fetch-O45GieZo.js";
|
|
40
|
+
import "./diagnostic-LYUUmjJ5.js";
|
|
41
|
+
import "./pi-model-discovery-DdPqXk8f.js";
|
|
42
|
+
import "./ir-Z4hX67TJ.js";
|
|
43
|
+
import "./render-95l30zcf.js";
|
|
44
|
+
import "./send-BvAtLLPl.js";
|
|
45
|
+
import "./outbound-attachment-B1Laso-8.js";
|
|
46
|
+
import "./send-EcglC4cG.js";
|
|
47
|
+
import "./channel-activity-C5y8AgAV.js";
|
|
48
|
+
import "./tables-BhvloMKN.js";
|
|
49
|
+
import "./proxy-BOZmkV9K.js";
|
|
50
|
+
import "./manager-2UZBMCc7.js";
|
|
51
|
+
import "./query-expansion-B_Xe41Ab.js";
|
|
52
|
+
import { t as sendMessageWhatsApp } from "./outbound-Ba0QUI5h.js";
|
|
53
|
+
import { i as waitForWaConnection, t as createWaSocket } from "./session-k256LJZT.js";
|
|
54
|
+
import { t as loginWeb } from "./login-C31642Ld.js";
|
|
55
|
+
|
|
56
|
+
export { WA_WEB_AUTH_DIR, createWaSocket, logWebSelfId, loginWeb, monitorWebChannel, monitorWebInbox, pickWebChannel, sendMessageWhatsApp, waitForWaConnection, webAuthExists };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import "./run-with-concurrency-
|
|
2
|
-
import "./config-
|
|
3
|
-
import "./logger-
|
|
1
|
+
import "./run-with-concurrency-BR1DXa8T.js";
|
|
2
|
+
import "./config-CHQrpx-Q.js";
|
|
3
|
+
import "./logger-DHIIvMxj.js";
|
|
4
4
|
import "./paths-0d8fBoC4.js";
|
|
5
|
-
import { i as resolveWhatsAppAccount } from "./accounts-
|
|
6
|
-
import "./plugins-
|
|
7
|
-
import { f as readStringParam, l as readReactionParams, o as jsonResult, r as createActionGate, t as ToolAuthorizationError } from "./common-
|
|
8
|
-
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-
|
|
9
|
-
import "./image-ops-
|
|
5
|
+
import { i as resolveWhatsAppAccount } from "./accounts-C1j7HSL0.js";
|
|
6
|
+
import "./plugins-CbCt4osF.js";
|
|
7
|
+
import { f as readStringParam, l as readReactionParams, o as jsonResult, r as createActionGate, t as ToolAuthorizationError } from "./common-Cf27Jwxu.js";
|
|
8
|
+
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-BbrHgyUk.js";
|
|
9
|
+
import "./image-ops-BnZKcbd6.js";
|
|
10
10
|
import "./github-copilot-token-CKKBybuX.js";
|
|
11
|
-
import "./path-alias-guards-
|
|
12
|
-
import "./fs-safe-
|
|
13
|
-
import "./proxy-env-
|
|
14
|
-
import "./tool-images-
|
|
15
|
-
import "./fetch-guard-
|
|
16
|
-
import "./local-roots-
|
|
17
|
-
import "./ir-
|
|
11
|
+
import "./path-alias-guards-C7Vm5DZ1.js";
|
|
12
|
+
import "./fs-safe-DtfhxbrI.js";
|
|
13
|
+
import "./proxy-env-C63mMdas.js";
|
|
14
|
+
import "./tool-images-xpqbP6RR.js";
|
|
15
|
+
import "./fetch-guard-CxYB5Kg6.js";
|
|
16
|
+
import "./local-roots-KhjQw04O.js";
|
|
17
|
+
import "./ir-Z4hX67TJ.js";
|
|
18
18
|
import "./render-95l30zcf.js";
|
|
19
|
-
import "./tables-
|
|
20
|
-
import { r as sendReactionWhatsApp } from "./outbound-
|
|
19
|
+
import "./tables-BhvloMKN.js";
|
|
20
|
+
import { r as sendReactionWhatsApp } from "./outbound-Ba0QUI5h.js";
|
|
21
21
|
|
|
22
22
|
//#region src/agents/tools/whatsapp-target-auth.ts
|
|
23
23
|
function resolveAuthorizedWhatsAppOutboundTarget(params) {
|
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
import { at as DEFAULT_ACCOUNT_ID, ot as normalizeAccountId } from "./run-with-concurrency-
|
|
2
|
-
import { Tr as formatCliCommand, c as WhatsAppConfigSchema, or as getChatChannelMeta } from "./config-
|
|
3
|
-
import { f as isRecord, g as pathExists, h as normalizeE164 } from "./logger-
|
|
1
|
+
import { at as DEFAULT_ACCOUNT_ID, ot as normalizeAccountId } from "./run-with-concurrency-BR1DXa8T.js";
|
|
2
|
+
import { Tr as formatCliCommand, c as WhatsAppConfigSchema, or as getChatChannelMeta } from "./config-CHQrpx-Q.js";
|
|
3
|
+
import { f as isRecord, g as pathExists, h as normalizeE164 } from "./logger-DHIIvMxj.js";
|
|
4
4
|
import "./paths-0d8fBoC4.js";
|
|
5
|
-
import { a as resolveWhatsAppAuthDir, i as resolveWhatsAppAccount, n as listWhatsAppAccountIds, r as resolveDefaultWhatsAppAccountId } from "./accounts-
|
|
6
|
-
import { a as listWhatsAppDirectoryPeersFromConfig, i as listWhatsAppDirectoryGroupsFromConfig } from "./plugins-
|
|
7
|
-
import { D as resolveWhatsAppConfigDefaultTo, E as resolveWhatsAppConfigAllowFrom, O as looksLikeWhatsAppTargetId, T as formatWhatsAppConfigAllowFromEntries, _ as resolveWhatsAppGroupToolPolicy, g as resolveWhatsAppGroupRequireMention, h as resolveWhatsAppMentionStripPatterns, k as normalizeWhatsAppMessagingTarget, m as resolveWhatsAppGroupIntroHint } from "./thinking-
|
|
8
|
-
import "./accounts-
|
|
9
|
-
import "./send-
|
|
10
|
-
import { f as readStringParam, r as createActionGate } from "./common-
|
|
11
|
-
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-
|
|
12
|
-
import { U as resolveAllowlistProviderRuntimeGroupPolicy, W as resolveDefaultGroupPolicy, n as formatDocsLink } from "./reply-
|
|
13
|
-
import "./image-ops-
|
|
14
|
-
import "./pi-embedded-helpers-
|
|
15
|
-
import "./accounts-
|
|
16
|
-
import "./send-
|
|
5
|
+
import { a as resolveWhatsAppAuthDir, i as resolveWhatsAppAccount, n as listWhatsAppAccountIds, r as resolveDefaultWhatsAppAccountId } from "./accounts-C1j7HSL0.js";
|
|
6
|
+
import { a as listWhatsAppDirectoryPeersFromConfig, i as listWhatsAppDirectoryGroupsFromConfig } from "./plugins-CbCt4osF.js";
|
|
7
|
+
import { D as resolveWhatsAppConfigDefaultTo, E as resolveWhatsAppConfigAllowFrom, O as looksLikeWhatsAppTargetId, T as formatWhatsAppConfigAllowFromEntries, _ as resolveWhatsAppGroupToolPolicy, g as resolveWhatsAppGroupRequireMention, h as resolveWhatsAppMentionStripPatterns, k as normalizeWhatsAppMessagingTarget, m as resolveWhatsAppGroupIntroHint } from "./thinking-URzkT-3p.js";
|
|
8
|
+
import "./accounts-DyFCXtHv.js";
|
|
9
|
+
import "./send-BTztm3D2.js";
|
|
10
|
+
import { f as readStringParam, r as createActionGate } from "./common-Cf27Jwxu.js";
|
|
11
|
+
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-BbrHgyUk.js";
|
|
12
|
+
import { U as resolveAllowlistProviderRuntimeGroupPolicy, W as resolveDefaultGroupPolicy, n as formatDocsLink } from "./reply-CovBlFea.js";
|
|
13
|
+
import "./image-ops-BnZKcbd6.js";
|
|
14
|
+
import "./pi-embedded-helpers-DnA_OCzP.js";
|
|
15
|
+
import "./accounts-BJAXxY46.js";
|
|
16
|
+
import "./send-CWJUuG0i.js";
|
|
17
17
|
import "./github-copilot-token-CKKBybuX.js";
|
|
18
|
-
import "./paths-
|
|
19
|
-
import "./send-
|
|
20
|
-
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-
|
|
21
|
-
import "./tokens-
|
|
22
|
-
import "./audio-transcription-runner-
|
|
23
|
-
import "./image-
|
|
24
|
-
import "./chrome-
|
|
25
|
-
import "./skills-
|
|
26
|
-
import "./path-alias-guards-
|
|
27
|
-
import "./redact-
|
|
28
|
-
import "./errors-
|
|
29
|
-
import "./fs-safe-
|
|
30
|
-
import "./proxy-env-
|
|
31
|
-
import "./store-
|
|
32
|
-
import "./tool-images-
|
|
33
|
-
import "./fetch-guard-
|
|
34
|
-
import "./api-key-rotation-
|
|
35
|
-
import "./local-roots-
|
|
36
|
-
import "./proxy-fetch-
|
|
37
|
-
import "./deliver-
|
|
38
|
-
import "./commands-registry-
|
|
39
|
-
import "./skill-commands-
|
|
18
|
+
import "./paths-DopV9PQG.js";
|
|
19
|
+
import "./send-BXpXBwM_.js";
|
|
20
|
+
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-DBTRO03V.js";
|
|
21
|
+
import "./tokens-B1PW5Ayy.js";
|
|
22
|
+
import "./audio-transcription-runner-CB53F7_7.js";
|
|
23
|
+
import "./image-BwjYjRHx.js";
|
|
24
|
+
import "./chrome-f00sZkDX.js";
|
|
25
|
+
import "./skills-QudILG6e.js";
|
|
26
|
+
import "./path-alias-guards-C7Vm5DZ1.js";
|
|
27
|
+
import "./redact-hp9TOulW.js";
|
|
28
|
+
import "./errors-CtMWwS2Z.js";
|
|
29
|
+
import "./fs-safe-DtfhxbrI.js";
|
|
30
|
+
import "./proxy-env-C63mMdas.js";
|
|
31
|
+
import "./store-BbDQw3g6.js";
|
|
32
|
+
import "./tool-images-xpqbP6RR.js";
|
|
33
|
+
import "./fetch-guard-CxYB5Kg6.js";
|
|
34
|
+
import "./api-key-rotation-8nyyt1kx.js";
|
|
35
|
+
import "./local-roots-KhjQw04O.js";
|
|
36
|
+
import "./proxy-fetch-Ch95c_Y2.js";
|
|
37
|
+
import "./deliver-DNEuetST.js";
|
|
38
|
+
import "./commands-registry-BJ_NxG2F.js";
|
|
39
|
+
import "./skill-commands-DoRqLzxm.js";
|
|
40
40
|
import "./fetch-O45GieZo.js";
|
|
41
|
-
import "./diagnostic-
|
|
42
|
-
import "./pi-model-discovery-
|
|
43
|
-
import "./ir-
|
|
41
|
+
import "./diagnostic-LYUUmjJ5.js";
|
|
42
|
+
import "./pi-model-discovery-DdPqXk8f.js";
|
|
43
|
+
import "./ir-Z4hX67TJ.js";
|
|
44
44
|
import "./render-95l30zcf.js";
|
|
45
|
-
import "./send-
|
|
46
|
-
import "./outbound-attachment-
|
|
47
|
-
import "./send-
|
|
48
|
-
import "./channel-activity-
|
|
49
|
-
import "./tables-
|
|
45
|
+
import "./send-BvAtLLPl.js";
|
|
46
|
+
import "./outbound-attachment-B1Laso-8.js";
|
|
47
|
+
import "./send-EcglC4cG.js";
|
|
48
|
+
import "./channel-activity-C5y8AgAV.js";
|
|
49
|
+
import "./tables-BhvloMKN.js";
|
|
50
50
|
import "./proxy-BOZmkV9K.js";
|
|
51
|
-
import "./manager-
|
|
52
|
-
import "./query-expansion-
|
|
53
|
-
import "./outbound-
|
|
54
|
-
import "./session-
|
|
55
|
-
import { t as loginWeb } from "./login-
|
|
51
|
+
import "./manager-2UZBMCc7.js";
|
|
52
|
+
import "./query-expansion-B_Xe41Ab.js";
|
|
53
|
+
import "./outbound-Ba0QUI5h.js";
|
|
54
|
+
import "./session-k256LJZT.js";
|
|
55
|
+
import { t as loginWeb } from "./login-C31642Ld.js";
|
|
56
56
|
import path from "node:path";
|
|
57
57
|
|
|
58
58
|
//#region src/plugins/config-schema.ts
|
|
@@ -6,7 +6,7 @@ import "./logger-DMZQQtxK.js";
|
|
|
6
6
|
import { lr as formatCliCommand } from "./model-selection-idoqPmw0.js";
|
|
7
7
|
import "./github-copilot-token-D13V9YBz.js";
|
|
8
8
|
import "./legacy-names-TyzbVqa_.js";
|
|
9
|
-
import { F as resolveStrictExistingPathsWithinRoot, L as DEFAULT_FILL_FIELD_TYPE, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, S as withCdpSocket, _ as withBrowserNavigationPolicy, d as formatAriaSnapshot, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, k as withNoProxyForCdpUrl, t as getChromeWebSocketUrl, v as appendCdpPath, x as getHeadersWithAuth, y as fetchJson } from "./chrome-
|
|
9
|
+
import { F as resolveStrictExistingPathsWithinRoot, L as DEFAULT_FILL_FIELD_TYPE, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, S as withCdpSocket, _ as withBrowserNavigationPolicy, d as formatAriaSnapshot, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, k as withNoProxyForCdpUrl, t as getChromeWebSocketUrl, v as appendCdpPath, x as getHeadersWithAuth, y as fetchJson } from "./chrome-DlhJHqj8.js";
|
|
10
10
|
import "./path-alias-guards-DqXRZmsL.js";
|
|
11
11
|
import "./redact-ClbcYG1J.js";
|
|
12
12
|
import { r as formatErrorMessage } from "./errors-CCLeFWAg.js";
|
|
@@ -8,19 +8,19 @@ import "./github-copilot-token-D13V9YBz.js";
|
|
|
8
8
|
import "./legacy-names-TyzbVqa_.js";
|
|
9
9
|
import "./thinking-DXYisHiZ.js";
|
|
10
10
|
import "./tokens-DxnY9ui_.js";
|
|
11
|
-
import { I as finalizeInboundContext, S as dispatchReplyWithDispatcher, k as resolveAgentRoute, n as recordInboundSessionMetaSafe, r as deliverSlackSlashReplies, s as createReplyPrefixOptions } from "./pi-embedded-
|
|
11
|
+
import { I as finalizeInboundContext, S as dispatchReplyWithDispatcher, k as resolveAgentRoute, n as recordInboundSessionMetaSafe, r as deliverSlackSlashReplies, s as createReplyPrefixOptions } from "./pi-embedded-bcjMe3wj.js";
|
|
12
12
|
import "./plugins-CWkRQYDj.js";
|
|
13
13
|
import "./accounts-yfBeCZtS.js";
|
|
14
14
|
import "./send-Dx2RkUOZ.js";
|
|
15
15
|
import "./send-DcxmcFi_.js";
|
|
16
|
-
import "./deliver-
|
|
16
|
+
import "./deliver-CApVJA_l.js";
|
|
17
17
|
import "./diagnostic-Bn4PZjMZ.js";
|
|
18
18
|
import "./accounts-L9ByEpnP.js";
|
|
19
19
|
import "./image-ops-CehkHxmW.js";
|
|
20
20
|
import "./send-vmONuVgL.js";
|
|
21
21
|
import "./pi-model-discovery-BGgOlX8N.js";
|
|
22
|
-
import { kt as resolveConversationLabel } from "./pi-embedded-helpers-
|
|
23
|
-
import "./chrome-
|
|
22
|
+
import { kt as resolveConversationLabel } from "./pi-embedded-helpers-D5yyGEvA.js";
|
|
23
|
+
import "./chrome-DlhJHqj8.js";
|
|
24
24
|
import "./frontmatter-CvaMP376.js";
|
|
25
25
|
import "./skills-CE_iqvM5.js";
|
|
26
26
|
import "./path-alias-guards-DqXRZmsL.js";
|
|
@@ -32,8 +32,8 @@ import "./store--eR1R_UX.js";
|
|
|
32
32
|
import "./accounts-BOzyfwW4.js";
|
|
33
33
|
import "./paths-CCxysrzL.js";
|
|
34
34
|
import "./tool-images-2cBx1W8h.js";
|
|
35
|
-
import "./image-
|
|
36
|
-
import "./audio-transcription-runner-
|
|
35
|
+
import "./image-B3Mz7N5I.js";
|
|
36
|
+
import "./audio-transcription-runner-CzjuH3uL.js";
|
|
37
37
|
import "./fetch-BlJWzEP6.js";
|
|
38
38
|
import "./fetch-guard-ChYBwfiy.js";
|
|
39
39
|
import "./api-key-rotation-DtsNS2Nb.js";
|
package/dist/{subagent-registry-runtime-ppWS3tVu.js → subagent-registry-runtime-DEVpAaAP.js}
RENAMED
|
@@ -8,19 +8,19 @@ import "./github-copilot-token-D13V9YBz.js";
|
|
|
8
8
|
import "./legacy-names-TyzbVqa_.js";
|
|
9
9
|
import "./thinking-DXYisHiZ.js";
|
|
10
10
|
import "./tokens-DxnY9ui_.js";
|
|
11
|
-
import { G as resolveRequesterForChildSession, H as countPendingDescendantRuns, U as countPendingDescendantRunsExcludingRun, V as countActiveDescendantRuns, W as isSubagentSessionRunActive } from "./pi-embedded-
|
|
11
|
+
import { G as resolveRequesterForChildSession, H as countPendingDescendantRuns, U as countPendingDescendantRunsExcludingRun, V as countActiveDescendantRuns, W as isSubagentSessionRunActive } from "./pi-embedded-bcjMe3wj.js";
|
|
12
12
|
import "./plugins-CWkRQYDj.js";
|
|
13
13
|
import "./accounts-yfBeCZtS.js";
|
|
14
14
|
import "./send-Dx2RkUOZ.js";
|
|
15
15
|
import "./send-DcxmcFi_.js";
|
|
16
|
-
import "./deliver-
|
|
16
|
+
import "./deliver-CApVJA_l.js";
|
|
17
17
|
import "./diagnostic-Bn4PZjMZ.js";
|
|
18
18
|
import "./accounts-L9ByEpnP.js";
|
|
19
19
|
import "./image-ops-CehkHxmW.js";
|
|
20
20
|
import "./send-vmONuVgL.js";
|
|
21
21
|
import "./pi-model-discovery-BGgOlX8N.js";
|
|
22
|
-
import "./pi-embedded-helpers-
|
|
23
|
-
import "./chrome-
|
|
22
|
+
import "./pi-embedded-helpers-D5yyGEvA.js";
|
|
23
|
+
import "./chrome-DlhJHqj8.js";
|
|
24
24
|
import "./frontmatter-CvaMP376.js";
|
|
25
25
|
import "./skills-CE_iqvM5.js";
|
|
26
26
|
import "./path-alias-guards-DqXRZmsL.js";
|
|
@@ -32,8 +32,8 @@ import "./store--eR1R_UX.js";
|
|
|
32
32
|
import "./accounts-BOzyfwW4.js";
|
|
33
33
|
import "./paths-CCxysrzL.js";
|
|
34
34
|
import "./tool-images-2cBx1W8h.js";
|
|
35
|
-
import "./image-
|
|
36
|
-
import "./audio-transcription-runner-
|
|
35
|
+
import "./image-B3Mz7N5I.js";
|
|
36
|
+
import "./audio-transcription-runner-CzjuH3uL.js";
|
|
37
37
|
import "./fetch-BlJWzEP6.js";
|
|
38
38
|
import "./fetch-guard-ChYBwfiy.js";
|
|
39
39
|
import "./api-key-rotation-DtsNS2Nb.js";
|
|
@@ -8,19 +8,19 @@ import "./github-copilot-token-D13V9YBz.js";
|
|
|
8
8
|
import "./legacy-names-TyzbVqa_.js";
|
|
9
9
|
import { h as resolveChannelGroupRequireMention, m as resolveChannelGroupPolicy } from "./thinking-DXYisHiZ.js";
|
|
10
10
|
import "./tokens-DxnY9ui_.js";
|
|
11
|
-
import { A as normalizeGroupActivation, B as normalizeMentionText, C as createInboundDebouncer, D as getReplyFromConfig, E as createDedupeCache, F as enqueueSystemEvent, I as finalizeInboundContext, K as resolveIdentityNamePrefix, L as hasControlCommand, M as computeBackoff, N as sleepWithAbort, O as buildAgentSessionKey, P as formatDurationPrecise, R as shouldComputeCommandAuthorized, T as formatInboundEnvelope, _ as resolveDmGroupAccessWithCommandGate, b as shouldAckReactionForWhatsApp, c as buildPairingReply, d as buildHistoryContextFromEntries, f as recordPendingHistoryEntryIfEnabled, g as readStoreAllowFromForDmPolicy, h as warnMissingProviderGroupPolicyFallbackOnce, i as resolveInboundSessionEnvelopeContext, j as parseActivationCommand, k as resolveAgentRoute, l as resolveMentionGating, m as resolveOpenProviderRuntimeGroupPolicy, p as resolveDefaultGroupPolicy, q as resolveMessagePrefix, s as createReplyPrefixOptions, u as DEFAULT_GROUP_HISTORY_LIMIT, v as resolveDmGroupAccessWithLists, w as resolveInboundDebounceMs, x as dispatchReplyWithBufferedBlockDispatcher, y as resolvePinnedMainDmOwnerFromAllowlist, z as buildMentionRegexes } from "./pi-embedded-
|
|
11
|
+
import { A as normalizeGroupActivation, B as normalizeMentionText, C as createInboundDebouncer, D as getReplyFromConfig, E as createDedupeCache, F as enqueueSystemEvent, I as finalizeInboundContext, K as resolveIdentityNamePrefix, L as hasControlCommand, M as computeBackoff, N as sleepWithAbort, O as buildAgentSessionKey, P as formatDurationPrecise, R as shouldComputeCommandAuthorized, T as formatInboundEnvelope, _ as resolveDmGroupAccessWithCommandGate, b as shouldAckReactionForWhatsApp, c as buildPairingReply, d as buildHistoryContextFromEntries, f as recordPendingHistoryEntryIfEnabled, g as readStoreAllowFromForDmPolicy, h as warnMissingProviderGroupPolicyFallbackOnce, i as resolveInboundSessionEnvelopeContext, j as parseActivationCommand, k as resolveAgentRoute, l as resolveMentionGating, m as resolveOpenProviderRuntimeGroupPolicy, p as resolveDefaultGroupPolicy, q as resolveMessagePrefix, s as createReplyPrefixOptions, u as DEFAULT_GROUP_HISTORY_LIMIT, v as resolveDmGroupAccessWithLists, w as resolveInboundDebounceMs, x as dispatchReplyWithBufferedBlockDispatcher, y as resolvePinnedMainDmOwnerFromAllowlist, z as buildMentionRegexes } from "./pi-embedded-bcjMe3wj.js";
|
|
12
12
|
import "./plugins-CWkRQYDj.js";
|
|
13
13
|
import { a as logWebSelfId, c as pickWebChannel, i as getWebAuthAgeMs, m as webAuthExists, n as resolveWhatsAppAccount, r as WA_WEB_AUTH_DIR, u as readWebSelfId } from "./accounts-yfBeCZtS.js";
|
|
14
14
|
import "./send-Dx2RkUOZ.js";
|
|
15
15
|
import "./send-DcxmcFi_.js";
|
|
16
|
-
import "./deliver-
|
|
16
|
+
import "./deliver-CApVJA_l.js";
|
|
17
17
|
import "./diagnostic-Bn4PZjMZ.js";
|
|
18
18
|
import "./accounts-L9ByEpnP.js";
|
|
19
19
|
import "./image-ops-CehkHxmW.js";
|
|
20
20
|
import { X as toLocationContext, Y as formatLocationText, et as upsertChannelPairingRequest } from "./send-vmONuVgL.js";
|
|
21
21
|
import "./pi-model-discovery-BGgOlX8N.js";
|
|
22
|
-
import { At as resolveGroupSessionKey, K as recordSessionMetaFromInbound, W as loadSessionStore, q as updateLastRoute } from "./pi-embedded-helpers-
|
|
23
|
-
import "./chrome-
|
|
22
|
+
import { At as resolveGroupSessionKey, K as recordSessionMetaFromInbound, W as loadSessionStore, q as updateLastRoute } from "./pi-embedded-helpers-D5yyGEvA.js";
|
|
23
|
+
import "./chrome-DlhJHqj8.js";
|
|
24
24
|
import "./frontmatter-CvaMP376.js";
|
|
25
25
|
import "./skills-CE_iqvM5.js";
|
|
26
26
|
import "./path-alias-guards-DqXRZmsL.js";
|
|
@@ -32,8 +32,8 @@ import { i as saveMediaBuffer } from "./store--eR1R_UX.js";
|
|
|
32
32
|
import "./accounts-BOzyfwW4.js";
|
|
33
33
|
import { s as resolveStorePath } from "./paths-CCxysrzL.js";
|
|
34
34
|
import "./tool-images-2cBx1W8h.js";
|
|
35
|
-
import "./image-
|
|
36
|
-
import { h as registerUnhandledRejectionHandler } from "./audio-transcription-runner-
|
|
35
|
+
import "./image-B3Mz7N5I.js";
|
|
36
|
+
import { h as registerUnhandledRejectionHandler } from "./audio-transcription-runner-CzjuH3uL.js";
|
|
37
37
|
import { i as getAgentScopedMediaLocalRoots } from "./fetch-BlJWzEP6.js";
|
|
38
38
|
import "./fetch-guard-ChYBwfiy.js";
|
|
39
39
|
import "./api-key-rotation-DtsNS2Nb.js";
|
package/package.json
CHANGED
|
@@ -118,6 +118,17 @@ fi
|
|
|
118
118
|
cp "${SOURCE_CODE}/package.json" "${INSTANCE_DIR}/package.json"
|
|
119
119
|
[ -f "${SOURCE_CODE}/pnpm-lock.yaml" ] && cp "${SOURCE_CODE}/pnpm-lock.yaml" "${INSTANCE_DIR}/pnpm-lock.yaml"
|
|
120
120
|
|
|
121
|
+
# 复制 extensions 目录到实例的 .openclaw 目录(包含 page-action-cache, feishu 等)
|
|
122
|
+
# 多实例架构:每个实例完全隔离,扩展在 ~/.openclaws/<实例>/.openclaw/extensions
|
|
123
|
+
INSTANCE_OPENCLAW_DIR="${INSTANCE_DIR}/.openclaw"
|
|
124
|
+
if [ -d "${SOURCE_CODE}/extensions" ]; then
|
|
125
|
+
echo -e "${YELLOW}📁 复制 extensions 目录到实例 .openclaw 目录...${NC}"
|
|
126
|
+
mkdir -p "$INSTANCE_OPENCLAW_DIR"
|
|
127
|
+
cp -r "${SOURCE_CODE}/extensions/" "${INSTANCE_OPENCLAW_DIR}/"
|
|
128
|
+
echo -e "${GREEN}✅ extensions 目录复制完成${NC}"
|
|
129
|
+
echo -e "${BLUE}📂 实例扩展目录: ${INSTANCE_OPENCLAW_DIR}${NC}"
|
|
130
|
+
fi
|
|
131
|
+
|
|
121
132
|
# 复制 control-ui(如果存在)
|
|
122
133
|
if [ -d "${SOURCE_CODE}/dist/control-ui" ]; then
|
|
123
134
|
cp -r "${SOURCE_CODE}/dist/control-ui" "${INSTANCE_DIR}/dist/"
|