@ggui-ai/protocol 0.20.0 → 0.21.0
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/dist/gadgets/stdlib-gadgets.d.ts +1 -1
- package/dist/gadgets/stdlib-gadgets.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/schemas/data-contract.d.ts.map +1 -1
- package/dist/schemas/data-contract.js +3 -2
- package/dist/schemas/rendering-context.d.ts.map +1 -1
- package/dist/schemas/rendering-context.js +7 -1
- package/dist/types/anthropic-model-rules.d.ts +67 -0
- package/dist/types/anthropic-model-rules.d.ts.map +1 -0
- package/dist/types/anthropic-model-rules.js +75 -0
- package/dist/types/llm-route.d.ts +16 -5
- package/dist/types/llm-route.d.ts.map +1 -1
- package/dist/types/llm-route.js +26 -5
- package/dist/types/llm.d.ts +49 -0
- package/dist/types/llm.d.ts.map +1 -1
- package/dist/types/llm.js +64 -0
- package/dist/version.d.ts +15 -1
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +15 -1
- package/package.json +1 -1
|
@@ -12,7 +12,7 @@ export declare const STDLIB_GADGETS_PACKAGE = "@ggui-ai/gadgets";
|
|
|
12
12
|
* in `@ggui-ai/gadgets` asserts the two stay in sync, so a release-time
|
|
13
13
|
* bump to the runtime package without updating this constant fails CI.
|
|
14
14
|
*/
|
|
15
|
-
export declare const STDLIB_GADGETS_VERSION = "0.
|
|
15
|
+
export declare const STDLIB_GADGETS_VERSION = "0.21.0";
|
|
16
16
|
/**
|
|
17
17
|
* v1 catalog of stdlib gadget descriptors. Every entry's
|
|
18
18
|
* `package` defaults to {@link STDLIB_GADGETS_PACKAGE}; the
|
|
@@ -39,7 +39,7 @@ export const STDLIB_GADGETS_PACKAGE = '@ggui-ai/gadgets';
|
|
|
39
39
|
* in `@ggui-ai/gadgets` asserts the two stay in sync, so a release-time
|
|
40
40
|
* bump to the runtime package without updating this constant fails CI.
|
|
41
41
|
*/
|
|
42
|
-
export const STDLIB_GADGETS_VERSION = '0.
|
|
42
|
+
export const STDLIB_GADGETS_VERSION = '0.21.0';
|
|
43
43
|
/**
|
|
44
44
|
* v1 catalog of stdlib gadget descriptors. Every entry's
|
|
45
45
|
* `package` defaults to {@link STDLIB_GADGETS_PACKAGE}; the
|
package/dist/index.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export * from "./types/llm.js";
|
|
|
27
27
|
export * from "./types/refusal-codes.js";
|
|
28
28
|
export * from "./types/domain-error-codes.js";
|
|
29
29
|
export * from "./types/llm-route.js";
|
|
30
|
+
export * from "./types/anthropic-model-rules.js";
|
|
30
31
|
export * from "./types/interface-context.js";
|
|
31
32
|
export * from "./types/host-context.js";
|
|
32
33
|
export * from "./types/lifecycle.js";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gBAAgB,CAAC;AAI/B,cAAc,sBAAsB,CAAC;AAOrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oCAAoC,CAAC;AACnD,cAAc,0BAA0B,CAAC;AACzC,cAAc,iCAAiC,CAAC;AAChD,YAAY,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AAOxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kCAAkC,CAAC;AACjD,cAAc,6BAA6B,CAAC;AAI5C,OAAO,EAAE,qBAAqB,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AC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uCAAuC,CAAC;AACtD,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iCAAiC,CAAC;AAChD,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mCAAmC,CAAC;AAClD,cAAc,2BAA2B,CAAC;AAC1C,OAAO,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EACL,cAAc,EACd,sBAAsB,EACtB,sBAAsB,EACtB,mBAAmB,GACpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EACL,2BAA2B,EAC3B,iBAAiB,EACjB,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,oCAAoC,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -57,6 +57,7 @@ export * from "./types/llm.js";
|
|
|
57
57
|
export * from "./types/refusal-codes.js";
|
|
58
58
|
export * from "./types/domain-error-codes.js";
|
|
59
59
|
export * from "./types/llm-route.js";
|
|
60
|
+
export * from "./types/anthropic-model-rules.js";
|
|
60
61
|
export * from "./types/interface-context.js";
|
|
61
62
|
export * from "./types/host-context.js";
|
|
62
63
|
export * from "./types/lifecycle.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-contract.d.ts","sourceRoot":"","sources":["../../src/schemas/data-contract.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,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AE,EAAE,KAAK,CAAC;IAAC,QAAQ,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAA;CAAE,CAAC;AA2C/D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,OAAO,GAAG,0BAA0B,CAmEtF;AAED,eAAO,MAAM,kBAAkB,EAAE,CAAC,CAAC,OAAO,CAAC,YAAY,CAiCZ,CAAC"}
|
|
@@ -204,8 +204,9 @@ export const actionEntrySchema = z
|
|
|
204
204
|
* one-shot action for the render's lifetime — AND the suppression is
|
|
205
205
|
* NEVER SILENT: a suppressed dispatch leaves a named trace an operator
|
|
206
206
|
* can find (at minimum the runtime's diagnostic channel, carrying the
|
|
207
|
-
*
|
|
208
|
-
*
|
|
207
|
+
* action's NAME and `oneShot` as the reason — a suppressed dispatch
|
|
208
|
+
* mints no `actionId`, so the trace names the action, never an id),
|
|
209
|
+
* and it does NOT reach the agent as a dispatch. This is the rule `@ggui-ai/wire`'s dispatch
|
|
209
210
|
* dedup already holds for its own suppression, inherited here on
|
|
210
211
|
* purpose: a second gesture the runtime refuses to forward is an
|
|
211
212
|
* EVENT, not silence — otherwise a silent double-fire is replaced by a
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rendering-context.d.ts","sourceRoot":"","sources":["../../src/schemas/rendering-context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,gBAAgB,4CAA6C,CAAC;AAC3E,eAAO,MAAM,iBAAiB,qDAAsD,CAAC;AAErF,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC;AAC/D,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEjE,qEAAqE;AACrE,eAAO,MAAM,uBAAuB;;;kBAKzB,CAAC;AAEZ,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"rendering-context.d.ts","sourceRoot":"","sources":["../../src/schemas/rendering-context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,gBAAgB,4CAA6C,CAAC;AAC3E,eAAO,MAAM,iBAAiB,qDAAsD,CAAC;AAErF,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC;AAC/D,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEjE,qEAAqE;AACrE,eAAO,MAAM,uBAAuB;;;kBAKzB,CAAC;AAEZ,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;kBAexB,CAAC;AAEZ,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
|
|
@@ -33,7 +33,13 @@ export const renderingContextSchema = z
|
|
|
33
33
|
device: z.enum(RENDERING_DEVICES),
|
|
34
34
|
/** Shell type — the container the component renders in. */
|
|
35
35
|
shell: z.enum(RENDERING_SHELLS),
|
|
36
|
-
/**
|
|
36
|
+
/**
|
|
37
|
+
* The mount's geometry as the SENDER declares it, in CSS pixels
|
|
38
|
+
* (optional). What a receiving lane makes of it is that lane's policy,
|
|
39
|
+
* named on its receipt — whether `height` is a fixed box or a ceiling
|
|
40
|
+
* the lane judges overflow against (ggui#1195: the chat card grows to
|
|
41
|
+
* content under the column's ceiling) is never a second wire word.
|
|
42
|
+
*/
|
|
37
43
|
viewport: renderingViewportSchema.optional(),
|
|
38
44
|
})
|
|
39
45
|
.strict();
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Anthropic model-family rules — which Claude models refuse which
|
|
3
|
+
* request parameters — shared by every caller that builds an Anthropic
|
|
4
|
+
* request: the generation harness's router (`@ggui-ai/ui-gen`), the
|
|
5
|
+
* negotiator's structured call (`@ggui-ai/mcp-server`), and the
|
|
6
|
+
* negotiator/probe tooling. One module instead of a copy per caller:
|
|
7
|
+
* a model the API starts refusing a parameter for is added here once.
|
|
8
|
+
* The families are regexes today — themselves a second list of models
|
|
9
|
+
* beside the registry — and ggui#1268 moves the forced-tool fact onto
|
|
10
|
+
* the registry rows.
|
|
11
|
+
*
|
|
12
|
+
* Lives in protocol beside `llm-route.ts` because model facts live
|
|
13
|
+
* here: the registry rows (`llm.ts`), the allowlists and the
|
|
14
|
+
* Bedrock/OpenRouter shape validators (`llm-route.ts`). Pure string
|
|
15
|
+
* predicates; no SDK, no I/O.
|
|
16
|
+
*
|
|
17
|
+
* **The model lists GROW, and that is the contract.** Each predicate
|
|
18
|
+
* answers "does Anthropic refuse this parameter on this model?", and
|
|
19
|
+
* Anthropic adds models that refuse things. A predicate starting to
|
|
20
|
+
* return `true` for a model id it returned `false` for (a newly listed
|
|
21
|
+
* model, or a newly recognised spelling of one) is an ADDITIVE change
|
|
22
|
+
* under VERSION-POLICY, not a breaking one: callers already handle both
|
|
23
|
+
* answers for every id. What is frozen is the signatures (`string` in,
|
|
24
|
+
* `boolean`/`string` out) and the direction of each answer. Never
|
|
25
|
+
* snapshot a predicate's output as a fixed list.
|
|
26
|
+
*
|
|
27
|
+
* The two directions are not equally safe. Widening (`true` for more
|
|
28
|
+
* ids) is the SAFE direction: a wrong `true` degrades to the permissive
|
|
29
|
+
* request (sampling params omitted, `tool_choice: auto`). Narrowing
|
|
30
|
+
* (`true` → `false`) is the UNSAFE direction: a wrong `false` sends a
|
|
31
|
+
* parameter the API rejects with a 400 — so a narrowing needs the
|
|
32
|
+
* vendor's page quoted on the issue, not only a test. For
|
|
33
|
+
* `normalizeAnthropicModelId`, which returns a string, the matching
|
|
34
|
+
* rule is that a newly recognised spelling maps to the SAME bare id,
|
|
35
|
+
* never a different one.
|
|
36
|
+
*/
|
|
37
|
+
/**
|
|
38
|
+
* Strip every routing spelling down to the bare Claude API id so the
|
|
39
|
+
* family predicates below see one form: `anthropic/claude-x`,
|
|
40
|
+
* `anthropic.claude-x`, `<profile>.anthropic.claude-x[-vN:M]` for every
|
|
41
|
+
* Bedrock cross-region profile in `BEDROCK_INFERENCE_REGION_PREFIXES`
|
|
42
|
+
* (ggui#1254 — the old two-letter match let `global.` and `apac.` through,
|
|
43
|
+
* so a `global.anthropic.claude-opus-5-5` route sent a forced tool choice
|
|
44
|
+
* and kept its sampling params), a `bedrock/` prefix, and the bare
|
|
45
|
+
* `claude-x` all normalize to `claude-x…`. OpenRouter's dotted versions
|
|
46
|
+
* (`anthropic/claude-opus-5.5`) keep their dot; the predicates accept
|
|
47
|
+
* both. ARNs are left as-is (they name a profile, not a family) and match
|
|
48
|
+
* no predicate.
|
|
49
|
+
*/
|
|
50
|
+
export declare function normalizeAnthropicModelId(model: string): string;
|
|
51
|
+
/**
|
|
52
|
+
* Models that reject non-default sampling parameters with HTTP 400:
|
|
53
|
+
* Opus 4.7 and everything after it (Fable 5, Fable 5.1, Opus 5,
|
|
54
|
+
* Sonnet 5). Haiku 4.5 (`claude-haiku-4-5*`) still accepts them.
|
|
55
|
+
* Strings per ggui#706 (platform.claude.com, verified 2026-09-02).
|
|
56
|
+
*/
|
|
57
|
+
export declare function anthropicRejectsSamplingParams(model: string): boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Models that reject a FORCED tool choice (`tool_choice: any` / a named
|
|
60
|
+
* tool) with HTTP 400: Claude Fable 5.1 (ggui#706), Claude Mythos 5.1,
|
|
61
|
+
* Claude Opus 5.5 (ggui#1254) and Claude Mythos Preview — the set the API
|
|
62
|
+
* reference names ("reject forced tool use"). Fable 5, Mythos 5 and Opus 5
|
|
63
|
+
* still accept it. `auto` is accepted by all. The version separator is `-`
|
|
64
|
+
* in API and Bedrock ids and `.` in OpenRouter's (`claude-opus-5.5`).
|
|
65
|
+
*/
|
|
66
|
+
export declare function anthropicRejectsForcedToolChoice(model: string): boolean;
|
|
67
|
+
//# sourceMappingURL=anthropic-model-rules.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"anthropic-model-rules.d.ts","sourceRoot":"","sources":["../../src/types/anthropic-model-rules.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AASH;;;;;;;;;;;;GAYG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAE/D;AAED;;;;;GAKG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAIrE;AAED;;;;;;;GAOG;AACH,wBAAgB,gCAAgC,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAIvE"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Anthropic model-family rules — which Claude models refuse which
|
|
3
|
+
* request parameters — shared by every caller that builds an Anthropic
|
|
4
|
+
* request: the generation harness's router (`@ggui-ai/ui-gen`), the
|
|
5
|
+
* negotiator's structured call (`@ggui-ai/mcp-server`), and the
|
|
6
|
+
* negotiator/probe tooling. One module instead of a copy per caller:
|
|
7
|
+
* a model the API starts refusing a parameter for is added here once.
|
|
8
|
+
* The families are regexes today — themselves a second list of models
|
|
9
|
+
* beside the registry — and ggui#1268 moves the forced-tool fact onto
|
|
10
|
+
* the registry rows.
|
|
11
|
+
*
|
|
12
|
+
* Lives in protocol beside `llm-route.ts` because model facts live
|
|
13
|
+
* here: the registry rows (`llm.ts`), the allowlists and the
|
|
14
|
+
* Bedrock/OpenRouter shape validators (`llm-route.ts`). Pure string
|
|
15
|
+
* predicates; no SDK, no I/O.
|
|
16
|
+
*
|
|
17
|
+
* **The model lists GROW, and that is the contract.** Each predicate
|
|
18
|
+
* answers "does Anthropic refuse this parameter on this model?", and
|
|
19
|
+
* Anthropic adds models that refuse things. A predicate starting to
|
|
20
|
+
* return `true` for a model id it returned `false` for (a newly listed
|
|
21
|
+
* model, or a newly recognised spelling of one) is an ADDITIVE change
|
|
22
|
+
* under VERSION-POLICY, not a breaking one: callers already handle both
|
|
23
|
+
* answers for every id. What is frozen is the signatures (`string` in,
|
|
24
|
+
* `boolean`/`string` out) and the direction of each answer. Never
|
|
25
|
+
* snapshot a predicate's output as a fixed list.
|
|
26
|
+
*
|
|
27
|
+
* The two directions are not equally safe. Widening (`true` for more
|
|
28
|
+
* ids) is the SAFE direction: a wrong `true` degrades to the permissive
|
|
29
|
+
* request (sampling params omitted, `tool_choice: auto`). Narrowing
|
|
30
|
+
* (`true` → `false`) is the UNSAFE direction: a wrong `false` sends a
|
|
31
|
+
* parameter the API rejects with a 400 — so a narrowing needs the
|
|
32
|
+
* vendor's page quoted on the issue, not only a test. For
|
|
33
|
+
* `normalizeAnthropicModelId`, which returns a string, the matching
|
|
34
|
+
* rule is that a newly recognised spelling maps to the SAME bare id,
|
|
35
|
+
* never a different one.
|
|
36
|
+
*/
|
|
37
|
+
import { BEDROCK_INFERENCE_REGION_PREFIXES } from "./llm-route.js";
|
|
38
|
+
/** `<region>.anthropic.` for every Bedrock profile prefix — built from the ONE list in `llm-route.ts`. */
|
|
39
|
+
const BEDROCK_PROFILE_PREFIX = new RegExp(`^(?:(?:${BEDROCK_INFERENCE_REGION_PREFIXES.join("|")})\\.)?anthropic\\.`);
|
|
40
|
+
/**
|
|
41
|
+
* Strip every routing spelling down to the bare Claude API id so the
|
|
42
|
+
* family predicates below see one form: `anthropic/claude-x`,
|
|
43
|
+
* `anthropic.claude-x`, `<profile>.anthropic.claude-x[-vN:M]` for every
|
|
44
|
+
* Bedrock cross-region profile in `BEDROCK_INFERENCE_REGION_PREFIXES`
|
|
45
|
+
* (ggui#1254 — the old two-letter match let `global.` and `apac.` through,
|
|
46
|
+
* so a `global.anthropic.claude-opus-5-5` route sent a forced tool choice
|
|
47
|
+
* and kept its sampling params), a `bedrock/` prefix, and the bare
|
|
48
|
+
* `claude-x` all normalize to `claude-x…`. OpenRouter's dotted versions
|
|
49
|
+
* (`anthropic/claude-opus-5.5`) keep their dot; the predicates accept
|
|
50
|
+
* both. ARNs are left as-is (they name a profile, not a family) and match
|
|
51
|
+
* no predicate.
|
|
52
|
+
*/
|
|
53
|
+
export function normalizeAnthropicModelId(model) {
|
|
54
|
+
return model.replace(/^bedrock\//, "").replace(/^anthropic\//, "").replace(BEDROCK_PROFILE_PREFIX, "");
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Models that reject non-default sampling parameters with HTTP 400:
|
|
58
|
+
* Opus 4.7 and everything after it (Fable 5, Fable 5.1, Opus 5,
|
|
59
|
+
* Sonnet 5). Haiku 4.5 (`claude-haiku-4-5*`) still accepts them.
|
|
60
|
+
* Strings per ggui#706 (platform.claude.com, verified 2026-09-02).
|
|
61
|
+
*/
|
|
62
|
+
export function anthropicRejectsSamplingParams(model) {
|
|
63
|
+
return /^claude-(?:opus-4-7|opus-5|sonnet-5|fable-5)(?:-|$)/.test(normalizeAnthropicModelId(model));
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Models that reject a FORCED tool choice (`tool_choice: any` / a named
|
|
67
|
+
* tool) with HTTP 400: Claude Fable 5.1 (ggui#706), Claude Mythos 5.1,
|
|
68
|
+
* Claude Opus 5.5 (ggui#1254) and Claude Mythos Preview — the set the API
|
|
69
|
+
* reference names ("reject forced tool use"). Fable 5, Mythos 5 and Opus 5
|
|
70
|
+
* still accept it. `auto` is accepted by all. The version separator is `-`
|
|
71
|
+
* in API and Bedrock ids and `.` in OpenRouter's (`claude-opus-5.5`).
|
|
72
|
+
*/
|
|
73
|
+
export function anthropicRejectsForcedToolChoice(model) {
|
|
74
|
+
return /^claude-(?:fable-5[-.]1|mythos-5[-.]1|opus-5[-.]5|mythos-preview)(?:-|$)/.test(normalizeAnthropicModelId(model));
|
|
75
|
+
}
|
|
@@ -51,11 +51,11 @@
|
|
|
51
51
|
* ready.
|
|
52
52
|
*/
|
|
53
53
|
export declare const MODELS: {
|
|
54
|
-
readonly anthropic: readonly ["claude-fable-5-1", "claude-fable-5", "claude-opus-5", "claude-sonnet-5", "claude-haiku-4-5-20251001", "claude-opus-4-8", "claude-sonnet-4-6", "claude-opus-4-7", "claude-opus-4-6"];
|
|
55
|
-
readonly openai: readonly ["gpt-6-astra", "gpt-5.6", "gpt-5.6-sol", "gpt-5.6-terra", "gpt-5.6-luna", "gpt-5.5", "gpt-5.5-2026-04-23", "gpt-5.5-pro", "gpt-5.5-pro-2026-04-23", "gpt-5.4", "gpt-5.4-2026-03-05", "gpt-5.4-mini", "gpt-5.4-mini-2026-03-17", "gpt-5.4-nano", "gpt-5.4-nano-2026-03-17", "gpt-5.3-codex"];
|
|
54
|
+
readonly anthropic: readonly ["claude-fable-5-1", "claude-opus-5-5", "claude-fable-5", "claude-opus-5", "claude-sonnet-5", "claude-haiku-4-5-20251001", "claude-opus-4-8", "claude-sonnet-4-6", "claude-opus-4-7", "claude-opus-4-6"];
|
|
55
|
+
readonly openai: readonly ["gpt-6-astra", "gpt-6-sol", "gpt-6-luna", "gpt-5.6", "gpt-5.6-sol", "gpt-5.6-terra", "gpt-5.6-luna", "gpt-5.5", "gpt-5.5-2026-04-23", "gpt-5.5-pro", "gpt-5.5-pro-2026-04-23", "gpt-5.4", "gpt-5.4-2026-03-05", "gpt-5.4-mini", "gpt-5.4-mini-2026-03-17", "gpt-5.4-nano", "gpt-5.4-nano-2026-03-17", "gpt-5.3-codex"];
|
|
56
56
|
readonly google: readonly ["gemini-3.7-flash", "gemini-3.6-flash", "gemini-3.5-flash", "gemini-3.5-flash-lite", "gemini-flash-latest", "gemini-3.1-flash-lite", "gemini-3.1-pro-preview", "gemini-3.1-flash-lite-preview", "gemini-3-flash-preview"];
|
|
57
57
|
readonly bedrock: readonly ["anthropic.claude-fable-5-1", "anthropic.claude-fable-5", "anthropic.claude-opus-5", "anthropic.claude-sonnet-5", "anthropic.claude-opus-4-8", "us.anthropic.claude-haiku-4-5-20251001-v1:0", "eu.anthropic.claude-haiku-4-5-20251001-v1:0", "apac.anthropic.claude-haiku-4-5-20251001-v1:0", "global.anthropic.claude-haiku-4-5-20251001-v1:0", "us.anthropic.claude-sonnet-4-6", "eu.anthropic.claude-sonnet-4-6", "apac.anthropic.claude-sonnet-4-6", "us.anthropic.claude-opus-4-7", "eu.anthropic.claude-opus-4-7", "apac.anthropic.claude-opus-4-7", "global.anthropic.claude-opus-4-7", "us.anthropic.claude-opus-4-6-v1"];
|
|
58
|
-
readonly openrouter: readonly ["anthropic/claude-fable-5", "anthropic/claude-opus-5", "anthropic/claude-sonnet-5", "anthropic/claude-haiku-4.5", "anthropic/claude-sonnet-4.6", "anthropic/claude-opus-4.7", "openai/gpt-5.6-sol", "openai/gpt-5.6-terra", "openai/gpt-5.6-luna", "openai/gpt-5.5", "openai/gpt-5.5-pro", "openai/gpt-5.4-mini", "openai/gpt-5.4-nano", "google/gemini-3.6-flash", "google/gemini-3.5-flash", "google/gemini-3.5-flash-lite", "google/gemini-3.1-pro-preview", "google/gemini-3.1-flash-lite", "x-ai/grok-4.3", "meta-llama/llama-4-maverick", "meta-llama/llama-3.3-70b-instruct", "deepseek/deepseek-v4-pro", "deepseek/deepseek-r1-0528", "qwen/qwen3.7-max", "qwen/qwen3-coder", "
|
|
58
|
+
readonly openrouter: readonly ["anthropic/claude-fable-5", "anthropic/claude-opus-5", "anthropic/claude-sonnet-5", "anthropic/claude-haiku-4.5", "anthropic/claude-sonnet-4.6", "anthropic/claude-opus-4.7", "openai/gpt-5.6-sol", "openai/gpt-5.6-terra", "openai/gpt-5.6-luna", "openai/gpt-5.5", "openai/gpt-5.5-pro", "openai/gpt-5.4-mini", "openai/gpt-5.4-nano", "google/gemini-3.6-flash", "google/gemini-3.5-flash", "google/gemini-3.5-flash-lite", "google/gemini-3.1-pro-preview", "google/gemini-3.1-flash-lite", "x-ai/grok-4.3", "meta-llama/llama-4-maverick", "meta-llama/llama-3.3-70b-instruct", "deepseek/deepseek-v4-pro", "deepseek/deepseek-r1-0528", "qwen/qwen3.7-max", "qwen/qwen3-coder", "openai/gpt-oss-120b"];
|
|
59
59
|
};
|
|
60
60
|
/**
|
|
61
61
|
* Every supported LLM provider. Adding a new provider = add a key to
|
|
@@ -138,12 +138,23 @@ export declare function isKnownModel<P extends LlmProvider>(provider: P, model:
|
|
|
138
138
|
* Strings that fail it are rejected at the parser boundary.
|
|
139
139
|
*/
|
|
140
140
|
export declare function isValidOpenrouterModel(s: string): boolean;
|
|
141
|
+
/**
|
|
142
|
+
* The Bedrock cross-region inference-profile prefixes — the `<region>.`
|
|
143
|
+
* a profile id carries before its vendor (`us.anthropic.claude-…`). ONE
|
|
144
|
+
* list (ggui#1254): {@link isValidBedrockModel}'s shape doc and the
|
|
145
|
+
* Anthropic id normalizer (`anthropic-model-rules.ts`) both read it, where
|
|
146
|
+
* the docblock said `us`/`eu`/`apac`/`global`, the normalizer matched any
|
|
147
|
+
* two letters and so missed `apac.`/`global.`, and AWS's Opus 5.5 model
|
|
148
|
+
* card also publishes `au.` and `jp.`. A new AWS profile prefix is added
|
|
149
|
+
* here and every reader follows.
|
|
150
|
+
*/
|
|
151
|
+
export declare const BEDROCK_INFERENCE_REGION_PREFIXES: readonly ["us", "eu", "au", "jp", "apac", "global"];
|
|
141
152
|
/**
|
|
142
153
|
* Validate a Bedrock model string by shape. AWS accepts THREE forms:
|
|
143
154
|
*
|
|
144
155
|
* - Cross-region inference profile ids — `<region>.<inner>` where
|
|
145
|
-
* region is
|
|
146
|
-
* `-`, `:`, alphanumerics (e.g.
|
|
156
|
+
* region is one of {@link BEDROCK_INFERENCE_REGION_PREFIXES} and inner
|
|
157
|
+
* contains `.`, `-`, `:`, alphanumerics (e.g.
|
|
147
158
|
* `'us.anthropic.claude-haiku-4-5-20251001-v1:0'`).
|
|
148
159
|
* - Bedrock foundation model ids — bare `<vendor>.<model>` form
|
|
149
160
|
* (e.g. `'anthropic.claude-sonnet-4-6'`).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"llm-route.d.ts","sourceRoot":"","sources":["../../src/types/llm-route.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAMH;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,MAAM;;;;;;
|
|
1
|
+
{"version":3,"file":"llm-route.d.ts","sourceRoot":"","sources":["../../src/types/llm-route.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAMH;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,MAAM;;;;;;CAkKT,CAAC;AAMX;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,OAAO,MAAM,CAAC;AAE9C;;;;GAIG;AACH,MAAM,MAAM,YAAY,CAAC,CAAC,SAAS,WAAW,IAAI,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;AAE7E;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,MAAM,OAAO,CAAC,CAAC,SAAS,WAAW,IAAI,CAAC,SAC1C,YAAY,GACZ,SAAS,GACT,YAAY,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,GAC/B,YAAY,CAAC,CAAC,CAAC,CAAC;AAEpB;;;;;;;;;;;;;;;GAeG;AACH,MAAM,MAAM,QAAQ,GAAG;KACpB,CAAC,IAAI,WAAW,GAAG;QAAE,QAAQ,EAAE,CAAC,CAAC;QAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC,CAAA;KAAE;CACvD,CAAC,WAAW,CAAC,CAAC;AAMf;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,GAAG,CAAC,IAAI,WAAW,CAEzD;AAED;;;;GAIG;AACH,wBAAgB,YAAY,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;AACH,MAAM,MAAM,QAAQ,GAAG,GAAG,cAAc,IAAI,MAAM,EAAE,CAAC;AAErD;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,QAAQ,GAAG,QAAQ,CAIzD;AAED;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,IAAI,CAIxD;AAED,qEAAqE;AACrE,wBAAgB,UAAU,CAAC,CAAC,EAAE,MAAM,GAAG,CAAC,IAAI,QAAQ,CAEnD"}
|
package/dist/types/llm-route.js
CHANGED
|
@@ -61,6 +61,7 @@ export const MODELS = {
|
|
|
61
61
|
// Mythos-class Fable 5; 2026-09: Fable 5.1) and the 4.6–4.8 generation carry undated
|
|
62
62
|
// wire IDs; Haiku 4.5 still uses the dated form.
|
|
63
63
|
'claude-fable-5-1', // 2026-09 (ggui#706); dateless like the rest of the 5 family
|
|
64
|
+
'claude-opus-5-5', // 2026-09-22 (ggui#1252); dateless — platform.claude.com model-deprecations: Active, retire ≥ 2027-09-22
|
|
64
65
|
'claude-fable-5',
|
|
65
66
|
'claude-opus-5',
|
|
66
67
|
'claude-sonnet-5',
|
|
@@ -79,6 +80,12 @@ export const MODELS = {
|
|
|
79
80
|
// `gpt-5.6` alias routes to Sol on OpenAI's side. No dated
|
|
80
81
|
// siblings registered at adoption time.
|
|
81
82
|
'gpt-6-astra', // ggui#977 (2026-09-09): listed by `GET /v1/models/gpt-6-astra` → 200
|
|
83
|
+
// GPT-6 Sol + Luna (2026-09-22, ggui#1252): undated aliases, no dated
|
|
84
|
+
// snapshot published ("Snapshot: gpt-6-sol" / "gpt-6-luna" on each model
|
|
85
|
+
// page). Chat Completions tool calling requires `reasoning_effort: none`
|
|
86
|
+
// on both (the model pages) — the adapter's concern, not the allowlist's.
|
|
87
|
+
'gpt-6-sol',
|
|
88
|
+
'gpt-6-luna',
|
|
82
89
|
'gpt-5.6',
|
|
83
90
|
'gpt-5.6-sol',
|
|
84
91
|
'gpt-5.6-terra',
|
|
@@ -126,8 +133,12 @@ export const MODELS = {
|
|
|
126
133
|
// before locking expanded coverage.
|
|
127
134
|
// - Region-less `anthropic.*` IDs — served ONLY by the
|
|
128
135
|
// Messages-API Bedrock endpoint (`AnthropicBedrockMantle`).
|
|
129
|
-
//
|
|
130
|
-
// (per the Anthropic models doc).
|
|
136
|
+
// At the 2026-08-13 probe the Claude 5 family and Opus 4.8
|
|
137
|
+
// existed ONLY in this family (per the Anthropic models doc).
|
|
138
|
+
// Not a rule for later releases: AWS's Opus 5.5 card lists
|
|
139
|
+
// region-prefixed profiles too (`us.` / `eu.` / `global.` …).
|
|
140
|
+
// Bedrock Opus 5.5 is NOT registered here (ggui#1251: model
|
|
141
|
+
// access not open, no vendored LiteLLM Bedrock price row). Requires the AWS account to
|
|
131
142
|
// have enabled Claude in Amazon Bedrock; otherwise every id
|
|
132
143
|
// 403s "not available for this account".
|
|
133
144
|
// Messages-API endpoint (Mantle) — Claude 5 family + Opus 4.8
|
|
@@ -196,7 +207,6 @@ export const MODELS = {
|
|
|
196
207
|
'deepseek/deepseek-r1-0528',
|
|
197
208
|
'qwen/qwen3.7-max',
|
|
198
209
|
'qwen/qwen3-coder',
|
|
199
|
-
'mistralai/mistral-large-2512',
|
|
200
210
|
'openai/gpt-oss-120b',
|
|
201
211
|
],
|
|
202
212
|
};
|
|
@@ -234,12 +244,23 @@ export function isValidOpenrouterModel(s) {
|
|
|
234
244
|
// `/` separator. OpenRouter's catalog uses all of these.
|
|
235
245
|
return /^[A-Za-z0-9._:-]+\/[A-Za-z0-9._:-]+$/.test(s);
|
|
236
246
|
}
|
|
247
|
+
/**
|
|
248
|
+
* The Bedrock cross-region inference-profile prefixes — the `<region>.`
|
|
249
|
+
* a profile id carries before its vendor (`us.anthropic.claude-…`). ONE
|
|
250
|
+
* list (ggui#1254): {@link isValidBedrockModel}'s shape doc and the
|
|
251
|
+
* Anthropic id normalizer (`anthropic-model-rules.ts`) both read it, where
|
|
252
|
+
* the docblock said `us`/`eu`/`apac`/`global`, the normalizer matched any
|
|
253
|
+
* two letters and so missed `apac.`/`global.`, and AWS's Opus 5.5 model
|
|
254
|
+
* card also publishes `au.` and `jp.`. A new AWS profile prefix is added
|
|
255
|
+
* here and every reader follows.
|
|
256
|
+
*/
|
|
257
|
+
export const BEDROCK_INFERENCE_REGION_PREFIXES = ["us", "eu", "au", "jp", "apac", "global"];
|
|
237
258
|
/**
|
|
238
259
|
* Validate a Bedrock model string by shape. AWS accepts THREE forms:
|
|
239
260
|
*
|
|
240
261
|
* - Cross-region inference profile ids — `<region>.<inner>` where
|
|
241
|
-
* region is
|
|
242
|
-
* `-`, `:`, alphanumerics (e.g.
|
|
262
|
+
* region is one of {@link BEDROCK_INFERENCE_REGION_PREFIXES} and inner
|
|
263
|
+
* contains `.`, `-`, `:`, alphanumerics (e.g.
|
|
243
264
|
* `'us.anthropic.claude-haiku-4-5-20251001-v1:0'`).
|
|
244
265
|
* - Bedrock foundation model ids — bare `<vendor>.<model>` form
|
|
245
266
|
* (e.g. `'anthropic.claude-sonnet-4-6'`).
|
package/dist/types/llm.d.ts
CHANGED
|
@@ -132,6 +132,23 @@ declare const MODEL_ROWS: {
|
|
|
132
132
|
readonly maxTokens: 1000000;
|
|
133
133
|
readonly supportsTools: true;
|
|
134
134
|
};
|
|
135
|
+
readonly "anthropic/claude-opus-5-5": {
|
|
136
|
+
readonly id: "anthropic/claude-opus-5-5";
|
|
137
|
+
readonly provider: "anthropic";
|
|
138
|
+
readonly displayName: "Claude Opus 5.5";
|
|
139
|
+
readonly tier: "premium";
|
|
140
|
+
readonly state: "active";
|
|
141
|
+
readonly lineup: false;
|
|
142
|
+
readonly retireNotBefore: "2027-09-22";
|
|
143
|
+
readonly costs: {
|
|
144
|
+
readonly inputPer1M: 4;
|
|
145
|
+
readonly outputPer1M: 20;
|
|
146
|
+
readonly cacheWritePer1M: 5;
|
|
147
|
+
readonly cacheReadPer1M: 0.2;
|
|
148
|
+
};
|
|
149
|
+
readonly maxTokens: 1000000;
|
|
150
|
+
readonly supportsTools: true;
|
|
151
|
+
};
|
|
135
152
|
readonly "anthropic/claude-opus-5": {
|
|
136
153
|
readonly id: "anthropic/claude-opus-5";
|
|
137
154
|
readonly provider: "anthropic";
|
|
@@ -352,6 +369,38 @@ declare const MODEL_ROWS: {
|
|
|
352
369
|
readonly maxTokens: 922000;
|
|
353
370
|
readonly supportsTools: true;
|
|
354
371
|
};
|
|
372
|
+
readonly "openai/gpt-6-sol": {
|
|
373
|
+
readonly id: "openai/gpt-6-sol";
|
|
374
|
+
readonly provider: "openai";
|
|
375
|
+
readonly displayName: "GPT-6 Sol";
|
|
376
|
+
readonly tier: "balanced";
|
|
377
|
+
readonly state: "active";
|
|
378
|
+
readonly lineup: false;
|
|
379
|
+
readonly costs: {
|
|
380
|
+
readonly inputPer1M: 2;
|
|
381
|
+
readonly outputPer1M: 10;
|
|
382
|
+
readonly cacheWritePer1M: 2.5;
|
|
383
|
+
readonly cacheReadPer1M: 0.2;
|
|
384
|
+
};
|
|
385
|
+
readonly maxTokens: 1050000;
|
|
386
|
+
readonly supportsTools: true;
|
|
387
|
+
};
|
|
388
|
+
readonly "openai/gpt-6-luna": {
|
|
389
|
+
readonly id: "openai/gpt-6-luna";
|
|
390
|
+
readonly provider: "openai";
|
|
391
|
+
readonly displayName: "GPT-6 Luna";
|
|
392
|
+
readonly tier: "fast";
|
|
393
|
+
readonly state: "active";
|
|
394
|
+
readonly lineup: false;
|
|
395
|
+
readonly costs: {
|
|
396
|
+
readonly inputPer1M: 0.1;
|
|
397
|
+
readonly outputPer1M: 0.5;
|
|
398
|
+
readonly cacheWritePer1M: 0.125;
|
|
399
|
+
readonly cacheReadPer1M: 0.01;
|
|
400
|
+
};
|
|
401
|
+
readonly maxTokens: 1050000;
|
|
402
|
+
readonly supportsTools: true;
|
|
403
|
+
};
|
|
355
404
|
readonly "openai/gpt-5.6-sol": {
|
|
356
405
|
readonly id: "openai/gpt-5.6-sol";
|
|
357
406
|
readonly provider: "openai";
|
package/dist/types/llm.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"llm.d.ts","sourceRoot":"","sources":["../../src/types/llm.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAMlD,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,UAAU,GAAG,SAAS,CAAC;AAExD;;;;;;GAMG;AACH,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAE7C,iEAAiE;AACjE,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,WAAW,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,SAAS,CAAC;IAChB,8BAA8B;IAC9B,KAAK,EAAE,UAAU,CAAC;IAClB;;;;;OAKG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,KAAK,EAAE;QACL,UAAU,EAAE,MAAM,CAAC;QACnB,WAAW,EAAE,MAAM,CAAC;QACpB;;;;WAIG;QACH,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB;;;;WAIG;QACH,cAAc,CAAC,EAAE,MAAM,CAAC;KACzB,CAAC;IACF,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,OAAO,CAAC;IACvB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAkBD,QAAA,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"llm.d.ts","sourceRoot":"","sources":["../../src/types/llm.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmad,CAAC;AAEH,iEAAiE;AACjE,MAAM,MAAM,OAAO,GAAG,MAAM,OAAO,UAAU,CAAC;AAE9C,4CAA4C;AAC5C,MAAM,WAAW,WAAY,SAAQ,eAAe;IAClD,EAAE,EAAE,OAAO,CAAC;CACb;AAED;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,OAAO,EAAE,WAAW,CAAC,CAAc,CAAC;AAEjF,sGAAsG;AACtG,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,OAAO,CAEzD;AAED,6GAA6G;AAC7G,eAAO,MAAM,SAAS,EAAE,SAAS,OAAO,EAA8C,CAAC;AAEvF;;;;;GAKG;AACH,eAAO,MAAM,YAAY,EAAE,SAAS,OAAO,EAEA,CAAC;AAE5C,+CAA+C;AAC/C,wBAAgB,aAAa,CAAC,EAAE,EAAE,OAAO,GAAG,OAAO,CAElD;AAED;;;GAGG;AACH,eAAO,MAAM,aAAa,EAAE,OAAsC,CAAC"}
|
package/dist/types/llm.js
CHANGED
|
@@ -101,6 +101,31 @@ const MODEL_ROWS = defineModelRegistry({
|
|
|
101
101
|
maxTokens: 1000000,
|
|
102
102
|
supportsTools: true,
|
|
103
103
|
},
|
|
104
|
+
// ggui#1252 (2026-09-23) — strings quoted from platform.claude.com, fetched
|
|
105
|
+
// 2026-09-23: pricing "Claude Opus 5.5 | $4 / MTok | $5 / MTok | $8 / MTok |
|
|
106
|
+
// $0.20 / MTok | $20 / MTok"; model-deprecations "claude-opus-5-5 | Active |
|
|
107
|
+
// N/A | Not sooner than September 22, 2027". 1M context. Not in the lineup
|
|
108
|
+
// (founder ruling 2026-09-23: support ships, no default and no lineup move).
|
|
109
|
+
"anthropic/claude-opus-5-5": {
|
|
110
|
+
id: "anthropic/claude-opus-5-5",
|
|
111
|
+
provider: "anthropic",
|
|
112
|
+
displayName: "Claude Opus 5.5",
|
|
113
|
+
tier: "premium",
|
|
114
|
+
state: "active",
|
|
115
|
+
lineup: false,
|
|
116
|
+
retireNotBefore: "2027-09-22",
|
|
117
|
+
costs: {
|
|
118
|
+
inputPer1M: 4.0,
|
|
119
|
+
outputPer1M: 20.0,
|
|
120
|
+
// 5-minute cache write (1.25×); the 1h write ($8) is not modeled.
|
|
121
|
+
cacheWritePer1M: 5.0,
|
|
122
|
+
// NOT the usual 0.1× — pricing footnote 2: "Cache hits and refreshes
|
|
123
|
+
// on Claude Opus 5.5 are priced at 0.05x the base input price." $0.20.
|
|
124
|
+
cacheReadPer1M: 0.2,
|
|
125
|
+
},
|
|
126
|
+
maxTokens: 1000000,
|
|
127
|
+
supportsTools: true,
|
|
128
|
+
},
|
|
104
129
|
"anthropic/claude-opus-5": {
|
|
105
130
|
id: "anthropic/claude-opus-5",
|
|
106
131
|
provider: "anthropic",
|
|
@@ -328,6 +353,45 @@ const MODEL_ROWS = defineModelRegistry({
|
|
|
328
353
|
maxTokens: 922000,
|
|
329
354
|
supportsTools: true,
|
|
330
355
|
},
|
|
356
|
+
// ggui#1252 (2026-09-23) — quoted from developers.openai.com/api/docs/models
|
|
357
|
+
// (gpt-6-sol, gpt-6-luna), fetched 2026-09-23: "1,050,000 context window"
|
|
358
|
+
// (`maxTokens` is the context window, as on every row — #977's semantics;
|
|
359
|
+
// the page's "Maximum input tokens: 922,000" is a different number), prices
|
|
360
|
+
// per 1M as the rows below, no dated snapshot, no retirement date published
|
|
361
|
+
// → `retireNotBefore` unset. Not in the lineup (founder ruling 2026-09-23).
|
|
362
|
+
// Sol's tier: see ggui#1252 (founder's call, package D2b).
|
|
363
|
+
"openai/gpt-6-sol": {
|
|
364
|
+
id: "openai/gpt-6-sol",
|
|
365
|
+
provider: "openai",
|
|
366
|
+
displayName: "GPT-6 Sol",
|
|
367
|
+
tier: "balanced",
|
|
368
|
+
state: "active",
|
|
369
|
+
lineup: false,
|
|
370
|
+
costs: {
|
|
371
|
+
inputPer1M: 2.0,
|
|
372
|
+
outputPer1M: 10.0,
|
|
373
|
+
cacheWritePer1M: 2.5,
|
|
374
|
+
cacheReadPer1M: 0.2,
|
|
375
|
+
},
|
|
376
|
+
maxTokens: 1050000,
|
|
377
|
+
supportsTools: true,
|
|
378
|
+
},
|
|
379
|
+
"openai/gpt-6-luna": {
|
|
380
|
+
id: "openai/gpt-6-luna",
|
|
381
|
+
provider: "openai",
|
|
382
|
+
displayName: "GPT-6 Luna",
|
|
383
|
+
tier: "fast",
|
|
384
|
+
state: "active",
|
|
385
|
+
lineup: false,
|
|
386
|
+
costs: {
|
|
387
|
+
inputPer1M: 0.1,
|
|
388
|
+
outputPer1M: 0.5,
|
|
389
|
+
cacheWritePer1M: 0.125,
|
|
390
|
+
cacheReadPer1M: 0.01,
|
|
391
|
+
},
|
|
392
|
+
maxTokens: 1050000,
|
|
393
|
+
supportsTools: true,
|
|
394
|
+
},
|
|
331
395
|
"openai/gpt-5.6-sol": {
|
|
332
396
|
id: "openai/gpt-5.6-sol",
|
|
333
397
|
provider: "openai",
|
package/dist/version.d.ts
CHANGED
|
@@ -6,6 +6,20 @@
|
|
|
6
6
|
* schema change; the most recent change anchors {@link PROTOCOL_VERSION}.
|
|
7
7
|
*
|
|
8
8
|
* --------------------------------------------------------------------
|
|
9
|
+
* Model registry: `anthropic/claude-opus-5-5`, `openai/gpt-6-sol`,
|
|
10
|
+
* `openai/gpt-6-luna` (2026-09-23, additive, ggui#1252 — MINOR, same draft
|
|
11
|
+
* stamp; the protocol half of the new-models support batch ggui#1251, WITH
|
|
12
|
+
* cloud's LiteLLM re-vendor). Three `ModelId` rows + `MODELS.anthropic` /
|
|
13
|
+
* `MODELS.openai` entries; all `active`, none in the lineup, no default
|
|
14
|
+
* moves. Opus 5.5 4 / 20 / 5 / 0.2 (0.05× cache read), `maxTokens`
|
|
15
|
+
* 1000000, `retireNotBefore` 2027-09-22; Sol 2 / 10 / 2.5 / 0.2 and Luna
|
|
16
|
+
* 0.1 / 0.5 / 0.125 / 0.01, `maxTokens` 1050000 (the context window), no
|
|
17
|
+
* retirement floor published. Every field quoted from the vendor page on
|
|
18
|
+
* the issue. `mistralai/mistral-large-2512` leaves `MODELS.openrouter`
|
|
19
|
+
* (retired upstream: LiteLLM dropped it, OpenRouter no longer lists it);
|
|
20
|
+
* the route stays accepted by shape like any uncurated slug. Bedrock Opus
|
|
21
|
+
* 5.5 is not registered (held). No `PROTOCOL_VERSION` move.
|
|
22
|
+
* --------------------------------------------------------------------
|
|
9
23
|
* Theme CARRY read (2026-09-17, additive, ggui#1155 — MINOR, same draft
|
|
10
24
|
* stamp): `appThemeCarrySchema` / `AppThemeCarry` and
|
|
11
25
|
* `appThemeGetResponseSchema` / `AppThemeGetResponse` — the REPRODUCE side
|
|
@@ -3748,7 +3762,7 @@ export declare const PROTOCOL_VERSION = "draft-2026-09-10";
|
|
|
3748
3762
|
* PATCH under §1.3); it cannot be cut from main, whose delta since
|
|
3749
3763
|
* 0.14.0 is minor-class.
|
|
3750
3764
|
*/
|
|
3751
|
-
export declare const GGUI_WAVE_VERSION = "0.
|
|
3765
|
+
export declare const GGUI_WAVE_VERSION = "0.21.0";
|
|
3752
3766
|
/**
|
|
3753
3767
|
* Schema version stamped onto wire envelopes that opt into the
|
|
3754
3768
|
* `schemaVersion` forward-compat field (see {@link ActionEnvelope},
|
package/dist/version.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0oHG;AACH,eAAO,MAAM,gBAAgB,qBAAqB,CAAC;AAEnD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,eAAO,MAAM,iBAAiB,WAAW,CAAC;AAE1C;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,uBAAuB,qBAAmB,CAAC;AAExD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,gBAAgB,qBAAqB,CAAC;AAEnD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,yBAAyB,EAAE,SAAS,MAAM,EAErD,CAAC"}
|
package/dist/version.js
CHANGED
|
@@ -6,6 +6,20 @@
|
|
|
6
6
|
* schema change; the most recent change anchors {@link PROTOCOL_VERSION}.
|
|
7
7
|
*
|
|
8
8
|
* --------------------------------------------------------------------
|
|
9
|
+
* Model registry: `anthropic/claude-opus-5-5`, `openai/gpt-6-sol`,
|
|
10
|
+
* `openai/gpt-6-luna` (2026-09-23, additive, ggui#1252 — MINOR, same draft
|
|
11
|
+
* stamp; the protocol half of the new-models support batch ggui#1251, WITH
|
|
12
|
+
* cloud's LiteLLM re-vendor). Three `ModelId` rows + `MODELS.anthropic` /
|
|
13
|
+
* `MODELS.openai` entries; all `active`, none in the lineup, no default
|
|
14
|
+
* moves. Opus 5.5 4 / 20 / 5 / 0.2 (0.05× cache read), `maxTokens`
|
|
15
|
+
* 1000000, `retireNotBefore` 2027-09-22; Sol 2 / 10 / 2.5 / 0.2 and Luna
|
|
16
|
+
* 0.1 / 0.5 / 0.125 / 0.01, `maxTokens` 1050000 (the context window), no
|
|
17
|
+
* retirement floor published. Every field quoted from the vendor page on
|
|
18
|
+
* the issue. `mistralai/mistral-large-2512` leaves `MODELS.openrouter`
|
|
19
|
+
* (retired upstream: LiteLLM dropped it, OpenRouter no longer lists it);
|
|
20
|
+
* the route stays accepted by shape like any uncurated slug. Bedrock Opus
|
|
21
|
+
* 5.5 is not registered (held). No `PROTOCOL_VERSION` move.
|
|
22
|
+
* --------------------------------------------------------------------
|
|
9
23
|
* Theme CARRY read (2026-09-17, additive, ggui#1155 — MINOR, same draft
|
|
10
24
|
* stamp): `appThemeCarrySchema` / `AppThemeCarry` and
|
|
11
25
|
* `appThemeGetResponseSchema` / `AppThemeGetResponse` — the REPRODUCE side
|
|
@@ -3748,7 +3762,7 @@ export const PROTOCOL_VERSION = "draft-2026-09-10";
|
|
|
3748
3762
|
* PATCH under §1.3); it cannot be cut from main, whose delta since
|
|
3749
3763
|
* 0.14.0 is minor-class.
|
|
3750
3764
|
*/
|
|
3751
|
-
export const GGUI_WAVE_VERSION = "0.
|
|
3765
|
+
export const GGUI_WAVE_VERSION = "0.21.0";
|
|
3752
3766
|
/**
|
|
3753
3767
|
* Schema version stamped onto wire envelopes that opt into the
|
|
3754
3768
|
* `schemaVersion` forward-compat field (see {@link ActionEnvelope},
|