@alexeiled/claude-router 1.24.0 → 1.25.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/CHANGELOG.md +74 -0
  3. package/README.md +55 -7
  4. package/docs/architecture.md +30 -4
  5. package/docs/configuration.md +23 -14
  6. package/docs/evaluation.md +3 -3
  7. package/docs/native-router.md +12 -4
  8. package/docs/router-band.svg +140 -142
  9. package/docs/router-pane-classifier.svg +48 -31
  10. package/docs/router-pane-now.svg +162 -120
  11. package/docs/router-pane-policy.svg +79 -47
  12. package/docs/router-pane-routes.svg +8 -8
  13. package/docs/router-pane-usage-whatif.svg +14 -14
  14. package/docs/router-pane-usage.svg +20 -20
  15. package/docs/routing-modes.md +10 -8
  16. package/docs/user-guide.md +151 -22
  17. package/hooks/native-router.mjs +415 -88
  18. package/lib/activity-stats.mjs +23 -4
  19. package/lib/activity.mjs +7 -5
  20. package/lib/auto-engine.mjs +13 -6
  21. package/lib/auto-route.mjs +10 -4
  22. package/lib/band.mjs +35 -440
  23. package/lib/classifier-client.mjs +12 -8
  24. package/lib/config-file.mjs +7 -2
  25. package/lib/config.mjs +24 -9
  26. package/lib/cost.mjs +5 -1
  27. package/lib/costs.mjs +4 -2
  28. package/lib/decisions.mjs +13 -9
  29. package/lib/display.mjs +71 -20
  30. package/lib/facts.mjs +3 -0
  31. package/lib/failover.mjs +55 -0
  32. package/lib/modes.mjs +8 -4
  33. package/lib/panel.mjs +75 -2167
  34. package/lib/policy.mjs +7 -6
  35. package/lib/replay-trace.mjs +5 -2
  36. package/lib/replay.mjs +7 -1
  37. package/lib/route-line.mjs +46 -0
  38. package/lib/route.mjs +51 -32
  39. package/lib/savings.mjs +14 -3
  40. package/lib/subagents.mjs +41 -11
  41. package/lib/subcommands.mjs +60 -0
  42. package/lib/ui/fallback.mjs +22 -0
  43. package/lib/ui/graphical/band.mjs +256 -0
  44. package/lib/ui/graphical/charts.mjs +163 -0
  45. package/lib/ui/graphical/classifier.mjs +153 -0
  46. package/lib/ui/graphical/frame.mjs +231 -0
  47. package/lib/ui/graphical/kit.mjs +156 -0
  48. package/lib/ui/graphical/meter.mjs +25 -0
  49. package/lib/ui/graphical/now.mjs +357 -0
  50. package/lib/ui/graphical/policy.mjs +56 -0
  51. package/lib/ui/graphical/routes.mjs +264 -0
  52. package/lib/ui/graphical/squares.mjs +29 -0
  53. package/lib/ui/graphical/usage.mjs +376 -0
  54. package/lib/ui/model/band.mjs +441 -0
  55. package/lib/ui/model/classifier.mjs +308 -0
  56. package/lib/ui/model/draft.mjs +62 -0
  57. package/lib/ui/model/format.mjs +41 -0
  58. package/lib/ui/model/frame.mjs +359 -0
  59. package/lib/ui/model/now.mjs +421 -0
  60. package/lib/ui/model/policy.mjs +194 -0
  61. package/lib/ui/model/routes.mjs +392 -0
  62. package/lib/ui/model/usage-agents.mjs +311 -0
  63. package/lib/ui/model/usage-breakdown.mjs +237 -0
  64. package/lib/ui/model/usage-shared.mjs +58 -0
  65. package/lib/ui/model/usage.mjs +330 -0
  66. package/lib/ui/terminal/band.mjs +253 -0
  67. package/lib/ui/terminal/classifier.mjs +150 -0
  68. package/lib/ui/terminal/frame.mjs +169 -0
  69. package/lib/ui/terminal/kit.mjs +162 -0
  70. package/lib/ui/terminal/now.mjs +293 -0
  71. package/lib/ui/terminal/policy.mjs +55 -0
  72. package/lib/ui/terminal/routes.mjs +167 -0
  73. package/lib/ui/terminal/usage.mjs +363 -0
  74. package/lib/ui/terminal/wrap.mjs +37 -0
  75. package/lib/ui/tokens.mjs +106 -0
  76. package/lib/usage.mjs +5 -5
  77. package/lib/view.mjs +5 -2
  78. package/package.json +4 -2
  79. package/types/index.d.ts +17 -0
