zen-code 4.2.0 → 4.3.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/app-Dy9hkwWD.mjs +14467 -0
- package/dist/{checkpoint-1sAx_j1E-C7OZFRPe.mjs → checkpoint-1sAx_j1E-DhkeZ_II.mjs} +2 -2
- package/dist/{checkpoint-DxiUsHMy-LKqXeDEy.mjs → checkpoint-DxiUsHMy-_eGVKDHU.mjs} +2 -2
- package/dist/{graphBuilder-B3T9KyfH.mjs → graphBuilder-2Ioob7L7.mjs} +63 -50
- package/dist/{id-DAEnqc1v.mjs → id-CxmtJIkV.mjs} +1 -1
- package/dist/{index-B9w1j1Jz.mjs → index-BtzTnQfe.mjs} +13 -13
- package/dist/{index-D7W7mYQR.mjs → index-CwuY4ELx.mjs} +3 -3
- package/dist/index-DeHHUkFW.mjs +23 -0
- package/dist/{memories-D7PFLLlR.mjs → memories-Dqh58QqM.mjs} +1 -1
- package/dist/nonInteractive.mjs +1 -1
- package/dist/{queue-D6tEGCGs-C8z6cY9y.mjs → queue-D6tEGCGs-C6wkO825.mjs} +1 -1
- package/dist/{shallow-ChkcFpXh.mjs → shallow-Bky_pv_P.mjs} +3 -3
- package/dist/{subTasks-PsCKmIx0.mjs → subTasks-Cklo326x.mjs} +1 -1
- package/dist/zen-code.mjs +1 -1
- package/package.json +4 -3
- package/dist/app-DWJrZDvr.mjs +0 -12316
- package/dist/tasks-Dmf3N6e4.mjs +0 -237
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { K as T } from "./kysely-Bchvsze0.mjs";
|
|
2
2
|
import { F as r } from "./sql-CJsUpKEQ.mjs";
|
|
3
|
-
import { B as f, T as l, c as y, m } from "./app-
|
|
4
|
-
import "./graphBuilder-
|
|
3
|
+
import { B as f, T as l, c as y, m } from "./app-Dy9hkwWD.mjs";
|
|
4
|
+
import "./graphBuilder-2Ioob7L7.mjs";
|
|
5
5
|
const g = ["source", "step", "parents"];
|
|
6
6
|
const E = g;
|
|
7
7
|
class w extends f {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as l, B as N, W as k, m as y } from "./app-
|
|
2
|
-
import "./graphBuilder-
|
|
1
|
+
import { T as l, B as N, W as k, m as y } from "./app-Dy9hkwWD.mjs";
|
|
2
|
+
import "./graphBuilder-2Ioob7L7.mjs";
|
|
3
3
|
import w from "pg";
|
|
4
4
|
const S = (h) => [
|
|
5
5
|
"checkpoints",
|
|
@@ -36599,7 +36599,7 @@ async function G9(t) {
|
|
|
36599
36599
|
name: "subagents",
|
|
36600
36600
|
description: "Task delegation to specialized agents",
|
|
36601
36601
|
execute: async () => {
|
|
36602
|
-
const { SubAgentsMiddleware: i } = await import("./subTasks-
|
|
36602
|
+
const { SubAgentsMiddleware: i } = await import("./subTasks-Cklo326x.mjs");
|
|
36603
36603
|
return new i(t);
|
|
36604
36604
|
}
|
|
36605
36605
|
};
|
|
@@ -36610,7 +36610,7 @@ async function G9(t) {
|
|
|
36610
36610
|
description: "Knowledge persistence",
|
|
36611
36611
|
execute: async (i) => {
|
|
36612
36612
|
i.projectMemoriesDir = i.projectMemoriesDir || "./.claude/memories";
|
|
36613
|
-
const { MemoriesMiddleware: a } = await import("./memories-
|
|
36613
|
+
const { MemoriesMiddleware: a } = await import("./memories-Dqh58QqM.mjs");
|
|
36614
36614
|
return new a(i);
|
|
36615
36615
|
}
|
|
36616
36616
|
};
|
|
@@ -36621,7 +36621,7 @@ async function G9(t) {
|
|
|
36621
36621
|
description: "Progressive skills disclosure",
|
|
36622
36622
|
execute: async (i) => {
|
|
36623
36623
|
i.projectSkillsDir = i.projectSkillsDir || "./.claude/skills";
|
|
36624
|
-
const { SkillsMiddleware: a } = await import("./index-
|
|
36624
|
+
const { SkillsMiddleware: a } = await import("./index-BtzTnQfe.mjs");
|
|
36625
36625
|
return new a(i);
|
|
36626
36626
|
}
|
|
36627
36627
|
};
|
|
@@ -36631,7 +36631,7 @@ async function G9(t) {
|
|
|
36631
36631
|
name: "agents_md",
|
|
36632
36632
|
description: "Inject agent documentation",
|
|
36633
36633
|
execute: async (i) => {
|
|
36634
|
-
const { AgentsMdMiddleware: a } = await import("./index-
|
|
36634
|
+
const { AgentsMdMiddleware: a } = await import("./index-BtzTnQfe.mjs");
|
|
36635
36635
|
return new a({ projectRoot: i?.projectRoot });
|
|
36636
36636
|
}
|
|
36637
36637
|
};
|
|
@@ -48706,54 +48706,67 @@ function pV() {
|
|
|
48706
48706
|
}
|
|
48707
48707
|
const pZ = pV();
|
|
48708
48708
|
export {
|
|
48709
|
-
|
|
48710
|
-
|
|
48711
|
-
|
|
48712
|
-
|
|
48713
|
-
|
|
48714
|
-
|
|
48715
|
-
|
|
48716
|
-
|
|
48717
|
-
|
|
48718
|
-
|
|
48719
|
-
|
|
48720
|
-
|
|
48709
|
+
Ar as $,
|
|
48710
|
+
tf as A,
|
|
48711
|
+
bl as B,
|
|
48712
|
+
Q1 as C,
|
|
48713
|
+
R4 as D,
|
|
48714
|
+
A4 as E,
|
|
48715
|
+
Wb as F,
|
|
48716
|
+
P4 as G,
|
|
48717
|
+
z4 as H,
|
|
48718
|
+
$0 as I,
|
|
48719
|
+
Pp as J,
|
|
48720
|
+
bI as K,
|
|
48721
|
+
Rs as L,
|
|
48721
48722
|
fC as M,
|
|
48722
|
-
|
|
48723
|
-
|
|
48723
|
+
rZ as N,
|
|
48724
|
+
T1 as O,
|
|
48724
48725
|
pC as P,
|
|
48725
|
-
|
|
48726
|
-
|
|
48727
|
-
|
|
48728
|
-
|
|
48729
|
-
|
|
48730
|
-
|
|
48731
|
-
|
|
48726
|
+
vp as Q,
|
|
48727
|
+
kx as R,
|
|
48728
|
+
sx as S,
|
|
48729
|
+
Jb as T,
|
|
48730
|
+
zg as U,
|
|
48731
|
+
rs as V,
|
|
48732
|
+
ZF as W,
|
|
48733
|
+
Ep as X,
|
|
48734
|
+
Sx as Y,
|
|
48732
48735
|
Q as Z,
|
|
48733
|
-
|
|
48734
|
-
|
|
48735
|
-
|
|
48736
|
-
|
|
48737
|
-
|
|
48738
|
-
|
|
48739
|
-
|
|
48740
|
-
|
|
48736
|
+
sZ as _,
|
|
48737
|
+
ix as a,
|
|
48738
|
+
ds as a0,
|
|
48739
|
+
fZ as a1,
|
|
48740
|
+
j9 as a2,
|
|
48741
|
+
z9 as a3,
|
|
48742
|
+
N9 as a4,
|
|
48743
|
+
E9 as a5,
|
|
48744
|
+
B4 as a6,
|
|
48745
|
+
wg as a7,
|
|
48746
|
+
nZ as a8,
|
|
48747
|
+
ax as b,
|
|
48748
|
+
ex as c,
|
|
48749
|
+
ox as d,
|
|
48750
|
+
cx as e,
|
|
48751
|
+
lx as f,
|
|
48752
|
+
Kb as g,
|
|
48753
|
+
ux as h,
|
|
48741
48754
|
dx as i,
|
|
48742
|
-
|
|
48743
|
-
|
|
48744
|
-
|
|
48745
|
-
|
|
48746
|
-
|
|
48747
|
-
|
|
48748
|
-
|
|
48749
|
-
|
|
48750
|
-
|
|
48751
|
-
|
|
48752
|
-
|
|
48753
|
-
|
|
48754
|
-
|
|
48755
|
-
|
|
48756
|
-
|
|
48757
|
-
|
|
48758
|
-
|
|
48755
|
+
hx as j,
|
|
48756
|
+
pZ as k,
|
|
48757
|
+
Mn as l,
|
|
48758
|
+
uC as m,
|
|
48759
|
+
uV as n,
|
|
48760
|
+
mC as o,
|
|
48761
|
+
E4 as p,
|
|
48762
|
+
T4 as q,
|
|
48763
|
+
gC as r,
|
|
48764
|
+
yC as s,
|
|
48765
|
+
k4 as t,
|
|
48766
|
+
C4 as u,
|
|
48767
|
+
$4 as v,
|
|
48768
|
+
fw as w,
|
|
48769
|
+
x4 as x,
|
|
48770
|
+
I4 as y,
|
|
48771
|
+
O4 as z
|
|
48759
48772
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { l as n } from "./graphBuilder-2Ioob7L7.mjs";
|
|
2
|
+
import { B as b, t as j, x as v, s as R, z as T, y as L, D as x, E as A, q as $, v as C, r as _, M as I, P as E, w as z, p as U, u as F, o as W, H as K, G as Y } from "./graphBuilder-2Ioob7L7.mjs";
|
|
3
3
|
import r from "node:fs/promises";
|
|
4
|
-
import { join as
|
|
4
|
+
import { join as m } from "node:path";
|
|
5
5
|
import { l as d } from "./load-Cjl9cJ0o.mjs";
|
|
6
6
|
const k = `
|
|
7
7
|
|
|
@@ -32,7 +32,7 @@ class g {
|
|
|
32
32
|
async findDocumentationFile() {
|
|
33
33
|
const s = ["CLAUDE.md", "AGENTS.md"];
|
|
34
34
|
for (const i of s) {
|
|
35
|
-
const l =
|
|
35
|
+
const l = m(this.projectRoot, i);
|
|
36
36
|
try {
|
|
37
37
|
return await r.access(l), { content: await r.readFile(l, "utf-8"), filename: i };
|
|
38
38
|
} catch {
|
|
@@ -179,31 +179,31 @@ class P {
|
|
|
179
179
|
s.systemPrompt ? o = s.systemPrompt + `
|
|
180
180
|
|
|
181
181
|
` + a : o = a;
|
|
182
|
-
const h = new n(o),
|
|
182
|
+
const h = new n(o), p = {
|
|
183
183
|
...s,
|
|
184
184
|
systemMessage: h
|
|
185
185
|
};
|
|
186
|
-
return await i(
|
|
186
|
+
return await i(p);
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
189
|
export {
|
|
190
190
|
b as AgentPackage,
|
|
191
191
|
j as AgentPackageSchema,
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
192
|
+
v as AgentRepository,
|
|
193
|
+
R as AgentSchema,
|
|
194
|
+
T as AgentSerializer,
|
|
195
195
|
L as AgentValidator,
|
|
196
196
|
g as AgentsMdMiddleware,
|
|
197
|
-
|
|
198
|
-
|
|
197
|
+
x as BaseStorage,
|
|
198
|
+
A as MemoryStorage,
|
|
199
199
|
$ as MiddlewareCustomParamsSchema,
|
|
200
200
|
C as MiddlewareRegistry,
|
|
201
201
|
_ as MiddlewareSchema,
|
|
202
202
|
I as ModelSchema,
|
|
203
203
|
E as PromptSchema,
|
|
204
204
|
P as SkillsMiddleware,
|
|
205
|
-
|
|
206
|
-
|
|
205
|
+
z as StandardAgent,
|
|
206
|
+
U as ToolCustomParamsSchema,
|
|
207
207
|
F as ToolRegistry,
|
|
208
208
|
W as ToolSchema,
|
|
209
209
|
K as anthropicPromptCachingMiddleware,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as C } from "./id-
|
|
2
|
-
import { B as v, c as x, T as $, m as I } from "./app-
|
|
3
|
-
import "./graphBuilder-
|
|
1
|
+
import { u as C } from "./id-CxmtJIkV.mjs";
|
|
2
|
+
import { B as v, c as x, T as $, m as I } from "./app-Dy9hkwWD.mjs";
|
|
3
|
+
import "./graphBuilder-2Ioob7L7.mjs";
|
|
4
4
|
import { createClient as O, createCluster as N } from "redis";
|
|
5
5
|
const W = [
|
|
6
6
|
{
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { A as s, C as m, F as o, e as c, S as i, a as p, d as h, b as k, h as n, f as g, g as T, T as f, c as l } from "./graphBuilder-2Ioob7L7.mjs";
|
|
2
|
+
import { FileSystemSkillStore as y } from "./FileSystemSkillStore-yvEvcRxB.mjs";
|
|
3
|
+
import { FileSystemPluginStore as F } from "./FileSystemPluginStore-ChortK7z.mjs";
|
|
4
|
+
import "lowdb";
|
|
5
|
+
import "lowdb/node";
|
|
6
|
+
import "micromatch";
|
|
7
|
+
export {
|
|
8
|
+
s as AgentTypeSchema,
|
|
9
|
+
m as ConfigManager,
|
|
10
|
+
o as FileSystemConfigStore,
|
|
11
|
+
F as FileSystemPluginStore,
|
|
12
|
+
y as FileSystemSkillStore,
|
|
13
|
+
c as SparkItemSchema,
|
|
14
|
+
i as SparkItemTypeSchema,
|
|
15
|
+
p as SparkPrioritySchema,
|
|
16
|
+
h as SparkSourceSchema,
|
|
17
|
+
k as SparkStatusSchema,
|
|
18
|
+
n as TaskExecutionRecordSchema,
|
|
19
|
+
g as TaskExecutionSchema,
|
|
20
|
+
T as TaskNodeSchema,
|
|
21
|
+
f as TaskStatusSchema,
|
|
22
|
+
l as createFSManager
|
|
23
|
+
};
|
package/dist/nonInteractive.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as $ } from "./id-
|
|
2
|
-
import { B as g } from "./app-
|
|
3
|
-
import "./graphBuilder-
|
|
1
|
+
import { u as $ } from "./id-CxmtJIkV.mjs";
|
|
2
|
+
import { B as g } from "./app-Dy9hkwWD.mjs";
|
|
3
|
+
import "./graphBuilder-2Ioob7L7.mjs";
|
|
4
4
|
import { createClient as T } from "redis";
|
|
5
5
|
function k(u) {
|
|
6
6
|
if (u === null || typeof u != "object") return JSON.stringify(u);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { tool as p, HumanMessage as d, SystemMessage as m } from "langchain";
|
|
2
2
|
import { Command as f, Annotation as b } from "@langchain/langgraph";
|
|
3
3
|
import { z as i } from "zod";
|
|
4
|
-
import {
|
|
4
|
+
import { m as w, n as y } from "./graphBuilder-2Ioob7L7.mjs";
|
|
5
5
|
import "@langchain/openai";
|
|
6
6
|
const k = i.object({
|
|
7
7
|
task_store: i.record(i.string(), i.any()).default({})
|
package/dist/zen-code.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zen-code",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/cli.mjs",
|
|
6
6
|
"bin": "./dist/cli.mjs",
|
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
"@langgraph-js/standard-agent": "1.1.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
+
"@tanstack/react-query": "^5.90.21",
|
|
41
42
|
"@inkjs/ui": "^2.0.0",
|
|
42
43
|
"@langchain/mcp-adapters": "^1.1.1",
|
|
43
44
|
"@langgraph-js/sdk": "^4.4.0",
|
|
@@ -65,8 +66,8 @@
|
|
|
65
66
|
"vitest": "^4.0.18",
|
|
66
67
|
"@codegraph/config": "1.0.0",
|
|
67
68
|
"@codegraph/agent": "1.0.0",
|
|
68
|
-
"
|
|
69
|
-
"
|
|
69
|
+
"@codegraph/union-client": "1.0.0",
|
|
70
|
+
"ink-pro": "1.0.0"
|
|
70
71
|
},
|
|
71
72
|
"babel": {
|
|
72
73
|
"presets": [
|