@alexeiled/claude-router 1.5.0 → 1.6.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 +2 -2
- package/CHANGELOG.md +37 -0
- package/README.md +16 -14
- package/docs/architecture.md +62 -20
- package/docs/configuration.md +86 -32
- package/docs/evaluation.md +52 -1
- package/docs/native-router.md +37 -28
- package/docs/router-band.svg +116 -58
- package/docs/router-pane-classifier.svg +24 -7
- package/docs/router-pane-now.svg +112 -74
- package/docs/router-pane-routing.svg +117 -33
- package/docs/user-guide.md +90 -44
- package/hooks/native-router.mjs +212 -40
- package/lib/activity-stats.mjs +179 -0
- package/lib/activity.mjs +77 -0
- package/lib/band.mjs +71 -28
- package/lib/classifier-apis.mjs +133 -69
- package/lib/classifier-client.mjs +63 -28
- package/lib/classifier-contract.mjs +48 -0
- package/lib/config.mjs +138 -4
- package/lib/cost.mjs +11 -11
- package/lib/display.mjs +92 -4
- package/lib/facts.mjs +48 -0
- package/lib/panel.mjs +297 -37
- package/lib/policy.mjs +45 -26
- package/lib/route.mjs +156 -51
- package/lib/view.mjs +34 -4
- package/package.json +1 -1
- package/types/index.d.ts +72 -1
package/docs/router-pane-now.svg
CHANGED
|
@@ -1,86 +1,124 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 594
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 594 572" role="img" aria-labelledby="title desc">
|
|
2
2
|
<title id="title">Router pane, Now tab</title>
|
|
3
|
-
<desc id="desc">The current route with its reason, classifier support per tier with pin buttons, the last 20 replies colored by tier, and context, cache and cost.</desc>
|
|
3
|
+
<desc id="desc">The current route with its activity and reason, classifier support per tier with pin buttons, the last 20 replies colored by tier and lettered by activity, 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="594" height="
|
|
9
|
-
<rect x="10" y="10" width="574" height="
|
|
10
|
-
<text x="24.0" y="34" fill="#5fafd7" font-weight="700" xml:space="preserve">
|
|
11
|
-
<text x="
|
|
12
|
-
<
|
|
13
|
-
<text x="
|
|
14
|
-
<
|
|
15
|
-
<text x="
|
|
8
|
+
<rect width="594" height="572" rx="8" fill="#1c1c1c"/>
|
|
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 · on</text>
|
|
11
|
+
<text x="141.0" y="34" fill="#87d787" xml:space="preserve">Jev ready · 347 ms</text>
|
|
12
|
+
<rect x="24.0" y="39" width="109.2" height="18" rx="4" fill="#87afff"/>
|
|
13
|
+
<text x="24.0" y="53" fill="#0d1016" font-weight="700" xml:space="preserve">[ Routing on ]</text>
|
|
14
|
+
<rect x="141.0" y="39" width="117.0" height="18" rx="4" fill="#2e3340"/>
|
|
15
|
+
<text x="141.0" y="53" fill="#d0d0d0" xml:space="preserve">[ Routing off ]</text>
|
|
16
|
+
<text x="258.0" y="53" fill="#7c7c7c" xml:space="preserve"> Routing off keeps the /model choice</text>
|
|
17
|
+
<rect x="24.0" y="58" width="54.6" height="18" rx="4" fill="#87afff"/>
|
|
18
|
+
<text x="24.0" y="72" fill="#0d1016" font-weight="700" xml:space="preserve">[ Now ]</text>
|
|
19
|
+
<rect x="86.4" y="58" width="85.8" height="18" rx="4" fill="#2e3340"/>
|
|
16
20
|
<text x="86.4" y="72" fill="#d0d0d0" xml:space="preserve">[ Routing ]</text>
|
|
21
|
+
<rect x="180.0" y="58" width="109.2" height="18" rx="4" fill="#2e3340"/>
|
|
17
22
|
<text x="180.0" y="72" fill="#d0d0d0" xml:space="preserve">[ Classifier ]</text>
|
|
23
|
+
<rect x="297.0" y="58" width="70.2" height="18" rx="4" fill="#2e3340"/>
|
|
18
24
|
<text x="297.0" y="72" fill="#d0d0d0" xml:space="preserve">[ Usage ]</text>
|
|
25
|
+
<rect x="375.0" y="58" width="39.0" height="18" rx="4" fill="#2e3340"/>
|
|
19
26
|
<text x="375.0" y="72" fill="#d0d0d0" xml:space="preserve">[ ? ]</text>
|
|
20
|
-
<text x="24.0" y="110" fill="#d0d0d0" xml:space="preserve">Now
|
|
21
|
-
<text x="
|
|
22
|
-
<text x="
|
|
23
|
-
<text x="24.0" y="129" fill="#d0d0d0" xml:space="preserve">
|
|
24
|
-
<text x="
|
|
25
|
-
<text x="
|
|
26
|
-
<text x="24.0" y="
|
|
27
|
-
<text x="
|
|
28
|
-
<text x="
|
|
29
|
-
<text x="102.0" y="
|
|
30
|
-
<text x="
|
|
31
|
-
<text x="
|
|
32
|
-
<text x="
|
|
33
|
-
<text x="39.6" y="
|
|
34
|
-
<text x="102.0" y="
|
|
35
|
-
<text x="273.6" y="
|
|
36
|
-
<text x="351.6" y="
|
|
37
|
-
<
|
|
38
|
-
<text x="39.6" y="243" fill="#5f9fe0" font-weight="700" xml:space="preserve">low </text>
|
|
39
|
-
<text x="102.0" y="243" fill="#d0d0d0" xml:space="preserve">Haiku 5.5 · high </text>
|
|
40
|
-
<text x="273.6" y="243" fill="#5f9fe0" xml:space="preserve">░░░░░░░░░░</text>
|
|
41
|
-
<text x="351.6" y="243" fill="#d0d0d0" xml:space="preserve"> 3% </text>
|
|
27
|
+
<text x="24.0" y="110" fill="#d0d0d0" xml:space="preserve">Now </text>
|
|
28
|
+
<text x="102.0" y="110" fill="#e0708a" font-weight="700" xml:space="preserve">▌high </text>
|
|
29
|
+
<text x="156.6" y="110" fill="#d0d0d0" xml:space="preserve">Opus 5.5 · xhigh</text>
|
|
30
|
+
<text x="24.0" y="129" fill="#d0d0d0" xml:space="preserve">Activity </text>
|
|
31
|
+
<text x="102.0" y="129" fill="#d0d0d0" xml:space="preserve">code 84%</text>
|
|
32
|
+
<text x="164.4" y="129" fill="#7c7c7c" xml:space="preserve"> debug 8% · plan 5%</text>
|
|
33
|
+
<text x="24.0" y="148" fill="#d0d0d0" xml:space="preserve">Why </text>
|
|
34
|
+
<text x="102.0" y="148" fill="#d0d0d0" xml:space="preserve">clear need for a stronger model</text>
|
|
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 would use Opus 5.5 · xhigh (shadow; same route)</text>
|
|
37
|
+
<text x="24.0" y="205" fill="#5fafd7" font-weight="700" xml:space="preserve">TIERS · next turn</text>
|
|
38
|
+
<text x="24.0" y="224" fill="#7c7c7c" xml:space="preserve"> tier route Jev support</text>
|
|
39
|
+
<text x="24.0" y="243" fill="#e0708a" font-weight="700" xml:space="preserve">▶ </text>
|
|
40
|
+
<text x="39.6" y="243" fill="#e0708a" font-weight="700" xml:space="preserve">high </text>
|
|
41
|
+
<text x="102.0" y="243" fill="#d0d0d0" xml:space="preserve">Opus 5.5 · xhigh </text>
|
|
42
|
+
<text x="273.6" y="243" fill="#e0708a" xml:space="preserve">█████████░</text>
|
|
43
|
+
<text x="351.6" y="243" fill="#d0d0d0" xml:space="preserve"> 88% </text>
|
|
44
|
+
<rect x="406.2" y="229" width="54.6" height="18" rx="4" fill="#2e3340"/>
|
|
42
45
|
<text x="406.2" y="243" fill="#d0d0d0" xml:space="preserve">[ pin ]</text>
|
|
43
|
-
<text x="39.6" y="262" fill="#
|
|
44
|
-
<text x="102.0" y="262" fill="#d0d0d0" xml:space="preserve">
|
|
45
|
-
<text x="273.6" y="262" fill="#
|
|
46
|
-
<text x="351.6" y="262" fill="#d0d0d0" xml:space="preserve">
|
|
46
|
+
<text x="39.6" y="262" fill="#d7af5f" font-weight="700" xml:space="preserve">medium </text>
|
|
47
|
+
<text x="102.0" y="262" fill="#d0d0d0" xml:space="preserve">Opus 5.5 · medium </text>
|
|
48
|
+
<text x="273.6" y="262" fill="#d7af5f" xml:space="preserve">█░░░░░░░░░</text>
|
|
49
|
+
<text x="351.6" y="262" fill="#d0d0d0" xml:space="preserve"> 7% </text>
|
|
50
|
+
<rect x="406.2" y="248" width="54.6" height="18" rx="4" fill="#2e3340"/>
|
|
47
51
|
<text x="406.2" y="262" fill="#d0d0d0" xml:space="preserve">[ pin ]</text>
|
|
48
|
-
<text x="
|
|
49
|
-
<text x="
|
|
50
|
-
<text x="
|
|
51
|
-
<text x="
|
|
52
|
-
<
|
|
53
|
-
<text x="
|
|
54
|
-
<text x="
|
|
55
|
-
<text x="
|
|
56
|
-
<text x="
|
|
57
|
-
<text x="
|
|
58
|
-
<
|
|
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="
|
|
52
|
+
<text x="39.6" y="281" fill="#5f9fe0" font-weight="700" xml:space="preserve">low </text>
|
|
53
|
+
<text x="102.0" y="281" fill="#d0d0d0" xml:space="preserve">Haiku 5.5 · high </text>
|
|
54
|
+
<text x="273.6" y="281" fill="#5f9fe0" xml:space="preserve">░░░░░░░░░░</text>
|
|
55
|
+
<text x="351.6" y="281" fill="#d0d0d0" xml:space="preserve"> 3% </text>
|
|
56
|
+
<rect x="406.2" y="267" width="54.6" height="18" rx="4" fill="#2e3340"/>
|
|
57
|
+
<text x="406.2" y="281" fill="#d0d0d0" xml:space="preserve">[ pin ]</text>
|
|
58
|
+
<text x="39.6" y="300" fill="#5fd7af" font-weight="700" xml:space="preserve">micro </text>
|
|
59
|
+
<text x="102.0" y="300" fill="#d0d0d0" xml:space="preserve">Haiku 5.5 · medium </text>
|
|
60
|
+
<text x="273.6" y="300" fill="#5fd7af" xml:space="preserve">░░░░░░░░░░</text>
|
|
61
|
+
<text x="351.6" y="300" fill="#d0d0d0" xml:space="preserve"> 2% </text>
|
|
62
|
+
<rect x="406.2" y="286" width="54.6" height="18" rx="4" fill="#2e3340"/>
|
|
63
|
+
<text x="406.2" y="300" fill="#d0d0d0" xml:space="preserve">[ pin ]</text>
|
|
64
|
+
<text x="24.0" y="319" fill="#7c7c7c" xml:space="preserve"> switch needs 82% · Jev gave 88% up · tax ≈ $0.48</text>
|
|
65
|
+
<text x="24.0" y="338" fill="#7c7c7c" xml:space="preserve"> Pins serve the next turn only.</text>
|
|
66
|
+
<text x="24.0" y="376" fill="#5fafd7" font-weight="700" xml:space="preserve">REPLIES · last 20</text>
|
|
67
|
+
<text x="39.6" y="395" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
68
|
+
<text x="47.4" y="395" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
69
|
+
<text x="55.2" y="395" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
70
|
+
<text x="63.0" y="395" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
71
|
+
<text x="70.8" y="395" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
72
|
+
<text x="78.6" y="395" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
73
|
+
<text x="86.4" y="395" fill="#d7af5f" font-weight="700" xml:space="preserve">█</text>
|
|
74
|
+
<text x="94.2" y="395" fill="#d7af5f" font-weight="700" xml:space="preserve">█</text>
|
|
75
|
+
<text x="102.0" y="395" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
76
|
+
<text x="109.8" y="395" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
77
|
+
<text x="117.6" y="395" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
78
|
+
<text x="125.4" y="395" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
|
|
79
|
+
<text x="133.2" y="395" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
|
|
80
|
+
<text x="141.0" y="395" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
|
|
81
|
+
<text x="148.8" y="395" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
|
|
82
|
+
<text x="156.6" y="395" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
|
|
83
|
+
<text x="164.4" y="395" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
|
|
84
|
+
<text x="172.2" y="395" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
|
|
85
|
+
<text x="180.0" y="395" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
|
|
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"> 3 switches</text>
|
|
88
|
+
<text x="39.6" y="414" fill="#d0d0d0" xml:space="preserve">e</text>
|
|
89
|
+
<text x="47.4" y="414" fill="#d0d0d0" xml:space="preserve">e</text>
|
|
90
|
+
<text x="55.2" y="414" fill="#d0d0d0" xml:space="preserve">c</text>
|
|
91
|
+
<text x="63.0" y="414" fill="#d0d0d0" xml:space="preserve">c</text>
|
|
92
|
+
<text x="70.8" y="414" fill="#d0d0d0" xml:space="preserve">o</text>
|
|
93
|
+
<text x="78.6" y="414" fill="#d0d0d0" xml:space="preserve">o</text>
|
|
94
|
+
<text x="86.4" y="414" fill="#d0d0d0" xml:space="preserve">c</text>
|
|
95
|
+
<text x="94.2" y="414" fill="#d0d0d0" xml:space="preserve">c</text>
|
|
96
|
+
<text x="102.0" y="414" fill="#d0d0d0" xml:space="preserve">e</text>
|
|
97
|
+
<text x="109.8" y="414" fill="#d0d0d0" xml:space="preserve">e</text>
|
|
98
|
+
<text x="117.6" y="414" fill="#d0d0d0" xml:space="preserve">p</text>
|
|
99
|
+
<text x="125.4" y="414" fill="#d0d0d0" xml:space="preserve">p</text>
|
|
100
|
+
<text x="133.2" y="414" fill="#d0d0d0" xml:space="preserve">c</text>
|
|
101
|
+
<text x="141.0" y="414" fill="#d0d0d0" xml:space="preserve">c</text>
|
|
102
|
+
<text x="148.8" y="414" fill="#d0d0d0" xml:space="preserve">c</text>
|
|
103
|
+
<text x="156.6" y="414" fill="#d0d0d0" xml:space="preserve">c</text>
|
|
104
|
+
<text x="164.4" y="414" fill="#d0d0d0" xml:space="preserve">c</text>
|
|
105
|
+
<text x="172.2" y="414" fill="#d0d0d0" xml:space="preserve">c</text>
|
|
106
|
+
<text x="180.0" y="414" fill="#d0d0d0" xml:space="preserve">c</text>
|
|
107
|
+
<text x="187.8" y="414" fill="#d0d0d0" xml:space="preserve">c</text>
|
|
108
|
+
<text x="39.6" y="433" fill="#5fd7af" font-weight="700" xml:space="preserve">■ </text>
|
|
109
|
+
<text x="55.2" y="433" fill="#d0d0d0" xml:space="preserve">micro </text>
|
|
110
|
+
<text x="109.8" y="433" fill="#5f9fe0" font-weight="700" xml:space="preserve">■ </text>
|
|
111
|
+
<text x="125.4" y="433" fill="#d0d0d0" xml:space="preserve">low </text>
|
|
112
|
+
<text x="164.4" y="433" fill="#d7af5f" font-weight="700" xml:space="preserve">■ </text>
|
|
113
|
+
<text x="180.0" y="433" fill="#d0d0d0" xml:space="preserve">medium </text>
|
|
114
|
+
<text x="242.4" y="433" fill="#e0708a" font-weight="700" xml:space="preserve">■ </text>
|
|
115
|
+
<text x="258.0" y="433" fill="#d0d0d0" xml:space="preserve">high </text>
|
|
116
|
+
<text x="24.0" y="452" fill="#7c7c7c" xml:space="preserve"> c code d debug e explore p plan r review o ops w docs</text>
|
|
117
|
+
<text x="24.0" y="490" fill="#87d787" xml:space="preserve">Context ██████░░░░░░░░░░ 40% ~402.9K / 1.00M</text>
|
|
118
|
+
<text x="24.0" y="509" fill="#87d787" xml:space="preserve">Cache ████████████████ 100% reused on the last reply</text>
|
|
119
|
+
<text x="24.0" y="528" fill="#d0d0d0" xml:space="preserve">Cost $18.003 </text>
|
|
120
|
+
<text x="156.6" y="528" fill="#7c7c7c" xml:space="preserve">by Claude</text>
|
|
121
|
+
<text x="226.8" y="528" fill="#d0d0d0" xml:space="preserve"> · cache saved ≈ $1.52</text>
|
|
122
|
+
<rect x="24.0" y="533" width="70.2" height="18" rx="4" fill="#2e3340"/>
|
|
123
|
+
<text x="24.0" y="547" fill="#d0d0d0" xml:space="preserve">[ Close ]</text>
|
|
86
124
|
</svg>
|
|
@@ -1,21 +1,28 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 813 1123" role="img" aria-labelledby="title desc">
|
|
2
2
|
<title id="title">Router pane, Routing tab</title>
|
|
3
|
-
<desc id="desc">Model and effort per tier with prices and windows, the baseline tier, how the policy prices each step up, the policy controls, and the unsaved router.json
|
|
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">
|
|
11
|
-
<text x="
|
|
12
|
-
<
|
|
13
|
-
<text x="
|
|
14
|
-
<
|
|
8
|
+
<rect width="813" height="1123" rx="8" fill="#1c1c1c"/>
|
|
9
|
+
<rect x="10" y="10" width="793" height="1103" rx="6" fill="none" stroke="#3f5f8f"/>
|
|
10
|
+
<text x="24.0" y="34" fill="#5fafd7" font-weight="700" xml:space="preserve">ROUTING · on</text>
|
|
11
|
+
<text x="141.0" y="34" fill="#87d787" xml:space="preserve">Jev ready · 347 ms</text>
|
|
12
|
+
<rect x="24.0" y="39" width="109.2" height="18" rx="4" fill="#87afff"/>
|
|
13
|
+
<text x="24.0" y="53" fill="#0d1016" font-weight="700" xml:space="preserve">[ Routing on ]</text>
|
|
14
|
+
<rect x="141.0" y="39" width="117.0" height="18" rx="4" fill="#2e3340"/>
|
|
15
|
+
<text x="141.0" y="53" fill="#d0d0d0" xml:space="preserve">[ Routing off ]</text>
|
|
16
|
+
<text x="258.0" y="53" fill="#7c7c7c" xml:space="preserve"> Routing off keeps the /model choice</text>
|
|
17
|
+
<rect x="24.0" y="58" width="54.6" height="18" rx="4" fill="#2e3340"/>
|
|
15
18
|
<text x="24.0" y="72" fill="#d0d0d0" xml:space="preserve">[ Now ]</text>
|
|
16
|
-
<
|
|
19
|
+
<rect x="86.4" y="58" width="101.4" height="18" rx="4" fill="#87afff"/>
|
|
20
|
+
<text x="86.4" y="72" fill="#0d1016" font-weight="700" xml:space="preserve">[ Routing ● ]</text>
|
|
21
|
+
<rect x="195.6" y="58" width="109.2" height="18" rx="4" fill="#2e3340"/>
|
|
17
22
|
<text x="195.6" y="72" fill="#d0d0d0" xml:space="preserve">[ Classifier ]</text>
|
|
23
|
+
<rect x="312.6" y="58" width="70.2" height="18" rx="4" fill="#2e3340"/>
|
|
18
24
|
<text x="312.6" y="72" fill="#d0d0d0" xml:space="preserve">[ Usage ]</text>
|
|
25
|
+
<rect x="390.6" y="58" width="39.0" height="18" rx="4" fill="#2e3340"/>
|
|
19
26
|
<text x="390.6" y="72" fill="#d0d0d0" xml:space="preserve">[ ? ]</text>
|
|
20
27
|
<text x="24.0" y="110" fill="#5fafd7" font-weight="700" xml:space="preserve">ROUTES</text>
|
|
21
28
|
<text x="70.8" y="110" fill="#7c7c7c" xml:space="preserve"> · applies next turn · edit, then Save</text>
|
|
@@ -53,29 +60,106 @@
|
|
|
53
60
|
<text x="24.0" y="319" fill="#7c7c7c" xml:space="preserve">· </text>
|
|
54
61
|
<text x="39.6" y="319" fill="#d0d0d0" xml:space="preserve">micro → low </text>
|
|
55
62
|
<text x="164.4" y="319" fill="#d0d0d0" xml:space="preserve">same model, new effort: priced as a new cache</text>
|
|
63
|
+
<rect x="24.0" y="324" width="218.4" height="18" rx="4" fill="#2e3340"/>
|
|
56
64
|
<text x="24.0" y="338" fill="#d0d0d0" xml:space="preserve">[ Reset routes to defaults ]</text>
|
|
57
65
|
<text x="24.0" y="357" fill="#7c7c7c" xml:space="preserve">A new model ID needs router.json → models: price, window, efforts.</text>
|
|
58
|
-
<text x="24.0" y="395" fill="#5fafd7" font-weight="700" xml:space="preserve">
|
|
59
|
-
<text x="
|
|
60
|
-
<text x="24.0" y="414" fill="#d0d0d0" xml:space="preserve">
|
|
61
|
-
<text x="
|
|
62
|
-
<text x="
|
|
63
|
-
<text x="24.0" y="
|
|
64
|
-
<text x="
|
|
65
|
-
<text x="
|
|
66
|
-
<text x="24.0" y="
|
|
67
|
-
<text x="
|
|
68
|
-
<text x="
|
|
69
|
-
<text x="
|
|
70
|
-
<text x="24.0" y="
|
|
71
|
-
<text x="
|
|
72
|
-
<text x="
|
|
73
|
-
<text x="
|
|
74
|
-
<
|
|
75
|
-
<text x="
|
|
76
|
-
<text x="24.0" y="
|
|
77
|
-
<text x="
|
|
78
|
-
<text x="
|
|
79
|
-
<text x="
|
|
80
|
-
<text x="
|
|
66
|
+
<text x="24.0" y="395" fill="#5fafd7" font-weight="700" xml:space="preserve">ACTIVITIES · routing shadow</text>
|
|
67
|
+
<text x="273.6" y="395" fill="#7c7c7c" xml:space="preserve">micro low medium high </text>
|
|
68
|
+
<text x="24.0" y="414" fill="#d0d0d0" xml:space="preserve"> base H·med H·high S·xh O·xh </text>
|
|
69
|
+
<text x="24.0" y="433" fill="#d0d0d0" xml:space="preserve"> code · S·med · O·max </text>
|
|
70
|
+
<text x="24.0" y="452" fill="#d0d0d0" xml:space="preserve"> debug plan review · S·med · · </text>
|
|
71
|
+
<text x="24.0" y="471" fill="#d0d0d0" xml:space="preserve"> explore ops · · S·med · </text>
|
|
72
|
+
<text x="24.0" y="490" fill="#d0d0d0" xml:space="preserve"> docs · S·med S·med · </text>
|
|
73
|
+
<text x="24.0" y="509" fill="#7c7c7c" xml:space="preserve"> 6 distinct routes = 6 caches once activity routing is on</text>
|
|
74
|
+
<text x="24.0" y="547" fill="#5fafd7" font-weight="700" xml:space="preserve">OVERRIDES</text>
|
|
75
|
+
<text x="94.2" y="547" fill="#7c7c7c" xml:space="preserve"> · applies next turn · edit, then Save</text>
|
|
76
|
+
<text x="24.0" y="566" fill="#d0d0d0" xml:space="preserve">Activity routing: shadow ▾</text>
|
|
77
|
+
<text x="242.4" y="566" fill="#7c7c7c" xml:space="preserve">asks and shows what on would do; tier routes run</text>
|
|
78
|
+
<text x="24.0" y="585" fill="#d0d0d0" xml:space="preserve">code</text>
|
|
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>
|
|
84
|
+
<text x="24.0" y="604" fill="#d0d0d0" xml:space="preserve">code</text>
|
|
85
|
+
<text x="102.0" y="604" fill="#e0708a" font-weight="700" xml:space="preserve">high</text>
|
|
86
|
+
<text x="164.4" y="604" fill="#d0d0d0" xml:space="preserve">Opus 5.5 ▾</text>
|
|
87
|
+
<text x="273.6" y="604" fill="#d0d0d0" xml:space="preserve">max ▾</text>
|
|
88
|
+
<text x="367.2" y="604" fill="#d7af5f" xml:space="preserve">●</text>
|
|
89
|
+
<rect x="382.8" y="590" width="78.0" height="18" rx="4" fill="#2e3340"/>
|
|
90
|
+
<text x="382.8" y="604" fill="#d0d0d0" xml:space="preserve">[ remove ]</text>
|
|
91
|
+
<text x="460.8" y="604" fill="#d7af5f" xml:space="preserve"> new (model, effort) pair: one more cache</text>
|
|
92
|
+
<text x="24.0" y="623" fill="#d0d0d0" xml:space="preserve">debug</text>
|
|
93
|
+
<text x="102.0" y="623" fill="#5f9fe0" font-weight="700" xml:space="preserve">low</text>
|
|
94
|
+
<text x="164.4" y="623" fill="#d0d0d0" xml:space="preserve">Sonnet 5.5 ▾</text>
|
|
95
|
+
<text x="273.6" y="623" fill="#d0d0d0" xml:space="preserve">medium ▾</text>
|
|
96
|
+
<rect x="382.8" y="609" width="78.0" height="18" rx="4" fill="#2e3340"/>
|
|
97
|
+
<text x="382.8" y="623" fill="#d0d0d0" xml:space="preserve">[ remove ]</text>
|
|
98
|
+
<text x="24.0" y="642" fill="#d0d0d0" xml:space="preserve">explore</text>
|
|
99
|
+
<text x="102.0" y="642" fill="#d7af5f" font-weight="700" xml:space="preserve">medium</text>
|
|
100
|
+
<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">medium ▾</text>
|
|
102
|
+
<rect x="382.8" y="628" width="78.0" height="18" rx="4" fill="#2e3340"/>
|
|
103
|
+
<text x="382.8" y="642" fill="#d0d0d0" xml:space="preserve">[ remove ]</text>
|
|
104
|
+
<text x="24.0" y="661" fill="#d0d0d0" xml:space="preserve">plan</text>
|
|
105
|
+
<text x="102.0" y="661" fill="#5f9fe0" font-weight="700" xml:space="preserve">low</text>
|
|
106
|
+
<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">medium ▾</text>
|
|
108
|
+
<rect x="382.8" y="647" width="78.0" height="18" rx="4" fill="#2e3340"/>
|
|
109
|
+
<text x="382.8" y="661" fill="#d0d0d0" xml:space="preserve">[ remove ]</text>
|
|
110
|
+
<text x="24.0" y="680" fill="#d0d0d0" xml:space="preserve">review</text>
|
|
111
|
+
<text x="102.0" y="680" fill="#5f9fe0" font-weight="700" xml:space="preserve">low</text>
|
|
112
|
+
<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">medium ▾</text>
|
|
114
|
+
<rect x="382.8" y="666" width="78.0" height="18" rx="4" fill="#2e3340"/>
|
|
115
|
+
<text x="382.8" y="680" fill="#d0d0d0" xml:space="preserve">[ remove ]</text>
|
|
116
|
+
<text x="24.0" y="699" fill="#d0d0d0" xml:space="preserve">ops</text>
|
|
117
|
+
<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">Sonnet 5.5 ▾</text>
|
|
119
|
+
<text x="273.6" y="699" fill="#d0d0d0" xml:space="preserve">medium ▾</text>
|
|
120
|
+
<rect x="382.8" y="685" width="78.0" height="18" rx="4" fill="#2e3340"/>
|
|
121
|
+
<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">docs</text>
|
|
123
|
+
<text x="102.0" y="718" fill="#5f9fe0" font-weight="700" xml:space="preserve">low</text>
|
|
124
|
+
<text x="164.4" y="718" fill="#d0d0d0" xml:space="preserve">Sonnet 5.5 ▾</text>
|
|
125
|
+
<text x="273.6" y="718" fill="#d0d0d0" xml:space="preserve">medium ▾</text>
|
|
126
|
+
<rect x="382.8" y="704" width="78.0" height="18" rx="4" fill="#2e3340"/>
|
|
127
|
+
<text x="382.8" y="718" fill="#d0d0d0" xml:space="preserve">[ remove ]</text>
|
|
128
|
+
<text x="24.0" y="737" fill="#d0d0d0" xml:space="preserve">docs</text>
|
|
129
|
+
<text x="102.0" y="737" fill="#d7af5f" font-weight="700" xml:space="preserve">medium</text>
|
|
130
|
+
<text x="164.4" y="737" fill="#d0d0d0" xml:space="preserve">Sonnet 5.5 ▾</text>
|
|
131
|
+
<text x="273.6" y="737" fill="#d0d0d0" xml:space="preserve">medium ▾</text>
|
|
132
|
+
<rect x="382.8" y="723" width="78.0" height="18" rx="4" fill="#2e3340"/>
|
|
133
|
+
<text x="382.8" y="737" fill="#d0d0d0" xml:space="preserve">[ remove ]</text>
|
|
134
|
+
<text x="24.0" y="756" fill="#d0d0d0" xml:space="preserve">add an override… ▾</text>
|
|
135
|
+
<text x="24.0" y="794" fill="#5fafd7" font-weight="700" xml:space="preserve">POLICY</text>
|
|
136
|
+
<text x="70.8" y="794" fill="#7c7c7c" xml:space="preserve"> · applies next turn · edit, then Save</text>
|
|
137
|
+
<text x="24.0" y="813" fill="#d0d0d0" xml:space="preserve">Votes to go down</text>
|
|
138
|
+
<text x="180.0" y="813" fill="#d0d0d0" xml:space="preserve">2 ▾</text>
|
|
139
|
+
<text x="289.2" y="813" fill="#7c7c7c" xml:space="preserve">agreeing turns before cheaper</text>
|
|
140
|
+
<text x="24.0" y="832" fill="#d0d0d0" xml:space="preserve">Payback horizon</text>
|
|
141
|
+
<text x="180.0" y="832" fill="#d0d0d0" xml:space="preserve">5 turns ▾</text>
|
|
142
|
+
<text x="289.2" y="832" fill="#7c7c7c" xml:space="preserve">a switch repays its cache</text>
|
|
143
|
+
<text x="24.0" y="851" fill="#d0d0d0" xml:space="preserve">Credits cap</text>
|
|
144
|
+
<text x="180.0" y="851" fill="#d0d0d0" xml:space="preserve">$2.00 ▾</text>
|
|
145
|
+
<text x="289.2" y="851" fill="#7c7c7c" xml:space="preserve">max cold write on credits</text>
|
|
146
|
+
<rect x="24.0" y="856" width="218.4" height="18" rx="4" fill="#2e3340"/>
|
|
147
|
+
<text x="24.0" y="870" fill="#d0d0d0" xml:space="preserve">[ Reset policy to defaults ]</text>
|
|
148
|
+
<text x="24.0" y="908" fill="#5fafd7" font-weight="700" xml:space="preserve">CONFIG</text>
|
|
149
|
+
<text x="24.0" y="927" fill="#d0d0d0" xml:space="preserve">File ~/.claude/router.json </text>
|
|
150
|
+
<rect x="273.6" y="913" width="62.4" height="18" rx="4" fill="#2e3340"/>
|
|
151
|
+
<text x="273.6" y="927" fill="#d0d0d0" xml:space="preserve">[ copy ]</text>
|
|
152
|
+
<text x="24.0" y="946" fill="#7c7c7c" xml:space="preserve">Main conversation only. Subagents keep their own model.</text>
|
|
153
|
+
<text x="24.0" y="984" fill="#7c7c7c" xml:space="preserve">router.json changes:</text>
|
|
154
|
+
<text x="24.0" y="1003" fill="#e06c6c" xml:space="preserve">- routes.medium Opus 5.5 · medium</text>
|
|
155
|
+
<text x="24.0" y="1022" fill="#87d787" xml:space="preserve">+ routes.medium Sonnet 5.5 · xhigh</text>
|
|
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>
|
|
81
165
|
</svg>
|