@@ -1,12 +1,12 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 602 496" role="img" aria-labelledby="title desc">
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 one pin per tier, low to high, with its support. 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>
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="602" height="496" rx="8" fill="#1c1c1c"/>
9
- <rect x="10" y="10" width="582" height="476" rx="6" fill="none" stroke="#3f5f8f"/>
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,120 +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
- <text x="24.0" y="91" fill="#5fafd7" font-weight="700" xml:space="preserve">NEXT TURN</text>
29
- <text x="39.6" y="110" fill="#e0708a" xml:space="preserve">▂▄▆█</text>
30
- <text x="86.4" y="110" fill="#d0d0d0" font-weight="700" xml:space="preserve">Opus 5.5 · xhigh</text>
31
- <text x="234.6" y="110" fill="#d7875f" font-style="italic" xml:space="preserve">code</text>
32
- <text x="265.8" y="110" fill="#d0d0d0" xml:space="preserve"> 84%</text>
33
- <text x="297.0" y="110" fill="#7c7c7c" xml:space="preserve"> debug 8%</text>
34
- <text x="24.0" y="129" fill="#7c7c7c" xml:space="preserve"> why </text>
35
- <text x="86.4" y="129" fill="#d0d0d0" xml:space="preserve">↑ clearly stronger</text>
36
- <text x="226.8" y="129" fill="#7c7c7c" xml:space="preserve"> Jev 88% ≥ 82% · switch ≈ $0.48</text>
37
- <text x="24.0" y="148" fill="#7c7c7c" xml:space="preserve"> pin </text>
38
- <rect x="86.4" y="134" width="163.8" height="18" rx="4" fill="#2e3340"/>
39
- <text x="86.4" y="148" fill="#d0d0d0" xml:space="preserve">[ ▂ Haiku·medium 2% ]</text>
40
- <rect x="258.0" y="134" width="156.0" height="18" rx="4" fill="#2e3340"/>
41
- <text x="258.0" y="148" fill="#d0d0d0" xml:space="preserve">[ ▂▄ Haiku·high 3% ]</text>
42
- <rect x="86.4" y="153" width="171.6" height="18" rx="4" fill="#2e3340"/>
43
- <text x="86.4" y="167" fill="#d0d0d0" xml:space="preserve">[ ▂▄▆ Opus·medium 7% ]</text>
44
- <rect x="265.8" y="153" width="195.0" height="18" rx="4" fill="#2e3340"/>
45
- <text x="265.8" y="167" fill="#d0d0d0" xml:space="preserve">[ ▶ ▂▄▆█ Opus·xhigh 88% ]</text>
46
- <text x="24.0" y="205" fill="#5fafd7" font-weight="700" xml:space="preserve">PLAN</text>
47
- <text x="55.2" y="205" fill="#7c7c7c" xml:space="preserve"> Claude plan usage</text>
48
- <text x="24.0" y="224" fill="#d0d0d0" xml:space="preserve"> 5h </text>
49
- <text x="86.4" y="224" fill="#87d787" xml:space="preserve">▰▰▰▰▰▰▰▰▰▰</text>
50
- <text x="164.4" y="224" fill="#7c7c7c" xml:space="preserve">▱▱▱▱▱▱▱▱▱▱</text>
51
- <text x="242.4" y="224" fill="#87d787" xml:space="preserve"> 48%</text>
52
- <text x="281.4" y="224" fill="#7c7c7c" xml:space="preserve"> resets 18:00</text>
53
- <text x="24.0" y="243" fill="#d0d0d0" xml:space="preserve"> 7d </text>
54
- <text x="86.4" y="243" fill="#87d787" xml:space="preserve">▰▰▰▰▰▰▰▰▰</text>
55
- <text x="156.6" y="243" fill="#7c7c7c" xml:space="preserve">▱▱▱▱▱▱▱▱▱▱▱</text>
56
- <text x="242.4" y="243" fill="#87d787" xml:space="preserve"> 43%</text>
57
- <text x="281.4" y="243" fill="#7c7c7c" xml:space="preserve"> resets Fri 16:00</text>
58
- <text x="24.0" y="281" fill="#5fafd7" font-weight="700" xml:space="preserve">SESSION</text>
59
- <text x="78.6" y="281" fill="#7c7c7c" xml:space="preserve"> since 14:18 · 86 replies · 6 agents · 9 switches</text>
60
- <text x="468.6" y="281" fill="#d7af5f" xml:space="preserve"> ● 1 running</text>
61
- <text x="39.6" y="300" fill="#d0d0d0" font-weight="700" xml:space="preserve">≈$8.97</text>
62
- <text x="86.4" y="300" fill="#7c7c7c" xml:space="preserve"> API estimate · plan quota, not a charge </text>
63
- <rect x="421.8" y="286" width="70.2" height="18" rx="4" fill="#2e3340"/>
64
- <text x="421.8" y="300" fill="#d0d0d0" xml:space="preserve">[ Usage ]</text>
65
- <text x="39.6" y="319" fill="#6fcf97" font-weight="700" xml:space="preserve">−$4.09 (−31%)</text>
66
- <text x="141.0" y="319" fill="#d0d0d0" xml:space="preserve"> vs unrouted</text>
67
- <text x="234.6" y="319" fill="#7c7c7c" xml:space="preserve"> ≈$13.06</text>
68
- <text x="24.0" y="338" fill="#d0d0d0" xml:space="preserve"> main </text>
69
- <text x="86.4" y="338" fill="#d0d0d0" xml:space="preserve"> ≈$6.45</text>
70
- <text x="156.6" y="338" fill="#5fafd7" xml:space="preserve">████████████████</text>
71
- <text x="297.0" y="338" fill="#6fcf97" xml:space="preserve">−$4.17</text>
72
- <text x="343.8" y="338" fill="#7c7c7c" xml:space="preserve"> vs Opus 5.5 · xhigh</text>
73
- <text x="24.0" y="357" fill="#d0d0d0" xml:space="preserve"> agents</text>
74
- <text x="86.4" y="357" fill="#d0d0d0" xml:space="preserve"> ≈$2.52</text>
75
- <text x="156.6" y="357" fill="#5fafd7" xml:space="preserve">██████</text>
76
- <text x="203.4" y="357" fill="#7c7c7c" xml:space="preserve">░░░░░░░░░░</text>
77
- <text x="297.0" y="357" fill="#f0b429" xml:space="preserve">+$0.08</text>
78
- <text x="343.8" y="357" fill="#7c7c7c" xml:space="preserve"> vs their picks</text>
79
- <text x="24.0" y="376" fill="#7c7c7c" xml:space="preserve"> tiers </text>
80
- <text x="86.4" y="376" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
81
- <text x="94.2" y="376" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
82
- <text x="102.0" y="376" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
83
- <text x="109.8" y="376" fill="#d7af5f" font-weight="700" xml:space="preserve">█</text>
84
- <text x="117.6" y="376" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
85
- <text x="125.4" y="376" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
86
- <text x="133.2" y="376" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
87
- <text x="141.0" y="376" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
88
- <text x="148.8" y="376" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
89
- <text x="156.6" y="376" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
90
- <text x="164.4" y="376" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
91
- <text x="172.2" y="376" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
92
- <text x="180.0" y="376" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
93
- <text x="187.8" y="376" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
94
- <text x="195.6" y="376" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
95
- <text x="203.4" y="376" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
96
- <text x="211.2" y="376" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
97
- <text x="219.0" y="376" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
98
- <text x="226.8" y="376" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
99
- <text x="234.6" y="376" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
100
- <text x="242.4" y="376" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
101
- <text x="250.2" y="376" fill="#d7af5f" font-weight="700" xml:space="preserve">█</text>
102
- <text x="258.0" y="376" fill="#d7af5f" font-weight="700" xml:space="preserve">█</text>
103
- <text x="265.8" y="376" fill="#d7af5f" font-weight="700" xml:space="preserve">█</text>
104
- <text x="273.6" y="376" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
105
- <text x="281.4" y="376" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
106
- <text x="289.2" y="376" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
107
- <text x="297.0" y="376" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
108
- <text x="304.8" y="376" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
109
- <text x="312.6" y="376" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
110
- <text x="320.4" y="376" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
111
- <text x="328.2" y="376" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
112
- <text x="336.0" y="376" fill="#d7af5f" font-weight="700" xml:space="preserve">█</text>
113
- <text x="343.8" y="376" fill="#d7af5f" font-weight="700" xml:space="preserve">█</text>
114
- <text x="351.6" y="376" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
115
- <text x="359.4" y="376" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
116
- <text x="367.2" y="376" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
117
- <text x="375.0" y="376" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
118
- <text x="382.8" y="376" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
119
- <text x="390.6" y="376" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
120
- <text x="398.4" y="376" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
121
- <text x="406.2" y="376" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
122
- <text x="414.0" y="376" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
123
- <text x="421.8" y="376" fill="#7c7c7c" xml:space="preserve"> 2 replies per cell</text>
124
- <text x="86.4" y="395" fill="#5f9fe0" xml:space="preserve">▂▄</text>
125
- <text x="102.0" y="395" fill="#7c7c7c" xml:space="preserve"> 41 </text>
126
- <text x="148.8" y="395" fill="#d7af5f" xml:space="preserve">▂▄▆</text>
127
- <text x="172.2" y="395" fill="#7c7c7c" xml:space="preserve"> 12 </text>
128
- <text x="219.0" y="395" fill="#e0708a" xml:space="preserve">▂▄▆█</text>
129
- <text x="250.2" y="395" fill="#7c7c7c" xml:space="preserve"> 33 </text>
130
- <text x="24.0" y="433" fill="#5fafd7" font-weight="700" xml:space="preserve">CONTEXT</text>
131
- <text x="24.0" y="452" fill="#d0d0d0" xml:space="preserve"> ctx </text>
132
- <text x="94.2" y="452" fill="#87d787" xml:space="preserve">▰▰▰▰▰▰▰▰</text>
133
- <text x="156.6" y="452" fill="#7c7c7c" xml:space="preserve">▱▱▱▱▱▱▱▱▱▱▱▱</text>
134
- <text x="250.2" y="452" fill="#d0d0d0" xml:space="preserve"> 40%</text>
135
- <text x="289.2" y="452" fill="#7c7c7c" xml:space="preserve"> ~402.9K / 1.00M</text>
136
- <text x="24.0" y="471" fill="#d0d0d0" xml:space="preserve"> cache </text>
137
- <text x="94.2" y="471" fill="#87d787" xml:space="preserve">100%</text>
138
- <text x="125.4" y="471" fill="#7c7c7c" xml:space="preserve"> last reply</text>
139
- <text x="211.2" y="471" fill="#7c7c7c" xml:space="preserve"> · </text>
140
- <text x="234.6" y="471" fill="#d0d0d0" xml:space="preserve">90%</text>
141
- <text x="258.0" y="471" fill="#7c7c7c" xml:space="preserve"> session</text>
142
- <rect x="343.8" y="457" width="85.8" height="18" rx="4" fill="#2e3340"/>
143
- <text x="343.8" y="471" fill="#d0d0d0" xml:space="preserve">[ details ]</text>
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"/>
144
186
  </svg>
