@alexeiled/claude-router 1.25.0 → 1.26.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 +41 -0
- package/README.md +31 -15
- package/docs/architecture.md +4 -1
- package/docs/configuration.md +1 -1
- package/docs/native-router.md +1 -1
- package/docs/router-band.svg +42 -35
- package/docs/router-pane-classifier.svg +45 -29
- package/docs/router-pane-now.svg +162 -122
- package/docs/router-pane-policy.svg +79 -47
- package/docs/user-guide.md +86 -10
- package/hooks/native-router.mjs +88 -14
- package/lib/display.mjs +2 -0
- package/lib/failover.mjs +55 -0
- package/lib/route.mjs +30 -16
- package/lib/ui/graphical/frame.mjs +11 -7
- package/lib/ui/graphical/now.mjs +7 -3
- package/lib/ui/model/band.mjs +3 -1
- package/lib/ui/model/now.mjs +53 -22
- package/lib/ui/terminal/band.mjs +71 -38
- package/lib/ui/terminal/classifier.mjs +39 -31
- package/lib/ui/terminal/kit.mjs +29 -0
- package/lib/ui/terminal/now.mjs +39 -46
- package/lib/ui/terminal/policy.mjs +31 -28
- package/package.json +2 -1
- package/types/index.d.ts +2 -0
package/docs/router-pane-now.svg
CHANGED
|
@@ -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 610" role="img" aria-labelledby="title desc">
|
|
2
2
|
<title id="title">Router pane, Now tab</title>
|
|
3
|
-
<desc id="desc">NEXT TURN: the tier meter, model and activity, the reason with the classifier support it weighed and the switch cost, and
|
|
3
|
+
<desc id="desc">Each block in a single-line box. NEXT TURN: the tier meter, model and activity, the reason with the classifier support it weighed and the switch cost, and the dropdown that pins the next turn to a tier. PLAN: the 5-hour and 7-day windows with their resets. SESSION: the total of the main thread and one running subagent as a configured-rate API estimate, the difference against unrouted, the main thread and the subagents as bars on one scale, and a strip of every reply colored by tier with the replies per tier. CONTEXT: the window fill and the cache reuse.</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="610" rx="8" fill="#1c1c1c"/>
|
|
9
|
+
<rect x="10" y="10" width="902" height="590" 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>
|
|
@@ -25,122 +25,162 @@
|
|
|
25
25
|
<text x="437.4" y="53" fill="#d0d0d0" xml:space="preserve">[ 5 Usage ]</text>
|
|
26
26
|
<rect x="531.0" y="39" width="39.0" height="18" rx="4" fill="#2e3340"/>
|
|
27
27
|
<text x="531.0" y="53" fill="#d0d0d0" xml:space="preserve">[ ? ]</text>
|
|
28
|
-
<
|
|
29
|
-
<
|
|
30
|
-
<text x="
|
|
31
|
-
<
|
|
32
|
-
<
|
|
33
|
-
<text x="
|
|
34
|
-
<text x="
|
|
35
|
-
<text x="
|
|
36
|
-
<text x="
|
|
37
|
-
<text x="
|
|
38
|
-
<
|
|
39
|
-
<
|
|
40
|
-
<
|
|
41
|
-
<text x="
|
|
42
|
-
<
|
|
43
|
-
<
|
|
44
|
-
<
|
|
45
|
-
<text x="
|
|
46
|
-
<
|
|
47
|
-
<
|
|
48
|
-
<text x="
|
|
49
|
-
<
|
|
50
|
-
<
|
|
51
|
-
<text x="
|
|
52
|
-
<
|
|
53
|
-
<
|
|
54
|
-
<
|
|
55
|
-
<
|
|
56
|
-
<text x="
|
|
57
|
-
<text x="
|
|
58
|
-
<
|
|
59
|
-
<
|
|
60
|
-
<text x="
|
|
61
|
-
<
|
|
62
|
-
<text x="
|
|
63
|
-
<text x="
|
|
64
|
-
<text x="
|
|
65
|
-
<
|
|
66
|
-
<
|
|
67
|
-
<text x="39.6" y="
|
|
68
|
-
<text x="
|
|
69
|
-
<text x="
|
|
70
|
-
<text x="
|
|
71
|
-
<text x="
|
|
72
|
-
<
|
|
73
|
-
<
|
|
74
|
-
<
|
|
75
|
-
<
|
|
76
|
-
<text x="
|
|
77
|
-
<text x="
|
|
78
|
-
<text x="
|
|
79
|
-
<
|
|
80
|
-
<text x="
|
|
81
|
-
<
|
|
82
|
-
<
|
|
83
|
-
<text x="
|
|
84
|
-
<text x="102.0" y="376" fill="#
|
|
85
|
-
<
|
|
86
|
-
<text x="
|
|
87
|
-
<
|
|
88
|
-
<
|
|
89
|
-
<text x="
|
|
90
|
-
<text x="
|
|
91
|
-
<text x="
|
|
92
|
-
<
|
|
93
|
-
<
|
|
94
|
-
<text x="
|
|
95
|
-
<text x="
|
|
96
|
-
<text x="
|
|
97
|
-
<text x="
|
|
98
|
-
<text x="
|
|
99
|
-
<
|
|
100
|
-
<
|
|
101
|
-
<text x="
|
|
102
|
-
<text x="
|
|
103
|
-
<text x="
|
|
104
|
-
<text x="
|
|
105
|
-
<text x="
|
|
106
|
-
<text x="
|
|
107
|
-
<
|
|
108
|
-
<
|
|
109
|
-
<text x="
|
|
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
|
-
<text x="
|
|
119
|
-
<text x="
|
|
120
|
-
<text x="
|
|
121
|
-
<text x="
|
|
122
|
-
<text x="
|
|
123
|
-
<text x="
|
|
124
|
-
<text x="
|
|
125
|
-
<text x="
|
|
126
|
-
<text x="
|
|
127
|
-
<text x="
|
|
128
|
-
<text x="
|
|
129
|
-
<text x="
|
|
130
|
-
<text x="
|
|
131
|
-
<text x="
|
|
132
|
-
<text x="
|
|
133
|
-
<text x="
|
|
134
|
-
<text x="
|
|
135
|
-
<text x="
|
|
136
|
-
<text x="
|
|
137
|
-
<text x="
|
|
138
|
-
<text x="
|
|
139
|
-
<text x="
|
|
140
|
-
<text x="
|
|
141
|
-
<text x="
|
|
142
|
-
<text x="
|
|
143
|
-
<text x="
|
|
144
|
-
<
|
|
145
|
-
<text x="
|
|
28
|
+
<path d="M27.9 96V86H893.7V96" fill="none" stroke="#7c7c7c"/>
|
|
29
|
+
<path d="M27.9 96V115" fill="none" stroke="#7c7c7c"/>
|
|
30
|
+
<text x="39.6" y="110" fill="#5fafd7" font-weight="700" xml:space="preserve">NEXT TURN</text>
|
|
31
|
+
<path d="M893.7 96V115" fill="none" stroke="#7c7c7c"/>
|
|
32
|
+
<path d="M27.9 115V134" fill="none" stroke="#7c7c7c"/>
|
|
33
|
+
<text x="55.2" y="129" fill="#e0708a" xml:space="preserve">▂▄▆█</text>
|
|
34
|
+
<text x="102.0" y="129" fill="#d0d0d0" font-weight="700" xml:space="preserve">Opus 5.5 · xhigh</text>
|
|
35
|
+
<text x="250.2" y="129" fill="#d77757" font-style="italic" xml:space="preserve">code</text>
|
|
36
|
+
<text x="281.4" y="129" fill="#d0d0d0" xml:space="preserve"> 84%</text>
|
|
37
|
+
<text x="312.6" y="129" fill="#7c7c7c" xml:space="preserve"> debug 8%</text>
|
|
38
|
+
<path d="M893.7 115V134" fill="none" stroke="#7c7c7c"/>
|
|
39
|
+
<path d="M27.9 134V153" fill="none" stroke="#7c7c7c"/>
|
|
40
|
+
<text x="39.6" y="148" fill="#7c7c7c" xml:space="preserve"> why </text>
|
|
41
|
+
<text x="102.0" y="148" fill="#d0d0d0" xml:space="preserve">↑ clearly stronger</text>
|
|
42
|
+
<text x="242.4" y="148" fill="#7c7c7c" xml:space="preserve"> Jev 88% ≥ 82% · switch ≈ $0.48</text>
|
|
43
|
+
<path d="M893.7 134V153" fill="none" stroke="#7c7c7c"/>
|
|
44
|
+
<path d="M27.9 153V172" fill="none" stroke="#7c7c7c"/>
|
|
45
|
+
<text x="39.6" y="167" fill="#7c7c7c" xml:space="preserve"> pin next turn to a tier · now Opus 5.5 · xhigh</text>
|
|
46
|
+
<path d="M893.7 153V172" fill="none" stroke="#7c7c7c"/>
|
|
47
|
+
<path d="M27.9 172V191" fill="none" stroke="#7c7c7c"/>
|
|
48
|
+
<text x="70.8" y="186" fill="#d0d0d0" xml:space="preserve">Pin to a tier ▾</text>
|
|
49
|
+
<path d="M893.7 172V191" fill="none" stroke="#7c7c7c"/>
|
|
50
|
+
<path d="M27.9 191V210" fill="none" stroke="#7c7c7c"/>
|
|
51
|
+
<text x="39.6" y="205" fill="#7c7c7c" xml:space="preserve"> other models: /model, with routing off</text>
|
|
52
|
+
<path d="M893.7 191V210" fill="none" stroke="#7c7c7c"/>
|
|
53
|
+
<path d="M27.9 210V219H893.7V210" fill="none" stroke="#7c7c7c"/>
|
|
54
|
+
<path d="M27.9 248V238H893.7V248" fill="none" stroke="#7c7c7c"/>
|
|
55
|
+
<path d="M27.9 248V267" fill="none" stroke="#7c7c7c"/>
|
|
56
|
+
<text x="39.6" y="262" fill="#5fafd7" font-weight="700" xml:space="preserve">PLAN</text>
|
|
57
|
+
<text x="70.8" y="262" fill="#7c7c7c" xml:space="preserve"> Claude plan usage</text>
|
|
58
|
+
<path d="M893.7 248V267" fill="none" stroke="#7c7c7c"/>
|
|
59
|
+
<path d="M27.9 267V286" fill="none" stroke="#7c7c7c"/>
|
|
60
|
+
<text x="39.6" y="281" fill="#d0d0d0" xml:space="preserve"> 5h </text>
|
|
61
|
+
<text x="102.0" y="281" fill="#87d787" xml:space="preserve">▰▰▰▰▰▰▰▰▰▰</text>
|
|
62
|
+
<text x="180.0" y="281" fill="#7c7c7c" xml:space="preserve">▱▱▱▱▱▱▱▱▱▱</text>
|
|
63
|
+
<text x="258.0" y="281" fill="#87d787" xml:space="preserve"> 48%</text>
|
|
64
|
+
<text x="297.0" y="281" fill="#7c7c7c" xml:space="preserve"> resets 18:00</text>
|
|
65
|
+
<path d="M893.7 267V286" fill="none" stroke="#7c7c7c"/>
|
|
66
|
+
<path d="M27.9 286V305" fill="none" stroke="#7c7c7c"/>
|
|
67
|
+
<text x="39.6" y="300" fill="#d0d0d0" xml:space="preserve"> 7d </text>
|
|
68
|
+
<text x="102.0" y="300" fill="#87d787" xml:space="preserve">▰▰▰▰▰▰▰▰▰</text>
|
|
69
|
+
<text x="172.2" y="300" fill="#7c7c7c" xml:space="preserve">▱▱▱▱▱▱▱▱▱▱▱</text>
|
|
70
|
+
<text x="258.0" y="300" fill="#87d787" xml:space="preserve"> 43%</text>
|
|
71
|
+
<text x="297.0" y="300" fill="#7c7c7c" xml:space="preserve"> resets Fri 16:00</text>
|
|
72
|
+
<path d="M893.7 286V305" fill="none" stroke="#7c7c7c"/>
|
|
73
|
+
<path d="M27.9 305V314H893.7V305" fill="none" stroke="#7c7c7c"/>
|
|
74
|
+
<path d="M27.9 343V333H893.7V343" fill="none" stroke="#7c7c7c"/>
|
|
75
|
+
<path d="M27.9 343V362" fill="none" stroke="#7c7c7c"/>
|
|
76
|
+
<text x="39.6" y="357" fill="#5fafd7" font-weight="700" xml:space="preserve">SESSION</text>
|
|
77
|
+
<text x="94.2" y="357" fill="#7c7c7c" xml:space="preserve"> since 14:18 · 86 replies · 6 agents · 9 switches</text>
|
|
78
|
+
<text x="484.2" y="357" fill="#d7af5f" xml:space="preserve"> ● 1 running</text>
|
|
79
|
+
<rect x="601.2" y="343" width="124.8" height="18" rx="4" fill="#2e3340"/>
|
|
80
|
+
<text x="601.2" y="357" fill="#d0d0d0" xml:space="preserve">[ band: 2 rows ]</text>
|
|
81
|
+
<path d="M893.7 343V362" fill="none" stroke="#7c7c7c"/>
|
|
82
|
+
<path d="M27.9 362V381" fill="none" stroke="#7c7c7c"/>
|
|
83
|
+
<text x="55.2" y="376" fill="#d0d0d0" font-weight="700" xml:space="preserve">≈$8.97</text>
|
|
84
|
+
<text x="102.0" y="376" fill="#7c7c7c" xml:space="preserve"> API estimate · plan quota, not a charge </text>
|
|
85
|
+
<rect x="437.4" y="362" width="70.2" height="18" rx="4" fill="#2e3340"/>
|
|
86
|
+
<text x="437.4" y="376" fill="#d0d0d0" xml:space="preserve">[ Usage ]</text>
|
|
87
|
+
<path d="M893.7 362V381" fill="none" stroke="#7c7c7c"/>
|
|
88
|
+
<path d="M27.9 381V400" fill="none" stroke="#7c7c7c"/>
|
|
89
|
+
<text x="55.2" y="395" fill="#87d787" font-weight="700" xml:space="preserve">−$4.09 (−31%)</text>
|
|
90
|
+
<text x="156.6" y="395" fill="#d0d0d0" xml:space="preserve"> vs unrouted</text>
|
|
91
|
+
<text x="250.2" y="395" fill="#7c7c7c" xml:space="preserve"> ≈$13.06</text>
|
|
92
|
+
<path d="M893.7 381V400" fill="none" stroke="#7c7c7c"/>
|
|
93
|
+
<path d="M27.9 400V419" fill="none" stroke="#7c7c7c"/>
|
|
94
|
+
<text x="39.6" y="414" fill="#d0d0d0" xml:space="preserve"> main </text>
|
|
95
|
+
<text x="102.0" y="414" fill="#d0d0d0" xml:space="preserve"> ≈$6.45</text>
|
|
96
|
+
<text x="172.2" y="414" fill="#5fafd7" xml:space="preserve">████████████████</text>
|
|
97
|
+
<text x="312.6" y="414" fill="#87d787" xml:space="preserve">−$4.17</text>
|
|
98
|
+
<text x="359.4" y="414" fill="#7c7c7c" xml:space="preserve"> vs Opus 5.5 · xhigh</text>
|
|
99
|
+
<path d="M893.7 400V419" fill="none" stroke="#7c7c7c"/>
|
|
100
|
+
<path d="M27.9 419V438" fill="none" stroke="#7c7c7c"/>
|
|
101
|
+
<text x="39.6" y="433" fill="#d0d0d0" xml:space="preserve"> agents</text>
|
|
102
|
+
<text x="102.0" y="433" fill="#d0d0d0" xml:space="preserve"> ≈$2.52</text>
|
|
103
|
+
<text x="172.2" y="433" fill="#5fafd7" xml:space="preserve">██████</text>
|
|
104
|
+
<text x="219.0" y="433" fill="#7c7c7c" xml:space="preserve">░░░░░░░░░░</text>
|
|
105
|
+
<text x="312.6" y="433" fill="#d7af5f" xml:space="preserve">+$0.08</text>
|
|
106
|
+
<text x="359.4" y="433" fill="#7c7c7c" xml:space="preserve"> vs their picks</text>
|
|
107
|
+
<path d="M893.7 419V438" fill="none" stroke="#7c7c7c"/>
|
|
108
|
+
<path d="M27.9 438V457" fill="none" stroke="#7c7c7c"/>
|
|
109
|
+
<text x="39.6" y="452" fill="#7c7c7c" xml:space="preserve"> tiers </text>
|
|
110
|
+
<text x="102.0" y="452" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
111
|
+
<text x="109.8" y="452" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
112
|
+
<text x="117.6" y="452" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
113
|
+
<text x="125.4" y="452" fill="#d7af5f" font-weight="700" xml:space="preserve">█</text>
|
|
114
|
+
<text x="133.2" y="452" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
115
|
+
<text x="141.0" y="452" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
116
|
+
<text x="148.8" y="452" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
117
|
+
<text x="156.6" y="452" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
118
|
+
<text x="164.4" y="452" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
119
|
+
<text x="172.2" y="452" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
|
|
120
|
+
<text x="180.0" y="452" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
|
|
121
|
+
<text x="187.8" y="452" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
|
|
122
|
+
<text x="195.6" y="452" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
|
|
123
|
+
<text x="203.4" y="452" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
124
|
+
<text x="211.2" y="452" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
125
|
+
<text x="219.0" y="452" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
126
|
+
<text x="226.8" y="452" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
127
|
+
<text x="234.6" y="452" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
|
|
128
|
+
<text x="242.4" y="452" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
|
|
129
|
+
<text x="250.2" y="452" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
|
|
130
|
+
<text x="258.0" y="452" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
|
|
131
|
+
<text x="265.8" y="452" fill="#d7af5f" font-weight="700" xml:space="preserve">█</text>
|
|
132
|
+
<text x="273.6" y="452" fill="#d7af5f" font-weight="700" xml:space="preserve">█</text>
|
|
133
|
+
<text x="281.4" y="452" fill="#d7af5f" font-weight="700" xml:space="preserve">█</text>
|
|
134
|
+
<text x="289.2" y="452" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
135
|
+
<text x="297.0" y="452" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
136
|
+
<text x="304.8" y="452" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
137
|
+
<text x="312.6" y="452" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
138
|
+
<text x="320.4" y="452" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
139
|
+
<text x="328.2" y="452" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
140
|
+
<text x="336.0" y="452" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
141
|
+
<text x="343.8" y="452" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
142
|
+
<text x="351.6" y="452" fill="#d7af5f" font-weight="700" xml:space="preserve">█</text>
|
|
143
|
+
<text x="359.4" y="452" fill="#d7af5f" font-weight="700" xml:space="preserve">█</text>
|
|
144
|
+
<text x="367.2" y="452" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
|
|
145
|
+
<text x="375.0" y="452" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
|
|
146
|
+
<text x="382.8" y="452" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
|
|
147
|
+
<text x="390.6" y="452" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
|
|
148
|
+
<text x="398.4" y="452" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
|
|
149
|
+
<text x="406.2" y="452" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
|
|
150
|
+
<text x="414.0" y="452" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
|
|
151
|
+
<text x="421.8" y="452" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
|
|
152
|
+
<text x="429.6" y="452" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
|
|
153
|
+
<text x="437.4" y="452" fill="#7c7c7c" xml:space="preserve"> 2 replies per cell</text>
|
|
154
|
+
<path d="M893.7 438V457" fill="none" stroke="#7c7c7c"/>
|
|
155
|
+
<path d="M27.9 457V476" fill="none" stroke="#7c7c7c"/>
|
|
156
|
+
<text x="102.0" y="471" fill="#5f9fe0" xml:space="preserve">▂▄</text>
|
|
157
|
+
<text x="117.6" y="471" fill="#7c7c7c" xml:space="preserve"> 41 </text>
|
|
158
|
+
<text x="164.4" y="471" fill="#d7af5f" xml:space="preserve">▂▄▆</text>
|
|
159
|
+
<text x="187.8" y="471" fill="#7c7c7c" xml:space="preserve"> 12 </text>
|
|
160
|
+
<text x="234.6" y="471" fill="#e0708a" xml:space="preserve">▂▄▆█</text>
|
|
161
|
+
<text x="265.8" y="471" fill="#7c7c7c" xml:space="preserve"> 33 </text>
|
|
162
|
+
<path d="M893.7 457V476" fill="none" stroke="#7c7c7c"/>
|
|
163
|
+
<path d="M27.9 476V485H893.7V476" fill="none" stroke="#7c7c7c"/>
|
|
164
|
+
<path d="M27.9 514V504H893.7V514" fill="none" stroke="#7c7c7c"/>
|
|
165
|
+
<path d="M27.9 514V533" fill="none" stroke="#7c7c7c"/>
|
|
166
|
+
<text x="39.6" y="528" fill="#5fafd7" font-weight="700" xml:space="preserve">CONTEXT</text>
|
|
167
|
+
<path d="M893.7 514V533" fill="none" stroke="#7c7c7c"/>
|
|
168
|
+
<path d="M27.9 533V552" fill="none" stroke="#7c7c7c"/>
|
|
169
|
+
<text x="39.6" y="547" fill="#d0d0d0" xml:space="preserve"> ctx </text>
|
|
170
|
+
<text x="109.8" y="547" fill="#87d787" xml:space="preserve">▰▰▰▰▰▰▰▰</text>
|
|
171
|
+
<text x="172.2" y="547" fill="#7c7c7c" xml:space="preserve">▱▱▱▱▱▱▱▱▱▱▱▱</text>
|
|
172
|
+
<text x="265.8" y="547" fill="#d0d0d0" xml:space="preserve"> 40%</text>
|
|
173
|
+
<text x="304.8" y="547" fill="#7c7c7c" xml:space="preserve"> ~402.9K / 1.00M</text>
|
|
174
|
+
<path d="M893.7 533V552" fill="none" stroke="#7c7c7c"/>
|
|
175
|
+
<path d="M27.9 552V571" fill="none" stroke="#7c7c7c"/>
|
|
176
|
+
<text x="39.6" y="566" fill="#d0d0d0" xml:space="preserve"> cache </text>
|
|
177
|
+
<text x="109.8" y="566" fill="#87d787" xml:space="preserve">100%</text>
|
|
178
|
+
<text x="141.0" y="566" fill="#7c7c7c" xml:space="preserve"> last reply</text>
|
|
179
|
+
<text x="226.8" y="566" fill="#7c7c7c" xml:space="preserve"> · </text>
|
|
180
|
+
<text x="250.2" y="566" fill="#d0d0d0" xml:space="preserve">90%</text>
|
|
181
|
+
<text x="273.6" y="566" fill="#7c7c7c" xml:space="preserve"> session</text>
|
|
182
|
+
<rect x="359.4" y="552" width="85.8" height="18" rx="4" fill="#2e3340"/>
|
|
183
|
+
<text x="359.4" y="566" fill="#d0d0d0" xml:space="preserve">[ details ]</text>
|
|
184
|
+
<path d="M893.7 552V571" fill="none" stroke="#7c7c7c"/>
|
|
185
|
+
<path d="M27.9 571V580H893.7V571" fill="none" stroke="#7c7c7c"/>
|
|
146
186
|
</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 553" role="img" aria-labelledby="title desc">
|
|
2
2
|
<title id="title">Router pane, Policy tab</title>
|
|
3
3
|
<desc id="desc">Each policy control inside the sentence it completes: the start tier, votes and payback horizon for going down, the support needed to go up, the activity threshold and the credits cap, with the default shown beside a changed value, the router.json file, and the unsaved change 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="
|
|
8
|
+
<rect width="922" height="553" rx="8" fill="#1c1c1c"/>
|
|
9
|
+
<rect x="10" y="10" width="902" height="533" 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>
|
|
@@ -25,48 +25,80 @@
|
|
|
25
25
|
<text x="453.0" y="53" fill="#d0d0d0" xml:space="preserve">[ 5 Usage ]</text>
|
|
26
26
|
<rect x="546.6" y="39" width="39.0" height="18" rx="4" fill="#2e3340"/>
|
|
27
27
|
<text x="546.6" y="53" fill="#d0d0d0" xml:space="preserve">[ ? ]</text>
|
|
28
|
-
<
|
|
29
|
-
<
|
|
30
|
-
<text x="
|
|
31
|
-
<text x="
|
|
32
|
-
<
|
|
33
|
-
<
|
|
34
|
-
<
|
|
35
|
-
<
|
|
36
|
-
<text x="
|
|
37
|
-
<text x="
|
|
38
|
-
<text x="
|
|
39
|
-
<
|
|
40
|
-
<
|
|
41
|
-
<text x="
|
|
42
|
-
<
|
|
43
|
-
<
|
|
44
|
-
<text x="
|
|
45
|
-
<text x="
|
|
46
|
-
<text x="
|
|
47
|
-
<
|
|
48
|
-
<
|
|
49
|
-
<text x="
|
|
50
|
-
<
|
|
51
|
-
<
|
|
52
|
-
<text x="
|
|
53
|
-
<text x="
|
|
54
|
-
<text x="
|
|
55
|
-
<text x="
|
|
56
|
-
<text x="
|
|
57
|
-
<
|
|
58
|
-
<
|
|
59
|
-
<
|
|
60
|
-
<text x="
|
|
61
|
-
<
|
|
62
|
-
<
|
|
63
|
-
<
|
|
64
|
-
<text x="
|
|
65
|
-
<text x="
|
|
66
|
-
<
|
|
67
|
-
<
|
|
68
|
-
<
|
|
69
|
-
<text x="
|
|
70
|
-
<
|
|
71
|
-
<text x="
|
|
28
|
+
<path d="M27.9 96V86H893.7V96" fill="none" stroke="#7c7c7c"/>
|
|
29
|
+
<path d="M27.9 96V115" fill="none" stroke="#7c7c7c"/>
|
|
30
|
+
<text x="39.6" y="110" fill="#5fafd7" font-weight="700" xml:space="preserve">POLICY</text>
|
|
31
|
+
<text x="86.4" y="110" fill="#7c7c7c" xml:space="preserve"> · how readily the router changes models · edit, then Save</text>
|
|
32
|
+
<path d="M893.7 96V115" fill="none" stroke="#7c7c7c"/>
|
|
33
|
+
<path d="M27.9 115V134" fill="none" stroke="#7c7c7c"/>
|
|
34
|
+
<path d="M893.7 115V134" fill="none" stroke="#7c7c7c"/>
|
|
35
|
+
<path d="M27.9 134V153" fill="none" stroke="#7c7c7c"/>
|
|
36
|
+
<text x="39.6" y="148" fill="#d0d0d0" font-weight="700" xml:space="preserve">Mode</text>
|
|
37
|
+
<text x="141.0" y="148" fill="#d0d0d0" xml:space="preserve">balanced ▾</text>
|
|
38
|
+
<text x="219.0" y="148" fill="#7c7c7c" xml:space="preserve"> saved at once</text>
|
|
39
|
+
<path d="M893.7 134V153" fill="none" stroke="#7c7c7c"/>
|
|
40
|
+
<path d="M27.9 153V172" fill="none" stroke="#7c7c7c"/>
|
|
41
|
+
<text x="141.0" y="167" fill="#7c7c7c" xml:space="preserve">each tier runs its route as configured</text>
|
|
42
|
+
<path d="M893.7 153V172" fill="none" stroke="#7c7c7c"/>
|
|
43
|
+
<path d="M27.9 172V191" fill="none" stroke="#7c7c7c"/>
|
|
44
|
+
<text x="39.6" y="186" fill="#d0d0d0" font-weight="700" xml:space="preserve">Start</text>
|
|
45
|
+
<text x="141.0" y="186" fill="#d0d0d0" xml:space="preserve">at </text>
|
|
46
|
+
<text x="164.4" y="186" fill="#d0d0d0" xml:space="preserve">low ▾</text>
|
|
47
|
+
<path d="M893.7 172V191" fill="none" stroke="#7c7c7c"/>
|
|
48
|
+
<path d="M27.9 191V210" fill="none" stroke="#7c7c7c"/>
|
|
49
|
+
<text x="141.0" y="205" fill="#7c7c7c" xml:space="preserve">when the session’s model is no tier’s model</text>
|
|
50
|
+
<path d="M893.7 191V210" fill="none" stroke="#7c7c7c"/>
|
|
51
|
+
<path d="M27.9 210V229" fill="none" stroke="#7c7c7c"/>
|
|
52
|
+
<text x="39.6" y="224" fill="#d0d0d0" font-weight="700" xml:space="preserve">Going down</text>
|
|
53
|
+
<text x="141.0" y="224" fill="#d0d0d0" xml:space="preserve">after </text>
|
|
54
|
+
<text x="187.8" y="224" fill="#d0d0d0" xml:space="preserve">3 ▾</text>
|
|
55
|
+
<text x="211.2" y="224" fill="#d0d0d0" xml:space="preserve"> agreeing turns </text>
|
|
56
|
+
<text x="336.0" y="224" fill="#d7af5f" xml:space="preserve">●</text>
|
|
57
|
+
<text x="351.6" y="224" fill="#7c7c7c" xml:space="preserve">default 2</text>
|
|
58
|
+
<path d="M893.7 210V229" fill="none" stroke="#7c7c7c"/>
|
|
59
|
+
<path d="M27.9 229V248" fill="none" stroke="#7c7c7c"/>
|
|
60
|
+
<text x="141.0" y="243" fill="#d0d0d0" xml:space="preserve">if a cache write pays back within </text>
|
|
61
|
+
<text x="406.2" y="243" fill="#d0d0d0" xml:space="preserve">5 turns ▾</text>
|
|
62
|
+
<path d="M893.7 229V248" fill="none" stroke="#7c7c7c"/>
|
|
63
|
+
<path d="M27.9 248V267" fill="none" stroke="#7c7c7c"/>
|
|
64
|
+
<text x="39.6" y="262" fill="#d0d0d0" font-weight="700" xml:space="preserve">Going up</text>
|
|
65
|
+
<text x="141.0" y="262" fill="#7c7c7c" xml:space="preserve">needs Jev support of 75%, up to 90% as the switch costs more</text>
|
|
66
|
+
<path d="M893.7 248V267" fill="none" stroke="#7c7c7c"/>
|
|
67
|
+
<path d="M27.9 267V286" fill="none" stroke="#7c7c7c"/>
|
|
68
|
+
<text x="39.6" y="281" fill="#d0d0d0" font-weight="700" xml:space="preserve">Activities</text>
|
|
69
|
+
<text x="141.0" y="281" fill="#d0d0d0" xml:space="preserve">apply at </text>
|
|
70
|
+
<text x="211.2" y="281" fill="#d0d0d0" xml:space="preserve">60% ▾</text>
|
|
71
|
+
<text x="250.2" y="281" fill="#d0d0d0" xml:space="preserve"> certainty or more </text>
|
|
72
|
+
<path d="M893.7 267V286" fill="none" stroke="#7c7c7c"/>
|
|
73
|
+
<path d="M27.9 286V305" fill="none" stroke="#7c7c7c"/>
|
|
74
|
+
<text x="141.0" y="300" fill="#7c7c7c" xml:space="preserve">else a new task runs its tier’s model; a continuation keeps it</text>
|
|
75
|
+
<path d="M893.7 286V305" fill="none" stroke="#7c7c7c"/>
|
|
76
|
+
<path d="M27.9 305V324" fill="none" stroke="#7c7c7c"/>
|
|
77
|
+
<text x="39.6" y="319" fill="#d0d0d0" font-weight="700" xml:space="preserve">Credits</text>
|
|
78
|
+
<text x="141.0" y="319" fill="#d0d0d0" xml:space="preserve">cap one cold cache write at </text>
|
|
79
|
+
<text x="359.4" y="319" fill="#d0d0d0" xml:space="preserve">$2.00 ▾</text>
|
|
80
|
+
<path d="M893.7 305V324" fill="none" stroke="#7c7c7c"/>
|
|
81
|
+
<path d="M27.9 324V343" fill="none" stroke="#7c7c7c"/>
|
|
82
|
+
<text x="141.0" y="338" fill="#7c7c7c" xml:space="preserve">no model in router.json bills credits, so this has no effect</text>
|
|
83
|
+
<path d="M893.7 324V343" fill="none" stroke="#7c7c7c"/>
|
|
84
|
+
<path d="M27.9 343V362" fill="none" stroke="#7c7c7c"/>
|
|
85
|
+
<path d="M893.7 343V362" fill="none" stroke="#7c7c7c"/>
|
|
86
|
+
<path d="M27.9 362V381" fill="none" stroke="#7c7c7c"/>
|
|
87
|
+
<rect x="39.6" y="362" width="218.4" height="18" rx="4" fill="#2e3340"/>
|
|
88
|
+
<text x="39.6" y="376" fill="#d0d0d0" xml:space="preserve">[ Reset policy to defaults ]</text>
|
|
89
|
+
<path d="M893.7 362V381" fill="none" stroke="#7c7c7c"/>
|
|
90
|
+
<path d="M27.9 381V390H893.7V381" fill="none" stroke="#7c7c7c"/>
|
|
91
|
+
<text x="24.0" y="414" fill="#5fafd7" font-weight="700" xml:space="preserve">FILE</text>
|
|
92
|
+
<text x="55.2" y="414" fill="#d0d0d0" xml:space="preserve"> ~/.claude/router.json </text>
|
|
93
|
+
<rect x="250.2" y="400" width="62.4" height="18" rx="4" fill="#2e3340"/>
|
|
94
|
+
<text x="250.2" y="414" fill="#d0d0d0" xml:space="preserve">[ copy ]</text>
|
|
95
|
+
<text x="24.0" y="433" fill="#7c7c7c" xml:space="preserve">Subagents: on. Agents that pin no model get one at spawn, kept for every step.</text>
|
|
96
|
+
<text x="24.0" y="471" fill="#7c7c7c" xml:space="preserve">router.json changes:</text>
|
|
97
|
+
<text x="24.0" y="490" fill="#e06c6c" xml:space="preserve">- policy.downgradeVotes 2</text>
|
|
98
|
+
<text x="24.0" y="509" fill="#87d787" xml:space="preserve">+ policy.downgradeVotes 3</text>
|
|
99
|
+
<text x="24.0" y="528" fill="#d7af5f" xml:space="preserve">● 1 unsaved routing change </text>
|
|
100
|
+
<rect x="242.4" y="514" width="62.4" height="18" rx="4" fill="#87afff"/>
|
|
101
|
+
<text x="242.4" y="528" fill="#0d1016" font-weight="700" xml:space="preserve">[ Save ]</text>
|
|
102
|
+
<rect x="312.6" y="514" width="85.8" height="18" rx="4" fill="#2e3340"/>
|
|
103
|
+
<text x="312.6" y="528" fill="#d0d0d0" xml:space="preserve">[ Discard ]</text>
|
|
72
104
|
</svg>
|