dsh-github-copilot 0.4.0-alpha.99 → 0.4.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/AGENTS.md +96 -16
- package/CHANGELOG.md +211 -0
- package/CONTRIBUTING.md +9 -0
- package/README.md +106 -18
- package/README.zh.md +97 -18
- package/deployment-baseline.json +227 -8
- package/docs/account-management-experience.md +143 -0
- package/docs/auto-high-cost.md +154 -0
- package/docs/auto-iteration-review.json +22 -0
- package/docs/auto-review-sampling.md +60 -0
- package/docs/auto-task-routing.md +8 -6
- package/docs/automatic-model-routing.md +33 -5
- package/docs/copilot-accounts.md +376 -0
- package/docs/copilot-compaction.md +23 -2
- package/docs/copilot-usage.md +24 -4
- package/docs/evidence-driven-iteration.md +86 -0
- package/docs/images/copilot-accounts-credits.png +0 -0
- package/docs/images/copilot-accounts.png +0 -0
- package/docs/images/copilot-current-provenance.json +39 -0
- package/docs/images/copilot-model-preferences.png +0 -0
- package/docs/images/copilot-search-routing.png +0 -0
- package/docs/images/copilot-session-continuation.png +0 -0
- package/docs/manual-compaction-recovery.md +50 -7
- package/docs/mockups/copilot-account-dropdown.html +71 -0
- package/docs/mockups/copilot-account-management.html +393 -0
- package/docs/model-compatibility-acceptance.md +34 -16
- package/docs/official-first-020-rc2.md +1 -0
- package/docs/plugin-diagnostics.md +452 -0
- package/docs/session-continuation.md +141 -0
- package/docs/session-search-routing.md +1 -1
- package/docs/single-route-migration.md +5 -4
- package/lib/client.js +4415 -846
- package/lib/client.js.map +1 -1
- package/lib/diagnostics-analysis-io.js +78 -0
- package/lib/diagnostics-analysis.js +425 -0
- package/lib/diagnostics-types-FVf6zjob.js +182 -0
- package/lib/index.js +10356 -6020
- package/lib/manual-compaction-recovery.js +163 -38
- package/lib/remote.js +593 -34
- package/lib/routed-web.js +1 -1
- package/lib/{search-routing-jzNYveyK.js → search-routing-CV2hs8as.js} +139 -139
- package/lib/types/account-dropdown.d.ts +22 -0
- package/lib/types/account-model-auth.d.ts +1 -1
- package/lib/types/authorization-code-clipboard.d.ts +4 -0
- package/lib/types/authorization-controller.d.ts +2 -0
- package/lib/types/auto-allocation-card.d.ts +9 -0
- package/lib/types/auto-allocation-evidence.d.ts +38 -0
- package/lib/types/auto-allocation.d.ts +24 -0
- package/lib/types/auto-model-host.d.ts +2 -0
- package/lib/types/auto-model-routing.d.ts +6 -2
- package/lib/types/auto-review-sampling.d.ts +6 -0
- package/lib/types/auto-task-classifier.d.ts +1 -1
- package/lib/types/background-compaction.d.ts +2 -2
- package/lib/types/client.d.ts +19 -3
- package/lib/types/compaction-continuation-ui.d.ts +29 -0
- package/lib/types/compaction-continuation.d.ts +48 -0
- package/lib/types/compaction-input-estimate.d.ts +24 -0
- package/lib/types/compaction-replay.d.ts +18 -0
- package/lib/types/composer-notice-style.d.ts +7 -0
- package/lib/types/config.d.ts +42 -2
- package/lib/types/context-evidence-ui.d.ts +18 -1
- package/lib/types/context-evidence.d.ts +152 -4
- package/lib/types/copilot-account-presentation.d.ts +7 -0
- package/lib/types/copilot-accounts-card.d.ts +43 -0
- package/lib/types/copilot-accounts-host.d.ts +93 -0
- package/lib/types/copilot-accounts-remote.d.ts +85 -0
- package/lib/types/copilot-accounts-types.d.ts +43 -0
- package/lib/types/copilot-auth.d.ts +3 -1
- package/lib/types/copilot-usage-card.d.ts +23 -0
- package/lib/types/copilot-usage-host.d.ts +9 -1
- package/lib/types/copilot-usage-remote.d.ts +2 -1
- package/lib/types/copilot-usage-types.d.ts +1 -0
- package/lib/types/diagnostics-analysis-io.d.ts +23 -0
- package/lib/types/diagnostics-analysis.d.ts +295 -0
- package/lib/types/diagnostics-card.d.ts +11 -0
- package/lib/types/diagnostics-client.d.ts +13 -0
- package/lib/types/diagnostics-collector.d.ts +36 -0
- package/lib/types/diagnostics-host.d.ts +72 -0
- package/lib/types/diagnostics-remote.d.ts +109 -0
- package/lib/types/diagnostics-types.d.ts +431 -0
- package/lib/types/manual-compaction-recovery.d.ts +18 -3
- package/lib/types/model-preferences-card.d.ts +1 -1
- package/lib/types/native-settings-style.d.ts +10 -0
- package/lib/types/parent-model-follow-card.d.ts +2 -11
- package/lib/types/preview-provider.d.ts +4 -0
- package/lib/types/preview-route.d.ts +7 -5
- package/lib/types/remote.d.ts +9 -6
- package/lib/types/replay-recovery-host.d.ts +2 -2
- package/lib/types/replay-recovery-ui.d.ts +3 -1
- package/lib/types/request-body-evidence.d.ts +3 -1
- package/lib/types/responses-replay-compat.d.ts +2 -1
- package/lib/types/responses-request-compression.d.ts +33 -0
- package/lib/types/session-accounts-controller.d.ts +20 -0
- package/lib/types/session-accounts-host.d.ts +33 -0
- package/lib/types/session-accounts-remote.d.ts +114 -0
- package/lib/types/session-accounts.d.ts +38 -0
- package/lib/types/session-continuation-host.d.ts +45 -0
- package/lib/types/session-continuation-remote.d.ts +22 -0
- package/lib/types/session-continuation-types.d.ts +62 -0
- package/lib/types/session-continuation-ui.d.ts +49 -0
- package/lib/types/session-continuation.d.ts +14 -0
- package/lib/types/turn-request-models.d.ts +55 -0
- package/lib/types/turn-selection-card.d.ts +15 -1
- package/lib/types/turn-selection-host.d.ts +23 -0
- package/lib/types/turn-selection-remote.d.ts +4 -0
- package/lib/types/turn-selection.d.ts +19 -4
- package/package.json +19 -3
- package/scripts/analyze-diagnostics.mjs +91 -0
- package/scripts/iteration-review.mjs +53 -0
package/lib/routed-web.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { T as isPluginPreviewProvider, b as currentSearchSelection, t as isCopilotSearchSelection, y as currentSearchInitiator } from "./search-routing-CV2hs8as.js";
|
|
1
2
|
import "./copilot-identity-DRZY_d2X.js";
|
|
2
|
-
import { C as currentSearchInitiator, O as isPluginPreviewProvider, t as isCopilotSearchSelection, w as currentSearchSelection } from "./search-routing-jzNYveyK.js";
|
|
3
3
|
import { WebError, WebRuntime } from "@deepseek-ai/dsh-web";
|
|
4
4
|
//#region lib/types/routed-web.js
|
|
5
5
|
/**
|
|
@@ -1,8 +1,42 @@
|
|
|
1
1
|
import "./copilot-identity-DRZY_d2X.js";
|
|
2
2
|
import { getSupportedThinkingLevels } from "@earendil-works/pi-ai";
|
|
3
3
|
import { builtinProviders, getBuiltinModels } from "@earendil-works/pi-ai/providers/all";
|
|
4
|
-
import { attributionHeaders } from "@deepseek-ai/dsh-llm";
|
|
5
4
|
import { WebError } from "@deepseek-ai/dsh-web";
|
|
5
|
+
import { attributionHeaders } from "@deepseek-ai/dsh-llm";
|
|
6
|
+
//#region lib/types/settings-reader.js
|
|
7
|
+
function isLiveSetting(value) {
|
|
8
|
+
return typeof value === "object" && value !== null && typeof Reflect.get(value, "get") === "function";
|
|
9
|
+
}
|
|
10
|
+
/** Capture a native volatile field for one operation, or retain a plain fixture value. */
|
|
11
|
+
function readConfigValue(value) {
|
|
12
|
+
return isLiveSetting(value) ? value.get() : value;
|
|
13
|
+
}
|
|
14
|
+
function isRecord(value) {
|
|
15
|
+
return typeof value === "object" && value !== null;
|
|
16
|
+
}
|
|
17
|
+
function isSettingsForms(value) {
|
|
18
|
+
return isRecord(value) && typeof value.describe === "function";
|
|
19
|
+
}
|
|
20
|
+
function isLegacySettings(value) {
|
|
21
|
+
return isRecord(value) && typeof value.get === "function";
|
|
22
|
+
}
|
|
23
|
+
/** Read non-secret configuration through the API available on the running Core. */
|
|
24
|
+
function readSettingsNamespace(ctx, namespace) {
|
|
25
|
+
const settings = ctx.get("settings");
|
|
26
|
+
if (isLegacySettings(settings)) return settings.get(namespace);
|
|
27
|
+
if (!isSettingsForms(settings)) return void 0;
|
|
28
|
+
return settings.describe({ redactSecrets: true }).find((candidate) => candidate.ns === namespace)?.value;
|
|
29
|
+
}
|
|
30
|
+
/** Subscribe to namespace changes across the legacy settings provider and current form service. */
|
|
31
|
+
function onSettingsNamespaceUpdated(ctx, listener) {
|
|
32
|
+
const disposeDocument = ctx.on("settings/document-updated", (namespace) => listener(namespace));
|
|
33
|
+
const disposeLegacy = ctx.on("settings/updated", (namespace) => listener(namespace));
|
|
34
|
+
return () => {
|
|
35
|
+
disposeDocument();
|
|
36
|
+
disposeLegacy();
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
//#endregion
|
|
6
40
|
//#region lib/types/model-protocol.js
|
|
7
41
|
/** Project only public leaves and the same pi library's supported wire efforts. */
|
|
8
42
|
function projectModelFacts(model) {
|
|
@@ -40,38 +74,112 @@ function isPluginPreviewProvider(ctx, provider) {
|
|
|
40
74
|
return typeof view === "object" && view !== null && Reflect.get(view, "provider") === provider;
|
|
41
75
|
}
|
|
42
76
|
//#endregion
|
|
43
|
-
//#region lib/types/
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
77
|
+
//#region lib/types/http.js
|
|
78
|
+
/**
|
|
79
|
+
* Shared HTTP plumbing for the capability probe and the inline wires:
|
|
80
|
+
* bounded response reading, caller-cancellation races for preflight steps,
|
|
81
|
+
* and the stable {@link WebError} translations. The patterns mirror the
|
|
82
|
+
* harness `dsh-web` package family (web-search-deepseek, model discovery) so
|
|
83
|
+
* every credentialed request rejects redirects before a `Location` target can
|
|
84
|
+
* be contacted.
|
|
85
|
+
* @module dsh-github-copilot/http
|
|
86
|
+
*/
|
|
87
|
+
/**
|
|
88
|
+
* Endpoint replies larger than this are refused. The endpoint is whatever
|
|
89
|
+
* base URL the configuration named, so the ceiling holds on the bytes
|
|
90
|
+
* actually read rather than on the length the server claims.
|
|
91
|
+
*/
|
|
92
|
+
const MAX_RESPONSE_BYTES = 4194304;
|
|
93
|
+
/**
|
|
94
|
+
* Read a response body with a hard byte cap, refusing one that outgrows it.
|
|
95
|
+
* A declared length is checked first so an honest server is turned away
|
|
96
|
+
* without transferring anything; the accumulated total is what actually
|
|
97
|
+
* enforces the bound, because a server that under-declares (or streams) tells
|
|
98
|
+
* us nothing up front.
|
|
99
|
+
* @param response - the HTTP response whose body is read to completion.
|
|
100
|
+
* @param url - the requested URL, named in the refusal message.
|
|
101
|
+
* @returns the decoded body text.
|
|
102
|
+
* @throws WebError `WEB_PROVIDER_ERROR` when the body exceeds the cap.
|
|
103
|
+
*/
|
|
104
|
+
async function readBounded(response, url) {
|
|
105
|
+
const oversized = () => new WebError(`${url} answered with more than ${MAX_RESPONSE_BYTES} bytes`, "WEB_PROVIDER_ERROR");
|
|
106
|
+
const declared = Number(response.headers.get("content-length") ?? NaN);
|
|
107
|
+
if (Number.isFinite(declared) && declared > 4194304) {
|
|
108
|
+
await response.body?.cancel();
|
|
109
|
+
throw oversized();
|
|
110
|
+
}
|
|
111
|
+
if (response.body === null) return "";
|
|
112
|
+
const reader = response.body.getReader();
|
|
113
|
+
const chunks = [];
|
|
114
|
+
let total = 0;
|
|
115
|
+
try {
|
|
116
|
+
for (;;) {
|
|
117
|
+
const { done, value } = await reader.read();
|
|
118
|
+
if (done) break;
|
|
119
|
+
total += value.byteLength;
|
|
120
|
+
if (total > 4194304) throw oversized();
|
|
121
|
+
chunks.push(value);
|
|
122
|
+
}
|
|
123
|
+
} finally {
|
|
124
|
+
await reader.cancel().catch(() => void 0);
|
|
125
|
+
}
|
|
126
|
+
const body = new Uint8Array(total);
|
|
127
|
+
let offset = 0;
|
|
128
|
+
for (const chunk of chunks) {
|
|
129
|
+
body.set(chunk, offset);
|
|
130
|
+
offset += chunk.byteLength;
|
|
131
|
+
}
|
|
132
|
+
return new TextDecoder("utf-8", { fatal: true }).decode(body);
|
|
56
133
|
}
|
|
57
|
-
|
|
58
|
-
|
|
134
|
+
/** Whether an error is the fetch/`AbortSignal` abort signal. */
|
|
135
|
+
function isAbortError(error) {
|
|
136
|
+
return error instanceof DOMException && error.name === "AbortError";
|
|
59
137
|
}
|
|
60
|
-
/**
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
138
|
+
/**
|
|
139
|
+
* Race a same-process asynchronous preflight (credential resolution) against
|
|
140
|
+
* a cancellation signal. The attached settlement handlers keep observing an
|
|
141
|
+
* uncooperative operation after the race is lost, so a later rejection cannot
|
|
142
|
+
* become unhandled.
|
|
143
|
+
* @param operation - the preflight promise.
|
|
144
|
+
* @param signal - the cancellation signal (request abort or idle watchdog).
|
|
145
|
+
* @returns the operation's value, or a rejection once the signal fires.
|
|
146
|
+
*/
|
|
147
|
+
function abortable(operation, signal) {
|
|
148
|
+
if (signal === void 0) return operation;
|
|
149
|
+
if (signal.aborted) {
|
|
150
|
+
operation.then(() => void 0, () => void 0);
|
|
151
|
+
return Promise.reject(new DOMException("aborted", "AbortError"));
|
|
152
|
+
}
|
|
153
|
+
return new Promise((resolve, reject) => {
|
|
154
|
+
const onAbort = () => reject(new DOMException("aborted", "AbortError"));
|
|
155
|
+
signal.addEventListener("abort", onAbort, { once: true });
|
|
156
|
+
operation.then((value) => {
|
|
157
|
+
signal.removeEventListener("abort", onAbort);
|
|
158
|
+
resolve(value);
|
|
159
|
+
}, (error) => {
|
|
160
|
+
signal.removeEventListener("abort", onAbort);
|
|
161
|
+
reject(error);
|
|
162
|
+
});
|
|
163
|
+
});
|
|
66
164
|
}
|
|
67
|
-
/**
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
165
|
+
/**
|
|
166
|
+
* Extract a provider error message from an error envelope whose shape varies
|
|
167
|
+
* by protocol and vendor: `{ error: { message } }`, `{ error: "text" }`, or
|
|
168
|
+
* `{ message }`. Returns `undefined` when nothing usable is present.
|
|
169
|
+
* @param body - the parsed non-2xx response body.
|
|
170
|
+
* @returns the provider message, or `undefined`.
|
|
171
|
+
*/
|
|
172
|
+
function providerErrorMessage(body) {
|
|
173
|
+
if (typeof body !== "object" || body === null) return void 0;
|
|
174
|
+
const record = body;
|
|
175
|
+
const error = record["error"];
|
|
176
|
+
if (typeof error === "string" && error.length > 0) return error;
|
|
177
|
+
if (typeof error === "object" && error !== null) {
|
|
178
|
+
const message = error["message"];
|
|
179
|
+
if (typeof message === "string" && message.length > 0) return message;
|
|
180
|
+
}
|
|
181
|
+
const message = record["message"];
|
|
182
|
+
return typeof message === "string" && message.length > 0 ? message : void 0;
|
|
75
183
|
}
|
|
76
184
|
//#endregion
|
|
77
185
|
//#region lib/types/current-provider.js
|
|
@@ -438,114 +546,6 @@ function providerRequestHeaders(candidate, initiator) {
|
|
|
438
546
|
return headers;
|
|
439
547
|
}
|
|
440
548
|
//#endregion
|
|
441
|
-
//#region lib/types/http.js
|
|
442
|
-
/**
|
|
443
|
-
* Shared HTTP plumbing for the capability probe and the inline wires:
|
|
444
|
-
* bounded response reading, caller-cancellation races for preflight steps,
|
|
445
|
-
* and the stable {@link WebError} translations. The patterns mirror the
|
|
446
|
-
* harness `dsh-web` package family (web-search-deepseek, model discovery) so
|
|
447
|
-
* every credentialed request rejects redirects before a `Location` target can
|
|
448
|
-
* be contacted.
|
|
449
|
-
* @module dsh-github-copilot/http
|
|
450
|
-
*/
|
|
451
|
-
/**
|
|
452
|
-
* Endpoint replies larger than this are refused. The endpoint is whatever
|
|
453
|
-
* base URL the configuration named, so the ceiling holds on the bytes
|
|
454
|
-
* actually read rather than on the length the server claims.
|
|
455
|
-
*/
|
|
456
|
-
const MAX_RESPONSE_BYTES = 4194304;
|
|
457
|
-
/**
|
|
458
|
-
* Read a response body with a hard byte cap, refusing one that outgrows it.
|
|
459
|
-
* A declared length is checked first so an honest server is turned away
|
|
460
|
-
* without transferring anything; the accumulated total is what actually
|
|
461
|
-
* enforces the bound, because a server that under-declares (or streams) tells
|
|
462
|
-
* us nothing up front.
|
|
463
|
-
* @param response - the HTTP response whose body is read to completion.
|
|
464
|
-
* @param url - the requested URL, named in the refusal message.
|
|
465
|
-
* @returns the decoded body text.
|
|
466
|
-
* @throws WebError `WEB_PROVIDER_ERROR` when the body exceeds the cap.
|
|
467
|
-
*/
|
|
468
|
-
async function readBounded(response, url) {
|
|
469
|
-
const oversized = () => new WebError(`${url} answered with more than ${MAX_RESPONSE_BYTES} bytes`, "WEB_PROVIDER_ERROR");
|
|
470
|
-
const declared = Number(response.headers.get("content-length") ?? NaN);
|
|
471
|
-
if (Number.isFinite(declared) && declared > 4194304) {
|
|
472
|
-
await response.body?.cancel();
|
|
473
|
-
throw oversized();
|
|
474
|
-
}
|
|
475
|
-
if (response.body === null) return "";
|
|
476
|
-
const reader = response.body.getReader();
|
|
477
|
-
const chunks = [];
|
|
478
|
-
let total = 0;
|
|
479
|
-
try {
|
|
480
|
-
for (;;) {
|
|
481
|
-
const { done, value } = await reader.read();
|
|
482
|
-
if (done) break;
|
|
483
|
-
total += value.byteLength;
|
|
484
|
-
if (total > 4194304) throw oversized();
|
|
485
|
-
chunks.push(value);
|
|
486
|
-
}
|
|
487
|
-
} finally {
|
|
488
|
-
await reader.cancel().catch(() => void 0);
|
|
489
|
-
}
|
|
490
|
-
const body = new Uint8Array(total);
|
|
491
|
-
let offset = 0;
|
|
492
|
-
for (const chunk of chunks) {
|
|
493
|
-
body.set(chunk, offset);
|
|
494
|
-
offset += chunk.byteLength;
|
|
495
|
-
}
|
|
496
|
-
return new TextDecoder("utf-8", { fatal: true }).decode(body);
|
|
497
|
-
}
|
|
498
|
-
/** Whether an error is the fetch/`AbortSignal` abort signal. */
|
|
499
|
-
function isAbortError(error) {
|
|
500
|
-
return error instanceof DOMException && error.name === "AbortError";
|
|
501
|
-
}
|
|
502
|
-
/**
|
|
503
|
-
* Race a same-process asynchronous preflight (credential resolution) against
|
|
504
|
-
* a cancellation signal. The attached settlement handlers keep observing an
|
|
505
|
-
* uncooperative operation after the race is lost, so a later rejection cannot
|
|
506
|
-
* become unhandled.
|
|
507
|
-
* @param operation - the preflight promise.
|
|
508
|
-
* @param signal - the cancellation signal (request abort or idle watchdog).
|
|
509
|
-
* @returns the operation's value, or a rejection once the signal fires.
|
|
510
|
-
*/
|
|
511
|
-
function abortable(operation, signal) {
|
|
512
|
-
if (signal === void 0) return operation;
|
|
513
|
-
if (signal.aborted) {
|
|
514
|
-
operation.then(() => void 0, () => void 0);
|
|
515
|
-
return Promise.reject(new DOMException("aborted", "AbortError"));
|
|
516
|
-
}
|
|
517
|
-
return new Promise((resolve, reject) => {
|
|
518
|
-
const onAbort = () => reject(new DOMException("aborted", "AbortError"));
|
|
519
|
-
signal.addEventListener("abort", onAbort, { once: true });
|
|
520
|
-
operation.then((value) => {
|
|
521
|
-
signal.removeEventListener("abort", onAbort);
|
|
522
|
-
resolve(value);
|
|
523
|
-
}, (error) => {
|
|
524
|
-
signal.removeEventListener("abort", onAbort);
|
|
525
|
-
reject(error);
|
|
526
|
-
});
|
|
527
|
-
});
|
|
528
|
-
}
|
|
529
|
-
/**
|
|
530
|
-
* Extract a provider error message from an error envelope whose shape varies
|
|
531
|
-
* by protocol and vendor: `{ error: { message } }`, `{ error: "text" }`, or
|
|
532
|
-
* `{ message }`. Returns `undefined` when nothing usable is present.
|
|
533
|
-
* @param body - the parsed non-2xx response body.
|
|
534
|
-
* @returns the provider message, or `undefined`.
|
|
535
|
-
*/
|
|
536
|
-
function providerErrorMessage(body) {
|
|
537
|
-
if (typeof body !== "object" || body === null) return void 0;
|
|
538
|
-
const record = body;
|
|
539
|
-
const error = record["error"];
|
|
540
|
-
if (typeof error === "string" && error.length > 0) return error;
|
|
541
|
-
if (typeof error === "object" && error !== null) {
|
|
542
|
-
const message = error["message"];
|
|
543
|
-
if (typeof message === "string" && message.length > 0) return message;
|
|
544
|
-
}
|
|
545
|
-
const message = record["message"];
|
|
546
|
-
return typeof message === "string" && message.length > 0 ? message : void 0;
|
|
547
|
-
}
|
|
548
|
-
//#endregion
|
|
549
549
|
//#region lib/types/traditional-search.js
|
|
550
550
|
/**
|
|
551
551
|
* Traditional `ctx.web` search provider backed by a verified OpenAI Responses
|
|
@@ -789,4 +789,4 @@ async function routeSessionSearch(request, signal, deps) {
|
|
|
789
789
|
};
|
|
790
790
|
}
|
|
791
791
|
//#endregion
|
|
792
|
-
export {
|
|
792
|
+
export { providerErrorMessage as C, onSettingsNamespaceUpdated as D, readCopilotCatalog as E, readConfigValue as O, isAbortError as S, isPluginPreviewProvider as T, sameCandidates as _, COPILOT_HOSTED_SEARCH_PROVIDER_ID as a, currentSearchSelection as b, applyRequestAuth as c, ANTHROPIC_WEB_SEARCH_TOOL_TYPE as d, GITHUB_COPILOT_CREDENTIAL_KEY as f, candidatesForRoute as g, WEB_SEARCH_TOOL_TYPE as h, describeSearchBackend as i, readSettingsNamespace as k, normalizeRequestAuth as l, SearchPlan as m, routeSessionSearch as n, GITHUB_COPILOT_HOSTED_SEARCH_PROVIDER_ID as o, RESPONSES_WEB_SEARCH_TOOL_TYPE as p, DescribedSearchFallbackError as r, createTraditionalSearchProvider as s, isCopilotSearchSelection as t, providerRequestHeaders as u, currentChatRoute as v, readBounded as w, abortable as x, currentSearchInitiator as y };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { CSSProperties, ReactElement, RefObject } from 'react';
|
|
2
|
+
export interface AccountDropdownOption {
|
|
3
|
+
id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
selected: boolean;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare function AccountDropdown(props: {
|
|
9
|
+
label: string;
|
|
10
|
+
open: boolean;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
busy?: boolean;
|
|
13
|
+
options: AccountDropdownOption[];
|
|
14
|
+
onOpenChange(open: boolean): void;
|
|
15
|
+
onSelect(id: string): void;
|
|
16
|
+
triggerStyle: CSSProperties;
|
|
17
|
+
triggerRef?: RefObject<HTMLButtonElement | null>;
|
|
18
|
+
footer?: ReactElement | null;
|
|
19
|
+
listAttribute: 'data-copilot-saved-accounts' | 'data-copilot-account-options';
|
|
20
|
+
maxHeight?: number;
|
|
21
|
+
}): ReactElement;
|
|
22
|
+
//# sourceMappingURL=account-dropdown.d.ts.map
|
|
@@ -11,5 +11,5 @@ export declare function copilotEntitlementKey(grant: Pick<GitHubCopilotOAuthCred
|
|
|
11
11
|
* Bind model discovery to the existing native OAuth lifecycle. No model catalog,
|
|
12
12
|
* login, environment fallback or separate credential record is introduced here.
|
|
13
13
|
*/
|
|
14
|
-
export declare function createAccountModelAuth(credentials: CredentialStore, renewRejectedCredential?: (grant: GitHubCopilotOAuthCredential) => boolean): Pick<AccountModelSourceDependencies, 'resolveAuth' | 'assertAuthCurrent'>;
|
|
14
|
+
export declare function createAccountModelAuth(credentials: CredentialStore | (() => CredentialStore), renewRejectedCredential?: (grant: GitHubCopilotOAuthCredential) => boolean): Pick<AccountModelSourceDependencies, 'resolveAuth' | 'assertAuthCurrent'>;
|
|
15
15
|
//# sourceMappingURL=account-model-auth.d.ts.map
|
|
@@ -58,6 +58,7 @@ export interface GitHubCopilotModelPreferencesView {
|
|
|
58
58
|
readonly excludedModelIds: readonly string[];
|
|
59
59
|
readonly lockedModelIds: readonly string[];
|
|
60
60
|
readonly unavailableExcludedModelIds: readonly string[];
|
|
61
|
+
readonly highCostModelIds?: readonly string[];
|
|
61
62
|
readonly error?: 'COPILOT_MODEL_PREFERENCES_UNAVAILABLE' | 'COPILOT_MODEL_EXCLUSION_SELECTED' | 'COPILOT_MODEL_EXCLUSION_CONFLICT' | 'COPILOT_MODEL_EXCLUSION_SAVE_FAILED' | 'COPILOT_MODEL_SETTINGS_UNAVAILABLE' | 'COPILOT_MODEL_SETTINGS_INVALID' | 'COPILOT_MODEL_SELECTION_UNAVAILABLE';
|
|
62
63
|
}
|
|
63
64
|
export interface GitHubCopilotAuthorizationView {
|
|
@@ -102,6 +103,7 @@ export declare class GitHubCopilotAuthorizationController extends TypertRemoteSe
|
|
|
102
103
|
excludeModel(modelId: string): Promise<GitHubCopilotAuthorizationView>;
|
|
103
104
|
restoreModel(modelId: string): Promise<GitHubCopilotAuthorizationView>;
|
|
104
105
|
setModelExcluded(modelId: string, excluded: boolean): Promise<GitHubCopilotModelPreferencesView>;
|
|
106
|
+
setModelHighCost(modelId: string, highCost: boolean): Promise<GitHubCopilotModelPreferencesView>;
|
|
105
107
|
/** Explicit model discovery: may refresh OAuth and GET the account catalog, never changes selection. */
|
|
106
108
|
discoverModels(): Promise<GitHubCopilotAuthorizationView>;
|
|
107
109
|
/** Ensure metadata for a visible account view, honoring shared cache and failure cooldown. */
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
export declare function AutoAllocationCard({ read, locale }: {
|
|
3
|
+
readonly read: () => Promise<{
|
|
4
|
+
ok: boolean;
|
|
5
|
+
value?: unknown;
|
|
6
|
+
}>;
|
|
7
|
+
readonly locale: string;
|
|
8
|
+
}): ReactElement;
|
|
9
|
+
//# sourceMappingURL=auto-allocation-card.d.ts.map
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import type { AutoSelectionExplanation } from './auto-model-routing.ts';
|
|
3
|
+
export declare const AutoAllocationSummarySchema: z.ZodObject<{
|
|
4
|
+
policyVersion: z.ZodLiteral<"high-cost-v1">;
|
|
5
|
+
scope: z.ZodLiteral<"viewed-session-host-lifetime">;
|
|
6
|
+
status: z.ZodEnum<{
|
|
7
|
+
observed: "observed";
|
|
8
|
+
"not-collected": "not-collected";
|
|
9
|
+
}>;
|
|
10
|
+
retainedDecisions: z.ZodNumber;
|
|
11
|
+
noFitDecisions: z.ZodNumber;
|
|
12
|
+
rowsTruncated: z.ZodBoolean;
|
|
13
|
+
completeHistory: z.ZodLiteral<false>;
|
|
14
|
+
observationStart: z.ZodNullable<z.ZodNumber>;
|
|
15
|
+
observationEnd: z.ZodNullable<z.ZodNumber>;
|
|
16
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
17
|
+
modelId: z.ZodString;
|
|
18
|
+
category: z.ZodEnum<{
|
|
19
|
+
unknown: "unknown";
|
|
20
|
+
powerful: "powerful";
|
|
21
|
+
versatile: "versatile";
|
|
22
|
+
lightweight: "lightweight";
|
|
23
|
+
}>;
|
|
24
|
+
highCost: z.ZodBoolean;
|
|
25
|
+
previous: z.ZodBoolean;
|
|
26
|
+
weight: z.ZodNumber;
|
|
27
|
+
opportunities: z.ZodNumber;
|
|
28
|
+
expectedSelections: z.ZodNumber;
|
|
29
|
+
selections: z.ZodNumber;
|
|
30
|
+
}, z.core.$strict>>;
|
|
31
|
+
}, z.core.$strict>;
|
|
32
|
+
export type AutoAllocationSummary = z.infer<typeof AutoAllocationSummarySchema>;
|
|
33
|
+
/** Recompute only from captured bounded decisions, never today's settings or history content. */
|
|
34
|
+
export declare function summarizeAutoAllocations(explanations: readonly AutoSelectionExplanation[], window?: {
|
|
35
|
+
readonly start: number;
|
|
36
|
+
readonly end: number;
|
|
37
|
+
}): AutoAllocationSummary;
|
|
38
|
+
//# sourceMappingURL=auto-allocation-evidence.d.ts.map
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const AUTO_ALLOCATION_POLICY = "high-cost-v1";
|
|
3
|
+
export declare const AutoAllocationSchema: z.ZodObject<{
|
|
4
|
+
policyVersion: z.ZodLiteral<"high-cost-v1">;
|
|
5
|
+
selectedModelId: z.ZodString;
|
|
6
|
+
candidates: z.ZodArray<z.ZodObject<{
|
|
7
|
+
modelId: z.ZodString;
|
|
8
|
+
highCost: z.ZodBoolean;
|
|
9
|
+
previous: z.ZodBoolean;
|
|
10
|
+
weight: z.ZodNumber;
|
|
11
|
+
expectedShare: z.ZodNumber;
|
|
12
|
+
}, z.core.$strict>>;
|
|
13
|
+
}, z.core.$strict>;
|
|
14
|
+
type AllocationValue = z.infer<typeof AutoAllocationSchema>;
|
|
15
|
+
export type AutoAllocation = Readonly<Omit<AllocationValue, 'candidates'>> & {
|
|
16
|
+
readonly candidates: readonly Readonly<AllocationValue['candidates'][number]>[];
|
|
17
|
+
};
|
|
18
|
+
export declare function normalizeHighCostModelIds(value: unknown): readonly string[];
|
|
19
|
+
/** Integer policy units avoid cumulative decimal drift; avalanche sequential turn seeds. */
|
|
20
|
+
export declare function allocateAutoModel(pool: readonly {
|
|
21
|
+
readonly id: string;
|
|
22
|
+
}[], highCostModelIds: unknown, previousModelId: string | undefined, seed: number): AutoAllocation;
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=auto-allocation.d.ts.map
|
|
@@ -19,6 +19,8 @@ export interface AutoModelHostDependencies {
|
|
|
19
19
|
followParentModel?: () => boolean;
|
|
20
20
|
admitModel?: (agent: Agent, turn: number, model: string, signal: AbortSignal) => void;
|
|
21
21
|
semanticAssessment?: () => boolean;
|
|
22
|
+
highCostModelIds?: () => readonly string[];
|
|
23
|
+
allocationEvidence?: () => boolean;
|
|
22
24
|
classifyTask?: TaskAssessmentDependencies['classify'];
|
|
23
25
|
assessmentDiagnostic?: (code: string) => void;
|
|
24
26
|
}
|
|
@@ -2,6 +2,7 @@ import type { AccountModelCategory, AccountModelDescriptor } from './account-mod
|
|
|
2
2
|
import type { TaskAssessment } from './auto-task-assessment.ts';
|
|
3
3
|
import type { AutoModelPreference } from './copilot-identity.ts';
|
|
4
4
|
import type { RequestBudgetPolicy } from './request-budget.ts';
|
|
5
|
+
import type { AutoAllocation } from './auto-allocation.ts';
|
|
5
6
|
export type AutoModelClass = 'fast' | 'balanced' | 'strong';
|
|
6
7
|
export interface AutoModelFeatures {
|
|
7
8
|
readonly taskClass: AutoModelClass;
|
|
@@ -27,8 +28,9 @@ export interface AutoSelectionExplanation {
|
|
|
27
28
|
readonly targetCategory: AccountModelCategory;
|
|
28
29
|
readonly selectedCategory: AccountModelCategory | 'unknown';
|
|
29
30
|
readonly categoryCandidateCount: number;
|
|
30
|
-
readonly method: 'continuity' | 'equal-distribution' | 'only-candidate' | 'no-fit';
|
|
31
|
+
readonly method: 'continuity' | 'equal-distribution' | 'weighted-distribution' | 'only-candidate' | 'no-fit';
|
|
31
32
|
readonly fallback: boolean;
|
|
33
|
+
readonly allocation?: AutoAllocation;
|
|
32
34
|
}
|
|
33
35
|
export interface AutoModelRoutingContext {
|
|
34
36
|
readonly estimateMessage?: (message: unknown) => number;
|
|
@@ -42,6 +44,8 @@ export interface AutoModelRoutingContext {
|
|
|
42
44
|
readonly hasCompactionSummary?: boolean;
|
|
43
45
|
readonly assessment?: TaskAssessment;
|
|
44
46
|
readonly previousModelId?: string;
|
|
47
|
+
readonly highCostModelIds?: readonly string[];
|
|
48
|
+
readonly collectAllocationEvidence?: boolean;
|
|
45
49
|
}
|
|
46
50
|
export declare class AutoModelRoutingError extends Error {
|
|
47
51
|
readonly code: 'COPILOT_AUTO_NO_ELIGIBLE_MODEL' | 'COPILOT_AUTO_TOKEN_METER_UNAVAILABLE' | 'COPILOT_AUTO_TOKEN_ESTIMATE_INVALID';
|
|
@@ -51,7 +55,7 @@ export declare function classifyAutoModelTurn(messages: readonly unknown[]): Aut
|
|
|
51
55
|
export declare function estimateTurnInputTokens(messages: readonly unknown[], estimateMessage?: (message: unknown) => number): number;
|
|
52
56
|
/**
|
|
53
57
|
* Filter input headroom before task-aware supplier categories.
|
|
54
|
-
*
|
|
58
|
+
* Apply finite continuity and positive cost weights within the fitting category.
|
|
55
59
|
* Preserves Core compaction ownership if no candidate currently fits.
|
|
56
60
|
*/
|
|
57
61
|
export declare function selectAutoModel(models: readonly AccountModelDescriptor[], messages: readonly unknown[], preference?: AutoModelPreference, context?: AutoModelRoutingContext): AutoModelDecision;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Context } from '@deepseek-ai/cordis';
|
|
2
|
+
/** Resolve the published callback, never the configured entry's display name. */
|
|
3
|
+
export declare function isNativeReviewerContext(caller: Context): Promise<boolean>;
|
|
4
|
+
/** Reversible service-read delegation; neither the native service nor its context is changed. */
|
|
5
|
+
export declare function installAutoReviewSampling(ctx: Context): () => void;
|
|
6
|
+
//# sourceMappingURL=auto-review-sampling.d.ts.map
|
|
@@ -3,7 +3,7 @@ import type { AccountModelDescriptor } from './account-model-catalog.ts';
|
|
|
3
3
|
import type { AssessmentInput } from './auto-task-assessment.ts';
|
|
4
4
|
import type { TaskClassifierObserver } from './auto-assessment-evidence.ts';
|
|
5
5
|
export declare const TASK_CLASSIFIER_MAX_TOKENS = 128;
|
|
6
|
-
export declare function taskClassifierModel(models: readonly AccountModelDescriptor[]): AccountModelDescriptor | undefined;
|
|
6
|
+
export declare function taskClassifierModel(models: readonly AccountModelDescriptor[], highCostModelIds?: readonly string[]): AccountModelDescriptor | undefined;
|
|
7
7
|
/** One auxiliary concrete-model call; no Auto recursion, tools, history writes or retry loop. */
|
|
8
8
|
export declare function classifyTaskWithAdapter(model: AccountModelDescriptor, input: AssessmentInput, signal: AbortSignal, stream: (request: GenerateOptions) => AsyncIterable<StreamChunk>, observe?: TaskClassifierObserver, reasoningOffSupported?: boolean, checkpoint?: () => void): Promise<string>;
|
|
9
9
|
//# sourceMappingURL=auto-task-classifier.d.ts.map
|
|
@@ -21,10 +21,10 @@ export declare class BackgroundCompaction<A extends {
|
|
|
21
21
|
private readonly latest;
|
|
22
22
|
private readonly active;
|
|
23
23
|
private closed;
|
|
24
|
-
constructor(jobs: Jobs, compact: (agent: A, signal: AbortSignal) => Promise<Result>, warn: (message: string) => void);
|
|
24
|
+
constructor(jobs: Jobs, compact: (agent: A, signal: AbortSignal, visibleHistory: boolean) => Promise<Result>, warn: (message: string) => void);
|
|
25
25
|
execute(agent: A, rawInput: string, signal: AbortSignal): CommandResult;
|
|
26
26
|
dispose(): Promise<void>;
|
|
27
27
|
}
|
|
28
|
-
export declare function installBackgroundCompaction(ctx: Context, compact: (agent: Agent, signal: AbortSignal) => Promise<CompactionResult | null>): void;
|
|
28
|
+
export declare function installBackgroundCompaction(ctx: Context, compact: (agent: Agent, signal: AbortSignal, visibleHistory: boolean) => Promise<CompactionResult | null>): void;
|
|
29
29
|
export {};
|
|
30
30
|
//# sourceMappingURL=background-compaction.d.ts.map
|
package/lib/types/client.d.ts
CHANGED
|
@@ -7,9 +7,14 @@ import { createCompactAccount } from './compact-account.ts';
|
|
|
7
7
|
import type { CSSProperties, ReactElement } from 'react';
|
|
8
8
|
import type { GitHubCopilotAuthorizationView } from './authorization-controller.ts';
|
|
9
9
|
import type { ProviderCardExtrasOwnerProps, SettingsSectionOwnerProps } from './dsh-supported-types.ts';
|
|
10
|
+
import type { DiagnosticsRemote } from './diagnostics-card.ts';
|
|
10
11
|
export { HostedSearchSettingsCard, WebSearchRoutingCard } from './web-search-routing-card.ts';
|
|
11
12
|
export { ParentModelFollowCard } from './parent-model-follow-card.ts';
|
|
12
13
|
export { CopilotUsageCard } from './copilot-usage-card.ts';
|
|
14
|
+
import type { SessionContinuationRemote } from './session-continuation-ui.ts';
|
|
15
|
+
import type { CopilotAccountsRemote } from './copilot-accounts-card.ts';
|
|
16
|
+
import { copyAuthorizationCode } from './authorization-code-clipboard.ts';
|
|
17
|
+
export { copyAuthorizationCode };
|
|
13
18
|
export { GitHubCopilotModelPreferencesPanel } from './model-preferences-card.ts';
|
|
14
19
|
export declare const inject: string[];
|
|
15
20
|
interface GitHubCopilotProviderCardProps extends ProviderCardExtrasOwnerProps {
|
|
@@ -17,6 +22,13 @@ interface GitHubCopilotProviderCardProps extends ProviderCardExtrasOwnerProps {
|
|
|
17
22
|
}
|
|
18
23
|
interface GitHubCopilotSettingsSectionProps extends SettingsSectionOwnerProps {
|
|
19
24
|
readonly remote: ClientContext['remote']['githubCopilot'];
|
|
25
|
+
readonly locale?: string;
|
|
26
|
+
}
|
|
27
|
+
interface LocaleReader {
|
|
28
|
+
getLocale(): {
|
|
29
|
+
active: string;
|
|
30
|
+
};
|
|
31
|
+
subscribe(listener: () => void): () => void;
|
|
20
32
|
}
|
|
21
33
|
/** Older Remote clients may not decode results: project known fields before validating our own copy. */
|
|
22
34
|
export declare function authorizationViewFrom(value: unknown): GitHubCopilotAuthorizationView | undefined;
|
|
@@ -25,10 +37,7 @@ export declare function catalogWarningOf(status: GitHubCopilotAuthorizationView
|
|
|
25
37
|
export declare function previewAssignmentMessage(status: GitHubCopilotAuthorizationView | undefined): string | undefined;
|
|
26
38
|
export declare function routeStatusMessage(status: GitHubCopilotAuthorizationView | undefined): string | undefined;
|
|
27
39
|
export declare function activeAuthorizationNotice(status: GitHubCopilotAuthorizationView | undefined): GitHubCopilotAuthorizationView['notices'][number] | undefined;
|
|
28
|
-
type ClipboardWriter = Pick<Clipboard, 'writeText'>;
|
|
29
40
|
type CopyState = 'idle' | 'copying' | 'copied' | 'failed';
|
|
30
|
-
/** Copy a one-time authorization code through the browser clipboard boundary. */
|
|
31
|
-
export declare function copyAuthorizationCode(code: string, clipboard?: ClipboardWriter): Promise<void>;
|
|
32
41
|
interface AuthorizationNoticeProps {
|
|
33
42
|
readonly message: string;
|
|
34
43
|
readonly url?: string;
|
|
@@ -64,6 +73,10 @@ export declare function GitHubCopilotAccountModelsPanel(props: {
|
|
|
64
73
|
}): ReactElement;
|
|
65
74
|
interface GitHubCopilotPreviewFooterProps {
|
|
66
75
|
readonly remote: ClientContext['remote']['githubCopilot'];
|
|
76
|
+
readonly accountsRemote?: CopilotAccountsRemote;
|
|
77
|
+
readonly continuationRemote?: SessionContinuationRemote;
|
|
78
|
+
readonly continuationSettings?: ReactElement;
|
|
79
|
+
readonly locale?: string;
|
|
67
80
|
/** A slot coordinator owns this controller's attachment across surface handoffs. */
|
|
68
81
|
readonly account?: ReturnType<typeof createCompactAccount>;
|
|
69
82
|
readonly embedded?: boolean;
|
|
@@ -101,12 +114,15 @@ export declare function GitHubCopilotAccountSurface(props: GitHubCopilotPreviewF
|
|
|
101
114
|
readonly surfaces: ReturnType<typeof createAccountSurfaces>;
|
|
102
115
|
readonly seat: AccountSurfaceSeat;
|
|
103
116
|
readonly eligible?: boolean;
|
|
117
|
+
readonly localeReader?: LocaleReader;
|
|
104
118
|
}): ReactElement | null;
|
|
105
119
|
/** Unified fallback when the Models footer extension is absent or incompatible. */
|
|
106
120
|
export declare function GitHubCopilotSettingsSection(props: GitHubCopilotSettingsSectionProps): ReturnType<typeof createElement>;
|
|
107
121
|
export declare function CopilotPluginSettingsPage(props: {
|
|
108
122
|
settings: ClientContext['remote']['settings'];
|
|
109
123
|
routing: ClientContext['remote']['githubCopilotSearchRouting'];
|
|
124
|
+
diagnostics?: DiagnosticsRemote;
|
|
125
|
+
diagnosticsControl?: ReactElement;
|
|
110
126
|
}): import("react").DetailedReactHTMLElement<import("react").HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
111
127
|
/** Mount the plugin-owned Remote namespace and register the Models card seat. */
|
|
112
128
|
export declare function apply(ctx: ClientContext): Promise<() => Promise<void>>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
import type { SessionContinuationRemote } from './session-continuation-ui.ts';
|
|
3
|
+
import type { CompactionContinuationStatus } from './session-continuation-types.ts';
|
|
4
|
+
type NoticeState = CompactionContinuationStatus['state'] | 'unavailable';
|
|
5
|
+
/** Presentation only, retained across incidental mounts by the Client slot registration. */
|
|
6
|
+
export declare class CompactionNoticePresentation {
|
|
7
|
+
private entries;
|
|
8
|
+
private listeners;
|
|
9
|
+
private version;
|
|
10
|
+
subscribe: (listener: () => void) => () => void;
|
|
11
|
+
snapshot: () => number;
|
|
12
|
+
private key;
|
|
13
|
+
private remember;
|
|
14
|
+
observe(sessionId: string, id: string, state: NoticeState): void;
|
|
15
|
+
remaining(sessionId: string, id: string): number | undefined;
|
|
16
|
+
visible(sessionId: string, id: string, state: NoticeState): boolean;
|
|
17
|
+
dismiss(sessionId: string, id: string, state: NoticeState): void;
|
|
18
|
+
dispose(): void;
|
|
19
|
+
}
|
|
20
|
+
export declare function CompactionContinuationNotice({ sessionId, remote, lifecycle, locale, renderEvidence, presentation: sharedPresentation }: {
|
|
21
|
+
sessionId: string;
|
|
22
|
+
remote?: SessionContinuationRemote;
|
|
23
|
+
lifecycle: unknown;
|
|
24
|
+
locale?: string;
|
|
25
|
+
presentation?: CompactionNoticePresentation;
|
|
26
|
+
renderEvidence?: (status?: CompactionContinuationStatus, controls?: ReactElement | null, transient?: boolean) => ReactElement | null;
|
|
27
|
+
}): ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
|
|
28
|
+
export {};
|
|
29
|
+
//# sourceMappingURL=compaction-continuation-ui.d.ts.map
|