jinzd-ai-cli 0.4.14 → 0.4.15
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/{chunk-WIWNSN7U.js → chunk-HOOMQACE.js} +5 -5
- package/dist/{chunk-244SVJXW.js → chunk-KOD3C2CU.js} +1 -1
- package/dist/{chunk-ROMSAKP6.js → chunk-KYWU74D5.js} +2 -2
- package/dist/{chunk-QW2UGW6D.js → chunk-SNUHVNSD.js} +1 -1
- package/dist/{hub-QZXQ6JYS.js → hub-34MLKYPL.js} +1 -1
- package/dist/index.js +6 -6
- package/dist/{run-tests-YU52BWHE.js → run-tests-H7IVHUZO.js} +1 -1
- package/dist/{run-tests-QDMBYWZA.js → run-tests-VB4UVV6Q.js} +1 -1
- package/dist/{server-KVHJCPUO.js → server-CL6Q5R2O.js} +4 -4
- package/dist/{task-orchestrator-EGJZA6Y4.js → task-orchestrator-AFMHSW4N.js} +2 -2
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
SUBAGENT_DEFAULT_MAX_ROUNDS,
|
|
7
7
|
SUBAGENT_MAX_ROUNDS_LIMIT,
|
|
8
8
|
runTestsTool
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KOD3C2CU.js";
|
|
10
10
|
|
|
11
11
|
// src/tools/builtin/bash.ts
|
|
12
12
|
import { execSync } from "child_process";
|
|
@@ -1854,10 +1854,6 @@ var EnvLoader = class {
|
|
|
1854
1854
|
*/
|
|
1855
1855
|
static getApiKey(providerId) {
|
|
1856
1856
|
const fixedEnvVar = ENV_KEY_MAP[providerId];
|
|
1857
|
-
if (fixedEnvVar) {
|
|
1858
|
-
const val = process.env[fixedEnvVar];
|
|
1859
|
-
if (val) return val;
|
|
1860
|
-
}
|
|
1861
1857
|
const dynamicEnvVar = `AICLI_API_KEY_${providerId.toUpperCase().replace(/-/g, "_")}`;
|
|
1862
1858
|
if (fixedEnvVar && fixedEnvVar !== dynamicEnvVar) {
|
|
1863
1859
|
const fixedVal = process.env[fixedEnvVar];
|
|
@@ -1867,6 +1863,10 @@ var EnvLoader = class {
|
|
|
1867
1863
|
`);
|
|
1868
1864
|
}
|
|
1869
1865
|
}
|
|
1866
|
+
if (fixedEnvVar) {
|
|
1867
|
+
const val = process.env[fixedEnvVar];
|
|
1868
|
+
if (val) return val;
|
|
1869
|
+
}
|
|
1870
1870
|
return process.env[dynamicEnvVar] || void 0;
|
|
1871
1871
|
}
|
|
1872
1872
|
static getDefaultProvider() {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
EnvLoader,
|
|
4
4
|
schemaToJsonSchema
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-HOOMQACE.js";
|
|
6
6
|
import {
|
|
7
7
|
APP_NAME,
|
|
8
8
|
CONFIG_DIR_NAME,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
MCP_TOOL_PREFIX,
|
|
16
16
|
PLUGINS_DIR_NAME,
|
|
17
17
|
VERSION
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-KOD3C2CU.js";
|
|
19
19
|
|
|
20
20
|
// src/config/config-manager.ts
|
|
21
21
|
import { readFileSync, writeFileSync, existsSync, mkdirSync } from "fs";
|
|
@@ -381,7 +381,7 @@ ${content}`);
|
|
|
381
381
|
}
|
|
382
382
|
}
|
|
383
383
|
async function runTaskMode(config, providers, configManager, topic) {
|
|
384
|
-
const { TaskOrchestrator } = await import("./task-orchestrator-
|
|
384
|
+
const { TaskOrchestrator } = await import("./task-orchestrator-AFMHSW4N.js");
|
|
385
385
|
const orchestrator = new TaskOrchestrator(config, providers, configManager);
|
|
386
386
|
let interrupted = false;
|
|
387
387
|
const onSigint = () => {
|
package/dist/index.js
CHANGED
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
saveDevState,
|
|
24
24
|
sessionHasMeaningfulContent,
|
|
25
25
|
setupProxy
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-KYWU74D5.js";
|
|
27
27
|
import {
|
|
28
28
|
ToolRegistry,
|
|
29
29
|
askUserContext,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
theme,
|
|
39
39
|
truncateOutput,
|
|
40
40
|
undoStack
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-HOOMQACE.js";
|
|
42
42
|
import {
|
|
43
43
|
AGENTIC_BEHAVIOR_GUIDELINE,
|
|
44
44
|
AUTHOR,
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
REPO_URL,
|
|
59
59
|
SKILLS_DIR_NAME,
|
|
60
60
|
VERSION
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-KOD3C2CU.js";
|
|
62
62
|
|
|
63
63
|
// src/index.ts
|
|
64
64
|
import { program } from "commander";
|
|
@@ -1914,7 +1914,7 @@ ${hint}` : "")
|
|
|
1914
1914
|
description: "Run project tests and show structured report",
|
|
1915
1915
|
usage: "/test [command|filter]",
|
|
1916
1916
|
async execute(args, _ctx) {
|
|
1917
|
-
const { executeTests } = await import("./run-tests-
|
|
1917
|
+
const { executeTests } = await import("./run-tests-H7IVHUZO.js");
|
|
1918
1918
|
const argStr = args.join(" ").trim();
|
|
1919
1919
|
let testArgs = {};
|
|
1920
1920
|
if (argStr) {
|
|
@@ -5528,7 +5528,7 @@ program.command("web").description("Start Web UI server with browser-based chat
|
|
|
5528
5528
|
console.error("Error: Invalid port number. Must be between 1 and 65535.");
|
|
5529
5529
|
process.exit(1);
|
|
5530
5530
|
}
|
|
5531
|
-
const { startWebServer } = await import("./server-
|
|
5531
|
+
const { startWebServer } = await import("./server-CL6Q5R2O.js");
|
|
5532
5532
|
await startWebServer({ port, host: options.host });
|
|
5533
5533
|
});
|
|
5534
5534
|
program.command("user [action] [username]").description("Manage Web UI users (list | create <name> | delete <name> | reset-password <name> | migrate <name>)").action(async (action, username) => {
|
|
@@ -5761,7 +5761,7 @@ program.command("hub [topic]").description("Start multi-agent hub (discuss / bra
|
|
|
5761
5761
|
}),
|
|
5762
5762
|
config.get("customProviders")
|
|
5763
5763
|
);
|
|
5764
|
-
const { startHub } = await import("./hub-
|
|
5764
|
+
const { startHub } = await import("./hub-34MLKYPL.js");
|
|
5765
5765
|
await startHub(
|
|
5766
5766
|
{
|
|
5767
5767
|
topic: topic ?? "",
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
renderDiff,
|
|
19
19
|
runHook,
|
|
20
20
|
setupProxy
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-KYWU74D5.js";
|
|
22
22
|
import {
|
|
23
23
|
AuthManager
|
|
24
24
|
} from "./chunk-BYNY5JPB.js";
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
spawnAgentContext,
|
|
33
33
|
truncateOutput,
|
|
34
34
|
undoStack
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-HOOMQACE.js";
|
|
36
36
|
import {
|
|
37
37
|
AGENTIC_BEHAVIOR_GUIDELINE,
|
|
38
38
|
AUTHOR,
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
PLUGINS_DIR_NAME,
|
|
50
50
|
SKILLS_DIR_NAME,
|
|
51
51
|
VERSION
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-KOD3C2CU.js";
|
|
53
53
|
|
|
54
54
|
// src/web/server.ts
|
|
55
55
|
import express from "express";
|
|
@@ -1482,7 +1482,7 @@ ${undoResults.map((r) => ` \u2022 ${r}`).join("\n")}` });
|
|
|
1482
1482
|
case "test": {
|
|
1483
1483
|
this.send({ type: "info", message: "\u{1F9EA} Running tests..." });
|
|
1484
1484
|
try {
|
|
1485
|
-
const { executeTests } = await import("./run-tests-
|
|
1485
|
+
const { executeTests } = await import("./run-tests-H7IVHUZO.js");
|
|
1486
1486
|
const argStr = args.join(" ").trim();
|
|
1487
1487
|
let testArgs = {};
|
|
1488
1488
|
if (argStr) {
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
getDangerLevel,
|
|
5
5
|
googleSearchContext,
|
|
6
6
|
truncateOutput
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HOOMQACE.js";
|
|
8
8
|
import {
|
|
9
9
|
SUBAGENT_ALLOWED_TOOLS
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KOD3C2CU.js";
|
|
11
11
|
|
|
12
12
|
// src/hub/task-orchestrator.ts
|
|
13
13
|
import { createInterface } from "readline";
|