@@ -1,12 +1,12 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 657 534" role="img" aria-labelledby="title desc">
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="657" height="534" rx="8" fill="#1c1c1c"/>
9
- <rect x="10" y="10" width="637" height="514" rx="6" fill="none" stroke="#3f5f8f"/>
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
- <text x="24.0" y="91" fill="#5fafd7" font-weight="700" xml:space="preserve">POLICY</text>
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">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>
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>
@@ -38,43 +38,43 @@
38
38
  <text x="250.2" y="167" fill="#d0d0d0" xml:space="preserve"> haiku·high</text>
39
39
  <text x="375.0" y="167" fill="#d0d0d0" xml:space="preserve"> sonnet·xhigh●</text>
40
40
  <text x="499.8" y="167" fill="#d0d0d0" xml:space="preserve"> opus·xhigh</text>
41
- <text x="24.0" y="186" fill="#d7875f" font-style="italic" xml:space="preserve">code</text>
41
+ <text x="24.0" y="186" fill="#d77757" font-style="italic" xml:space="preserve">code</text>
42
42
  <text x="125.4" y="186" fill="#7c7c7c" xml:space="preserve"> ·</text>
43
43
  <text x="250.2" y="186" fill="#d0d0d0" xml:space="preserve"> sonnet·high°</text>
