@workweave/router 0.2.8 → 0.2.9

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/install.sh CHANGED
@@ -2670,7 +2670,7 @@ if [ "$scope" = "project" ] && [ -z "$install_dir" ]; then
2670
2670
  env: { ANTHROPIC_BASE_URL: $url, ENABLE_TOOL_SEARCH: "auto" },
2671
2671
  statusLine: { type: "command", command: $sl },
2672
2672
  attribution: {
2673
- commit: "Co-Authored-By: Weave Router <noreply@workweave.ai>",
2673
+ commit: "Co-Authored-By: Weave Router <router@workweave.ai>",
2674
2674
  pr: "🤖 Generated with [Weave Router](https://router.workweave.ai)"
2675
2675
  }
2676
2676
  }' >"$tmp_patch"
@@ -2679,7 +2679,7 @@ else
2679
2679
  env: { ANTHROPIC_BASE_URL: $url, ANTHROPIC_CUSTOM_HEADERS: $header, ENABLE_TOOL_SEARCH: "auto" },
2680
2680
  statusLine: { type: "command", command: $sl },
2681
2681
  attribution: {
2682
- commit: "Co-Authored-By: Weave Router <noreply@workweave.ai>",
2682
+ commit: "Co-Authored-By: Weave Router <router@workweave.ai>",
2683
2683
  pr: "🤖 Generated with [Weave Router](https://router.workweave.ai)"
2684
2684
  }
2685
2685
  }' >"$tmp_patch"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workweave/router",
3
- "version": "0.2.8",
3
+ "version": "0.2.9",
4
4
  "description": "One-command installer that points Claude Code, Codex, opencode, or pi at the Weave Router. For pi it also ships the routing extension, loaded via pi.extensions.",
5
5
  "bin": {
6
6
  "weave-router": "bin.js",
package/uninstall.sh CHANGED
@@ -545,7 +545,8 @@ if [ -f "$settings_file" ]; then
545
545
  then del(.statusLine) else . end)
546
546
  | (if (.apiKeyHelper // "" | tostring | endswith("weave-key.sh"))
547
547
  then del(.apiKeyHelper) else . end)
548
- | (if (.attribution.commit == "Co-Authored-By: Weave Router <noreply@workweave.ai>"
548
+ | (if ((.attribution.commit == "Co-Authored-By: Weave Router <router@workweave.ai>"
549
+ or .attribution.commit == "Co-Authored-By: Weave Router <noreply@workweave.ai>")
549
550
  and .attribution.pr == "🤖 Generated with [Weave Router](https://router.workweave.ai)")
550
551
  then del(.attribution) else . end)
551
552
  ' "$settings_file")"