-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 4.49 KB
/
Copy pathpackage.json
File metadata and controls
91 lines (91 loc) · 4.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"name": "rwkv-harness",
"version": "1.0.0",
"description": "",
"scripts": {
"tell": "tsx src/cli.ts tell",
"interactive": "tsx src/cli.ts interactive",
"chapter": "tsx src/cli.ts chapter",
"plan": "tsx src/cli.ts plan",
"continue": "tsx src/cli.ts continue",
"checkpoint": "tsx src/cli.ts checkpoint",
"state-info": "tsx src/cli.ts state-info",
"gateway": "tsx src/cli.ts gateway",
"gateway:start": "nohup tsx src/cli.ts gateway > .gateway.log 2>&1 & echo $! > .gateway.pid && echo 'Gateway started PID '$(cat .gateway.pid)",
"gateway:stop": "kill $(cat .gateway.pid 2>/dev/null) 2>/dev/null; rm -f .gateway.pid; echo 'Gateway stopped'",
"gateway:restart": "pnpm gateway:stop && sleep 1 && pnpm gateway:start",
"gateway:status": "if [ -f .gateway.pid ] && kill -0 $(cat .gateway.pid) 2>/dev/null; then echo 'Gateway running PID '$(cat .gateway.pid); else echo 'Gateway not running'; fi",
"gateway:logs": "cat .gateway.log",
"gateway:tail-logs": "tail -f .gateway.log",
"eval:logs": "cat .eval.log",
"eval:tail-logs": "tail -f .eval.log",
"tui": "tsx src/cli.ts tui",
"agent": "tsx src/cli.ts agent",
"eval": "tsx src/eval/story-creation.eval.ts",
"eval:live": "tsx src/eval/story-creation.eval.ts --live",
"eval:cases": "tsx src/eval/cases.eval.ts",
"eval:cases:live": "echo 'eval:cases:live not yet implemented — needs /rpc/inject endpoint' && exit 1",
"build:native": "cd native/rwkv-bindings/rwkv-bindings && cargo build --release && cp target/release/librwkv_bindings.so ../../rwkv-bindings.linux-x64-gnu.node",
"typecheck": "tsc --noEmit",
"bench:placement": "bash scripts/bench-placement.sh",
"test:trace": "tsx src/eval/trace-writer.test.ts",
"test:agent": "tsx src/agents/agent.test.ts",
"test:loop-edge": "tsx src/eval/loop-edge.eval.ts",
"test:max-token": "tsx src/eval/max-token.eval.ts",
"test:format-strictness": "tsx src/eval/format-strictness.test.ts",
"test:frontmatter": "tsx src/agents/storyteller/frontmatter.test.ts",
"test:chapter": "tsx src/eval/chapter-eval.ts",
"test:storyteller-context": "tsx src/eval/storyteller-context.eval.ts",
"test:storyteller-context-full": "tsx src/eval/storyteller-context-full.eval.ts",
"test:live-grammar-debug": "tsx src/eval/live-grammar-debug.ts",
"test:vram-residency": "tsx src/model/vram-residency.test.ts",
"test:state-tune": "tsx src/core/state-tune-cache.test.ts",
"test:log-stream": "tsx src/core/log-stream.test.ts",
"test:workspace": "tsx src/core/workspace.test.ts",
"test:core": "pnpm test:state-tune && pnpm test:log-stream && pnpm test:workspace",
"convert:rwkv": "python3 scripts/convert-rwkv.py",
"dev:setup": "pnpm install && pnpm build:native",
"grammar:preview": "tsx scripts/preview-grammar.ts",
"test:grammar": "pnpm test:grammar:valid && pnpm test:grammar:invalid && pnpm test:grammar:gen",
"test:grammar:valid": "tsx src/grammars/grammar-valid.test.ts",
"test:grammar:invalid": "tsx src/grammars/grammar-invalid.test.ts",
"test:grammar:gen": "tsx src/grammars/grammar-gen.test.ts",
"inference:start": "bash scripts/inference-start.sh",
"inference:stop": "if [ -f .inference.pid ]; then PID=$(cat .inference.pid); kill $PID 2>/dev/null && echo \"Inference stopped (PID $PID)\" || echo \"Inference process $PID not running\"; rm -f .inference.pid; else echo 'Inference not running'; fi",
"inference:restart": "pnpm inference:stop; sleep 1; pnpm inference:start",
"inference:status": "if [ -f .inference.pid ] && kill -0 $(cat .inference.pid) 2>/dev/null; then echo 'Inference running — PID '$(cat .inference.pid)', port 3130, log: .inference.log'; else echo 'Inference not running'; fi",
"inference:logs": "cat .inference.log",
"inference:tail-logs": "tail -f .inference.log"
},
"keywords": [],
"author": "",
"license": "ISC",
"devEngines": {
"packageManager": {
"name": "pnpm",
"version": "11.9.0",
"onFail": "download"
}
},
"type": "module",
"dependencies": {
"@orpc/client": "^1.14.6",
"@orpc/contract": "^1.14.6",
"@orpc/openapi": "^1.14.6",
"@orpc/openapi-client": "^1.14.6",
"@orpc/server": "^1.14.6",
"@orpc/zod": "^1.14.6",
"express": "^5.2.1",
"filesniffer": "^1.0.3",
"simple-grep": "^0.0.1",
"typescript": "^6.0.3",
"ws": "^8.21.0",
"zod": "^4.4.3"
},
"devDependencies": {
"@types/express": "^5.0.6",
"@types/node": "^26.0.1",
"@types/ws": "^8.18.1",
"tsx": "^4.22.4"
}
}