@alexeiled/claude-router 1.13.0 → 1.15.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 +46 -0
- package/README.md +3 -0
- package/docs/architecture.md +11 -1
- package/docs/configuration.md +6 -2
- package/docs/evaluation.md +8 -7
- package/docs/native-router.md +2 -1
- package/docs/router-band.svg +30 -8
- package/docs/router-pane-now.svg +134 -111
- package/docs/router-pane-policy.svg +47 -43
- package/docs/router-pane-usage-whatif.svg +75 -12
- package/docs/router-pane-usage.svg +79 -13
- package/docs/routing-modes.md +139 -0
- package/docs/user-guide.md +11 -5
- package/hooks/native-router.mjs +170 -23
- package/lib/activity.mjs +8 -2
- package/lib/band.mjs +43 -11
- package/lib/config.mjs +69 -17
- package/lib/cost.mjs +3 -0
- package/lib/display.mjs +21 -2
- package/lib/modes.mjs +98 -0
- package/lib/panel.mjs +338 -45
- package/lib/route.mjs +80 -23
- package/lib/subagents.mjs +182 -64
- package/lib/usage.mjs +32 -20
- package/lib/view.mjs +3 -0
- package/package.json +2 -1
- package/types/index.d.ts +34 -10
package/docs/router-pane-now.svg
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 665
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 665 629" role="img" aria-labelledby="title desc">
|
|
2
2
|
<title id="title">Router pane, Now tab</title>
|
|
3
|
-
<desc id="desc">What runs next turn: tier, model and activity, with the reason and the classifier support it weighed; one pin button per tier with its support; this session since its first reply, as a strip of every reply colored by tier, with the replies per tier and per activity, the last route switch and what routing saved against your model; today across sessions; today’s first finding worth a look with a link to Routes; and context, cache and cost.</desc>
|
|
3
|
+
<desc id="desc">What runs next turn: tier, model and activity, with the reason and the classifier support it weighed; one pin button per tier with its support; this session since its first reply, as a strip of every reply colored by tier, with the replies per tier and per activity, the last route switch and what routing saved against your model; today across sessions; this session’s subagents as squares by model, one running, with what routing saved on them; today’s first finding worth a look with a link to Routes; and context, cache and cost.</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="665" height="
|
|
9
|
-
<rect x="10" y="10" width="645" height="
|
|
8
|
+
<rect width="665" height="629" rx="8" fill="#1c1c1c"/>
|
|
9
|
+
<rect x="10" y="10" width="645" height="609" rx="6" fill="none" stroke="#3f5f8f"/>
|
|
10
10
|
<text x="24.0" y="34" fill="#5fafd7" font-weight="700" xml:space="preserve">ROUTING</text>
|
|
11
11
|
<rect x="94.2" y="20" width="62.4" height="18" rx="4" fill="#87afff"/>
|
|
12
12
|
<text x="94.2" y="34" fill="#0d1016" font-weight="700" xml:space="preserve">[ ◉ on ]</text>
|
|
@@ -36,111 +36,134 @@
|
|
|
36
36
|
<text x="24.0" y="129" fill="#d0d0d0" xml:space="preserve">Why </text>
|
|
37
37
|
<text x="109.8" y="129" fill="#d0d0d0" xml:space="preserve">clear need for a stronger model</text>
|
|
38
38
|
<text x="24.0" y="148" fill="#7c7c7c" xml:space="preserve"> Jev gave stronger tiers 88% (needs 82%) · switch ≈ $0.48</text>
|
|
39
|
-
<text x="24.0" y="167" fill="#d0d0d0" xml:space="preserve">
|
|
40
|
-
<
|
|
41
|
-
<text x="
|
|
42
|
-
<rect x="
|
|
43
|
-
<text x="
|
|
44
|
-
<rect x="
|
|
45
|
-
<text x="
|
|
46
|
-
<rect x="
|
|
47
|
-
<text x="
|
|
48
|
-
<
|
|
49
|
-
<text x="
|
|
50
|
-
<text x="
|
|
51
|
-
<text x="
|
|
52
|
-
<text x="
|
|
53
|
-
<text x="
|
|
54
|
-
<text x="
|
|
55
|
-
<text x="
|
|
56
|
-
<text x="
|
|
57
|
-
<text x="
|
|
58
|
-
<text x="
|
|
59
|
-
<text x="
|
|
60
|
-
<text x="
|
|
61
|
-
<text x="
|
|
62
|
-
<text x="
|
|
63
|
-
<text x="
|
|
64
|
-
<text x="
|
|
65
|
-
<text x="
|
|
66
|
-
<text x="
|
|
67
|
-
<text x="
|
|
68
|
-
<text x="
|
|
69
|
-
<text x="
|
|
70
|
-
<text x="
|
|
71
|
-
<text x="
|
|
72
|
-
<text x="
|
|
73
|
-
<text x="
|
|
74
|
-
<text x="
|
|
75
|
-
<text x="
|
|
76
|
-
<text x="
|
|
77
|
-
<text x="
|
|
78
|
-
<text x="
|
|
79
|
-
<text x="
|
|
80
|
-
<text x="
|
|
81
|
-
<text x="
|
|
82
|
-
<text x="
|
|
83
|
-
<text x="
|
|
84
|
-
<text x="
|
|
85
|
-
<text x="
|
|
86
|
-
<text x="
|
|
87
|
-
<text x="
|
|
88
|
-
<text x="
|
|
89
|
-
<text x="
|
|
90
|
-
<text x="
|
|
91
|
-
<text x="
|
|
92
|
-
<text x="
|
|
93
|
-
<text x="
|
|
94
|
-
<text x="
|
|
95
|
-
<text x="
|
|
96
|
-
<text x="
|
|
97
|
-
<text x="
|
|
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 x="
|
|
107
|
-
<text x="
|
|
108
|
-
<text x="
|
|
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
|
-
<
|
|
118
|
-
<text x="
|
|
119
|
-
<
|
|
120
|
-
<text x="
|
|
121
|
-
<text x="
|
|
122
|
-
<text x="
|
|
123
|
-
<text x="
|
|
124
|
-
<text x="
|
|
125
|
-
<
|
|
126
|
-
<text x="
|
|
127
|
-
<
|
|
128
|
-
<text x="
|
|
129
|
-
<text x="
|
|
130
|
-
<text x="
|
|
131
|
-
<text x="
|
|
132
|
-
<
|
|
133
|
-
<text x="
|
|
134
|
-
<
|
|
135
|
-
<text x="
|
|
136
|
-
<text x="
|
|
137
|
-
<text x="
|
|
138
|
-
<text x="
|
|
139
|
-
<text x="
|
|
140
|
-
<text x="
|
|
141
|
-
<text x="
|
|
142
|
-
<
|
|
143
|
-
<text x="
|
|
144
|
-
<
|
|
145
|
-
<text x="24.0" y="
|
|
39
|
+
<text x="24.0" y="167" fill="#d0d0d0" xml:space="preserve">Mode </text>
|
|
40
|
+
<text x="109.8" y="167" fill="#d0d0d0" xml:space="preserve">balanced (default)</text>
|
|
41
|
+
<text x="24.0" y="186" fill="#d0d0d0" xml:space="preserve">Pin next </text>
|
|
42
|
+
<rect x="109.8" y="172" width="109.2" height="18" rx="4" fill="#2e3340"/>
|
|
43
|
+
<text x="109.8" y="186" fill="#d0d0d0" xml:space="preserve">[ ▶ high 88% ]</text>
|
|
44
|
+
<rect x="226.8" y="172" width="101.4" height="18" rx="4" fill="#2e3340"/>
|
|
45
|
+
<text x="226.8" y="186" fill="#d0d0d0" xml:space="preserve">[ medium 7% ]</text>
|
|
46
|
+
<rect x="336.0" y="172" width="78.0" height="18" rx="4" fill="#2e3340"/>
|
|
47
|
+
<text x="336.0" y="186" fill="#d0d0d0" xml:space="preserve">[ low 3% ]</text>
|
|
48
|
+
<rect x="421.8" y="172" width="93.6" height="18" rx="4" fill="#2e3340"/>
|
|
49
|
+
<text x="421.8" y="186" fill="#d0d0d0" xml:space="preserve">[ micro 2% ]</text>
|
|
50
|
+
<text x="523.2" y="186" fill="#7c7c7c" xml:space="preserve"> next turn only</text>
|
|
51
|
+
<text x="24.0" y="224" fill="#5fafd7" font-weight="700" xml:space="preserve">SESSION</text>
|
|
52
|
+
<text x="78.6" y="224" fill="#7c7c7c" xml:space="preserve"> · since 14:18 · 86 routed replies · 9 route switches</text>
|
|
53
|
+
<text x="39.6" y="243" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
54
|
+
<text x="47.4" y="243" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
55
|
+
<text x="55.2" y="243" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
56
|
+
<text x="63.0" y="243" fill="#d7af5f" font-weight="700" xml:space="preserve">█</text>
|
|
57
|
+
<text x="70.8" y="243" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
58
|
+
<text x="78.6" y="243" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
59
|
+
<text x="86.4" y="243" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
60
|
+
<text x="94.2" y="243" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
61
|
+
<text x="102.0" y="243" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
62
|
+
<text x="109.8" y="243" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
|
|
63
|
+
<text x="117.6" y="243" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
|
|
64
|
+
<text x="125.4" y="243" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
|
|
65
|
+
<text x="133.2" y="243" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
|
|
66
|
+
<text x="141.0" y="243" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
67
|
+
<text x="148.8" y="243" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
68
|
+
<text x="156.6" y="243" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
69
|
+
<text x="164.4" y="243" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
70
|
+
<text x="172.2" y="243" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
|
|
71
|
+
<text x="180.0" y="243" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
|
|
72
|
+
<text x="187.8" y="243" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
|
|
73
|
+
<text x="195.6" y="243" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
|
|
74
|
+
<text x="203.4" y="243" fill="#d7af5f" font-weight="700" xml:space="preserve">█</text>
|
|
75
|
+
<text x="211.2" y="243" fill="#d7af5f" font-weight="700" xml:space="preserve">█</text>
|
|
76
|
+
<text x="219.0" y="243" fill="#d7af5f" font-weight="700" xml:space="preserve">█</text>
|
|
77
|
+
<text x="226.8" y="243" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
78
|
+
<text x="234.6" y="243" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
79
|
+
<text x="242.4" y="243" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
80
|
+
<text x="250.2" y="243" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
81
|
+
<text x="258.0" y="243" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
82
|
+
<text x="265.8" y="243" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
83
|
+
<text x="273.6" y="243" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
84
|
+
<text x="281.4" y="243" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
85
|
+
<text x="289.2" y="243" fill="#d7af5f" font-weight="700" xml:space="preserve">█</text>
|
|
86
|
+
<text x="297.0" y="243" fill="#d7af5f" font-weight="700" xml:space="preserve">█</text>
|
|
87
|
+
<text x="304.8" y="243" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
|
|
88
|
+
<text x="312.6" y="243" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
|
|
89
|
+
<text x="320.4" y="243" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
|
|
90
|
+
<text x="328.2" y="243" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
|
|
91
|
+
<text x="336.0" y="243" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
|
|
92
|
+
<text x="343.8" y="243" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
|
|
93
|
+
<text x="351.6" y="243" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
|
|
94
|
+
<text x="359.4" y="243" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
|
|
95
|
+
<text x="367.2" y="243" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
|
|
96
|
+
<text x="375.0" y="243" fill="#7c7c7c" xml:space="preserve"> 2 replies per cell</text>
|
|
97
|
+
<text x="39.6" y="262" fill="#5f9fe0" font-weight="700" xml:space="preserve">■ </text>
|
|
98
|
+
<text x="55.2" y="262" fill="#d0d0d0" xml:space="preserve">low 41 </text>
|
|
99
|
+
<text x="117.6" y="262" fill="#d7af5f" font-weight="700" xml:space="preserve">■ </text>
|
|
100
|
+
<text x="133.2" y="262" fill="#d0d0d0" xml:space="preserve">medium 12 </text>
|
|
101
|
+
<text x="219.0" y="262" fill="#e0708a" font-weight="700" xml:space="preserve">■ </text>
|
|
102
|
+
<text x="234.6" y="262" fill="#d0d0d0" xml:space="preserve">high 33 </text>
|
|
103
|
+
<text x="39.6" y="281" fill="#d7875f" font-style="italic" xml:space="preserve">coding</text>
|
|
104
|
+
<text x="86.4" y="281" fill="#7c7c7c" xml:space="preserve"> 45 · </text>
|
|
105
|
+
<text x="133.2" y="281" fill="#d7875f" font-style="italic" xml:space="preserve">running</text>
|
|
106
|
+
<text x="187.8" y="281" fill="#7c7c7c" xml:space="preserve"> 26 · </text>
|
|
107
|
+
<text x="234.6" y="281" fill="#d7875f" font-style="italic" xml:space="preserve">exploring</text>
|
|
108
|
+
<text x="304.8" y="281" fill="#7c7c7c" xml:space="preserve"> 15</text>
|
|
109
|
+
<text x="39.6" y="300" fill="#7c7c7c" xml:space="preserve">last switch 15:38 </text>
|
|
110
|
+
<text x="187.8" y="300" fill="#d7af5f" font-weight="700" xml:space="preserve">medium</text>
|
|
111
|
+
<text x="234.6" y="300" fill="#7c7c7c" xml:space="preserve"> → </text>
|
|
112
|
+
<text x="258.0" y="300" fill="#e0708a" font-weight="700" xml:space="preserve">high</text>
|
|
113
|
+
<text x="289.2" y="300" fill="#7c7c7c" xml:space="preserve"> · </text>
|
|
114
|
+
<text x="312.6" y="300" fill="#d7875f" font-style="italic" xml:space="preserve">coding</text>
|
|
115
|
+
<text x="39.6" y="319" fill="#d0d0d0" xml:space="preserve">Routing saved </text>
|
|
116
|
+
<text x="148.8" y="319" fill="#6fcf97" font-weight="700" xml:space="preserve">$4.17 (39%)</text>
|
|
117
|
+
<text x="234.6" y="319" fill="#d0d0d0" xml:space="preserve"> vs your model</text>
|
|
118
|
+
<text x="343.8" y="319" fill="#7c7c7c" xml:space="preserve"> · switch writes $0.19</text>
|
|
119
|
+
<rect x="531.0" y="305" width="70.2" height="18" rx="4" fill="#2e3340"/>
|
|
120
|
+
<text x="531.0" y="319" fill="#d0d0d0" xml:space="preserve">[ Usage ]</text>
|
|
121
|
+
<text x="24.0" y="357" fill="#5fafd7" font-weight="700" xml:space="preserve">TODAY</text>
|
|
122
|
+
<text x="63.0" y="357" fill="#7c7c7c" xml:space="preserve"> · 104 routed replies · 12 route switches</text>
|
|
123
|
+
<text x="39.6" y="376" fill="#d0d0d0" xml:space="preserve">Routing saved </text>
|
|
124
|
+
<text x="148.8" y="376" fill="#6fcf97" font-weight="700" xml:space="preserve">$5.16 (40%)</text>
|
|
125
|
+
<text x="234.6" y="376" fill="#d0d0d0" xml:space="preserve"> vs your model</text>
|
|
126
|
+
<text x="343.8" y="376" fill="#7c7c7c" xml:space="preserve"> · switch writes $0.23</text>
|
|
127
|
+
<rect x="531.0" y="362" width="70.2" height="18" rx="4" fill="#2e3340"/>
|
|
128
|
+
<text x="531.0" y="376" fill="#d0d0d0" xml:space="preserve">[ Usage ]</text>
|
|
129
|
+
<text x="24.0" y="414" fill="#5fafd7" font-weight="700" xml:space="preserve">SUBAGENTS</text>
|
|
130
|
+
<text x="94.2" y="414" fill="#7c7c7c" xml:space="preserve"> · this session</text>
|
|
131
|
+
<text x="211.2" y="414" fill="#d7af5f" xml:space="preserve"> · ● 1 running</text>
|
|
132
|
+
<rect x="336.0" y="400" width="70.2" height="18" rx="4" fill="#2e3340"/>
|
|
133
|
+
<text x="336.0" y="414" fill="#d0d0d0" xml:space="preserve">[ Usage ]</text>
|
|
134
|
+
<text x="39.6" y="433" fill="#c3e88d" xml:space="preserve">■■</text>
|
|
135
|
+
<text x="55.2" y="433" fill="#c792ea" xml:space="preserve">■</text>
|
|
136
|
+
<text x="63.0" y="433" fill="#c792ea" xml:space="preserve">□□□</text>
|
|
137
|
+
<text x="102.0" y="433" fill="#c3e88d" xml:space="preserve">Haiku 5.5 2</text>
|
|
138
|
+
<text x="187.8" y="433" fill="#7c7c7c" xml:space="preserve"> · </text>
|
|
139
|
+
<text x="211.2" y="433" fill="#c792ea" xml:space="preserve">Opus 5.5 4</text>
|
|
140
|
+
<text x="24.0" y="452" fill="#d0d0d0" xml:space="preserve"> 6 agents</text>
|
|
141
|
+
<text x="102.0" y="452" fill="#7c7c7c" xml:space="preserve"> · </text>
|
|
142
|
+
<text x="125.4" y="452" fill="#d0d0d0" xml:space="preserve">■ 3 moved by the router</text>
|
|
143
|
+
<text x="304.8" y="452" fill="#7c7c7c" xml:space="preserve"> · </text>
|
|
144
|
+
<text x="328.2" y="452" fill="#d0d0d0" xml:space="preserve">□ 3 on Claude Code’s pick</text>
|
|
145
|
+
<text x="24.0" y="471" fill="#d0d0d0" xml:space="preserve"> Routing cost </text>
|
|
146
|
+
<text x="141.0" y="471" fill="#f0b429" xml:space="preserve">$0.08</text>
|
|
147
|
+
<text x="180.0" y="471" fill="#d0d0d0" xml:space="preserve"> more</text>
|
|
148
|
+
<text x="219.0" y="471" fill="#d0d0d0" xml:space="preserve"> (7%)</text>
|
|
149
|
+
<text x="258.0" y="471" fill="#7c7c7c" xml:space="preserve"> on 3 routed agents</text>
|
|
150
|
+
<text x="24.0" y="509" fill="#5fafd7" font-weight="700" xml:space="preserve">WORTH A LOOK</text>
|
|
151
|
+
<text x="117.6" y="509" fill="#7c7c7c" xml:space="preserve"> · today</text>
|
|
152
|
+
<text x="39.6" y="528" fill="#d7875f" font-style="italic" xml:space="preserve">coding</text>
|
|
153
|
+
<text x="86.4" y="528" fill="#7c7c7c" xml:space="preserve"> · </text>
|
|
154
|
+
<text x="109.8" y="528" fill="#e0708a" font-weight="700" xml:space="preserve">high</text>
|
|
155
|
+
<text x="141.0" y="528" fill="#d0d0d0" xml:space="preserve"> carried 61% of the cost</text>
|
|
156
|
+
<text x="328.2" y="528" fill="#7c7c7c" xml:space="preserve"> · mostly Opus 5.5 · xhigh</text>
|
|
157
|
+
<rect x="546.6" y="514" width="78.0" height="18" rx="4" fill="#2e3340"/>
|
|
158
|
+
<text x="546.6" y="528" fill="#d0d0d0" xml:space="preserve">[ Routes ]</text>
|
|
159
|
+
<text x="24.0" y="566" fill="#87d787" xml:space="preserve">Context ██████░░░░░░░░░░ 40% ~402.9K / 1.00M</text>
|
|
160
|
+
<text x="24.0" y="585" fill="#87d787" xml:space="preserve">Cache </text>
|
|
161
|
+
<text x="94.2" y="585" fill="#87d787" xml:space="preserve">100% reused on the last reply</text>
|
|
162
|
+
<text x="320.4" y="585" fill="#7c7c7c" xml:space="preserve"> · </text>
|
|
163
|
+
<text x="359.4" y="585" fill="#d0d0d0" xml:space="preserve">cost $18.003 </text>
|
|
164
|
+
<text x="460.8" y="585" fill="#7c7c7c" xml:space="preserve">by Claude </text>
|
|
165
|
+
<rect x="546.6" y="571" width="85.8" height="18" rx="4" fill="#2e3340"/>
|
|
166
|
+
<text x="546.6" y="585" fill="#d0d0d0" xml:space="preserve">[ details ]</text>
|
|
167
|
+
<rect x="24.0" y="590" width="70.2" height="18" rx="4" fill="#2e3340"/>
|
|
168
|
+
<text x="24.0" y="604" fill="#d0d0d0" xml:space="preserve">[ Close ]</text>
|
|
146
169
|
</svg>
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 657
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 657 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="657" height="
|
|
9
|
-
<rect x="10" y="10" width="637" height="
|
|
8
|
+
<rect width="657" height="553" rx="8" fill="#1c1c1c"/>
|
|
9
|
+
<rect x="10" y="10" width="637" height="533" rx="6" fill="none" stroke="#3f5f8f"/>
|
|
10
10
|
<text x="24.0" y="34" fill="#5fafd7" font-weight="700" xml:space="preserve">ROUTING</text>
|
|
11
11
|
<rect x="94.2" y="20" width="62.4" height="18" rx="4" fill="#87afff"/>
|
|
12
12
|
<text x="94.2" y="34" fill="#0d1016" font-weight="700" xml:space="preserve">[ ◉ on ]</text>
|
|
@@ -27,44 +27,48 @@
|
|
|
27
27
|
<text x="468.6" y="53" fill="#d0d0d0" xml:space="preserve">[ ? ]</text>
|
|
28
28
|
<text x="24.0" y="91" fill="#5fafd7" font-weight="700" xml:space="preserve">POLICY</text>
|
|
29
29
|
<text x="70.8" y="91" fill="#7c7c7c" xml:space="preserve"> · how readily the router changes models · edit, then Save</text>
|
|
30
|
-
<text x="24.0" y="129" fill="#d0d0d0" font-weight="700" xml:space="preserve">
|
|
31
|
-
<text x="125.4" y="129" fill="#d0d0d0" xml:space="preserve">
|
|
32
|
-
<text x="
|
|
33
|
-
<text x="24.0" y="148" fill="#7c7c7c" xml:space="preserve">
|
|
34
|
-
<text x="24.0" y="167" fill="#d0d0d0" font-weight="700" xml:space="preserve">
|
|
35
|
-
<text x="125.4" y="167" fill="#d0d0d0" xml:space="preserve">
|
|
36
|
-
<text x="
|
|
37
|
-
<text x="
|
|
38
|
-
<text x="
|
|
39
|
-
<text x="
|
|
40
|
-
<text x="
|
|
41
|
-
<text x="
|
|
42
|
-
<text x="
|
|
43
|
-
<text x="
|
|
44
|
-
<text x="
|
|
45
|
-
<text x="
|
|
46
|
-
<text x="
|
|
47
|
-
<text x="
|
|
48
|
-
<text x="24.0" y="
|
|
49
|
-
<text x="
|
|
50
|
-
<text x="
|
|
51
|
-
<text x="
|
|
52
|
-
<text x="24.0" y="281" fill="#7c7c7c" xml:space="preserve">
|
|
53
|
-
<
|
|
54
|
-
<text x="
|
|
55
|
-
<text x="
|
|
56
|
-
<text x="
|
|
57
|
-
<rect x="
|
|
58
|
-
<text x="
|
|
59
|
-
<text x="24.0" y="
|
|
60
|
-
<text x="
|
|
61
|
-
<
|
|
62
|
-
<text x="
|
|
63
|
-
<text x="24.0" y="
|
|
64
|
-
<
|
|
65
|
-
<text x="
|
|
66
|
-
<
|
|
67
|
-
<text x="
|
|
68
|
-
<rect x="
|
|
69
|
-
<text x="
|
|
30
|
+
<text x="24.0" y="129" fill="#d0d0d0" font-weight="700" xml:space="preserve">Mode</text>
|
|
31
|
+
<text x="125.4" y="129" fill="#d0d0d0" xml:space="preserve">balanced ▾</text>
|
|
32
|
+
<text x="203.4" y="129" fill="#7c7c7c" xml:space="preserve"> saved at once</text>
|
|
33
|
+
<text x="24.0" y="148" fill="#7c7c7c" xml:space="preserve"> each tier runs its route as configured</text>
|
|
34
|
+
<text x="24.0" y="167" fill="#d0d0d0" font-weight="700" xml:space="preserve">Start</text>
|
|
35
|
+
<text x="125.4" y="167" fill="#d0d0d0" xml:space="preserve">at </text>
|
|
36
|
+
<text x="148.8" y="167" fill="#d0d0d0" xml:space="preserve">low ▾</text>
|
|
37
|
+
<text x="24.0" y="186" fill="#7c7c7c" xml:space="preserve"> when the session’s model is no tier’s model</text>
|
|
38
|
+
<text x="24.0" y="205" fill="#d0d0d0" font-weight="700" xml:space="preserve">Going down</text>
|
|
39
|
+
<text x="125.4" y="205" fill="#d0d0d0" xml:space="preserve">after </text>
|
|
40
|
+
<text x="172.2" y="205" fill="#d0d0d0" xml:space="preserve">3 ▾</text>
|
|
41
|
+
<text x="195.6" y="205" fill="#d0d0d0" xml:space="preserve"> agreeing turns </text>
|
|
42
|
+
<text x="320.4" y="205" fill="#d7af5f" xml:space="preserve">●</text>
|
|
43
|
+
<text x="336.0" y="205" fill="#7c7c7c" xml:space="preserve">default 2</text>
|
|
44
|
+
<text x="125.4" y="224" fill="#d0d0d0" xml:space="preserve">if a cache write pays back within </text>
|
|
45
|
+
<text x="390.6" y="224" fill="#d0d0d0" xml:space="preserve">5 turns ▾</text>
|
|
46
|
+
<text x="24.0" y="243" fill="#d0d0d0" font-weight="700" xml:space="preserve">Going up</text>
|
|
47
|
+
<text x="125.4" y="243" fill="#7c7c7c" xml:space="preserve">needs Jev support of 75%, up to 90% as the switch costs more</text>
|
|
48
|
+
<text x="24.0" y="262" fill="#d0d0d0" font-weight="700" xml:space="preserve">Activities</text>
|
|
49
|
+
<text x="125.4" y="262" fill="#d0d0d0" xml:space="preserve">apply at </text>
|
|
50
|
+
<text x="195.6" y="262" fill="#d0d0d0" xml:space="preserve">60% ▾</text>
|
|
51
|
+
<text x="234.6" y="262" fill="#d0d0d0" xml:space="preserve"> certainty or more </text>
|
|
52
|
+
<text x="24.0" y="281" fill="#7c7c7c" xml:space="preserve"> else a new task runs its tier’s model; a continuation keeps it</text>
|
|
53
|
+
<text x="24.0" y="300" fill="#d0d0d0" font-weight="700" xml:space="preserve">Credits</text>
|
|
54
|
+
<text x="125.4" y="300" fill="#d0d0d0" xml:space="preserve">cap one cold cache write at </text>
|
|
55
|
+
<text x="343.8" y="300" fill="#d0d0d0" xml:space="preserve">$2.00 ▾</text>
|
|
56
|
+
<text x="24.0" y="319" fill="#7c7c7c" xml:space="preserve"> no model in router.json bills credits, so this has no effect</text>
|
|
57
|
+
<rect x="24.0" y="343" width="218.4" height="18" rx="4" fill="#2e3340"/>
|
|
58
|
+
<text x="24.0" y="357" fill="#d0d0d0" xml:space="preserve">[ Reset policy to defaults ]</text>
|
|
59
|
+
<text x="24.0" y="395" fill="#5fafd7" font-weight="700" xml:space="preserve">FILE</text>
|
|
60
|
+
<text x="55.2" y="395" fill="#d0d0d0" xml:space="preserve"> ~/.claude/router.json </text>
|
|
61
|
+
<rect x="250.2" y="381" width="62.4" height="18" rx="4" fill="#2e3340"/>
|
|
62
|
+
<text x="250.2" y="395" fill="#d0d0d0" xml:space="preserve">[ copy ]</text>
|
|
63
|
+
<text x="24.0" y="414" fill="#7c7c7c" xml:space="preserve">Subagents: on. Agents that pin no model get one at spawn, kept for every step.</text>
|
|
64
|
+
<text x="24.0" y="452" fill="#7c7c7c" xml:space="preserve">router.json changes:</text>
|
|
65
|
+
<text x="24.0" y="471" fill="#e06c6c" xml:space="preserve">- policy.downgradeVotes 2</text>
|
|
66
|
+
<text x="24.0" y="490" fill="#87d787" xml:space="preserve">+ policy.downgradeVotes 3</text>
|
|
67
|
+
<text x="24.0" y="509" fill="#d7af5f" xml:space="preserve">● 1 unsaved routing change </text>
|
|
68
|
+
<rect x="242.4" y="495" width="62.4" height="18" rx="4" fill="#87afff"/>
|
|
69
|
+
<text x="242.4" y="509" fill="#0d1016" font-weight="700" xml:space="preserve">[ Save ]</text>
|
|
70
|
+
<rect x="312.6" y="495" width="85.8" height="18" rx="4" fill="#2e3340"/>
|
|
71
|
+
<text x="312.6" y="509" fill="#d0d0d0" xml:space="preserve">[ Discard ]</text>
|
|
72
|
+
<rect x="24.0" y="514" width="70.2" height="18" rx="4" fill="#2e3340"/>
|
|
73
|
+
<text x="24.0" y="528" fill="#d0d0d0" xml:space="preserve">[ Close ]</text>
|
|
70
74
|
</svg>
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 649
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 649 1104" role="img" aria-labelledby="title desc">
|
|
2
2
|
<title id="title">Router pane, Usage tab, What if</title>
|
|
3
3
|
<desc id="desc">This session by tier, with What if: the same tokens on Haiku 5.5, Sonnet 5.5 and Opus 5.5 alone against what routing spent.</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="649" height="
|
|
9
|
-
<rect x="10" y="10" width="629" height="
|
|
8
|
+
<rect width="649" height="1104" rx="8" fill="#1c1c1c"/>
|
|
9
|
+
<rect x="10" y="10" width="629" height="1084" rx="6" fill="none" stroke="#3f5f8f"/>
|
|
10
10
|
<text x="24.0" y="34" fill="#5fafd7" font-weight="700" xml:space="preserve">ROUTING</text>
|
|
11
11
|
<rect x="94.2" y="20" width="62.4" height="18" rx="4" fill="#87afff"/>
|
|
12
12
|
<text x="94.2" y="34" fill="#0d1016" font-weight="700" xml:space="preserve">[ ◉ on ]</text>
|
|
@@ -116,13 +116,76 @@
|
|
|
116
116
|
<text x="328.2" y="604" fill="#7c7c7c" xml:space="preserve"> · mostly Opus 5.5 · xhigh</text>
|
|
117
117
|
<rect x="546.6" y="590" width="78.0" height="18" rx="4" fill="#2e3340"/>
|
|
118
118
|
<text x="546.6" y="604" fill="#d0d0d0" xml:space="preserve">[ Routes ]</text>
|
|
119
|
-
<text x="24.0" y="642" fill="#5fafd7" font-weight="700" xml:space="preserve">SUBAGENTS
|
|
120
|
-
<text x="
|
|
121
|
-
<text x="
|
|
122
|
-
<text x="
|
|
123
|
-
<text x="
|
|
124
|
-
<
|
|
125
|
-
<text x="
|
|
126
|
-
<
|
|
127
|
-
<text x="
|
|
119
|
+
<text x="24.0" y="642" fill="#5fafd7" font-weight="700" xml:space="preserve">SUBAGENTS</text>
|
|
120
|
+
<text x="94.2" y="642" fill="#7c7c7c" xml:space="preserve"> · this session subagent routing on</text>
|
|
121
|
+
<text x="39.6" y="661" fill="#c3e88d" xml:space="preserve">■■■■■</text>
|
|
122
|
+
<text x="78.6" y="661" fill="#f78c6c" xml:space="preserve">■</text>
|
|
123
|
+
<text x="86.4" y="661" fill="#f78c6c" xml:space="preserve">□□</text>
|
|
124
|
+
<text x="102.0" y="661" fill="#c792ea" xml:space="preserve">■■</text>
|
|
125
|
+
<text x="117.6" y="661" fill="#c792ea" xml:space="preserve">□□□□□</text>
|
|
126
|
+
<text x="172.2" y="661" fill="#c3e88d" xml:space="preserve">Haiku 5.5 5</text>
|
|
127
|
+
<text x="258.0" y="661" fill="#7c7c7c" xml:space="preserve"> · </text>
|
|
128
|
+
<text x="281.4" y="661" fill="#f78c6c" xml:space="preserve">Sonnet 5.5 3</text>
|
|
129
|
+
<text x="375.0" y="661" fill="#7c7c7c" xml:space="preserve"> · </text>
|
|
130
|
+
<text x="398.4" y="661" fill="#c792ea" xml:space="preserve">Opus 5.5 7</text>
|
|
131
|
+
<text x="24.0" y="680" fill="#d0d0d0" xml:space="preserve"> 15 agents</text>
|
|
132
|
+
<text x="109.8" y="680" fill="#7c7c7c" xml:space="preserve"> · </text>
|
|
133
|
+
<text x="133.2" y="680" fill="#d0d0d0" xml:space="preserve">■ 8 moved by the router</text>
|
|
134
|
+
<text x="312.6" y="680" fill="#7c7c7c" xml:space="preserve"> · </text>
|
|
135
|
+
<text x="336.0" y="680" fill="#d0d0d0" xml:space="preserve">□ 7 on Claude Code’s pick</text>
|
|
136
|
+
<text x="24.0" y="699" fill="#d0d0d0" xml:space="preserve"> Routing saved </text>
|
|
137
|
+
<text x="148.8" y="699" fill="#6fcf97" xml:space="preserve">$0.51</text>
|
|
138
|
+
<text x="187.8" y="699" fill="#d0d0d0" xml:space="preserve"> (14%)</text>
|
|
139
|
+
<text x="234.6" y="699" fill="#7c7c7c" xml:space="preserve"> on 9 routed agents</text>
|
|
140
|
+
<text x="24.0" y="737" fill="#d0d0d0" font-weight="700" xml:space="preserve"> ROUTED</text>
|
|
141
|
+
<text x="86.4" y="737" fill="#7c7c7c" xml:space="preserve"> · the router picked the model at spawn</text>
|
|
142
|
+
<text x="24.0" y="756" fill="#7c7c7c" xml:space="preserve"> type agents cost vs CC</text>
|
|
143
|
+
<text x="39.6" y="775" fill="#d0d0d0" xml:space="preserve">▸</text>
|
|
144
|
+
<text x="55.2" y="775" fill="#d0d0d0" xml:space="preserve">Explore</text>
|
|
145
|
+
<text x="203.4" y="775" fill="#c3e88d" xml:space="preserve">■■■■</text>
|
|
146
|
+
<text x="297.0" y="775" fill="#d0d0d0" xml:space="preserve"> 4</text>
|
|
147
|
+
<text x="320.4" y="775" fill="#d0d0d0" xml:space="preserve"> $0.18</text>
|
|
148
|
+
<text x="390.6" y="775" fill="#6fcf97" xml:space="preserve"> −$0.72 ▼</text>
|
|
149
|
+
<text x="39.6" y="794" fill="#d0d0d0" xml:space="preserve">▸</text>
|
|
150
|
+
<text x="55.2" y="794" fill="#d0d0d0" xml:space="preserve">dev-flow:reviewer</text>
|
|
151
|
+
<text x="203.4" y="794" fill="#f78c6c" xml:space="preserve">□</text>
|
|
152
|
+
<text x="211.2" y="794" fill="#c792ea" xml:space="preserve">■■</text>
|
|
153
|
+
<text x="297.0" y="794" fill="#d0d0d0" xml:space="preserve"> 3</text>
|
|
154
|
+
<text x="320.4" y="794" fill="#d0d0d0" xml:space="preserve"> $2.50</text>
|
|
155
|
+
<text x="390.6" y="794" fill="#f0b429" xml:space="preserve"> +$0.77 ▲</text>
|
|
156
|
+
<text x="39.6" y="813" fill="#d0d0d0" xml:space="preserve">▸</text>
|
|
157
|
+
<text x="55.2" y="813" fill="#d0d0d0" xml:space="preserve">general-purpose</text>
|
|
158
|
+
<text x="203.4" y="813" fill="#c3e88d" xml:space="preserve">■</text>
|
|
159
|
+
<text x="211.2" y="813" fill="#f78c6c" xml:space="preserve">■</text>
|
|
160
|
+
<text x="297.0" y="813" fill="#d0d0d0" xml:space="preserve"> 2</text>
|
|
161
|
+
<text x="320.4" y="813" fill="#d0d0d0" xml:space="preserve"> $0.47</text>
|
|
162
|
+
<text x="390.6" y="813" fill="#6fcf97" xml:space="preserve"> −$0.56 ▼</text>
|
|
163
|
+
<text x="24.0" y="851" fill="#d0d0d0" font-weight="700" xml:space="preserve"> NOT ROUTED</text>
|
|
164
|
+
<text x="117.6" y="851" fill="#7c7c7c" xml:space="preserve"> · Claude Code picked the model</text>
|
|
165
|
+
<text x="39.6" y="870" fill="#d0d0d0" xml:space="preserve">▸</text>
|
|
166
|
+
<text x="55.2" y="870" fill="#d0d0d0" xml:space="preserve">workflow agent</text>
|
|
167
|
+
<text x="203.4" y="870" fill="#c792ea" xml:space="preserve">□□□□</text>
|
|
168
|
+
<text x="297.0" y="870" fill="#d0d0d0" xml:space="preserve"> 4</text>
|
|
169
|
+
<text x="320.4" y="870" fill="#d0d0d0" xml:space="preserve"> $2.00</text>
|
|
170
|
+
<text x="390.6" y="870" fill="#7c7c7c" xml:space="preserve"> the workflow sets it</text>
|
|
171
|
+
<text x="39.6" y="889" fill="#d0d0d0" xml:space="preserve">▸</text>
|
|
172
|
+
<text x="55.2" y="889" fill="#d0d0d0" xml:space="preserve">fork</text>
|
|
173
|
+
<text x="203.4" y="889" fill="#c792ea" xml:space="preserve">□</text>
|
|
174
|
+
<text x="297.0" y="889" fill="#d0d0d0" xml:space="preserve"> 1</text>
|
|
175
|
+
<text x="320.4" y="889" fill="#d0d0d0" xml:space="preserve"> $0.33</text>
|
|
176
|
+
<text x="390.6" y="889" fill="#7c7c7c" xml:space="preserve"> your model</text>
|
|
177
|
+
<text x="39.6" y="908" fill="#d0d0d0" xml:space="preserve">▸</text>
|
|
178
|
+
<text x="55.2" y="908" fill="#d0d0d0" xml:space="preserve">pinned model</text>
|
|
179
|
+
<text x="203.4" y="908" fill="#f78c6c" xml:space="preserve">□</text>
|
|
180
|
+
<text x="297.0" y="908" fill="#d0d0d0" xml:space="preserve"> 1</text>
|
|
181
|
+
<text x="320.4" y="908" fill="#d0d0d0" xml:space="preserve"> $0.12</text>
|
|
182
|
+
<text x="390.6" y="908" fill="#7c7c7c" xml:space="preserve"> its agent file sets it</text>
|
|
183
|
+
<text x="24.0" y="946" fill="#7c7c7c" xml:space="preserve"> ■ moved by the router · □ Claude Code’s pick · color: the model</text>
|
|
184
|
+
<text x="24.0" y="965" fill="#7c7c7c" xml:space="preserve"> vs CC: the same tokens on Claude Code’s pick, at list prices</text>
|
|
185
|
+
<text x="24.0" y="1003" fill="#7c7c7c" xml:space="preserve"> API list prices · same tokens and output length · not a bill;</text>
|
|
186
|
+
<text x="24.0" y="1022" fill="#7c7c7c" xml:space="preserve"> on a Claude plan it stands for quota · answer quality not measured</text>
|
|
187
|
+
<rect x="24.0" y="1046" width="140.4" height="18" rx="4" fill="#2e3340"/>
|
|
188
|
+
<text x="24.0" y="1060" fill="#7c7c7c" xml:space="preserve">[ Delete history ]</text>
|
|
189
|
+
<rect x="24.0" y="1065" width="70.2" height="18" rx="4" fill="#2e3340"/>
|
|
190
|
+
<text x="24.0" y="1079" fill="#d0d0d0" xml:space="preserve">[ Close ]</text>
|
|
128
191
|
</svg>
|