@khanglvm/llm-router 2.0.0-beta.1 → 2.0.0-beta.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.
Files changed (36) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +166 -424
  3. package/package.json +3 -3
  4. package/src/cli/router-module.js +2773 -2587
  5. package/src/cli-entry.js +32 -103
  6. package/src/node/activity-log.js +119 -0
  7. package/src/node/coding-tool-config.js +85 -11
  8. package/src/node/config-workflows.js +51 -12
  9. package/src/node/instance-state.js +1 -1
  10. package/src/node/litellm-context-catalog.js +184 -0
  11. package/src/node/local-server.js +23 -3
  12. package/src/node/port-reclaim.js +2 -2
  13. package/src/node/start-command.js +22 -22
  14. package/src/node/startup-manager.js +3 -3
  15. package/src/node/web-command.js +1 -1
  16. package/src/node/web-console-assets.js +1 -1
  17. package/src/node/web-console-client.js +34 -29
  18. package/src/node/web-console-server.js +420 -38
  19. package/src/node/web-console-styles.generated.js +1 -1
  20. package/src/node/web-console-ui/buffered-text-input.js +133 -0
  21. package/src/node/web-console-ui/config-editor-utils.js +57 -4
  22. package/src/node/web-console-ui/dropdown-placement.js +153 -0
  23. package/src/node/web-console-ui/select-search-utils.js +6 -0
  24. package/src/node/web-console-ui/transient-integer-input-utils.js +12 -0
  25. package/src/runtime/balancer.js +78 -1
  26. package/src/runtime/config.js +448 -12
  27. package/src/runtime/handler/amp-response.js +5 -3
  28. package/src/runtime/handler/amp-web-search.js +1920 -0
  29. package/src/runtime/handler/fallback.js +30 -2
  30. package/src/runtime/handler/provider-call.js +353 -36
  31. package/src/runtime/handler/request.js +121 -0
  32. package/src/runtime/handler/route-debug.js +36 -0
  33. package/src/runtime/handler.js +204 -18
  34. package/src/runtime/subscription-provider.js +1 -1
  35. package/src/shared/coding-tool-bindings.js +49 -0
  36. package/src/shared/local-router-defaults.js +62 -0
package/CHANGELOG.md CHANGED
@@ -7,6 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [2.0.0-beta.2] - 2026-03-13
11
+
12
+ ### Changed
13
+ - Rebranded the user-facing CLI/docs name to `LLM Router` with `llr` as the primary command while keeping the published package scope as `@khanglvm/llm-router`.
14
+ - Updated README and CLI help/examples to use the new branding and command.
15
+ - Expanded the CLI management surface so agents can validate config state, inspect runtime/tool state (`validate`, `snapshot`, `tool-status`), reclaim the fixed local router port, run standalone provider diagnostics, and patch Codex CLI / Claude Code / AMP client routing without depending on the web console.
16
+ - Updated `llr ai-help` and local agent instructions to prefer first-party CLI commands for validation, router recovery, coding-tool routing, and router inspection.
17
+
18
+ ### Removed
19
+ - Removed the deprecated TUI entry flow from the supported operator surface and from the real-provider live suite coverage.
20
+
10
21
  ## [2.0.0-beta.1] - 2026-03-11
11
22
 
12
23
  ### Fixed