jinzd-ai-cli 0.4.86 → 0.4.87
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/{batch-KN3ESR3U.js → batch-FNHSLCMV.js} +2 -2
- package/dist/{chunk-P6XKBTP4.js → chunk-3DGNN4RM.js} +47 -9
- package/dist/{chunk-CHJFRDUB.js → chunk-AQX3GYRD.js} +1 -1
- package/dist/{chunk-CKCGAHEF.js → chunk-BAOIXQHD.js} +1 -1
- package/dist/{chunk-M7KYMJT5.js → chunk-SP6RFAKW.js} +2 -2
- package/dist/{chunk-ZC4DN6C7.js → chunk-TFLBQRQM.js} +1 -1
- package/dist/{chunk-YRWBFUYH.js → chunk-Y75YPB5F.js} +1 -1
- package/dist/electron-server.js +47 -9
- package/dist/{hub-6GS4DYZO.js → hub-HEC4GYKR.js} +1 -1
- package/dist/index.js +10 -10
- package/dist/{run-tests-BQMCZVI4.js → run-tests-7PTRRO4D.js} +2 -2
- package/dist/{run-tests-NWQ3YPDN.js → run-tests-P7GIZ6UH.js} +1 -1
- package/dist/{server-73EENVYE.js → server-GJRBVTTQ.js} +3 -3
- package/dist/{server-GD5OGIOF.js → server-TRTN3RVO.js} +6 -6
- package/dist/{task-orchestrator-YW33QQKO.js → task-orchestrator-36SFPCP7.js} +3 -3
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
ConfigManager
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-Y75YPB5F.js";
|
|
5
5
|
import "./chunk-2ZD3YTVM.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-BAOIXQHD.js";
|
|
7
7
|
|
|
8
8
|
// src/cli/batch.ts
|
|
9
9
|
import Anthropic from "@anthropic-ai/sdk";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
schemaToJsonSchema,
|
|
4
4
|
truncateForPersist
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SP6RFAKW.js";
|
|
6
6
|
import {
|
|
7
7
|
AuthError,
|
|
8
8
|
ProviderError,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
MCP_PROTOCOL_VERSION,
|
|
19
19
|
MCP_TOOL_PREFIX,
|
|
20
20
|
VERSION
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-BAOIXQHD.js";
|
|
22
22
|
|
|
23
23
|
// src/providers/claude.ts
|
|
24
24
|
import Anthropic from "@anthropic-ai/sdk";
|
|
@@ -1291,17 +1291,41 @@ var DeepSeekProvider = class extends OpenAICompatibleProvider {
|
|
|
1291
1291
|
// src/providers/zhipu.ts
|
|
1292
1292
|
var ZhipuProvider = class extends OpenAICompatibleProvider {
|
|
1293
1293
|
defaultBaseUrl = "https://open.bigmodel.cn/api/paas/v4";
|
|
1294
|
-
// GLM-5 等深度思考模型生成长内容需要较长时间,默认 5 分钟
|
|
1294
|
+
// GLM-5 / GLM-5.1 等深度思考模型生成长内容需要较长时间,默认 5 分钟
|
|
1295
1295
|
defaultTimeout = 3e5;
|
|
1296
1296
|
info = {
|
|
1297
1297
|
id: "zhipu",
|
|
1298
1298
|
displayName: "Zhipu (GLM)",
|
|
1299
|
-
|
|
1299
|
+
// 默认选 GLM-4.6:中文写作口碑最稳 + 200K 上下文 + 价格只有 5.1 的 ~1/2。
|
|
1300
|
+
// 需要 Agent 长跑 / 代码工程时再手动 /model glm-5.1。
|
|
1301
|
+
defaultModel: "glm-4.6",
|
|
1300
1302
|
apiKeyEnvVar: "AICLI_API_KEY_ZHIPU",
|
|
1301
1303
|
requiresApiKey: true,
|
|
1302
1304
|
baseUrl: this.defaultBaseUrl,
|
|
1303
1305
|
models: [
|
|
1304
|
-
// GLM-5
|
|
1306
|
+
// ── GLM-5.1 系列(2026-04 旗舰,主打长程 Agent + 代码工程) ──
|
|
1307
|
+
{
|
|
1308
|
+
id: "glm-5.1",
|
|
1309
|
+
displayName: "GLM-5.1 (2026 Flagship, 200K, Agent+Code)",
|
|
1310
|
+
contextWindow: 204800,
|
|
1311
|
+
supportsStreaming: true,
|
|
1312
|
+
supportsThinking: true
|
|
1313
|
+
},
|
|
1314
|
+
{
|
|
1315
|
+
id: "glm-5.1-reasoning",
|
|
1316
|
+
displayName: "GLM-5.1 Reasoning (Deep Thinking)",
|
|
1317
|
+
contextWindow: 204800,
|
|
1318
|
+
supportsStreaming: true,
|
|
1319
|
+
supportsThinking: true
|
|
1320
|
+
},
|
|
1321
|
+
{
|
|
1322
|
+
id: "glm-5.1-air",
|
|
1323
|
+
displayName: "GLM-5.1 Air (Lightweight 5.1)",
|
|
1324
|
+
contextWindow: 204800,
|
|
1325
|
+
supportsStreaming: true,
|
|
1326
|
+
supportsThinking: true
|
|
1327
|
+
},
|
|
1328
|
+
// ── GLM-5 系列(2026-02) ──
|
|
1305
1329
|
{
|
|
1306
1330
|
id: "glm-5",
|
|
1307
1331
|
displayName: "GLM-5 (Flagship, Deep Thinking)",
|
|
@@ -1309,7 +1333,13 @@ var ZhipuProvider = class extends OpenAICompatibleProvider {
|
|
|
1309
1333
|
supportsStreaming: true,
|
|
1310
1334
|
supportsThinking: true
|
|
1311
1335
|
},
|
|
1312
|
-
// GLM-4.6
|
|
1336
|
+
// ── GLM-4.6 系列(2025-09,中文写作口碑最佳) ──
|
|
1337
|
+
{
|
|
1338
|
+
id: "glm-4.6",
|
|
1339
|
+
displayName: "GLM-4.6 (200K, \u4E2D\u6587\u5199\u4F5C\u63A8\u8350)",
|
|
1340
|
+
contextWindow: 204800,
|
|
1341
|
+
supportsStreaming: true
|
|
1342
|
+
},
|
|
1313
1343
|
{
|
|
1314
1344
|
id: "glm-4.6v",
|
|
1315
1345
|
displayName: "GLM-4.6V (Vision + Thinking)",
|
|
@@ -1317,7 +1347,7 @@ var ZhipuProvider = class extends OpenAICompatibleProvider {
|
|
|
1317
1347
|
supportsStreaming: true,
|
|
1318
1348
|
supportsThinking: true
|
|
1319
1349
|
},
|
|
1320
|
-
// GLM-Z1
|
|
1350
|
+
// ── GLM-Z1 推理系列 ──
|
|
1321
1351
|
{
|
|
1322
1352
|
id: "glm-z1",
|
|
1323
1353
|
displayName: "GLM-Z1 (Reasoning Flagship)",
|
|
@@ -1339,7 +1369,7 @@ var ZhipuProvider = class extends OpenAICompatibleProvider {
|
|
|
1339
1369
|
supportsStreaming: true,
|
|
1340
1370
|
supportsThinking: true
|
|
1341
1371
|
},
|
|
1342
|
-
// GLM-4
|
|
1372
|
+
// ── GLM-4 系列(稳定,价格低) ──
|
|
1343
1373
|
{
|
|
1344
1374
|
id: "glm-4-plus",
|
|
1345
1375
|
displayName: "GLM-4 Plus",
|
|
@@ -3653,7 +3683,15 @@ var PRICING_TABLE = {
|
|
|
3653
3683
|
"glm-4": { input: 0.14, output: 0.14 },
|
|
3654
3684
|
"glm-4-flash": { input: 0, output: 0 },
|
|
3655
3685
|
"glm-4.5": { input: 0.29, output: 1.14 },
|
|
3656
|
-
"glm-4.6": { input: 0.6, output: 2.2 }
|
|
3686
|
+
"glm-4.6": { input: 0.6, output: 2.2 },
|
|
3687
|
+
"glm-4.6v": { input: 0.6, output: 2.2 },
|
|
3688
|
+
"glm-5": { input: 0.85, output: 2.85 },
|
|
3689
|
+
"glm-5.1": { input: 0.95, output: 3.15 },
|
|
3690
|
+
"glm-5.1-reasoning": { input: 1.4, output: 4.4 },
|
|
3691
|
+
"glm-5.1-air": { input: 0.4, output: 1.2 },
|
|
3692
|
+
"glm-z1": { input: 0.5, output: 1.5 },
|
|
3693
|
+
"glm-z1-air": { input: 0.2, output: 0.6 },
|
|
3694
|
+
"glm-z1-flash": { input: 0, output: 0 }
|
|
3657
3695
|
// ── OpenRouter (pass-through — actual cost depends on underlying model) ──
|
|
3658
3696
|
// Left empty; callers should resolve via underlying model ID.
|
|
3659
3697
|
// ── Ollama (local, zero cost) ─────────────────────────────────
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./chunk-6VRJGH25.js";
|
|
20
20
|
import {
|
|
21
21
|
runTestsTool
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-TFLBQRQM.js";
|
|
23
23
|
import {
|
|
24
24
|
CONFIG_DIR_NAME,
|
|
25
25
|
DEFAULT_MAX_TOOL_OUTPUT_CHARS_CAP,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
SUBAGENT_ALLOWED_TOOLS,
|
|
28
28
|
SUBAGENT_DEFAULT_MAX_ROUNDS,
|
|
29
29
|
SUBAGENT_MAX_ROUNDS_LIMIT
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-BAOIXQHD.js";
|
|
31
31
|
|
|
32
32
|
// src/tools/types.ts
|
|
33
33
|
function isFileWriteTool(name) {
|
package/dist/electron-server.js
CHANGED
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
VERSION,
|
|
37
37
|
buildUserIdentityPrompt,
|
|
38
38
|
runTestsTool
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-AQX3GYRD.js";
|
|
40
40
|
import {
|
|
41
41
|
hasSemanticIndex,
|
|
42
42
|
semanticSearch
|
|
@@ -1779,17 +1779,41 @@ var DeepSeekProvider = class extends OpenAICompatibleProvider {
|
|
|
1779
1779
|
// src/providers/zhipu.ts
|
|
1780
1780
|
var ZhipuProvider = class extends OpenAICompatibleProvider {
|
|
1781
1781
|
defaultBaseUrl = "https://open.bigmodel.cn/api/paas/v4";
|
|
1782
|
-
// GLM-5 等深度思考模型生成长内容需要较长时间,默认 5 分钟
|
|
1782
|
+
// GLM-5 / GLM-5.1 等深度思考模型生成长内容需要较长时间,默认 5 分钟
|
|
1783
1783
|
defaultTimeout = 3e5;
|
|
1784
1784
|
info = {
|
|
1785
1785
|
id: "zhipu",
|
|
1786
1786
|
displayName: "Zhipu (GLM)",
|
|
1787
|
-
|
|
1787
|
+
// 默认选 GLM-4.6:中文写作口碑最稳 + 200K 上下文 + 价格只有 5.1 的 ~1/2。
|
|
1788
|
+
// 需要 Agent 长跑 / 代码工程时再手动 /model glm-5.1。
|
|
1789
|
+
defaultModel: "glm-4.6",
|
|
1788
1790
|
apiKeyEnvVar: "AICLI_API_KEY_ZHIPU",
|
|
1789
1791
|
requiresApiKey: true,
|
|
1790
1792
|
baseUrl: this.defaultBaseUrl,
|
|
1791
1793
|
models: [
|
|
1792
|
-
// GLM-5
|
|
1794
|
+
// ── GLM-5.1 系列(2026-04 旗舰,主打长程 Agent + 代码工程) ──
|
|
1795
|
+
{
|
|
1796
|
+
id: "glm-5.1",
|
|
1797
|
+
displayName: "GLM-5.1 (2026 Flagship, 200K, Agent+Code)",
|
|
1798
|
+
contextWindow: 204800,
|
|
1799
|
+
supportsStreaming: true,
|
|
1800
|
+
supportsThinking: true
|
|
1801
|
+
},
|
|
1802
|
+
{
|
|
1803
|
+
id: "glm-5.1-reasoning",
|
|
1804
|
+
displayName: "GLM-5.1 Reasoning (Deep Thinking)",
|
|
1805
|
+
contextWindow: 204800,
|
|
1806
|
+
supportsStreaming: true,
|
|
1807
|
+
supportsThinking: true
|
|
1808
|
+
},
|
|
1809
|
+
{
|
|
1810
|
+
id: "glm-5.1-air",
|
|
1811
|
+
displayName: "GLM-5.1 Air (Lightweight 5.1)",
|
|
1812
|
+
contextWindow: 204800,
|
|
1813
|
+
supportsStreaming: true,
|
|
1814
|
+
supportsThinking: true
|
|
1815
|
+
},
|
|
1816
|
+
// ── GLM-5 系列(2026-02) ──
|
|
1793
1817
|
{
|
|
1794
1818
|
id: "glm-5",
|
|
1795
1819
|
displayName: "GLM-5 (Flagship, Deep Thinking)",
|
|
@@ -1797,7 +1821,13 @@ var ZhipuProvider = class extends OpenAICompatibleProvider {
|
|
|
1797
1821
|
supportsStreaming: true,
|
|
1798
1822
|
supportsThinking: true
|
|
1799
1823
|
},
|
|
1800
|
-
// GLM-4.6
|
|
1824
|
+
// ── GLM-4.6 系列(2025-09,中文写作口碑最佳) ──
|
|
1825
|
+
{
|
|
1826
|
+
id: "glm-4.6",
|
|
1827
|
+
displayName: "GLM-4.6 (200K, \u4E2D\u6587\u5199\u4F5C\u63A8\u8350)",
|
|
1828
|
+
contextWindow: 204800,
|
|
1829
|
+
supportsStreaming: true
|
|
1830
|
+
},
|
|
1801
1831
|
{
|
|
1802
1832
|
id: "glm-4.6v",
|
|
1803
1833
|
displayName: "GLM-4.6V (Vision + Thinking)",
|
|
@@ -1805,7 +1835,7 @@ var ZhipuProvider = class extends OpenAICompatibleProvider {
|
|
|
1805
1835
|
supportsStreaming: true,
|
|
1806
1836
|
supportsThinking: true
|
|
1807
1837
|
},
|
|
1808
|
-
// GLM-Z1
|
|
1838
|
+
// ── GLM-Z1 推理系列 ──
|
|
1809
1839
|
{
|
|
1810
1840
|
id: "glm-z1",
|
|
1811
1841
|
displayName: "GLM-Z1 (Reasoning Flagship)",
|
|
@@ -1827,7 +1857,7 @@ var ZhipuProvider = class extends OpenAICompatibleProvider {
|
|
|
1827
1857
|
supportsStreaming: true,
|
|
1828
1858
|
supportsThinking: true
|
|
1829
1859
|
},
|
|
1830
|
-
// GLM-4
|
|
1860
|
+
// ── GLM-4 系列(稳定,价格低) ──
|
|
1831
1861
|
{
|
|
1832
1862
|
id: "glm-4-plus",
|
|
1833
1863
|
displayName: "GLM-4 Plus",
|
|
@@ -9035,7 +9065,15 @@ var PRICING_TABLE = {
|
|
|
9035
9065
|
"glm-4": { input: 0.14, output: 0.14 },
|
|
9036
9066
|
"glm-4-flash": { input: 0, output: 0 },
|
|
9037
9067
|
"glm-4.5": { input: 0.29, output: 1.14 },
|
|
9038
|
-
"glm-4.6": { input: 0.6, output: 2.2 }
|
|
9068
|
+
"glm-4.6": { input: 0.6, output: 2.2 },
|
|
9069
|
+
"glm-4.6v": { input: 0.6, output: 2.2 },
|
|
9070
|
+
"glm-5": { input: 0.85, output: 2.85 },
|
|
9071
|
+
"glm-5.1": { input: 0.95, output: 3.15 },
|
|
9072
|
+
"glm-5.1-reasoning": { input: 1.4, output: 4.4 },
|
|
9073
|
+
"glm-5.1-air": { input: 0.4, output: 1.2 },
|
|
9074
|
+
"glm-z1": { input: 0.5, output: 1.5 },
|
|
9075
|
+
"glm-z1-air": { input: 0.2, output: 0.6 },
|
|
9076
|
+
"glm-z1-flash": { input: 0, output: 0 }
|
|
9039
9077
|
// ── OpenRouter (pass-through — actual cost depends on underlying model) ──
|
|
9040
9078
|
// Left empty; callers should resolve via underlying model ID.
|
|
9041
9079
|
// ── Ollama (local, zero cost) ─────────────────────────────────
|
|
@@ -11070,7 +11108,7 @@ ${undoResults.map((r) => ` \u2022 ${r}`).join("\n")}` });
|
|
|
11070
11108
|
case "test": {
|
|
11071
11109
|
this.send({ type: "info", message: "\u{1F9EA} Running tests..." });
|
|
11072
11110
|
try {
|
|
11073
|
-
const { executeTests } = await import("./run-tests-
|
|
11111
|
+
const { executeTests } = await import("./run-tests-P7GIZ6UH.js");
|
|
11074
11112
|
const argStr = args.join(" ").trim();
|
|
11075
11113
|
let testArgs = {};
|
|
11076
11114
|
if (argStr) {
|
|
@@ -385,7 +385,7 @@ ${content}`);
|
|
|
385
385
|
}
|
|
386
386
|
}
|
|
387
387
|
async function runTaskMode(config, providers, configManager, topic) {
|
|
388
|
-
const { TaskOrchestrator } = await import("./task-orchestrator-
|
|
388
|
+
const { TaskOrchestrator } = await import("./task-orchestrator-36SFPCP7.js");
|
|
389
389
|
const orchestrator = new TaskOrchestrator(config, providers, configManager);
|
|
390
390
|
let interrupted = false;
|
|
391
391
|
const onSigint = () => {
|
package/dist/index.js
CHANGED
|
@@ -30,10 +30,10 @@ import {
|
|
|
30
30
|
saveDevState,
|
|
31
31
|
sessionHasMeaningfulContent,
|
|
32
32
|
setupProxy
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-3DGNN4RM.js";
|
|
34
34
|
import {
|
|
35
35
|
ConfigManager
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-Y75YPB5F.js";
|
|
37
37
|
import {
|
|
38
38
|
ToolExecutor,
|
|
39
39
|
ToolRegistry,
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
spawnAgentContext,
|
|
50
50
|
theme,
|
|
51
51
|
undoStack
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-SP6RFAKW.js";
|
|
53
53
|
import "./chunk-2ZD3YTVM.js";
|
|
54
54
|
import {
|
|
55
55
|
fileCheckpoints
|
|
@@ -58,7 +58,7 @@ import "./chunk-NHNWUBXB.js";
|
|
|
58
58
|
import "./chunk-CQQQFNND.js";
|
|
59
59
|
import "./chunk-6VRJGH25.js";
|
|
60
60
|
import "./chunk-PFYAAX2S.js";
|
|
61
|
-
import "./chunk-
|
|
61
|
+
import "./chunk-TFLBQRQM.js";
|
|
62
62
|
import {
|
|
63
63
|
AGENTIC_BEHAVIOR_GUIDELINE,
|
|
64
64
|
AUTHOR,
|
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
SKILLS_DIR_NAME,
|
|
81
81
|
VERSION,
|
|
82
82
|
buildUserIdentityPrompt
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-BAOIXQHD.js";
|
|
84
84
|
|
|
85
85
|
// src/index.ts
|
|
86
86
|
import { program } from "commander";
|
|
@@ -2592,7 +2592,7 @@ ${hint}` : "")
|
|
|
2592
2592
|
usage: "/test [command|filter]",
|
|
2593
2593
|
async execute(args, ctx) {
|
|
2594
2594
|
try {
|
|
2595
|
-
const { executeTests } = await import("./run-tests-
|
|
2595
|
+
const { executeTests } = await import("./run-tests-7PTRRO4D.js");
|
|
2596
2596
|
const argStr = args.join(" ").trim();
|
|
2597
2597
|
let testArgs = {};
|
|
2598
2598
|
if (argStr) {
|
|
@@ -6485,7 +6485,7 @@ program.command("web").description("Start Web UI server with browser-based chat
|
|
|
6485
6485
|
console.error("Error: Invalid port number. Must be between 1 and 65535.");
|
|
6486
6486
|
process.exit(1);
|
|
6487
6487
|
}
|
|
6488
|
-
const { startWebServer } = await import("./server-
|
|
6488
|
+
const { startWebServer } = await import("./server-TRTN3RVO.js");
|
|
6489
6489
|
await startWebServer({ port, host: options.host });
|
|
6490
6490
|
});
|
|
6491
6491
|
program.command("user [action] [username]").description("Manage Web UI users (list | create <name> | delete <name> | reset-password <name> | migrate <name>)").action(async (action, username) => {
|
|
@@ -6608,7 +6608,7 @@ program.command("sessions").description("List recent conversation sessions").act
|
|
|
6608
6608
|
});
|
|
6609
6609
|
program.command("batch <action> [arg] [arg2]").description("Anthropic Message Batches: submit | list | status <id> | results <id> [out] | cancel <id>").option("--dry-run", "Parse and validate input without submitting (submit only)").action(async (action, arg, arg2, options) => {
|
|
6610
6610
|
try {
|
|
6611
|
-
const batch = await import("./batch-
|
|
6611
|
+
const batch = await import("./batch-FNHSLCMV.js");
|
|
6612
6612
|
switch (action) {
|
|
6613
6613
|
case "submit":
|
|
6614
6614
|
if (!arg) {
|
|
@@ -6651,7 +6651,7 @@ program.command("batch <action> [arg] [arg2]").description("Anthropic Message Ba
|
|
|
6651
6651
|
}
|
|
6652
6652
|
});
|
|
6653
6653
|
program.command("mcp-serve").description("Start an MCP server over STDIO, exposing aicli's built-in tools to Claude Desktop / Cursor / other MCP clients").option("--allow-destructive", "Allow bash / run_interactive / task_create (always destructive in MCP mode)").option("--allow-outside-cwd", "Allow tool path arguments to escape the sandbox root \u2014 disabled by default").option("--tools <list>", "Comma-separated whitelist of tools to expose (default: all eligible tools)").option("--cwd <path>", "Working directory AND sandbox root (default: current directory)").action(async (options) => {
|
|
6654
|
-
const { startMcpServer } = await import("./server-
|
|
6654
|
+
const { startMcpServer } = await import("./server-GJRBVTTQ.js");
|
|
6655
6655
|
await startMcpServer({
|
|
6656
6656
|
allowDestructive: !!options.allowDestructive,
|
|
6657
6657
|
allowOutsideCwd: !!options.allowOutsideCwd,
|
|
@@ -6778,7 +6778,7 @@ program.command("hub [topic]").description("Start multi-agent hub (discuss / bra
|
|
|
6778
6778
|
}),
|
|
6779
6779
|
config.get("customProviders")
|
|
6780
6780
|
);
|
|
6781
|
-
const { startHub } = await import("./hub-
|
|
6781
|
+
const { startHub } = await import("./hub-HEC4GYKR.js");
|
|
6782
6782
|
await startHub(
|
|
6783
6783
|
{
|
|
6784
6784
|
topic: topic ?? "",
|
|
@@ -3,17 +3,17 @@ import {
|
|
|
3
3
|
ToolRegistry,
|
|
4
4
|
getDangerLevel,
|
|
5
5
|
schemaToJsonSchema
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SP6RFAKW.js";
|
|
7
7
|
import "./chunk-2ZD3YTVM.js";
|
|
8
8
|
import "./chunk-4BKXL7SM.js";
|
|
9
9
|
import "./chunk-NHNWUBXB.js";
|
|
10
10
|
import "./chunk-CQQQFNND.js";
|
|
11
11
|
import "./chunk-6VRJGH25.js";
|
|
12
12
|
import "./chunk-PFYAAX2S.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-TFLBQRQM.js";
|
|
14
14
|
import {
|
|
15
15
|
VERSION
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-BAOIXQHD.js";
|
|
17
17
|
|
|
18
18
|
// src/mcp/server.ts
|
|
19
19
|
import { createInterface } from "readline";
|
|
@@ -20,10 +20,10 @@ import {
|
|
|
20
20
|
persistToolRound,
|
|
21
21
|
rebuildExtraMessages,
|
|
22
22
|
setupProxy
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-3DGNN4RM.js";
|
|
24
24
|
import {
|
|
25
25
|
ConfigManager
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-Y75YPB5F.js";
|
|
27
27
|
import {
|
|
28
28
|
ToolExecutor,
|
|
29
29
|
ToolRegistry,
|
|
@@ -41,14 +41,14 @@ import {
|
|
|
41
41
|
spawnAgentContext,
|
|
42
42
|
truncateOutput,
|
|
43
43
|
undoStack
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-SP6RFAKW.js";
|
|
45
45
|
import "./chunk-2ZD3YTVM.js";
|
|
46
46
|
import "./chunk-4BKXL7SM.js";
|
|
47
47
|
import "./chunk-NHNWUBXB.js";
|
|
48
48
|
import "./chunk-CQQQFNND.js";
|
|
49
49
|
import "./chunk-6VRJGH25.js";
|
|
50
50
|
import "./chunk-PFYAAX2S.js";
|
|
51
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-TFLBQRQM.js";
|
|
52
52
|
import {
|
|
53
53
|
AGENTIC_BEHAVIOR_GUIDELINE,
|
|
54
54
|
AUTHOR,
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
SKILLS_DIR_NAME,
|
|
68
68
|
VERSION,
|
|
69
69
|
buildUserIdentityPrompt
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-BAOIXQHD.js";
|
|
71
71
|
import {
|
|
72
72
|
AuthManager
|
|
73
73
|
} from "./chunk-BYNY5JPB.js";
|
|
@@ -2229,7 +2229,7 @@ ${undoResults.map((r) => ` \u2022 ${r}`).join("\n")}` });
|
|
|
2229
2229
|
case "test": {
|
|
2230
2230
|
this.send({ type: "info", message: "\u{1F9EA} Running tests..." });
|
|
2231
2231
|
try {
|
|
2232
|
-
const { executeTests } = await import("./run-tests-
|
|
2232
|
+
const { executeTests } = await import("./run-tests-7PTRRO4D.js");
|
|
2233
2233
|
const argStr = args.join(" ").trim();
|
|
2234
2234
|
let testArgs = {};
|
|
2235
2235
|
if (argStr) {
|
|
@@ -4,17 +4,17 @@ import {
|
|
|
4
4
|
getDangerLevel,
|
|
5
5
|
googleSearchContext,
|
|
6
6
|
truncateOutput
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-SP6RFAKW.js";
|
|
8
8
|
import "./chunk-2ZD3YTVM.js";
|
|
9
9
|
import "./chunk-4BKXL7SM.js";
|
|
10
10
|
import "./chunk-NHNWUBXB.js";
|
|
11
11
|
import "./chunk-CQQQFNND.js";
|
|
12
12
|
import "./chunk-6VRJGH25.js";
|
|
13
13
|
import "./chunk-PFYAAX2S.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-TFLBQRQM.js";
|
|
15
15
|
import {
|
|
16
16
|
SUBAGENT_ALLOWED_TOOLS
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-BAOIXQHD.js";
|
|
18
18
|
|
|
19
19
|
// src/hub/task-orchestrator.ts
|
|
20
20
|
import { createInterface } from "readline";
|