@dylanrussell/agent-router 2.1.0 → 2.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/CHANGELOG.md +12 -0
- package/README.md +2 -1
- package/dist/cli.js +1 -1
- package/dist/cli.js.map +1 -1
- package/dist/plugin.js +1 -1
- package/dist/plugin.js.map +1 -1
- package/dist/tui.d.ts +24 -0
- package/dist/tui.js +89 -9
- package/dist/tui.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# 2.1.2
|
|
2
|
+
|
|
3
|
+
- Remove selection-source labels from agent headings; show only the agent name.
|
|
4
|
+
- Keep selected models orange with normal font weight. Selection logic and precedence are unchanged.
|
|
5
|
+
|
|
6
|
+
# 2.1.1
|
|
7
|
+
|
|
8
|
+
- Highlight selected models for every agent in the native warning/orange color, preserving precedence order and complete identities.
|
|
9
|
+
- Prefer the viewed session, then running same-location direct children, then native defaults and stack defaults; label the source explicitly.
|
|
10
|
+
- Preserve multiple selections when active children of one agent use different models. Never treat inactive children or other locations as live selections.
|
|
11
|
+
- Keep routing mode/freshness unknown when no native status transport is connected; do not infer pin state from a model ID.
|
|
12
|
+
|
|
1
13
|
# 2.1.0
|
|
2
14
|
|
|
3
15
|
- Add opt-in account-scoped quota preflight before automatic main turns and new subagent tasks, using the usage service's credential-free RPC.
|
package/README.md
CHANGED
|
@@ -306,7 +306,8 @@ The plugin exposes six tools the agent (or you, by asking it) can call:
|
|
|
306
306
|
The V2 terminal half loads from the package's `./tui` export (`cli.json`, wired up by `init`):
|
|
307
307
|
|
|
308
308
|
- **Sidebar panel** — lists available stacks with the active one checked. Under **Current Stack**, each agent has one indented model per line, in precedence order, without Primary/Fallback labels. Explicit variants appear in brackets; full model IDs wrap rather than truncate. A `⟳ restart required` badge appears when the active stack differs from the one at TUI startup. File changes update live (≤1.5s).
|
|
309
|
-
- **Current selection** —
|
|
309
|
+
- **Current selection** — every agent's selected model is highlighted in the warning/orange color at normal font weight with `●`. Headings show only the agent name. Selection prefers the viewed session, then running direct children at the same location, then the native agent default, then the stack default; conflicting active children retain multiple distinct selections. Out-of-chain selections are shown separately. Configured chains still come from the active stack file, not the applied `state.json.fallbackAgents` snapshot. Editing a stack changes the preview but does not apply it: use the stack and restart opencode to activate changes. Default highlights do not imply a running session or predict quota preflight.
|
|
310
|
+
- **Routing visibility** — the native CLI has no connected routing-status transport yet, so mode/freshness are shown as unknown rather than inferred from model selection. Use `router_routing_status` for the current session's actual Automatic/Pinned state and reason.
|
|
310
311
|
- **Commands** — type `/` or open the command palette:
|
|
311
312
|
|
|
312
313
|
| command | what it does |
|
package/dist/cli.js
CHANGED
|
@@ -17006,7 +17006,7 @@ async function exportStack(paths, name, toFile) {
|
|
|
17006
17006
|
}
|
|
17007
17007
|
|
|
17008
17008
|
// src/version.ts
|
|
17009
|
-
var VERSION = "2.1.
|
|
17009
|
+
var VERSION = "2.1.2";
|
|
17010
17010
|
|
|
17011
17011
|
// src/cli.ts
|
|
17012
17012
|
var log = (...args) => console.log(...args);
|