jinzd-ai-cli 0.2.14 → 0.2.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-EVOOSNVZ.js → chunk-MD3RCGWS.js} +1 -1
- package/dist/{chunk-S6ZN53TH.js → chunk-O6CGIXLJ.js} +1 -1
- package/dist/index.js +7 -4
- package/dist/{run-tests-Y6KJ7XIU.js → run-tests-MEMEB3J5.js} +1 -1
- package/dist/{server-QEAEWP4S.js → server-7UMR6ODJ.js} +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
theme,
|
|
36
36
|
truncateOutput,
|
|
37
37
|
undoStack
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-O6CGIXLJ.js";
|
|
39
39
|
import {
|
|
40
40
|
AGENTIC_BEHAVIOR_GUIDELINE,
|
|
41
41
|
AUTHOR,
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
REPO_URL,
|
|
56
56
|
SKILLS_DIR_NAME,
|
|
57
57
|
VERSION
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-MD3RCGWS.js";
|
|
59
59
|
|
|
60
60
|
// src/index.ts
|
|
61
61
|
import { program } from "commander";
|
|
@@ -1904,7 +1904,7 @@ ${hint}` : "")
|
|
|
1904
1904
|
description: "Run project tests and show structured report",
|
|
1905
1905
|
usage: "/test [command|filter]",
|
|
1906
1906
|
async execute(args, _ctx) {
|
|
1907
|
-
const { executeTests } = await import("./run-tests-
|
|
1907
|
+
const { executeTests } = await import("./run-tests-MEMEB3J5.js");
|
|
1908
1908
|
const argStr = args.join(" ").trim();
|
|
1909
1909
|
let testArgs = {};
|
|
1910
1910
|
if (argStr) {
|
|
@@ -5310,6 +5310,9 @@ Tip: You can continue the conversation by asking the AI to proceed.`
|
|
|
5310
5310
|
setProvider: (id, model) => {
|
|
5311
5311
|
this.currentProvider = id;
|
|
5312
5312
|
this.currentModel = model ?? this.config.get("defaultModels")[id] ?? this.providers.get(id).info.defaultModel;
|
|
5313
|
+
this.config.set("defaultProvider", id);
|
|
5314
|
+
const defaultModels = { ...this.config.get("defaultModels"), [id]: this.currentModel };
|
|
5315
|
+
this.config.set("defaultModels", defaultModels);
|
|
5313
5316
|
this.refreshPrompt();
|
|
5314
5317
|
this.events.emit("provider.switch", {
|
|
5315
5318
|
providerId: id,
|
|
@@ -5507,7 +5510,7 @@ program.command("web").description("Start Web UI server with browser-based chat
|
|
|
5507
5510
|
console.error("Error: Invalid port number. Must be between 1 and 65535.");
|
|
5508
5511
|
process.exit(1);
|
|
5509
5512
|
}
|
|
5510
|
-
const { startWebServer } = await import("./server-
|
|
5513
|
+
const { startWebServer } = await import("./server-7UMR6ODJ.js");
|
|
5511
5514
|
await startWebServer({ port, host: options.host });
|
|
5512
5515
|
});
|
|
5513
5516
|
program.command("user [action] [username]").description("Manage Web UI users (list | create <name> | delete <name> | reset-password <name> | migrate <name>)").action(async (action, username) => {
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
setupProxy,
|
|
24
24
|
spawnAgentContext,
|
|
25
25
|
truncateOutput
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-O6CGIXLJ.js";
|
|
27
27
|
import {
|
|
28
28
|
AGENTIC_BEHAVIOR_GUIDELINE,
|
|
29
29
|
CONTEXT_FILE_CANDIDATES,
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
PLAN_MODE_SYSTEM_ADDON,
|
|
36
36
|
SKILLS_DIR_NAME,
|
|
37
37
|
VERSION
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-MD3RCGWS.js";
|
|
39
39
|
import {
|
|
40
40
|
AuthManager
|
|
41
41
|
} from "./chunk-CPLT6CD3.js";
|