@alexeiled/claude-router 1.24.0 → 1.25.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/plugin.json +1 -1
- package/CHANGELOG.md +74 -0
- package/README.md +55 -7
- package/docs/architecture.md +30 -4
- package/docs/configuration.md +23 -14
- package/docs/evaluation.md +3 -3
- package/docs/native-router.md +12 -4
- package/docs/router-band.svg +140 -142
- package/docs/router-pane-classifier.svg +48 -31
- package/docs/router-pane-now.svg +162 -120
- package/docs/router-pane-policy.svg +79 -47
- package/docs/router-pane-routes.svg +8 -8
- package/docs/router-pane-usage-whatif.svg +14 -14
- package/docs/router-pane-usage.svg +20 -20
- package/docs/routing-modes.md +10 -8
- package/docs/user-guide.md +151 -22
- package/hooks/native-router.mjs +415 -88
- package/lib/activity-stats.mjs +23 -4
- package/lib/activity.mjs +7 -5
- package/lib/auto-engine.mjs +13 -6
- package/lib/auto-route.mjs +10 -4
- package/lib/band.mjs +35 -440
- package/lib/classifier-client.mjs +12 -8
- package/lib/config-file.mjs +7 -2
- package/lib/config.mjs +24 -9
- package/lib/cost.mjs +5 -1
- package/lib/costs.mjs +4 -2
- package/lib/decisions.mjs +13 -9
- package/lib/display.mjs +71 -20
- package/lib/facts.mjs +3 -0
- package/lib/failover.mjs +55 -0
- package/lib/modes.mjs +8 -4
- package/lib/panel.mjs +75 -2167
- package/lib/policy.mjs +7 -6
- package/lib/replay-trace.mjs +5 -2
- package/lib/replay.mjs +7 -1
- package/lib/route-line.mjs +46 -0
- package/lib/route.mjs +51 -32
- package/lib/savings.mjs +14 -3
- package/lib/subagents.mjs +41 -11
- package/lib/subcommands.mjs +60 -0
- package/lib/ui/fallback.mjs +22 -0
- package/lib/ui/graphical/band.mjs +256 -0
- package/lib/ui/graphical/charts.mjs +163 -0
- package/lib/ui/graphical/classifier.mjs +153 -0
- package/lib/ui/graphical/frame.mjs +231 -0
- package/lib/ui/graphical/kit.mjs +156 -0
- package/lib/ui/graphical/meter.mjs +25 -0
- package/lib/ui/graphical/now.mjs +357 -0
- package/lib/ui/graphical/policy.mjs +56 -0
- package/lib/ui/graphical/routes.mjs +264 -0
- package/lib/ui/graphical/squares.mjs +29 -0
- package/lib/ui/graphical/usage.mjs +376 -0
- package/lib/ui/model/band.mjs +441 -0
- package/lib/ui/model/classifier.mjs +308 -0
- package/lib/ui/model/draft.mjs +62 -0
- package/lib/ui/model/format.mjs +41 -0
- package/lib/ui/model/frame.mjs +359 -0
- package/lib/ui/model/now.mjs +421 -0
- package/lib/ui/model/policy.mjs +194 -0
- package/lib/ui/model/routes.mjs +392 -0
- package/lib/ui/model/usage-agents.mjs +311 -0
- package/lib/ui/model/usage-breakdown.mjs +237 -0
- package/lib/ui/model/usage-shared.mjs +58 -0
- package/lib/ui/model/usage.mjs +330 -0
- package/lib/ui/terminal/band.mjs +253 -0
- package/lib/ui/terminal/classifier.mjs +150 -0
- package/lib/ui/terminal/frame.mjs +169 -0
- package/lib/ui/terminal/kit.mjs +162 -0
- package/lib/ui/terminal/now.mjs +293 -0
- package/lib/ui/terminal/policy.mjs +55 -0
- package/lib/ui/terminal/routes.mjs +167 -0
- package/lib/ui/terminal/usage.mjs +363 -0
- package/lib/ui/terminal/wrap.mjs +37 -0
- package/lib/ui/tokens.mjs +106 -0
- package/lib/usage.mjs +5 -5
- package/lib/view.mjs +5 -2
- package/package.json +4 -2
- package/types/index.d.ts +17 -0
package/docs/router-band.svg
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 922
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 922 574" role="img" aria-labelledby="title desc">
|
|
2
2
|
<title id="title">The Router band above the Claude Code prompt</title>
|
|
3
|
-
<desc id="desc">Eight band states drawn by the router code: routed to high, two rows on a Claude plan with the hover
|
|
3
|
+
<desc id="desc">Eight band states drawn by the router code: routed to high, two rows on a Claude plan with the hover controls shown, two rows on an API key, a pending pin, a missing classifier key, routing off, an activity move with activity routing on, and cost mode set for the session.</desc>
|
|
4
4
|
<style>
|
|
5
5
|
text { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace; font-size: 13px; }
|
|
6
6
|
.cap { font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 12px; fill: #9a988f; }
|
|
7
7
|
</style>
|
|
8
|
-
<rect width="922" height="
|
|
8
|
+
<rect width="922" height="574" rx="8" fill="#1c1c1c"/>
|
|
9
9
|
<text class="cap" x="20" y="30">Routing on: routed to the high tier on a clear jump</text>
|
|
10
10
|
<rect x="12" y="38" width="897.6" height="29" rx="5" fill="#232323"/>
|
|
11
11
|
<text x="24.0" y="56" fill="#e0708a" xml:space="preserve">▂</text>
|
|
@@ -17,32 +17,38 @@
|
|
|
17
17
|
<text x="211.2" y="56" fill="#d77757" font-style="italic" xml:space="preserve">code</text>
|
|
18
18
|
<text x="265.8" y="56" fill="#7c7c7c" xml:space="preserve">↑ clearly stronger</text>
|
|
19
19
|
<text x="429.6" y="56" fill="#7c7c7c" xml:space="preserve">Jev 88% ≥ 82%</text>
|
|
20
|
-
<text x="
|
|
21
|
-
<text x="
|
|
22
|
-
<text x="
|
|
23
|
-
<text x="
|
|
24
|
-
<text x="
|
|
25
|
-
<text x="
|
|
26
|
-
<text x="
|
|
27
|
-
<
|
|
28
|
-
<text
|
|
29
|
-
<
|
|
20
|
+
<text x="562.2" y="56" fill="#7c7c7c" xml:space="preserve">ctx </text>
|
|
21
|
+
<text x="593.4" y="56" fill="#87d787" xml:space="preserve">▰▰</text>
|
|
22
|
+
<text x="609.0" y="56" fill="#7c7c7c" xml:space="preserve">▱▱▱</text>
|
|
23
|
+
<text x="632.4" y="56" fill="#87d787" xml:space="preserve"> 40%</text>
|
|
24
|
+
<text x="687.0" y="56" fill="#7c7c7c" xml:space="preserve">cache </text>
|
|
25
|
+
<text x="733.8" y="56" fill="#87d787" xml:space="preserve">100%</text>
|
|
26
|
+
<text x="765.0" y="56" fill="#7c7c7c" xml:space="preserve"> last</text>
|
|
27
|
+
<rect x="819.6" y="42" width="78.0" height="18" rx="4" fill="#2e3340"/>
|
|
28
|
+
<text x="819.6" y="56" fill="#d0d0d0" xml:space="preserve">[ Router ]</text>
|
|
29
|
+
<text class="cap" x="20" y="95">Two rows on a Claude plan, with the hover controls shown over the readings: plan windows, the session as a configured-rate API estimate against your model, pins</text>
|
|
30
|
+
<rect x="12" y="103" width="897.6" height="48" rx="5" fill="#232323"/>
|
|
30
31
|
<text x="24.0" y="121" fill="#e0708a" xml:space="preserve">▂</text>
|
|
31
32
|
<text x="31.8" y="121" fill="#e0708a" xml:space="preserve">▄</text>
|
|
32
33
|
<text x="39.6" y="121" fill="#e0708a" xml:space="preserve">▆</text>
|
|
33
34
|
<text x="47.4" y="121" fill="#e0708a" xml:space="preserve">█</text>
|
|
34
35
|
<text x="63.0" y="121" fill="#d0d0d0" font-weight="700" xml:space="preserve">Opus 5.5</text>
|
|
35
36
|
<text x="125.4" y="121" fill="#d0d0d0" xml:space="preserve"> · xhigh</text>
|
|
36
|
-
<text x="211.2" y="121" fill="#
|
|
37
|
-
<
|
|
38
|
-
<text x="
|
|
39
|
-
<
|
|
40
|
-
<text x="
|
|
41
|
-
<
|
|
42
|
-
<text x="
|
|
43
|
-
<
|
|
44
|
-
<text x="
|
|
45
|
-
<
|
|
37
|
+
<text x="211.2" y="121" fill="#7c7c7c" xml:space="preserve">pin </text>
|
|
38
|
+
<rect x="242.4" y="107" width="39.0" height="18" rx="4" fill="#2e3340"/>
|
|
39
|
+
<text x="242.4" y="121" fill="#d0d0d0" xml:space="preserve">[ ▂ ]</text>
|
|
40
|
+
<rect x="289.2" y="107" width="46.8" height="18" rx="4" fill="#2e3340"/>
|
|
41
|
+
<text x="289.2" y="121" fill="#d0d0d0" xml:space="preserve">[ ▂▄ ]</text>
|
|
42
|
+
<rect x="343.8" y="107" width="54.6" height="18" rx="4" fill="#2e3340"/>
|
|
43
|
+
<text x="343.8" y="121" fill="#d0d0d0" xml:space="preserve">[ ▂▄▆ ]</text>
|
|
44
|
+
<rect x="406.2" y="107" width="62.4" height="18" rx="4" fill="#2e3340"/>
|
|
45
|
+
<text x="406.2" y="121" fill="#d0d0d0" xml:space="preserve">[ ▂▄▆█ ]</text>
|
|
46
|
+
<rect x="484.2" y="107" width="93.6" height="18" rx="4" fill="#2e3340"/>
|
|
47
|
+
<text x="484.2" y="121" fill="#d0d0d0" xml:space="preserve">[ Turn off ]</text>
|
|
48
|
+
<rect x="593.4" y="107" width="70.2" height="18" rx="4" fill="#2e3340"/>
|
|
49
|
+
<text x="593.4" y="121" fill="#d0d0d0" xml:space="preserve">[ 1 row ]</text>
|
|
50
|
+
<rect x="819.6" y="107" width="78.0" height="18" rx="4" fill="#2e3340"/>
|
|
51
|
+
<text x="819.6" y="121" fill="#d0d0d0" xml:space="preserve">[ Router ]</text>
|
|
46
52
|
<text x="24.0" y="140" fill="#7c7c7c" xml:space="preserve">plan 5h </text>
|
|
47
53
|
<text x="86.4" y="140" fill="#87d787" xml:space="preserve">▰▰▰▰</text>
|
|
48
54
|
<text x="117.6" y="140" fill="#7c7c7c" xml:space="preserve">▱▱▱▱</text>
|
|
@@ -53,125 +59,117 @@
|
|
|
53
59
|
<text x="328.2" y="140" fill="#7c7c7c" xml:space="preserve">session </text>
|
|
54
60
|
<text x="390.6" y="140" fill="#d0d0d0" font-weight="700" xml:space="preserve">≈$6.40</text>
|
|
55
61
|
<text x="437.4" y="140" fill="#7c7c7c" xml:space="preserve"> API estimate</text>
|
|
56
|
-
<text x="562.2" y="140" fill="#
|
|
62
|
+
<text x="562.2" y="140" fill="#87d787" font-weight="700" xml:space="preserve">−$1.84 (−22%)</text>
|
|
57
63
|
<text x="663.6" y="140" fill="#7c7c7c" xml:space="preserve"> vs Opus 5.5</text>
|
|
58
64
|
<text x="780.6" y="140" fill="#7c7c7c" xml:space="preserve">64 replies</text>
|
|
59
|
-
<text
|
|
60
|
-
<rect x="
|
|
61
|
-
<text x="
|
|
62
|
-
<
|
|
63
|
-
<text x="
|
|
64
|
-
<
|
|
65
|
-
<text x="
|
|
66
|
-
<
|
|
67
|
-
<text x="
|
|
68
|
-
<
|
|
69
|
-
<text x="
|
|
70
|
-
<
|
|
71
|
-
<text x="
|
|
72
|
-
<text
|
|
73
|
-
<
|
|
74
|
-
<text x="
|
|
75
|
-
<text x="
|
|
76
|
-
<
|
|
77
|
-
<text x="
|
|
78
|
-
<text x="
|
|
79
|
-
<text x="
|
|
80
|
-
<text x="
|
|
81
|
-
<text x="
|
|
82
|
-
<text x="
|
|
83
|
-
<text x="
|
|
84
|
-
<text
|
|
85
|
-
<
|
|
86
|
-
<text x="
|
|
87
|
-
<text x="
|
|
88
|
-
<text x="
|
|
89
|
-
<text x="
|
|
90
|
-
<text x="
|
|
91
|
-
<text x="
|
|
92
|
-
<text x="
|
|
93
|
-
<text x="258.0" y="
|
|
94
|
-
<text x="
|
|
95
|
-
<text x="
|
|
96
|
-
<text
|
|
97
|
-
<
|
|
98
|
-
<text x="
|
|
99
|
-
<text x="
|
|
100
|
-
<text x="
|
|
101
|
-
<text x="
|
|
102
|
-
<text x="
|
|
103
|
-
<text x="
|
|
104
|
-
<text x="
|
|
105
|
-
<text x="
|
|
106
|
-
<text
|
|
107
|
-
<
|
|
108
|
-
<text x="
|
|
109
|
-
<
|
|
110
|
-
<text x="
|
|
111
|
-
<text x="
|
|
112
|
-
<text x="
|
|
113
|
-
<text x="
|
|
114
|
-
<text x="
|
|
115
|
-
<text x="
|
|
116
|
-
<text x="
|
|
117
|
-
<text x="
|
|
118
|
-
<
|
|
119
|
-
<
|
|
120
|
-
<text
|
|
121
|
-
<rect x="
|
|
122
|
-
<text x="
|
|
123
|
-
<text x="
|
|
124
|
-
<
|
|
125
|
-
<text x="
|
|
126
|
-
<text x="
|
|
127
|
-
<
|
|
128
|
-
<text x="
|
|
129
|
-
<text
|
|
130
|
-
<
|
|
131
|
-
<text
|
|
132
|
-
<
|
|
133
|
-
<text x="
|
|
134
|
-
<text x="
|
|
135
|
-
<
|
|
136
|
-
<text x="
|
|
137
|
-
<text x="
|
|
138
|
-
<text x="
|
|
139
|
-
<text
|
|
140
|
-
<
|
|
141
|
-
<text x="
|
|
142
|
-
<text x="
|
|
143
|
-
<text x="
|
|
144
|
-
<text x="
|
|
145
|
-
<
|
|
146
|
-
<text x="
|
|
147
|
-
<text
|
|
148
|
-
<
|
|
149
|
-
<text x="
|
|
150
|
-
<text x="
|
|
151
|
-
<text x="
|
|
152
|
-
<text x="
|
|
153
|
-
<text x="
|
|
154
|
-
<text x="
|
|
155
|
-
<text x="
|
|
156
|
-
<text
|
|
157
|
-
<rect x="
|
|
158
|
-
<text x="
|
|
159
|
-
<text x="
|
|
160
|
-
<text x="
|
|
161
|
-
<text x="
|
|
162
|
-
<text x="
|
|
163
|
-
<text x="
|
|
164
|
-
<text x="
|
|
165
|
-
<text x="
|
|
166
|
-
<
|
|
167
|
-
<
|
|
168
|
-
<text x="
|
|
169
|
-
<text x="593.4" y="568" fill="#7c7c7c" xml:space="preserve">ctx </text>
|
|
170
|
-
<text x="624.6" y="568" fill="#87d787" xml:space="preserve">▰▰</text>
|
|
171
|
-
<text x="640.2" y="568" fill="#7c7c7c" xml:space="preserve">▱▱▱</text>
|
|
172
|
-
<text x="663.6" y="568" fill="#87d787" xml:space="preserve"> 40%</text>
|
|
173
|
-
<text x="718.2" y="568" fill="#7c7c7c" xml:space="preserve">cache </text>
|
|
174
|
-
<text x="765.0" y="568" fill="#87d787" xml:space="preserve">100%</text>
|
|
175
|
-
<text x="796.2" y="568" fill="#7c7c7c" xml:space="preserve"> last</text>
|
|
176
|
-
<text x="850.8" y="568" fill="#d0d0d0" xml:space="preserve">Router</text>
|
|
65
|
+
<text class="cap" x="20" y="179">Two rows on an API key: the session as a configured-rate API estimate, not an invoice, against your model</text>
|
|
66
|
+
<rect x="12" y="187" width="897.6" height="48" rx="5" fill="#232323"/>
|
|
67
|
+
<text x="24.0" y="205" fill="#e0708a" xml:space="preserve">▂</text>
|
|
68
|
+
<text x="31.8" y="205" fill="#e0708a" xml:space="preserve">▄</text>
|
|
69
|
+
<text x="39.6" y="205" fill="#e0708a" xml:space="preserve">▆</text>
|
|
70
|
+
<text x="47.4" y="205" fill="#e0708a" xml:space="preserve">█</text>
|
|
71
|
+
<text x="63.0" y="205" fill="#d0d0d0" font-weight="700" xml:space="preserve">Opus 5.5</text>
|
|
72
|
+
<text x="125.4" y="205" fill="#d0d0d0" xml:space="preserve"> · xhigh</text>
|
|
73
|
+
<text x="211.2" y="205" fill="#d77757" font-style="italic" xml:space="preserve">code</text>
|
|
74
|
+
<text x="265.8" y="205" fill="#7c7c7c" xml:space="preserve">↑ clearly stronger</text>
|
|
75
|
+
<text x="562.2" y="205" fill="#7c7c7c" xml:space="preserve">ctx </text>
|
|
76
|
+
<text x="593.4" y="205" fill="#87d787" xml:space="preserve">▰▰</text>
|
|
77
|
+
<text x="609.0" y="205" fill="#7c7c7c" xml:space="preserve">▱▱▱</text>
|
|
78
|
+
<text x="632.4" y="205" fill="#87d787" xml:space="preserve"> 40%</text>
|
|
79
|
+
<text x="687.0" y="205" fill="#7c7c7c" xml:space="preserve">cache </text>
|
|
80
|
+
<text x="733.8" y="205" fill="#87d787" xml:space="preserve">100%</text>
|
|
81
|
+
<text x="765.0" y="205" fill="#7c7c7c" xml:space="preserve"> last</text>
|
|
82
|
+
<rect x="819.6" y="191" width="78.0" height="18" rx="4" fill="#2e3340"/>
|
|
83
|
+
<text x="819.6" y="205" fill="#d0d0d0" xml:space="preserve">[ Router ]</text>
|
|
84
|
+
<text x="24.0" y="224" fill="#7c7c7c" xml:space="preserve">session </text>
|
|
85
|
+
<text x="86.4" y="224" fill="#d0d0d0" font-weight="700" xml:space="preserve">≈$6.40</text>
|
|
86
|
+
<text x="133.2" y="224" fill="#7c7c7c" xml:space="preserve"> API estimate</text>
|
|
87
|
+
<text x="258.0" y="224" fill="#87d787" font-weight="700" xml:space="preserve">−$1.84 (−22%)</text>
|
|
88
|
+
<text x="359.4" y="224" fill="#7c7c7c" xml:space="preserve"> vs Opus 5.5</text>
|
|
89
|
+
<text x="476.4" y="224" fill="#7c7c7c" xml:space="preserve">64 replies</text>
|
|
90
|
+
<text class="cap" x="20" y="263">A pin waits for the next turn; ✕ cancels it</text>
|
|
91
|
+
<rect x="12" y="271" width="897.6" height="29" rx="5" fill="#232323"/>
|
|
92
|
+
<text x="24.0" y="289" fill="#5f9fe0" xml:space="preserve">▂</text>
|
|
93
|
+
<text x="31.8" y="289" fill="#5f9fe0" xml:space="preserve">▄</text>
|
|
94
|
+
<text x="39.6" y="289" fill="#7c7c7c" xml:space="preserve">▆</text>
|
|
95
|
+
<text x="47.4" y="289" fill="#7c7c7c" xml:space="preserve">█</text>
|
|
96
|
+
<text x="63.0" y="289" fill="#d0d0d0" font-weight="700" xml:space="preserve">Haiku 5.5</text>
|
|
97
|
+
<text x="133.2" y="289" fill="#d0d0d0" xml:space="preserve"> · high</text>
|
|
98
|
+
<text x="211.2" y="289" fill="#d77757" font-style="italic" xml:space="preserve">ops</text>
|
|
99
|
+
<text x="258.0" y="289" fill="#5fafd7" xml:space="preserve">⏵ next </text>
|
|
100
|
+
<text x="312.6" y="289" fill="#d7af5f" xml:space="preserve">▂▄▆</text>
|
|
101
|
+
<text x="336.0" y="289" fill="#d7af5f" xml:space="preserve"> Opus·medium</text>
|
|
102
|
+
<text x="437.4" y="289" fill="#d0d0d0" xml:space="preserve">✕</text>
|
|
103
|
+
<text x="468.6" y="289" fill="#7c7c7c" xml:space="preserve">= fits</text>
|
|
104
|
+
<text x="593.4" y="289" fill="#7c7c7c" xml:space="preserve">ctx </text>
|
|
105
|
+
<text x="624.6" y="289" fill="#87d787" xml:space="preserve">▰▰</text>
|
|
106
|
+
<text x="640.2" y="289" fill="#7c7c7c" xml:space="preserve">▱▱▱</text>
|
|
107
|
+
<text x="663.6" y="289" fill="#87d787" xml:space="preserve"> 40%</text>
|
|
108
|
+
<text x="718.2" y="289" fill="#7c7c7c" xml:space="preserve">cache </text>
|
|
109
|
+
<text x="765.0" y="289" fill="#87d787" xml:space="preserve">100%</text>
|
|
110
|
+
<text x="796.2" y="289" fill="#7c7c7c" xml:space="preserve"> last</text>
|
|
111
|
+
<text x="850.8" y="289" fill="#d0d0d0" xml:space="preserve">Router</text>
|
|
112
|
+
<text class="cap" x="20" y="328">No classifier key: routing keeps the model and offers Set up</text>
|
|
113
|
+
<rect x="12" y="336" width="897.6" height="29" rx="5" fill="#232323"/>
|
|
114
|
+
<text x="24.0" y="354" fill="#d7af5f" xml:space="preserve">⚠ Jev: no API key</text>
|
|
115
|
+
<rect x="180.0" y="340" width="78.0" height="18" rx="4" fill="#87afff"/>
|
|
116
|
+
<text x="180.0" y="354" fill="#0d1016" font-weight="700" xml:space="preserve">[ Set up ]</text>
|
|
117
|
+
<text x="281.4" y="354" fill="#5f9fe0" xml:space="preserve">▂</text>
|
|
118
|
+
<text x="289.2" y="354" fill="#5f9fe0" xml:space="preserve">▄</text>
|
|
119
|
+
<text x="297.0" y="354" fill="#7c7c7c" xml:space="preserve">▆</text>
|
|
120
|
+
<text x="304.8" y="354" fill="#7c7c7c" xml:space="preserve">█</text>
|
|
121
|
+
<text x="320.4" y="354" fill="#d0d0d0" font-weight="700" xml:space="preserve">Haiku 5.5</text>
|
|
122
|
+
<text x="390.6" y="354" fill="#d0d0d0" xml:space="preserve"> · high</text>
|
|
123
|
+
<text x="468.6" y="354" fill="#7c7c7c" xml:space="preserve">= no advice</text>
|
|
124
|
+
<rect x="570.0" y="340" width="78.0" height="18" rx="4" fill="#2e3340"/>
|
|
125
|
+
<text x="570.0" y="354" fill="#d0d0d0" xml:space="preserve">[ Router ]</text>
|
|
126
|
+
<text class="cap" x="20" y="393">Routing off: /model chose the model; Turn on resumes routing</text>
|
|
127
|
+
<rect x="12" y="401" width="897.6" height="29" rx="5" fill="#232323"/>
|
|
128
|
+
<text x="24.0" y="419" fill="#7c7c7c" xml:space="preserve">○ </text>
|
|
129
|
+
<text x="39.6" y="419" fill="#d0d0d0" font-weight="700" xml:space="preserve">Sonnet 5.5</text>
|
|
130
|
+
<rect x="125.4" y="405" width="85.8" height="18" rx="4" fill="#87afff"/>
|
|
131
|
+
<text x="125.4" y="419" fill="#0d1016" font-weight="700" xml:space="preserve">[ Turn on ]</text>
|
|
132
|
+
<text x="234.6" y="419" fill="#7c7c7c" xml:space="preserve">routing off · /model</text>
|
|
133
|
+
<rect x="406.2" y="405" width="78.0" height="18" rx="4" fill="#2e3340"/>
|
|
134
|
+
<text x="406.2" y="419" fill="#d0d0d0" xml:space="preserve">[ Router ]</text>
|
|
135
|
+
<text class="cap" x="20" y="458">Activity routing on: an ops turn at medium moves from Opus to Haiku</text>
|
|
136
|
+
<rect x="12" y="466" width="897.6" height="29" rx="5" fill="#232323"/>
|
|
137
|
+
<text x="24.0" y="484" fill="#d7af5f" xml:space="preserve">▂</text>
|
|
138
|
+
<text x="31.8" y="484" fill="#d7af5f" xml:space="preserve">▄</text>
|
|
139
|
+
<text x="39.6" y="484" fill="#d7af5f" xml:space="preserve">▆</text>
|
|
140
|
+
<text x="47.4" y="484" fill="#7c7c7c" xml:space="preserve">█</text>
|
|
141
|
+
<text x="63.0" y="484" fill="#d0d0d0" font-weight="700" xml:space="preserve">Haiku 5.5</text>
|
|
142
|
+
<text x="133.2" y="484" fill="#d0d0d0" xml:space="preserve"> · high</text>
|
|
143
|
+
<text x="211.2" y="484" fill="#7c7c7c" xml:space="preserve">↓ ops</text>
|
|
144
|
+
<text x="562.2" y="484" fill="#7c7c7c" xml:space="preserve">ctx </text>
|
|
145
|
+
<text x="593.4" y="484" fill="#87d787" xml:space="preserve">▰▰</text>
|
|
146
|
+
<text x="609.0" y="484" fill="#7c7c7c" xml:space="preserve">▱▱▱</text>
|
|
147
|
+
<text x="632.4" y="484" fill="#87d787" xml:space="preserve"> 40%</text>
|
|
148
|
+
<text x="687.0" y="484" fill="#7c7c7c" xml:space="preserve">cache </text>
|
|
149
|
+
<text x="733.8" y="484" fill="#87d787" xml:space="preserve">100%</text>
|
|
150
|
+
<text x="765.0" y="484" fill="#7c7c7c" xml:space="preserve"> last</text>
|
|
151
|
+
<rect x="819.6" y="470" width="78.0" height="18" rx="4" fill="#2e3340"/>
|
|
152
|
+
<text x="819.6" y="484" fill="#d0d0d0" xml:space="preserve">[ Router ]</text>
|
|
153
|
+
<text class="cap" x="20" y="523">Cost mode for this session: high runs Opus at high instead of xhigh</text>
|
|
154
|
+
<rect x="12" y="531" width="897.6" height="29" rx="5" fill="#232323"/>
|
|
155
|
+
<text x="24.0" y="549" fill="#e0708a" xml:space="preserve">▂</text>
|
|
156
|
+
<text x="31.8" y="549" fill="#e0708a" xml:space="preserve">▄</text>
|
|
157
|
+
<text x="39.6" y="549" fill="#e0708a" xml:space="preserve">▆</text>
|
|
158
|
+
<text x="47.4" y="549" fill="#e0708a" xml:space="preserve">█</text>
|
|
159
|
+
<text x="63.0" y="549" fill="#d0d0d0" font-weight="700" xml:space="preserve">Opus 5.5</text>
|
|
160
|
+
<text x="125.4" y="549" fill="#d0d0d0" xml:space="preserve"> · high</text>
|
|
161
|
+
<text x="203.4" y="549" fill="#d77757" font-style="italic" xml:space="preserve">code</text>
|
|
162
|
+
<text x="258.0" y="549" fill="#7c7c7c" xml:space="preserve">= fits</text>
|
|
163
|
+
<rect x="328.2" y="535" width="46.8" height="18" rx="4" fill="#2a3040"/>
|
|
164
|
+
<text x="328.2" y="549" fill="#7c7c7c" xml:space="preserve"> cost </text>
|
|
165
|
+
<text x="375.0" y="549" fill="#7c7c7c" xml:space="preserve"> effort only</text>
|
|
166
|
+
<text x="562.2" y="549" fill="#7c7c7c" xml:space="preserve">ctx </text>
|
|
167
|
+
<text x="593.4" y="549" fill="#87d787" xml:space="preserve">▰▰</text>
|
|
168
|
+
<text x="609.0" y="549" fill="#7c7c7c" xml:space="preserve">▱▱▱</text>
|
|
169
|
+
<text x="632.4" y="549" fill="#87d787" xml:space="preserve"> 40%</text>
|
|
170
|
+
<text x="687.0" y="549" fill="#7c7c7c" xml:space="preserve">cache </text>
|
|
171
|
+
<text x="733.8" y="549" fill="#87d787" xml:space="preserve">100%</text>
|
|
172
|
+
<text x="765.0" y="549" fill="#7c7c7c" xml:space="preserve"> last</text>
|
|
173
|
+
<rect x="819.6" y="535" width="78.0" height="18" rx="4" fill="#2e3340"/>
|
|
174
|
+
<text x="819.6" y="549" fill="#d0d0d0" xml:space="preserve">[ Router ]</text>
|
|
177
175
|
</svg>
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 922 648" role="img" aria-labelledby="title desc">
|
|
2
2
|
<title id="title">Router pane, Classifier tab</title>
|
|
3
3
|
<desc id="desc">One row per classifier to compare: where the prompt goes, its activity probe, its p95 wait and whether its credentials are complete, with Set up for a missing Jev API key; the active classifier’s deadline against its wait, the host that receives the prompt, health and credentials; the agreement with tools across sessions; and Undo after a switch.</desc>
|
|
4
4
|
<style>
|
|
5
5
|
text { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace; font-size: 13px; }
|
|
6
6
|
.cap { font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 12px; fill: #9a988f; }
|
|
7
7
|
</style>
|
|
8
|
-
<rect width="
|
|
9
|
-
<rect x="10" y="10" width="
|
|
8
|
+
<rect width="922" height="648" rx="8" fill="#1c1c1c"/>
|
|
9
|
+
<rect x="10" y="10" width="902" height="628" rx="6" fill="none" stroke="#3f5f8f"/>
|
|
10
10
|
<text x="24.0" y="34" fill="#5fafd7" font-weight="700" xml:space="preserve">ROUTER</text>
|
|
11
11
|
<rect x="86.4" y="20" width="62.4" height="18" rx="4" fill="#87afff"/>
|
|
12
12
|
<text x="86.4" y="34" fill="#0d1016" font-weight="700" xml:space="preserve">[ ◉ on ]</text>
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
<rect x="24.0" y="115" width="124.8" height="18" rx="4" fill="#2e3340"/>
|
|
32
32
|
<text x="24.0" y="129" fill="#d0d0d0" xml:space="preserve">[ ○ Jev ]</text>
|
|
33
33
|
<text x="156.6" y="129" fill="#7c7c7c" xml:space="preserve">api.typesafe.ai</text>
|
|
34
|
-
<text x="320.4" y="129" fill="#
|
|
35
|
-
<text x="382.8" y="129" fill="#
|
|
34
|
+
<text x="320.4" y="129" fill="#7c7c7c" xml:space="preserve">—</text>
|
|
35
|
+
<text x="382.8" y="129" fill="#7c7c7c" xml:space="preserve">—</text>
|
|
36
36
|
<text x="460.8" y="129" fill="#d7af5f" xml:space="preserve">○ no API key </text>
|
|
37
37
|
<rect x="570.0" y="115" width="78.0" height="18" rx="4" fill="#2e3340"/>
|
|
38
38
|
<text x="570.0" y="129" fill="#d0d0d0" xml:space="preserve">[ Set up ]</text>
|
|
@@ -68,30 +68,47 @@
|
|
|
68
68
|
<text x="320.4" y="224" fill="#d0d0d0" xml:space="preserve">66/70</text>
|
|
69
69
|
<text x="382.8" y="224" fill="#d0d0d0" xml:space="preserve">3483 ms</text>
|
|
70
70
|
<text x="460.8" y="224" fill="#87d787" xml:space="preserve">● ready</text>
|
|
71
|
-
<text x="24.0" y="243" fill="#7c7c7c" xml:space="preserve"> probe:
|
|
72
|
-
<
|
|
73
|
-
<
|
|
74
|
-
<text x="
|
|
75
|
-
<text x="117.6" y="300" fill="#
|
|
76
|
-
<
|
|
77
|
-
<
|
|
78
|
-
<text x="
|
|
79
|
-
<text x="
|
|
80
|
-
<text x="
|
|
81
|
-
<
|
|
82
|
-
<
|
|
83
|
-
<text x="
|
|
84
|
-
<
|
|
85
|
-
<
|
|
86
|
-
<text x="
|
|
87
|
-
<text x="
|
|
88
|
-
<
|
|
89
|
-
<
|
|
90
|
-
<text x="
|
|
91
|
-
<
|
|
92
|
-
<
|
|
93
|
-
<text x="
|
|
94
|
-
<text x="
|
|
95
|
-
<
|
|
96
|
-
<
|
|
71
|
+
<text x="24.0" y="243" fill="#7c7c7c" xml:space="preserve"> probe: historical turn-activity questions, not goal/phase accuracy; p95 from that run</text>
|
|
72
|
+
<path d="M27.9 286V276H893.7V286" fill="none" stroke="#7c7c7c"/>
|
|
73
|
+
<path d="M27.9 286V305" fill="none" stroke="#7c7c7c"/>
|
|
74
|
+
<text x="39.6" y="300" fill="#5fafd7" font-weight="700" xml:space="preserve">CLEF FLASH</text>
|
|
75
|
+
<text x="117.6" y="300" fill="#7c7c7c" xml:space="preserve"> · active</text>
|
|
76
|
+
<path d="M893.7 286V305" fill="none" stroke="#7c7c7c"/>
|
|
77
|
+
<path d="M27.9 305V324" fill="none" stroke="#7c7c7c"/>
|
|
78
|
+
<text x="39.6" y="319" fill="#d0d0d0" xml:space="preserve">Deadline</text>
|
|
79
|
+
<text x="133.2" y="319" fill="#d0d0d0" xml:space="preserve">3000 ms ▾</text>
|
|
80
|
+
<text x="226.8" y="319" fill="#7c7c7c" xml:space="preserve">p95 874 ms in its probe</text>
|
|
81
|
+
<path d="M893.7 305V324" fill="none" stroke="#7c7c7c"/>
|
|
82
|
+
<path d="M27.9 324V343" fill="none" stroke="#7c7c7c"/>
|
|
83
|
+
<text x="133.2" y="338" fill="#7c7c7c" xml:space="preserve">past the deadline the turn keeps its model</text>
|
|
84
|
+
<path d="M893.7 324V343" fill="none" stroke="#7c7c7c"/>
|
|
85
|
+
<path d="M27.9 343V362" fill="none" stroke="#7c7c7c"/>
|
|
86
|
+
<text x="39.6" y="357" fill="#d0d0d0" xml:space="preserve">Sends</text>
|
|
87
|
+
<text x="133.2" y="357" fill="#d0d0d0" xml:space="preserve">prompt + 6 recent turns → api.cloudflare.com</text>
|
|
88
|
+
<path d="M893.7 343V362" fill="none" stroke="#7c7c7c"/>
|
|
89
|
+
<path d="M27.9 362V381" fill="none" stroke="#7c7c7c"/>
|
|
90
|
+
<text x="133.2" y="376" fill="#7c7c7c" xml:space="preserve">the bounded active goal and current step also go to the classifier</text>
|
|
91
|
+
<path d="M893.7 362V381" fill="none" stroke="#7c7c7c"/>
|
|
92
|
+
<path d="M27.9 381V400" fill="none" stroke="#7c7c7c"/>
|
|
93
|
+
<text x="39.6" y="395" fill="#d0d0d0" xml:space="preserve">Health</text>
|
|
94
|
+
<text x="133.2" y="395" fill="#d0d0d0" xml:space="preserve">not paused</text>
|
|
95
|
+
<text x="211.2" y="395" fill="#d0d0d0" xml:space="preserve"> · 0 recent failures</text>
|
|
96
|
+
<path d="M893.7 381V400" fill="none" stroke="#7c7c7c"/>
|
|
97
|
+
<path d="M27.9 400V419" fill="none" stroke="#7c7c7c"/>
|
|
98
|
+
<text x="39.6" y="414" fill="#d0d0d0" xml:space="preserve">Credentials</text>
|
|
99
|
+
<rect x="133.2" y="400" width="62.4" height="18" rx="4" fill="#2e3340"/>
|
|
100
|
+
<text x="133.2" y="414" fill="#d0d0d0" xml:space="preserve">[ Edit ]</text>
|
|
101
|
+
<text x="195.6" y="414" fill="#7c7c7c" xml:space="preserve"> opens /plugin configure</text>
|
|
102
|
+
<path d="M893.7 400V419" fill="none" stroke="#7c7c7c"/>
|
|
103
|
+
<path d="M27.9 419V428H893.7V419" fill="none" stroke="#7c7c7c"/>
|
|
104
|
+
<text x="24.0" y="471" fill="#5fafd7" font-weight="700" xml:space="preserve">ACROSS SESSIONS · since the last reset</text>
|
|
105
|
+
<text x="24.0" y="490" fill="#d0d0d0" xml:space="preserve">Labelled 83 turns</text>
|
|
106
|
+
<text x="24.0" y="509" fill="#d0d0d0" xml:space="preserve">Tool compatibility (not accuracy): 78 of 83 turns (94%)</text>
|
|
107
|
+
<text x="24.0" y="528" fill="#d0d0d0" xml:space="preserve">Code/ops/explore classifier vs tools: 78 of 83 turns (94%)</text>
|
|
108
|
+
<text x="24.0" y="547" fill="#d0d0d0" xml:space="preserve">Mismatch code → read 4 · ops → code 1</text>
|
|
109
|
+
<text x="24.0" y="566" fill="#d0d0d0" xml:space="preserve">Activity moves 9 taken · 4 refused</text>
|
|
110
|
+
<text x="24.0" y="585" fill="#d0d0d0" xml:space="preserve">Escalations after a cheaper activity move: 0 in 7 moves</text>
|
|
111
|
+
<text x="24.0" y="623" fill="#87d787" xml:space="preserve">Saved: classifier Clef → Clef Flash. Applies from the next turn. </text>
|
|
112
|
+
<rect x="538.8" y="609" width="62.4" height="18" rx="4" fill="#2e3340"/>
|
|
113
|
+
<text x="538.8" y="623" fill="#d0d0d0" xml:space="preserve">[ Undo ]</text>
|
|
97
114
|
</svg>
|