44
44
  <text x="375.0" y="186" fill="#7c7c7c" xml:space="preserve"> ·</text>
45
45
  <text x="499.8" y="186" fill="#d0d0d0" xml:space="preserve">▸opus·max●</text>
46
- <text x="24.0" y="205" fill="#d7875f" font-style="italic" xml:space="preserve">debug</text>
46
+ <text x="24.0" y="205" fill="#d77757" font-style="italic" xml:space="preserve">debug</text>
47
47
  <text x="125.4" y="205" fill="#7c7c7c" xml:space="preserve"> ·</text>
48
48
  <text x="250.2" y="205" fill="#d0d0d0" xml:space="preserve"> sonnet·high°</text>
49
49
  <text x="375.0" y="205" fill="#7c7c7c" xml:space="preserve"> ·</text>
50
50
  <text x="499.8" y="205" fill="#7c7c7c" xml:space="preserve"> ·</text>
51
- <text x="24.0" y="224" fill="#d7875f" font-style="italic" xml:space="preserve">explore</text>
51
+ <text x="24.0" y="224" fill="#d77757" font-style="italic" xml:space="preserve">explore</text>
52
52
  <text x="125.4" y="224" fill="#7c7c7c" xml:space="preserve"> ·</text>
53
53
  <text x="250.2" y="224" fill="#7c7c7c" xml:space="preserve"> ·</text>
