@workweave/router 0.1.1 → 0.1.2

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/cc-statusline.sh CHANGED
@@ -130,6 +130,7 @@ normalize_model() {
130
130
  prices='{
131
131
  "input": {
132
132
  "claude-haiku-4-5": 0.0008,
133
+ "claude-opus-4-6": 0.015,
133
134
  "claude-opus-4-7": 0.015,
134
135
  "claude-sonnet-4-5": 0.003,
135
136
  "deepseek/deepseek-v4-flash": 0.00014,
@@ -160,17 +161,16 @@ prices='{
160
161
  "gpt-5.5-mini": 0.0005,
161
162
  "gpt-5.5-nano": 0.00015,
162
163
  "gpt-5.5-pro": 0.03,
163
- "mistralai/mistral-small-2603": 0.00015,
164
164
  "moonshotai/kimi-k2.5": 0.00044,
165
165
  "qwen/qwen3-235b-a22b-2507": 0.000071,
166
166
  "qwen/qwen3-30b-a3b-instruct-2507": 0.00008,
167
167
  "qwen/qwen3-coder": 0.00022,
168
168
  "qwen/qwen3-coder-next": 0.00007,
169
- "qwen/qwen3-next-80b-a3b-instruct": 0.00009,
170
- "qwen/qwen3.5-flash-02-23": 0.000065
169
+ "qwen/qwen3-next-80b-a3b-instruct": 0.00009
171
170
  },
172
171
  "output": {
173
172
  "claude-haiku-4-5": 0.004,
173
+ "claude-opus-4-6": 0.075,
174
174
  "claude-opus-4-7": 0.075,
175
175
  "claude-sonnet-4-5": 0.015,
176
176
  "deepseek/deepseek-v4-flash": 0.00028,
@@ -201,14 +201,12 @@ prices='{
201
201
  "gpt-5.5-mini": 0.0025,
202
202
  "gpt-5.5-nano": 0.0006,
203
203
  "gpt-5.5-pro": 0.12,
204
- "mistralai/mistral-small-2603": 0.0006,
205
204
  "moonshotai/kimi-k2.5": 0.002,
206
205
  "qwen/qwen3-235b-a22b-2507": 0.000463,
207
206
  "qwen/qwen3-30b-a3b-instruct-2507": 0.00033,
208
207
  "qwen/qwen3-coder": 0.0018,
209
208
  "qwen/qwen3-coder-next": 0.0003,
210
- "qwen/qwen3-next-80b-a3b-instruct": 0.0011,
211
- "qwen/qwen3.5-flash-02-23": 0.00026
209
+ "qwen/qwen3-next-80b-a3b-instruct": 0.0011
212
210
  }
213
211
  }'
214
212
  # END_GENERATED_PRICES
package/install.sh CHANGED
@@ -444,7 +444,8 @@ if [ -n "${WEAVE_ROUTER_KEY:-}" ]; then
444
444
  # _spin_cleanup (installed globally above) already restores stty echo on
445
445
  # any exit path, so we don't need a separate trap here — that would
446
446
  # overwrite the spinner cleanup and leak the cursor / child PID on Ctrl-C.
447
- printf "%sPaste your Weave Router API key (rk_...):%s " "$C_DIM" "$C_RESET"
447
+ printf "%sGet your Weave Router API key at %s%s\n" "$C_BRAND" "$base_url" "$C_RESET"
448
+ printf "%sPaste your key here (rk_...):%s " "$C_DIM" "$C_RESET"
448
449
  stty -echo </dev/tty 2>/dev/null || true
449
450
  read -r api_key </dev/tty
450
451
  stty echo </dev/tty 2>/dev/null || true
@@ -587,6 +588,7 @@ normalize_model() {
587
588
  prices='{
588
589
  "input": {
589
590
  "claude-haiku-4-5": 0.0008,
591
+ "claude-opus-4-6": 0.015,
590
592
  "claude-opus-4-7": 0.015,
591
593
  "claude-sonnet-4-5": 0.003,
592
594
  "deepseek/deepseek-v4-flash": 0.00014,
@@ -617,17 +619,16 @@ prices='{
617
619
  "gpt-5.5-mini": 0.0005,
618
620
  "gpt-5.5-nano": 0.00015,
619
621
  "gpt-5.5-pro": 0.03,
620
- "mistralai/mistral-small-2603": 0.00015,
621
622
  "moonshotai/kimi-k2.5": 0.00044,
622
623
  "qwen/qwen3-235b-a22b-2507": 0.000071,
623
624
  "qwen/qwen3-30b-a3b-instruct-2507": 0.00008,
624
625
  "qwen/qwen3-coder": 0.00022,
625
626
  "qwen/qwen3-coder-next": 0.00007,
626
- "qwen/qwen3-next-80b-a3b-instruct": 0.00009,
627
- "qwen/qwen3.5-flash-02-23": 0.000065
627
+ "qwen/qwen3-next-80b-a3b-instruct": 0.00009
628
628
  },
629
629
  "output": {
630
630
  "claude-haiku-4-5": 0.004,
631
+ "claude-opus-4-6": 0.075,
631
632
  "claude-opus-4-7": 0.075,
632
633
  "claude-sonnet-4-5": 0.015,
633
634
  "deepseek/deepseek-v4-flash": 0.00028,
@@ -658,14 +659,12 @@ prices='{
658
659
  "gpt-5.5-mini": 0.0025,
659
660
  "gpt-5.5-nano": 0.0006,
660
661
  "gpt-5.5-pro": 0.12,
661
- "mistralai/mistral-small-2603": 0.0006,
662
662
  "moonshotai/kimi-k2.5": 0.002,
663
663
  "qwen/qwen3-235b-a22b-2507": 0.000463,
664
664
  "qwen/qwen3-30b-a3b-instruct-2507": 0.00033,
665
665
  "qwen/qwen3-coder": 0.0018,
666
666
  "qwen/qwen3-coder-next": 0.0003,
667
- "qwen/qwen3-next-80b-a3b-instruct": 0.0011,
668
- "qwen/qwen3.5-flash-02-23": 0.00026
667
+ "qwen/qwen3-next-80b-a3b-instruct": 0.0011
669
668
  }
670
669
  }'
671
670
  # END_GENERATED_PRICES
@@ -925,7 +924,7 @@ if [ -n "$api_key" ]; then
925
924
  | curl -fsS --max-time 5 --header @- "$base_url/validate"
926
925
  }
927
926
  if ! spin "Validating API key" validate_key; then
928
- warn "Router rejected the API key (check it matches the dashboard at $base_url/ui/)."
927
+ warn "Router rejected the API key (check it matches the dashboard at $base_url)."
929
928
  fi
930
929
  fi
931
930
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workweave/router",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "One-command installer that points Claude Code at the Weave Router.",
5
5
  "bin": {
6
6
  "weave-router": "bin.js"