dsh-github-copilot 0.4.0-alpha.100

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.
Files changed (156) hide show
  1. package/AGENTS.md +312 -0
  2. package/CHANGELOG.md +479 -0
  3. package/CONTRIBUTING.md +46 -0
  4. package/LICENSE +21 -0
  5. package/README.md +203 -0
  6. package/README.zh.md +202 -0
  7. package/SECURITY.md +29 -0
  8. package/cordis.patch.yml +16 -0
  9. package/deployment-baseline.json +1299 -0
  10. package/docs/agent-readiness.md +110 -0
  11. package/docs/auto-task-routing.md +234 -0
  12. package/docs/automatic-model-routing.md +205 -0
  13. package/docs/copilot-accounts.md +236 -0
  14. package/docs/copilot-compaction.md +120 -0
  15. package/docs/copilot-usage.md +125 -0
  16. package/docs/dual-model.md +66 -0
  17. package/docs/image-input-compatibility.md +64 -0
  18. package/docs/images/copilot-accounts-credits.png +0 -0
  19. package/docs/images/copilot-accounts.png +0 -0
  20. package/docs/images/copilot-model-preferences.png +0 -0
  21. package/docs/images/copilot-search-routing.png +0 -0
  22. package/docs/images/dual-model-desktop.png +0 -0
  23. package/docs/images/dual-model-mobile.png +0 -0
  24. package/docs/images/dual-model-provenance.json +35 -0
  25. package/docs/images/parent-model-follow.png +0 -0
  26. package/docs/manual-compaction-recovery.md +64 -0
  27. package/docs/model-compatibility-acceptance.md +164 -0
  28. package/docs/npm-distribution.md +149 -0
  29. package/docs/official-first-016-alpha2.md +66 -0
  30. package/docs/official-first-020-rc1.md +32 -0
  31. package/docs/official-first-020-rc2.md +16 -0
  32. package/docs/session-search-routing.md +133 -0
  33. package/docs/single-route-migration.md +130 -0
  34. package/docs/web-lifecycle-rc2.md +55 -0
  35. package/lib/client.js +10822 -0
  36. package/lib/client.js.map +1 -0
  37. package/lib/copilot-identity-DRZY_d2X.js +15 -0
  38. package/lib/index.js +11689 -0
  39. package/lib/manual-compaction-recovery.js +315 -0
  40. package/lib/remote.js +734 -0
  41. package/lib/request-budget-DLY_aRq0.js +87 -0
  42. package/lib/routed-web.js +120 -0
  43. package/lib/search-routing-CqysPLve.js +792 -0
  44. package/lib/types/account-model-auth.d.ts +15 -0
  45. package/lib/types/account-model-catalog.d.ts +70 -0
  46. package/lib/types/account-model-source.d.ts +85 -0
  47. package/lib/types/agent-compaction.d.ts +4 -0
  48. package/lib/types/authorization-controller.d.ts +119 -0
  49. package/lib/types/auto-assessment-evidence.d.ts +46 -0
  50. package/lib/types/auto-model-host.d.ts +27 -0
  51. package/lib/types/auto-model-intent.d.ts +36 -0
  52. package/lib/types/auto-model-presentation.d.ts +57 -0
  53. package/lib/types/auto-model-routing.d.ts +59 -0
  54. package/lib/types/auto-selection-explanation.d.ts +9 -0
  55. package/lib/types/auto-task-assessment.d.ts +47 -0
  56. package/lib/types/auto-task-classifier.d.ts +9 -0
  57. package/lib/types/background-compaction.d.ts +30 -0
  58. package/lib/types/client.d.ts +115 -0
  59. package/lib/types/compact-account.d.ts +42 -0
  60. package/lib/types/compaction-pressure.d.ts +23 -0
  61. package/lib/types/compatibility.d.ts +17 -0
  62. package/lib/types/config.d.ts +89 -0
  63. package/lib/types/content-file.d.ts +10 -0
  64. package/lib/types/context-evidence-ui.d.ts +11 -0
  65. package/lib/types/context-evidence.d.ts +108 -0
  66. package/lib/types/context-usage.d.ts +4 -0
  67. package/lib/types/copilot-account-presentation.d.ts +7 -0
  68. package/lib/types/copilot-accounts-card.d.ts +30 -0
  69. package/lib/types/copilot-accounts-host.d.ts +75 -0
  70. package/lib/types/copilot-accounts-remote.d.ts +77 -0
  71. package/lib/types/copilot-accounts-types.d.ts +42 -0
  72. package/lib/types/copilot-auth.d.ts +25 -0
  73. package/lib/types/copilot-grant.d.ts +11 -0
  74. package/lib/types/copilot-identity.d.ts +11 -0
  75. package/lib/types/copilot-request.d.ts +11 -0
  76. package/lib/types/copilot-stream-liveness.d.ts +23 -0
  77. package/lib/types/copilot-usage-card.d.ts +30 -0
  78. package/lib/types/copilot-usage-host.d.ts +58 -0
  79. package/lib/types/copilot-usage-normalize.d.ts +9 -0
  80. package/lib/types/copilot-usage-remote.d.ts +63 -0
  81. package/lib/types/copilot-usage-types.d.ts +20 -0
  82. package/lib/types/copilot-usage-ui.d.ts +4 -0
  83. package/lib/types/current-provider.d.ts +59 -0
  84. package/lib/types/deepseek-search-fallback.d.ts +11 -0
  85. package/lib/types/dual-model-host.d.ts +119 -0
  86. package/lib/types/dual-model-remote.d.ts +63 -0
  87. package/lib/types/dual-model-types.d.ts +34 -0
  88. package/lib/types/external-link.d.ts +3 -0
  89. package/lib/types/failure.d.ts +38 -0
  90. package/lib/types/http.d.ts +48 -0
  91. package/lib/types/image-input-admission.d.ts +5 -0
  92. package/lib/types/index.d.ts +39 -0
  93. package/lib/types/manual-compaction-recovery.d.ts +52 -0
  94. package/lib/types/migration-status.d.ts +50 -0
  95. package/lib/types/model-exclusions.d.ts +15 -0
  96. package/lib/types/model-preferences-card.d.ts +9 -0
  97. package/lib/types/model-protocol.d.ts +31 -0
  98. package/lib/types/native-select-style.d.ts +4 -0
  99. package/lib/types/parent-model-follow-card.d.ts +41 -0
  100. package/lib/types/parent-model-follow.d.ts +44 -0
  101. package/lib/types/pi-provider-bridge.d.ts +22 -0
  102. package/lib/types/plan.d.ts +148 -0
  103. package/lib/types/pre-step-pressure.d.ts +8 -0
  104. package/lib/types/preview-provider.d.ts +66 -0
  105. package/lib/types/preview-route.d.ts +74 -0
  106. package/lib/types/probe.d.ts +39 -0
  107. package/lib/types/reasoning-presentation.d.ts +55 -0
  108. package/lib/types/remote-codec.d.ts +10 -0
  109. package/lib/types/remote.d.ts +199 -0
  110. package/lib/types/replay-recovery-host.d.ts +28 -0
  111. package/lib/types/replay-recovery-remote.d.ts +14 -0
  112. package/lib/types/replay-recovery-types.d.ts +24 -0
  113. package/lib/types/replay-recovery-ui.d.ts +26 -0
  114. package/lib/types/replay-recovery.d.ts +17 -0
  115. package/lib/types/request-body-evidence.d.ts +34 -0
  116. package/lib/types/request-body-timeout-marker.d.ts +2 -0
  117. package/lib/types/request-body-timeout.d.ts +4 -0
  118. package/lib/types/request-budget.d.ts +58 -0
  119. package/lib/types/request-upload-evidence.d.ts +23 -0
  120. package/lib/types/response-error-body.d.ts +3 -0
  121. package/lib/types/responses-reasoning-text.d.ts +24 -0
  122. package/lib/types/responses-reasoning.d.ts +7 -0
  123. package/lib/types/responses-replay-compat.d.ts +30 -0
  124. package/lib/types/route-ownership.d.ts +70 -0
  125. package/lib/types/routed-web.d.ts +50 -0
  126. package/lib/types/search-backend.d.ts +16 -0
  127. package/lib/types/search-routing-host.d.ts +19 -0
  128. package/lib/types/search-routing-policy.d.ts +18 -0
  129. package/lib/types/search-routing-remote.d.ts +20 -0
  130. package/lib/types/search-routing.d.ts +43 -0
  131. package/lib/types/search-tool-routing.d.ts +22 -0
  132. package/lib/types/serialize.d.ts +106 -0
  133. package/lib/types/settings-reader.d.ts +16 -0
  134. package/lib/types/sse.d.ts +28 -0
  135. package/lib/types/temporary-models.d.ts +25 -0
  136. package/lib/types/tool-schema-compat.d.ts +17 -0
  137. package/lib/types/traditional-search.d.ts +17 -0
  138. package/lib/types/turn-model-provenance.d.ts +45 -0
  139. package/lib/types/turn-selection-card.d.ts +10 -0
  140. package/lib/types/turn-selection-host.d.ts +11 -0
  141. package/lib/types/turn-selection-remote.d.ts +13 -0
  142. package/lib/types/turn-selection.d.ts +119 -0
  143. package/lib/types/turn-usage-evidence.d.ts +66 -0
  144. package/lib/types/turn-usage-notice.d.ts +7 -0
  145. package/lib/types/types.d.ts +69 -0
  146. package/lib/types/usage.d.ts +26 -0
  147. package/lib/types/watchdog.d.ts +22 -0
  148. package/lib/types/web-delegate.d.ts +12 -0
  149. package/lib/types/web-search-routing-card.d.ts +16 -0
  150. package/lib/types/web-search-routing-config.d.ts +12 -0
  151. package/lib/types/wire-anthropic.d.ts +37 -0
  152. package/lib/types/wire.d.ts +56 -0
  153. package/lib/web-delegate.js +9 -0
  154. package/output/auto-model-mockup/index.html +207 -0
  155. package/package.json +236 -0
  156. package/scripts/check-search-composition.mjs +191 -0
