jinzd-ai-cli 0.4.77 → 0.4.78
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-CDCTUTIQ.js +218 -0
- package/dist/{chunk-LKDX2GOW.js → chunk-EUE6VMGO.js} +2 -2
- package/dist/{chunk-LQ76WLB6.js → chunk-FCVQ6OP5.js} +1 -1
- package/dist/{chunk-5PZMIBEN.js → chunk-GKDETNDH.js} +2 -2
- package/dist/{chunk-S4WDPHKS.js → chunk-HELGL4RH.js} +1 -1
- package/dist/{chunk-QATT4NCL.js → chunk-KHYHG2SO.js} +1 -1
- package/dist/{chunk-IR5EW57V.js → chunk-TNAPORYF.js} +1 -1
- package/dist/electron-server.js +12465 -0
- package/dist/file-checkpoint-CGH6OJVI.js +6 -0
- package/dist/file-checkpoint-NKBHGC7L.js +7 -0
- package/dist/{hub-CZSXSOIH.js → hub-BIFM6NOM.js} +1 -1
- package/dist/index.js +9 -9
- package/dist/indexer-C7QYYHSZ.js +10 -0
- package/dist/indexer-O5FCGFBJ.js +9 -0
- package/dist/{run-tests-GEZ4NPWJ.js → run-tests-JBM4K5FO.js} +2 -2
- package/dist/{run-tests-RHAXFEOL.js → run-tests-MONKXJBT.js} +1 -1
- package/dist/semantic-MD7HYPWZ.js +14 -0
- package/dist/semantic-RBWU76MD.js +15 -0
- package/dist/{server-CMSF65WV.js → server-GCE5V4SL.js} +6 -6
- package/dist/store-247B3TAU.js +16 -0
- package/dist/store-S24SPPDZ.js +17 -0
- package/dist/{task-orchestrator-VC7LCN5J.js → task-orchestrator-YAWEIZE7.js} +3 -3
- package/dist/vector-store-UR7IARXB.js +14 -0
- package/dist/vector-store-YTVHACBV.js +15 -0
- package/package.json +2 -10
|
@@ -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-YAWEIZE7.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-GKDETNDH.js";
|
|
34
34
|
import {
|
|
35
35
|
ConfigManager
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-FCVQ6OP5.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-EUE6VMGO.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-HPDDAXFY.js";
|
|
59
59
|
import "./chunk-6VRJGH25.js";
|
|
60
60
|
import "./chunk-PFYAAX2S.js";
|
|
61
|
-
import "./chunk-
|
|
61
|
+
import "./chunk-KHYHG2SO.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-HELGL4RH.js";
|
|
84
84
|
|
|
85
85
|
// src/index.ts
|
|
86
86
|
import { program } from "commander";
|
|
@@ -2495,7 +2495,7 @@ ${hint}` : "")
|
|
|
2495
2495
|
usage: "/test [command|filter]",
|
|
2496
2496
|
async execute(args, ctx) {
|
|
2497
2497
|
try {
|
|
2498
|
-
const { executeTests } = await import("./run-tests-
|
|
2498
|
+
const { executeTests } = await import("./run-tests-JBM4K5FO.js");
|
|
2499
2499
|
const argStr = args.join(" ").trim();
|
|
2500
2500
|
let testArgs = {};
|
|
2501
2501
|
if (argStr) {
|
|
@@ -6388,7 +6388,7 @@ program.command("web").description("Start Web UI server with browser-based chat
|
|
|
6388
6388
|
console.error("Error: Invalid port number. Must be between 1 and 65535.");
|
|
6389
6389
|
process.exit(1);
|
|
6390
6390
|
}
|
|
6391
|
-
const { startWebServer } = await import("./server-
|
|
6391
|
+
const { startWebServer } = await import("./server-GCE5V4SL.js");
|
|
6392
6392
|
await startWebServer({ port, host: options.host });
|
|
6393
6393
|
});
|
|
6394
6394
|
program.command("user [action] [username]").description("Manage Web UI users (list | create <name> | delete <name> | reset-password <name> | migrate <name>)").action(async (action, username) => {
|
|
@@ -6511,7 +6511,7 @@ program.command("sessions").description("List recent conversation sessions").act
|
|
|
6511
6511
|
});
|
|
6512
6512
|
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) => {
|
|
6513
6513
|
try {
|
|
6514
|
-
const batch = await import("./batch-
|
|
6514
|
+
const batch = await import("./batch-CDCTUTIQ.js");
|
|
6515
6515
|
switch (action) {
|
|
6516
6516
|
case "submit":
|
|
6517
6517
|
if (!arg) {
|
|
@@ -6671,7 +6671,7 @@ program.command("hub [topic]").description("Start multi-agent hub (discuss / bra
|
|
|
6671
6671
|
}),
|
|
6672
6672
|
config.get("customProviders")
|
|
6673
6673
|
);
|
|
6674
|
-
const { startHub } = await import("./hub-
|
|
6674
|
+
const { startHub } = await import("./hub-BIFM6NOM.js");
|
|
6675
6675
|
await startHub(
|
|
6676
6676
|
{
|
|
6677
6677
|
topic: topic ?? "",
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buildEmbeddingText,
|
|
3
|
+
hasSemanticIndex,
|
|
4
|
+
rebuildSemanticIndex,
|
|
5
|
+
semanticSearch
|
|
6
|
+
} from "./chunk-UTCC3UMT.js";
|
|
7
|
+
import "./chunk-BJAT4GNC.js";
|
|
8
|
+
import "./chunk-XMA222FQ.js";
|
|
9
|
+
export {
|
|
10
|
+
buildEmbeddingText,
|
|
11
|
+
hasSemanticIndex,
|
|
12
|
+
rebuildSemanticIndex,
|
|
13
|
+
semanticSearch
|
|
14
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
buildEmbeddingText,
|
|
4
|
+
hasSemanticIndex,
|
|
5
|
+
rebuildSemanticIndex,
|
|
6
|
+
semanticSearch
|
|
7
|
+
} from "./chunk-HPDDAXFY.js";
|
|
8
|
+
import "./chunk-6VRJGH25.js";
|
|
9
|
+
import "./chunk-PFYAAX2S.js";
|
|
10
|
+
export {
|
|
11
|
+
buildEmbeddingText,
|
|
12
|
+
hasSemanticIndex,
|
|
13
|
+
rebuildSemanticIndex,
|
|
14
|
+
semanticSearch
|
|
15
|
+
};
|
|
@@ -20,10 +20,10 @@ import {
|
|
|
20
20
|
persistToolRound,
|
|
21
21
|
rebuildExtraMessages,
|
|
22
22
|
setupProxy
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-GKDETNDH.js";
|
|
24
24
|
import {
|
|
25
25
|
ConfigManager
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-FCVQ6OP5.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-EUE6VMGO.js";
|
|
45
45
|
import "./chunk-2ZD3YTVM.js";
|
|
46
46
|
import "./chunk-4BKXL7SM.js";
|
|
47
47
|
import "./chunk-NHNWUBXB.js";
|
|
48
48
|
import "./chunk-HPDDAXFY.js";
|
|
49
49
|
import "./chunk-6VRJGH25.js";
|
|
50
50
|
import "./chunk-PFYAAX2S.js";
|
|
51
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-KHYHG2SO.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-HELGL4RH.js";
|
|
71
71
|
import {
|
|
72
72
|
AuthManager
|
|
73
73
|
} from "./chunk-BYNY5JPB.js";
|
|
@@ -2138,7 +2138,7 @@ ${undoResults.map((r) => ` \u2022 ${r}`).join("\n")}` });
|
|
|
2138
2138
|
case "test": {
|
|
2139
2139
|
this.send({ type: "info", message: "\u{1F9EA} Running tests..." });
|
|
2140
2140
|
try {
|
|
2141
|
-
const { executeTests } = await import("./run-tests-
|
|
2141
|
+
const { executeTests } = await import("./run-tests-JBM4K5FO.js");
|
|
2142
2142
|
const argStr = args.join(" ").trim();
|
|
2143
2143
|
let testArgs = {};
|
|
2144
2144
|
if (argStr) {
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
clearIndex,
|
|
4
|
+
emptyIndex,
|
|
5
|
+
loadIndex,
|
|
6
|
+
removeFile,
|
|
7
|
+
saveIndex,
|
|
8
|
+
upsertFileSymbols
|
|
9
|
+
} from "./chunk-6VRJGH25.js";
|
|
10
|
+
export {
|
|
11
|
+
clearIndex,
|
|
12
|
+
emptyIndex,
|
|
13
|
+
loadIndex,
|
|
14
|
+
removeFile,
|
|
15
|
+
saveIndex,
|
|
16
|
+
upsertFileSymbols
|
|
17
|
+
};
|
|
@@ -4,17 +4,17 @@ import {
|
|
|
4
4
|
getDangerLevel,
|
|
5
5
|
googleSearchContext,
|
|
6
6
|
truncateOutput
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-EUE6VMGO.js";
|
|
8
8
|
import "./chunk-2ZD3YTVM.js";
|
|
9
9
|
import "./chunk-4BKXL7SM.js";
|
|
10
10
|
import "./chunk-NHNWUBXB.js";
|
|
11
11
|
import "./chunk-HPDDAXFY.js";
|
|
12
12
|
import "./chunk-6VRJGH25.js";
|
|
13
13
|
import "./chunk-PFYAAX2S.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-KHYHG2SO.js";
|
|
15
15
|
import {
|
|
16
16
|
SUBAGENT_ALLOWED_TOOLS
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-HELGL4RH.js";
|
|
18
18
|
|
|
19
19
|
// src/hub/task-orchestrator.ts
|
|
20
20
|
import { createInterface } from "readline";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
clearVectorStore,
|
|
3
|
+
emptyVectorStore,
|
|
4
|
+
loadVectorStore,
|
|
5
|
+
saveVectorStore,
|
|
6
|
+
searchVectorStore
|
|
7
|
+
} from "./chunk-XMA222FQ.js";
|
|
8
|
+
export {
|
|
9
|
+
clearVectorStore,
|
|
10
|
+
emptyVectorStore,
|
|
11
|
+
loadVectorStore,
|
|
12
|
+
saveVectorStore,
|
|
13
|
+
searchVectorStore
|
|
14
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
clearVectorStore,
|
|
4
|
+
emptyVectorStore,
|
|
5
|
+
loadVectorStore,
|
|
6
|
+
saveVectorStore,
|
|
7
|
+
searchVectorStore
|
|
8
|
+
} from "./chunk-PFYAAX2S.js";
|
|
9
|
+
export {
|
|
10
|
+
clearVectorStore,
|
|
11
|
+
emptyVectorStore,
|
|
12
|
+
loadVectorStore,
|
|
13
|
+
saveVectorStore,
|
|
14
|
+
searchVectorStore
|
|
15
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jinzd-ai-cli",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.78",
|
|
4
4
|
"description": "Cross-platform REPL-style AI CLI with multi-provider support",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -53,15 +53,7 @@
|
|
|
53
53
|
"node": ">=20.0.0"
|
|
54
54
|
},
|
|
55
55
|
"files": [
|
|
56
|
-
"dist
|
|
57
|
-
"dist/chunk-*.js",
|
|
58
|
-
"dist/server-*.js",
|
|
59
|
-
"dist/auth-*.js",
|
|
60
|
-
"dist/run-tests-*.js",
|
|
61
|
-
"dist/hub-*.js",
|
|
62
|
-
"dist/hub-server-*.js",
|
|
63
|
-
"dist/agent-client-*.js",
|
|
64
|
-
"dist/task-orchestrator-*.js",
|
|
56
|
+
"dist/*.js",
|
|
65
57
|
"dist/web/",
|
|
66
58
|
"dist/wasm/",
|
|
67
59
|
"README.md"
|