zen-code 2.2.0 → 2.4.0
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/{MultiSelect-DPUY1M3X.mjs → MultiSelect-DrVbSEyF.mjs} +2 -1
- package/dist/{app-DSomQ6O6.mjs → app-lHPjGHmt.mjs} +3786 -2801
- package/dist/{checkpoint-1sAx_j1E-DxhHzrFo.mjs → checkpoint-1sAx_j1E-C0EYTuT-.mjs} +2 -2
- package/dist/{checkpoint-DxiUsHMy-DQXGrxXE.mjs → checkpoint-DxiUsHMy-CAOqcFbm.mjs} +2 -2
- package/dist/{devtools-BxIzBVXg.mjs → devtools-DpL9Fl6d.mjs} +658 -649
- package/dist/{graph-DDkv1rqg.mjs → graph-aTwGGPhX.mjs} +6852 -6365
- package/dist/{id-CzaxLw8O.mjs → id-D-r9rdKn.mjs} +1 -1
- package/dist/{index-C1CZncrT.mjs → index-CXBzoLA3.mjs} +3 -3
- package/dist/index-DpsJ-2by.mjs +23 -0
- package/dist/nonInteractive.mjs +2 -2
- package/dist/{queue-BSCnCent-CSGRBLST.mjs → queue-D6tEGCGs-84eznfPM.mjs} +21 -15
- package/dist/{shallow-DwTxKmlC.mjs → shallow-BYTBwLe_.mjs} +3 -3
- package/dist/{use-input-CQELhJxU.mjs → use-input-1eSjZocJ.mjs} +751 -748
- package/dist/zen-code.mjs +2 -2
- package/dist/zen-init.mjs +3 -3
- package/dist/zen-keyboard.mjs +1 -1
- package/package.json +12 -12
- package/dist/index-B5v_6qaq.mjs +0 -22
package/dist/zen-code.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "./use-input-
|
|
1
|
+
import "./use-input-1eSjZocJ.mjs";
|
|
2
2
|
import "chalk";
|
|
3
|
-
import "./app-
|
|
3
|
+
import "./app-lHPjGHmt.mjs";
|
package/dist/zen-init.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as t, j as e, B as o, T as r, r as U } from "./use-input-
|
|
1
|
+
import { a as t, j as e, B as o, T as r, r as U } from "./use-input-1eSjZocJ.mjs";
|
|
2
2
|
import "chalk";
|
|
3
|
-
import { u as A, S as O, M as T, a as B, b as R, g as K } from "./MultiSelect-
|
|
4
|
-
import { d as M, u as v, i as L } from "./index-
|
|
3
|
+
import { u as A, S as O, M as T, a as B, b as R, g as K } from "./MultiSelect-DrVbSEyF.mjs";
|
|
4
|
+
import { d as M, u as v, i as L } from "./index-DpsJ-2by.mjs";
|
|
5
5
|
const N = ({ onNext: l, onExit: i }) => {
|
|
6
6
|
A((c, d) => {
|
|
7
7
|
d.return ? l() : d.ctrl && c === "c" && i();
|
package/dist/zen-keyboard.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zen-code",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/cli.mjs",
|
|
6
6
|
"bin": "./dist/cli.mjs",
|
|
@@ -12,28 +12,28 @@
|
|
|
12
12
|
"license": "Apache-2.0",
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@anthropic-ai/sdk": "^0.71.2",
|
|
15
|
-
"@langchain/anthropic": "1.
|
|
16
|
-
"@langchain/core": "^1",
|
|
17
|
-
"@langchain/langgraph": "^1.0
|
|
15
|
+
"@langchain/anthropic": "1.3.10",
|
|
16
|
+
"@langchain/core": "^1.1.15",
|
|
17
|
+
"@langchain/langgraph": "^1.1.0",
|
|
18
18
|
"@langchain/openai": "1.1.3",
|
|
19
19
|
"@langgraph-js/pure-graph": "^2.10.0",
|
|
20
20
|
"chalk": "^5.6.2",
|
|
21
|
-
"execa": "^9.6.
|
|
21
|
+
"execa": "^9.6.1",
|
|
22
22
|
"extract-zip": "^2.0.1",
|
|
23
23
|
"fs-extra": "^11.3.3",
|
|
24
24
|
"langchain": "1.1.1",
|
|
25
25
|
"lowdb": "^7.0.1",
|
|
26
|
-
"marked": "^16.2
|
|
26
|
+
"marked": "^16.4.2",
|
|
27
27
|
"marked-terminal": "^7.3.0",
|
|
28
28
|
"node-notifier": "^10.0.1",
|
|
29
|
-
"node-sqlite3-wasm": "^0.8.
|
|
30
|
-
"openai": "^6.
|
|
29
|
+
"node-sqlite3-wasm": "^0.8.53",
|
|
30
|
+
"openai": "^6.16.0",
|
|
31
31
|
"path-exists": "^5.0.0",
|
|
32
32
|
"string-width": "^8.1.0",
|
|
33
33
|
"tempy": "^3.1.0",
|
|
34
34
|
"xdg-basedir": "^5.1.0",
|
|
35
35
|
"yaml": "^2.8.2",
|
|
36
|
-
"zod": "^4"
|
|
36
|
+
"zod": "^4.3.5"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@inkjs/ui": "^2.0.0",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@types/fs-extra": "^11.0.4",
|
|
45
45
|
"@types/marked-terminal": "^6.1.1",
|
|
46
46
|
"@types/node-notifier": "^8.0.5",
|
|
47
|
-
"@types/react": "^19.
|
|
47
|
+
"@types/react": "^19.2.8",
|
|
48
48
|
"@vitejs/plugin-react": "^5.1.2",
|
|
49
49
|
"comlink": "^4.4.2",
|
|
50
50
|
"diff-match-patch": "^1.0.5",
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"ink-spinner": "^5.0.0",
|
|
54
54
|
"ink-syntax-highlight": "^2.0.2",
|
|
55
55
|
"ink-text-input": "^6.0.0",
|
|
56
|
-
"react": "^19.
|
|
57
|
-
"vite": "^7.3.
|
|
56
|
+
"react": "^19.2.3",
|
|
57
|
+
"vite": "^7.3.1",
|
|
58
58
|
"vite-bundle-analyzer": "^1.3.2",
|
|
59
59
|
"vite-plugin-static-copy": "^3.1.4"
|
|
60
60
|
},
|
package/dist/index-B5v_6qaq.mjs
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Low as e } from "lowdb";
|
|
2
|
-
import { JSONFile as t } from "lowdb/node";
|
|
3
|
-
import c from "node:os";
|
|
4
|
-
import r from "node:path";
|
|
5
|
-
const o = {
|
|
6
|
-
config: {
|
|
7
|
-
main_model: "claude-sonnet-4-5",
|
|
8
|
-
model_provider: "openai"
|
|
9
|
-
}
|
|
10
|
-
}, s = c.homedir(), d = r.join(s, ".code-graph.json"), _ = new t(d), a = new e(_, o), l = async () => {
|
|
11
|
-
await a.read(), (!a.data || !a.data.config) && (a.data = o, await a.write()), i();
|
|
12
|
-
}, u = () => a.data.config, i = () => {
|
|
13
|
-
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);
|
|
14
|
-
}, v = async (n) => {
|
|
15
|
-
Object.assign(a.data.config, n), await a.write(), i();
|
|
16
|
-
};
|
|
17
|
-
export {
|
|
18
|
-
d,
|
|
19
|
-
u as g,
|
|
20
|
-
l as i,
|
|
21
|
-
v as u
|
|
22
|
-
};
|