agent-from-zero 0.31.0 → 0.32.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/agent.js +14 -1
- package/dist/context.js +4 -3
- package/dist/ink/app.js +518 -0
- package/dist/ink/chat.js +22 -0
- package/dist/ink/commands.js +103 -0
- package/dist/ink/launch.js +15 -0
- package/dist/ink/main.js +4 -0
- package/dist/ink/setup.js +104 -0
- package/dist/ink/sink.js +50 -0
- package/dist/loop.js +142 -81
- package/dist/output.js +50 -0
- package/dist/tui.js +12 -0
- package/dist/ui.js +26 -5
- package/package.json +5 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-from-zero",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.32.1",
|
|
4
4
|
"description": "Build a Claude Code-style CLI agent from scratch, with AI as your pair programmer — companion code for a 10-day tutorial (DeepSeek by default, any OpenAI-compatible model)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
],
|
|
13
13
|
"scripts": {
|
|
14
14
|
"start": "tsx --env-file=.env src/agent.ts",
|
|
15
|
+
"ink": "tsx --env-file=.env src/ink/main.tsx",
|
|
15
16
|
"typecheck": "tsc --noEmit",
|
|
16
17
|
"eval": "tsx --env-file=.env eval/run.ts",
|
|
17
18
|
"build": "tsc -p tsconfig.build.json",
|
|
@@ -25,14 +26,17 @@
|
|
|
25
26
|
"dependencies": {
|
|
26
27
|
"chalk": "^5.6.2",
|
|
27
28
|
"cli-table3": "^0.6.5",
|
|
29
|
+
"ink": "^5.2.1",
|
|
28
30
|
"marked": "^15.0.12",
|
|
29
31
|
"marked-terminal": "^7.3.0",
|
|
30
32
|
"openai": "^6.42.0",
|
|
31
33
|
"ora": "^9.4.0",
|
|
34
|
+
"react": "^18.3.1",
|
|
32
35
|
"wrap-ansi": "^10.0.0"
|
|
33
36
|
},
|
|
34
37
|
"devDependencies": {
|
|
35
38
|
"@types/node": "^25.9.2",
|
|
39
|
+
"@types/react": "^18.3.31",
|
|
36
40
|
"tsx": "^4.22.4",
|
|
37
41
|
"typescript": "^6.0.3"
|
|
38
42
|
}
|