-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathjustfile
More file actions
81 lines (61 loc) · 2.33 KB
/
Copy pathjustfile
File metadata and controls
81 lines (61 loc) · 2.33 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
default:
just --list
check-aisdk-boundary:
bash scripts/check-aisdk-boundary.sh
dev:
cargo r
remote-client-build:
cd remote-client && bun install && bun run build
remote-host-dev bind="127.0.0.1:8421":
cargo r -- serve --bind "{{ bind }}"
[doc('Phone on same LAN: http://<this-machine-ip>:4271 (API proxied to {{ api }} on the host)')]
remote-client-dev api="http://127.0.0.1:8421":
cd remote-client && CRABCODE_REMOTE_API_ORIGIN="{{ api }}" bun run dev
dist-build *args:
just remote-client-build
dist build {{ args }}
preview *args:
./target/release/crabcode {{ args }}
dpreview *args:
./target/debug/crabcode {{ args }}
gen-themes *args:
bun run scripts/gen-themes.ts {{ args }}
[doc("""
Agent self-eval benchmarks (crabcode / opencode / codex / grok-build).
Pass-through args to scripts/bench-agents.ts. Reports → benchmark-reports/
just bench-agents
just bench-agents --model openai/gpt-5.5
just bench-agents --tasks bugfix-js,add-rust-test --model openai/gpt-5.5
just bench-agents --agents crabcode,grok-build
just bench-agents --agents crabcode,grok-build --tasks bugfix-js --model grok-4.5
BENCH_CRABCODE_REASONING=high just bench-agents --model openai/gpt-5.5
just bench-agents --list-tasks
just bench-agents --estimate
just bench-agents --help
Crabcode reasoning: BENCH_CRABCODE_REASONING (default medium).
OpenAI model ids may fail on grok-build — use an xAI model or drop it from --agents.
""")]
bench-agents *args:
bun run scripts/bench-agents.ts {{ args }}
[doc("""
Startup + idle-CPU perf vs peer CLIs.
A) hyperfine --version B) PTY first-frame C) idle CPU after settle
Ends with: Add this to PERF.md? [y/N]
just bench-perf
just bench-perf --agents crabcode,codex,grok
just bench-perf --section idle --settle 5 --sample 15
just bench-perf --write-perf # skip prompt, update PERF.md
just bench-perf --no-write-perf # skip prompt, don't update
cargo build --release && PATH="./target/release:$PATH" just bench-perf
""")]
bench-perf *args:
python3 scripts/bench-perf.py {{ args }}
devdocs:
gittydocs dev _docs
log:
tail -f app.log
sync_readme:
cp README.md npm/README.md
[doc('Release: bump versions, commit, and tag from main (just tag [patch|minor|major])')]
tag bump="":
sh scripts/tag_and_release.sh {{ bump }}