dsh-multigameassistant 2.0.2 → 2.0.3
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/cordis.patch.yml +1 -1
- package/lib/analyzer.js +2 -2
- package/lib/{chunk-I5AFAEXG.js → chunk-AWZ4O7BY.js} +2 -2
- package/lib/{chunk-ZR74PFWR.js → chunk-C6HSCWNE.js} +5 -3
- package/lib/{chunk-QAP7IYBS.js → chunk-IH3K4QPN.js} +27 -1
- package/lib/{chunk-NWM5ZN7E.js → chunk-OQZ2XZVP.js} +1 -1
- package/lib/{chunk-OPV336S5.js → chunk-ZXD4IYZP.js} +106 -5
- package/lib/emulator.js +1 -1
- package/lib/feishu.js +3 -3
- package/lib/game-intel.js +4 -4
- package/lib/gateway.js +2 -2
- package/lib/guard.js +1 -1
- package/lib/intervene.js +3 -3
- package/lib/monitor.js +3 -3
- package/lib/notify.js +3 -3
- package/lib/orchestrator.js +5 -5
- package/lib/qqbot.js +3 -3
- package/lib/runner.js +3 -3
- package/lib/scheduler.js +1 -1
- package/lib/script-registry.js +72 -14
- package/package.json +1 -1
- package/web/assets/index-BVPmzXp6.js +241 -0
- package/web/assets/index-BVPmzXp6.js.map +1 -0
- package/web/assets/{index-BodAAefM.css → index-Dwlpk_7H.css} +1 -1
- package/web/index.html +2 -2
- package/web/assets/index-9SCfW_a1.js +0 -241
- package/web/assets/index-9SCfW_a1.js.map +0 -1
package/cordis.patch.yml
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# dsh-multigameassistant 2.0.
|
|
1
|
+
# dsh-multigameassistant 2.0.3
|
|
2
2
|
# dsh-multigameassistant: the app's plugins (packages/bundle/cordis.patch.yml, each @adg/<plugin> as dsh-multigameassistant/<plugin>)
|
|
3
3
|
# sharing the dsh with the person's other chats, and the app's agent preset (dsh's standard one with the app's
|
|
4
4
|
# tools and prompts, and compaction as 设置 → 对话压缩 says). No row of dsh is restated.
|
package/lib/analyzer.js
CHANGED
|
@@ -7,12 +7,12 @@ import {
|
|
|
7
7
|
SKILL_FILE,
|
|
8
8
|
parseManifest,
|
|
9
9
|
require_dist
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-OQZ2XZVP.js";
|
|
11
11
|
import {
|
|
12
12
|
PACKS_CAPABILITY,
|
|
13
13
|
ScriptId,
|
|
14
14
|
external_exports
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-IH3K4QPN.js";
|
|
16
16
|
import {
|
|
17
17
|
__toESM
|
|
18
18
|
} from "./chunk-2UFLGPDY.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __adgCreateRequire } from 'node:module'; import { dirname as __adgDirname } from 'node:path'; import { fileURLToPath as __adgFileURLToPath } from 'node:url'; const require = __adgCreateRequire(import.meta.url); const __filename = __adgFileURLToPath(import.meta.url); const __dirname = __adgDirname(__filename);
|
|
2
2
|
import {
|
|
3
3
|
convertRecord
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZXD4IYZP.js";
|
|
5
5
|
import {
|
|
6
6
|
writeFileAtomic
|
|
7
7
|
} from "./chunk-CCAB6XXZ.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
threadMessage,
|
|
22
22
|
threadReminder,
|
|
23
23
|
threadsBetween
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-IH3K4QPN.js";
|
|
25
25
|
|
|
26
26
|
// packages/notify/lib/index.js
|
|
27
27
|
import { readFile } from "node:fs/promises";
|
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
globToRegExp,
|
|
4
4
|
renderTask,
|
|
5
5
|
require_dist
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OQZ2XZVP.js";
|
|
7
7
|
import {
|
|
8
8
|
RUNS_CAPABILITY,
|
|
9
9
|
ScriptId,
|
|
10
10
|
external_exports
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-IH3K4QPN.js";
|
|
12
12
|
import {
|
|
13
13
|
__toESM
|
|
14
14
|
} from "./chunk-2UFLGPDY.js";
|
|
@@ -1698,7 +1698,9 @@ var Runner = class {
|
|
|
1698
1698
|
this.#line(run, "adg", `\u5DF2\u66F4\u65B0\u5230 ${result.version}`);
|
|
1699
1699
|
else if (result.state === "current")
|
|
1700
1700
|
this.#line(run, "adg", "\u5DF2\u662F\u6700\u65B0\u7248\u672C");
|
|
1701
|
-
else if (result.state === "
|
|
1701
|
+
else if (result.state === "available") {
|
|
1702
|
+
this.#line(run, "adg", result.policy === "ask" ? `\u6709\u65B0\u7248\u672C ${result.version}\uFF1A\u8BBE\u7F6E\u4E3A\u5148\u95EE\u4F60\u518D\u66F4\u65B0\uFF0C\u8FD9\u6B21\u7528\u73B0\u6709\u7248\u672C\u8FD0\u884C` : `\u6709\u65B0\u7248\u672C ${result.version}\uFF1A\u8BBE\u7F6E\u4E3A\u4E0D\u81EA\u52A8\u66F4\u65B0\uFF0C\u8FD9\u6B21\u7528\u73B0\u6709\u7248\u672C\u8FD0\u884C`);
|
|
1703
|
+
} else if (result.state === "failed") {
|
|
1702
1704
|
const text = `\u66F4\u65B0\u5931\u8D25\uFF0C\u5148\u7528\u73B0\u6709\u7248\u672C${script.current === void 0 ? "" : ` ${script.current} `}\u8FD0\u884C\uFF1A${result.error}`;
|
|
1703
1705
|
run.info.warnings.push(text);
|
|
1704
1706
|
this.#line(run, "adg", text);
|
|
@@ -14779,6 +14779,7 @@ var ScriptJob = external_exports.object({
|
|
|
14779
14779
|
startedAt: external_exports.number(),
|
|
14780
14780
|
endedAt: external_exports.number().optional()
|
|
14781
14781
|
});
|
|
14782
|
+
var ScriptUpdatePolicy = external_exports.enum(["auto", "ask", "off"]);
|
|
14782
14783
|
var InstallSettings = external_exports.object({
|
|
14783
14784
|
/** GitHub REST API base. */
|
|
14784
14785
|
apiBase: external_exports.url({ protocol: /^https?$/ }),
|
|
@@ -14796,7 +14797,9 @@ var InstallSettings = external_exports.object({
|
|
|
14796
14797
|
/** Offer pre-releases when no stable release exists. */
|
|
14797
14798
|
includePrereleases: external_exports.boolean(),
|
|
14798
14799
|
/** Credential holding the user's Mirror酱 CDK: scripts published there update from it (incremental when possible). */
|
|
14799
|
-
cdkRef: external_exports.string().regex(/^[A-Za-z_][A-Za-z0-9_]*$/)
|
|
14800
|
+
cdkRef: external_exports.string().regex(/^[A-Za-z_][A-Za-z0-9_]*$/),
|
|
14801
|
+
/** What happens when a script has a newer version. */
|
|
14802
|
+
autoUpdate: ScriptUpdatePolicy
|
|
14800
14803
|
});
|
|
14801
14804
|
var Empty = external_exports.object({});
|
|
14802
14805
|
var ById = external_exports.object({ id: ScriptId });
|
|
@@ -17374,6 +17377,29 @@ var Requests = {
|
|
|
17374
17377
|
params: external_exports.object({ ref: CredentialRef }),
|
|
17375
17378
|
result: Empty2
|
|
17376
17379
|
},
|
|
17380
|
+
/**
|
|
17381
|
+
* Which build serves this host, for 设置 → 关于: `plugin` is the dsh plugin package (dsh-multigameassistant),
|
|
17382
|
+
* with its version; anything else (the desktop app, a checkout) says so through its own means.
|
|
17383
|
+
*/
|
|
17384
|
+
"about/info": {
|
|
17385
|
+
capability: "about",
|
|
17386
|
+
params: Empty2,
|
|
17387
|
+
result: external_exports.object({ edition: external_exports.enum(["plugin", "other"]), version: external_exports.string().optional() })
|
|
17388
|
+
},
|
|
17389
|
+
/**
|
|
17390
|
+
* The plugin package's newest release on GitHub, if newer than this one (a pre-release only for a
|
|
17391
|
+
* pre-release). `onNpm`: npm already serves it under the plugin's name (a release is live there only
|
|
17392
|
+
* once approved); undefined when npm could not be asked. Only the plugin package checks here.
|
|
17393
|
+
*/
|
|
17394
|
+
"about/checkUpdate": {
|
|
17395
|
+
capability: "about",
|
|
17396
|
+
params: Empty2,
|
|
17397
|
+
result: external_exports.object({
|
|
17398
|
+
current: external_exports.string(),
|
|
17399
|
+
latest: external_exports.object({ version: external_exports.string(), prerelease: external_exports.boolean(), notesUrl: external_exports.string(), onNpm: external_exports.boolean().optional() }).optional(),
|
|
17400
|
+
checkedAt: external_exports.number()
|
|
17401
|
+
})
|
|
17402
|
+
},
|
|
17377
17403
|
"providers/list": {
|
|
17378
17404
|
capability: "providers",
|
|
17379
17405
|
params: Empty2,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
classify,
|
|
29
29
|
external_exports,
|
|
30
30
|
threadsBetween
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-IH3K4QPN.js";
|
|
32
32
|
import {
|
|
33
33
|
__commonJS,
|
|
34
34
|
__require,
|
|
@@ -3708,7 +3708,7 @@ var require_websocket_server = __commonJS({
|
|
|
3708
3708
|
// packages/gateway/lib/index.js
|
|
3709
3709
|
import { execFile } from "node:child_process";
|
|
3710
3710
|
import { randomBytes } from "node:crypto";
|
|
3711
|
-
import { existsSync, mkdirSync as mkdirSync5, readFileSync as
|
|
3711
|
+
import { existsSync, mkdirSync as mkdirSync5, readFileSync as readFileSync3, writeFileSync } from "node:fs";
|
|
3712
3712
|
import { dirname as dirname5, join as join7 } from "node:path";
|
|
3713
3713
|
import { fileURLToPath } from "node:url";
|
|
3714
3714
|
import { Service } from "@deepseek-ai/cordis";
|
|
@@ -4004,6 +4004,106 @@ function providersCapability(deps) {
|
|
|
4004
4004
|
};
|
|
4005
4005
|
}
|
|
4006
4006
|
|
|
4007
|
+
// packages/gateway/lib/about.js
|
|
4008
|
+
import { readFileSync } from "node:fs";
|
|
4009
|
+
var PLUGIN_PACKAGE = "dsh-multigameassistant";
|
|
4010
|
+
var RELEASES_URL = "https://api.github.com/repos/haaahhhis/MultiGameAssistant/releases?per_page=30";
|
|
4011
|
+
var NPM_URL = `https://registry.npmjs.org/${PLUGIN_PACKAGE}`;
|
|
4012
|
+
var TIMEOUT_MS = 15e3;
|
|
4013
|
+
var PLUGIN_ASSET = `${PLUGIN_PACKAGE}.tgz`;
|
|
4014
|
+
function pluginVersion(manifest = new URL("../package.json", import.meta.url)) {
|
|
4015
|
+
try {
|
|
4016
|
+
const pkg = JSON.parse(readFileSync(manifest, "utf8"));
|
|
4017
|
+
if (pkg.name !== PLUGIN_PACKAGE || typeof pkg.version !== "string")
|
|
4018
|
+
return void 0;
|
|
4019
|
+
return pkg.version === "0.0.0-source" ? void 0 : pkg.version;
|
|
4020
|
+
} catch {
|
|
4021
|
+
return void 0;
|
|
4022
|
+
}
|
|
4023
|
+
}
|
|
4024
|
+
function compareVersions(a, b) {
|
|
4025
|
+
const parse = (v) => {
|
|
4026
|
+
const [main = "", pre] = v.replace(/^v/, "").split("+")[0].split(/-(.*)/s);
|
|
4027
|
+
return { main: main.split(".").map((n) => Number.parseInt(n, 10) || 0), pre: pre === void 0 || pre === "" ? [] : pre.split(".") };
|
|
4028
|
+
};
|
|
4029
|
+
const x = parse(a);
|
|
4030
|
+
const y = parse(b);
|
|
4031
|
+
for (let i = 0; i < Math.max(x.main.length, y.main.length, 3); i++) {
|
|
4032
|
+
const d = (x.main[i] ?? 0) - (y.main[i] ?? 0);
|
|
4033
|
+
if (d !== 0)
|
|
4034
|
+
return Math.sign(d);
|
|
4035
|
+
}
|
|
4036
|
+
if (x.pre.length === 0 || y.pre.length === 0)
|
|
4037
|
+
return Math.sign(y.pre.length - x.pre.length);
|
|
4038
|
+
for (let i = 0; i < Math.max(x.pre.length, y.pre.length); i++) {
|
|
4039
|
+
const p = x.pre[i];
|
|
4040
|
+
const q = y.pre[i];
|
|
4041
|
+
if (p === void 0 || q === void 0)
|
|
4042
|
+
return p === void 0 ? -1 : 1;
|
|
4043
|
+
const pn = /^\d+$/.test(p);
|
|
4044
|
+
const qn = /^\d+$/.test(q);
|
|
4045
|
+
if (pn && qn && Number(p) !== Number(q))
|
|
4046
|
+
return Math.sign(Number(p) - Number(q));
|
|
4047
|
+
if (pn !== qn)
|
|
4048
|
+
return pn ? -1 : 1;
|
|
4049
|
+
if (!pn && p !== q)
|
|
4050
|
+
return p < q ? -1 : 1;
|
|
4051
|
+
}
|
|
4052
|
+
return 0;
|
|
4053
|
+
}
|
|
4054
|
+
function newestRelease(releases, current) {
|
|
4055
|
+
const pre = current.includes("-");
|
|
4056
|
+
return releases.filter((r) => r.draft !== true && (pre || r.prerelease !== true) && typeof r.tag_name === "string" && Array.isArray(r.assets) && r.assets.some((a) => a.name === PLUGIN_ASSET)).map((r) => ({ version: String(r.tag_name).replace(/^v/, ""), prerelease: r.prerelease === true, notesUrl: typeof r.html_url === "string" ? r.html_url : "" })).filter((r) => compareVersions(r.version, current) > 0).sort((a, b) => compareVersions(b.version, a.version))[0];
|
|
4057
|
+
}
|
|
4058
|
+
function aboutCapability(deps = {}) {
|
|
4059
|
+
const version = deps.version ?? (() => pluginVersion());
|
|
4060
|
+
const get = async (url, call) => {
|
|
4061
|
+
const response = await (deps.fetch ?? fetch)(url, {
|
|
4062
|
+
// GitHub's API refuses a request without a User-Agent.
|
|
4063
|
+
headers: { Accept: "application/json", "User-Agent": PLUGIN_PACKAGE },
|
|
4064
|
+
signal: AbortSignal.any([call.signal, AbortSignal.timeout(TIMEOUT_MS)])
|
|
4065
|
+
});
|
|
4066
|
+
if (!response.ok)
|
|
4067
|
+
throw new Error(`${new URL(url).host} \u8FD4\u56DE ${response.status}`);
|
|
4068
|
+
return response.json();
|
|
4069
|
+
};
|
|
4070
|
+
const checkUpdate = async (call) => {
|
|
4071
|
+
const current = version();
|
|
4072
|
+
if (current === void 0)
|
|
4073
|
+
throw new RpcError(ErrorCode.InvalidRequest, "\u53EA\u6709 dsh \u63D2\u4EF6\u7248\u5728\u8FD9\u91CC\u68C0\u67E5\u66F4\u65B0");
|
|
4074
|
+
let releases;
|
|
4075
|
+
try {
|
|
4076
|
+
releases = await get(RELEASES_URL, call);
|
|
4077
|
+
} catch (error) {
|
|
4078
|
+
throw new RpcError(ErrorCode.HostError, `\u8FDE\u4E0D\u4E0A GitHub\uFF0C\u6CA1\u80FD\u68C0\u67E5\u66F4\u65B0\uFF08${error instanceof Error ? error.message : String(error)}\uFF09`);
|
|
4079
|
+
}
|
|
4080
|
+
const found = Array.isArray(releases) ? newestRelease(releases, current) : void 0;
|
|
4081
|
+
const checkedAt = (deps.now ?? Date.now)();
|
|
4082
|
+
if (found === void 0)
|
|
4083
|
+
return { current, checkedAt };
|
|
4084
|
+
let onNpm;
|
|
4085
|
+
try {
|
|
4086
|
+
const tags = (await get(NPM_URL, call))["dist-tags"] ?? {};
|
|
4087
|
+
const served = tags[found.prerelease ? "next" : "latest"];
|
|
4088
|
+
onNpm = typeof served === "string" && compareVersions(served, found.version) >= 0;
|
|
4089
|
+
} catch {
|
|
4090
|
+
onNpm = void 0;
|
|
4091
|
+
}
|
|
4092
|
+
return { current, latest: { ...found, ...onNpm === void 0 ? {} : { onNpm } }, checkedAt };
|
|
4093
|
+
};
|
|
4094
|
+
return {
|
|
4095
|
+
id: "about",
|
|
4096
|
+
version: 1,
|
|
4097
|
+
methods: {
|
|
4098
|
+
"about/info": () => {
|
|
4099
|
+
const v = version();
|
|
4100
|
+
return v === void 0 ? { edition: "other" } : { edition: "plugin", version: v };
|
|
4101
|
+
},
|
|
4102
|
+
"about/checkUpdate": (_params, call) => checkUpdate(call)
|
|
4103
|
+
}
|
|
4104
|
+
};
|
|
4105
|
+
}
|
|
4106
|
+
|
|
4007
4107
|
// packages/gateway/lib/approvals.js
|
|
4008
4108
|
var ApprovalBroker = class {
|
|
4009
4109
|
pending = /* @__PURE__ */ new Map();
|
|
@@ -4661,7 +4761,7 @@ function compactOutcome(result) {
|
|
|
4661
4761
|
}
|
|
4662
4762
|
|
|
4663
4763
|
// packages/gateway/lib/compaction-settings.js
|
|
4664
|
-
import { readFileSync } from "node:fs";
|
|
4764
|
+
import { readFileSync as readFileSync2 } from "node:fs";
|
|
4665
4765
|
import { mkdir as mkdir3, rename as rename2, writeFile as writeFile3 } from "node:fs/promises";
|
|
4666
4766
|
import { join as join4 } from "node:path";
|
|
4667
4767
|
var COMPACTION_FILE = "compaction.json";
|
|
@@ -4691,7 +4791,7 @@ var CompactionStore = class {
|
|
|
4691
4791
|
};
|
|
4692
4792
|
function readSettings(file) {
|
|
4693
4793
|
try {
|
|
4694
|
-
const raw = JSON.parse(
|
|
4794
|
+
const raw = JSON.parse(readFileSync2(file, "utf8"));
|
|
4695
4795
|
const parsed = CompactionSettings.safeParse({ ...DEFAULT_COMPACTION, ...raw });
|
|
4696
4796
|
return parsed.success ? parsed.data : DEFAULT_COMPACTION;
|
|
4697
4797
|
} catch {
|
|
@@ -6684,7 +6784,7 @@ function keptToken(dataDir, log) {
|
|
|
6684
6784
|
return fresh();
|
|
6685
6785
|
const file = join7(dataDir, "gateway-token");
|
|
6686
6786
|
try {
|
|
6687
|
-
const saved =
|
|
6787
|
+
const saved = readFileSync3(file, "utf8").trim();
|
|
6688
6788
|
if (/^[\w-]{16,}$/.test(saved))
|
|
6689
6789
|
return saved;
|
|
6690
6790
|
} catch {
|
|
@@ -6843,6 +6943,7 @@ var AdgGateway = class extends Service {
|
|
|
6843
6943
|
return { others: this.instances.others() };
|
|
6844
6944
|
} }
|
|
6845
6945
|
}), "adg-gateway capability instances");
|
|
6946
|
+
ctx.effect(() => this.registry.register(aboutCapability()), "adg-gateway capability about");
|
|
6846
6947
|
this.approvals = new ApprovalBroker({
|
|
6847
6948
|
broadcastRequested: (request) => this.broadcast("approval/requested", request),
|
|
6848
6949
|
broadcastResolved: (approvalId, outcome) => this.broadcast("approval/resolved", { approvalId, outcome })
|
package/lib/emulator.js
CHANGED
package/lib/feishu.js
CHANGED
|
@@ -2,7 +2,7 @@ import { createRequire as __adgCreateRequire } from 'node:module'; import { dirn
|
|
|
2
2
|
import {
|
|
3
3
|
replyMarkdown,
|
|
4
4
|
replyPlain
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-AWZ4O7BY.js";
|
|
6
6
|
import {
|
|
7
7
|
require_extension,
|
|
8
8
|
require_permessage_deflate,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
require_subprotocol,
|
|
13
13
|
require_websocket,
|
|
14
14
|
require_websocket_server
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ZXD4IYZP.js";
|
|
16
16
|
import {
|
|
17
17
|
writeFileAtomic
|
|
18
18
|
} from "./chunk-CCAB6XXZ.js";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
FeishuPending,
|
|
23
23
|
FeishuSettings,
|
|
24
24
|
external_exports
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-IH3K4QPN.js";
|
|
26
26
|
import {
|
|
27
27
|
__commonJS,
|
|
28
28
|
__require,
|
package/lib/game-intel.js
CHANGED
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
GAME_MANIFEST_FILE,
|
|
8
8
|
GameManifest,
|
|
9
9
|
parseGameManifest
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-OQZ2XZVP.js";
|
|
11
11
|
import {
|
|
12
12
|
sessionConversations
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-AWZ4O7BY.js";
|
|
14
|
+
import "./chunk-ZXD4IYZP.js";
|
|
15
15
|
import {
|
|
16
16
|
writeFileAtomic
|
|
17
17
|
} from "./chunk-CCAB6XXZ.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
SHOT_IMAGE,
|
|
25
25
|
external_exports,
|
|
26
26
|
taskMessage
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-IH3K4QPN.js";
|
|
28
28
|
import "./chunk-2UFLGPDY.js";
|
|
29
29
|
|
|
30
30
|
// packages/game-intel/lib/index.js
|
package/lib/gateway.js
CHANGED
|
@@ -17,9 +17,9 @@ import {
|
|
|
17
17
|
copyLabel,
|
|
18
18
|
lib_default,
|
|
19
19
|
streamFacts
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-ZXD4IYZP.js";
|
|
21
21
|
import "./chunk-CCAB6XXZ.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-IH3K4QPN.js";
|
|
23
23
|
import "./chunk-2UFLGPDY.js";
|
|
24
24
|
export {
|
|
25
25
|
AGENT_PRESET,
|
package/lib/guard.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __adgCreateRequire } from 'node:module'; import { dirname as __adgDirname } from 'node:path'; import { fileURLToPath as __adgFileURLToPath } from 'node:url'; const require = __adgCreateRequire(import.meta.url); const __filename = __adgFileURLToPath(import.meta.url); const __dirname = __adgDirname(__filename);
|
|
2
2
|
import {
|
|
3
3
|
GUARD_CAPABILITY
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IH3K4QPN.js";
|
|
5
5
|
import "./chunk-2UFLGPDY.js";
|
|
6
6
|
|
|
7
7
|
// packages/guard/lib/index.js
|
package/lib/intervene.js
CHANGED
|
@@ -2,8 +2,8 @@ import { createRequire as __adgCreateRequire } from 'node:module'; import { dirn
|
|
|
2
2
|
import {
|
|
3
3
|
finalText,
|
|
4
4
|
sessionConversations
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-AWZ4O7BY.js";
|
|
6
|
+
import "./chunk-ZXD4IYZP.js";
|
|
7
7
|
import {
|
|
8
8
|
writeFileAtomic
|
|
9
9
|
} from "./chunk-CCAB6XXZ.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
INTERVENE_CAPABILITY,
|
|
12
12
|
UPDATE_RULE,
|
|
13
13
|
external_exports
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-IH3K4QPN.js";
|
|
15
15
|
import "./chunk-2UFLGPDY.js";
|
|
16
16
|
|
|
17
17
|
// packages/intervene/lib/index.js
|
package/lib/monitor.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createRequire as __adgCreateRequire } from 'node:module'; import { dirname as __adgDirname } from 'node:path'; import { fileURLToPath as __adgFileURLToPath } from 'node:url'; const require = __adgCreateRequire(import.meta.url); const __filename = __adgFileURLToPath(import.meta.url); const __dirname = __adgDirname(__filename);
|
|
2
2
|
import {
|
|
3
3
|
parseDuration
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-C6HSCWNE.js";
|
|
5
|
+
import "./chunk-OQZ2XZVP.js";
|
|
6
6
|
import {
|
|
7
7
|
writeFileAtomic
|
|
8
8
|
} from "./chunk-CCAB6XXZ.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
MONITOR_CAPABILITY,
|
|
12
12
|
MonitorSettings,
|
|
13
13
|
external_exports
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-IH3K4QPN.js";
|
|
15
15
|
import "./chunk-2UFLGPDY.js";
|
|
16
16
|
|
|
17
17
|
// packages/monitor/lib/index.js
|
package/lib/notify.js
CHANGED
|
@@ -16,10 +16,10 @@ import {
|
|
|
16
16
|
replyPlain,
|
|
17
17
|
sessionConversations,
|
|
18
18
|
textReply
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-AWZ4O7BY.js";
|
|
20
|
+
import "./chunk-ZXD4IYZP.js";
|
|
21
21
|
import "./chunk-CCAB6XXZ.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-IH3K4QPN.js";
|
|
23
23
|
import "./chunk-2UFLGPDY.js";
|
|
24
24
|
export {
|
|
25
25
|
AdgNotify,
|
package/lib/orchestrator.js
CHANGED
|
@@ -4,17 +4,17 @@ import {
|
|
|
4
4
|
PARAMS_SCHEMA,
|
|
5
5
|
parseDuration,
|
|
6
6
|
taskParams
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-C6HSCWNE.js";
|
|
8
8
|
import {
|
|
9
9
|
TaskInputError,
|
|
10
10
|
renderTask
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-OQZ2XZVP.js";
|
|
12
12
|
import {
|
|
13
13
|
MAIN,
|
|
14
14
|
finalText,
|
|
15
15
|
sessionConversations
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-AWZ4O7BY.js";
|
|
17
|
+
import "./chunk-ZXD4IYZP.js";
|
|
18
18
|
import {
|
|
19
19
|
writeFileAtomic
|
|
20
20
|
} from "./chunk-CCAB6XXZ.js";
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
isMarker,
|
|
34
34
|
taskMessage,
|
|
35
35
|
withStartEnd
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-IH3K4QPN.js";
|
|
37
37
|
import "./chunk-2UFLGPDY.js";
|
|
38
38
|
|
|
39
39
|
// packages/orchestrator/lib/index.js
|
package/lib/qqbot.js
CHANGED
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
questionText,
|
|
5
5
|
replyMarkdown,
|
|
6
6
|
replyPlain
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-AWZ4O7BY.js";
|
|
8
|
+
import "./chunk-ZXD4IYZP.js";
|
|
9
9
|
import {
|
|
10
10
|
writeFileAtomic
|
|
11
11
|
} from "./chunk-CCAB6XXZ.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
QQPending,
|
|
16
16
|
QQSettings,
|
|
17
17
|
external_exports
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-IH3K4QPN.js";
|
|
19
19
|
import "./chunk-2UFLGPDY.js";
|
|
20
20
|
|
|
21
21
|
// packages/qqbot/lib/index.js
|
package/lib/runner.js
CHANGED
|
@@ -19,9 +19,9 @@ import {
|
|
|
19
19
|
runnerTools,
|
|
20
20
|
setIn,
|
|
21
21
|
taskParams
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-C6HSCWNE.js";
|
|
23
|
+
import "./chunk-OQZ2XZVP.js";
|
|
24
|
+
import "./chunk-IH3K4QPN.js";
|
|
25
25
|
import "./chunk-2UFLGPDY.js";
|
|
26
26
|
export {
|
|
27
27
|
AdgRunner,
|
package/lib/scheduler.js
CHANGED
|
@@ -2,7 +2,7 @@ import { createRequire as __adgCreateRequire } from 'node:module'; import { dirn
|
|
|
2
2
|
import {
|
|
3
3
|
SCHEDULE_CAPABILITY,
|
|
4
4
|
external_exports
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-IH3K4QPN.js";
|
|
6
6
|
import "./chunk-2UFLGPDY.js";
|
|
7
7
|
|
|
8
8
|
// packages/scheduler/lib/index.js
|