@alexeiled/claude-router 1.6.0 → 1.7.0
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 +47 -0
- package/README.md +14 -4
- package/docs/activity-routing.md +254 -0
- package/docs/architecture.md +9 -3
- package/docs/configuration.md +56 -44
- package/docs/evaluation.md +37 -6
- package/docs/native-router.md +17 -13
- package/docs/router-band.svg +78 -80
- package/docs/router-pane-classifier.svg +7 -7
- package/docs/router-pane-now.svg +9 -9
- package/docs/router-pane-routing.svg +73 -87
- package/docs/router-pane-usage.svg +123 -0
- package/docs/user-guide.md +79 -53
- package/hooks/native-router.mjs +236 -39
- package/lib/activity-stats.mjs +87 -21
- package/lib/band.mjs +82 -55
- package/lib/config.mjs +49 -32
- package/lib/cost.mjs +32 -5
- package/lib/display.mjs +79 -4
- package/lib/panel.mjs +389 -67
- package/lib/route.mjs +27 -12
- package/lib/savings.mjs +237 -0
- package/lib/view.mjs +10 -1
- package/package.json +1 -1
- package/types/index.d.ts +51 -3
package/docs/router-band.svg
CHANGED
|
@@ -14,20 +14,19 @@
|
|
|
14
14
|
<text x="47.4" y="56" fill="#e0708a" xml:space="preserve">█</text>
|
|
15
15
|
<rect x="55.2" y="42" width="46.8" height="18" rx="4" fill="#e0708a"/>
|
|
16
16
|
<text x="55.2" y="56" fill="#0d1016" font-weight="700" xml:space="preserve"> high </text>
|
|
17
|
-
<text x="102.0" y="56" fill="#
|
|
18
|
-
<text x="
|
|
19
|
-
<text x="
|
|
20
|
-
<
|
|
21
|
-
<text x="
|
|
17
|
+
<text x="102.0" y="56" fill="#d0d0d0" xml:space="preserve">code → </text>
|
|
18
|
+
<text x="156.6" y="56" fill="#d0d0d0" xml:space="preserve">Opus 5.5 · xhigh</text>
|
|
19
|
+
<text x="281.4" y="56" fill="#7c7c7c" xml:space="preserve"> · </text>
|
|
20
|
+
<text x="320.4" y="56" fill="#7c7c7c" xml:space="preserve">↑ jump</text>
|
|
21
|
+
<text x="367.2" y="56" fill="#7c7c7c" xml:space="preserve"> · </text>
|
|
22
|
+
<text x="406.2" y="56" fill="#7c7c7c" xml:space="preserve">Jev 88% ≥ 82%</text>
|
|
22
23
|
<text x="507.6" y="56" fill="#7c7c7c" xml:space="preserve"> · </text>
|
|
23
|
-
<text x="546.6" y="56" fill="#
|
|
24
|
-
<text x="
|
|
25
|
-
<text x="
|
|
26
|
-
<text x="
|
|
27
|
-
<text x="
|
|
28
|
-
<text
|
|
29
|
-
<text x="804.0" y="56" fill="#d0d0d0" xml:space="preserve">Router</text>
|
|
30
|
-
<text class="cap" x="20" y="95">Two rows, with the hover row shown: recent replies by tier, pins, Routing off</text>
|
|
24
|
+
<text x="546.6" y="56" fill="#d0d0d0" xml:space="preserve">ctx </text>
|
|
25
|
+
<text x="577.8" y="56" fill="#87d787" xml:space="preserve">40%</text>
|
|
26
|
+
<text x="601.2" y="56" fill="#d0d0d0" xml:space="preserve"> · cache </text>
|
|
27
|
+
<text x="671.4" y="56" fill="#87d787" xml:space="preserve">100%</text>
|
|
28
|
+
<text x="718.2" y="56" fill="#d0d0d0" xml:space="preserve">Router</text>
|
|
29
|
+
<text class="cap" x="20" y="95">Two rows, with the hover row shown: recent replies by tier, the session against your model, pins, Turn off</text>
|
|
31
30
|
<rect x="12" y="103" width="897.6" height="67" rx="5" fill="#232323"/>
|
|
32
31
|
<text x="24.0" y="121" fill="#e0708a" xml:space="preserve">▂</text>
|
|
33
32
|
<text x="31.8" y="121" fill="#e0708a" xml:space="preserve">▄</text>
|
|
@@ -35,19 +34,16 @@
|
|
|
35
34
|
<text x="47.4" y="121" fill="#e0708a" xml:space="preserve">█</text>
|
|
36
35
|
<rect x="55.2" y="107" width="46.8" height="18" rx="4" fill="#e0708a"/>
|
|
37
36
|
<text x="55.2" y="121" fill="#0d1016" font-weight="700" xml:space="preserve"> high </text>
|
|
38
|
-
<text x="102.0" y="121" fill="#
|
|
39
|
-
<text x="
|
|
40
|
-
<text x="
|
|
41
|
-
<
|
|
42
|
-
<text x="
|
|
43
|
-
<text x="
|
|
44
|
-
<text x="
|
|
45
|
-
<text x="
|
|
46
|
-
<text x="
|
|
47
|
-
<text x="
|
|
48
|
-
<text x="687.0" y="121" fill="#d0d0d0" xml:space="preserve"> · cache </text>
|
|
49
|
-
<text x="757.2" y="121" fill="#87d787" xml:space="preserve">100%</text>
|
|
50
|
-
<text x="804.0" y="121" fill="#d0d0d0" xml:space="preserve">Router</text>
|
|
37
|
+
<text x="102.0" y="121" fill="#d0d0d0" xml:space="preserve">code → </text>
|
|
38
|
+
<text x="156.6" y="121" fill="#d0d0d0" xml:space="preserve">Opus 5.5 · xhigh</text>
|
|
39
|
+
<text x="281.4" y="121" fill="#7c7c7c" xml:space="preserve"> · </text>
|
|
40
|
+
<text x="320.4" y="121" fill="#7c7c7c" xml:space="preserve">↑ jump</text>
|
|
41
|
+
<text x="367.2" y="121" fill="#7c7c7c" xml:space="preserve"> · </text>
|
|
42
|
+
<text x="406.2" y="121" fill="#d0d0d0" xml:space="preserve">ctx </text>
|
|
43
|
+
<text x="437.4" y="121" fill="#87d787" xml:space="preserve">40%</text>
|
|
44
|
+
<text x="460.8" y="121" fill="#d0d0d0" xml:space="preserve"> · cache </text>
|
|
45
|
+
<text x="531.0" y="121" fill="#87d787" xml:space="preserve">100%</text>
|
|
46
|
+
<text x="577.8" y="121" fill="#d0d0d0" xml:space="preserve">Router</text>
|
|
51
47
|
<text x="24.0" y="140" fill="#7c7c7c" xml:space="preserve">replies </text>
|
|
52
48
|
<text x="86.4" y="140" fill="#5f9fe0" xml:space="preserve">█</text>
|
|
53
49
|
<text x="94.2" y="140" fill="#5f9fe0" xml:space="preserve">█</text>
|
|
@@ -69,7 +65,11 @@
|
|
|
69
65
|
<text x="219.0" y="140" fill="#e0708a" xml:space="preserve">█</text>
|
|
70
66
|
<text x="226.8" y="140" fill="#e0708a" xml:space="preserve">█</text>
|
|
71
67
|
<text x="234.6" y="140" fill="#e0708a" xml:space="preserve">█</text>
|
|
72
|
-
<text x="242.4" y="140" fill="#7c7c7c" xml:space="preserve">
|
|
68
|
+
<text x="242.4" y="140" fill="#7c7c7c" xml:space="preserve"> 0 switches · cache saved ≈ $1.52</text>
|
|
69
|
+
<text x="507.6" y="140" fill="#7c7c7c" xml:space="preserve"> · </text>
|
|
70
|
+
<text x="546.6" y="140" fill="#d0d0d0" xml:space="preserve">vs your model </text>
|
|
71
|
+
<text x="655.8" y="140" fill="#6fcf97" xml:space="preserve">−22%</text>
|
|
72
|
+
<text x="687.0" y="140" fill="#7c7c7c" xml:space="preserve"> (−$1.84, list prices)</text>
|
|
73
73
|
<text x="24.0" y="159" fill="#7c7c7c" xml:space="preserve">pin next turn </text>
|
|
74
74
|
<rect x="133.2" y="145" width="70.2" height="18" rx="4" fill="#2e3340"/>
|
|
75
75
|
<text x="133.2" y="159" fill="#d0d0d0" xml:space="preserve">[ micro ]</text>
|
|
@@ -79,10 +79,11 @@
|
|
|
79
79
|
<text x="273.6" y="159" fill="#d0d0d0" xml:space="preserve">[ medium ]</text>
|
|
80
80
|
<rect x="359.4" y="145" width="62.4" height="18" rx="4" fill="#2e3340"/>
|
|
81
81
|
<text x="359.4" y="159" fill="#d0d0d0" xml:space="preserve">[ high ]</text>
|
|
82
|
-
<
|
|
83
|
-
<
|
|
84
|
-
<
|
|
85
|
-
<
|
|
82
|
+
<text x="437.4" y="159" fill="#7c7c7c" xml:space="preserve">routing on </text>
|
|
83
|
+
<rect x="523.2" y="145" width="93.6" height="18" rx="4" fill="#2e3340"/>
|
|
84
|
+
<text x="523.2" y="159" fill="#d0d0d0" xml:space="preserve">[ Turn off ]</text>
|
|
85
|
+
<rect x="632.4" y="145" width="70.2" height="18" rx="4" fill="#2e3340"/>
|
|
86
|
+
<text x="632.4" y="159" fill="#d0d0d0" xml:space="preserve">[ 1 row ]</text>
|
|
86
87
|
<text class="cap" x="20" y="198">A pin waits for the next turn; ✕ cancels it</text>
|
|
87
88
|
<rect x="12" y="206" width="897.6" height="29" rx="5" fill="#232323"/>
|
|
88
89
|
<text x="24.0" y="224" fill="#5f9fe0" xml:space="preserve">▂</text>
|
|
@@ -91,18 +92,20 @@
|
|
|
91
92
|
<text x="47.4" y="224" fill="#7c7c7c" xml:space="preserve">█</text>
|
|
92
93
|
<rect x="55.2" y="210" width="39.0" height="18" rx="4" fill="#5f9fe0"/>
|
|
93
94
|
<text x="55.2" y="224" fill="#0d1016" font-weight="700" xml:space="preserve"> low </text>
|
|
94
|
-
<text x="94.2" y="224" fill="#
|
|
95
|
-
<text x="
|
|
96
|
-
<text x="
|
|
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="
|
|
95
|
+
<text x="94.2" y="224" fill="#d0d0d0" xml:space="preserve">ops → </text>
|
|
96
|
+
<text x="141.0" y="224" fill="#d0d0d0" xml:space="preserve">Haiku 5.5 · high</text>
|
|
97
|
+
<text x="265.8" y="224" fill="#7c7c7c" xml:space="preserve"> · </text>
|
|
98
|
+
<text x="304.8" y="224" fill="#7c9cff" xml:space="preserve">⏵ next turn: </text>
|
|
99
|
+
<text x="406.2" y="224" fill="#d7af5f" font-weight="700" xml:space="preserve">medium</text>
|
|
100
|
+
<text x="460.8" y="224" fill="#d0d0d0" xml:space="preserve">✕</text>
|
|
101
|
+
<text x="468.6" y="224" fill="#7c7c7c" xml:space="preserve"> · </text>
|
|
102
|
+
<text x="507.6" y="224" fill="#7c7c7c" xml:space="preserve">= fits</text>
|
|
103
|
+
<text x="554.4" y="224" fill="#7c7c7c" xml:space="preserve"> · </text>
|
|
104
|
+
<text x="593.4" y="224" fill="#d0d0d0" xml:space="preserve">ctx </text>
|
|
105
|
+
<text x="624.6" y="224" fill="#87d787" xml:space="preserve">40%</text>
|
|
106
|
+
<text x="648.0" y="224" fill="#d0d0d0" xml:space="preserve"> · cache </text>
|
|
107
|
+
<text x="718.2" y="224" fill="#87d787" xml:space="preserve">100%</text>
|
|
108
|
+
<text x="765.0" y="224" fill="#d0d0d0" xml:space="preserve">Router</text>
|
|
106
109
|
<text class="cap" x="20" y="263">No classifier key: routing keeps the model and offers Set up</text>
|
|
107
110
|
<rect x="12" y="271" width="897.6" height="29" rx="5" fill="#232323"/>
|
|
108
111
|
<text x="24.0" y="289" fill="#f0b429" xml:space="preserve">⚠ Jev: no API key</text>
|
|
@@ -120,40 +123,38 @@
|
|
|
120
123
|
<text x="507.6" y="289" fill="#7c7c7c" xml:space="preserve"> · </text>
|
|
121
124
|
<text x="546.6" y="289" fill="#f0b429" xml:space="preserve">keeping model</text>
|
|
122
125
|
<text x="663.6" y="289" fill="#d0d0d0" xml:space="preserve">Router</text>
|
|
123
|
-
<text class="cap" x="20" y="328">Routing off: /model chose the model;
|
|
126
|
+
<text class="cap" x="20" y="328">Routing off: /model chose the model; Turn on resumes routing</text>
|
|
124
127
|
<rect x="12" y="336" width="897.6" height="29" rx="5" fill="#232323"/>
|
|
125
128
|
<text x="24.0" y="354" fill="#7c7c7c" xml:space="preserve">○ </text>
|
|
126
129
|
<text x="39.6" y="354" fill="#d0d0d0" xml:space="preserve">Routing </text>
|
|
127
130
|
<rect x="102.0" y="340" width="23.4" height="18" rx="4" fill="#2a3040"/>
|
|
128
131
|
<text x="102.0" y="354" fill="#8b93a7" xml:space="preserve">off</text>
|
|
129
|
-
<
|
|
130
|
-
<text x="
|
|
131
|
-
<text x="
|
|
132
|
-
<
|
|
133
|
-
<text x="
|
|
134
|
-
<text x="
|
|
135
|
-
<text
|
|
132
|
+
<rect x="133.2" y="340" width="85.8" height="18" rx="4" fill="#87afff"/>
|
|
133
|
+
<text x="133.2" y="354" fill="#0d1016" font-weight="700" xml:space="preserve">[ Turn on ]</text>
|
|
134
|
+
<text x="219.0" y="354" fill="#7c7c7c" xml:space="preserve"> · </text>
|
|
135
|
+
<text x="258.0" y="354" fill="#d0d0d0" xml:space="preserve">every turn uses </text>
|
|
136
|
+
<text x="382.8" y="354" fill="#d0d0d0" xml:space="preserve">Sonnet 5.5</text>
|
|
137
|
+
<text x="460.8" y="354" fill="#7c7c7c" xml:space="preserve"> (/model)</text>
|
|
138
|
+
<text x="546.6" y="354" fill="#d0d0d0" xml:space="preserve">Router</text>
|
|
139
|
+
<text class="cap" x="20" y="393">Activity routing on: an ops turn at medium moves from Opus to Haiku</text>
|
|
136
140
|
<rect x="12" y="401" width="897.6" height="29" rx="5" fill="#232323"/>
|
|
137
|
-
<text x="24.0" y="419" fill="#
|
|
138
|
-
<text x="31.8" y="419" fill="#
|
|
139
|
-
<text x="39.6" y="419" fill="#
|
|
141
|
+
<text x="24.0" y="419" fill="#d7af5f" xml:space="preserve">▂</text>
|
|
142
|
+
<text x="31.8" y="419" fill="#d7af5f" xml:space="preserve">▄</text>
|
|
143
|
+
<text x="39.6" y="419" fill="#d7af5f" xml:space="preserve">▆</text>
|
|
140
144
|
<text x="47.4" y="419" fill="#7c7c7c" xml:space="preserve">█</text>
|
|
141
|
-
<rect x="55.2" y="405" width="
|
|
142
|
-
<text x="55.2" y="419" fill="#0d1016" font-weight="700" xml:space="preserve">
|
|
143
|
-
<text x="
|
|
144
|
-
<text x="
|
|
145
|
-
<text x="
|
|
146
|
-
<
|
|
147
|
-
<text x="
|
|
148
|
-
<text x="
|
|
149
|
-
<text x="
|
|
150
|
-
<text x="
|
|
151
|
-
<text x="
|
|
152
|
-
<text x="
|
|
153
|
-
<text
|
|
154
|
-
<text x="663.6" y="419" fill="#87d787" xml:space="preserve">100%</text>
|
|
155
|
-
<text x="710.4" y="419" fill="#d0d0d0" xml:space="preserve">Router</text>
|
|
156
|
-
<text class="cap" x="20" y="458">Activity routing in shadow: the label is shown, the tier route still runs</text>
|
|
145
|
+
<rect x="55.2" y="405" width="62.4" height="18" rx="4" fill="#d7af5f"/>
|
|
146
|
+
<text x="55.2" y="419" fill="#0d1016" font-weight="700" xml:space="preserve"> medium </text>
|
|
147
|
+
<text x="117.6" y="419" fill="#d0d0d0" xml:space="preserve">ops → </text>
|
|
148
|
+
<text x="164.4" y="419" fill="#d0d0d0" xml:space="preserve">Haiku 5.5 · high</text>
|
|
149
|
+
<text x="289.2" y="419" fill="#7c7c7c" xml:space="preserve"> · </text>
|
|
150
|
+
<text x="328.2" y="419" fill="#7c7c7c" xml:space="preserve">↘ ops</text>
|
|
151
|
+
<text x="367.2" y="419" fill="#7c7c7c" xml:space="preserve"> · </text>
|
|
152
|
+
<text x="406.2" y="419" fill="#d0d0d0" xml:space="preserve">ctx </text>
|
|
153
|
+
<text x="437.4" y="419" fill="#87d787" xml:space="preserve">40%</text>
|
|
154
|
+
<text x="460.8" y="419" fill="#d0d0d0" xml:space="preserve"> · cache </text>
|
|
155
|
+
<text x="531.0" y="419" fill="#87d787" xml:space="preserve">100%</text>
|
|
156
|
+
<text x="577.8" y="419" fill="#d0d0d0" xml:space="preserve">Router</text>
|
|
157
|
+
<text class="cap" x="20" y="458">Activity routing in shadow: the label is shown, the base route still runs</text>
|
|
157
158
|
<rect x="12" y="466" width="897.6" height="29" rx="5" fill="#232323"/>
|
|
158
159
|
<text x="24.0" y="484" fill="#5f9fe0" xml:space="preserve">▂</text>
|
|
159
160
|
<text x="31.8" y="484" fill="#5f9fe0" xml:space="preserve">▄</text>
|
|
@@ -164,14 +165,11 @@
|
|
|
164
165
|
<text x="94.2" y="484" fill="#7c7c7c" xml:space="preserve">code (shadow) → </text>
|
|
165
166
|
<text x="219.0" y="484" fill="#d0d0d0" xml:space="preserve">Haiku 5.5 · high</text>
|
|
166
167
|
<text x="343.8" y="484" fill="#7c7c7c" xml:space="preserve"> · </text>
|
|
167
|
-
<
|
|
168
|
-
<text x="
|
|
169
|
-
<text x="
|
|
170
|
-
<text x="
|
|
171
|
-
<text x="
|
|
172
|
-
<text x="
|
|
173
|
-
<text x="
|
|
174
|
-
<text x="679.2" y="484" fill="#d0d0d0" xml:space="preserve"> · cache </text>
|
|
175
|
-
<text x="749.4" y="484" fill="#87d787" xml:space="preserve">100%</text>
|
|
176
|
-
<text x="796.2" y="484" fill="#d0d0d0" xml:space="preserve">Router</text>
|
|
168
|
+
<text x="382.8" y="484" fill="#7c7c7c" xml:space="preserve">= fits</text>
|
|
169
|
+
<text x="429.6" y="484" fill="#7c7c7c" xml:space="preserve"> · </text>
|
|
170
|
+
<text x="468.6" y="484" fill="#d0d0d0" xml:space="preserve">ctx </text>
|
|
171
|
+
<text x="499.8" y="484" fill="#87d787" xml:space="preserve">40%</text>
|
|
172
|
+
<text x="523.2" y="484" fill="#d0d0d0" xml:space="preserve"> · cache </text>
|
|
173
|
+
<text x="593.4" y="484" fill="#87d787" xml:space="preserve">100%</text>
|
|
174
|
+
<text x="640.2" y="484" fill="#d0d0d0" xml:space="preserve">Router</text>
|
|
177
175
|
</svg>
|
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
</style>
|
|
8
8
|
<rect width="899" height="401" rx="8" fill="#1c1c1c"/>
|
|
9
9
|
<rect x="10" y="10" width="879" height="381" rx="6" fill="none" stroke="#3f5f8f"/>
|
|
10
|
-
<text x="24.0" y="34" fill="#5fafd7" font-weight="700" xml:space="preserve">ROUTING
|
|
11
|
-
<
|
|
12
|
-
<
|
|
13
|
-
<
|
|
14
|
-
<
|
|
15
|
-
<text x="
|
|
16
|
-
<text x="
|
|
10
|
+
<text x="24.0" y="34" fill="#5fafd7" font-weight="700" xml:space="preserve">ROUTING</text>
|
|
11
|
+
<rect x="94.2" y="20" width="62.4" height="18" rx="4" fill="#87afff"/>
|
|
12
|
+
<text x="94.2" y="34" fill="#0d1016" font-weight="700" xml:space="preserve">[ ◉ on ]</text>
|
|
13
|
+
<rect x="164.4" y="20" width="70.2" height="18" rx="4" fill="#2e3340"/>
|
|
14
|
+
<text x="164.4" y="34" fill="#d0d0d0" xml:space="preserve">[ ○ off ]</text>
|
|
15
|
+
<text x="234.6" y="34" fill="#7c7c7c" xml:space="preserve"> off keeps the /model choice</text>
|
|
16
|
+
<text x="24.0" y="53" fill="#87d787" xml:space="preserve">Clef Flash ready</text>
|
|
17
17
|
<rect x="24.0" y="58" width="54.6" height="18" rx="4" fill="#2e3340"/>
|
|
18
18
|
<text x="24.0" y="72" fill="#d0d0d0" xml:space="preserve">[ Now ]</text>
|
|
19
19
|
<rect x="86.4" y="58" width="85.8" height="18" rx="4" fill="#2e3340"/>
|
package/docs/router-pane-now.svg
CHANGED
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
</style>
|
|
8
8
|
<rect width="594" height="572" rx="8" fill="#1c1c1c"/>
|
|
9
9
|
<rect x="10" y="10" width="574" height="552" rx="6" fill="none" stroke="#3f5f8f"/>
|
|
10
|
-
<text x="24.0" y="34" fill="#5fafd7" font-weight="700" xml:space="preserve">ROUTING
|
|
11
|
-
<
|
|
12
|
-
<
|
|
13
|
-
<
|
|
14
|
-
<
|
|
15
|
-
<text x="
|
|
16
|
-
<text x="
|
|
10
|
+
<text x="24.0" y="34" fill="#5fafd7" font-weight="700" xml:space="preserve">ROUTING</text>
|
|
11
|
+
<rect x="94.2" y="20" width="62.4" height="18" rx="4" fill="#87afff"/>
|
|
12
|
+
<text x="94.2" y="34" fill="#0d1016" font-weight="700" xml:space="preserve">[ ◉ on ]</text>
|
|
13
|
+
<rect x="164.4" y="20" width="70.2" height="18" rx="4" fill="#2e3340"/>
|
|
14
|
+
<text x="164.4" y="34" fill="#d0d0d0" xml:space="preserve">[ ○ off ]</text>
|
|
15
|
+
<text x="234.6" y="34" fill="#7c7c7c" xml:space="preserve"> off keeps the /model choice</text>
|
|
16
|
+
<text x="24.0" y="53" fill="#87d787" xml:space="preserve">Jev ready · 347 ms</text>
|
|
17
17
|
<rect x="24.0" y="58" width="54.6" height="18" rx="4" fill="#87afff"/>
|
|
18
18
|
<text x="24.0" y="72" fill="#0d1016" font-weight="700" xml:space="preserve">[ Now ]</text>
|
|
19
19
|
<rect x="86.4" y="58" width="85.8" height="18" rx="4" fill="#2e3340"/>
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
<text x="24.0" y="148" fill="#d0d0d0" xml:space="preserve">Why </text>
|
|
34
34
|
<text x="102.0" y="148" fill="#d0d0d0" xml:space="preserve">clear need for a stronger model</text>
|
|
35
35
|
<text x="24.0" y="167" fill="#d0d0d0" xml:space="preserve">Route </text>
|
|
36
|
-
<text x="102.0" y="167" fill="#d0d0d0" xml:space="preserve">high + code
|
|
36
|
+
<text x="102.0" y="167" fill="#d0d0d0" xml:space="preserve">high + code → Opus 5.5 · xhigh (base)</text>
|
|
37
37
|
<text x="24.0" y="205" fill="#5fafd7" font-weight="700" xml:space="preserve">TIERS · next turn</text>
|
|
38
38
|
<text x="24.0" y="224" fill="#7c7c7c" xml:space="preserve"> tier route Jev support</text>
|
|
39
39
|
<text x="24.0" y="243" fill="#e0708a" font-weight="700" xml:space="preserve">▶ </text>
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
<text x="172.2" y="395" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
|
|
85
85
|
<text x="180.0" y="395" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
|
|
86
86
|
<text x="187.8" y="395" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
|
|
87
|
-
<text x="195.6" y="395" fill="#7c7c7c" xml:space="preserve">
|
|
87
|
+
<text x="195.6" y="395" fill="#7c7c7c" xml:space="preserve"> 0 switches</text>
|
|
88
88
|
<text x="39.6" y="414" fill="#d0d0d0" xml:space="preserve">e</text>
|
|
89
89
|
<text x="47.4" y="414" fill="#d0d0d0" xml:space="preserve">e</text>
|
|
90
90
|
<text x="55.2" y="414" fill="#d0d0d0" xml:space="preserve">c</text>
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 828 1104" role="img" aria-labelledby="title desc">
|
|
2
2
|
<title id="title">Router pane, Routing tab</title>
|
|
3
3
|
<desc id="desc">Model and effort per tier with prices and windows, the baseline tier, how the policy prices each step up, the activity matrix and overrides, the policy controls, and the unsaved router.json changes with Save and Discard.</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="
|
|
10
|
-
<text x="24.0" y="34" fill="#5fafd7" font-weight="700" xml:space="preserve">ROUTING
|
|
11
|
-
<
|
|
12
|
-
<
|
|
13
|
-
<
|
|
14
|
-
<
|
|
15
|
-
<text x="
|
|
16
|
-
<text x="
|
|
8
|
+
<rect width="828" height="1104" rx="8" fill="#1c1c1c"/>
|
|
9
|
+
<rect x="10" y="10" width="808" height="1084" rx="6" fill="none" stroke="#3f5f8f"/>
|
|
10
|
+
<text x="24.0" y="34" fill="#5fafd7" font-weight="700" xml:space="preserve">ROUTING</text>
|
|
11
|
+
<rect x="94.2" y="20" width="62.4" height="18" rx="4" fill="#87afff"/>
|
|
12
|
+
<text x="94.2" y="34" fill="#0d1016" font-weight="700" xml:space="preserve">[ ◉ on ]</text>
|
|
13
|
+
<rect x="164.4" y="20" width="70.2" height="18" rx="4" fill="#2e3340"/>
|
|
14
|
+
<text x="164.4" y="34" fill="#d0d0d0" xml:space="preserve">[ ○ off ]</text>
|
|
15
|
+
<text x="234.6" y="34" fill="#7c7c7c" xml:space="preserve"> off keeps the /model choice</text>
|
|
16
|
+
<text x="24.0" y="53" fill="#87d787" xml:space="preserve">Jev ready · 347 ms</text>
|
|
17
17
|
<rect x="24.0" y="58" width="54.6" height="18" rx="4" fill="#2e3340"/>
|
|
18
18
|
<text x="24.0" y="72" fill="#d0d0d0" xml:space="preserve">[ Now ]</text>
|
|
19
19
|
<rect x="86.4" y="58" width="101.4" height="18" rx="4" fill="#87afff"/>
|
|
@@ -63,103 +63,89 @@
|
|
|
63
63
|
<rect x="24.0" y="324" width="218.4" height="18" rx="4" fill="#2e3340"/>
|
|
64
64
|
<text x="24.0" y="338" fill="#d0d0d0" xml:space="preserve">[ Reset routes to defaults ]</text>
|
|
65
65
|
<text x="24.0" y="357" fill="#7c7c7c" xml:space="preserve">A new model ID needs router.json → models: price, window, efforts.</text>
|
|
66
|
-
<text x="24.0" y="395" fill="#5fafd7" font-weight="700" xml:space="preserve">ACTIVITIES
|
|
67
|
-
<text x="
|
|
68
|
-
<text x="24.0" y="414" fill="#d0d0d0" xml:space="preserve">
|
|
69
|
-
<text x="
|
|
70
|
-
<text x="
|
|
71
|
-
<text x="24.0" y="
|
|
72
|
-
<text x="24.0" y="
|
|
73
|
-
<text x="24.0" y="
|
|
74
|
-
<text x="24.0" y="
|
|
75
|
-
<text x="
|
|
76
|
-
<text x="24.0" y="
|
|
77
|
-
<text x="
|
|
78
|
-
<text x="
|
|
79
|
-
<text x="102.0" y="585" fill="#5f9fe0" font-weight="700" xml:space="preserve">low</text>
|
|
80
|
-
<text x="164.4" y="585" fill="#d0d0d0" xml:space="preserve">Sonnet 5.5 ▾</text>
|
|
81
|
-
<text x="273.6" y="585" fill="#d0d0d0" xml:space="preserve">medium ▾</text>
|
|
82
|
-
<rect x="382.8" y="571" width="78.0" height="18" rx="4" fill="#2e3340"/>
|
|
83
|
-
<text x="382.8" y="585" fill="#d0d0d0" xml:space="preserve">[ remove ]</text>
|
|
66
|
+
<text x="24.0" y="395" fill="#5fafd7" font-weight="700" xml:space="preserve">ACTIVITIES</text>
|
|
67
|
+
<text x="102.0" y="395" fill="#7c7c7c" xml:space="preserve"> · applies next turn · edit, then Save</text>
|
|
68
|
+
<text x="24.0" y="414" fill="#d0d0d0" xml:space="preserve">Activity routing: on ▾</text>
|
|
69
|
+
<text x="242.4" y="414" fill="#7c7c7c" xml:space="preserve">an override runs when the activity has one</text>
|
|
70
|
+
<text x="273.6" y="433" fill="#7c7c7c" xml:space="preserve">micro low medium high </text>
|
|
71
|
+
<text x="24.0" y="452" fill="#d0d0d0" xml:space="preserve"> base H·med H·high S·xh O·xh </text>
|
|
72
|
+
<text x="24.0" y="471" fill="#d0d0d0" xml:space="preserve"> code · S·high · O·max </text>
|
|
73
|
+
<text x="24.0" y="490" fill="#d0d0d0" xml:space="preserve"> debug plan review · S·high · · </text>
|
|
74
|
+
<text x="24.0" y="509" fill="#d0d0d0" xml:space="preserve"> explore docs · · · · </text>
|
|
75
|
+
<text x="24.0" y="528" fill="#d0d0d0" xml:space="preserve"> ops · · H·high · </text>
|
|
76
|
+
<text x="24.0" y="547" fill="#7c7c7c" xml:space="preserve"> 6 distinct routes = 6 caches</text>
|
|
77
|
+
<text x="24.0" y="585" fill="#5fafd7" font-weight="700" xml:space="preserve">OVERRIDES</text>
|
|
78
|
+
<text x="94.2" y="585" fill="#7c7c7c" xml:space="preserve"> · in use</text>
|
|
84
79
|
<text x="24.0" y="604" fill="#d0d0d0" xml:space="preserve">code</text>
|
|
85
|
-
<text x="102.0" y="604" fill="#
|
|
86
|
-
<text x="164.4" y="604" fill="#d0d0d0" xml:space="preserve">
|
|
87
|
-
<text x="273.6" y="604" fill="#d0d0d0" xml:space="preserve">
|
|
88
|
-
<text x="367.2" y="604" fill="#d7af5f" xml:space="preserve">●</text>
|
|
80
|
+
<text x="102.0" y="604" fill="#5f9fe0" font-weight="700" xml:space="preserve">low</text>
|
|
81
|
+
<text x="164.4" y="604" fill="#d0d0d0" xml:space="preserve">Sonnet 5.5 ▾</text>
|
|
82
|
+
<text x="273.6" y="604" fill="#d0d0d0" xml:space="preserve">high ▾</text>
|
|
89
83
|
<rect x="382.8" y="590" width="78.0" height="18" rx="4" fill="#2e3340"/>
|
|
90
84
|
<text x="382.8" y="604" fill="#d0d0d0" xml:space="preserve">[ remove ]</text>
|
|
91
|
-
<text x="
|
|
92
|
-
<text x="
|
|
93
|
-
<text x="
|
|
94
|
-
<text x="
|
|
95
|
-
<text x="
|
|
85
|
+
<text x="24.0" y="623" fill="#d0d0d0" xml:space="preserve">code</text>
|
|
86
|
+
<text x="102.0" y="623" fill="#e0708a" font-weight="700" xml:space="preserve">high</text>
|
|
87
|
+
<text x="164.4" y="623" fill="#d0d0d0" xml:space="preserve">Opus 5.5 ▾</text>
|
|
88
|
+
<text x="273.6" y="623" fill="#d0d0d0" xml:space="preserve">max ▾</text>
|
|
89
|
+
<text x="367.2" y="623" fill="#d7af5f" xml:space="preserve">●</text>
|
|
96
90
|
<rect x="382.8" y="609" width="78.0" height="18" rx="4" fill="#2e3340"/>
|
|
97
91
|
<text x="382.8" y="623" fill="#d0d0d0" xml:space="preserve">[ remove ]</text>
|
|
98
|
-
<text x="
|
|
99
|
-
<text x="
|
|
92
|
+
<text x="460.8" y="623" fill="#d7af5f" xml:space="preserve"> new (model, effort) pair: one more cache</text>
|
|
93
|
+
<text x="24.0" y="642" fill="#d0d0d0" xml:space="preserve">debug</text>
|
|
94
|
+
<text x="102.0" y="642" fill="#5f9fe0" font-weight="700" xml:space="preserve">low</text>
|
|
100
95
|
<text x="164.4" y="642" fill="#d0d0d0" xml:space="preserve">Sonnet 5.5 ▾</text>
|
|
101
|
-
<text x="273.6" y="642" fill="#d0d0d0" xml:space="preserve">
|
|
96
|
+
<text x="273.6" y="642" fill="#d0d0d0" xml:space="preserve">high ▾</text>
|
|
102
97
|
<rect x="382.8" y="628" width="78.0" height="18" rx="4" fill="#2e3340"/>
|
|
103
98
|
<text x="382.8" y="642" fill="#d0d0d0" xml:space="preserve">[ remove ]</text>
|
|
104
99
|
<text x="24.0" y="661" fill="#d0d0d0" xml:space="preserve">plan</text>
|
|
105
100
|
<text x="102.0" y="661" fill="#5f9fe0" font-weight="700" xml:space="preserve">low</text>
|
|
106
101
|
<text x="164.4" y="661" fill="#d0d0d0" xml:space="preserve">Sonnet 5.5 ▾</text>
|
|
107
|
-
<text x="273.6" y="661" fill="#d0d0d0" xml:space="preserve">
|
|
102
|
+
<text x="273.6" y="661" fill="#d0d0d0" xml:space="preserve">high ▾</text>
|
|
108
103
|
<rect x="382.8" y="647" width="78.0" height="18" rx="4" fill="#2e3340"/>
|
|
109
104
|
<text x="382.8" y="661" fill="#d0d0d0" xml:space="preserve">[ remove ]</text>
|
|
110
105
|
<text x="24.0" y="680" fill="#d0d0d0" xml:space="preserve">review</text>
|
|
111
106
|
<text x="102.0" y="680" fill="#5f9fe0" font-weight="700" xml:space="preserve">low</text>
|
|
112
107
|
<text x="164.4" y="680" fill="#d0d0d0" xml:space="preserve">Sonnet 5.5 ▾</text>
|
|
113
|
-
<text x="273.6" y="680" fill="#d0d0d0" xml:space="preserve">
|
|
108
|
+
<text x="273.6" y="680" fill="#d0d0d0" xml:space="preserve">high ▾</text>
|
|
114
109
|
<rect x="382.8" y="666" width="78.0" height="18" rx="4" fill="#2e3340"/>
|
|
115
110
|
<text x="382.8" y="680" fill="#d0d0d0" xml:space="preserve">[ remove ]</text>
|
|
116
111
|
<text x="24.0" y="699" fill="#d0d0d0" xml:space="preserve">ops</text>
|
|
117
112
|
<text x="102.0" y="699" fill="#d7af5f" font-weight="700" xml:space="preserve">medium</text>
|
|
118
|
-
<text x="164.4" y="699" fill="#d0d0d0" xml:space="preserve">
|
|
119
|
-
<text x="273.6" y="699" fill="#d0d0d0" xml:space="preserve">
|
|
113
|
+
<text x="164.4" y="699" fill="#d0d0d0" xml:space="preserve">Haiku 5.5 ▾</text>
|
|
114
|
+
<text x="273.6" y="699" fill="#d0d0d0" xml:space="preserve">high ▾</text>
|
|
120
115
|
<rect x="382.8" y="685" width="78.0" height="18" rx="4" fill="#2e3340"/>
|
|
121
116
|
<text x="382.8" y="699" fill="#d0d0d0" xml:space="preserve">[ remove ]</text>
|
|
122
|
-
<text x="24.0" y="718" fill="#d0d0d0" xml:space="preserve">
|
|
123
|
-
<text x="
|
|
124
|
-
<text x="
|
|
125
|
-
<text x="
|
|
126
|
-
<
|
|
127
|
-
<text x="
|
|
128
|
-
<text x="24.0" y="
|
|
129
|
-
<text x="
|
|
130
|
-
<text x="
|
|
131
|
-
<text x="
|
|
132
|
-
<
|
|
133
|
-
<text x="
|
|
134
|
-
<text x="24.0" y="
|
|
135
|
-
<text x="
|
|
136
|
-
<text x="
|
|
137
|
-
<
|
|
138
|
-
<text x="
|
|
139
|
-
<text x="
|
|
140
|
-
<text x="24.0" y="
|
|
141
|
-
<
|
|
142
|
-
<text x="
|
|
143
|
-
<text x="24.0" y="
|
|
144
|
-
<text x="
|
|
145
|
-
<text x="
|
|
146
|
-
<
|
|
147
|
-
<text x="24.0" y="
|
|
148
|
-
<text x="24.0" y="
|
|
149
|
-
<text x="24.0" y="
|
|
150
|
-
<rect x="
|
|
151
|
-
<text x="
|
|
152
|
-
<
|
|
153
|
-
<text x="
|
|
154
|
-
<
|
|
155
|
-
<text x="24.0" y="
|
|
156
|
-
<text x="24.0" y="1041" fill="#e06c6c" xml:space="preserve">- activities.code.high no override</text>
|
|
157
|
-
<text x="24.0" y="1060" fill="#87d787" xml:space="preserve">+ activities.code.high Opus 5.5 · max</text>
|
|
158
|
-
<text x="24.0" y="1079" fill="#d7af5f" xml:space="preserve">● 2 unsaved routing changes </text>
|
|
159
|
-
<rect x="250.2" y="1065" width="62.4" height="18" rx="4" fill="#87afff"/>
|
|
160
|
-
<text x="250.2" y="1079" fill="#0d1016" font-weight="700" xml:space="preserve">[ Save ]</text>
|
|
161
|
-
<rect x="320.4" y="1065" width="85.8" height="18" rx="4" fill="#2e3340"/>
|
|
162
|
-
<text x="320.4" y="1079" fill="#d0d0d0" xml:space="preserve">[ Discard ]</text>
|
|
163
|
-
<rect x="24.0" y="1084" width="70.2" height="18" rx="4" fill="#2e3340"/>
|
|
164
|
-
<text x="24.0" y="1098" fill="#d0d0d0" xml:space="preserve">[ Close ]</text>
|
|
117
|
+
<text x="24.0" y="718" fill="#d0d0d0" xml:space="preserve">add an override… ▾</text>
|
|
118
|
+
<text x="24.0" y="756" fill="#5fafd7" font-weight="700" xml:space="preserve">POLICY</text>
|
|
119
|
+
<text x="70.8" y="756" fill="#7c7c7c" xml:space="preserve"> · applies next turn · edit, then Save</text>
|
|
120
|
+
<text x="24.0" y="775" fill="#d0d0d0" xml:space="preserve">Votes to go down</text>
|
|
121
|
+
<text x="180.0" y="775" fill="#d0d0d0" xml:space="preserve">2 ▾</text>
|
|
122
|
+
<text x="289.2" y="775" fill="#7c7c7c" xml:space="preserve">agreeing turns before cheaper</text>
|
|
123
|
+
<text x="24.0" y="794" fill="#d0d0d0" xml:space="preserve">Payback horizon</text>
|
|
124
|
+
<text x="180.0" y="794" fill="#d0d0d0" xml:space="preserve">5 turns ▾</text>
|
|
125
|
+
<text x="289.2" y="794" fill="#7c7c7c" xml:space="preserve">a switch repays its cache</text>
|
|
126
|
+
<text x="24.0" y="813" fill="#d0d0d0" xml:space="preserve">Credits cap</text>
|
|
127
|
+
<text x="180.0" y="813" fill="#d0d0d0" xml:space="preserve">$2.00 ▾</text>
|
|
128
|
+
<text x="289.2" y="813" fill="#7c7c7c" xml:space="preserve">max cold write on credits</text>
|
|
129
|
+
<text x="24.0" y="832" fill="#d0d0d0" xml:space="preserve">Activity threshold</text>
|
|
130
|
+
<text x="180.0" y="832" fill="#d0d0d0" xml:space="preserve">60% ▾</text>
|
|
131
|
+
<text x="289.2" y="832" fill="#7c7c7c" xml:space="preserve">a weaker reading keeps the running activity or uses the base route</text>
|
|
132
|
+
<rect x="24.0" y="837" width="218.4" height="18" rx="4" fill="#2e3340"/>
|
|
133
|
+
<text x="24.0" y="851" fill="#d0d0d0" xml:space="preserve">[ Reset policy to defaults ]</text>
|
|
134
|
+
<text x="24.0" y="889" fill="#5fafd7" font-weight="700" xml:space="preserve">CONFIG</text>
|
|
135
|
+
<text x="24.0" y="908" fill="#d0d0d0" xml:space="preserve">File ~/.claude/router.json </text>
|
|
136
|
+
<rect x="273.6" y="894" width="62.4" height="18" rx="4" fill="#2e3340"/>
|
|
137
|
+
<text x="273.6" y="908" fill="#d0d0d0" xml:space="preserve">[ copy ]</text>
|
|
138
|
+
<text x="24.0" y="927" fill="#7c7c7c" xml:space="preserve">Main conversation only. Subagents keep their own model.</text>
|
|
139
|
+
<text x="24.0" y="965" fill="#7c7c7c" xml:space="preserve">router.json changes:</text>
|
|
140
|
+
<text x="24.0" y="984" fill="#e06c6c" xml:space="preserve">- routes.medium Opus 5.5 · medium</text>
|
|
141
|
+
<text x="24.0" y="1003" fill="#87d787" xml:space="preserve">+ routes.medium Sonnet 5.5 · xhigh</text>
|
|
142
|
+
<text x="24.0" y="1022" fill="#e06c6c" xml:space="preserve">- activities.code.high no override</text>
|
|
143
|
+
<text x="24.0" y="1041" fill="#87d787" xml:space="preserve">+ activities.code.high Opus 5.5 · max</text>
|
|
144
|
+
<text x="24.0" y="1060" fill="#d7af5f" xml:space="preserve">● 2 unsaved routing changes </text>
|
|
145
|
+
<rect x="250.2" y="1046" width="62.4" height="18" rx="4" fill="#87afff"/>
|
|
146
|
+
<text x="250.2" y="1060" fill="#0d1016" font-weight="700" xml:space="preserve">[ Save ]</text>
|
|
147
|
+
<rect x="320.4" y="1046" width="85.8" height="18" rx="4" fill="#2e3340"/>
|
|
148
|
+
<text x="320.4" y="1060" fill="#d0d0d0" xml:space="preserve">[ Discard ]</text>
|
|
149
|
+
<rect x="24.0" y="1065" width="70.2" height="18" rx="4" fill="#2e3340"/>
|
|
150
|
+
<text x="24.0" y="1079" fill="#d0d0d0" xml:space="preserve">[ Close ]</text>
|
|
165
151
|
</svg>
|