@@ -0,0 +1,315 @@
1
+ import "./copilot-identity-DRZY_d2X.js";
2
+ import { i as resolveRequestBudgetPolicy, r as calculateRequestBudget } from "./request-budget-DLY_aRq0.js";
3
+ import { createUserMessage } from "@deepseek-ai/dsh-llm";
4
+ import BasicCompactionEngine from "@deepseek-ai/dsh-compaction-basic";
5
+ import { CommandDefinitionId } from "@deepseek-ai/dsh-commands/brand";
6
+ //#region lib/types/background-compaction.js
7
+ const WAIT_MS = 2147483647;
8
+ const USAGE = "Usage: /copilot-compact [status|cancel]";
9
+ const FAILED = "COPILOT_BACKGROUND_COMPACTION_FAILED: inspect the native compaction/end record; no success is implied.";
10
+ /** Own only admission and job lifetime; the selected engine owns all history transactions. */
11
+ var BackgroundCompaction = class {
12
+ jobs;
13
+ compact;
14
+ warn;
15
+ latest = /* @__PURE__ */ new WeakMap();
16
+ active = /* @__PURE__ */ new Map();
17
+ closed = false;
18
+ constructor(jobs, compact, warn) {
19
+ this.jobs = jobs;
20
+ this.compact = compact;
21
+ this.warn = warn;
22
+ }
23
+ execute(agent, rawInput, signal) {
24
+ if (this.closed) return {
25
+ kind: "error",
26
+ text: "COPILOT_BACKGROUND_COMPACTION_DISPOSED"
27
+ };
28
+ if (signal.aborted) return {
29
+ kind: "error",
30
+ text: "Compaction admission cancelled."
31
+ };
32
+ const action = rawInput.trim();
33
+ if (action !== "" && action !== "status" && action !== "cancel") return {
34
+ kind: "error",
35
+ text: USAGE
36
+ };
37
+ const id = this.latest.get(agent);
38
+ if (action !== "") {
39
+ if (id === void 0) return {
40
+ kind: "error",
41
+ text: "No background compaction job for this Session."
42
+ };
43
+ try {
44
+ if (action === "cancel") return {
45
+ kind: "success",
46
+ text: `${id}: cancellation ${this.jobs.kill(id, agent.id)}.`
47
+ };
48
+ const job = this.jobs.get(id, agent.id);
49
+ return {
50
+ kind: "success",
51
+ text: `${id}: ${job.status}${job.detail ? `; ${job.detail}` : ""}`
52
+ };
53
+ } catch {
54
+ return {
55
+ kind: "error",
56
+ text: "COPILOT_BACKGROUND_COMPACTION_JOB_UNAVAILABLE"
57
+ };
58
+ }
59
+ }
60
+ const existing = this.active.get(agent);
61
+ if (existing !== void 0) return {
62
+ kind: "success",
63
+ text: `${existing.id}: already running; use /copilot-compact status or cancel.`
64
+ };
65
+ const cancel = new AbortController();
66
+ let done;
67
+ try {
68
+ const jobId = this.jobs.start({
69
+ kind: "copilot-compaction",
70
+ label: "Manual Copilot context compaction",
71
+ owner: agent.id,
72
+ run: (job) => {
73
+ job.updateProgress("Compacting context; the original history remains until native commit.");
74
+ done = Promise.resolve().then(async () => {
75
+ try {
76
+ cancel.signal.throwIfAborted();
77
+ const result = await this.compact(agent, cancel.signal);
78
+ return {
79
+ status: "completed",
80
+ detail: result === null ? "No compactable history." : `Compacted ${result.shadowedSeqs.length} history items (~${result.shadowedTokenCount} tokens).`
81
+ };
82
+ } catch {
83
+ if (cancel.signal.aborted) return {
84
+ status: "killed",
85
+ detail: "Compaction cancelled; inspect native history for its transaction outcome."
86
+ };
87
+ this.warn(FAILED);
88
+ return {
89
+ status: "failed",
90
+ detail: FAILED
91
+ };
92
+ } finally {
93
+ this.active.delete(agent);
94
+ }
95
+ });
96
+ return {
97
+ cancel: () => {
98
+ cancel.abort();
99
+ },
100
+ done
101
+ };
102
+ }
103
+ });
104
+ if (done === void 0) throw new Error("COPILOT_BACKGROUND_COMPACTION_STARTER_MISSING");
105
+ this.active.set(agent, {
106
+ id: jobId,
107
+ cancel,
108
+ done
109
+ });
110
+ this.latest.set(agent, jobId);
111
+ this.jobs.wait(jobId, WAIT_MS, agent.id).then((view) => {
112
+ if (view.status === "running" || view.status === "stopping") {
113
+ this.warn("COPILOT_BACKGROUND_COMPACTION_OBSERVER_EXPIRED");
114
+ cancel.abort();
115
+ }
116
+ }, () => {
117
+ this.warn("COPILOT_BACKGROUND_COMPACTION_OBSERVER_FAILED");
118
+ cancel.abort();
119
+ });
120
+ return {
121
+ kind: "success",
122
+ text: `${jobId}: background compaction started, not completed. Use /copilot-compact status or /copilot-compact cancel.`
123
+ };
124
+ } catch {
125
+ cancel.abort();
126
+ this.warn("COPILOT_BACKGROUND_COMPACTION_ADMISSION_FAILED");
127
+ return {
128
+ kind: "error",
129
+ text: "COPILOT_BACKGROUND_COMPACTION_ADMISSION_FAILED: jobs and a live Session owner are required."
130
+ };
131
+ }
132
+ }
133
+ async dispose() {
134
+ this.closed = true;
135
+ const work = [...this.active.values()];
136
+ for (const entry of work) entry.cancel.abort();
137
+ await Promise.all(work.map((entry) => entry.done));
138
+ }
139
+ };
140
+ function installBackgroundCompaction(ctx, compact) {
141
+ const controller = new BackgroundCompaction(ctx.jobs, compact, (message) => ctx.logger.warn(message));
142
+ ctx.effect(function* () {
143
+ yield () => controller.dispose();
144
+ yield ctx.jobs.attachController("copilot-background-compaction");
145
+ yield ctx.commands.register({
146
+ definitionId: CommandDefinitionId("dsh-github-copilot/background-compaction"),
147
+ name: "copilot-compact",
148
+ description: "Start background manual compaction, inspect status, or cancel",
149
+ input: { hint: "status | cancel (omit to start)" },
150
+ handler: (invocation) => controller.execute(invocation.agent, invocation.rawInput, invocation.signal)
151
+ });
152
+ }, "Copilot background compaction");
153
+ }
154
+ //#endregion
155
+ //#region lib/types/manual-compaction-recovery.js
156
+ function recoverError(code) {
157
+ return /* @__PURE__ */ new Error(`COPILOT_MANUAL_RECOVERY_${code}`);
158
+ }
159
+ function sumUsage(usages) {
160
+ const required = (key) => usages.reduce((sum, usage) => sum + usage[key], 0);
161
+ const optional = (key) => usages.every((usage) => usage[key] !== void 0) ? { [key]: usages.reduce((sum, usage) => sum + usage[key], 0) } : {};
162
+ return {
163
+ inputTokens: required("inputTokens"),
164
+ outputTokens: required("outputTokens"),
165
+ ...optional("totalTokens"),
166
+ ...optional("cacheReadTokens"),
167
+ ...optional("cacheWriteTokens"),
168
+ ...optional("reasoningTokens")
169
+ };
170
+ }
171
+ /**
172
+ * Bounded, explicit manual-only map/fold. The native engine still owns the only
173
+ * durable transaction, source-stability check, shrink check and cancellation.
174
+ */
175
+ async function summarizeOversizedManualInput(options) {
176
+ const { input, signal, estimate, summarize, makeCheckpoint, assertCurrent } = options;
177
+ const maxCalls = options.maxCalls ?? 16;
178
+ if (!Number.isSafeInteger(maxCalls) || maxCalls < 2 || maxCalls > 32 || !Number.isSafeInteger(options.inputLimit) || options.inputLimit <= 0) throw recoverError("INVALID_POLICY");
179
+ const prefix = input.messages[0]?.role === "system" ? input.messages.slice(0, 1) : [];
180
+ const messages = input.messages.slice(prefix.length);
181
+ if (messages.length === 0) throw recoverError("NO_HISTORY");
182
+ const pending = /* @__PURE__ */ new Set();
183
+ const safeBoundaries = /* @__PURE__ */ new Set([0]);
184
+ for (let index = 0; index < messages.length; index++) {
185
+ const message = messages[index];
186
+ if (message.role === "assistant") {
187
+ for (const block of message.content) if (block.type === "tool-call") {
188
+ if (!block.id || pending.has(block.id)) throw recoverError("UNBALANCED");
189
+ pending.add(block.id);
190
+ }
191
+ }
192
+ if (message.role === "tool") {
193
+ if (!message.toolCallId || !pending.delete(message.toolCallId)) throw recoverError("UNBALANCED");
194
+ }
195
+ if (pending.size === 0) safeBoundaries.add(index + 1);
196
+ }
197
+ if (pending.size !== 0) throw recoverError("UNBALANCED");
198
+ let previous;
199
+ let offset = 0;
200
+ let calls = 0;
201
+ const usages = [];
202
+ while (offset < messages.length) {
203
+ signal.throwIfAborted();
204
+ assertCurrent?.();
205
+ const carry = previous === void 0 ? [] : [makeCheckpoint(previous.summary)];
206
+ const head = [...prefix, ...carry];
207
+ if (estimate({
208
+ tools: input.tools,
209
+ messages: head
210
+ }) >= options.inputLimit) throw recoverError("FIXED_PREFIX");
211
+ let end = offset;
212
+ for (let index = offset + 1; index <= messages.length; index++) {
213
+ if (estimate({
214
+ tools: input.tools,
215
+ messages: [...head, ...messages.slice(offset, index)]
216
+ }) > options.inputLimit) break;
217
+ if (safeBoundaries.has(index)) end = index;
218
+ }
219
+ if (end === offset) throw recoverError("INDIVISIBLE");
220
+ if (++calls > maxCalls) throw recoverError("CALL_LIMIT");
221
+ const result = await summarize({
222
+ tools: input.tools,
223
+ messages: [...head, ...messages.slice(offset, end)]
224
+ });
225
+ signal.throwIfAborted();
226
+ assertCurrent?.();
227
+ if (previous !== void 0 && (result.provider !== previous.provider || result.model !== previous.model || result.maxTokens !== previous.maxTokens)) throw recoverError("ROUTE_CHANGED");
228
+ if (result.summary.length === 0 || result.summary.some((block) => block.type !== "text") || !result.summary.some((block) => block.type === "text" && block.text.trim())) throw recoverError("EMPTY_SUMMARY");
229
+ if (result.usage !== void 0) usages.push(result.usage);
230
+ previous = result;
231
+ offset = end;
232
+ }
233
+ if (previous === void 0) throw recoverError("NO_HISTORY");
234
+ return {
235
+ summary: [...previous.summary],
236
+ provider: previous.provider,
237
+ model: previous.model,
238
+ ...previous.maxTokens === void 0 ? {} : { maxTokens: previous.maxTokens },
239
+ ...usages.length === calls ? { usage: sumUsage(usages) } : {}
240
+ };
241
+ }
242
+ /**
243
+ * Deployment-selected alternative to stock BasicCompactionEngine. Do not
244
+ * mount both: Cordis compaction is a singleton, not an overridable service.
245
+ */
246
+ var CopilotManualRecoveryCompactionEngine = class extends BasicCompactionEngine {
247
+ manual = /* @__PURE__ */ new WeakMap();
248
+ constructor(ctx, config = {}) {
249
+ super(ctx, config);
250
+ ctx.inject(["commands", "jobs"], (scope) => {
251
+ installBackgroundCompaction(scope, (agent, signal) => this.compactNow(agent, signal));
252
+ });
253
+ }
254
+ async compactNow(agent, signal, sourceCommandId) {
255
+ this.manual.set(agent, (this.manual.get(agent) ?? 0) + 1);
256
+ try {
257
+ return await super.compactNow(agent, signal, sourceCommandId);
258
+ } finally {
259
+ const remaining = this.manual.get(agent) - 1;
260
+ if (remaining === 0) this.manual.delete(agent);
261
+ else this.manual.set(agent, remaining);
262
+ }
263
+ }
264
+ async summarize(input, agent, signal) {
265
+ const routed = agent.session.requestHeader()?.config;
266
+ const policy = this.config.modelPolicies.find((item) => item.provider === routed?.provider && item.model === routed.model);
267
+ const configuredProvider = policy?.summarizationProvider ?? this.config.summarizationProvider;
268
+ const configuredModel = policy?.summarizationModel ?? this.config.summarizationModel;
269
+ const selected = configuredProvider.length > 0 ? {
270
+ provider: configuredProvider,
271
+ model: configuredModel
272
+ } : routed?.provider && routed.model ? routed : {
273
+ provider: agent.options.provider,
274
+ model: agent.options.model
275
+ };
276
+ const summaryProvider = selected.provider;
277
+ const summaryModel = selected.model;
278
+ if (!this.manual.has(agent) || summaryProvider !== "github-copilot-preview" || !summaryModel) return super.summarize(input, agent, signal);
279
+ const lease = this.ctx.get("githubCopilotPreview")?.recoveryLimits(summaryModel);
280
+ if (lease === void 0) throw recoverError("ACCOUNT_PROOF_UNAVAILABLE");
281
+ const maxTokens = policy?.maxTokens ?? this.config.maxTokens;
282
+ const budget = calculateRequestBudget(lease.limits, maxTokens, resolveRequestBudgetPolicy(lease.policy));
283
+ if (!budget.ok) throw recoverError(budget.code);
284
+ const toolHistoryBytes = Buffer.byteLength(JSON.stringify(agent.session.toolHistory()), "utf8");
285
+ const inputLimit = budget.budget.hardInputLimit - 4096 - toolHistoryBytes;
286
+ if (inputLimit <= 0) throw recoverError("FIXED_PREFIX");
287
+ const operationSignal = signal ?? new AbortController().signal;
288
+ const estimate = (candidate) => Buffer.byteLength(JSON.stringify(candidate), "utf8");
289
+ if (estimate(input) <= inputLimit) return super.summarize(input, agent, signal);
290
+ return summarizeOversizedManualInput({
291
+ input,
292
+ inputLimit,
293
+ signal: operationSignal,
294
+ estimate,
295
+ assertCurrent: lease.assertCurrent,
296
+ makeCheckpoint: (summary) => createUserMessage({
297
+ source: { kind: "user" },
298
+ content: [
299
+ {
300
+ type: "text",
301
+ text: "Prior intermediate checkpoint (merge with newer context):\n<compacted-summary>"
302
+ },
303
+ ...summary,
304
+ {
305
+ type: "text",
306
+ text: "</compacted-summary>"
307
+ }
308
+ ]
309
+ }),
310
+ summarize: (candidate) => super.summarize(candidate, agent, signal)
311
+ });
312
+ }
313
+ };
314
+ //#endregion
315
+ export { CopilotManualRecoveryCompactionEngine, CopilotManualRecoveryCompactionEngine as default, summarizeOversizedManualInput };