zen-code 2.5.0 → 3.0.1
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/FileSystemConfigStore-Bog5vylu.mjs +47 -0
- package/dist/FileSystemPluginStore-ChortK7z.mjs +64 -0
- package/dist/FileSystemSkillStore-yvEvcRxB.mjs +94 -0
- package/dist/{app-D7EFi2lc.mjs → app-BENrPmmM.mjs} +4399 -3710
- package/dist/{checkpoint-1sAx_j1E-2KEgQSbn.mjs → checkpoint-1sAx_j1E-DqcSZLfo.mjs} +2 -2
- package/dist/{checkpoint-DxiUsHMy-CvsyiZdv.mjs → checkpoint-DxiUsHMy-BfuW8IQl.mjs} +2 -2
- package/dist/{MultiSelect-DrVbSEyF.mjs → get_allowed_models-CHQu5hlT.mjs} +38 -39
- package/dist/{graph-aTwGGPhX.mjs → graphBuilder-BIhxVliV.mjs} +5025 -4669
- package/dist/{id-D-r9rdKn.mjs → id-DSgIWJsu.mjs} +1 -1
- package/dist/{index-D25iqtGU.mjs → index-BZ3paLuT.mjs} +3 -3
- package/dist/index-P-c4tqBO.mjs +194 -0
- package/dist/nonInteractive.mjs +31 -26
- package/dist/{queue-D6tEGCGs-Bv6hdJDG.mjs → queue-D6tEGCGs-C_LiNO7O.mjs} +1 -1
- package/dist/{shallow-B61ANZTA.mjs → shallow-EW7Q1ZFs.mjs} +3 -3
- package/dist/tasks-D9VxaG3A.mjs +112 -0
- package/dist/zen-code.mjs +1 -1
- package/dist/zen-init.mjs +43 -43
- package/package.json +13 -3
- package/dist/index-DpsJ-2by.mjs +0 -23
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zen-code",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/cli.mjs",
|
|
6
6
|
"bin": "./dist/cli.mjs",
|
|
@@ -40,6 +40,8 @@
|
|
|
40
40
|
"@langchain/mcp-adapters": "^1.1.1",
|
|
41
41
|
"@langgraph-js/sdk": "^4.4.0",
|
|
42
42
|
"@nanostores/react": "^1.0.0",
|
|
43
|
+
"@testing-library/react": "^16.3.2",
|
|
44
|
+
"@testing-library/user-event": "^14.6.1",
|
|
43
45
|
"@types/diff-match-patch": "^1.0.36",
|
|
44
46
|
"@types/fs-extra": "^11.0.4",
|
|
45
47
|
"@types/marked-terminal": "^6.1.1",
|
|
@@ -48,6 +50,7 @@
|
|
|
48
50
|
"@vitejs/plugin-react": "^5.1.2",
|
|
49
51
|
"comlink": "^4.4.2",
|
|
50
52
|
"diff-match-patch": "^1.0.5",
|
|
53
|
+
"happy-dom": "^20.3.9",
|
|
51
54
|
"ink": "^6.6.0",
|
|
52
55
|
"ink-markdown": "^1.0.4",
|
|
53
56
|
"ink-spinner": "^5.0.0",
|
|
@@ -56,7 +59,11 @@
|
|
|
56
59
|
"react": "^19.2.3",
|
|
57
60
|
"vite": "^7.3.1",
|
|
58
61
|
"vite-bundle-analyzer": "^1.3.2",
|
|
59
|
-
"vite-plugin-static-copy": "^3.1.4"
|
|
62
|
+
"vite-plugin-static-copy": "^3.1.4",
|
|
63
|
+
"vitest": "^4.0.18",
|
|
64
|
+
"@codegraph/agent": "1.0.0",
|
|
65
|
+
"@codegraph/union-client": "1.0.0",
|
|
66
|
+
"@codegraph/config": "1.0.0"
|
|
60
67
|
},
|
|
61
68
|
"babel": {
|
|
62
69
|
"presets": [
|
|
@@ -66,6 +73,9 @@
|
|
|
66
73
|
"scripts": {
|
|
67
74
|
"dev": "bun run src/app.tsx",
|
|
68
75
|
"build": "vite build",
|
|
69
|
-
"prepublish": "pnpm build"
|
|
76
|
+
"prepublish": "pnpm build",
|
|
77
|
+
"test": "vitest",
|
|
78
|
+
"test:ui": "vitest --ui",
|
|
79
|
+
"test:coverage": "vitest --coverage"
|
|
70
80
|
}
|
|
71
81
|
}
|
package/dist/index-DpsJ-2by.mjs
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Low as s } from "lowdb";
|
|
2
|
-
import { JSONFile as c } from "lowdb/node";
|
|
3
|
-
import d from "node:os";
|
|
4
|
-
import i from "node:path";
|
|
5
|
-
import e from "node:fs";
|
|
6
|
-
const n = {
|
|
7
|
-
config: {
|
|
8
|
-
main_model: "claude-sonnet-4-5",
|
|
9
|
-
model_provider: "openai"
|
|
10
|
-
}
|
|
11
|
-
}, f = d.homedir(), o = i.join(f, ".zen-code"), _ = i.join(o, "settings.json"), p = new c(_), a = new s(p, n), w = async () => {
|
|
12
|
-
await e.promises.mkdir(o, { recursive: !0 }), await a.read(), (!a.data || !a.data.config) && (a.data = n, await a.write()), t();
|
|
13
|
-
}, E = () => a.data.config, t = () => {
|
|
14
|
-
a.data.config.model_provider && (process.env.MODEL_PROVIDER = a.data.config.model_provider), a.data.config.openai_api_key && (process.env.OPENAI_API_KEY = a.data.config.openai_api_key), a.data.config.openai_base_url && (process.env.OPENAI_BASE_URL = a.data.config.openai_base_url), a.data.config.anthropic_api_key && (process.env.ANTHROPIC_API_KEY = a.data.config.anthropic_api_key), a.data.config.anthropic_base_url && (process.env.ANTHROPIC_BASE_URL = a.data.config.anthropic_base_url);
|
|
15
|
-
}, b = async (r) => {
|
|
16
|
-
await e.promises.mkdir(o, { recursive: !0 }), Object.assign(a.data.config, r), await a.write(), t();
|
|
17
|
-
};
|
|
18
|
-
export {
|
|
19
|
-
_ as d,
|
|
20
|
-
E as g,
|
|
21
|
-
w as i,
|
|
22
|
-
b as u
|
|
23
|
-
};
|