dsh-github-copilot 0.4.1 → 0.4.2-alpha.11
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 +42 -6
- package/CHANGELOG.md +126 -0
- package/README.md +75 -25
- package/README.zh.md +55 -20
- package/deployment-baseline.json +30 -3
- package/docs/auto-high-cost.md +51 -20
- package/docs/auto-iteration-review.json +13 -13
- package/docs/auto-task-routing.md +118 -19
- package/docs/automatic-model-routing.md +2 -1
- package/docs/copilot-accounts.md +6 -0
- package/docs/copilot-compaction.md +1 -1
- package/docs/plugin-diagnostics.md +159 -6
- package/lib/client.js +814 -59
- package/lib/client.js.map +1 -1
- package/lib/diagnostics-analysis.js +4 -2
- package/lib/diagnostics-types-qvtuvM5E.js +661 -0
- package/lib/index.js +8775 -7934
- package/lib/manual-compaction-recovery.js +1 -1
- package/lib/remote.js +278 -6
- package/lib/routed-web.js +1 -1
- package/lib/types/auto-allocation-diagnostics.d.ts +126 -0
- package/lib/types/auto-allocation-evidence.d.ts +5 -1
- package/lib/types/auto-allocation.d.ts +7 -2
- package/lib/types/auto-assessment-evidence.d.ts +65 -0
- package/lib/types/auto-model-host.d.ts +1 -0
- package/lib/types/auto-model-routing.d.ts +1 -1
- package/lib/types/auto-task-assessment.d.ts +4 -2
- package/lib/types/auto-task-classifier.d.ts +2 -1
- package/lib/types/compaction-continuation.d.ts +1 -1
- package/lib/types/config.d.ts +18 -2
- package/lib/types/context-evidence.d.ts +4 -4
- package/lib/types/copilot-auth.d.ts +2 -1
- package/lib/types/copilot-usage-remote.d.ts +1 -1
- package/lib/types/diagnostics-analysis.d.ts +3 -2
- package/lib/types/diagnostics-card.d.ts +1 -0
- package/lib/types/diagnostics-collector.d.ts +14 -0
- package/lib/types/diagnostics-host.d.ts +114 -3
- package/lib/types/diagnostics-remote.d.ts +11 -9
- package/lib/types/diagnostics-types.d.ts +486 -30
- package/lib/types/native-settings-style.d.ts +1 -1
- package/lib/types/preview-provider.d.ts +8 -2
- package/lib/types/preview-route.d.ts +1 -1
- package/lib/types/remote.d.ts +1 -1
- package/lib/types/request-body-composition.d.ts +17 -0
- package/lib/types/request-body-evidence.d.ts +2 -1
- package/lib/types/request-diagnostics.d.ts +278 -0
- package/lib/types/session-continuation-types.d.ts +2 -2
- package/lib/types/turn-selection-host.d.ts +2 -1
- package/lib/types/turn-selection.d.ts +39 -2
- package/package.json +2 -2
- package/lib/diagnostics-types-FVf6zjob.js +0 -182
|
@@ -26,6 +26,7 @@ export declare const DiagnosticsRowSchema: z.ZodObject<{
|
|
|
26
26
|
}>;
|
|
27
27
|
stage: z.ZodEnum<{
|
|
28
28
|
ended: "ended";
|
|
29
|
+
dispatched: "dispatched";
|
|
29
30
|
admitted: "admitted";
|
|
30
31
|
"rpc-invoked": "rpc-invoked";
|
|
31
32
|
"host-received": "host-received";
|
|
@@ -41,23 +42,22 @@ export declare const DiagnosticsRowSchema: z.ZodObject<{
|
|
|
41
42
|
"cache-hit": "cache-hit";
|
|
42
43
|
"joined-flight": "joined-flight";
|
|
43
44
|
cooldown: "cooldown";
|
|
44
|
-
dispatched: "dispatched";
|
|
45
45
|
}>;
|
|
46
46
|
metric: z.ZodEnum<{
|
|
47
47
|
paused: "paused";
|
|
48
48
|
unknown: "unknown";
|
|
49
|
-
started: "started";
|
|
50
|
-
stage: "stage";
|
|
51
49
|
success: "success";
|
|
52
|
-
|
|
53
|
-
cancelled: "cancelled";
|
|
54
|
-
"policy-rejected": "policy-rejected";
|
|
55
|
-
revoked: "revoked";
|
|
56
|
-
"environment-fault": "environment-fault";
|
|
50
|
+
stage: "stage";
|
|
57
51
|
failed: "failed";
|
|
58
|
-
interrupted: "interrupted";
|
|
59
52
|
dropped: "dropped";
|
|
60
53
|
expired: "expired";
|
|
54
|
+
cancelled: "cancelled";
|
|
55
|
+
revoked: "revoked";
|
|
56
|
+
interrupted: "interrupted";
|
|
57
|
+
started: "started";
|
|
58
|
+
"no-op": "no-op";
|
|
59
|
+
"policy-rejected": "policy-rejected";
|
|
60
|
+
"environment-fault": "environment-fault";
|
|
61
61
|
"clock-discontinuity": "clock-discontinuity";
|
|
62
62
|
"pending-sample": "pending-sample";
|
|
63
63
|
}>;
|
|
@@ -108,6 +108,7 @@ export declare const DiagnosticsPendingSchema: z.ZodObject<{
|
|
|
108
108
|
}>;
|
|
109
109
|
stage: z.ZodEnum<{
|
|
110
110
|
ended: "ended";
|
|
111
|
+
dispatched: "dispatched";
|
|
111
112
|
admitted: "admitted";
|
|
112
113
|
"rpc-invoked": "rpc-invoked";
|
|
113
114
|
"host-received": "host-received";
|
|
@@ -123,7 +124,6 @@ export declare const DiagnosticsPendingSchema: z.ZodObject<{
|
|
|
123
124
|
"cache-hit": "cache-hit";
|
|
124
125
|
"joined-flight": "joined-flight";
|
|
125
126
|
cooldown: "cooldown";
|
|
126
|
-
dispatched: "dispatched";
|
|
127
127
|
}>;
|
|
128
128
|
bucket: z.ZodNumber;
|
|
129
129
|
count: z.ZodNumber;
|
|
@@ -152,6 +152,7 @@ export declare const DiagnosticsSnapshotSchema: z.ZodObject<{
|
|
|
152
152
|
}>;
|
|
153
153
|
stage: z.ZodEnum<{
|
|
154
154
|
ended: "ended";
|
|
155
|
+
dispatched: "dispatched";
|
|
155
156
|
admitted: "admitted";
|
|
156
157
|
"rpc-invoked": "rpc-invoked";
|
|
157
158
|
"host-received": "host-received";
|
|
@@ -167,23 +168,22 @@ export declare const DiagnosticsSnapshotSchema: z.ZodObject<{
|
|
|
167
168
|
"cache-hit": "cache-hit";
|
|
168
169
|
"joined-flight": "joined-flight";
|
|
169
170
|
cooldown: "cooldown";
|
|
170
|
-
dispatched: "dispatched";
|
|
171
171
|
}>;
|
|
172
172
|
metric: z.ZodEnum<{
|
|
173
173
|
paused: "paused";
|
|
174
174
|
unknown: "unknown";
|
|
175
|
-
started: "started";
|
|
176
|
-
stage: "stage";
|
|
177
175
|
success: "success";
|
|
178
|
-
|
|
179
|
-
cancelled: "cancelled";
|
|
180
|
-
"policy-rejected": "policy-rejected";
|
|
181
|
-
revoked: "revoked";
|
|
182
|
-
"environment-fault": "environment-fault";
|
|
176
|
+
stage: "stage";
|
|
183
177
|
failed: "failed";
|
|
184
|
-
interrupted: "interrupted";
|
|
185
178
|
dropped: "dropped";
|
|
186
179
|
expired: "expired";
|
|
180
|
+
cancelled: "cancelled";
|
|
181
|
+
revoked: "revoked";
|
|
182
|
+
interrupted: "interrupted";
|
|
183
|
+
started: "started";
|
|
184
|
+
"no-op": "no-op";
|
|
185
|
+
"policy-rejected": "policy-rejected";
|
|
186
|
+
"environment-fault": "environment-fault";
|
|
187
187
|
"clock-discontinuity": "clock-discontinuity";
|
|
188
188
|
"pending-sample": "pending-sample";
|
|
189
189
|
}>;
|
|
@@ -220,6 +220,233 @@ export declare const DiagnosticsSnapshotSchema: z.ZodObject<{
|
|
|
220
220
|
bucket: z.ZodNumber;
|
|
221
221
|
count: z.ZodNumber;
|
|
222
222
|
}, z.core.$strict>>;
|
|
223
|
+
autoAllocation: z.ZodOptional<z.ZodObject<{
|
|
224
|
+
status: z.ZodEnum<{
|
|
225
|
+
observed: "observed";
|
|
226
|
+
"not-collected": "not-collected";
|
|
227
|
+
}>;
|
|
228
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
229
|
+
day: z.ZodNumber;
|
|
230
|
+
version: z.ZodString;
|
|
231
|
+
policyVersion: z.ZodString;
|
|
232
|
+
modelId: z.ZodString;
|
|
233
|
+
targetCategory: z.ZodEnum<{
|
|
234
|
+
powerful: "powerful";
|
|
235
|
+
versatile: "versatile";
|
|
236
|
+
lightweight: "lightweight";
|
|
237
|
+
}>;
|
|
238
|
+
category: z.ZodEnum<{
|
|
239
|
+
unknown: "unknown";
|
|
240
|
+
powerful: "powerful";
|
|
241
|
+
versatile: "versatile";
|
|
242
|
+
lightweight: "lightweight";
|
|
243
|
+
}>;
|
|
244
|
+
demand: z.ZodEnum<{
|
|
245
|
+
unknown: "unknown";
|
|
246
|
+
simple: "simple";
|
|
247
|
+
routine: "routine";
|
|
248
|
+
complex: "complex";
|
|
249
|
+
}>;
|
|
250
|
+
assessmentSource: z.ZodEnum<{
|
|
251
|
+
local: "local";
|
|
252
|
+
semantic: "semantic";
|
|
253
|
+
}>;
|
|
254
|
+
assessmentOutcome: z.ZodOptional<z.ZodEnum<{
|
|
255
|
+
disabled: "disabled";
|
|
256
|
+
unavailable: "unavailable";
|
|
257
|
+
"context-omitted": "context-omitted";
|
|
258
|
+
"invalid-result": "invalid-result";
|
|
259
|
+
timeout: "timeout";
|
|
260
|
+
failed: "failed";
|
|
261
|
+
"local-known": "local-known";
|
|
262
|
+
"local-unknown": "local-unknown";
|
|
263
|
+
"semantic-known": "semantic-known";
|
|
264
|
+
"semantic-unknown": "semantic-unknown";
|
|
265
|
+
}>>;
|
|
266
|
+
method: z.ZodEnum<{
|
|
267
|
+
"weighted-distribution": "weighted-distribution";
|
|
268
|
+
"only-candidate": "only-candidate";
|
|
269
|
+
}>;
|
|
270
|
+
fallback: z.ZodBoolean;
|
|
271
|
+
highCost: z.ZodBoolean;
|
|
272
|
+
previous: z.ZodBoolean;
|
|
273
|
+
weight: z.ZodNumber;
|
|
274
|
+
opportunities: z.ZodNumber;
|
|
275
|
+
expectedSelections: z.ZodNumber;
|
|
276
|
+
selections: z.ZodNumber;
|
|
277
|
+
}, z.core.$strict>>;
|
|
278
|
+
noFitRows: z.ZodArray<z.ZodObject<{
|
|
279
|
+
day: z.ZodNumber;
|
|
280
|
+
version: z.ZodString;
|
|
281
|
+
policyVersion: z.ZodString;
|
|
282
|
+
targetCategory: z.ZodEnum<{
|
|
283
|
+
powerful: "powerful";
|
|
284
|
+
versatile: "versatile";
|
|
285
|
+
lightweight: "lightweight";
|
|
286
|
+
}>;
|
|
287
|
+
category: z.ZodEnum<{
|
|
288
|
+
unknown: "unknown";
|
|
289
|
+
powerful: "powerful";
|
|
290
|
+
versatile: "versatile";
|
|
291
|
+
lightweight: "lightweight";
|
|
292
|
+
}>;
|
|
293
|
+
demand: z.ZodEnum<{
|
|
294
|
+
unknown: "unknown";
|
|
295
|
+
simple: "simple";
|
|
296
|
+
routine: "routine";
|
|
297
|
+
complex: "complex";
|
|
298
|
+
}>;
|
|
299
|
+
assessmentSource: z.ZodEnum<{
|
|
300
|
+
local: "local";
|
|
301
|
+
semantic: "semantic";
|
|
302
|
+
}>;
|
|
303
|
+
assessmentOutcome: z.ZodOptional<z.ZodEnum<{
|
|
304
|
+
disabled: "disabled";
|
|
305
|
+
unavailable: "unavailable";
|
|
306
|
+
"context-omitted": "context-omitted";
|
|
307
|
+
"invalid-result": "invalid-result";
|
|
308
|
+
timeout: "timeout";
|
|
309
|
+
failed: "failed";
|
|
310
|
+
"local-known": "local-known";
|
|
311
|
+
"local-unknown": "local-unknown";
|
|
312
|
+
"semantic-known": "semantic-known";
|
|
313
|
+
"semantic-unknown": "semantic-unknown";
|
|
314
|
+
}>>;
|
|
315
|
+
decisions: z.ZodNumber;
|
|
316
|
+
}, z.core.$strict>>;
|
|
317
|
+
observationStart: z.ZodNullable<z.ZodNumber>;
|
|
318
|
+
observationEnd: z.ZodNullable<z.ZodNumber>;
|
|
319
|
+
completeHistory: z.ZodLiteral<false>;
|
|
320
|
+
rowsTruncated: z.ZodBoolean;
|
|
321
|
+
dropped: z.ZodNumber;
|
|
322
|
+
expired: z.ZodNumber;
|
|
323
|
+
saturated: z.ZodNumber;
|
|
324
|
+
restarts: z.ZodNumber;
|
|
325
|
+
}, z.core.$strict>>;
|
|
326
|
+
requests: z.ZodOptional<z.ZodObject<{
|
|
327
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
328
|
+
streamId: z.ZodString;
|
|
329
|
+
dispatchIndex: z.ZodNumber;
|
|
330
|
+
version: z.ZodString;
|
|
331
|
+
startedAt: z.ZodNumber;
|
|
332
|
+
elapsedMs: z.ZodNumber;
|
|
333
|
+
model: z.ZodString;
|
|
334
|
+
protocol: z.ZodEnum<{
|
|
335
|
+
"openai-completions": "openai-completions";
|
|
336
|
+
"openai-responses": "openai-responses";
|
|
337
|
+
"anthropic-messages": "anthropic-messages";
|
|
338
|
+
}>;
|
|
339
|
+
composition: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
340
|
+
state: z.ZodLiteral<"complete">;
|
|
341
|
+
totalBytes: z.ZodNumber;
|
|
342
|
+
conversationBytes: z.ZodNumber;
|
|
343
|
+
toolSchemaBytes: z.ZodNumber;
|
|
344
|
+
systemBytes: z.ZodNumber;
|
|
345
|
+
otherBytes: z.ZodNumber;
|
|
346
|
+
imageBlockBytes: z.ZodNumber;
|
|
347
|
+
opaqueReplayBytes: z.ZodNumber;
|
|
348
|
+
remainingConversationBytes: z.ZodNumber;
|
|
349
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
350
|
+
state: z.ZodEnum<{
|
|
351
|
+
unavailable: "unavailable";
|
|
352
|
+
"work-limit": "work-limit";
|
|
353
|
+
"size-limit": "size-limit";
|
|
354
|
+
"invalid-json": "invalid-json";
|
|
355
|
+
"unsupported-shape": "unsupported-shape";
|
|
356
|
+
cancelled: "cancelled";
|
|
357
|
+
"time-limit": "time-limit";
|
|
358
|
+
}>;
|
|
359
|
+
totalBytes: z.ZodOptional<z.ZodNumber>;
|
|
360
|
+
}, z.core.$strict>], "state">;
|
|
361
|
+
encoding: z.ZodEnum<{
|
|
362
|
+
unknown: "unknown";
|
|
363
|
+
identity: "identity";
|
|
364
|
+
gzip: "gzip";
|
|
365
|
+
}>;
|
|
366
|
+
wireBytes: z.ZodOptional<z.ZodNumber>;
|
|
367
|
+
upload: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
368
|
+
state: z.ZodLiteral<"observed">;
|
|
369
|
+
bodyWrite: z.ZodEnum<{
|
|
370
|
+
observed: "observed";
|
|
371
|
+
"not-observed": "not-observed";
|
|
372
|
+
}>;
|
|
373
|
+
bodyWriteCompleteMs: z.ZodOptional<z.ZodNumber>;
|
|
374
|
+
nativeResponseHeadersMs: z.ZodOptional<z.ZodNumber>;
|
|
375
|
+
alpn: z.ZodEnum<{
|
|
376
|
+
h2: "h2";
|
|
377
|
+
unavailable: "unavailable";
|
|
378
|
+
"http/1.1": "http/1.1";
|
|
379
|
+
}>;
|
|
380
|
+
nodeWritableBufferBytes: z.ZodOptional<z.ZodNumber>;
|
|
381
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
382
|
+
state: z.ZodEnum<{
|
|
383
|
+
unavailable: "unavailable";
|
|
384
|
+
"work-limit": "work-limit";
|
|
385
|
+
}>;
|
|
386
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
387
|
+
state: z.ZodLiteral<"ambiguous">;
|
|
388
|
+
requestCount: z.ZodNumber;
|
|
389
|
+
}, z.core.$strict>], "state">>;
|
|
390
|
+
responseHeadersMs: z.ZodOptional<z.ZodNumber>;
|
|
391
|
+
httpStatus: z.ZodOptional<z.ZodNumber>;
|
|
392
|
+
outcome: z.ZodEnum<{
|
|
393
|
+
cancelled: "cancelled";
|
|
394
|
+
"http-error": "http-error";
|
|
395
|
+
"transport-error": "transport-error";
|
|
396
|
+
"stream-done": "stream-done";
|
|
397
|
+
"stream-error": "stream-error";
|
|
398
|
+
interrupted: "interrupted";
|
|
399
|
+
}>;
|
|
400
|
+
reason: z.ZodEnum<{
|
|
401
|
+
none: "none";
|
|
402
|
+
unknown: "unknown";
|
|
403
|
+
"request-body-timeout": "request-body-timeout";
|
|
404
|
+
"caller-abort": "caller-abort";
|
|
405
|
+
"credential-changed": "credential-changed";
|
|
406
|
+
disposed: "disposed";
|
|
407
|
+
"byte-idle-timeout": "byte-idle-timeout";
|
|
408
|
+
"signal-abort": "signal-abort";
|
|
409
|
+
}>;
|
|
410
|
+
}, z.core.$strict>>;
|
|
411
|
+
dropped: z.ZodNumber;
|
|
412
|
+
evicted: z.ZodNumber;
|
|
413
|
+
pending: z.ZodOptional<z.ZodNumber>;
|
|
414
|
+
interruptedOnReopen: z.ZodOptional<z.ZodNumber>;
|
|
415
|
+
credentialChanges: z.ZodOptional<z.ZodObject<{
|
|
416
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
417
|
+
changeId: z.ZodString;
|
|
418
|
+
observedAt: z.ZodNumber;
|
|
419
|
+
version: z.ZodString;
|
|
420
|
+
phase: z.ZodEnum<{
|
|
421
|
+
notification: "notification";
|
|
422
|
+
commit: "commit";
|
|
423
|
+
}>;
|
|
424
|
+
reason: z.ZodEnum<{
|
|
425
|
+
expired: "expired";
|
|
426
|
+
qualified: "qualified";
|
|
427
|
+
"unknown-source": "unknown-source";
|
|
428
|
+
"account-changed": "account-changed";
|
|
429
|
+
"endpoint-changed": "endpoint-changed";
|
|
430
|
+
"entitlements-changed": "entitlements-changed";
|
|
431
|
+
"auth-mismatch": "auth-mismatch";
|
|
432
|
+
"duplicate-notification": "duplicate-notification";
|
|
433
|
+
"missing-notification": "missing-notification";
|
|
434
|
+
"commit-mismatch": "commit-mismatch";
|
|
435
|
+
"write-failed": "write-failed";
|
|
436
|
+
"write-conflict": "write-conflict";
|
|
437
|
+
}>;
|
|
438
|
+
preparing: z.ZodNumber;
|
|
439
|
+
dispatched: z.ZodNumber;
|
|
440
|
+
alreadyAborted: z.ZodNumber;
|
|
441
|
+
preserved: z.ZodNumber;
|
|
442
|
+
revoked: z.ZodNumber;
|
|
443
|
+
}, z.core.$strict>>;
|
|
444
|
+
dropped: z.ZodNumber;
|
|
445
|
+
evicted: z.ZodNumber;
|
|
446
|
+
pending: z.ZodOptional<z.ZodNumber>;
|
|
447
|
+
interruptedOnReopen: z.ZodOptional<z.ZodNumber>;
|
|
448
|
+
}, z.core.$strict>>;
|
|
449
|
+
}, z.core.$strict>>;
|
|
223
450
|
pending: z.ZodArray<z.ZodObject<{
|
|
224
451
|
version: z.ZodString;
|
|
225
452
|
operation: z.ZodEnum<{
|
|
@@ -234,6 +461,7 @@ export declare const DiagnosticsSnapshotSchema: z.ZodObject<{
|
|
|
234
461
|
}>;
|
|
235
462
|
stage: z.ZodEnum<{
|
|
236
463
|
ended: "ended";
|
|
464
|
+
dispatched: "dispatched";
|
|
237
465
|
admitted: "admitted";
|
|
238
466
|
"rpc-invoked": "rpc-invoked";
|
|
239
467
|
"host-received": "host-received";
|
|
@@ -249,7 +477,6 @@ export declare const DiagnosticsSnapshotSchema: z.ZodObject<{
|
|
|
249
477
|
"cache-hit": "cache-hit";
|
|
250
478
|
"joined-flight": "joined-flight";
|
|
251
479
|
cooldown: "cooldown";
|
|
252
|
-
dispatched: "dispatched";
|
|
253
480
|
}>;
|
|
254
481
|
bucket: z.ZodNumber;
|
|
255
482
|
count: z.ZodNumber;
|
|
@@ -263,6 +490,8 @@ export declare const DiagnosticsSnapshotSchema: z.ZodObject<{
|
|
|
263
490
|
}, z.core.$strict>;
|
|
264
491
|
export declare const DiagnosticsViewSchema: z.ZodObject<{
|
|
265
492
|
enabled: z.ZodBoolean;
|
|
493
|
+
autoAllocationEnabled: z.ZodBoolean;
|
|
494
|
+
requestEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
266
495
|
state: z.ZodEnum<{
|
|
267
496
|
error: "error";
|
|
268
497
|
ready: "ready";
|
|
@@ -307,6 +536,7 @@ export declare const DiagnosticsViewSchema: z.ZodObject<{
|
|
|
307
536
|
}>;
|
|
308
537
|
stage: z.ZodEnum<{
|
|
309
538
|
ended: "ended";
|
|
539
|
+
dispatched: "dispatched";
|
|
310
540
|
admitted: "admitted";
|
|
311
541
|
"rpc-invoked": "rpc-invoked";
|
|
312
542
|
"host-received": "host-received";
|
|
@@ -322,23 +552,22 @@ export declare const DiagnosticsViewSchema: z.ZodObject<{
|
|
|
322
552
|
"cache-hit": "cache-hit";
|
|
323
553
|
"joined-flight": "joined-flight";
|
|
324
554
|
cooldown: "cooldown";
|
|
325
|
-
dispatched: "dispatched";
|
|
326
555
|
}>;
|
|
327
556
|
metric: z.ZodEnum<{
|
|
328
557
|
paused: "paused";
|
|
329
558
|
unknown: "unknown";
|
|
330
|
-
started: "started";
|
|
331
|
-
stage: "stage";
|
|
332
559
|
success: "success";
|
|
333
|
-
|
|
334
|
-
cancelled: "cancelled";
|
|
335
|
-
"policy-rejected": "policy-rejected";
|
|
336
|
-
revoked: "revoked";
|
|
337
|
-
"environment-fault": "environment-fault";
|
|
560
|
+
stage: "stage";
|
|
338
561
|
failed: "failed";
|
|
339
|
-
interrupted: "interrupted";
|
|
340
562
|
dropped: "dropped";
|
|
341
563
|
expired: "expired";
|
|
564
|
+
cancelled: "cancelled";
|
|
565
|
+
revoked: "revoked";
|
|
566
|
+
interrupted: "interrupted";
|
|
567
|
+
started: "started";
|
|
568
|
+
"no-op": "no-op";
|
|
569
|
+
"policy-rejected": "policy-rejected";
|
|
570
|
+
"environment-fault": "environment-fault";
|
|
342
571
|
"clock-discontinuity": "clock-discontinuity";
|
|
343
572
|
"pending-sample": "pending-sample";
|
|
344
573
|
}>;
|
|
@@ -375,6 +604,233 @@ export declare const DiagnosticsViewSchema: z.ZodObject<{
|
|
|
375
604
|
bucket: z.ZodNumber;
|
|
376
605
|
count: z.ZodNumber;
|
|
377
606
|
}, z.core.$strict>>;
|
|
607
|
+
autoAllocation: z.ZodOptional<z.ZodObject<{
|
|
608
|
+
status: z.ZodEnum<{
|
|
609
|
+
observed: "observed";
|
|
610
|
+
"not-collected": "not-collected";
|
|
611
|
+
}>;
|
|
612
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
613
|
+
day: z.ZodNumber;
|
|
614
|
+
version: z.ZodString;
|
|
615
|
+
policyVersion: z.ZodString;
|
|
616
|
+
modelId: z.ZodString;
|
|
617
|
+
targetCategory: z.ZodEnum<{
|
|
618
|
+
powerful: "powerful";
|
|
619
|
+
versatile: "versatile";
|
|
620
|
+
lightweight: "lightweight";
|
|
621
|
+
}>;
|
|
622
|
+
category: z.ZodEnum<{
|
|
623
|
+
unknown: "unknown";
|
|
624
|
+
powerful: "powerful";
|
|
625
|
+
versatile: "versatile";
|
|
626
|
+
lightweight: "lightweight";
|
|
627
|
+
}>;
|
|
628
|
+
demand: z.ZodEnum<{
|
|
629
|
+
unknown: "unknown";
|
|
630
|
+
simple: "simple";
|
|
631
|
+
routine: "routine";
|
|
632
|
+
complex: "complex";
|
|
633
|
+
}>;
|
|
634
|
+
assessmentSource: z.ZodEnum<{
|
|
635
|
+
local: "local";
|
|
636
|
+
semantic: "semantic";
|
|
637
|
+
}>;
|
|
638
|
+
assessmentOutcome: z.ZodOptional<z.ZodEnum<{
|
|
639
|
+
disabled: "disabled";
|
|
640
|
+
unavailable: "unavailable";
|
|
641
|
+
"context-omitted": "context-omitted";
|
|
642
|
+
"invalid-result": "invalid-result";
|
|
643
|
+
timeout: "timeout";
|
|
644
|
+
failed: "failed";
|
|
645
|
+
"local-known": "local-known";
|
|
646
|
+
"local-unknown": "local-unknown";
|
|
647
|
+
"semantic-known": "semantic-known";
|
|
648
|
+
"semantic-unknown": "semantic-unknown";
|
|
649
|
+
}>>;
|
|
650
|
+
method: z.ZodEnum<{
|
|
651
|
+
"weighted-distribution": "weighted-distribution";
|
|
652
|
+
"only-candidate": "only-candidate";
|
|
653
|
+
}>;
|
|
654
|
+
fallback: z.ZodBoolean;
|
|
655
|
+
highCost: z.ZodBoolean;
|
|
656
|
+
previous: z.ZodBoolean;
|
|
657
|
+
weight: z.ZodNumber;
|
|
658
|
+
opportunities: z.ZodNumber;
|
|
659
|
+
expectedSelections: z.ZodNumber;
|
|
660
|
+
selections: z.ZodNumber;
|
|
661
|
+
}, z.core.$strict>>;
|
|
662
|
+
noFitRows: z.ZodArray<z.ZodObject<{
|
|
663
|
+
day: z.ZodNumber;
|
|
664
|
+
version: z.ZodString;
|
|
665
|
+
policyVersion: z.ZodString;
|
|
666
|
+
targetCategory: z.ZodEnum<{
|
|
667
|
+
powerful: "powerful";
|
|
668
|
+
versatile: "versatile";
|
|
669
|
+
lightweight: "lightweight";
|
|
670
|
+
}>;
|
|
671
|
+
category: z.ZodEnum<{
|
|
672
|
+
unknown: "unknown";
|
|
673
|
+
powerful: "powerful";
|
|
674
|
+
versatile: "versatile";
|
|
675
|
+
lightweight: "lightweight";
|
|
676
|
+
}>;
|
|
677
|
+
demand: z.ZodEnum<{
|
|
678
|
+
unknown: "unknown";
|
|
679
|
+
simple: "simple";
|
|
680
|
+
routine: "routine";
|
|
681
|
+
complex: "complex";
|
|
682
|
+
}>;
|
|
683
|
+
assessmentSource: z.ZodEnum<{
|
|
684
|
+
local: "local";
|
|
685
|
+
semantic: "semantic";
|
|
686
|
+
}>;
|
|
687
|
+
assessmentOutcome: z.ZodOptional<z.ZodEnum<{
|
|
688
|
+
disabled: "disabled";
|
|
689
|
+
unavailable: "unavailable";
|
|
690
|
+
"context-omitted": "context-omitted";
|
|
691
|
+
"invalid-result": "invalid-result";
|
|
692
|
+
timeout: "timeout";
|
|
693
|
+
failed: "failed";
|
|
694
|
+
"local-known": "local-known";
|
|
695
|
+
"local-unknown": "local-unknown";
|
|
696
|
+
"semantic-known": "semantic-known";
|
|
697
|
+
"semantic-unknown": "semantic-unknown";
|
|
698
|
+
}>>;
|
|
699
|
+
decisions: z.ZodNumber;
|
|
700
|
+
}, z.core.$strict>>;
|
|
701
|
+
observationStart: z.ZodNullable<z.ZodNumber>;
|
|
702
|
+
observationEnd: z.ZodNullable<z.ZodNumber>;
|
|
703
|
+
completeHistory: z.ZodLiteral<false>;
|
|
704
|
+
rowsTruncated: z.ZodBoolean;
|
|
705
|
+
dropped: z.ZodNumber;
|
|
706
|
+
expired: z.ZodNumber;
|
|
707
|
+
saturated: z.ZodNumber;
|
|
708
|
+
restarts: z.ZodNumber;
|
|
709
|
+
}, z.core.$strict>>;
|
|
710
|
+
requests: z.ZodOptional<z.ZodObject<{
|
|
711
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
712
|
+
streamId: z.ZodString;
|
|
713
|
+
dispatchIndex: z.ZodNumber;
|
|
714
|
+
version: z.ZodString;
|
|
715
|
+
startedAt: z.ZodNumber;
|
|
716
|
+
elapsedMs: z.ZodNumber;
|
|
717
|
+
model: z.ZodString;
|
|
718
|
+
protocol: z.ZodEnum<{
|
|
719
|
+
"openai-completions": "openai-completions";
|
|
720
|
+
"openai-responses": "openai-responses";
|
|
721
|
+
"anthropic-messages": "anthropic-messages";
|
|
722
|
+
}>;
|
|
723
|
+
composition: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
724
|
+
state: z.ZodLiteral<"complete">;
|
|
725
|
+
totalBytes: z.ZodNumber;
|
|
726
|
+
conversationBytes: z.ZodNumber;
|
|
727
|
+
toolSchemaBytes: z.ZodNumber;
|
|
728
|
+
systemBytes: z.ZodNumber;
|
|
729
|
+
otherBytes: z.ZodNumber;
|
|
730
|
+
imageBlockBytes: z.ZodNumber;
|
|
731
|
+
opaqueReplayBytes: z.ZodNumber;
|
|
732
|
+
remainingConversationBytes: z.ZodNumber;
|
|
733
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
734
|
+
state: z.ZodEnum<{
|
|
735
|
+
unavailable: "unavailable";
|
|
736
|
+
"work-limit": "work-limit";
|
|
737
|
+
"size-limit": "size-limit";
|
|
738
|
+
"invalid-json": "invalid-json";
|
|
739
|
+
"unsupported-shape": "unsupported-shape";
|
|
740
|
+
cancelled: "cancelled";
|
|
741
|
+
"time-limit": "time-limit";
|
|
742
|
+
}>;
|
|
743
|
+
totalBytes: z.ZodOptional<z.ZodNumber>;
|
|
744
|
+
}, z.core.$strict>], "state">;
|
|
745
|
+
encoding: z.ZodEnum<{
|
|
746
|
+
unknown: "unknown";
|
|
747
|
+
identity: "identity";
|
|
748
|
+
gzip: "gzip";
|
|
749
|
+
}>;
|
|
750
|
+
wireBytes: z.ZodOptional<z.ZodNumber>;
|
|
751
|
+
upload: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
752
|
+
state: z.ZodLiteral<"observed">;
|
|
753
|
+
bodyWrite: z.ZodEnum<{
|
|
754
|
+
observed: "observed";
|
|
755
|
+
"not-observed": "not-observed";
|
|
756
|
+
}>;
|
|
757
|
+
bodyWriteCompleteMs: z.ZodOptional<z.ZodNumber>;
|
|
758
|
+
nativeResponseHeadersMs: z.ZodOptional<z.ZodNumber>;
|
|
759
|
+
alpn: z.ZodEnum<{
|
|
760
|
+
h2: "h2";
|
|
761
|
+
unavailable: "unavailable";
|
|
762
|
+
"http/1.1": "http/1.1";
|
|
763
|
+
}>;
|
|
764
|
+
nodeWritableBufferBytes: z.ZodOptional<z.ZodNumber>;
|
|
765
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
766
|
+
state: z.ZodEnum<{
|
|
767
|
+
unavailable: "unavailable";
|
|
768
|
+
"work-limit": "work-limit";
|
|
769
|
+
}>;
|
|
770
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
771
|
+
state: z.ZodLiteral<"ambiguous">;
|
|
772
|
+
requestCount: z.ZodNumber;
|
|
773
|
+
}, z.core.$strict>], "state">>;
|
|
774
|
+
responseHeadersMs: z.ZodOptional<z.ZodNumber>;
|
|
775
|
+
httpStatus: z.ZodOptional<z.ZodNumber>;
|
|
776
|
+
outcome: z.ZodEnum<{
|
|
777
|
+
cancelled: "cancelled";
|
|
778
|
+
"http-error": "http-error";
|
|
779
|
+
"transport-error": "transport-error";
|
|
780
|
+
"stream-done": "stream-done";
|
|
781
|
+
"stream-error": "stream-error";
|
|
782
|
+
interrupted: "interrupted";
|
|
783
|
+
}>;
|
|
784
|
+
reason: z.ZodEnum<{
|
|
785
|
+
none: "none";
|
|
786
|
+
unknown: "unknown";
|
|
787
|
+
"request-body-timeout": "request-body-timeout";
|
|
788
|
+
"caller-abort": "caller-abort";
|
|
789
|
+
"credential-changed": "credential-changed";
|
|
790
|
+
disposed: "disposed";
|
|
791
|
+
"byte-idle-timeout": "byte-idle-timeout";
|
|
792
|
+
"signal-abort": "signal-abort";
|
|
793
|
+
}>;
|
|
794
|
+
}, z.core.$strict>>;
|
|
795
|
+
dropped: z.ZodNumber;
|
|
796
|
+
evicted: z.ZodNumber;
|
|
797
|
+
pending: z.ZodOptional<z.ZodNumber>;
|
|
798
|
+
interruptedOnReopen: z.ZodOptional<z.ZodNumber>;
|
|
799
|
+
credentialChanges: z.ZodOptional<z.ZodObject<{
|
|
800
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
801
|
+
changeId: z.ZodString;
|
|
802
|
+
observedAt: z.ZodNumber;
|
|
803
|
+
version: z.ZodString;
|
|
804
|
+
phase: z.ZodEnum<{
|
|
805
|
+
notification: "notification";
|
|
806
|
+
commit: "commit";
|
|
807
|
+
}>;
|
|
808
|
+
reason: z.ZodEnum<{
|
|
809
|
+
expired: "expired";
|
|
810
|
+
qualified: "qualified";
|
|
811
|
+
"unknown-source": "unknown-source";
|
|
812
|
+
"account-changed": "account-changed";
|
|
813
|
+
"endpoint-changed": "endpoint-changed";
|
|
814
|
+
"entitlements-changed": "entitlements-changed";
|
|
815
|
+
"auth-mismatch": "auth-mismatch";
|
|
816
|
+
"duplicate-notification": "duplicate-notification";
|
|
817
|
+
"missing-notification": "missing-notification";
|
|
818
|
+
"commit-mismatch": "commit-mismatch";
|
|
819
|
+
"write-failed": "write-failed";
|
|
820
|
+
"write-conflict": "write-conflict";
|
|
821
|
+
}>;
|
|
822
|
+
preparing: z.ZodNumber;
|
|
823
|
+
dispatched: z.ZodNumber;
|
|
824
|
+
alreadyAborted: z.ZodNumber;
|
|
825
|
+
preserved: z.ZodNumber;
|
|
826
|
+
revoked: z.ZodNumber;
|
|
827
|
+
}, z.core.$strict>>;
|
|
828
|
+
dropped: z.ZodNumber;
|
|
829
|
+
evicted: z.ZodNumber;
|
|
830
|
+
pending: z.ZodOptional<z.ZodNumber>;
|
|
831
|
+
interruptedOnReopen: z.ZodOptional<z.ZodNumber>;
|
|
832
|
+
}, z.core.$strict>>;
|
|
833
|
+
}, z.core.$strict>>;
|
|
378
834
|
pending: z.ZodArray<z.ZodObject<{
|
|
379
835
|
version: z.ZodString;
|
|
380
836
|
operation: z.ZodEnum<{
|
|
@@ -389,6 +845,7 @@ export declare const DiagnosticsViewSchema: z.ZodObject<{
|
|
|
389
845
|
}>;
|
|
390
846
|
stage: z.ZodEnum<{
|
|
391
847
|
ended: "ended";
|
|
848
|
+
dispatched: "dispatched";
|
|
392
849
|
admitted: "admitted";
|
|
393
850
|
"rpc-invoked": "rpc-invoked";
|
|
394
851
|
"host-received": "host-received";
|
|
@@ -404,7 +861,6 @@ export declare const DiagnosticsViewSchema: z.ZodObject<{
|
|
|
404
861
|
"cache-hit": "cache-hit";
|
|
405
862
|
"joined-flight": "joined-flight";
|
|
406
863
|
cooldown: "cooldown";
|
|
407
|
-
dispatched: "dispatched";
|
|
408
864
|
}>;
|
|
409
865
|
bucket: z.ZodNumber;
|
|
410
866
|
count: z.ZodNumber;
|
|
@@ -6,5 +6,5 @@ export declare const nativeButtonStyle: CSSProperties;
|
|
|
6
6
|
export declare const nativeCompactButtonStyle: CSSProperties;
|
|
7
7
|
export declare const nativeInputStyle: CSSProperties;
|
|
8
8
|
export declare const nativeCardStyle: CSSProperties;
|
|
9
|
-
export declare const nativeSettingsCss = "\n[data-copilot-native-ui] :is(h3, strong, th) { font-weight: 500; }\n[data-copilot-native-ui] button:not(:disabled):hover {\n background: var(--dsw-alias-interactive-bg-hover, var(--dsw-specific-settings-secondary-hover-solid, ButtonFace));\n}\n[data-copilot-native-ui] :is(button, input, select, textarea, summary, a):focus-visible {\n outline: 2px solid var(--dsw-focus-ring-color, Highlight); outline-offset: 2px;\n}\n[data-copilot-native-ui] :is(button, input, select, textarea):disabled { opacity: 0.4; cursor: not-allowed; }\n[data-copilot-native-ui] summary {\n width: fit-content; max-width: 100%; padding: 2px 4px; margin-left: -4px;\n border-radius: var(--dsw-radius-sm, 8px); cursor: pointer;\n font
|
|
9
|
+
export declare const nativeSettingsCss = "\n[data-copilot-native-ui] :is(h3, strong, th) { font-weight: 500; }\n[data-copilot-native-ui] button:not(:disabled):hover {\n background: var(--dsw-alias-interactive-bg-hover, var(--dsw-specific-settings-secondary-hover-solid, ButtonFace));\n}\n[data-copilot-native-ui] :is(button, input, select, textarea, summary, a):focus-visible {\n outline: 2px solid var(--dsw-focus-ring-color, Highlight); outline-offset: 2px;\n}\n[data-copilot-native-ui] :is(button, input, select, textarea):disabled { opacity: 0.4; cursor: not-allowed; }\n[data-copilot-native-ui] summary {\n width: fit-content; max-width: 100%; padding: 2px 4px; margin-left: -4px;\n border-radius: var(--dsw-radius-sm, 8px); cursor: pointer;\n font: inherit; font-weight: 500;\n color: var(--dsw-alias-label-secondary, GrayText); list-style: none;\n}\n[data-copilot-native-ui] summary::-webkit-details-marker { display: none; }\n[data-copilot-native-ui] summary::before {\n content: ''; display: inline-block; width: 5px; height: 5px; margin-right: 8px;\n border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;\n transform: rotate(-45deg); transition: transform 120ms ease;\n}\n[data-copilot-native-ui] details[open] > summary::before,\n[data-copilot-native-ui][open] > summary::before { transform: rotate(45deg); }\n[data-copilot-native-ui] summary:hover { background: var(--dsw-alias-interactive-bg-hover, ButtonFace); }\n@media (prefers-reduced-motion: reduce) {\n [data-copilot-native-ui] summary::before { transition: none; }\n}\n";
|
|
10
10
|
//# sourceMappingURL=native-settings-style.d.ts.map
|