54
54
  <text x="375.0" y="224" fill="#7c7c7c" xml:space="preserve"> ·</text>
55
55
  <text x="499.8" y="224" fill="#7c7c7c" xml:space="preserve"> ·</text>
56
- <text x="24.0" y="243" fill="#d7875f" font-style="italic" xml:space="preserve">plan</text>
56
+ <text x="24.0" y="243" fill="#d77757" font-style="italic" xml:space="preserve">plan</text>
57
57
  <text x="125.4" y="243" fill="#7c7c7c" xml:space="preserve"> ·</text>
58
58
  <text x="250.2" y="243" fill="#d0d0d0" xml:space="preserve"> sonnet·high°</text>
59
59
  <text x="375.0" y="243" fill="#7c7c7c" xml:space="preserve"> ·</text>
60
60
  <text x="499.8" y="243" fill="#7c7c7c" xml:space="preserve"> ·</text>
61
- <text x="24.0" y="262" fill="#d7875f" font-style="italic" xml:space="preserve">review</text>
61
+ <text x="24.0" y="262" fill="#d77757" font-style="italic" xml:space="preserve">review</text>
62
62
  <text x="125.4" y="262" fill="#7c7c7c" xml:space="preserve"> ·</text>
63
63
  <text x="250.2" y="262" fill="#d0d0d0" xml:space="preserve"> sonnet·high°</text>
64
64
  <text x="375.0" y="262" fill="#7c7c7c" xml:space="preserve"> ·</text>
65
65
  <text x="499.8" y="262" fill="#7c7c7c" xml:space="preserve"> ·</text>
66
- <text x="24.0" y="281" fill="#d7875f" font-style="italic" xml:space="preserve">ops</text>
66
+ <text x="24.0" y="281" fill="#d77757" font-style="italic" xml:space="preserve">ops</text>
67
67
  <text x="125.4" y="281" fill="#7c7c7c" xml:space="preserve"> ·</text>
68
68
  <text x="250.2" y="281" fill="#7c7c7c" xml:space="preserve"> ·</text>
69
69
  <text x="375.0" y="281" fill="#d0d0d0" xml:space="preserve"> haiku·high°</text>
70
70
  <text x="499.8" y="281" fill="#7c7c7c" xml:space="preserve"> ·</text>
71
- <text x="24.0" y="300" fill="#d7875f" font-style="italic" xml:space="preserve">docs</text>
71
+ <text x="24.0" y="300" fill="#d77757" font-style="italic" xml:space="preserve">docs</text>
72
72
  <text x="125.4" y="300" fill="#7c7c7c" xml:space="preserve"> ·</text>
73
73
  <text x="250.2" y="300" fill="#7c7c7c" xml:space="preserve"> ·</text>
74
74
  <text x="375.0" y="300" fill="#7c7c7c" xml:space="preserve"> ·</text>
75
75
  <text x="499.8" y="300" fill="#7c7c7c" xml:space="preserve"> ·</text>
76
76
  <text x="24.0" y="319" fill="#7c7c7c" xml:space="preserve"> · runs the tier’s model ° built-in default ● unsaved</text>
77
- <text x="24.0" y="357" fill="#d7875f" font-style="italic" xml:space="preserve">code</text>
77
+ <text x="24.0" y="357" fill="#d77757" font-style="italic" xml:space="preserve">code</text>
78
78
  <text x="55.2" y="357" fill="#d0d0d0" xml:space="preserve"> at </text>
79
79
  <text x="86.4" y="357" fill="#e0708a" font-weight="700" xml:space="preserve">high</text>
80
80
  <text x="195.6" y="357" fill="#d0d0d0" xml:space="preserve">Opus 5.5 ▾</text>