#26 #28 docs EN+FR: system object of /rzb/status, Machine line and status bar; quality run #41
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bb36d60 parent: 1dea285 modified
.quality/history.jsonl +1 -0 | @@ -38,3 +38,4 @@ | ||
| 38 | 38 | {"branch": "feature/v0.3-tui", "breaches": [], "commit": "d628c4a", "counts": {}, "gate": {"max_error": 0, "max_smells": 0, "max_warning": 0}, "gate_passed": true, "metrics": {"classes": 343, "complex": 815, "cyclo": 943, "fields": 1789, "funcs": 892, "lcom": 163, "lines": 15636, "loc": 12375}, "qlty_version": "qlty 0.672.0 linux-arm64 (4362b62 2026-11-20)", "run": 38, "smells": 0, "swiftlint_version": "0.65.1", "timestamp": "2026-11-27T04:37:14Z"} |
| 39 | 39 | {"branch": "feature/v0.3-tui", "breaches": ["code smells: 1 (max 0)"], "commit": "0c75ccb", "counts": {}, "gate": {"max_error": 0, "max_smells": 0, "max_warning": 0}, "gate_passed": false, "metrics": {"classes": 366, "complex": 906, "cyclo": 1049, "fields": 1938, "funcs": 968, "lcom": 175, "lines": 17068, "loc": 13574}, "qlty_version": "qlty 0.672.0 linux-arm64 (4362b62 2026-11-20)", "run": 39, "smells": 1, "swiftlint_version": "0.65.1", "timestamp": "2026-11-27T05:12:36Z"} |
| 40 | 40 | {"branch": "feature/v0.3-tui", "breaches": [], "commit": "0c75ccb", "counts": {}, "gate": {"max_error": 0, "max_smells": 0, "max_warning": 0}, "gate_passed": true, "metrics": {"classes": 367, "complex": 890, "cyclo": 1053, "fields": 1938, "funcs": 970, "lcom": 175, "lines": 17092, "loc": 13589}, "qlty_version": "qlty 0.672.0 linux-arm64 (4362b62 2026-11-20)", "run": 40, "smells": 0, "swiftlint_version": "0.65.1", "timestamp": "2026-11-27T05:13:16Z"} |
| 41 | +{"branch": "feature/v0.3-tui", "breaches": [], "commit": "1dea285", "counts": {}, "gate": {"max_error": 0, "max_smells": 0, "max_warning": 0}, "gate_passed": true, "metrics": {"classes": 373, "complex": 915, "cyclo": 1079, "fields": 1985, "funcs": 985, "lcom": 179, "lines": 17449, "loc": 13886}, "qlty_version": "qlty 0.672.0 linux-arm64 (4362b62 2026-11-20)", "run": 41, "smells": 0, "swiftlint_version": "0.65.1", "timestamp": "2026-11-27T05:27:09Z"} | |
| @@ -38,3 +38,4 @@ | |||
| 38 | {"branch": "feature/v0.3-tui", "breaches": [], "commit": "d628c4a", "counts": {}, "gate": {"max_error": 0, "max_smells": 0, "max_warning": 0}, "gate_passed": true, "metrics": {"classes": 343, "complex": 815, "cyclo": 943, "fields": 1789, "funcs": 892, "lcom": 163, "lines": 15636, "loc": 12375}, "qlty_version": "qlty 0.672.0 linux-arm64 (4362b62 2026-11-20)", "run": 38, "smells": 0, "swiftlint_version": "0.65.1", "timestamp": "2026-11-27T04:37:14Z"} | 38 | {"branch": "feature/v0.3-tui", "breaches": [], "commit": "d628c4a", "counts": {}, "gate": {"max_error": 0, "max_smells": 0, "max_warning": 0}, "gate_passed": true, "metrics": {"classes": 343, "complex": 815, "cyclo": 943, "fields": 1789, "funcs": 892, "lcom": 163, "lines": 15636, "loc": 12375}, "qlty_version": "qlty 0.672.0 linux-arm64 (4362b62 2026-11-20)", "run": 38, "smells": 0, "swiftlint_version": "0.65.1", "timestamp": "2026-11-27T04:37:14Z"} |
| 39 | {"branch": "feature/v0.3-tui", "breaches": ["code smells: 1 (max 0)"], "commit": "0c75ccb", "counts": {}, "gate": {"max_error": 0, "max_smells": 0, "max_warning": 0}, "gate_passed": false, "metrics": {"classes": 366, "complex": 906, "cyclo": 1049, "fields": 1938, "funcs": 968, "lcom": 175, "lines": 17068, "loc": 13574}, "qlty_version": "qlty 0.672.0 linux-arm64 (4362b62 2026-11-20)", "run": 39, "smells": 1, "swiftlint_version": "0.65.1", "timestamp": "2026-11-27T05:12:36Z"} | 39 | {"branch": "feature/v0.3-tui", "breaches": ["code smells: 1 (max 0)"], "commit": "0c75ccb", "counts": {}, "gate": {"max_error": 0, "max_smells": 0, "max_warning": 0}, "gate_passed": false, "metrics": {"classes": 366, "complex": 906, "cyclo": 1049, "fields": 1938, "funcs": 968, "lcom": 175, "lines": 17068, "loc": 13574}, "qlty_version": "qlty 0.672.0 linux-arm64 (4362b62 2026-11-20)", "run": 39, "smells": 1, "swiftlint_version": "0.65.1", "timestamp": "2026-11-27T05:12:36Z"} |
| 40 | {"branch": "feature/v0.3-tui", "breaches": [], "commit": "0c75ccb", "counts": {}, "gate": {"max_error": 0, "max_smells": 0, "max_warning": 0}, "gate_passed": true, "metrics": {"classes": 367, "complex": 890, "cyclo": 1053, "fields": 1938, "funcs": 970, "lcom": 175, "lines": 17092, "loc": 13589}, "qlty_version": "qlty 0.672.0 linux-arm64 (4362b62 2026-11-20)", "run": 40, "smells": 0, "swiftlint_version": "0.65.1", "timestamp": "2026-11-27T05:13:16Z"} | 40 | {"branch": "feature/v0.3-tui", "breaches": [], "commit": "0c75ccb", "counts": {}, "gate": {"max_error": 0, "max_smells": 0, "max_warning": 0}, "gate_passed": true, "metrics": {"classes": 367, "complex": 890, "cyclo": 1053, "fields": 1938, "funcs": 970, "lcom": 175, "lines": 17092, "loc": 13589}, "qlty_version": "qlty 0.672.0 linux-arm64 (4362b62 2026-11-20)", "run": 40, "smells": 0, "swiftlint_version": "0.65.1", "timestamp": "2026-11-27T05:13:16Z"} |
| 41 | +{"branch": "feature/v0.3-tui", "breaches": [], "commit": "1dea285", "counts": {}, "gate": {"max_error": 0, "max_smells": 0, "max_warning": 0}, "gate_passed": true, "metrics": {"classes": 373, "complex": 915, "cyclo": 1079, "fields": 1985, "funcs": 985, "lcom": 179, "lines": 17449, "loc": 13886}, "qlty_version": "qlty 0.672.0 linux-arm64 (4362b62 2026-11-20)", "run": 41, "smells": 0, "swiftlint_version": "0.65.1", "timestamp": "2026-11-27T05:27:09Z"} | ||
added
.quality/report-20261127T052709Z.md +73 -0 | new file mode 100644 | ||
| @@ -0,0 +1,73 @@ | ||
| 1 | +# Quality report — 2026-11-27T05:27:09Z | |
| 2 | + | |
| 3 | +- **Gate**: ✅ **PASS** | |
| 4 | +- **Commit**: `1dea285` 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**: #41 (previous: 2026-11-27T05:13: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 | 985 | +15 | | |
| 32 | +| classes | 373 | +6 | | |
| 33 | +| fields | 1985 | +47 | | |
| 34 | +| cyclo | 1079 | +26 | | |
| 35 | +| complex | 915 | +25 | | |
| 36 | +| lcom | 179 | +4 | | |
| 37 | +| lines | 17449 | +357 | | |
| 38 | +| loc | 13886 | +297 | | |
| 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 | 28 | 38 | 219 | | |
| 47 | +| experiments/02-kv-cache-reuse/Sources/KVCacheReuse/KVCacheReuse.swift | 26 | 20 | 285 | | |
| 48 | +| Sources/RazorbillServer/ModelManager.swift | 25 | 26 | 268 | | |
| 49 | +| Sources/RazorbillTUI/DashboardScreen.swift | 25 | 23 | 132 | | |
| 50 | +| Sources/RazorbillMLX/MLXEngine.swift | 23 | 35 | 246 | | |
| 51 | +| Sources/RazorbillTUI/ServerAPI.swift | 23 | 23 | 158 | | |
| 52 | +| tools/host-runner/host_runner.py | 23 | 23 | 144 | | |
| 53 | +| Sources/RazorbillCore/Config/TUIPreferences.swift | 21 | 20 | 152 | | |
| 54 | +| Sources/RazorbillTUI/TUIApp.swift | 21 | 35 | 228 | | |
| 55 | +| Sources/RazorbillCore/Config/ConfigValue+JSON.swift | 20 | 25 | 71 | | |
| 56 | +| Sources/RazorbillCore/Config/ServerConfigLoader.swift | 20 | 17 | 227 | | |
| 57 | +| Sources/RazorbillTUI/Terminal.swift | 20 | 18 | 139 | | |
| 58 | +| Sources/RazorbillServer/Chat/ToolsAndFormats.swift | 18 | 30 | 170 | | |
| 59 | + | |
| 60 | +## Trend | |
| 61 | + | |
| 62 | +| run | timestamp | error | warning | smells | complex | gate | | |
| 63 | +|---|---|---|---|---|---|---| | |
| 64 | +| 32 | 2026-11-26T07:29:39Z | 0 | 0 | 0 | 547 | PASS | | |
| 65 | +| 33 | 2026-11-26T14:05:13Z | 0 | 0 | 0 | 547 | PASS | | |
| 66 | +| 34 | 2026-11-26T14:17:19Z | 0 | 0 | 0 | 547 | PASS | | |
| 67 | +| 35 | 2026-11-26T14:42:16Z | 0 | 0 | 0 | 548 | PASS | | |
| 68 | +| 36 | 2026-11-26T21:35:08Z | 0 | 0 | 0 | 588 | PASS | | |
| 69 | +| 37 | 2026-11-27T04:12:05Z | 0 | 0 | 0 | 717 | PASS | | |
| 70 | +| 38 | 2026-11-27T04:37:14Z | 0 | 0 | 0 | 815 | PASS | | |
| 71 | +| 39 | 2026-11-27T05:12:36Z | 0 | 0 | 1 | 906 | FAIL | | |
| 72 | +| 40 | 2026-11-27T05:13:16Z | 0 | 0 | 0 | 890 | PASS | | |
| 73 | +| 41 | 2026-11-27T05:27:09Z | 0 | 0 | 0 | 915 | PASS | | |
| new file mode 100644 | |||
| @@ -0,0 +1,73 @@ | |||
| 1 | +# Quality report — 2026-11-27T05:27:09Z | ||
| 2 | + | ||
| 3 | +- **Gate**: ✅ **PASS** | ||
| 4 | +- **Commit**: `1dea285` 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**: #41 (previous: 2026-11-27T05:13: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 | 985 | +15 | | ||
| 32 | +| classes | 373 | +6 | | ||
| 33 | +| fields | 1985 | +47 | | ||
| 34 | +| cyclo | 1079 | +26 | | ||
| 35 | +| complex | 915 | +25 | | ||
| 36 | +| lcom | 179 | +4 | | ||
| 37 | +| lines | 17449 | +357 | | ||
| 38 | +| loc | 13886 | +297 | | ||
| 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 | 28 | 38 | 219 | | ||
| 47 | +| experiments/02-kv-cache-reuse/Sources/KVCacheReuse/KVCacheReuse.swift | 26 | 20 | 285 | | ||
| 48 | +| Sources/RazorbillServer/ModelManager.swift | 25 | 26 | 268 | | ||
| 49 | +| Sources/RazorbillTUI/DashboardScreen.swift | 25 | 23 | 132 | | ||
| 50 | +| Sources/RazorbillMLX/MLXEngine.swift | 23 | 35 | 246 | | ||
| 51 | +| Sources/RazorbillTUI/ServerAPI.swift | 23 | 23 | 158 | | ||
| 52 | +| tools/host-runner/host_runner.py | 23 | 23 | 144 | | ||
| 53 | +| Sources/RazorbillCore/Config/TUIPreferences.swift | 21 | 20 | 152 | | ||
| 54 | +| Sources/RazorbillTUI/TUIApp.swift | 21 | 35 | 228 | | ||
| 55 | +| Sources/RazorbillCore/Config/ConfigValue+JSON.swift | 20 | 25 | 71 | | ||
| 56 | +| Sources/RazorbillCore/Config/ServerConfigLoader.swift | 20 | 17 | 227 | | ||
| 57 | +| Sources/RazorbillTUI/Terminal.swift | 20 | 18 | 139 | | ||
| 58 | +| Sources/RazorbillServer/Chat/ToolsAndFormats.swift | 18 | 30 | 170 | | ||
| 59 | + | ||
| 60 | +## Trend | ||
| 61 | + | ||
| 62 | +| run | timestamp | error | warning | smells | complex | gate | | ||
| 63 | +|---|---|---|---|---|---|---| | ||
| 64 | +| 32 | 2026-11-26T07:29:39Z | 0 | 0 | 0 | 547 | PASS | | ||
| 65 | +| 33 | 2026-11-26T14:05:13Z | 0 | 0 | 0 | 547 | PASS | | ||
| 66 | +| 34 | 2026-11-26T14:17:19Z | 0 | 0 | 0 | 547 | PASS | | ||
| 67 | +| 35 | 2026-11-26T14:42:16Z | 0 | 0 | 0 | 548 | PASS | | ||
| 68 | +| 36 | 2026-11-26T21:35:08Z | 0 | 0 | 0 | 588 | PASS | | ||
| 69 | +| 37 | 2026-11-27T04:12:05Z | 0 | 0 | 0 | 717 | PASS | | ||
| 70 | +| 38 | 2026-11-27T04:37:14Z | 0 | 0 | 0 | 815 | PASS | | ||
| 71 | +| 39 | 2026-11-27T05:12:36Z | 0 | 0 | 1 | 906 | FAIL | | ||
| 72 | +| 40 | 2026-11-27T05:13:16Z | 0 | 0 | 0 | 890 | PASS | | ||
| 73 | +| 41 | 2026-11-27T05:27:09Z | 0 | 0 | 0 | 915 | PASS | | ||
modified
.quality/report-latest.md +16 -16 | @@ -1,10 +1,10 @@ | ||
| 1 | -# Quality report — 2026-11-27T05:13:16Z | |
| 1 | +# Quality report — 2026-11-27T05:27:09Z | |
| 2 | 2 | |
| 3 | 3 | - **Gate**: ✅ **PASS** |
| 4 | -- **Commit**: `0c75ccb` on `feature/v0.3-tui` | |
| 4 | +- **Commit**: `1dea285` on `feature/v0.3-tui` | |
| 5 | 5 | - **qlty**: qlty 0.672.0 linux-arm64 (4362b62 2026-11-20) |
| 6 | 6 | - **swiftlint**: 0.65.1 (run directly, merged into lint issues) |
| 7 | -- **Run**: #40 (previous: 2026-11-27T05:12:36Z) | |
| 7 | +- **Run**: #41 (previous: 2026-11-27T05:13:16Z) | |
| 8 | 8 | |
| 9 | 9 | ## Lint issues (`qlty check`) |
| 10 | 10 | |
| @@ -20,7 +20,7 @@ _none_ | ||
| 20 | 20 | |
| 21 | 21 | ## Code smells (`qlty smells`) |
| 22 | 22 | |
| 23 | -Total: **0** (vs previous: -1) | |
| 23 | +Total: **0** (vs previous: ±0) | |
| 24 | 24 | |
| 25 | 25 | _none_ |
| 26 | 26 | |
| @@ -28,14 +28,14 @@ _none_ | ||
| 28 | 28 | |
| 29 | 29 | | metric | total | vs previous | |
| 30 | 30 | |---|---|---| |
| 31 | -| funcs | 970 | +2 | | |
| 32 | -| classes | 367 | +1 | | |
| 33 | -| fields | 1938 | ±0 | | |
| 34 | -| cyclo | 1053 | +4 | | |
| 35 | -| complex | 890 | -16 | | |
| 36 | -| lcom | 175 | ±0 | | |
| 37 | -| lines | 17092 | +24 | | |
| 38 | -| loc | 13589 | +15 | | |
| 31 | +| funcs | 985 | +15 | | |
| 32 | +| classes | 373 | +6 | | |
| 33 | +| fields | 1985 | +47 | | |
| 34 | +| cyclo | 1079 | +26 | | |
| 35 | +| complex | 915 | +25 | | |
| 36 | +| lcom | 179 | +4 | | |
| 37 | +| lines | 17449 | +357 | | |
| 38 | +| loc | 13886 | +297 | | |
| 39 | 39 | |
| 40 | 40 | ### Most complex files |
| 41 | 41 | |
| @@ -46,22 +46,21 @@ _none_ | ||
| 46 | 46 | | Sources/RazorbillTUI/ChatScreen.swift | 28 | 38 | 219 | |
| 47 | 47 | | experiments/02-kv-cache-reuse/Sources/KVCacheReuse/KVCacheReuse.swift | 26 | 20 | 285 | |
| 48 | 48 | | Sources/RazorbillServer/ModelManager.swift | 25 | 26 | 268 | |
| 49 | +| Sources/RazorbillTUI/DashboardScreen.swift | 25 | 23 | 132 | | |
| 49 | 50 | | Sources/RazorbillMLX/MLXEngine.swift | 23 | 35 | 246 | |
| 50 | -| Sources/RazorbillTUI/ServerAPI.swift | 23 | 23 | 135 | | |
| 51 | +| Sources/RazorbillTUI/ServerAPI.swift | 23 | 23 | 158 | | |
| 51 | 52 | | tools/host-runner/host_runner.py | 23 | 23 | 144 | |
| 52 | 53 | | Sources/RazorbillCore/Config/TUIPreferences.swift | 21 | 20 | 152 | |
| 53 | -| Sources/RazorbillTUI/TUIApp.swift | 21 | 35 | 224 | | |
| 54 | +| Sources/RazorbillTUI/TUIApp.swift | 21 | 35 | 228 | | |
| 54 | 55 | | Sources/RazorbillCore/Config/ConfigValue+JSON.swift | 20 | 25 | 71 | |
| 55 | 56 | | Sources/RazorbillCore/Config/ServerConfigLoader.swift | 20 | 17 | 227 | |
| 56 | 57 | | Sources/RazorbillTUI/Terminal.swift | 20 | 18 | 139 | |
| 57 | -| Sources/RazorbillTUI/DashboardScreen.swift | 19 | 17 | 109 | | |
| 58 | 58 | | Sources/RazorbillServer/Chat/ToolsAndFormats.swift | 18 | 30 | 170 | |
| 59 | 59 | |
| 60 | 60 | ## Trend |
| 61 | 61 | |
| 62 | 62 | | run | timestamp | error | warning | smells | complex | gate | |
| 63 | 63 | |---|---|---|---|---|---|---| |
| 64 | -| 31 | 2026-11-26T07:11:39Z | 0 | 0 | 0 | 546 | PASS | | |
| 65 | 64 | | 32 | 2026-11-26T07:29:39Z | 0 | 0 | 0 | 547 | PASS | |
| 66 | 65 | | 33 | 2026-11-26T14:05:13Z | 0 | 0 | 0 | 547 | PASS | |
| 67 | 66 | | 34 | 2026-11-26T14:17:19Z | 0 | 0 | 0 | 547 | PASS | |
| @@ -71,3 +70,4 @@ _none_ | ||
| 71 | 70 | | 38 | 2026-11-27T04:37:14Z | 0 | 0 | 0 | 815 | PASS | |
| 72 | 71 | | 39 | 2026-11-27T05:12:36Z | 0 | 0 | 1 | 906 | FAIL | |
| 73 | 72 | | 40 | 2026-11-27T05:13:16Z | 0 | 0 | 0 | 890 | PASS | |
| 73 | +| 41 | 2026-11-27T05:27:09Z | 0 | 0 | 0 | 915 | PASS | | |
| @@ -1,10 +1,10 @@ | |||
| 1 | -# Quality report — 2026-11-27T05:13:16Z | 1 | +# Quality report — 2026-11-27T05:27:09Z |
| 2 | 2 | ||
| 3 | - **Gate**: ✅ **PASS** | 3 | - **Gate**: ✅ **PASS** |
| 4 | -- **Commit**: `0c75ccb` on `feature/v0.3-tui` | 4 | +- **Commit**: `1dea285` 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**: #40 (previous: 2026-11-27T05:12:36Z) | 7 | +- **Run**: #41 (previous: 2026-11-27T05:13:16Z) |
| 8 | 8 | ||
| 9 | ## Lint issues (`qlty check`) | 9 | ## Lint issues (`qlty check`) |
| 10 | 10 | ||
| @@ -20,7 +20,7 @@ _none_ | |||
| 20 | 20 | ||
| 21 | ## Code smells (`qlty smells`) | 21 | ## Code smells (`qlty smells`) |
| 22 | 22 | ||
| 23 | -Total: **0** (vs previous: -1) | 23 | +Total: **0** (vs previous: ±0) |
| 24 | 24 | ||
| 25 | _none_ | 25 | _none_ |
| 26 | 26 | ||
| @@ -28,14 +28,14 @@ _none_ | |||
| 28 | 28 | ||
| 29 | | metric | total | vs previous | | 29 | | metric | total | vs previous | |
| 30 | |---|---|---| | 30 | |---|---|---| |
| 31 | -| funcs | 970 | +2 | | 31 | +| funcs | 985 | +15 | |
| 32 | -| classes | 367 | +1 | | 32 | +| classes | 373 | +6 | |
| 33 | -| fields | 1938 | ±0 | | 33 | +| fields | 1985 | +47 | |
| 34 | -| cyclo | 1053 | +4 | | 34 | +| cyclo | 1079 | +26 | |
| 35 | -| complex | 890 | -16 | | 35 | +| complex | 915 | +25 | |
| 36 | -| lcom | 175 | ±0 | | 36 | +| lcom | 179 | +4 | |
| 37 | -| lines | 17092 | +24 | | 37 | +| lines | 17449 | +357 | |
| 38 | -| loc | 13589 | +15 | | 38 | +| loc | 13886 | +297 | |
| 39 | 39 | ||
| 40 | ### Most complex files | 40 | ### Most complex files |
| 41 | 41 | ||
| @@ -46,22 +46,21 @@ _none_ | |||
| 46 | | Sources/RazorbillTUI/ChatScreen.swift | 28 | 38 | 219 | | 46 | | Sources/RazorbillTUI/ChatScreen.swift | 28 | 38 | 219 | |
| 47 | | experiments/02-kv-cache-reuse/Sources/KVCacheReuse/KVCacheReuse.swift | 26 | 20 | 285 | | 47 | | experiments/02-kv-cache-reuse/Sources/KVCacheReuse/KVCacheReuse.swift | 26 | 20 | 285 | |
| 48 | | Sources/RazorbillServer/ModelManager.swift | 25 | 26 | 268 | | 48 | | Sources/RazorbillServer/ModelManager.swift | 25 | 26 | 268 | |
| 49 | +| Sources/RazorbillTUI/DashboardScreen.swift | 25 | 23 | 132 | | ||
| 49 | | Sources/RazorbillMLX/MLXEngine.swift | 23 | 35 | 246 | | 50 | | Sources/RazorbillMLX/MLXEngine.swift | 23 | 35 | 246 | |
| 50 | -| Sources/RazorbillTUI/ServerAPI.swift | 23 | 23 | 135 | | 51 | +| Sources/RazorbillTUI/ServerAPI.swift | 23 | 23 | 158 | |
| 51 | | tools/host-runner/host_runner.py | 23 | 23 | 144 | | 52 | | tools/host-runner/host_runner.py | 23 | 23 | 144 | |
| 52 | | Sources/RazorbillCore/Config/TUIPreferences.swift | 21 | 20 | 152 | | 53 | | Sources/RazorbillCore/Config/TUIPreferences.swift | 21 | 20 | 152 | |
| 53 | -| Sources/RazorbillTUI/TUIApp.swift | 21 | 35 | 224 | | 54 | +| Sources/RazorbillTUI/TUIApp.swift | 21 | 35 | 228 | |
| 54 | | Sources/RazorbillCore/Config/ConfigValue+JSON.swift | 20 | 25 | 71 | | 55 | | Sources/RazorbillCore/Config/ConfigValue+JSON.swift | 20 | 25 | 71 | |
| 55 | | Sources/RazorbillCore/Config/ServerConfigLoader.swift | 20 | 17 | 227 | | 56 | | Sources/RazorbillCore/Config/ServerConfigLoader.swift | 20 | 17 | 227 | |
| 56 | | Sources/RazorbillTUI/Terminal.swift | 20 | 18 | 139 | | 57 | | Sources/RazorbillTUI/Terminal.swift | 20 | 18 | 139 | |
| 57 | -| Sources/RazorbillTUI/DashboardScreen.swift | 19 | 17 | 109 | | ||
| 58 | | Sources/RazorbillServer/Chat/ToolsAndFormats.swift | 18 | 30 | 170 | | 58 | | Sources/RazorbillServer/Chat/ToolsAndFormats.swift | 18 | 30 | 170 | |
| 59 | 59 | ||
| 60 | ## Trend | 60 | ## Trend |
| 61 | 61 | ||
| 62 | | run | timestamp | error | warning | smells | complex | gate | | 62 | | run | timestamp | error | warning | smells | complex | gate | |
| 63 | |---|---|---|---|---|---|---| | 63 | |---|---|---|---|---|---|---| |
| 64 | -| 31 | 2026-11-26T07:11:39Z | 0 | 0 | 0 | 546 | PASS | | ||
| 65 | | 32 | 2026-11-26T07:29:39Z | 0 | 0 | 0 | 547 | PASS | | 64 | | 32 | 2026-11-26T07:29:39Z | 0 | 0 | 0 | 547 | PASS | |
| 66 | | 33 | 2026-11-26T14:05:13Z | 0 | 0 | 0 | 547 | PASS | | 65 | | 33 | 2026-11-26T14:05:13Z | 0 | 0 | 0 | 547 | PASS | |
| 67 | | 34 | 2026-11-26T14:17:19Z | 0 | 0 | 0 | 547 | PASS | | 66 | | 34 | 2026-11-26T14:17:19Z | 0 | 0 | 0 | 547 | PASS | |
| @@ -71,3 +70,4 @@ _none_ | |||
| 71 | | 38 | 2026-11-27T04:37:14Z | 0 | 0 | 0 | 815 | PASS | | 70 | | 38 | 2026-11-27T04:37:14Z | 0 | 0 | 0 | 815 | PASS | |
| 72 | | 39 | 2026-11-27T05:12:36Z | 0 | 0 | 1 | 906 | FAIL | | 71 | | 39 | 2026-11-27T05:12:36Z | 0 | 0 | 1 | 906 | FAIL | |
| 73 | | 40 | 2026-11-27T05:13:16Z | 0 | 0 | 0 | 890 | PASS | | 72 | | 40 | 2026-11-27T05:13:16Z | 0 | 0 | 0 | 890 | PASS | |
| 73 | +| 41 | 2026-11-27T05:27:09Z | 0 | 0 | 0 | 915 | PASS | | ||
modified
docs/en/reference/http-api.md +13 -0 | @@ -331,6 +331,7 @@ curl -s http://127.0.0.1:7920/rzb/status | ||
| 331 | 331 | | `models` | array | The models loaded or being loaded, sorted by `key` (table below); `[]` when none | |
| 332 | 332 | | `recent_requests` | array | The last 50 requests answered, newest first, each recorded once its last byte is sent (table below) | |
| 333 | 333 | | `memory` | object or `null` | The engine's memory (table below); `null` when the engine cannot measure it (the Linux build) | |
| 334 | +| `system` | object | The machine (table below), measured on each request | | |
| 334 | 335 | |
| 335 | 336 | | Field of a model | Type | Value | |
| 336 | 337 | | --- | --- | --- | |
| @@ -361,11 +362,23 @@ curl -s http://127.0.0.1:7920/rzb/status | ||
| 361 | 362 | | `peak_bytes` | integer | Highest `active_bytes` since the process started | |
| 362 | 363 | | `limit_bytes` | integer | What MLX may allocate | |
| 363 | 364 | |
| 365 | +| Field of `system` | Type | Value | | |
| 366 | +| --- | --- | --- | | |
| 367 | +| `physical_bytes` | integer | Installed memory | | |
| 368 | +| `pressure` | string or `null` | `normal`, `warning` or `critical`, as Activity Monitor's memory pressure; `null` on Linux | | |
| 369 | +| `available_bytes` | integer or `null` | Memory available without swapping: free and speculative pages on macOS, `MemAvailable` on Linux | | |
| 370 | +| `compressed_bytes` | integer or `null` | Memory held compressed (macOS) | | |
| 371 | +| `swap_used_bytes` | integer or `null` | Swap in use | | |
| 372 | +| `process_bytes` | integer or `null` | The server process's memory footprint | | |
| 373 | +| `gpu_utilization` | integer or `null` | GPU use in percent, from the `IOAccelerator` statistics of IOKit; `null` when the GPU does not publish it, and on Linux | | |
| 374 | + | |
| 364 | 375 | Example, after one chat request: |
| 365 | 376 | |
| 366 | 377 | ```json |
| 367 | 378 | {"config_file": "/Users/me/server.yaml", "host": "127.0.0.1", "port": 7920, "uptime_seconds": 34, "version": "0.2.0", |
| 368 | 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, | |
| 381 | + "pressure": "normal", "process_bytes": 4400000000, "swap_used_bytes": 0}, | |
| 369 | 382 | "models": [{"busy": false, "idle_seconds": 7, "keep_alive_left_seconds": 592.9, "key": "mlx-community/Qwen3-0.6B-4bit", |
| 370 | 383 | "kind": "chat", "name": "qwen", "queued": 0, "size_bytes": 335450584, "state": "loaded"}], |
| 371 | 384 | "recent_requests": [{"cached_tokens": 0, "completion_tokens": 9, "duration_ms": 529, "finished_at": 1795728740, "first_byte_ms": 529, |
| @@ -331,6 +331,7 @@ curl -s http://127.0.0.1:7920/rzb/status | |||
| 331 | | `models` | array | The models loaded or being loaded, sorted by `key` (table below); `[]` when none | | 331 | | `models` | array | The models loaded or being loaded, sorted by `key` (table below); `[]` when none | |
| 332 | | `recent_requests` | array | The last 50 requests answered, newest first, each recorded once its last byte is sent (table below) | | 332 | | `recent_requests` | array | The last 50 requests answered, newest first, each recorded once its last byte is sent (table below) | |
| 333 | | `memory` | object or `null` | The engine's memory (table below); `null` when the engine cannot measure it (the Linux build) | | 333 | | `memory` | object or `null` | The engine's memory (table below); `null` when the engine cannot measure it (the Linux build) | |
| 334 | +| `system` | object | The machine (table below), measured on each request | | ||
| 334 | 335 | ||
| 335 | | Field of a model | Type | Value | | 336 | | Field of a model | Type | Value | |
| 336 | | --- | --- | --- | | 337 | | --- | --- | --- | |
| @@ -361,11 +362,23 @@ curl -s http://127.0.0.1:7920/rzb/status | |||
| 361 | | `peak_bytes` | integer | Highest `active_bytes` since the process started | | 362 | | `peak_bytes` | integer | Highest `active_bytes` since the process started | |
| 362 | | `limit_bytes` | integer | What MLX may allocate | | 363 | | `limit_bytes` | integer | What MLX may allocate | |
| 363 | 364 | ||
| 365 | +| Field of `system` | Type | Value | | ||
| 366 | +| --- | --- | --- | | ||
| 367 | +| `physical_bytes` | integer | Installed memory | | ||
| 368 | +| `pressure` | string or `null` | `normal`, `warning` or `critical`, as Activity Monitor's memory pressure; `null` on Linux | | ||
| 369 | +| `available_bytes` | integer or `null` | Memory available without swapping: free and speculative pages on macOS, `MemAvailable` on Linux | | ||
| 370 | +| `compressed_bytes` | integer or `null` | Memory held compressed (macOS) | | ||
| 371 | +| `swap_used_bytes` | integer or `null` | Swap in use | | ||
| 372 | +| `process_bytes` | integer or `null` | The server process's memory footprint | | ||
| 373 | +| `gpu_utilization` | integer or `null` | GPU use in percent, from the `IOAccelerator` statistics of IOKit; `null` when the GPU does not publish it, and on Linux | | ||
| 374 | + | ||
| 364 | Example, after one chat request: | 375 | Example, after one chat request: |
| 365 | 376 | ||
| 366 | ```json | 377 | ```json |
| 367 | {"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.2.0", |
| 368 | "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, | ||
| 381 | + "pressure": "normal", "process_bytes": 4400000000, "swap_used_bytes": 0}, | ||
| 369 | "models": [{"busy": false, "idle_seconds": 7, "keep_alive_left_seconds": 592.9, "key": "mlx-community/Qwen3-0.6B-4bit", | 382 | "models": [{"busy": false, "idle_seconds": 7, "keep_alive_left_seconds": 592.9, "key": "mlx-community/Qwen3-0.6B-4bit", |
| 370 | "kind": "chat", "name": "qwen", "queued": 0, "size_bytes": 335450584, "state": "loaded"}], | 383 | "kind": "chat", "name": "qwen", "queued": 0, "size_bytes": 335450584, "state": "loaded"}], |
| 371 | "recent_requests": [{"cached_tokens": 0, "completion_tokens": 9, "duration_ms": 529, "finished_at": 1795728740, "first_byte_ms": 529, | 384 | "recent_requests": [{"cached_tokens": 0, "completion_tokens": 9, "duration_ms": 529, "finished_at": 1795728740, "first_byte_ms": 529, |
modified
docs/en/reference/tui.md +2 -2 | @@ -13,7 +13,7 @@ | ||
| 13 | 13 | | Mark in the last row | Meaning | |
| 14 | 14 | | --- | --- | |
| 15 | 15 | | `…` | Waiting for the server's first answer | |
| 16 | -| `●` | Connected: the server's version and address, the first loaded model, the engine's memory in use over its limit | | |
| 16 | +| `●` | Connected: the server's version and address, the first loaded model, the engine's memory in use over its limit, the GPU load, the memory pressure (green normal, yellow warning, red critical) | | |
| 17 | 17 | | `○` | No server answers; every screen shows the `rzb serve` command to run (with `--config` when `rzb tui` got one) | |
| 18 | 18 | | `✕` | The server refused the API key (401), or it is on another machine (403 `local_only`) | |
| 19 | 19 | |
| @@ -32,7 +32,7 @@ Memory and sizes are in GB of 2³⁰ bytes. | ||
| 32 | 32 | |
| 33 | 33 | ## Dashboard (F2) |
| 34 | 34 | |
| 35 | -The server's version, uptime and address; the engine's memory as a gauge of active over limit, with cache and peak (`not reported by this engine` on Linux); the loaded models; the last requests. | |
| 35 | +The server's version, uptime and address; the engine's memory as a gauge of active over limit, with cache and peak (`not reported by this engine` on Linux); the machine (memory pressure, available memory over installed, compressed memory, swap, the server's footprint as `rzb …`, GPU load; each part only when the server can measure it); the loaded models; the last requests. | |
| 36 | 36 | |
| 37 | 37 | | Models column | Content | |
| 38 | 38 | | --- | --- | |
| @@ -13,7 +13,7 @@ | |||
| 13 | | Mark in the last row | Meaning | | 13 | | Mark in the last row | Meaning | |
| 14 | | --- | --- | | 14 | | --- | --- | |
| 15 | | `…` | Waiting for the server's first answer | | 15 | | `…` | Waiting for the server's first answer | |
| 16 | -| `●` | Connected: the server's version and address, the first loaded model, the engine's memory in use over its limit | | 16 | +| `●` | Connected: the server's version and address, the first loaded model, the engine's memory in use over its limit, the GPU load, the memory pressure (green normal, yellow warning, red critical) | |
| 17 | | `○` | No server answers; every screen shows the `rzb serve` command to run (with `--config` when `rzb tui` got one) | | 17 | | `○` | No server answers; every screen shows the `rzb serve` command to run (with `--config` when `rzb tui` got one) | |
| 18 | | `✕` | The server refused the API key (401), or it is on another machine (403 `local_only`) | | 18 | | `✕` | The server refused the API key (401), or it is on another machine (403 `local_only`) | |
| 19 | 19 | ||
| @@ -32,7 +32,7 @@ Memory and sizes are in GB of 2³⁰ bytes. | |||
| 32 | 32 | ||
| 33 | ## Dashboard (F2) | 33 | ## Dashboard (F2) |
| 34 | 34 | ||
| 35 | -The server's version, uptime and address; the engine's memory as a gauge of active over limit, with cache and peak (`not reported by this engine` on Linux); the loaded models; the last requests. | 35 | +The server's version, uptime and address; the engine's memory as a gauge of active over limit, with cache and peak (`not reported by this engine` on Linux); the machine (memory pressure, available memory over installed, compressed memory, swap, the server's footprint as `rzb …`, GPU load; each part only when the server can measure it); the loaded models; the last requests. |
| 36 | 36 | ||
| 37 | | Models column | Content | | 37 | | Models column | Content | |
| 38 | | --- | --- | | 38 | | --- | --- | |
modified
docs/fr/reference/api-http.md +13 -0 | @@ -331,6 +331,7 @@ curl -s http://127.0.0.1:7920/rzb/status | ||
| 331 | 331 | | `models` | tableau | Les modèles chargés ou en cours de chargement, triés par `key` (tableau ci-dessous) ; `[]` s'il n'y en a aucun | |
| 332 | 332 | | `recent_requests` | tableau | Les 50 dernières requêtes traitées, la plus récente d'abord, chacune enregistrée une fois son dernier octet envoyé (tableau ci-dessous) | |
| 333 | 333 | | `memory` | objet ou `null` | La mémoire du moteur (tableau ci-dessous) ; `null` quand le moteur ne sait pas la mesurer (la version Linux) | |
| 334 | +| `system` | objet | La machine (tableau ci-dessous), mesurée à chaque requête | | |
| 334 | 335 | |
| 335 | 336 | | Champ d'un modèle | Type | Valeur | |
| 336 | 337 | | --- | --- | --- | |
| @@ -361,11 +362,23 @@ curl -s http://127.0.0.1:7920/rzb/status | ||
| 361 | 362 | | `peak_bytes` | entier | Le plus haut `active_bytes` depuis le démarrage du processus | |
| 362 | 363 | | `limit_bytes` | entier | Ce que MLX peut allouer | |
| 363 | 364 | |
| 365 | +| Champ de `system` | Type | Valeur | | |
| 366 | +| --- | --- | --- | | |
| 367 | +| `physical_bytes` | entier | Mémoire installée | | |
| 368 | +| `pressure` | chaîne ou `null` | `normal`, `warning` ou `critical`, comme la pression mémoire du Moniteur d'activité ; `null` sous Linux | | |
| 369 | +| `available_bytes` | entier ou `null` | Mémoire disponible sans swap : pages libres et spéculatives sous macOS, `MemAvailable` sous Linux | | |
| 370 | +| `compressed_bytes` | entier ou `null` | Mémoire tenue compressée (macOS) | | |
| 371 | +| `swap_used_bytes` | entier ou `null` | Swap utilisé | | |
| 372 | +| `process_bytes` | entier ou `null` | L'empreinte mémoire du processus du serveur | | |
| 373 | +| `gpu_utilization` | entier ou `null` | Utilisation du GPU en pour cent, d'après les statistiques `IOAccelerator` d'IOKit ; `null` quand le GPU ne la publie pas, et sous Linux | | |
| 374 | + | |
| 364 | 375 | Exemple, après une requête de chat : |
| 365 | 376 | |
| 366 | 377 | ```json |
| 367 | 378 | {"config_file": "/Users/me/server.yaml", "host": "127.0.0.1", "port": 7920, "uptime_seconds": 34, "version": "0.2.0", |
| 368 | 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, | |
| 381 | + "pressure": "normal", "process_bytes": 4400000000, "swap_used_bytes": 0}, | |
| 369 | 382 | "models": [{"busy": false, "idle_seconds": 7, "keep_alive_left_seconds": 592.9, "key": "mlx-community/Qwen3-0.6B-4bit", |
| 370 | 383 | "kind": "chat", "name": "qwen", "queued": 0, "size_bytes": 335450584, "state": "loaded"}], |
| 371 | 384 | "recent_requests": [{"cached_tokens": 0, "completion_tokens": 9, "duration_ms": 529, "finished_at": 1795728740, "first_byte_ms": 529, |
| @@ -331,6 +331,7 @@ curl -s http://127.0.0.1:7920/rzb/status | |||
| 331 | | `models` | tableau | Les modèles chargés ou en cours de chargement, triés par `key` (tableau ci-dessous) ; `[]` s'il n'y en a aucun | | 331 | | `models` | tableau | Les modèles chargés ou en cours de chargement, triés par `key` (tableau ci-dessous) ; `[]` s'il n'y en a aucun | |
| 332 | | `recent_requests` | tableau | Les 50 dernières requêtes traitées, la plus récente d'abord, chacune enregistrée une fois son dernier octet envoyé (tableau ci-dessous) | | 332 | | `recent_requests` | tableau | Les 50 dernières requêtes traitées, la plus récente d'abord, chacune enregistrée une fois son dernier octet envoyé (tableau ci-dessous) | |
| 333 | | `memory` | objet ou `null` | La mémoire du moteur (tableau ci-dessous) ; `null` quand le moteur ne sait pas la mesurer (la version Linux) | | 333 | | `memory` | objet ou `null` | La mémoire du moteur (tableau ci-dessous) ; `null` quand le moteur ne sait pas la mesurer (la version Linux) | |
| 334 | +| `system` | objet | La machine (tableau ci-dessous), mesurée à chaque requête | | ||
| 334 | 335 | ||
| 335 | | Champ d'un modèle | Type | Valeur | | 336 | | Champ d'un modèle | Type | Valeur | |
| 336 | | --- | --- | --- | | 337 | | --- | --- | --- | |
| @@ -361,11 +362,23 @@ curl -s http://127.0.0.1:7920/rzb/status | |||
| 361 | | `peak_bytes` | entier | Le plus haut `active_bytes` depuis le démarrage du processus | | 362 | | `peak_bytes` | entier | Le plus haut `active_bytes` depuis le démarrage du processus | |
| 362 | | `limit_bytes` | entier | Ce que MLX peut allouer | | 363 | | `limit_bytes` | entier | Ce que MLX peut allouer | |
| 363 | 364 | ||
| 365 | +| Champ de `system` | Type | Valeur | | ||
| 366 | +| --- | --- | --- | | ||
| 367 | +| `physical_bytes` | entier | Mémoire installée | | ||
| 368 | +| `pressure` | chaîne ou `null` | `normal`, `warning` ou `critical`, comme la pression mémoire du Moniteur d'activité ; `null` sous Linux | | ||
| 369 | +| `available_bytes` | entier ou `null` | Mémoire disponible sans swap : pages libres et spéculatives sous macOS, `MemAvailable` sous Linux | | ||
| 370 | +| `compressed_bytes` | entier ou `null` | Mémoire tenue compressée (macOS) | | ||
| 371 | +| `swap_used_bytes` | entier ou `null` | Swap utilisé | | ||
| 372 | +| `process_bytes` | entier ou `null` | L'empreinte mémoire du processus du serveur | | ||
| 373 | +| `gpu_utilization` | entier ou `null` | Utilisation du GPU en pour cent, d'après les statistiques `IOAccelerator` d'IOKit ; `null` quand le GPU ne la publie pas, et sous Linux | | ||
| 374 | + | ||
| 364 | Exemple, après une requête de chat : | 375 | Exemple, après une requête de chat : |
| 365 | 376 | ||
| 366 | ```json | 377 | ```json |
| 367 | {"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.2.0", |
| 368 | "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, | ||
| 381 | + "pressure": "normal", "process_bytes": 4400000000, "swap_used_bytes": 0}, | ||
| 369 | "models": [{"busy": false, "idle_seconds": 7, "keep_alive_left_seconds": 592.9, "key": "mlx-community/Qwen3-0.6B-4bit", | 382 | "models": [{"busy": false, "idle_seconds": 7, "keep_alive_left_seconds": 592.9, "key": "mlx-community/Qwen3-0.6B-4bit", |
| 370 | "kind": "chat", "name": "qwen", "queued": 0, "size_bytes": 335450584, "state": "loaded"}], | 383 | "kind": "chat", "name": "qwen", "queued": 0, "size_bytes": 335450584, "state": "loaded"}], |
| 371 | "recent_requests": [{"cached_tokens": 0, "completion_tokens": 9, "duration_ms": 529, "finished_at": 1795728740, "first_byte_ms": 529, | 384 | "recent_requests": [{"cached_tokens": 0, "completion_tokens": 9, "duration_ms": 529, "finished_at": 1795728740, "first_byte_ms": 529, |
modified
docs/fr/reference/tui.md +2 -2 | @@ -13,7 +13,7 @@ | ||
| 13 | 13 | | Signe de la dernière ligne | Signification | |
| 14 | 14 | | --- | --- | |
| 15 | 15 | | `…` | En attente de la première réponse du serveur | |
| 16 | -| `●` | Connecté : la version et l'adresse du serveur, le premier modèle chargé, la mémoire du moteur utilisée sur sa limite | | |
| 16 | +| `●` | Connecté : la version et l'adresse du serveur, le premier modèle chargé, la mémoire du moteur utilisée sur sa limite, la charge du GPU, la pression mémoire (vert normal, jaune warning, rouge critical) | | |
| 17 | 17 | | `○` | Aucun serveur ne répond ; chaque écran donne la commande `rzb serve` à lancer (avec `--config` quand `rzb tui` en a reçu un) | |
| 18 | 18 | | `✕` | Le serveur a refusé la clé d'API (401), ou il est sur une autre machine (403 `local_only`) | |
| 19 | 19 | |
| @@ -32,7 +32,7 @@ Les mémoires et les tailles sont en Go de 2³⁰ octets. | ||
| 32 | 32 | |
| 33 | 33 | ## Dashboard (F2) |
| 34 | 34 | |
| 35 | -La version, la durée de fonctionnement et l'adresse du serveur ; la mémoire du moteur en jauge (active sur limite), avec le cache et le maximum (`not reported by this engine` sous Linux) ; les modèles chargés ; les dernières requêtes. | |
| 35 | +La version, la durée de fonctionnement et l'adresse du serveur ; la mémoire du moteur en jauge (active sur limite), avec le cache et le maximum (`not reported by this engine` sous Linux) ; la machine (pression mémoire, mémoire disponible sur installée, mémoire compressée, swap, empreinte du serveur sous la forme `rzb …`, charge du GPU ; chaque partie seulement quand le serveur sait la mesurer) ; les modèles chargés ; les dernières requêtes. | |
| 36 | 36 | |
| 37 | 37 | | Colonne des modèles | Contenu | |
| 38 | 38 | | --- | --- | |
| @@ -13,7 +13,7 @@ | |||
| 13 | | Signe de la dernière ligne | Signification | | 13 | | Signe de la dernière ligne | Signification | |
| 14 | | --- | --- | | 14 | | --- | --- | |
| 15 | | `…` | En attente de la première réponse du serveur | | 15 | | `…` | En attente de la première réponse du serveur | |
| 16 | -| `●` | Connecté : la version et l'adresse du serveur, le premier modèle chargé, la mémoire du moteur utilisée sur sa limite | | 16 | +| `●` | Connecté : la version et l'adresse du serveur, le premier modèle chargé, la mémoire du moteur utilisée sur sa limite, la charge du GPU, la pression mémoire (vert normal, jaune warning, rouge critical) | |
| 17 | | `○` | Aucun serveur ne répond ; chaque écran donne la commande `rzb serve` à lancer (avec `--config` quand `rzb tui` en a reçu un) | | 17 | | `○` | Aucun serveur ne répond ; chaque écran donne la commande `rzb serve` à lancer (avec `--config` quand `rzb tui` en a reçu un) | |
| 18 | | `✕` | Le serveur a refusé la clé d'API (401), ou il est sur une autre machine (403 `local_only`) | | 18 | | `✕` | Le serveur a refusé la clé d'API (401), ou il est sur une autre machine (403 `local_only`) | |
| 19 | 19 | ||
| @@ -32,7 +32,7 @@ Les mémoires et les tailles sont en Go de 2³⁰ octets. | |||
| 32 | 32 | ||
| 33 | ## Dashboard (F2) | 33 | ## Dashboard (F2) |
| 34 | 34 | ||
| 35 | -La version, la durée de fonctionnement et l'adresse du serveur ; la mémoire du moteur en jauge (active sur limite), avec le cache et le maximum (`not reported by this engine` sous Linux) ; les modèles chargés ; les dernières requêtes. | 35 | +La version, la durée de fonctionnement et l'adresse du serveur ; la mémoire du moteur en jauge (active sur limite), avec le cache et le maximum (`not reported by this engine` sous Linux) ; la machine (pression mémoire, mémoire disponible sur installée, mémoire compressée, swap, empreinte du serveur sous la forme `rzb …`, charge du GPU ; chaque partie seulement quand le serveur sait la mesurer) ; les modèles chargés ; les dernières requêtes. |
| 36 | 36 | ||
| 37 | | Colonne des modèles | Contenu | | 37 | | Colonne des modèles | Contenu | |
| 38 | | --- | --- | | 38 | | --- | --- | |