@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
package/dist/betas.js
CHANGED
|
@@ -2,15 +2,19 @@
|
|
|
2
2
|
import { BETA_REGISTRY } from "./beta-registry.js";
|
|
3
3
|
import { ClaudeCodeWireError } from "./contracts.js";
|
|
4
4
|
import { supportsMidConversationSystem, supportsStructuredOutputs, } from "./model-capabilities.js";
|
|
5
|
+
import { profileBehaviors } from "./profile-behaviors.js";
|
|
5
6
|
import { BETA_REGISTRY_2_1_233 } from "./profiles/beta-registry-2.1.233.js";
|
|
6
7
|
import { BETA_REGISTRY_2_1_280 } from "./profiles/beta-registry-2.1.280.js";
|
|
8
|
+
import { BETA_REGISTRY_2_1_329 } from "./profiles/beta-registry-2.1.329.js";
|
|
7
9
|
import { CLAUDE_CODE_2_1_195_PROFILE } from "./profiles/claude-code-2.1.195.js";
|
|
8
10
|
import { CLAUDE_CODE_2_1_233_PROFILE } from "./profiles/claude-code-2.1.233.js";
|
|
9
11
|
import { CLAUDE_CODE_2_1_280_PROFILE } from "./profiles/claude-code-2.1.280.js";
|
|
12
|
+
import { CLAUDE_CODE_2_1_329_PROFILE } from "./profiles/claude-code-2.1.329.js";
|
|
10
13
|
const PROFILE_BETA_REGISTRIES = new Map([
|
|
11
14
|
[CLAUDE_CODE_2_1_195_PROFILE.id, BETA_REGISTRY],
|
|
12
15
|
[CLAUDE_CODE_2_1_233_PROFILE.id, BETA_REGISTRY_2_1_233],
|
|
13
16
|
[CLAUDE_CODE_2_1_280_PROFILE.id, BETA_REGISTRY_2_1_280],
|
|
17
|
+
[CLAUDE_CODE_2_1_329_PROFILE.id, BETA_REGISTRY_2_1_329],
|
|
14
18
|
]);
|
|
15
19
|
/**
|
|
16
20
|
* Selects the registry a profile composes against.
|
|
@@ -69,6 +73,11 @@ export function composeBetasWithAudit(input, profile = CLAUDE_CODE_2_1_195_PROFI
|
|
|
69
73
|
const policy = profile.betaPolicy;
|
|
70
74
|
const experimental = policy.experimentalBetasEnabled;
|
|
71
75
|
const registry = resolveBetaRegistry(profile);
|
|
76
|
+
const behaviors = profileBehaviors(profile);
|
|
77
|
+
// Account-served and per-query caller inputs act only where the profile's
|
|
78
|
+
// behaviour set declares them; every other profile ignores them entirely.
|
|
79
|
+
const honoured = behaviors.accountServedInputs;
|
|
80
|
+
const accountFeatures = input.accountFeatures;
|
|
72
81
|
if (!input.normalizedId.includes("haiku"))
|
|
73
82
|
out.push(registry.CLAUDE_CODE.header);
|
|
74
83
|
if (policy.oauthAuthenticated)
|
|
@@ -77,7 +86,18 @@ export function composeBetasWithAudit(input, profile = CLAUDE_CODE_2_1_195_PROFI
|
|
|
77
86
|
// for this request. The profile gate still applies, so an override cannot
|
|
78
87
|
// enable a beta the pinned profile declares unavailable.
|
|
79
88
|
const oneMillionRequested = input.use1MContextOverride ?? /\[1m\]/iu.test(input.rawModel);
|
|
80
|
-
|
|
89
|
+
/*
|
|
90
|
+
* Under `longContextExcludesNative1m` a model whose catalogue entry declares
|
|
91
|
+
* a native 1M window never gets the beta: the window needs no opt-in, so the
|
|
92
|
+
* genuine client does not send one. Only the marker conjunct is replaced by
|
|
93
|
+
* `use1MContextOverride`; this exclusion still applies to an override of
|
|
94
|
+
* `true`, because the override cannot make a native window need the beta.
|
|
95
|
+
*/
|
|
96
|
+
const nativeOneMillion = Object.hasOwn(profile.supportedModels, input.normalizedId) &&
|
|
97
|
+
profile.supportedModels[input.normalizedId]?.context?.native1m === true;
|
|
98
|
+
if (policy.oneMillionContextEnabled &&
|
|
99
|
+
oneMillionRequested &&
|
|
100
|
+
!(behaviors.longContextExcludesNative1m && nativeOneMillion)) {
|
|
81
101
|
out.push(registry.LONG_CONTEXT.header);
|
|
82
102
|
}
|
|
83
103
|
if (policy.interleavedThinkingEnabled &&
|
|
@@ -91,9 +111,16 @@ export function composeBetasWithAudit(input, profile = CLAUDE_CODE_2_1_195_PROFI
|
|
|
91
111
|
!input.thinkingDisplayActive) {
|
|
92
112
|
out.push(registry.REDACT_THINKING.header);
|
|
93
113
|
}
|
|
94
|
-
|
|
114
|
+
/*
|
|
115
|
+
* Site 6. Under `thinkingTokenCountAfterRequestTable` the genuine client
|
|
116
|
+
* pushes this beta after the per-request sites instead; that push is site 6′
|
|
117
|
+
* below, with identical gates.
|
|
118
|
+
*/
|
|
119
|
+
const thinkingTokenCountGates = policy.thinkingTokenCountEnabled &&
|
|
95
120
|
experimental &&
|
|
96
|
-
input.capabilities.interleavedThinking
|
|
121
|
+
input.capabilities.interleavedThinking;
|
|
122
|
+
const tokenCountAfterRequestTable = behaviors.thinkingTokenCountAfterRequestTable;
|
|
123
|
+
if (thinkingTokenCountGates && !tokenCountAfterRequestTable) {
|
|
97
124
|
out.push(registry.THINKING_TOKEN_COUNT.header);
|
|
98
125
|
}
|
|
99
126
|
/*
|
|
@@ -110,7 +137,8 @@ export function composeBetasWithAudit(input, profile = CLAUDE_CODE_2_1_195_PROFI
|
|
|
110
137
|
narrationSummaries !== undefined) {
|
|
111
138
|
out.push(narrationSummaries.header);
|
|
112
139
|
}
|
|
113
|
-
|
|
140
|
+
const contextManagementComposed = experimental && input.capabilities.contextManagement;
|
|
141
|
+
if (contextManagementComposed)
|
|
114
142
|
out.push(registry.CONTEXT_MANAGEMENT.header);
|
|
115
143
|
if (experimental &&
|
|
116
144
|
supportsStructuredOutputs(input.normalizedId) &&
|
|
@@ -121,14 +149,30 @@ export function composeBetasWithAudit(input, profile = CLAUDE_CODE_2_1_195_PROFI
|
|
|
121
149
|
if (experimental)
|
|
122
150
|
out.push(registry.PROMPT_CACHING_SCOPE.header);
|
|
123
151
|
/*
|
|
124
|
-
* Upstream `jR`. The local boolean below records that this site
|
|
125
|
-
* is what sites 11b and 11c gate on -- upstream reads
|
|
126
|
-
* composed
|
|
127
|
-
* those two sites for a model this one skipped.
|
|
152
|
+
* Upstream `jR`. The local boolean below records that this site is ACTIVE for
|
|
153
|
+
* the model, which is what sites 11b and 11c gate on -- upstream reads
|
|
154
|
+
* `Ee.includes(jR)`, the composed state, not the registry. Asking the
|
|
155
|
+
* registry instead would fire those two sites for a model this one skipped.
|
|
156
|
+
* The header is pushed only when the registry carries one; a registry whose
|
|
157
|
+
* slot is header-less leaves the site active and the list unchanged.
|
|
128
158
|
*/
|
|
129
|
-
const
|
|
130
|
-
|
|
131
|
-
|
|
159
|
+
const midConversationSystemActive = supportsMidConversationSystem(input.normalizedId, profile);
|
|
160
|
+
const midConversationSystem = registry.MID_CONVERSATION_SYSTEM;
|
|
161
|
+
if (midConversationSystemActive && midConversationSystem !== undefined) {
|
|
162
|
+
out.push(midConversationSystem.header);
|
|
163
|
+
}
|
|
164
|
+
/*
|
|
165
|
+
* Agentic-query marker. Upstream `uwr(e, {isAgenticQuery})` appends the
|
|
166
|
+
* claude-code beta to the per-model table when the model's table excludes it
|
|
167
|
+
* (the haiku models): `if (r?.isAgenticQuery && !h.includes(qkt)) h.push(qkt)`.
|
|
168
|
+
* The push lands after the per-model entries -- the mid-conversation marker
|
|
169
|
+
* above is the table's last one -- and before every per-request site below.
|
|
170
|
+
*/
|
|
171
|
+
if (honoured &&
|
|
172
|
+
input.agenticQuery === true &&
|
|
173
|
+
input.normalizedId.includes("haiku") &&
|
|
174
|
+
!out.includes(registry.CLAUDE_CODE.header)) {
|
|
175
|
+
out.push(registry.CLAUDE_CODE.header);
|
|
132
176
|
}
|
|
133
177
|
/*
|
|
134
178
|
* Site 11a. Upstream `wRt`, which reduces to
|
|
@@ -149,12 +193,60 @@ export function composeBetasWithAudit(input, profile = CLAUDE_CODE_2_1_195_PROFI
|
|
|
149
193
|
* document's divergence record.
|
|
150
194
|
*/
|
|
151
195
|
const midConvToolChange = registry.MID_CONV_TOOL_CHANGE;
|
|
152
|
-
|
|
153
|
-
|
|
196
|
+
const midConvToolChangeFired = experimental &&
|
|
197
|
+
midConversationSystemActive &&
|
|
154
198
|
input.capabilities.midConvToolChange &&
|
|
155
|
-
midConvToolChange !== undefined
|
|
199
|
+
midConvToolChange !== undefined;
|
|
200
|
+
if (midConvToolChangeFired) {
|
|
156
201
|
out.push(midConvToolChange.header);
|
|
157
202
|
}
|
|
203
|
+
/*
|
|
204
|
+
* Site 11d. The inline-tools beta, which the genuine client sends when the
|
|
205
|
+
* account is served the feature (server-served, so the caller states it) and
|
|
206
|
+
* the mid-conversation tool-change beta just fired: it keys on that composed
|
|
207
|
+
* outcome, which is why it sits directly after site 11b. The coupled body
|
|
208
|
+
* half (`role: "system"` messages carrying `tool_addition` blocks) is the
|
|
209
|
+
* caller's to supply; this site is header-only.
|
|
210
|
+
*/
|
|
211
|
+
const inlineTools = registry.INLINE_TOOLS;
|
|
212
|
+
if (honoured &&
|
|
213
|
+
accountFeatures?.inlineTools === true &&
|
|
214
|
+
experimental &&
|
|
215
|
+
midConvToolChangeFired &&
|
|
216
|
+
inlineTools !== undefined) {
|
|
217
|
+
out.push(inlineTools.header);
|
|
218
|
+
}
|
|
219
|
+
/*
|
|
220
|
+
* Site 11e. The tool-provenance beta. OPT-IN: both genuine OAuth captures
|
|
221
|
+
* omit it, so it is never composed by default. Upstream's own conjuncts are
|
|
222
|
+
* the experimental gate and OAuth authentication; the coupled
|
|
223
|
+
* `ownership_metadata` body field is recorded as not ported.
|
|
224
|
+
*/
|
|
225
|
+
const toolProvenance = registry.TOOL_PROVENANCE;
|
|
226
|
+
if (honoured &&
|
|
227
|
+
accountFeatures?.toolProvenance === true &&
|
|
228
|
+
experimental &&
|
|
229
|
+
policy.oauthAuthenticated &&
|
|
230
|
+
toolProvenance !== undefined) {
|
|
231
|
+
out.push(toolProvenance.header);
|
|
232
|
+
}
|
|
233
|
+
/*
|
|
234
|
+
* Site 11f. The advisor-tool beta, pushed when the request carries the
|
|
235
|
+
* advisor tool itself. No experimental gate: the tool's presence in the
|
|
236
|
+
* request is the whole condition.
|
|
237
|
+
*/
|
|
238
|
+
const advisorTool = registry.ADVISOR_TOOL;
|
|
239
|
+
if (honoured && input.hasAdvisorTool === true && advisorTool !== undefined) {
|
|
240
|
+
out.push(advisorTool.header);
|
|
241
|
+
}
|
|
242
|
+
/*
|
|
243
|
+
* Site 6′. The thinking-token-count beta at the position the genuine client
|
|
244
|
+
* pushes it under `thinkingTokenCountAfterRequestTable`: after the
|
|
245
|
+
* per-request sites above and before clear-at (11c). Same gates as site 6.
|
|
246
|
+
*/
|
|
247
|
+
if (thinkingTokenCountGates && tokenCountAfterRequestTable) {
|
|
248
|
+
out.push(registry.THINKING_TOKEN_COUNT.header);
|
|
249
|
+
}
|
|
158
250
|
/*
|
|
159
251
|
* Site 11c. Upstream `Mo`, which is the one site whose experimental gate is
|
|
160
252
|
* invisible at the statement level -- `Mo` names no `Fg()` at all. The gate is
|
|
@@ -169,14 +261,25 @@ export function composeBetasWithAudit(input, profile = CLAUDE_CODE_2_1_195_PROFI
|
|
|
169
261
|
* holds because `Vr` is a per-session latch, and a stateless package composes
|
|
170
262
|
* every request as a first request. `Mee`'s other terms are fixed on the
|
|
171
263
|
* first-party path. What is left is `Ee.includes(jR)`, which is precisely the
|
|
172
|
-
* `
|
|
264
|
+
* `midConversationSystemActive` outcome recorded at site 11.
|
|
173
265
|
*/
|
|
174
266
|
const midConversationSystemClearAt = registry.MID_CONVERSATION_SYSTEM_CLEAR_AT;
|
|
175
267
|
if (experimental &&
|
|
176
|
-
|
|
268
|
+
midConversationSystemActive &&
|
|
177
269
|
midConversationSystemClearAt !== undefined) {
|
|
178
270
|
out.push(midConversationSystemClearAt.header);
|
|
179
271
|
}
|
|
272
|
+
/*
|
|
273
|
+
* Side-query marker. Upstream pushes the claude-code-side-query beta in the
|
|
274
|
+
* per-attempt group, before effort (`eUo`). The plugin sets the input on
|
|
275
|
+
* session-title requests only.
|
|
276
|
+
*/
|
|
277
|
+
const claudeCodeSideQuery = registry.CLAUDE_CODE_SIDE_QUERY;
|
|
278
|
+
if (honoured &&
|
|
279
|
+
input.sideQuery === true &&
|
|
280
|
+
claudeCodeSideQuery !== undefined) {
|
|
281
|
+
out.push(claudeCodeSideQuery.header);
|
|
282
|
+
}
|
|
180
283
|
// Site 12.
|
|
181
284
|
if (input.capabilities.effort)
|
|
182
285
|
out.push(registry.EFFORT.header);
|
|
@@ -258,11 +361,34 @@ export function composeBetasWithAudit(input, profile = CLAUDE_CODE_2_1_195_PROFI
|
|
|
258
361
|
}
|
|
259
362
|
if (profile.contextHintEnabled)
|
|
260
363
|
out.push(registry.CONTEXT_HINT.header);
|
|
261
|
-
|
|
364
|
+
const cacheDiagnosisComposed = policy.cacheDiagnosisEnabled;
|
|
365
|
+
if (cacheDiagnosisComposed &&
|
|
262
366
|
!out.includes(registry.CACHE_DIAGNOSIS.header)) {
|
|
263
367
|
out.push(registry.CACHE_DIAGNOSIS.header);
|
|
264
368
|
}
|
|
265
|
-
|
|
369
|
+
/*
|
|
370
|
+
* Site 18. The message-threads beta, after cache-diagnosis. Account-served,
|
|
371
|
+
* so the caller states the thread. Body-side half of a beta/body pair: the
|
|
372
|
+
* site also decides the body's `thread` object, which is dropped when the
|
|
373
|
+
* caller suppresses the identifier (see below).
|
|
374
|
+
*/
|
|
375
|
+
const messageThreads = registry.MESSAGE_THREADS;
|
|
376
|
+
let threadBody;
|
|
377
|
+
if (honoured &&
|
|
378
|
+
accountFeatures?.thread !== undefined &&
|
|
379
|
+
experimental &&
|
|
380
|
+
messageThreads !== undefined) {
|
|
381
|
+
out.push(messageThreads.header);
|
|
382
|
+
threadBody =
|
|
383
|
+
accountFeatures.thread.type === "create"
|
|
384
|
+
? { type: "create" }
|
|
385
|
+
: {
|
|
386
|
+
type: "continue",
|
|
387
|
+
previous_message_id: accountFeatures.thread.previousMessageId,
|
|
388
|
+
};
|
|
389
|
+
}
|
|
390
|
+
// The advisor-tool beta is pushed at site 11f, under `accountServedInputs`;
|
|
391
|
+
// no profile composes it unconditionally.
|
|
266
392
|
// Package extension. Canonical, upstream-derived identifiers always precede
|
|
267
393
|
// caller-supplied ones, and a caller entry that duplicates an already-emitted
|
|
268
394
|
// identifier is dropped rather than reordering the canonical prefix.
|
|
@@ -285,6 +411,9 @@ export function composeBetasWithAudit(input, profile = CLAUDE_CODE_2_1_195_PROFI
|
|
|
285
411
|
...(thinkingDisplayOverride === undefined
|
|
286
412
|
? {}
|
|
287
413
|
: { thinkingDisplayOverride }),
|
|
414
|
+
contextManagementComposed,
|
|
415
|
+
cacheDiagnosisComposed,
|
|
416
|
+
...(threadBody === undefined ? {} : { thread: threadBody }),
|
|
288
417
|
});
|
|
289
418
|
}
|
|
290
419
|
const suppressed = new Set(validateAdditionalBetas(input.suppressBetas));
|
|
@@ -304,6 +433,17 @@ export function composeBetasWithAudit(input, profile = CLAUDE_CODE_2_1_195_PROFI
|
|
|
304
433
|
...(thinkingDisplayOverride === undefined
|
|
305
434
|
? {}
|
|
306
435
|
: { thinkingDisplayOverride }),
|
|
436
|
+
// Same reasoning: the body-side halves of the context-management and
|
|
437
|
+
// cache-diagnosis pairs survive the suppression filter.
|
|
438
|
+
contextManagementComposed,
|
|
439
|
+
cacheDiagnosisComposed,
|
|
440
|
+
// The one body half the filter DOES reach: `thread` without its beta
|
|
441
|
+
// header is not a request the server accepts, so a suppressed
|
|
442
|
+
// message-threads identifier takes the body field with it.
|
|
443
|
+
...(threadBody === undefined ||
|
|
444
|
+
(messageThreads !== undefined && suppressed.has(messageThreads.header))
|
|
445
|
+
? {}
|
|
446
|
+
: { thread: threadBody }),
|
|
307
447
|
});
|
|
308
448
|
}
|
|
309
449
|
//# sourceMappingURL=betas.js.map
|
package/dist/betas.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"betas.js","sourceRoot":"","sources":["../src/betas.ts"],"names":[],"mappings":"AAAA,4CAA4C;AAE5C,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"betas.js","sourceRoot":"","sources":["../src/betas.ts"],"names":[],"mappings":"AAAA,4CAA4C;AAE5C,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAMnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EACL,6BAA6B,EAC7B,yBAAyB,GAC1B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAC5E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C5B,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-request.d.ts","sourceRoot":"","sources":["../src/build-request.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"build-request.d.ts","sourceRoot":"","sources":["../src/build-request.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,iCAAiC,EACjC,sBAAsB,EAOtB,yBAAyB,EACzB,0BAA0B,EAC1B,sBAAsB,EAIvB,MAAM,gBAAgB,CAAC;AAgYxB;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,eAAe,EAAE,yBACD,CAAC;AAssC9B,2DAA2D;AAC3D,wBAAsB,iCAAiC,CACrD,KAAK,EAAE,0BAA0B,EACjC,OAAO,GAAE,yBAA2C,GACnD,OAAO,CAAC,iCAAiC,CAAC,CAgG5C;AAED;;;;;;;;;GASG;AACH,wBAAsB,sBAAsB,CAC1C,KAAK,EAAE,sBAAsB,EAC7B,OAAO,GAAE,yBAA2C,GACnD,OAAO,CAAC,sBAAsB,CAAC,CA4NjC;AAED;;;;;;;;;GASG;AACH,wBAAgB,2BAA2B,CACzC,KAAK,EAAE,OAAO,EACd,OAAO,GAAE,yBAA2C,GACnD,sBAAsB,CA6GxB"}
|