@tormentalabs/claude-code-wire-compat 0.7.1 → 0.8.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/CHANGELOG.md +74 -0
- package/README.md +27 -4
- package/dist/account-features.d.ts +11 -0
- package/dist/account-features.d.ts.map +1 -0
- package/dist/account-features.js +98 -0
- package/dist/account-features.js.map +1 -0
- package/dist/anti-verbosity.d.ts.map +1 -1
- package/dist/anti-verbosity.js +3 -3
- package/dist/anti-verbosity.js.map +1 -1
- package/dist/betas.d.ts +74 -2
- package/dist/betas.d.ts.map +1 -1
- package/dist/betas.js +158 -18
- package/dist/betas.js.map +1 -1
- package/dist/build-request.d.ts.map +1 -1
- package/dist/build-request.js +201 -19
- package/dist/build-request.js.map +1 -1
- package/dist/contracts.d.ts +181 -2
- package/dist/contracts.d.ts.map +1 -1
- package/dist/contracts.js.map +1 -1
- package/dist/fingerprint.d.ts +28 -5
- package/dist/fingerprint.d.ts.map +1 -1
- package/dist/fingerprint.js +63 -5
- package/dist/fingerprint.js.map +1 -1
- package/dist/headers.d.ts +60 -1
- package/dist/headers.d.ts.map +1 -1
- package/dist/headers.js +176 -23
- package/dist/headers.js.map +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/model-capabilities.d.ts +8 -4
- package/dist/model-capabilities.d.ts.map +1 -1
- package/dist/model-capabilities.js +14 -7
- package/dist/model-capabilities.js.map +1 -1
- package/dist/model-identity.d.ts +15 -2
- package/dist/model-identity.d.ts.map +1 -1
- package/dist/model-identity.js +44 -1
- package/dist/model-identity.js.map +1 -1
- package/dist/model-queries.d.ts +11 -1
- package/dist/model-queries.d.ts.map +1 -1
- package/dist/model-queries.js +51 -7
- package/dist/model-queries.js.map +1 -1
- package/dist/models.d.ts.map +1 -1
- package/dist/models.js +2 -2
- package/dist/models.js.map +1 -1
- package/dist/profile-behaviors.d.ts +72 -0
- package/dist/profile-behaviors.d.ts.map +1 -1
- package/dist/profile-behaviors.js +66 -15
- package/dist/profile-behaviors.js.map +1 -1
- package/dist/profiles/beta-registry-2.1.329.d.ts +229 -0
- package/dist/profiles/beta-registry-2.1.329.d.ts.map +1 -0
- package/dist/profiles/beta-registry-2.1.329.js +281 -0
- package/dist/profiles/beta-registry-2.1.329.js.map +1 -0
- package/dist/profiles/claude-code-2.1.329.d.ts +3 -0
- package/dist/profiles/claude-code-2.1.329.d.ts.map +1 -0
- package/dist/profiles/claude-code-2.1.329.js +466 -0
- package/dist/profiles/claude-code-2.1.329.js.map +1 -0
- package/dist/redaction.d.ts.map +1 -1
- package/dist/redaction.js +1 -0
- package/dist/redaction.js.map +1 -1
- package/dist/request-body.d.ts +27 -1
- package/dist/request-body.d.ts.map +1 -1
- package/dist/request-body.js +184 -16
- package/dist/request-body.js.map +1 -1
- package/dist/tools-used.d.ts +52 -0
- package/dist/tools-used.d.ts.map +1 -0
- package/dist/tools-used.js +116 -0
- package/dist/tools-used.js.map +1 -0
- package/package.json +5 -1
- package/src/account-features.ts +114 -0
- package/src/anti-verbosity.ts +8 -3
- package/src/betas.ts +252 -22
- package/src/build-request.ts +245 -22
- package/src/contracts.ts +185 -3
- package/src/fingerprint.ts +84 -7
- package/src/headers.ts +221 -21
- package/src/index.ts +10 -0
- package/src/model-capabilities.ts +16 -7
- package/src/model-identity.ts +62 -2
- package/src/model-queries.ts +71 -8
- package/src/models.ts +2 -1
- package/src/profile-behaviors.ts +150 -16
- package/src/profiles/beta-registry-2.1.329.ts +298 -0
- package/src/profiles/claude-code-2.1.329.ts +471 -0
- package/src/redaction.ts +1 -0
- package/src/request-body.ts +242 -17
- package/src/tools-used.ts +134 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model-identity.js","sourceRoot":"","sources":["../src/model-identity.ts"],"names":[],"mappings":"AAAA,4CAA4C;
|
|
1
|
+
{"version":3,"file":"model-identity.js","sourceRoot":"","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O,CAAC;QAAE,OAAO,OAAO,CAAC;IACnD,IAAI,YAAY,CAAC,QAAQ,CAAC,QAAQ,CAAC;QAAE,OAAO,QAAQ,CAAC;IACrD,IAAI,YAAY,CAAC,QAAQ,CAAC,OAAO,CAAC;QAAE,OAAO,OAAO,CAAC;IACnD,IAAI,YAAY,CAAC,QAAQ,CAAC,QAAQ,CAAC;QAAE,OAAO,QAAQ,CAAC;IACrD,IAAI,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC;QAAE,OAAO,MAAM,CAAC;IACjD,OAAO,SAAS,CAAC;AACnB,CAAC"}
|
package/dist/model-queries.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ClaudeCodeProtocolProfile } from "./contracts.js";
|
|
1
|
+
import type { ClaudeCodeCatalogueEntry, ClaudeCodeProtocolProfile } from "./contracts.js";
|
|
2
2
|
/**
|
|
3
3
|
* Whether the active profile's catalogue records `capability` for `model`.
|
|
4
4
|
*
|
|
@@ -9,6 +9,16 @@ import type { ClaudeCodeProtocolProfile } from "./contracts.js";
|
|
|
9
9
|
* to the ported predicates for uncatalogued ids -- want `resolveModel`.
|
|
10
10
|
*/
|
|
11
11
|
export declare function modelCapability(model: string, capability: string, profile?: ClaudeCodeProtocolProfile): boolean;
|
|
12
|
+
/**
|
|
13
|
+
* The catalogue entry the profile's own normalizer resolves `model` to, or
|
|
14
|
+
* `undefined` when the model is not a string, is empty, or the profile does not
|
|
15
|
+
* catalogue the resolved id.
|
|
16
|
+
*
|
|
17
|
+
* Folding-consistent: under a profile that follows the base ladder,
|
|
18
|
+
* `claude-sonnet-5-5` resolves to the `claude-sonnet-5` entry, exactly as the
|
|
19
|
+
* request builder resolves it for that profile.
|
|
20
|
+
*/
|
|
21
|
+
export declare function modelCatalogueEntry(model: string, profile?: ClaudeCodeProtocolProfile): ClaudeCodeCatalogueEntry | undefined;
|
|
12
22
|
/** Whether `model` normalizes to `claude-opus-4-6`. */
|
|
13
23
|
export declare function isOpus46Model(model: string): boolean;
|
|
14
24
|
/** Whether `model` normalizes to `claude-opus-4-7`. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model-queries.d.ts","sourceRoot":"","sources":["../src/model-queries.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"model-queries.d.ts","sourceRoot":"","sources":["../src/model-queries.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,wBAAwB,EACxB,yBAAyB,EAC1B,MAAM,gBAAgB,CAAC;AA4FxB;;;;;;;;GAQG;AACH,wBAAgB,eAAe,CAC7B,KAAK,EAAE,MAAM,EACb,UAAU,EAAE,MAAM,EAClB,OAAO,GAAE,yBAAuD,GAC/D,OAAO,CAcT;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,MAAM,EACb,OAAO,GAAE,yBAAuD,GAC/D,wBAAwB,GAAG,SAAS,CAMtC;AAED,uDAAuD;AACvD,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAEpD;AAED,uDAAuD;AACvD,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAEpD;AAED,uDAAuD;AACvD,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAEpD;AAED,qDAAqD;AACrD,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAEnD;AAED,uDAAuD;AACvD,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAEpD;AAED,yDAAyD;AACzD,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAEtD;AAED,uDAAuD;AACvD,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAErD;AAsBD,sDAAsD;AACtD,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAEpD;AAED,wDAAwD;AACxD,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAErD;AAED,uDAAuD;AACvD,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAErD;AAED,yDAAyD;AACzD,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAEtD;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAGnD;AAED;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAErD;AAED;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,MAAM,EACb,OAAO,GAAE,yBAAuD,GAC/D,OAAO,CAkBT;AAED;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAE3D;AAED;;;;;GAKG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAGhE;AAED,oDAAoD;AACpD,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAKxD;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAkB9D"}
|
package/dist/model-queries.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
2
2
|
import { supportsStructuredOutputs as portedStructuredOutputs } from "./model-capabilities.js";
|
|
3
|
-
import { modelFamilyOf, normalizeModelId } from "./model-identity.js";
|
|
3
|
+
import { modelFamilyOf, modelIdLadder, normalizeModelId, } from "./model-identity.js";
|
|
4
4
|
import { CLAUDE_CODE_2_1_195_PROFILE } from "./profiles/claude-code-2.1.195.js";
|
|
5
5
|
/*
|
|
6
6
|
* Read-only model queries.
|
|
@@ -38,12 +38,20 @@ import { CLAUDE_CODE_2_1_195_PROFILE } from "./profiles/claude-code-2.1.195.js";
|
|
|
38
38
|
*
|
|
39
39
|
* RUNTIME NEUTRALITY. No builtins, no clock, no randomness, no I/O.
|
|
40
40
|
*/
|
|
41
|
-
/**
|
|
42
|
-
|
|
41
|
+
/**
|
|
42
|
+
* Lowercased + dotted-to-dashed id, or `null` for input no predicate can answer
|
|
43
|
+
* for.
|
|
44
|
+
*
|
|
45
|
+
* Profile-less identity predicates use the extended ladder (the widest the
|
|
46
|
+
* package knows), so `isSonnet5Model("claude-sonnet-5-5")` is false: the 5.5
|
|
47
|
+
* ids are their own models. Queries that take a profile pass that profile's
|
|
48
|
+
* own ladder instead, so 2.1.280 keeps its folding.
|
|
49
|
+
*/
|
|
50
|
+
function normalizedOrNull(model, ladder = "extended") {
|
|
43
51
|
if (typeof model !== "string" || model.length === 0) {
|
|
44
52
|
return null;
|
|
45
53
|
}
|
|
46
|
-
return normalizeModelId(model);
|
|
54
|
+
return normalizeModelId(model, ladder);
|
|
47
55
|
}
|
|
48
56
|
/**
|
|
49
57
|
* Explicit 1M markers a caller can spell into the model id.
|
|
@@ -77,7 +85,7 @@ const WEB_SEARCH_VENDOR_TOKENS = Object.freeze([
|
|
|
77
85
|
* to the ported predicates for uncatalogued ids -- want `resolveModel`.
|
|
78
86
|
*/
|
|
79
87
|
export function modelCapability(model, capability, profile = CLAUDE_CODE_2_1_195_PROFILE) {
|
|
80
|
-
const id = normalizedOrNull(model);
|
|
88
|
+
const id = normalizedOrNull(model, modelIdLadder(profile));
|
|
81
89
|
if (id === null ||
|
|
82
90
|
typeof capability !== "string" ||
|
|
83
91
|
capability.length === 0) {
|
|
@@ -89,6 +97,22 @@ export function modelCapability(model, capability, profile = CLAUDE_CODE_2_1_195
|
|
|
89
97
|
}
|
|
90
98
|
return entry.capabilities.includes(capability);
|
|
91
99
|
}
|
|
100
|
+
/**
|
|
101
|
+
* The catalogue entry the profile's own normalizer resolves `model` to, or
|
|
102
|
+
* `undefined` when the model is not a string, is empty, or the profile does not
|
|
103
|
+
* catalogue the resolved id.
|
|
104
|
+
*
|
|
105
|
+
* Folding-consistent: under a profile that follows the base ladder,
|
|
106
|
+
* `claude-sonnet-5-5` resolves to the `claude-sonnet-5` entry, exactly as the
|
|
107
|
+
* request builder resolves it for that profile.
|
|
108
|
+
*/
|
|
109
|
+
export function modelCatalogueEntry(model, profile = CLAUDE_CODE_2_1_195_PROFILE) {
|
|
110
|
+
const id = normalizedOrNull(model, modelIdLadder(profile));
|
|
111
|
+
if (id === null || !Object.hasOwn(profile.supportedModels, id)) {
|
|
112
|
+
return undefined;
|
|
113
|
+
}
|
|
114
|
+
return profile.supportedModels[id];
|
|
115
|
+
}
|
|
92
116
|
/** Whether `model` normalizes to `claude-opus-4-6`. */
|
|
93
117
|
export function isOpus46Model(model) {
|
|
94
118
|
return normalizedOrNull(model) === "claude-opus-4-6";
|
|
@@ -117,6 +141,22 @@ export function isSonnet46Model(model) {
|
|
|
117
141
|
export function isSonnet5Model(model) {
|
|
118
142
|
return normalizedOrNull(model) === "claude-sonnet-5";
|
|
119
143
|
}
|
|
144
|
+
/** Whether `model` normalizes to `claude-sonnet-5-5` (internal). */
|
|
145
|
+
function isSonnet55Model(model) {
|
|
146
|
+
return normalizedOrNull(model) === "claude-sonnet-5-5";
|
|
147
|
+
}
|
|
148
|
+
/** Whether `model` normalizes to `claude-haiku-5-5` (internal). */
|
|
149
|
+
function isHaiku55Model(model) {
|
|
150
|
+
return normalizedOrNull(model) === "claude-haiku-5-5";
|
|
151
|
+
}
|
|
152
|
+
/** Whether `model` normalizes to `claude-fable-5-2` (internal). */
|
|
153
|
+
function isFable52Model(model) {
|
|
154
|
+
return normalizedOrNull(model) === "claude-fable-5-2";
|
|
155
|
+
}
|
|
156
|
+
/** Whether `model` normalizes to `claude-mythos-5-2` (internal). */
|
|
157
|
+
function isMythos52Model(model) {
|
|
158
|
+
return normalizedOrNull(model) === "claude-mythos-5-2";
|
|
159
|
+
}
|
|
120
160
|
/** Whether `model` normalizes to `claude-fable-5`. */
|
|
121
161
|
export function isFable5Model(model) {
|
|
122
162
|
return normalizedOrNull(model) === "claude-fable-5";
|
|
@@ -162,7 +202,7 @@ export function isClaude3Model(model) {
|
|
|
162
202
|
* catalogue -- the ported family set (`claude-sonnet-4*`, Opus 4.6/4.7/4.8).
|
|
163
203
|
*/
|
|
164
204
|
export function isEligibleFor1MContext(model, profile = CLAUDE_CODE_2_1_195_PROFILE) {
|
|
165
|
-
const id = normalizedOrNull(model);
|
|
205
|
+
const id = normalizedOrNull(model, modelIdLadder(profile));
|
|
166
206
|
if (id === null) {
|
|
167
207
|
return false;
|
|
168
208
|
}
|
|
@@ -224,9 +264,13 @@ export function isAdaptiveThinkingModel(model) {
|
|
|
224
264
|
isOpus55Model(model) ||
|
|
225
265
|
isSonnet46Model(model) ||
|
|
226
266
|
isSonnet5Model(model) ||
|
|
267
|
+
isSonnet55Model(model) ||
|
|
268
|
+
isHaiku55Model(model) ||
|
|
227
269
|
isFable5Model(model) ||
|
|
228
270
|
isFable51Model(model) ||
|
|
271
|
+
isFable52Model(model) ||
|
|
229
272
|
isMythos5Model(model) ||
|
|
230
|
-
isMythos51Model(model)
|
|
273
|
+
isMythos51Model(model) ||
|
|
274
|
+
isMythos52Model(model));
|
|
231
275
|
}
|
|
232
276
|
//# sourceMappingURL=model-queries.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model-queries.js","sourceRoot":"","sources":["../src/model-queries.ts"],"names":[],"mappings":"AAAA,4CAA4C;
|
|
1
|
+
{"version":3,"file":"model-queries.js","sourceRoot":"","sources":["../src/model-queries.ts"],"names":[],"mappings":"AAAA,4CAA4C;AAM5C,OAAO,EAAE,yBAAyB,IAAI,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAE/F,OAAO,EACL,aAAa,EACb,aAAa,EACb,gBAAgB,GACjB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAEhF;;;;;;;;;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,CAAC;AAED;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,uBAAuB,CAAC,KAAa;IACnD,OAAO,CACL,aAAa,CAAC,KAAK,CAAC;QACpB,aAAa,CAAC,KAAK,CAAC;QACpB,aAAa,CAAC,KAAK,CAAC;QACpB,YAAY,CAAC,KAAK,CAAC;QACnB,aAAa,CAAC,KAAK,CAAC;QACpB,eAAe,CAAC,KAAK,CAAC;QACtB,cAAc,CAAC,KAAK,CAAC;QACrB,eAAe,CAAC,KAAK,CAAC;QACtB,cAAc,CAAC,KAAK,CAAC;QACrB,aAAa,CAAC,KAAK,CAAC;QACpB,cAAc,CAAC,KAAK,CAAC;QACrB,cAAc,CAAC,KAAK,CAAC;QACrB,cAAc,CAAC,KAAK,CAAC;QACrB,eAAe,CAAC,KAAK,CAAC;QACtB,eAAe,CAAC,KAAK,CAAC,CACvB,CAAC;AACJ,CAAC"}
|
package/dist/models.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../src/models.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,sBAAsB,EACtB,qBAAqB,EACrB,yBAAyB,EAC1B,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../src/models.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,sBAAsB,EACtB,qBAAqB,EACrB,yBAAyB,EAC1B,MAAM,gBAAgB,CAAC;AAWxB,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,MAAM,EAAE,qBAAqB,CAAC;IACvC,QAAQ,CAAC,YAAY,EAAE,sBAAsB,CAAC;CAC/C;AAED,wBAAgB,YAAY,CAC1B,KAAK,EAAE,MAAM,EACb,OAAO,GAAE,yBAAuD,GAC/D,uBAAuB,CAuBzB"}
|
package/dist/models.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
2
2
|
import { ClaudeCodeWireError } from "./contracts.js";
|
|
3
3
|
import { deriveCapabilities } from "./model-capabilities.js";
|
|
4
|
-
import { modelFamilyOf, normalizeModelId, stripModelMarkers, } from "./model-identity.js";
|
|
4
|
+
import { modelFamilyOf, modelIdLadder, normalizeModelId, stripModelMarkers, } from "./model-identity.js";
|
|
5
5
|
import { CLAUDE_CODE_2_1_195_PROFILE } from "./profiles/claude-code-2.1.195.js";
|
|
6
6
|
export function resolveModel(model, profile = CLAUDE_CODE_2_1_195_PROFILE) {
|
|
7
7
|
if (typeof model !== "string" || model.length === 0) {
|
|
8
8
|
throw new ClaudeCodeWireError("INVALID_INPUT", { model });
|
|
9
9
|
}
|
|
10
10
|
const wireId = stripModelMarkers(model);
|
|
11
|
-
const id = normalizeModelId(model);
|
|
11
|
+
const id = normalizeModelId(model, modelIdLadder(profile));
|
|
12
12
|
const entry = Object.hasOwn(profile.supportedModels, id)
|
|
13
13
|
? profile.supportedModels[id]
|
|
14
14
|
: undefined;
|
package/dist/models.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.js","sourceRoot":"","sources":["../src/models.ts"],"names":[],"mappings":"AAAA,4CAA4C;AAO5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EACL,aAAa,EACb,gBAAgB,EAChB,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAShF,MAAM,UAAU,YAAY,CAC1B,KAAa,EACb,UAAqC,2BAA2B;IAEhE,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACpD,MA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5D,MAAM,EAAE,KAAK,EAAE,MAAM,IAAI,aAAa,CAAC,EAAE,CAAC;QAC1C,YAAY,EAAE,kBAAkB,CAAC,EAAE,EAAE,OAAO,CAAC;KAC9C,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -50,6 +50,78 @@ export interface ClaudeCodeProfileBehaviors {
|
|
|
50
50
|
* predicate is wire-authoritative for that profile alone.
|
|
51
51
|
*/
|
|
52
52
|
readonly opus45EffortException: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Whether `messages` may carry `role: "system"` control messages with an
|
|
55
|
+
* `output_config` (the per-turn effort and timing statements).
|
|
56
|
+
*
|
|
57
|
+
* Consumed by the message canonicaliser in `request-body.ts`. False means
|
|
58
|
+
* such a message is refused with `INVALID_INPUT`, which is what every
|
|
59
|
+
* profile did before the shape was transcribed.
|
|
60
|
+
*/
|
|
61
|
+
readonly perTurnControlMessages: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Whether `supportsMidConversationSystem` reads the profile's catalogue
|
|
64
|
+
* (`mid_conv_system` capability string) before falling back to the
|
|
65
|
+
* predicate. False means the predicate alone decides, which is what a client
|
|
66
|
+
* that retired the catalogue string does.
|
|
67
|
+
*
|
|
68
|
+
* Consumed by `supportsMidConversationSystem` in `model-capabilities.ts`.
|
|
69
|
+
*/
|
|
70
|
+
readonly midConversationSystemFromCatalogue: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Whether the thinking-token-count beta is pushed after the per-request
|
|
73
|
+
* sites (site 6′) instead of at its historical position (site 6).
|
|
74
|
+
*
|
|
75
|
+
* Consumed by `composeBetasWithAudit` in `betas.ts`.
|
|
76
|
+
*/
|
|
77
|
+
readonly thinkingTokenCountAfterRequestTable: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* Whether the 1M-context beta is withheld for a model whose catalogue entry
|
|
80
|
+
* already declares a native 1M window.
|
|
81
|
+
*
|
|
82
|
+
* Consumed by site 3 of `composeBetasWithAudit` in `betas.ts`.
|
|
83
|
+
*/
|
|
84
|
+
readonly longContextExcludesNative1m: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* Whether the model-id normalizer uses the extended ladder (the 5.5 and 5.2
|
|
87
|
+
* rungs). Declared ahead of its reader; inert until the normalizer reads it.
|
|
88
|
+
*/
|
|
89
|
+
readonly extendedModelIdLadder: boolean;
|
|
90
|
+
/**
|
|
91
|
+
* Whether headers use the genuine client's layout (names, casing, ordering
|
|
92
|
+
* and the request-class set). Declared ahead of its reader; inert until the
|
|
93
|
+
* header builder reads it.
|
|
94
|
+
*/
|
|
95
|
+
readonly genuineHeaderLayout: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* Whether the billing block carries the turn-origin and turn-position
|
|
98
|
+
* segments. Declared ahead of its reader; inert until the fingerprint
|
|
99
|
+
* module reads it.
|
|
100
|
+
*/
|
|
101
|
+
readonly billingTurnSegments: boolean;
|
|
102
|
+
/**
|
|
103
|
+
* Whether the request body carries a generated `context_management` when
|
|
104
|
+
* the beta fires. Consumed by `buildCanonicalBody` in `request-body.ts`.
|
|
105
|
+
*/
|
|
106
|
+
readonly generatedContextManagement: boolean;
|
|
107
|
+
/**
|
|
108
|
+
* Whether the request body carries `diagnostics` alongside the cache
|
|
109
|
+
* diagnosis beta. Consumed by `buildCanonicalBody` in `request-body.ts`.
|
|
110
|
+
*/
|
|
111
|
+
readonly cacheDiagnosisBody: boolean;
|
|
112
|
+
/**
|
|
113
|
+
* Whether body keys are emitted in the genuine client's order. Consumed by
|
|
114
|
+
* `buildCanonicalBody` in `request-body.ts`.
|
|
115
|
+
*/
|
|
116
|
+
readonly genuineBodyKeyOrder: boolean;
|
|
117
|
+
/**
|
|
118
|
+
* Whether caller-supplied account-served inputs (dispatch id, inline tools,
|
|
119
|
+
* threads, side-query and agentic-query markers) are honoured. The dispatch
|
|
120
|
+
* id is read by the header builder in `headers.ts`; the others by the beta
|
|
121
|
+
* composer in `betas.ts` and, for the thread body, the body builder in
|
|
122
|
+
* `request-body.ts`.
|
|
123
|
+
*/
|
|
124
|
+
readonly accountServedInputs: boolean;
|
|
53
125
|
}
|
|
54
126
|
/**
|
|
55
127
|
* Resolves the behaviour set a profile follows.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile-behaviors.d.ts","sourceRoot":"","sources":["../src/profile-behaviors.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"profile-behaviors.d.ts","sourceRoot":"","sources":["../src/profile-behaviors.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAIhE;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,WAAW,0BAA0B;IACzC;;;;;;OAMG;IACH,QAAQ,CAAC,0BAA0B,EAAE,OAAO,CAAC;IAE7C;;;;;;;OAOG;IACH,QAAQ,CAAC,oBAAoB,EAAE,OAAO,CAAC;IAEvC;;;;;;;;OAQG;IACH,QAAQ,CAAC,qBAAqB,EAAE,OAAO,CAAC;IAExC;;;;;;;OAOG;IACH,QAAQ,CAAC,sBAAsB,EAAE,OAAO,CAAC;IAEzC;;;;;;;OAOG;IACH,QAAQ,CAAC,kCAAkC,EAAE,OAAO,CAAC;IAErD;;;;;OAKG;IACH,QAAQ,CAAC,mCAAmC,EAAE,OAAO,CAAC;IAEtD;;;;;OAKG;IACH,QAAQ,CAAC,2BAA2B,EAAE,OAAO,CAAC;IAE9C;;;OAGG;IACH,QAAQ,CAAC,qBAAqB,EAAE,OAAO,CAAC;IAExC;;;;OAIG;IACH,QAAQ,CAAC,mBAAmB,EAAE,OAAO,CAAC;IAEtC;;;;OAIG;IACH,QAAQ,CAAC,mBAAmB,EAAE,OAAO,CAAC;IAEtC;;;OAGG;IACH,QAAQ,CAAC,0BAA0B,EAAE,OAAO,CAAC;IAE7C;;;OAGG;IACH,QAAQ,CAAC,kBAAkB,EAAE,OAAO,CAAC;IAErC;;;OAGG;IACH,QAAQ,CAAC,mBAAmB,EAAE,OAAO,CAAC;IAEtC;;;;;;OAMG;IACH,QAAQ,CAAC,mBAAmB,EAAE,OAAO,CAAC;CACvC;AAsED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,yBAAyB,GACjC,0BAA0B,CA2B5B"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
2
2
|
import { CLAUDE_CODE_2_1_195_PROFILE } from "./profiles/claude-code-2.1.195.js";
|
|
3
|
+
import { CLAUDE_CODE_2_1_329_PROFILE } from "./profiles/claude-code-2.1.329.js";
|
|
3
4
|
/**
|
|
4
5
|
* Upstream 2.1.195: derivation is predicate-driven, the request builder has no
|
|
5
6
|
* request-derived token ceiling, and the billing block has no parameter for
|
|
@@ -9,16 +10,61 @@ const LEGACY_BEHAVIORS = Object.freeze({
|
|
|
9
10
|
requestDerivedTokenCeiling: false,
|
|
10
11
|
billingChainSegments: false,
|
|
11
12
|
opus45EffortException: true,
|
|
13
|
+
perTurnControlMessages: false,
|
|
14
|
+
midConversationSystemFromCatalogue: true,
|
|
15
|
+
thinkingTokenCountAfterRequestTable: false,
|
|
16
|
+
longContextExcludesNative1m: false,
|
|
17
|
+
extendedModelIdLadder: false,
|
|
18
|
+
genuineHeaderLayout: false,
|
|
19
|
+
billingTurnSegments: false,
|
|
20
|
+
generatedContextManagement: false,
|
|
21
|
+
cacheDiagnosisBody: false,
|
|
22
|
+
genuineBodyKeyOrder: false,
|
|
23
|
+
accountServedInputs: false,
|
|
12
24
|
});
|
|
13
25
|
/**
|
|
14
|
-
* Upstream 2.1.222
|
|
26
|
+
* Upstream 2.1.222 through 2.1.280: derivation is catalogue-first, so the
|
|
15
27
|
* `claude-opus-4-5` exception does not apply, and both of the newer request
|
|
16
|
-
* behaviours are present.
|
|
28
|
+
* behaviours are present. This is also where a profile with an unrecognised id
|
|
29
|
+
* lands.
|
|
17
30
|
*/
|
|
18
|
-
const
|
|
31
|
+
const CATALOGUE_ERA_BEHAVIORS = Object.freeze({
|
|
19
32
|
requestDerivedTokenCeiling: true,
|
|
20
33
|
billingChainSegments: true,
|
|
21
34
|
opus45EffortException: false,
|
|
35
|
+
perTurnControlMessages: false,
|
|
36
|
+
midConversationSystemFromCatalogue: true,
|
|
37
|
+
thinkingTokenCountAfterRequestTable: false,
|
|
38
|
+
longContextExcludesNative1m: false,
|
|
39
|
+
extendedModelIdLadder: false,
|
|
40
|
+
genuineHeaderLayout: false,
|
|
41
|
+
billingTurnSegments: false,
|
|
42
|
+
generatedContextManagement: false,
|
|
43
|
+
cacheDiagnosisBody: false,
|
|
44
|
+
genuineBodyKeyOrder: false,
|
|
45
|
+
accountServedInputs: false,
|
|
46
|
+
});
|
|
47
|
+
/**
|
|
48
|
+
* Upstream 2.1.329: the catalogue-era set with the wire-level differences the
|
|
49
|
+
* 2.1.329 analysis records. Every flag that is true here and false in the other
|
|
50
|
+
* two sets is a behaviour the older clients do not have; the flags declared
|
|
51
|
+
* ahead of their readers are inert until a later change reads them.
|
|
52
|
+
*/
|
|
53
|
+
const WIRE_FAITHFUL_BEHAVIORS = Object.freeze({
|
|
54
|
+
requestDerivedTokenCeiling: true,
|
|
55
|
+
billingChainSegments: true,
|
|
56
|
+
opus45EffortException: false,
|
|
57
|
+
perTurnControlMessages: true,
|
|
58
|
+
midConversationSystemFromCatalogue: false,
|
|
59
|
+
thinkingTokenCountAfterRequestTable: true,
|
|
60
|
+
longContextExcludesNative1m: true,
|
|
61
|
+
extendedModelIdLadder: true,
|
|
62
|
+
genuineHeaderLayout: true,
|
|
63
|
+
billingTurnSegments: true,
|
|
64
|
+
generatedContextManagement: true,
|
|
65
|
+
cacheDiagnosisBody: true,
|
|
66
|
+
genuineBodyKeyOrder: true,
|
|
67
|
+
accountServedInputs: true,
|
|
22
68
|
});
|
|
23
69
|
/**
|
|
24
70
|
* Resolves the behaviour set a profile follows.
|
|
@@ -30,24 +76,29 @@ export function profileBehaviors(profile) {
|
|
|
30
76
|
/*
|
|
31
77
|
* ---- Demarcated: the ONLY per-version identity comparison in `src/`. ----
|
|
32
78
|
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
79
|
+
* Three sets, two named identities. 2.1.195 is the one profile ported from
|
|
80
|
+
* the older builder; 2.1.329 is the one profile whose wire behaviour was
|
|
81
|
+
* transcribed from a client that no longer reads the catalogue for
|
|
82
|
+
* everything the earlier ones did. Both are named here because each differs
|
|
83
|
+
* in what the upstream builder is written to do, not in values it reads
|
|
84
|
+
* from a catalogue.
|
|
37
85
|
*
|
|
38
|
-
* The
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
* — every new profile would silently regress to
|
|
86
|
+
* The fallthrough is deliberately the CATALOGUE-ERA side, and it stays
|
|
87
|
+
* pre-329: a profile whose id is unrecognised (an overridden id, a synthetic
|
|
88
|
+
* profile) keeps the bytes it had before 2.1.329 existed. Adopting the
|
|
89
|
+
* wire-faithful set is something a profile must opt into by being named
|
|
90
|
+
* here, never something it can inherit by accident. Written the other way
|
|
91
|
+
* round — defaulting to legacy — every new profile would silently regress to
|
|
92
|
+
* 2.1.195 semantics.
|
|
44
93
|
*
|
|
45
94
|
* `test/governance/version-dispatch.test.ts` asserts this comparison is
|
|
46
95
|
* here, and that it is nowhere else.
|
|
47
96
|
*/
|
|
48
|
-
if (profile.id === CLAUDE_CODE_2_1_195_PROFILE.id)
|
|
97
|
+
if (profile.id === CLAUDE_CODE_2_1_195_PROFILE.id)
|
|
49
98
|
return LEGACY_BEHAVIORS;
|
|
99
|
+
if (profile.id === CLAUDE_CODE_2_1_329_PROFILE.id) {
|
|
100
|
+
return WIRE_FAITHFUL_BEHAVIORS;
|
|
50
101
|
}
|
|
51
|
-
return
|
|
102
|
+
return CATALOGUE_ERA_BEHAVIORS;
|
|
52
103
|
}
|
|
53
104
|
//# sourceMappingURL=profile-behaviors.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile-behaviors.js","sourceRoot":"","sources":["../src/profile-behaviors.ts"],"names":[],"mappings":"AAAA,4CAA4C;AAG5C,OAAO,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;
|
|
1
|
+
{"version":3,"file":"profile-behaviors.js","sourceRoot":"","sources":["../src/profile-behaviors.ts"],"names":[],"mappings":"AAAA,4CAA4C;AAG5C,OAAO,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAChF,OAAO,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AA4IhF;;;;GAIG;AACH,MAAM,gBAAgB,GAA+B,MAAM,CAAC,MAAM,CAAC;IACjE,0BAA0B,EAAE,KAAK;IACjC,oBAAoB,EAAE,KAAK;IAC3B,qBAAqB,EAAE,IAAI;IAC3B,sBAAsB,EAAE,KAAK;IAC7B,kCAAkC,EAAE,IAAI;IACxC,mCAAmC,EAAE,KAAK;IAC1C,2BAA2B,EAAE,KAAK;IAClC,qBAAqB,EAAE,KAAK;IAC5B,mBAAmB,EAAE,KAAK;IAC1B,mBAAmB,EAAE,KAAK;IAC1B,0BAA0B,EAAE,KAAK;IACjC,kBAAkB,EAAE,KAAK;IACzB,mBAAmB,EAAE,KAAK;IAC1B,mBAAmB,EAAE,KAAK;CAC3B,CAAC,CAAC;AAEH;;;;;GAKG;AACH,MAAM,uBAAuB,GAA+B,MAAM,CAAC,MAAM,CAAC;IACxE,0BAA0B,EAAE,IAAI;IAChC,oBAAoB,EAAE,IAAI;IAC1B,qBAAqB,EAAE,KAAK;IAC5B,sBAAsB,EAAE,KAAK;IAC7B,kCAAkC,EAAE,IAAI;IACxC,mCAAmC,EAAE,KAAK;IAC1C,2BAA2B,EAAE,KAAK;IAClC,qBAAqB,EAAE,KAAK;IAC5B,mBAAmB,EAAE,KAAK;IAC1B,mBAAmB,EAAE,KAAK;IAC1B,0BAA0B,EAAE,KAAK;IACjC,kBAAkB,EAAE,KAAK;IACzB,mBAAmB,EAAE,KAAK;IAC1B,mBAAmB,EAAE,KAAK;CAC3B,CAAC,CAAC;AAEH;;;;;GAKG;AACH,MAAM,uBAAuB,GAA+B,MAAM,CAAC,MAAM,CAAC;IACxE,0BAA0B,EAAE,IAAI;IAChC,oBAAoB,EAAE,IAAI;IAC1B,qBAAqB,EAAE,KAAK;IAC5B,sBAAsB,EAAE,IAAI;IAC5B,kCAAkC,EAAE,KAAK;IACzC,mCAAmC,EAAE,IAAI;IACzC,2BAA2B,EAAE,IAAI;IACjC,qBAAqB,EAAE,IAAI;IAC3B,mBAAmB,EAAE,IAAI;IACzB,mBAAmB,EAAE,IAAI;IACzB,0BAA0B,EAAE,IAAI;IAChC,kBAAkB,EAAE,IAAI;IACxB,mBAAmB,EAAE,IAAI;IACzB,mBAAmB,EAAE,IAAI;CAC1B,CAAC,CAAC;AAEH;;;;;GAKG;AACH,MAAM,UAAU,gBAAgB,CAC9B,OAAkC;IAElC;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,IAAI,OAAO,CAAC,EAAE,KAAK,2BAA2B,CAAC,EAAE;QAAE,OAAO,gBAAgB,CAAC;IAC3E,IAAI,OAAO,CAAC,EAAE,KAAK,2BAA2B,CAAC,EAAE,EAAE,CAAC;QAClD,OAAO,uBAAuB,CAAC;IACjC,CAAC;IACD,OAAO,uBAAuB,CAAC;AACjC,CAAC"}
|
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Genuine-client beta registry as of 2.1.329, upstream factory chain at byte
|
|
3
|
+
* offset 7881648 (view line 109432) and ordered array `a1i` immediately after
|
|
4
|
+
* it.
|
|
5
|
+
*
|
|
6
|
+
* KEY ORDER IS LOAD-BEARING. The array is the raw slot order and is NOT
|
|
7
|
+
* append-only: six entries are new since 2.1.280 and none of them sits at the
|
|
8
|
+
* end. See `docs/protocol/versions/claude-code-2.1.329-analysis.md` section 5.1.
|
|
9
|
+
*
|
|
10
|
+
* The upstream array carries 48 slots. Two are explicit `null` (indices 39 and
|
|
11
|
+
* 43, `yBn` and `ml`) and one is a header-less member (index 30, `fS`, declared
|
|
12
|
+
* as `pl("mid_conversation_system")`), leaving the forty-five entries below.
|
|
13
|
+
* Both nulls are null IN THIS BUILD, which is all the bytes establish; neither
|
|
14
|
+
* is transcribed, because a null is not an entry.
|
|
15
|
+
*
|
|
16
|
+
* `mid_conversation_system` is deliberately ABSENT. The 2.1.280 registry
|
|
17
|
+
* carried it with the header `mid-conversation-system-2026-04-07`. In 2.1.329
|
|
18
|
+
* the slot is declared as `pl("mid_conversation_system")`, a call that passes a
|
|
19
|
+
* name and no header, and the old identifier survives only as a bare string
|
|
20
|
+
* constant (`Zkt`) that no registry member points at. The beta therefore graduated: the client no longer
|
|
21
|
+
* advertises it, while the behaviour it gated stays on. That is why
|
|
22
|
+
* `ComposableBetaRegistry.MID_CONVERSATION_SYSTEM` is optional. The slot sits
|
|
23
|
+
* between `TOOL_PROVENANCE` and `PER_MESSAGE_EFFORT` and is recorded here
|
|
24
|
+
* rather than silently closed up, because a later build may give it a header.
|
|
25
|
+
*
|
|
26
|
+
* `NARRATION_SUMMARIES` stays absent exactly as in the two previous registries.
|
|
27
|
+
*
|
|
28
|
+
* Further registry members are deliberately absent:
|
|
29
|
+
* `tool_provenance_server_url_latch` (new at 2.1.329),
|
|
30
|
+
* `mid_conv_cache_promotion_latch` and `mid_conv_cache_promotion_ok_latch`.
|
|
31
|
+
* Upstream declares them through the same factory but excludes them from the
|
|
32
|
+
* ordered array, and their "header" values are internal `x-cc-*` names, not
|
|
33
|
+
* beta identifiers. Transcribing them would corrupt the registry. Likewise
|
|
34
|
+
* `thinking_display` (`i1i`, declared through `pl()`) is outside the array.
|
|
35
|
+
*
|
|
36
|
+
* `oauth_auth` is the one entry whose header is NOT a string literal upstream:
|
|
37
|
+
* the declaration reads `hWe=k("oauth_auth",Yu)`, and `Yu` resolves to
|
|
38
|
+
* `"oauth-2025-04-20"`.
|
|
39
|
+
*
|
|
40
|
+
* `tool_search` is reused by two entries (`ADVANCED_TOOL_USE` and
|
|
41
|
+
* `TOOL_SEARCH`) as in 2.1.280; the two headers differ and only the second is
|
|
42
|
+
* a member of the third-party set.
|
|
43
|
+
*/
|
|
44
|
+
export declare const BETA_REGISTRY_2_1_329: {
|
|
45
|
+
CLAUDE_CODE: {
|
|
46
|
+
featureKey: string;
|
|
47
|
+
header: string;
|
|
48
|
+
};
|
|
49
|
+
OAUTH_AUTH: {
|
|
50
|
+
featureKey: string;
|
|
51
|
+
header: string;
|
|
52
|
+
};
|
|
53
|
+
INTERLEAVED_THINKING: {
|
|
54
|
+
featureKey: string;
|
|
55
|
+
header: string;
|
|
56
|
+
};
|
|
57
|
+
LONG_CONTEXT: {
|
|
58
|
+
featureKey: string;
|
|
59
|
+
header: string;
|
|
60
|
+
};
|
|
61
|
+
CONTEXT_MANAGEMENT: {
|
|
62
|
+
featureKey: string;
|
|
63
|
+
header: string;
|
|
64
|
+
};
|
|
65
|
+
STRUCTURED_OUTPUTS: {
|
|
66
|
+
featureKey: string;
|
|
67
|
+
header: string;
|
|
68
|
+
};
|
|
69
|
+
WEB_SEARCH: {
|
|
70
|
+
featureKey: string;
|
|
71
|
+
header: string;
|
|
72
|
+
};
|
|
73
|
+
WEB_SEARCH_RESULTS_ONLY: {
|
|
74
|
+
featureKey: string;
|
|
75
|
+
header: string;
|
|
76
|
+
};
|
|
77
|
+
ADVANCED_TOOL_USE: {
|
|
78
|
+
featureKey: string;
|
|
79
|
+
header: string;
|
|
80
|
+
};
|
|
81
|
+
TOOL_SEARCH: {
|
|
82
|
+
featureKey: string;
|
|
83
|
+
header: string;
|
|
84
|
+
};
|
|
85
|
+
EFFORT: {
|
|
86
|
+
featureKey: string;
|
|
87
|
+
header: string;
|
|
88
|
+
};
|
|
89
|
+
TASK_BUDGETS: {
|
|
90
|
+
featureKey: string;
|
|
91
|
+
header: string;
|
|
92
|
+
};
|
|
93
|
+
PROMPT_CACHING_SCOPE: {
|
|
94
|
+
featureKey: string;
|
|
95
|
+
header: string;
|
|
96
|
+
};
|
|
97
|
+
PROMPT_CACHING_EVICT: {
|
|
98
|
+
featureKey: string;
|
|
99
|
+
header: string;
|
|
100
|
+
};
|
|
101
|
+
CACHE_KEEPALIVE: {
|
|
102
|
+
featureKey: string;
|
|
103
|
+
header: string;
|
|
104
|
+
};
|
|
105
|
+
EXTENDED_CACHE_TTL: {
|
|
106
|
+
featureKey: string;
|
|
107
|
+
header: string;
|
|
108
|
+
};
|
|
109
|
+
SPEED: {
|
|
110
|
+
featureKey: string;
|
|
111
|
+
header: string;
|
|
112
|
+
};
|
|
113
|
+
REDACT_THINKING: {
|
|
114
|
+
featureKey: string;
|
|
115
|
+
header: string;
|
|
116
|
+
};
|
|
117
|
+
THINKING_RESUMPTION: {
|
|
118
|
+
featureKey: string;
|
|
119
|
+
header: string;
|
|
120
|
+
};
|
|
121
|
+
RESUMPTION: {
|
|
122
|
+
featureKey: string;
|
|
123
|
+
header: string;
|
|
124
|
+
};
|
|
125
|
+
THINKING_TOKEN_COUNT: {
|
|
126
|
+
featureKey: string;
|
|
127
|
+
header: string;
|
|
128
|
+
};
|
|
129
|
+
AFK_MODE: {
|
|
130
|
+
featureKey: string;
|
|
131
|
+
header: string;
|
|
132
|
+
};
|
|
133
|
+
ADVISOR_TOOL: {
|
|
134
|
+
featureKey: string;
|
|
135
|
+
header: string;
|
|
136
|
+
};
|
|
137
|
+
CACHE_DIAGNOSIS: {
|
|
138
|
+
featureKey: string;
|
|
139
|
+
header: string;
|
|
140
|
+
};
|
|
141
|
+
CONTEXT_HINT: {
|
|
142
|
+
featureKey: string;
|
|
143
|
+
header: string;
|
|
144
|
+
};
|
|
145
|
+
MCP_SERVERS: {
|
|
146
|
+
featureKey: string;
|
|
147
|
+
header: string;
|
|
148
|
+
};
|
|
149
|
+
FILES_API: {
|
|
150
|
+
featureKey: string;
|
|
151
|
+
header: string;
|
|
152
|
+
};
|
|
153
|
+
ENVIRONMENTS: {
|
|
154
|
+
featureKey: string;
|
|
155
|
+
header: string;
|
|
156
|
+
};
|
|
157
|
+
CCR_BYOC: {
|
|
158
|
+
featureKey: string;
|
|
159
|
+
header: string;
|
|
160
|
+
};
|
|
161
|
+
TOOL_PROVENANCE: {
|
|
162
|
+
featureKey: string;
|
|
163
|
+
header: string;
|
|
164
|
+
};
|
|
165
|
+
PER_MESSAGE_EFFORT: {
|
|
166
|
+
featureKey: string;
|
|
167
|
+
header: string;
|
|
168
|
+
};
|
|
169
|
+
PER_TURN_TIMING: {
|
|
170
|
+
featureKey: string;
|
|
171
|
+
header: string;
|
|
172
|
+
};
|
|
173
|
+
MID_CONV_TOOL_CHANGE: {
|
|
174
|
+
featureKey: string;
|
|
175
|
+
header: string;
|
|
176
|
+
};
|
|
177
|
+
INLINE_TOOLS: {
|
|
178
|
+
featureKey: string;
|
|
179
|
+
header: string;
|
|
180
|
+
};
|
|
181
|
+
SERVER_SIDE_FALLBACK: {
|
|
182
|
+
featureKey: string;
|
|
183
|
+
header: string;
|
|
184
|
+
};
|
|
185
|
+
PROGRAM_USE_CASE_IDS: {
|
|
186
|
+
featureKey: string;
|
|
187
|
+
header: string;
|
|
188
|
+
};
|
|
189
|
+
SERVER_SIDE_FALLBACK_CATEGORY: {
|
|
190
|
+
featureKey: string;
|
|
191
|
+
header: string;
|
|
192
|
+
};
|
|
193
|
+
FALLBACK_CREDIT: {
|
|
194
|
+
featureKey: string;
|
|
195
|
+
header: string;
|
|
196
|
+
};
|
|
197
|
+
AUTO_MODE_CLASSIFIER: {
|
|
198
|
+
featureKey: string;
|
|
199
|
+
header: string;
|
|
200
|
+
};
|
|
201
|
+
CLAUDE_CODE_SIDE_QUERY: {
|
|
202
|
+
featureKey: string;
|
|
203
|
+
header: string;
|
|
204
|
+
};
|
|
205
|
+
DANGEROUS_TOOL_USE: {
|
|
206
|
+
featureKey: string;
|
|
207
|
+
header: string;
|
|
208
|
+
};
|
|
209
|
+
THINKING_DISPLAY_UPDATES: {
|
|
210
|
+
featureKey: string;
|
|
211
|
+
header: string;
|
|
212
|
+
};
|
|
213
|
+
MESSAGE_THREADS: {
|
|
214
|
+
featureKey: string;
|
|
215
|
+
header: string;
|
|
216
|
+
};
|
|
217
|
+
MID_CONVERSATION_SYSTEM_CLEAR_AT: {
|
|
218
|
+
featureKey: string;
|
|
219
|
+
header: string;
|
|
220
|
+
};
|
|
221
|
+
THINKING_BINDING_CONTROLS: {
|
|
222
|
+
featureKey: string;
|
|
223
|
+
header: string;
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
export declare const THIRD_PARTY_ALLOWED_BETAS_2_1_329: ReadonlySet<string>;
|
|
227
|
+
export declare const BEDROCK_UNSUPPORTED_BETAS_2_1_329: ReadonlySet<string>;
|
|
228
|
+
export declare const COUNT_TOKENS_BETAS_2_1_329: ReadonlySet<string>;
|
|
229
|
+
//# sourceMappingURL=beta-registry-2.1.329.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"beta-registry-2.1.329.d.ts","sourceRoot":"","sources":["../../src/profiles/beta-registry-2.1.329.ts"],"names":[],"mappings":"AAuBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyKY,CAAC;AAa/C,eAAO,MAAM,iCAAiC,EAAE,WAAW,CAAC,MAAM,CAkB/D,CAAC;AAUJ,eAAO,MAAM,iCAAiC,EAAE,WAAW,CAAC,MAAM,CAO/D,CAAC;AAOJ,eAAO,MAAM,0BAA0B,EAAE,WAAW,CAAC,MAAM,CAO1D,CAAC"}
|