bots-garden/razorbillpublic Fork
⑂ c1b63b5
Commits
⬇ Clone ▾
git clone https://git.rickub.com/bots-garden/razorbill.git
git clone ssh://git@rickub.com/bots-garden/razorbill.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Download ZIP

release 0.3.0: version, notes EN+FR, milestone v0.3 closed; #61 dropped

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
k33g committed 2026-11-27T08:17:32+01:00 Browse files
c1b63b5 parent: aa4a11e
modified .memory/handoffs/2026-11-27-v0-3-tui-foundation.md +3 -0
@@ -42,3 +42,6 @@
4242 - #28 closed (GPU shows on the Mac). Machine line now two lines; status bar address last. v0.3 left: #63 (reasoning colour), then the 0.3.0 release.
4343 - bob did #63 (a517971): v0.3 tickets all closed; next is the 0.3.0 release.
4444 - riker: Olala spike report in #61 comment 1 (go with conditions); 9 tickets proposed, not created; task 2 needs reference outputs from the fork on the Mac.
45+
46+## Update: release 0.3.0 prepared
47+- Version 0.3.0 everywhere, notes in release-notes/v0.3.0*.md, milestone v0.3 closed, #61 dropped. Waiting for the user: `scripts/release.sh` on the Mac, then `git tag -a v0.3.0 -m "razorbill 0.3.0"` and push main + tag (SSH remote, from the Mac). If dist/ is root-owned: `sudo chown -R "$(whoami)" dist .build`.
@@ -42,3 +42,6 @@
42 - #28 closed (GPU shows on the Mac). Machine line now two lines; status bar address last. v0.3 left: #63 (reasoning colour), then the 0.3.0 release.42 - #28 closed (GPU shows on the Mac). Machine line now two lines; status bar address last. v0.3 left: #63 (reasoning colour), then the 0.3.0 release.
43 - bob did #63 (a517971): v0.3 tickets all closed; next is the 0.3.0 release.43 - bob did #63 (a517971): v0.3 tickets all closed; next is the 0.3.0 release.
44 - riker: Olala spike report in #61 comment 1 (go with conditions); 9 tickets proposed, not created; task 2 needs reference outputs from the fork on the Mac.44 - riker: Olala spike report in #61 comment 1 (go with conditions); 9 tickets proposed, not created; task 2 needs reference outputs from the fork on the Mac.
45+
46+## Update: release 0.3.0 prepared
47+- Version 0.3.0 everywhere, notes in release-notes/v0.3.0*.md, milestone v0.3 closed, #61 dropped. Waiting for the user: `scripts/release.sh` on the Mac, then `git tag -a v0.3.0 -m "razorbill 0.3.0"` and push main + tag (SSH remote, from the Mac). If dist/ is root-owned: `sudo chown -R "$(whoami)" dist .build`.
modified .memory/history.md +7 -0
@@ -554,3 +554,10 @@ open, a comment on each. main fast-forwarded.
554554 - **Goal**: user "agent bob: fait le #63 / agent riker: vérifie si tu sais faire tourner le modèle olala".
555555 - **bob (#63)**: reasoning in cyan (`Style.reasoning`, ANSI 36) for shown, folded and streaming reasoning; `⋯` prefix kept without colours; no `reasoning_color` preference (decision); the "waiting for the model" line stays dim. `ChatRendererTests` moved to their own file (file_length). Commit a517971; Linux 339, Mac 365, gate PASS run #44; docs EN+FR; #63 closed. All v0.3 tickets are now closed.
556556 - **riker (#61, research only)**: go with conditions — port the fork's plain-MLX reference path to Swift (~1,100–1,500 lines, 4–6 days + Mac iterations), Metal kernels optional later. No support anywhere upstream (mlx-swift-lm has Mamba-2 only; Python mlx-lm Mamba-3 PR open). Full report in comment 1 of #61, with 9 proposed tickets (not created, waiting for the user) and the Mac commands for reference outputs (task 2).
557+
558+## 2026-11-27 — Olala dropped, release 0.3.0 prepared
559+
560+- **Goal**: user "on oublie olala et on passe à la release 3".
561+- **Changes**: #61 closed (dropped, report kept); version 0.3.0 in `Razorbill.swift`, `VersionCommand` doc, the CLI version test, README, docs (tutorials, how-tos, CLI and HTTP references) and the diagram title; milestone `v0.3 — TUI` closed; release notes EN+FR `release-notes/v0.3.0*.md` (rzb tui and its four screens, /rzb routes + SIGHUP, streamed tokens in the history, mlx-swift-lm 3.33.0 and the 400 for unknown architectures). TUI test fixtures keep "0.2.0" as a fake server version on purpose.
562+- **Checks**: Linux 339, Mac 365, compat Linux 59/20, gate PASS, doc links OK.
563+- **Next**: the user runs `scripts/release.sh` on the Mac (clean tree, Release build, archive + sha256 in dist/), then tag `v0.3.0` and push main + tag from the Mac.
@@ -554,3 +554,10 @@ open, a comment on each. main fast-forwarded.
554 - **Goal**: user "agent bob: fait le #63 / agent riker: vérifie si tu sais faire tourner le modèle olala".554 - **Goal**: user "agent bob: fait le #63 / agent riker: vérifie si tu sais faire tourner le modèle olala".
555 - **bob (#63)**: reasoning in cyan (`Style.reasoning`, ANSI 36) for shown, folded and streaming reasoning; `⋯` prefix kept without colours; no `reasoning_color` preference (decision); the "waiting for the model" line stays dim. `ChatRendererTests` moved to their own file (file_length). Commit a517971; Linux 339, Mac 365, gate PASS run #44; docs EN+FR; #63 closed. All v0.3 tickets are now closed.555 - **bob (#63)**: reasoning in cyan (`Style.reasoning`, ANSI 36) for shown, folded and streaming reasoning; `⋯` prefix kept without colours; no `reasoning_color` preference (decision); the "waiting for the model" line stays dim. `ChatRendererTests` moved to their own file (file_length). Commit a517971; Linux 339, Mac 365, gate PASS run #44; docs EN+FR; #63 closed. All v0.3 tickets are now closed.
556 - **riker (#61, research only)**: go with conditions — port the fork's plain-MLX reference path to Swift (~1,100–1,500 lines, 4–6 days + Mac iterations), Metal kernels optional later. No support anywhere upstream (mlx-swift-lm has Mamba-2 only; Python mlx-lm Mamba-3 PR open). Full report in comment 1 of #61, with 9 proposed tickets (not created, waiting for the user) and the Mac commands for reference outputs (task 2).556 - **riker (#61, research only)**: go with conditions — port the fork's plain-MLX reference path to Swift (~1,100–1,500 lines, 4–6 days + Mac iterations), Metal kernels optional later. No support anywhere upstream (mlx-swift-lm has Mamba-2 only; Python mlx-lm Mamba-3 PR open). Full report in comment 1 of #61, with 9 proposed tickets (not created, waiting for the user) and the Mac commands for reference outputs (task 2).
557+
558+## 2026-11-27 — Olala dropped, release 0.3.0 prepared
559+
560+- **Goal**: user "on oublie olala et on passe à la release 3".
561+- **Changes**: #61 closed (dropped, report kept); version 0.3.0 in `Razorbill.swift`, `VersionCommand` doc, the CLI version test, README, docs (tutorials, how-tos, CLI and HTTP references) and the diagram title; milestone `v0.3 — TUI` closed; release notes EN+FR `release-notes/v0.3.0*.md` (rzb tui and its four screens, /rzb routes + SIGHUP, streamed tokens in the history, mlx-swift-lm 3.33.0 and the 400 for unknown architectures). TUI test fixtures keep "0.2.0" as a fake server version on purpose.
562+- **Checks**: Linux 339, Mac 365, compat Linux 59/20, gate PASS, doc links OK.
563+- **Next**: the user runs `scripts/release.sh` on the Mac (clean tree, Release build, archive + sha256 in dist/), then tag `v0.3.0` and push main + tag from the Mac.
modified .memory/summary.md +4 -0
@@ -166,6 +166,10 @@ Ctrl-R reloads). `TUIPreferences` + `TUIPreferencesLoader` live in Core (reuse `
166166 `/rzb/status` has `config_file`. TUIApp actions split into `TUIApp+Models.swift` and
167167 `TUIApp+Settings.swift` (members internal for that). `rzb tui` precedence: options > tui.yaml
168168 (`RZB_TUI_PREFERENCES` overrides its path) > --config > defaults.
169+Release 0.3.0 prepared 2026-11-27: version string `0.3.0` (Core, CLI test, docs, README, diagram
170+title), milestone `v0.3 — TUI` closed, notes in `release-notes/v0.3.0.md` / `.fr.md`; not tagged
171+yet (waits for `scripts/release.sh` on the Mac and the user's OK). #61 (Olala) closed as dropped by
172+the user; its report stays in comment 1.
169173 Machine (#26, #28): `SystemMonitor.measure` in Core (`Sources/RazorbillCore/System/`; Darwin:
170174 pressure sysctl, host_statistics64, vm.swapusage, proc_pid_rusage, IOKit IOAccelerator
171175 "Device Utilization %"; Linux: /proc) → `/rzb/status` `system` object (makeRouter `system:`
@@ -166,6 +166,10 @@ Ctrl-R reloads). `TUIPreferences` + `TUIPreferencesLoader` live in Core (reuse `
166 `/rzb/status` has `config_file`. TUIApp actions split into `TUIApp+Models.swift` and166 `/rzb/status` has `config_file`. TUIApp actions split into `TUIApp+Models.swift` and
167 `TUIApp+Settings.swift` (members internal for that). `rzb tui` precedence: options > tui.yaml167 `TUIApp+Settings.swift` (members internal for that). `rzb tui` precedence: options > tui.yaml
168 (`RZB_TUI_PREFERENCES` overrides its path) > --config > defaults.168 (`RZB_TUI_PREFERENCES` overrides its path) > --config > defaults.
169+Release 0.3.0 prepared 2026-11-27: version string `0.3.0` (Core, CLI test, docs, README, diagram
170+title), milestone `v0.3 — TUI` closed, notes in `release-notes/v0.3.0.md` / `.fr.md`; not tagged
171+yet (waits for `scripts/release.sh` on the Mac and the user's OK). #61 (Olala) closed as dropped by
172+the user; its report stays in comment 1.
169 Machine (#26, #28): `SystemMonitor.measure` in Core (`Sources/RazorbillCore/System/`; Darwin:173 Machine (#26, #28): `SystemMonitor.measure` in Core (`Sources/RazorbillCore/System/`; Darwin:
170 pressure sysctl, host_statistics64, vm.swapusage, proc_pid_rusage, IOKit IOAccelerator174 pressure sysctl, host_statistics64, vm.swapusage, proc_pid_rusage, IOKit IOAccelerator
171 "Device Utilization %"; Linux: /proc) → `/rzb/status` `system` object (makeRouter `system:`175 "Device Utilization %"; Linux: /proc) → `/rzb/status` `system` object (makeRouter `system:`
modified .quality/history.jsonl +1 -0
@@ -42,3 +42,4 @@
4242 {"branch": "feature/v0.3-tui", "breaches": ["warning-level issues: 1 (max 0)"], "commit": "3780f1a", "counts": {"warning": 1}, "gate": {"max_error": 0, "max_smells": 0, "max_warning": 0}, "gate_passed": false, "metrics": {"classes": 374, "complex": 945, "cyclo": 1101, "fields": 1998, "funcs": 997, "lcom": 181, "lines": 17665, "loc": 14066}, "qlty_version": "qlty 0.672.0 linux-arm64 (4362b62 2026-11-20)", "run": 42, "smells": 0, "swiftlint_version": "0.65.1", "timestamp": "2026-11-27T06:31:51Z"}
4343 {"branch": "feature/v0.3-tui", "breaches": [], "commit": "3780f1a", "counts": {}, "gate": {"max_error": 0, "max_smells": 0, "max_warning": 0}, "gate_passed": true, "metrics": {"classes": 375, "complex": 945, "cyclo": 1101, "fields": 2000, "funcs": 997, "lcom": 181, "lines": 17671, "loc": 14069}, "qlty_version": "qlty 0.672.0 linux-arm64 (4362b62 2026-11-20)", "run": 43, "smells": 0, "swiftlint_version": "0.65.1", "timestamp": "2026-11-27T06:32:10Z"}
4444 {"branch": "feature/v0.3-tui", "breaches": [], "commit": "783675c", "counts": {}, "gate": {"max_error": 0, "max_smells": 0, "max_warning": 0}, "gate_passed": true, "metrics": {"classes": 375, "complex": 945, "cyclo": 1102, "fields": 2008, "funcs": 1003, "lcom": 182, "lines": 17738, "loc": 14115}, "qlty_version": "qlty 0.672.0 linux-arm64 (4362b62 2026-11-20)", "run": 44, "smells": 0, "swiftlint_version": "0.65.1", "timestamp": "2026-11-27T07:05:16Z"}
45+{"branch": "feature/v0.3-tui", "breaches": [], "commit": "aa4a11e", "counts": {}, "gate": {"max_error": 0, "max_smells": 0, "max_warning": 0}, "gate_passed": true, "metrics": {"classes": 375, "complex": 945, "cyclo": 1102, "fields": 2008, "funcs": 1003, "lcom": 182, "lines": 17738, "loc": 14115}, "qlty_version": "qlty 0.672.0 linux-arm64 (4362b62 2026-11-20)", "run": 45, "smells": 0, "swiftlint_version": "0.65.1", "timestamp": "2026-11-27T07:15:59Z"}
@@ -42,3 +42,4 @@
42 {"branch": "feature/v0.3-tui", "breaches": ["warning-level issues: 1 (max 0)"], "commit": "3780f1a", "counts": {"warning": 1}, "gate": {"max_error": 0, "max_smells": 0, "max_warning": 0}, "gate_passed": false, "metrics": {"classes": 374, "complex": 945, "cyclo": 1101, "fields": 1998, "funcs": 997, "lcom": 181, "lines": 17665, "loc": 14066}, "qlty_version": "qlty 0.672.0 linux-arm64 (4362b62 2026-11-20)", "run": 42, "smells": 0, "swiftlint_version": "0.65.1", "timestamp": "2026-11-27T06:31:51Z"}42 {"branch": "feature/v0.3-tui", "breaches": ["warning-level issues: 1 (max 0)"], "commit": "3780f1a", "counts": {"warning": 1}, "gate": {"max_error": 0, "max_smells": 0, "max_warning": 0}, "gate_passed": false, "metrics": {"classes": 374, "complex": 945, "cyclo": 1101, "fields": 1998, "funcs": 997, "lcom": 181, "lines": 17665, "loc": 14066}, "qlty_version": "qlty 0.672.0 linux-arm64 (4362b62 2026-11-20)", "run": 42, "smells": 0, "swiftlint_version": "0.65.1", "timestamp": "2026-11-27T06:31:51Z"}
43 {"branch": "feature/v0.3-tui", "breaches": [], "commit": "3780f1a", "counts": {}, "gate": {"max_error": 0, "max_smells": 0, "max_warning": 0}, "gate_passed": true, "metrics": {"classes": 375, "complex": 945, "cyclo": 1101, "fields": 2000, "funcs": 997, "lcom": 181, "lines": 17671, "loc": 14069}, "qlty_version": "qlty 0.672.0 linux-arm64 (4362b62 2026-11-20)", "run": 43, "smells": 0, "swiftlint_version": "0.65.1", "timestamp": "2026-11-27T06:32:10Z"}43 {"branch": "feature/v0.3-tui", "breaches": [], "commit": "3780f1a", "counts": {}, "gate": {"max_error": 0, "max_smells": 0, "max_warning": 0}, "gate_passed": true, "metrics": {"classes": 375, "complex": 945, "cyclo": 1101, "fields": 2000, "funcs": 997, "lcom": 181, "lines": 17671, "loc": 14069}, "qlty_version": "qlty 0.672.0 linux-arm64 (4362b62 2026-11-20)", "run": 43, "smells": 0, "swiftlint_version": "0.65.1", "timestamp": "2026-11-27T06:32:10Z"}
44 {"branch": "feature/v0.3-tui", "breaches": [], "commit": "783675c", "counts": {}, "gate": {"max_error": 0, "max_smells": 0, "max_warning": 0}, "gate_passed": true, "metrics": {"classes": 375, "complex": 945, "cyclo": 1102, "fields": 2008, "funcs": 1003, "lcom": 182, "lines": 17738, "loc": 14115}, "qlty_version": "qlty 0.672.0 linux-arm64 (4362b62 2026-11-20)", "run": 44, "smells": 0, "swiftlint_version": "0.65.1", "timestamp": "2026-11-27T07:05:16Z"}44 {"branch": "feature/v0.3-tui", "breaches": [], "commit": "783675c", "counts": {}, "gate": {"max_error": 0, "max_smells": 0, "max_warning": 0}, "gate_passed": true, "metrics": {"classes": 375, "complex": 945, "cyclo": 1102, "fields": 2008, "funcs": 1003, "lcom": 182, "lines": 17738, "loc": 14115}, "qlty_version": "qlty 0.672.0 linux-arm64 (4362b62 2026-11-20)", "run": 44, "smells": 0, "swiftlint_version": "0.65.1", "timestamp": "2026-11-27T07:05:16Z"}
45+{"branch": "feature/v0.3-tui", "breaches": [], "commit": "aa4a11e", "counts": {}, "gate": {"max_error": 0, "max_smells": 0, "max_warning": 0}, "gate_passed": true, "metrics": {"classes": 375, "complex": 945, "cyclo": 1102, "fields": 2008, "funcs": 1003, "lcom": 182, "lines": 17738, "loc": 14115}, "qlty_version": "qlty 0.672.0 linux-arm64 (4362b62 2026-11-20)", "run": 45, "smells": 0, "swiftlint_version": "0.65.1", "timestamp": "2026-11-27T07:15:59Z"}
added .quality/report-20261127T071559Z.md +73 -0
new file mode 100644
@@ -0,0 +1,73 @@
1+# Quality report — 2026-11-27T07:15:59Z
2+
3+- **Gate**: ✅ **PASS**
4+- **Commit**: `aa4a11e` on `feature/v0.3-tui`
5+- **qlty**: qlty 0.672.0 linux-arm64 (4362b62 2026-11-20)
6+- **swiftlint**: 0.65.1 (run directly, merged into lint issues)
7+- **Run**: #45 (previous: 2026-11-27T07:05:16Z)
8+
9+## Lint issues (`qlty check`)
10+
11+_none_
12+
13+### Top rules
14+
15+_none_
16+
17+### Most affected files
18+
19+_none_
20+
21+## Code smells (`qlty smells`)
22+
23+Total: **0** (vs previous: ±0)
24+
25+_none_
26+
27+## Metrics (`qlty metrics`)
28+
29+| metric | total | vs previous |
30+|---|---|---|
31+| funcs | 1003 | ±0 |
32+| classes | 375 | ±0 |
33+| fields | 2008 | ±0 |
34+| cyclo | 1102 | ±0 |
35+| complex | 945 | ±0 |
36+| lcom | 182 | ±0 |
37+| lines | 17738 | ±0 |
38+| loc | 14115 | ±0 |
39+
40+### Most complex files
41+
42+| file | complex | cyclo | loc |
43+|---|---|---|---|
44+| Sources/RazorbillServer/CompletionsRoute.swift | 47 | 20 | 244 |
45+| Sources/RazorbillServer/Chat/CompletionStream.swift | 31 | 20 | 125 |
46+| Sources/RazorbillTUI/ChatScreen.swift | 31 | 41 | 230 |
47+| Sources/RazorbillTUI/TextLayout.swift | 28 | 15 | 63 |
48+| experiments/02-kv-cache-reuse/Sources/KVCacheReuse/KVCacheReuse.swift | 26 | 20 | 285 |
49+| Sources/RazorbillServer/ModelManager.swift | 25 | 26 | 268 |
50+| Sources/RazorbillTUI/DashboardScreen.swift | 24 | 22 | 136 |
51+| Sources/RazorbillMLX/MLXEngine.swift | 23 | 37 | 251 |
52+| Sources/RazorbillTUI/ServerAPI.swift | 23 | 23 | 158 |
53+| tools/host-runner/host_runner.py | 23 | 23 | 144 |
54+| Sources/RazorbillCore/Config/TUIPreferences.swift | 21 | 20 | 152 |
55+| Sources/RazorbillTUI/TUIApp.swift | 21 | 35 | 228 |
56+| Sources/RazorbillCore/Config/ConfigValue+JSON.swift | 20 | 25 | 71 |
57+| Sources/RazorbillCore/Config/ServerConfigLoader.swift | 20 | 17 | 227 |
58+| Sources/RazorbillTUI/Terminal.swift | 20 | 18 | 139 |
59+
60+## Trend
61+
62+| run | timestamp | error | warning | smells | complex | gate |
63+|---|---|---|---|---|---|---|
64+| 36 | 2026-11-26T21:35:08Z | 0 | 0 | 0 | 588 | PASS |
65+| 37 | 2026-11-27T04:12:05Z | 0 | 0 | 0 | 717 | PASS |
66+| 38 | 2026-11-27T04:37:14Z | 0 | 0 | 0 | 815 | PASS |
67+| 39 | 2026-11-27T05:12:36Z | 0 | 0 | 1 | 906 | FAIL |
68+| 40 | 2026-11-27T05:13:16Z | 0 | 0 | 0 | 890 | PASS |
69+| 41 | 2026-11-27T05:27:09Z | 0 | 0 | 0 | 915 | PASS |
70+| 42 | 2026-11-27T06:31:51Z | 0 | 1 | 0 | 945 | FAIL |
71+| 43 | 2026-11-27T06:32:10Z | 0 | 0 | 0 | 945 | PASS |
72+| 44 | 2026-11-27T07:05:16Z | 0 | 0 | 0 | 945 | PASS |
73+| 45 | 2026-11-27T07:15:59Z | 0 | 0 | 0 | 945 | PASS |
new file mode 100644
@@ -0,0 +1,73 @@
1+# Quality report — 2026-11-27T07:15:59Z
2+
3+- **Gate**: ✅ **PASS**
4+- **Commit**: `aa4a11e` on `feature/v0.3-tui`
5+- **qlty**: qlty 0.672.0 linux-arm64 (4362b62 2026-11-20)
6+- **swiftlint**: 0.65.1 (run directly, merged into lint issues)
7+- **Run**: #45 (previous: 2026-11-27T07:05:16Z)
8+
9+## Lint issues (`qlty check`)
10+
11+_none_
12+
13+### Top rules
14+
15+_none_
16+
17+### Most affected files
18+
19+_none_
20+
21+## Code smells (`qlty smells`)
22+
23+Total: **0** (vs previous: ±0)
24+
25+_none_
26+
27+## Metrics (`qlty metrics`)
28+
29+| metric | total | vs previous |
30+|---|---|---|
31+| funcs | 1003 | ±0 |
32+| classes | 375 | ±0 |
33+| fields | 2008 | ±0 |
34+| cyclo | 1102 | ±0 |
35+| complex | 945 | ±0 |
36+| lcom | 182 | ±0 |
37+| lines | 17738 | ±0 |
38+| loc | 14115 | ±0 |
39+
40+### Most complex files
41+
42+| file | complex | cyclo | loc |
43+|---|---|---|---|
44+| Sources/RazorbillServer/CompletionsRoute.swift | 47 | 20 | 244 |
45+| Sources/RazorbillServer/Chat/CompletionStream.swift | 31 | 20 | 125 |
46+| Sources/RazorbillTUI/ChatScreen.swift | 31 | 41 | 230 |
47+| Sources/RazorbillTUI/TextLayout.swift | 28 | 15 | 63 |
48+| experiments/02-kv-cache-reuse/Sources/KVCacheReuse/KVCacheReuse.swift | 26 | 20 | 285 |
49+| Sources/RazorbillServer/ModelManager.swift | 25 | 26 | 268 |
50+| Sources/RazorbillTUI/DashboardScreen.swift | 24 | 22 | 136 |
51+| Sources/RazorbillMLX/MLXEngine.swift | 23 | 37 | 251 |
52+| Sources/RazorbillTUI/ServerAPI.swift | 23 | 23 | 158 |
53+| tools/host-runner/host_runner.py | 23 | 23 | 144 |
54+| Sources/RazorbillCore/Config/TUIPreferences.swift | 21 | 20 | 152 |
55+| Sources/RazorbillTUI/TUIApp.swift | 21 | 35 | 228 |
56+| Sources/RazorbillCore/Config/ConfigValue+JSON.swift | 20 | 25 | 71 |
57+| Sources/RazorbillCore/Config/ServerConfigLoader.swift | 20 | 17 | 227 |
58+| Sources/RazorbillTUI/Terminal.swift | 20 | 18 | 139 |
59+
60+## Trend
61+
62+| run | timestamp | error | warning | smells | complex | gate |
63+|---|---|---|---|---|---|---|
64+| 36 | 2026-11-26T21:35:08Z | 0 | 0 | 0 | 588 | PASS |
65+| 37 | 2026-11-27T04:12:05Z | 0 | 0 | 0 | 717 | PASS |
66+| 38 | 2026-11-27T04:37:14Z | 0 | 0 | 0 | 815 | PASS |
67+| 39 | 2026-11-27T05:12:36Z | 0 | 0 | 1 | 906 | FAIL |
68+| 40 | 2026-11-27T05:13:16Z | 0 | 0 | 0 | 890 | PASS |
69+| 41 | 2026-11-27T05:27:09Z | 0 | 0 | 0 | 915 | PASS |
70+| 42 | 2026-11-27T06:31:51Z | 0 | 1 | 0 | 945 | FAIL |
71+| 43 | 2026-11-27T06:32:10Z | 0 | 0 | 0 | 945 | PASS |
72+| 44 | 2026-11-27T07:05:16Z | 0 | 0 | 0 | 945 | PASS |
73+| 45 | 2026-11-27T07:15:59Z | 0 | 0 | 0 | 945 | PASS |
modified .quality/report-latest.md +10 -10
@@ -1,10 +1,10 @@
1-# Quality report — 2026-11-27T07:05:16Z
1+# Quality report — 2026-11-27T07:15:59Z
22
33 - **Gate**: ✅ **PASS**
4-- **Commit**: `783675c` on `feature/v0.3-tui`
4+- **Commit**: `aa4a11e` on `feature/v0.3-tui`
55 - **qlty**: qlty 0.672.0 linux-arm64 (4362b62 2026-11-20)
66 - **swiftlint**: 0.65.1 (run directly, merged into lint issues)
7-- **Run**: #44 (previous: 2026-11-27T06:32:10Z)
7+- **Run**: #45 (previous: 2026-11-27T07:05:16Z)
88
99 ## Lint issues (`qlty check`)
1010
@@ -28,14 +28,14 @@ _none_
2828
2929 | metric | total | vs previous |
3030 |---|---|---|
31-| funcs | 1003 | +6 |
31+| funcs | 1003 | ±0 |
3232 | classes | 375 | ±0 |
33-| fields | 2008 | +8 |
34-| cyclo | 1102 | +1 |
33+| fields | 2008 | ±0 |
34+| cyclo | 1102 | ±0 |
3535 | complex | 945 | ±0 |
36-| lcom | 182 | +1 |
37-| lines | 17738 | +67 |
38-| loc | 14115 | +46 |
36+| lcom | 182 | ±0 |
37+| lines | 17738 | ±0 |
38+| loc | 14115 | ±0 |
3939
4040 ### Most complex files
4141
@@ -61,7 +61,6 @@ _none_
6161
6262 | run | timestamp | error | warning | smells | complex | gate |
6363 |---|---|---|---|---|---|---|
64-| 35 | 2026-11-26T14:42:16Z | 0 | 0 | 0 | 548 | PASS |
6564 | 36 | 2026-11-26T21:35:08Z | 0 | 0 | 0 | 588 | PASS |
6665 | 37 | 2026-11-27T04:12:05Z | 0 | 0 | 0 | 717 | PASS |
6766 | 38 | 2026-11-27T04:37:14Z | 0 | 0 | 0 | 815 | PASS |
@@ -71,3 +70,4 @@ _none_
7170 | 42 | 2026-11-27T06:31:51Z | 0 | 1 | 0 | 945 | FAIL |
7271 | 43 | 2026-11-27T06:32:10Z | 0 | 0 | 0 | 945 | PASS |
7372 | 44 | 2026-11-27T07:05:16Z | 0 | 0 | 0 | 945 | PASS |
73+| 45 | 2026-11-27T07:15:59Z | 0 | 0 | 0 | 945 | PASS |
@@ -1,10 +1,10 @@
1-# Quality report — 2026-11-27T07:05:16Z1+# Quality report — 2026-11-27T07:15:59Z
2 2
3 - **Gate**: ✅ **PASS**3 - **Gate**: ✅ **PASS**
4-- **Commit**: `783675c` on `feature/v0.3-tui`4+- **Commit**: `aa4a11e` on `feature/v0.3-tui`
5 - **qlty**: qlty 0.672.0 linux-arm64 (4362b62 2026-11-20)5 - **qlty**: qlty 0.672.0 linux-arm64 (4362b62 2026-11-20)
6 - **swiftlint**: 0.65.1 (run directly, merged into lint issues)6 - **swiftlint**: 0.65.1 (run directly, merged into lint issues)
7-- **Run**: #44 (previous: 2026-11-27T06:32:10Z)7+- **Run**: #45 (previous: 2026-11-27T07:05:16Z)
8 8
9 ## Lint issues (`qlty check`)9 ## Lint issues (`qlty check`)
10 10
@@ -28,14 +28,14 @@ _none_
28 28
29 | metric | total | vs previous |29 | metric | total | vs previous |
30 |---|---|---|30 |---|---|---|
31-| funcs | 1003 | +6 |31+| funcs | 1003 | ±0 |
32 | classes | 375 | ±0 |32 | classes | 375 | ±0 |
33-| fields | 2008 | +8 |33+| fields | 2008 | ±0 |
34-| cyclo | 1102 | +1 |34+| cyclo | 1102 | ±0 |
35 | complex | 945 | ±0 |35 | complex | 945 | ±0 |
36-| lcom | 182 | +1 |36+| lcom | 182 | ±0 |
37-| lines | 17738 | +67 |37+| lines | 17738 | ±0 |
38-| loc | 14115 | +46 |38+| loc | 14115 | ±0 |
39 39
40 ### Most complex files40 ### Most complex files
41 41
@@ -61,7 +61,6 @@ _none_
61 61
62 | run | timestamp | error | warning | smells | complex | gate |62 | run | timestamp | error | warning | smells | complex | gate |
63 |---|---|---|---|---|---|---|63 |---|---|---|---|---|---|---|
64-| 35 | 2026-11-26T14:42:16Z | 0 | 0 | 0 | 548 | PASS |
65 | 36 | 2026-11-26T21:35:08Z | 0 | 0 | 0 | 588 | PASS |64 | 36 | 2026-11-26T21:35:08Z | 0 | 0 | 0 | 588 | PASS |
66 | 37 | 2026-11-27T04:12:05Z | 0 | 0 | 0 | 717 | PASS |65 | 37 | 2026-11-27T04:12:05Z | 0 | 0 | 0 | 717 | PASS |
67 | 38 | 2026-11-27T04:37:14Z | 0 | 0 | 0 | 815 | PASS |66 | 38 | 2026-11-27T04:37:14Z | 0 | 0 | 0 | 815 | PASS |
@@ -71,3 +70,4 @@ _none_
71 | 42 | 2026-11-27T06:31:51Z | 0 | 1 | 0 | 945 | FAIL |70 | 42 | 2026-11-27T06:31:51Z | 0 | 1 | 0 | 945 | FAIL |
72 | 43 | 2026-11-27T06:32:10Z | 0 | 0 | 0 | 945 | PASS |71 | 43 | 2026-11-27T06:32:10Z | 0 | 0 | 0 | 945 | PASS |
73 | 44 | 2026-11-27T07:05:16Z | 0 | 0 | 0 | 945 | PASS |72 | 44 | 2026-11-27T07:05:16Z | 0 | 0 | 0 | 945 | PASS |
73+| 45 | 2026-11-27T07:15:59Z | 0 | 0 | 0 | 945 | PASS |
modified .tickets/issues/0061-spike-olala-architecture-mlx-engine-fork.yaml +10 -2
@@ -1,12 +1,13 @@
11 # Managed by IssueSpec. Hand edits are welcome; keep the schema valid.
22 id: 61
33 title: "Spike: run Olala-v1.0-mini-7A1B-MLX (`olala` architecture, needs OVHai's mlx-engine fork)"
4-state: open
4+state: closed
55 author:
66 name: k33g
77 email: ph.charriere@gmail.com
88 createdAt: 2026-11-27T05:00:00.000Z
9-updatedAt: 2026-11-27T11:00:00.000Z
9+updatedAt: 2026-11-27T11:30:00.000Z
10+closedAt: 2026-11-27T11:30:00.000Z
1011 labels:
1112 - "spike"
1213 - "area::engine"
@@ -87,3 +88,10 @@ comments:
8788 - Effort: phase 1 (correct, no kernels) ~1,100–1,500 lines of Swift, 4–6 days + Mac iterations; phase 2 (Metal kernels) 1,500–2,500 lines, 5–10 days, optional. Risks: decode speed without kernels (~60 small ops per layer × 36), numerical parity (f32 casts), tool channel, prompt cache (Mamba state not trimmable).
8889 - Proposed tickets: (1) reference outputs on the Mac (task 2), (2) sub-folder variants, (3) Swift olala model (reference path) registered at start-up, (4) parity test on the Mac, (5) channel format + reasoning_effort pass-through, (6) olala tool calls + history, (7) speed (compile, then Metal kernels; M1 384-thread limit), (8) prompt cache snapshots for hybrids, (9) docs EN+FR. Not created yet: waiting for the user.
8990 - Task 2 needs the user's Mac: commands in the model card (clone the fork, venv, hf download --include "q5e6/*"; greedy temp 0, max_tokens 64, with and without OLALA_MLX_REF=1; save prompt ids, output ids, last-position logits).
91+ - id: 2
92+ author:
93+ name: k33g
94+ email: ph.charriere@gmail.com
95+ createdAt: 2026-11-27T11:30:00.000Z
96+ body: |
97+ Dropped by the user (2026-11-27: "on oublie olala"). Closed with tasks 2–3 open; the report in comment 1 stays the starting point if it comes back.
@@ -1,12 +1,13 @@
1 # Managed by IssueSpec. Hand edits are welcome; keep the schema valid.1 # Managed by IssueSpec. Hand edits are welcome; keep the schema valid.
2 id: 612 id: 61
3 title: "Spike: run Olala-v1.0-mini-7A1B-MLX (`olala` architecture, needs OVHai's mlx-engine fork)"3 title: "Spike: run Olala-v1.0-mini-7A1B-MLX (`olala` architecture, needs OVHai's mlx-engine fork)"
4-state: open4+state: closed
5 author:5 author:
6 name: k33g6 name: k33g
7 email: ph.charriere@gmail.com7 email: ph.charriere@gmail.com
8 createdAt: 2026-11-27T05:00:00.000Z8 createdAt: 2026-11-27T05:00:00.000Z
9-updatedAt: 2026-11-27T11:00:00.000Z9+updatedAt: 2026-11-27T11:30:00.000Z
10+closedAt: 2026-11-27T11:30:00.000Z
10 labels:11 labels:
11 - "spike"12 - "spike"
12 - "area::engine"13 - "area::engine"
@@ -87,3 +88,10 @@ comments:
87 - Effort: phase 1 (correct, no kernels) ~1,100–1,500 lines of Swift, 4–6 days + Mac iterations; phase 2 (Metal kernels) 1,500–2,500 lines, 5–10 days, optional. Risks: decode speed without kernels (~60 small ops per layer × 36), numerical parity (f32 casts), tool channel, prompt cache (Mamba state not trimmable).88 - Effort: phase 1 (correct, no kernels) ~1,100–1,500 lines of Swift, 4–6 days + Mac iterations; phase 2 (Metal kernels) 1,500–2,500 lines, 5–10 days, optional. Risks: decode speed without kernels (~60 small ops per layer × 36), numerical parity (f32 casts), tool channel, prompt cache (Mamba state not trimmable).
88 - Proposed tickets: (1) reference outputs on the Mac (task 2), (2) sub-folder variants, (3) Swift olala model (reference path) registered at start-up, (4) parity test on the Mac, (5) channel format + reasoning_effort pass-through, (6) olala tool calls + history, (7) speed (compile, then Metal kernels; M1 384-thread limit), (8) prompt cache snapshots for hybrids, (9) docs EN+FR. Not created yet: waiting for the user.89 - Proposed tickets: (1) reference outputs on the Mac (task 2), (2) sub-folder variants, (3) Swift olala model (reference path) registered at start-up, (4) parity test on the Mac, (5) channel format + reasoning_effort pass-through, (6) olala tool calls + history, (7) speed (compile, then Metal kernels; M1 384-thread limit), (8) prompt cache snapshots for hybrids, (9) docs EN+FR. Not created yet: waiting for the user.
89 - Task 2 needs the user's Mac: commands in the model card (clone the fork, venv, hf download --include "q5e6/*"; greedy temp 0, max_tokens 64, with and without OLALA_MLX_REF=1; save prompt ids, output ids, last-position logits).90 - Task 2 needs the user's Mac: commands in the model card (clone the fork, venv, hf download --include "q5e6/*"; greedy temp 0, max_tokens 64, with and without OLALA_MLX_REF=1; save prompt ids, output ids, last-position logits).
91+ - id: 2
92+ author:
93+ name: k33g
94+ email: ph.charriere@gmail.com
95+ createdAt: 2026-11-27T11:30:00.000Z
96+ body: |
97+ Dropped by the user (2026-11-27: "on oublie olala"). Closed with tasks 2–3 open; the report in comment 1 stays the starting point if it comes back.
modified .tickets/milestones.yaml +1 -1
@@ -9,7 +9,7 @@ milestones:
99 state: closed
1010 description: "razorbill becomes a model server dedicated to MLX (like Ollama / llama-server, Apple Silicon only) exposing an OpenAI-compatible API: chat completions (streaming, reasoning), structured output, function calling, embeddings."
1111 - title: "v0.3 — TUI"
12- state: open
12+ state: closed
1313 description: "A terminal UI again, for the server era: chat client, server dashboard or both — scope to be defined by the spike #51."
1414 - title: "v1.0.0"
1515 state: open
@@ -9,7 +9,7 @@ milestones:
9 state: closed9 state: closed
10 description: "razorbill becomes a model server dedicated to MLX (like Ollama / llama-server, Apple Silicon only) exposing an OpenAI-compatible API: chat completions (streaming, reasoning), structured output, function calling, embeddings."10 description: "razorbill becomes a model server dedicated to MLX (like Ollama / llama-server, Apple Silicon only) exposing an OpenAI-compatible API: chat completions (streaming, reasoning), structured output, function calling, embeddings."
11 - title: "v0.3 — TUI"11 - title: "v0.3 — TUI"
12- state: open12+ state: closed
13 description: "A terminal UI again, for the server era: chat client, server dashboard or both — scope to be defined by the spike #51."13 description: "A terminal UI again, for the server era: chat client, server dashboard or both — scope to be defined by the spike #51."
14 - title: "v1.0.0"14 - title: "v1.0.0"
15 state: open15 state: open
modified README.md +1 -1
@@ -85,7 +85,7 @@ xcodebuild build -scheme razorbill -destination 'platform=macOS' -configuration
8585 CLANG_ENABLE_CODE_COVERAGE=NO CLANG_COVERAGE_MAPPING=NO
8686
8787 .build/xcode/Build/Products/Release/rzb version
88-# rzb 0.2.0 (engines: fake, mlx)
88+# rzb 0.3.0 (engines: fake, mlx)
8989 ```
9090
9191 The first build downloads and compiles the dependencies and takes several minutes. Run `rzb` from `Build/Products/Release`: the MLX Metal library (`mlx-swift_Cmlx.bundle`) sits next to it.
@@ -85,7 +85,7 @@ xcodebuild build -scheme razorbill -destination 'platform=macOS' -configuration
85 CLANG_ENABLE_CODE_COVERAGE=NO CLANG_COVERAGE_MAPPING=NO85 CLANG_ENABLE_CODE_COVERAGE=NO CLANG_COVERAGE_MAPPING=NO
86 86
87 .build/xcode/Build/Products/Release/rzb version87 .build/xcode/Build/Products/Release/rzb version
88-# rzb 0.2.0 (engines: fake, mlx)88+# rzb 0.3.0 (engines: fake, mlx)
89 ```89 ```
90 90
91 The first build downloads and compiles the dependencies and takes several minutes. Run `rzb` from `Build/Products/Release`: the MLX Metal library (`mlx-swift_Cmlx.bundle`) sits next to it.91 The first build downloads and compiles the dependencies and takes several minutes. Run `rzb` from `Build/Products/Release`: the MLX Metal library (`mlx-swift_Cmlx.bundle`) sits next to it.
modified Sources/RazorbillCLI/Commands/VersionCommand.swift +1 -1
@@ -11,7 +11,7 @@ struct VersionCommand: AsyncParsableCommand {
1111 environment.console.write(Self.line(engines: environment.engines.names) + "\n")
1212 }
1313
14- /// `rzb 0.2.0 (engines: fake, mlx)`
14+ /// `rzb 0.3.0 (engines: fake, mlx)`
1515 static func line(engines: [String]) -> String {
1616 let list = engines.isEmpty ? "none" : engines.joined(separator: ", ")
1717 return "\(Razorbill.commandName) \(Razorbill.version) (engines: \(list))"
@@ -11,7 +11,7 @@ struct VersionCommand: AsyncParsableCommand {
11 environment.console.write(Self.line(engines: environment.engines.names) + "\n")11 environment.console.write(Self.line(engines: environment.engines.names) + "\n")
12 }12 }
13 13
14- /// `rzb 0.2.0 (engines: fake, mlx)`14+ /// `rzb 0.3.0 (engines: fake, mlx)`
15 static func line(engines: [String]) -> String {15 static func line(engines: [String]) -> String {
16 let list = engines.isEmpty ? "none" : engines.joined(separator: ", ")16 let list = engines.isEmpty ? "none" : engines.joined(separator: ", ")
17 return "\(Razorbill.commandName) \(Razorbill.version) (engines: \(list))"17 return "\(Razorbill.commandName) \(Razorbill.version) (engines: \(list))"
modified Sources/RazorbillCore/Razorbill.swift +2 -2
@@ -1,11 +1,11 @@
11 /// Identity of razorbill.
22 ///
33 /// ```swift
4-/// print("\(Razorbill.commandName) \(Razorbill.version)") // "rzb 0.2.0"
4+/// print("\(Razorbill.commandName) \(Razorbill.version)") // "rzb 0.3.0"
55 /// ```
66 public enum Razorbill {
77 /// Semantic version of razorbill.
8- public static let version = "0.2.0"
8+ public static let version = "0.3.0"
99
1010 /// Name of the command-line executable.
1111 public static let commandName = "rzb"
@@ -1,11 +1,11 @@
1 /// Identity of razorbill.1 /// Identity of razorbill.
2 ///2 ///
3 /// ```swift3 /// ```swift
4-/// print("\(Razorbill.commandName) \(Razorbill.version)") // "rzb 0.2.0"4+/// print("\(Razorbill.commandName) \(Razorbill.version)") // "rzb 0.3.0"
5 /// ```5 /// ```
6 public enum Razorbill {6 public enum Razorbill {
7 /// Semantic version of razorbill.7 /// Semantic version of razorbill.
8- public static let version = "0.2.0"8+ public static let version = "0.3.0"
9 9
10 /// Name of the command-line executable.10 /// Name of the command-line executable.
11 public static let commandName = "rzb"11 public static let commandName = "rzb"
modified Tests/RazorbillCLITests/OtherCommandsTests.swift +2 -2
@@ -63,8 +63,8 @@ import Testing
6363
6464 @Suite struct SmallPieces {
6565 @Test func versionListsTheEngines() async throws {
66- #expect(VersionCommand.line(engines: ["fake", "mlx"]) == "rzb 0.2.0 (engines: fake, mlx)")
67- #expect((await (try World()).rzb("version")).stdout == "rzb 0.2.0 (engines: fake)\n")
66+ #expect(VersionCommand.line(engines: ["fake", "mlx"]) == "rzb 0.3.0 (engines: fake, mlx)")
67+ #expect((await (try World()).rzb("version")).stdout == "rzb 0.3.0 (engines: fake)\n")
6868 }
6969
7070 @Test func downloadProgressPrintsEveryTenPercentWithoutColours() {
@@ -63,8 +63,8 @@ import Testing
63 63
64 @Suite struct SmallPieces {64 @Suite struct SmallPieces {
65 @Test func versionListsTheEngines() async throws {65 @Test func versionListsTheEngines() async throws {
66- #expect(VersionCommand.line(engines: ["fake", "mlx"]) == "rzb 0.2.0 (engines: fake, mlx)")66+ #expect(VersionCommand.line(engines: ["fake", "mlx"]) == "rzb 0.3.0 (engines: fake, mlx)")
67- #expect((await (try World()).rzb("version")).stdout == "rzb 0.2.0 (engines: fake)\n")67+ #expect((await (try World()).rzb("version")).stdout == "rzb 0.3.0 (engines: fake)\n")
68 }68 }
69 69
70 @Test func downloadProgressPrintsEveryTenPercentWithoutColours() {70 @Test func downloadProgressPrintsEveryTenPercentWithoutColours() {
modified docs/diagrams/packages.drawio +1 -1
@@ -5,7 +5,7 @@
55 <mxCell id="0" />
66 <mxCell id="1" parent="0" />
77
8- <mxCell id="title" value="&lt;b&gt;razorbill v0.2 — Swift modules and their dependencies&lt;/b&gt;&lt;br&gt;Arrows point from a module to what it imports. Dashed: linked on macOS only." style="text;html=1;align=left;verticalAlign=top;fontSize=14;" vertex="1" parent="1">
8+ <mxCell id="title" value="&lt;b&gt;razorbill v0.3 — Swift modules and their dependencies&lt;/b&gt;&lt;br&gt;Arrows point from a module to what it imports. Dashed: linked on macOS only." style="text;html=1;align=left;verticalAlign=top;fontSize=14;" vertex="1" parent="1">
99 <mxGeometry x="40" y="20" width="760" height="50" as="geometry" />
1010 </mxCell>
1111
@@ -5,7 +5,7 @@
5 <mxCell id="0" />5 <mxCell id="0" />
6 <mxCell id="1" parent="0" />6 <mxCell id="1" parent="0" />
7 7
8- <mxCell id="title" value="&lt;b&gt;razorbill v0.2 — Swift modules and their dependencies&lt;/b&gt;&lt;br&gt;Arrows point from a module to what it imports. Dashed: linked on macOS only." style="text;html=1;align=left;verticalAlign=top;fontSize=14;" vertex="1" parent="1">8+ <mxCell id="title" value="&lt;b&gt;razorbill v0.3 — Swift modules and their dependencies&lt;/b&gt;&lt;br&gt;Arrows point from a module to what it imports. Dashed: linked on macOS only." style="text;html=1;align=left;verticalAlign=top;fontSize=14;" vertex="1" parent="1">
9 <mxGeometry x="40" y="20" width="760" height="50" as="geometry" />9 <mxGeometry x="40" y="20" width="760" height="50" as="geometry" />
10 </mxCell>10 </mxCell>
11 11
modified docs/en/how-to/build-on-the-mac.md +1 -1
@@ -26,7 +26,7 @@ The executable is `.build/xcode/Build/Products/Release/rzb`. Keep it in that fol
2626
2727 ```bash
2828 .build/xcode/Build/Products/Release/rzb version
29-# rzb 0.2.0 (engines: fake, mlx)
29+# rzb 0.3.0 (engines: fake, mlx)
3030 ```
3131
3232 ## Install
@@ -26,7 +26,7 @@ The executable is `.build/xcode/Build/Products/Release/rzb`. Keep it in that fol
26 26
27 ```bash27 ```bash
28 .build/xcode/Build/Products/Release/rzb version28 .build/xcode/Build/Products/Release/rzb version
29-# rzb 0.2.0 (engines: fake, mlx)29+# rzb 0.3.0 (engines: fake, mlx)
30 ```30 ```
31 31
32 ## Install32 ## Install
modified docs/en/how-to/package-a-release.md +3 -3
@@ -14,12 +14,12 @@ This guide builds the release archive of razorbill: `rzb` and the resource bundl
1414 It builds in Release into `.build/release` (a folder of its own, so the first run compiles everything again), packages the build, unpacks the archive in a temporary folder and checks that the unpacked `rzb --version` prints the version. It ends by printing the archive and its checksum:
1515
1616 ```
17- dist/razorbill-0.2.0-macos-arm64.tar.gz
18- <sha256> razorbill-0.2.0-macos-arm64.tar.gz
17+ dist/razorbill-0.3.0-macos-arm64.tar.gz
18+ <sha256> razorbill-0.3.0-macos-arm64.tar.gz
1919 ```
2020
2121 3. Check the server from the archive before publishing it, for example by unpacking it elsewhere and running `rzb serve` with a model.
22-4. Tag the commit (`git tag -a v0.2.0 -m "razorbill 0.2.0"`) and publish `dist/razorbill-<version>-macos-arm64.tar.gz` with its `.sha256` file.
22+4. Tag the commit (`git tag -a v0.3.0 -m "razorbill 0.3.0"`) and publish `dist/razorbill-<version>-macos-arm64.tar.gz` with its `.sha256` file.
2323
2424 ## What the archive holds
2525
@@ -14,12 +14,12 @@ This guide builds the release archive of razorbill: `rzb` and the resource bundl
14 It builds in Release into `.build/release` (a folder of its own, so the first run compiles everything again), packages the build, unpacks the archive in a temporary folder and checks that the unpacked `rzb --version` prints the version. It ends by printing the archive and its checksum:14 It builds in Release into `.build/release` (a folder of its own, so the first run compiles everything again), packages the build, unpacks the archive in a temporary folder and checks that the unpacked `rzb --version` prints the version. It ends by printing the archive and its checksum:
15 15
16 ```16 ```
17- dist/razorbill-0.2.0-macos-arm64.tar.gz17+ dist/razorbill-0.3.0-macos-arm64.tar.gz
18- <sha256> razorbill-0.2.0-macos-arm64.tar.gz18+ <sha256> razorbill-0.3.0-macos-arm64.tar.gz
19 ```19 ```
20 20
21 3. Check the server from the archive before publishing it, for example by unpacking it elsewhere and running `rzb serve` with a model.21 3. Check the server from the archive before publishing it, for example by unpacking it elsewhere and running `rzb serve` with a model.
22-4. Tag the commit (`git tag -a v0.2.0 -m "razorbill 0.2.0"`) and publish `dist/razorbill-<version>-macos-arm64.tar.gz` with its `.sha256` file.22+4. Tag the commit (`git tag -a v0.3.0 -m "razorbill 0.3.0"`) and publish `dist/razorbill-<version>-macos-arm64.tar.gz` with its `.sha256` file.
23 23
24 ## What the archive holds24 ## What the archive holds
25 25
modified docs/en/reference/cli.md +3 -3
@@ -1,6 +1,6 @@
11 # Reference: command line
22
3-> Every `rzb` command, option and exit code of razorbill 0.2.0.
3+> Every `rzb` command, option and exit code of razorbill 0.3.0.
44
55 ```
66 rzb <command> [options]
@@ -36,7 +36,7 @@ Options win over the `server:` section of the file. On start it prints, on stand
3636
3737 ```
3838 config: server.yaml (2 declared models)
39-rzb 0.2.0 serving http://127.0.0.1:7920/v1 (API key from $RZB_API_KEY) — Ctrl-C to stop
39+rzb 0.3.0 serving http://127.0.0.1:7920/v1 (API key from $RZB_API_KEY) — Ctrl-C to stop
4040 ```
4141
4242 The first line appears only with `--config`. Warnings (`warning: …`) are printed before the banner when the server listens on a network address without an API key, or allows every CORS origin without one. Then one log line per request: method, path, status, duration, and the model and token counts (`model=… tokens=<prompt>+<completion>`, plus `cached=<n>` when part of the prompt was reused from the previous request); prompts and answers are never logged.
@@ -83,7 +83,7 @@ The cache is `$HF_HUB_CACHE`, else `$HF_HOME/hub`, else `~/.cache/huggingface/hu
8383
8484 ## rzb version
8585
86-Prints `rzb 0.2.0 (engines: fake, mlx)` (the engines of this build, sorted). `rzb --version` prints `0.2.0`.
86+Prints `rzb 0.3.0 (engines: fake, mlx)` (the engines of this build, sorted). `rzb --version` prints `0.3.0`.
8787
8888 ## Exit codes
8989
@@ -1,6 +1,6 @@
1 # Reference: command line1 # Reference: command line
2 2
3-> Every `rzb` command, option and exit code of razorbill 0.2.0.3+> Every `rzb` command, option and exit code of razorbill 0.3.0.
4 4
5 ```5 ```
6 rzb <command> [options]6 rzb <command> [options]
@@ -36,7 +36,7 @@ Options win over the `server:` section of the file. On start it prints, on stand
36 36
37 ```37 ```
38 config: server.yaml (2 declared models)38 config: server.yaml (2 declared models)
39-rzb 0.2.0 serving http://127.0.0.1:7920/v1 (API key from $RZB_API_KEY) — Ctrl-C to stop39+rzb 0.3.0 serving http://127.0.0.1:7920/v1 (API key from $RZB_API_KEY) — Ctrl-C to stop
40 ```40 ```
41 41
42 The first line appears only with `--config`. Warnings (`warning: …`) are printed before the banner when the server listens on a network address without an API key, or allows every CORS origin without one. Then one log line per request: method, path, status, duration, and the model and token counts (`model=… tokens=<prompt>+<completion>`, plus `cached=<n>` when part of the prompt was reused from the previous request); prompts and answers are never logged.42 The first line appears only with `--config`. Warnings (`warning: …`) are printed before the banner when the server listens on a network address without an API key, or allows every CORS origin without one. Then one log line per request: method, path, status, duration, and the model and token counts (`model=… tokens=<prompt>+<completion>`, plus `cached=<n>` when part of the prompt was reused from the previous request); prompts and answers are never logged.
@@ -83,7 +83,7 @@ The cache is `$HF_HUB_CACHE`, else `$HF_HOME/hub`, else `~/.cache/huggingface/hu
83 83
84 ## rzb version84 ## rzb version
85 85
86-Prints `rzb 0.2.0 (engines: fake, mlx)` (the engines of this build, sorted). `rzb --version` prints `0.2.0`.86+Prints `rzb 0.3.0 (engines: fake, mlx)` (the engines of this build, sorted). `rzb --version` prints `0.3.0`.
87 87
88 ## Exit codes88 ## Exit codes
89 89
modified docs/en/reference/http-api.md +1 -1
@@ -375,7 +375,7 @@ curl -s http://127.0.0.1:7920/rzb/status
375375 Example, after one chat request:
376376
377377 ```json
378-{"config_file": "/Users/me/server.yaml", "host": "127.0.0.1", "port": 7920, "uptime_seconds": 34, "version": "0.2.0",
378+{"config_file": "/Users/me/server.yaml", "host": "127.0.0.1", "port": 7920, "uptime_seconds": 34, "version": "0.3.0",
379379 "memory": {"active_bytes": 364743776, "cache_bytes": 23594047, "limit_bytes": 32641751449, "peak_bytes": 408882564},
380380 "system": {"available_bytes": 18200000000, "compressed_bytes": 1100000000, "gpu_utilization": 87, "physical_bytes": 34359738368,
381381 "pressure": "normal", "process_bytes": 4400000000, "swap_used_bytes": 0},
@@ -375,7 +375,7 @@ curl -s http://127.0.0.1:7920/rzb/status
375 Example, after one chat request:375 Example, after one chat request:
376 376
377 ```json377 ```json
378-{"config_file": "/Users/me/server.yaml", "host": "127.0.0.1", "port": 7920, "uptime_seconds": 34, "version": "0.2.0",378+{"config_file": "/Users/me/server.yaml", "host": "127.0.0.1", "port": 7920, "uptime_seconds": 34, "version": "0.3.0",
379 "memory": {"active_bytes": 364743776, "cache_bytes": 23594047, "limit_bytes": 32641751449, "peak_bytes": 408882564},379 "memory": {"active_bytes": 364743776, "cache_bytes": 23594047, "limit_bytes": 32641751449, "peak_bytes": 408882564},
380 "system": {"available_bytes": 18200000000, "compressed_bytes": 1100000000, "gpu_utilization": 87, "physical_bytes": 34359738368,380 "system": {"available_bytes": 18200000000, "compressed_bytes": 1100000000, "gpu_utilization": 87, "physical_bytes": 34359738368,
381 "pressure": "normal", "process_bytes": 4400000000, "swap_used_bytes": 0},381 "pressure": "normal", "process_bytes": 4400000000, "swap_used_bytes": 0},
modified docs/en/tutorials/getting-started.md +1 -1
@@ -43,7 +43,7 @@ rzb serve
4343 You should see:
4444
4545 ```
46-rzb 0.2.0 serving http://127.0.0.1:7920/v1 (no API key) — Ctrl-C to stop
46+rzb 0.3.0 serving http://127.0.0.1:7920/v1 (no API key) — Ctrl-C to stop
4747 ```
4848
4949 The server is running and only accepts connections from this Mac. Leave this terminal open, and **open a second terminal** for the next steps.
@@ -43,7 +43,7 @@ rzb serve
43 You should see:43 You should see:
44 44
45 ```45 ```
46-rzb 0.2.0 serving http://127.0.0.1:7920/v1 (no API key) — Ctrl-C to stop46+rzb 0.3.0 serving http://127.0.0.1:7920/v1 (no API key) — Ctrl-C to stop
47 ```47 ```
48 48
49 The server is running and only accepts connections from this Mac. Leave this terminal open, and **open a second terminal** for the next steps.49 The server is running and only accepts connections from this Mac. Leave this terminal open, and **open a second terminal** for the next steps.
modified docs/fr/how-to/compiler-sur-le-mac.md +1 -1
@@ -26,7 +26,7 @@ L'exécutable est `.build/xcode/Build/Products/Release/rzb`. Laissez-le dans ce
2626
2727 ```bash
2828 .build/xcode/Build/Products/Release/rzb version
29-# rzb 0.2.0 (engines: fake, mlx)
29+# rzb 0.3.0 (engines: fake, mlx)
3030 ```
3131
3232 ## Installer
@@ -26,7 +26,7 @@ L'exécutable est `.build/xcode/Build/Products/Release/rzb`. Laissez-le dans ce
26 26
27 ```bash27 ```bash
28 .build/xcode/Build/Products/Release/rzb version28 .build/xcode/Build/Products/Release/rzb version
29-# rzb 0.2.0 (engines: fake, mlx)29+# rzb 0.3.0 (engines: fake, mlx)
30 ```30 ```
31 31
32 ## Installer32 ## Installer
modified docs/fr/how-to/preparer-une-release.md +3 -3
@@ -14,12 +14,12 @@ Ce guide fabrique l'archive de release de razorbill : `rzb` et les bundles de re
1414 Il compile en Release dans `.build/release` (un dossier à part : la première fois, tout est recompilé), assemble l'archive, la décompresse dans un dossier temporaire et vérifie que le `rzb --version` décompressé affiche la version. Il termine en affichant l'archive et son empreinte :
1515
1616 ```
17- dist/razorbill-0.2.0-macos-arm64.tar.gz
18- <sha256> razorbill-0.2.0-macos-arm64.tar.gz
17+ dist/razorbill-0.3.0-macos-arm64.tar.gz
18+ <sha256> razorbill-0.3.0-macos-arm64.tar.gz
1919 ```
2020
2121 3. Vérifiez le serveur depuis l'archive avant de la publier, par exemple en la décompressant ailleurs et en lançant `rzb serve` avec un modèle.
22-4. Étiquetez le commit (`git tag -a v0.2.0 -m "razorbill 0.2.0"`) et publiez `dist/razorbill-<version>-macos-arm64.tar.gz` avec son fichier `.sha256`.
22+4. Étiquetez le commit (`git tag -a v0.3.0 -m "razorbill 0.3.0"`) et publiez `dist/razorbill-<version>-macos-arm64.tar.gz` avec son fichier `.sha256`.
2323
2424 ## Contenu de l'archive
2525
@@ -14,12 +14,12 @@ Ce guide fabrique l'archive de release de razorbill : `rzb` et les bundles de re
14 Il compile en Release dans `.build/release` (un dossier à part : la première fois, tout est recompilé), assemble l'archive, la décompresse dans un dossier temporaire et vérifie que le `rzb --version` décompressé affiche la version. Il termine en affichant l'archive et son empreinte :14 Il compile en Release dans `.build/release` (un dossier à part : la première fois, tout est recompilé), assemble l'archive, la décompresse dans un dossier temporaire et vérifie que le `rzb --version` décompressé affiche la version. Il termine en affichant l'archive et son empreinte :
15 15
16 ```16 ```
17- dist/razorbill-0.2.0-macos-arm64.tar.gz17+ dist/razorbill-0.3.0-macos-arm64.tar.gz
18- <sha256> razorbill-0.2.0-macos-arm64.tar.gz18+ <sha256> razorbill-0.3.0-macos-arm64.tar.gz
19 ```19 ```
20 20
21 3. Vérifiez le serveur depuis l'archive avant de la publier, par exemple en la décompressant ailleurs et en lançant `rzb serve` avec un modèle.21 3. Vérifiez le serveur depuis l'archive avant de la publier, par exemple en la décompressant ailleurs et en lançant `rzb serve` avec un modèle.
22-4. Étiquetez le commit (`git tag -a v0.2.0 -m "razorbill 0.2.0"`) et publiez `dist/razorbill-<version>-macos-arm64.tar.gz` avec son fichier `.sha256`.22+4. Étiquetez le commit (`git tag -a v0.3.0 -m "razorbill 0.3.0"`) et publiez `dist/razorbill-<version>-macos-arm64.tar.gz` avec son fichier `.sha256`.
23 23
24 ## Contenu de l'archive24 ## Contenu de l'archive
25 25
modified docs/fr/reference/api-http.md +1 -1
@@ -375,7 +375,7 @@ curl -s http://127.0.0.1:7920/rzb/status
375375 Exemple, après une requête de chat :
376376
377377 ```json
378-{"config_file": "/Users/me/server.yaml", "host": "127.0.0.1", "port": 7920, "uptime_seconds": 34, "version": "0.2.0",
378+{"config_file": "/Users/me/server.yaml", "host": "127.0.0.1", "port": 7920, "uptime_seconds": 34, "version": "0.3.0",
379379 "memory": {"active_bytes": 364743776, "cache_bytes": 23594047, "limit_bytes": 32641751449, "peak_bytes": 408882564},
380380 "system": {"available_bytes": 18200000000, "compressed_bytes": 1100000000, "gpu_utilization": 87, "physical_bytes": 34359738368,
381381 "pressure": "normal", "process_bytes": 4400000000, "swap_used_bytes": 0},
@@ -375,7 +375,7 @@ curl -s http://127.0.0.1:7920/rzb/status
375 Exemple, après une requête de chat :375 Exemple, après une requête de chat :
376 376
377 ```json377 ```json
378-{"config_file": "/Users/me/server.yaml", "host": "127.0.0.1", "port": 7920, "uptime_seconds": 34, "version": "0.2.0",378+{"config_file": "/Users/me/server.yaml", "host": "127.0.0.1", "port": 7920, "uptime_seconds": 34, "version": "0.3.0",
379 "memory": {"active_bytes": 364743776, "cache_bytes": 23594047, "limit_bytes": 32641751449, "peak_bytes": 408882564},379 "memory": {"active_bytes": 364743776, "cache_bytes": 23594047, "limit_bytes": 32641751449, "peak_bytes": 408882564},
380 "system": {"available_bytes": 18200000000, "compressed_bytes": 1100000000, "gpu_utilization": 87, "physical_bytes": 34359738368,380 "system": {"available_bytes": 18200000000, "compressed_bytes": 1100000000, "gpu_utilization": 87, "physical_bytes": 34359738368,
381 "pressure": "normal", "process_bytes": 4400000000, "swap_used_bytes": 0},381 "pressure": "normal", "process_bytes": 4400000000, "swap_used_bytes": 0},
modified docs/fr/reference/ligne-de-commande.md +3 -3
@@ -1,6 +1,6 @@
11 # Référence : ligne de commande
22
3-> Chaque commande, option et code de sortie de `rzb`, pour razorbill 0.2.0.
3+> Chaque commande, option et code de sortie de `rzb`, pour razorbill 0.3.0.
44
55 ```
66 rzb <commande> [options]
@@ -36,7 +36,7 @@ Les options l'emportent sur la section `server:` du fichier. Au démarrage, il a
3636
3737 ```
3838 config: server.yaml (2 declared models)
39-rzb 0.2.0 serving http://127.0.0.1:7920/v1 (API key from $RZB_API_KEY) — Ctrl-C to stop
39+rzb 0.3.0 serving http://127.0.0.1:7920/v1 (API key from $RZB_API_KEY) — Ctrl-C to stop
4040 ```
4141
4242 La première ligne n'apparaît qu'avec `--config`. Des avertissements (`warning: …`) précèdent la bannière quand le serveur écoute sur une adresse réseau sans clé d'API, ou autorise toutes les origines CORS sans clé. Ensuite, une ligne de journal par requête : méthode, chemin, statut, durée, et le modèle et les nombres de tokens (`model=… tokens=<prompt>+<complétion>`, plus `cached=<n>` quand une partie du prompt a été reprise de la requête précédente) ; les prompts et les réponses ne sont jamais journalisés.
@@ -83,7 +83,7 @@ Le cache est `$HF_HUB_CACHE`, sinon `$HF_HOME/hub`, sinon `~/.cache/huggingface/
8383
8484 ## rzb version
8585
86-Affiche `rzb 0.2.0 (engines: fake, mlx)` (les moteurs de cette compilation, triés). `rzb --version` affiche `0.2.0`.
86+Affiche `rzb 0.3.0 (engines: fake, mlx)` (les moteurs de cette compilation, triés). `rzb --version` affiche `0.3.0`.
8787
8888 ## Codes de sortie
8989
@@ -1,6 +1,6 @@
1 # Référence : ligne de commande1 # Référence : ligne de commande
2 2
3-> Chaque commande, option et code de sortie de `rzb`, pour razorbill 0.2.0.3+> Chaque commande, option et code de sortie de `rzb`, pour razorbill 0.3.0.
4 4
5 ```5 ```
6 rzb <commande> [options]6 rzb <commande> [options]
@@ -36,7 +36,7 @@ Les options l'emportent sur la section `server:` du fichier. Au démarrage, il a
36 36
37 ```37 ```
38 config: server.yaml (2 declared models)38 config: server.yaml (2 declared models)
39-rzb 0.2.0 serving http://127.0.0.1:7920/v1 (API key from $RZB_API_KEY) — Ctrl-C to stop39+rzb 0.3.0 serving http://127.0.0.1:7920/v1 (API key from $RZB_API_KEY) — Ctrl-C to stop
40 ```40 ```
41 41
42 La première ligne n'apparaît qu'avec `--config`. Des avertissements (`warning: …`) précèdent la bannière quand le serveur écoute sur une adresse réseau sans clé d'API, ou autorise toutes les origines CORS sans clé. Ensuite, une ligne de journal par requête : méthode, chemin, statut, durée, et le modèle et les nombres de tokens (`model=… tokens=<prompt>+<complétion>`, plus `cached=<n>` quand une partie du prompt a été reprise de la requête précédente) ; les prompts et les réponses ne sont jamais journalisés.42 La première ligne n'apparaît qu'avec `--config`. Des avertissements (`warning: …`) précèdent la bannière quand le serveur écoute sur une adresse réseau sans clé d'API, ou autorise toutes les origines CORS sans clé. Ensuite, une ligne de journal par requête : méthode, chemin, statut, durée, et le modèle et les nombres de tokens (`model=… tokens=<prompt>+<complétion>`, plus `cached=<n>` quand une partie du prompt a été reprise de la requête précédente) ; les prompts et les réponses ne sont jamais journalisés.
@@ -83,7 +83,7 @@ Le cache est `$HF_HUB_CACHE`, sinon `$HF_HOME/hub`, sinon `~/.cache/huggingface/
83 83
84 ## rzb version84 ## rzb version
85 85
86-Affiche `rzb 0.2.0 (engines: fake, mlx)` (les moteurs de cette compilation, triés). `rzb --version` affiche `0.2.0`.86+Affiche `rzb 0.3.0 (engines: fake, mlx)` (les moteurs de cette compilation, triés). `rzb --version` affiche `0.3.0`.
87 87
88 ## Codes de sortie88 ## Codes de sortie
89 89
modified docs/fr/tutorials/premiers-pas.md +1 -1
@@ -43,7 +43,7 @@ rzb serve
4343 Vous devez voir :
4444
4545 ```
46-rzb 0.2.0 serving http://127.0.0.1:7920/v1 (no API key) — Ctrl-C to stop
46+rzb 0.3.0 serving http://127.0.0.1:7920/v1 (no API key) — Ctrl-C to stop
4747 ```
4848
4949 Le serveur tourne et n'accepte que les connexions venant de ce Mac. Laissez ce terminal ouvert, et **ouvrez un second terminal** pour la suite.
@@ -43,7 +43,7 @@ rzb serve
43 Vous devez voir :43 Vous devez voir :
44 44
45 ```45 ```
46-rzb 0.2.0 serving http://127.0.0.1:7920/v1 (no API key) — Ctrl-C to stop46+rzb 0.3.0 serving http://127.0.0.1:7920/v1 (no API key) — Ctrl-C to stop
47 ```47 ```
48 48
49 Le serveur tourne et n'accepte que les connexions venant de ce Mac. Laissez ce terminal ouvert, et **ouvrez un second terminal** pour la suite.49 Le serveur tourne et n'accepte que les connexions venant de ce Mac. Laissez ce terminal ouvert, et **ouvrez un second terminal** pour la suite.
added release-notes/v0.3.0.fr.md +18 -0
new file mode 100644
@@ -0,0 +1,18 @@
1+# razorbill 0.3.0
2+
3+razorbill retrouve une interface en terminal : `rzb tui` est une fenêtre plein écran sur un `rzb serve` qui tourne sur le même Mac, pour discuter avec ses modèles, voir ce qu'il fait, gérer le cache des modèles et changer sa configuration. Le serveur gagne pour cela quelques routes locales, et le moteur passe à mlx-swift-lm 3.33.0.
4+
5+## Nouveautés
6+
7+- `rzb tui [--url] [--config] [--api-key-env]`, quatre écrans qu'on choisit avec F1–F4 ou Ctrl-T :
8+ - **Chat** : réponses en flux, Échap ou Ctrl-C en arrête une, Ctrl-N nouvelle conversation, Ctrl-P choix du modèle, raisonnement en cyan affiché, replié ou masqué (Ctrl-R), tokens et vitesse après chaque réponse, `/set` pour l'échantillonnage de la session.
9+ - **Dashboard** : les modèles chargés (état, taille, temps d'inactivité, temps avant que `keep_alive` les décharge, file d'attente), `u` pour en décharger un, les dernières requêtes avec leurs tokens, tokens en cache et tokens/s, la mémoire du moteur, et la machine : pression mémoire, mémoire disponible, swap, empreinte du serveur, charge du GPU.
10+ - **Models** : le cache Hugging Face lu sur le disque, `p` pour télécharger avec la progression, `d` pour supprimer, Entrée pour discuter avec un modèle.
11+ - **Settings** : les préférences de la TUI, enregistrées dans `~/.config/razorbill/tui.yaml` ; le fichier de configuration du serveur ouvert dans `$EDITOR`, vérifié, puis rechargé dans le serveur.
12+- Des routes d'administration locales sur `rzb serve`, qui ne répondent qu'à cette machine (et demandent la clé d'API quand il y en a une) : `GET /rzb/status`, `POST /rzb/models/{id}/unload`, `POST /rzb/config/reload`. `SIGHUP` recharge aussi la configuration ; l'hôte, le port, la variable de la clé d'API et CORS sont signalés comme demandant un redémarrage.
13+- Les requêtes en flux enregistrent maintenant leurs tokens ; l'historique des requêtes donne le temps jusqu'au premier octet et jusqu'au dernier.
14+- mlx-swift-lm 3.33.0 : nouvelles familles de modèles (JetBrains Mellum, Qwen 3.8, LFM3, Nemotron 3.5…). Un modèle dont le moteur ne connaît pas l'architecture donne un 400 `model_not_supported` qui nomme son type, au lieu d'un 500.
15+
16+## Installation
17+
18+Décompressez `razorbill-0.3.0-macos-arm64.tar.gz`, gardez son dossier entier et ajoutez-le au `PATH` (voir `INSTALL.txt`). macOS 14 ou plus récent sur Apple Silicon. `rzb` n'est pas encore notarisé (prévu pour la 1.0.0) : levez la quarantaine d'un téléchargement par navigateur avec `xattr -dr com.apple.quarantine <dossier>`.
new file mode 100644
@@ -0,0 +1,18 @@
1+# razorbill 0.3.0
2+
3+razorbill retrouve une interface en terminal : `rzb tui` est une fenêtre plein écran sur un `rzb serve` qui tourne sur le même Mac, pour discuter avec ses modèles, voir ce qu'il fait, gérer le cache des modèles et changer sa configuration. Le serveur gagne pour cela quelques routes locales, et le moteur passe à mlx-swift-lm 3.33.0.
4+
5+## Nouveautés
6+
7+- `rzb tui [--url] [--config] [--api-key-env]`, quatre écrans qu'on choisit avec F1–F4 ou Ctrl-T :
8+ - **Chat** : réponses en flux, Échap ou Ctrl-C en arrête une, Ctrl-N nouvelle conversation, Ctrl-P choix du modèle, raisonnement en cyan affiché, replié ou masqué (Ctrl-R), tokens et vitesse après chaque réponse, `/set` pour l'échantillonnage de la session.
9+ - **Dashboard** : les modèles chargés (état, taille, temps d'inactivité, temps avant que `keep_alive` les décharge, file d'attente), `u` pour en décharger un, les dernières requêtes avec leurs tokens, tokens en cache et tokens/s, la mémoire du moteur, et la machine : pression mémoire, mémoire disponible, swap, empreinte du serveur, charge du GPU.
10+ - **Models** : le cache Hugging Face lu sur le disque, `p` pour télécharger avec la progression, `d` pour supprimer, Entrée pour discuter avec un modèle.
11+ - **Settings** : les préférences de la TUI, enregistrées dans `~/.config/razorbill/tui.yaml` ; le fichier de configuration du serveur ouvert dans `$EDITOR`, vérifié, puis rechargé dans le serveur.
12+- Des routes d'administration locales sur `rzb serve`, qui ne répondent qu'à cette machine (et demandent la clé d'API quand il y en a une) : `GET /rzb/status`, `POST /rzb/models/{id}/unload`, `POST /rzb/config/reload`. `SIGHUP` recharge aussi la configuration ; l'hôte, le port, la variable de la clé d'API et CORS sont signalés comme demandant un redémarrage.
13+- Les requêtes en flux enregistrent maintenant leurs tokens ; l'historique des requêtes donne le temps jusqu'au premier octet et jusqu'au dernier.
14+- mlx-swift-lm 3.33.0 : nouvelles familles de modèles (JetBrains Mellum, Qwen 3.8, LFM3, Nemotron 3.5…). Un modèle dont le moteur ne connaît pas l'architecture donne un 400 `model_not_supported` qui nomme son type, au lieu d'un 500.
15+
16+## Installation
17+
18+Décompressez `razorbill-0.3.0-macos-arm64.tar.gz`, gardez son dossier entier et ajoutez-le au `PATH` (voir `INSTALL.txt`). macOS 14 ou plus récent sur Apple Silicon. `rzb` n'est pas encore notarisé (prévu pour la 1.0.0) : levez la quarantaine d'un téléchargement par navigateur avec `xattr -dr com.apple.quarantine <dossier>`.
added release-notes/v0.3.0.md +18 -0
new file mode 100644
@@ -0,0 +1,18 @@
1+# razorbill 0.3.0
2+
3+razorbill gets a terminal interface again: `rzb tui` is a full-screen window on a `rzb serve` running on the same Mac, to chat with its models, watch what it does, manage the model cache and change its configuration. The server gains a few local routes for it, and the engine moves to mlx-swift-lm 3.33.0.
4+
5+## New
6+
7+- `rzb tui [--url] [--config] [--api-key-env]`, four screens switched with F1–F4 or Ctrl-T:
8+ - **Chat**: streamed answers, Esc or Ctrl-C stops one, Ctrl-N new conversation, Ctrl-P model picker, reasoning in cyan shown, folded or hidden (Ctrl-R), tokens and speed after each answer, `/set` for the session's sampling.
9+ - **Dashboard**: the loaded models (state, size, idle time, time before `keep_alive` unloads them, queue), `u` to unload one, the last requests with tokens, cached tokens and tokens/s, the engine's memory, and the machine: memory pressure, available memory, swap, the server's footprint, GPU load.
10+ - **Models**: the Hugging Face cache read from the disk, `p` to download with progress, `d` to remove, Enter to chat with a model.
11+ - **Settings**: the TUI's preferences, saved to `~/.config/razorbill/tui.yaml`; the server's configuration file opened in `$EDITOR`, checked, then reloaded into the server.
12+- Local admin routes on `rzb serve`, answered to this machine only (and with the API key when one is set): `GET /rzb/status`, `POST /rzb/models/{id}/unload`, `POST /rzb/config/reload`. `SIGHUP` reloads the configuration too; host, port, API key variable and CORS are reported as needing a restart.
13+- Streamed requests now record their tokens; the request history gives the time to the first byte and to the last.
14+- mlx-swift-lm 3.33.0: new model families (JetBrains Mellum, Qwen 3.8, LFM3, Nemotron 3.5…). A model whose architecture the engine does not know is a 400 `model_not_supported` naming its type, instead of a 500.
15+
16+## Install
17+
18+Unpack `razorbill-0.3.0-macos-arm64.tar.gz`, keep its folder whole and put it on `PATH` (see `INSTALL.txt`). macOS 14 or later on Apple Silicon. `rzb` is not notarized yet (planned for 1.0.0): clear the quarantine of a browser download with `xattr -dr com.apple.quarantine <folder>`.
new file mode 100644
@@ -0,0 +1,18 @@
1+# razorbill 0.3.0
2+
3+razorbill gets a terminal interface again: `rzb tui` is a full-screen window on a `rzb serve` running on the same Mac, to chat with its models, watch what it does, manage the model cache and change its configuration. The server gains a few local routes for it, and the engine moves to mlx-swift-lm 3.33.0.
4+
5+## New
6+
7+- `rzb tui [--url] [--config] [--api-key-env]`, four screens switched with F1–F4 or Ctrl-T:
8+ - **Chat**: streamed answers, Esc or Ctrl-C stops one, Ctrl-N new conversation, Ctrl-P model picker, reasoning in cyan shown, folded or hidden (Ctrl-R), tokens and speed after each answer, `/set` for the session's sampling.
9+ - **Dashboard**: the loaded models (state, size, idle time, time before `keep_alive` unloads them, queue), `u` to unload one, the last requests with tokens, cached tokens and tokens/s, the engine's memory, and the machine: memory pressure, available memory, swap, the server's footprint, GPU load.
10+ - **Models**: the Hugging Face cache read from the disk, `p` to download with progress, `d` to remove, Enter to chat with a model.
11+ - **Settings**: the TUI's preferences, saved to `~/.config/razorbill/tui.yaml`; the server's configuration file opened in `$EDITOR`, checked, then reloaded into the server.
12+- Local admin routes on `rzb serve`, answered to this machine only (and with the API key when one is set): `GET /rzb/status`, `POST /rzb/models/{id}/unload`, `POST /rzb/config/reload`. `SIGHUP` reloads the configuration too; host, port, API key variable and CORS are reported as needing a restart.
13+- Streamed requests now record their tokens; the request history gives the time to the first byte and to the last.
14+- mlx-swift-lm 3.33.0: new model families (JetBrains Mellum, Qwen 3.8, LFM3, Nemotron 3.5…). A model whose architecture the engine does not know is a 400 `model_not_supported` naming its type, instead of a 500.
15+
16+## Install
17+
18+Unpack `razorbill-0.3.0-macos-arm64.tar.gz`, keep its folder whole and put it on `PATH` (see `INSTALL.txt`). macOS 14 or later on Apple Silicon. `rzb` is not notarized yet (planned for 1.0.0): clear the quarantine of a browser download with `xattr -dr com.apple.quarantine <folder>`.