@uxnan/shared 0.0.9-alpha.20260721 → 0.0.10-alpha.20260724
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.
|
@@ -91,8 +91,8 @@ export interface AgentModelOption {
|
|
|
91
91
|
* A selectable model an agent reports, returned by `agent/models`.
|
|
92
92
|
*
|
|
93
93
|
* `id` is the wire value passed back to the agent for routing — a stable alias
|
|
94
|
-
* for Claude Code (`opus`/`sonnet`/`haiku`), a `provider/model` id for
|
|
95
|
-
* or a concrete model id for Codex. `displayName`, `description`, `version` and
|
|
94
|
+
* for Claude Code (`fable`/`opus`/`sonnet`/`haiku`), a `provider/model` id for
|
|
95
|
+
* OpenCode, or a concrete model id for Codex. `displayName`, `description`, `version` and
|
|
96
96
|
* `isDefault` are presentation hints; consumers must tolerate any of them being
|
|
97
97
|
* absent (older bridges report bare id strings).
|
|
98
98
|
*/
|
|
@@ -105,7 +105,7 @@ export interface AgentModel {
|
|
|
105
105
|
description?: string;
|
|
106
106
|
/**
|
|
107
107
|
* Concrete underlying version when `id` is an alias that resolves to a
|
|
108
|
-
* moving target — e.g. Claude Code's `opus` → `claude-opus-
|
|
108
|
+
* moving target — e.g. Claude Code's `opus` → `claude-opus-5`. Surfaced so
|
|
109
109
|
* the user can see which exact model an alias currently maps to.
|
|
110
110
|
*/
|
|
111
111
|
version?: string;
|
|
@@ -125,11 +125,12 @@ export interface AgentModel {
|
|
|
125
125
|
*/
|
|
126
126
|
contextWindow?: number;
|
|
127
127
|
/**
|
|
128
|
-
* Marks a moving-target "latest" alias (Claude Code's
|
|
129
|
-
* each of which always routes to the newest
|
|
130
|
-
* can use — see {@link version} for the
|
|
131
|
-
* models leave this absent.
|
|
132
|
-
* hide the aliases and show exact
|
|
128
|
+
* Marks a moving-target "latest" alias (Claude Code's
|
|
129
|
+
* `fable`/`opus`/`sonnet`/`haiku`, each of which always routes to the newest
|
|
130
|
+
* version of that tier the account can use — see {@link version} for the
|
|
131
|
+
* resolved concrete id). Concrete/pinned models leave this absent.
|
|
132
|
+
* Presentation-only: lets a client offer to hide the aliases and show exact
|
|
133
|
+
* versions only, without hardcoding ids.
|
|
133
134
|
*/
|
|
134
135
|
isLatestAlias?: boolean;
|
|
135
136
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uxnan/shared",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10-alpha.20260724",
|
|
4
4
|
"description": "Shared JSON-RPC and E2EE contracts for the Uxnan ecosystem (bridge, relay, mobile).",
|
|
5
5
|
"license": "MPL-2.0",
|
|
6
6
|
"author": "Luis Donaldo Gamas Vazquez",
|