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.
Files changed (109) hide show
  1. package/AGENTS.md +96 -16
  2. package/CHANGELOG.md +211 -0
  3. package/CONTRIBUTING.md +9 -0
  4. package/README.md +106 -18
  5. package/README.zh.md +97 -18
  6. package/deployment-baseline.json +227 -8
  7. package/docs/account-management-experience.md +143 -0
  8. package/docs/auto-high-cost.md +154 -0
  9. package/docs/auto-iteration-review.json +22 -0
  10. package/docs/auto-review-sampling.md +60 -0
  11. package/docs/auto-task-routing.md +8 -6
  12. package/docs/automatic-model-routing.md +33 -5
  13. package/docs/copilot-accounts.md +376 -0
  14. package/docs/copilot-compaction.md +23 -2
  15. package/docs/copilot-usage.md +24 -4
  16. package/docs/evidence-driven-iteration.md +86 -0
  17. package/docs/images/copilot-accounts-credits.png +0 -0
  18. package/docs/images/copilot-accounts.png +0 -0
  19. package/docs/images/copilot-current-provenance.json +39 -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/copilot-session-continuation.png +0 -0
  23. package/docs/manual-compaction-recovery.md +50 -7
  24. package/docs/mockups/copilot-account-dropdown.html +71 -0
  25. package/docs/mockups/copilot-account-management.html +393 -0
  26. package/docs/model-compatibility-acceptance.md +34 -16
  27. package/docs/official-first-020-rc2.md +1 -0
  28. package/docs/plugin-diagnostics.md +452 -0
  29. package/docs/session-continuation.md +141 -0
  30. package/docs/session-search-routing.md +1 -1
  31. package/docs/single-route-migration.md +5 -4
  32. package/lib/client.js +4415 -846
  33. package/lib/client.js.map +1 -1
  34. package/lib/diagnostics-analysis-io.js +78 -0
  35. package/lib/diagnostics-analysis.js +425 -0
  36. package/lib/diagnostics-types-FVf6zjob.js +182 -0
  37. package/lib/index.js +10356 -6020
  38. package/lib/manual-compaction-recovery.js +163 -38
  39. package/lib/remote.js +593 -34
  40. package/lib/routed-web.js +1 -1
  41. package/lib/{search-routing-jzNYveyK.js → search-routing-CV2hs8as.js} +139 -139
  42. package/lib/types/account-dropdown.d.ts +22 -0
  43. package/lib/types/account-model-auth.d.ts +1 -1
  44. package/lib/types/authorization-code-clipboard.d.ts +4 -0
  45. package/lib/types/authorization-controller.d.ts +2 -0
  46. package/lib/types/auto-allocation-card.d.ts +9 -0
  47. package/lib/types/auto-allocation-evidence.d.ts +38 -0
  48. package/lib/types/auto-allocation.d.ts +24 -0
  49. package/lib/types/auto-model-host.d.ts +2 -0
  50. package/lib/types/auto-model-routing.d.ts +6 -2
  51. package/lib/types/auto-review-sampling.d.ts +6 -0
  52. package/lib/types/auto-task-classifier.d.ts +1 -1
  53. package/lib/types/background-compaction.d.ts +2 -2
  54. package/lib/types/client.d.ts +19 -3
  55. package/lib/types/compaction-continuation-ui.d.ts +29 -0
  56. package/lib/types/compaction-continuation.d.ts +48 -0
  57. package/lib/types/compaction-input-estimate.d.ts +24 -0
  58. package/lib/types/compaction-replay.d.ts +18 -0
  59. package/lib/types/composer-notice-style.d.ts +7 -0
  60. package/lib/types/config.d.ts +42 -2
  61. package/lib/types/context-evidence-ui.d.ts +18 -1
  62. package/lib/types/context-evidence.d.ts +152 -4
  63. package/lib/types/copilot-account-presentation.d.ts +7 -0
  64. package/lib/types/copilot-accounts-card.d.ts +43 -0
  65. package/lib/types/copilot-accounts-host.d.ts +93 -0
  66. package/lib/types/copilot-accounts-remote.d.ts +85 -0
  67. package/lib/types/copilot-accounts-types.d.ts +43 -0
  68. package/lib/types/copilot-auth.d.ts +3 -1
  69. package/lib/types/copilot-usage-card.d.ts +23 -0
  70. package/lib/types/copilot-usage-host.d.ts +9 -1
  71. package/lib/types/copilot-usage-remote.d.ts +2 -1
  72. package/lib/types/copilot-usage-types.d.ts +1 -0
  73. package/lib/types/diagnostics-analysis-io.d.ts +23 -0
  74. package/lib/types/diagnostics-analysis.d.ts +295 -0
  75. package/lib/types/diagnostics-card.d.ts +11 -0
  76. package/lib/types/diagnostics-client.d.ts +13 -0
  77. package/lib/types/diagnostics-collector.d.ts +36 -0
  78. package/lib/types/diagnostics-host.d.ts +72 -0
  79. package/lib/types/diagnostics-remote.d.ts +109 -0
  80. package/lib/types/diagnostics-types.d.ts +431 -0
  81. package/lib/types/manual-compaction-recovery.d.ts +18 -3
  82. package/lib/types/model-preferences-card.d.ts +1 -1
  83. package/lib/types/native-settings-style.d.ts +10 -0
  84. package/lib/types/parent-model-follow-card.d.ts +2 -11
  85. package/lib/types/preview-provider.d.ts +4 -0
  86. package/lib/types/preview-route.d.ts +7 -5
  87. package/lib/types/remote.d.ts +9 -6
  88. package/lib/types/replay-recovery-host.d.ts +2 -2
  89. package/lib/types/replay-recovery-ui.d.ts +3 -1
  90. package/lib/types/request-body-evidence.d.ts +3 -1
  91. package/lib/types/responses-replay-compat.d.ts +2 -1
  92. package/lib/types/responses-request-compression.d.ts +33 -0
  93. package/lib/types/session-accounts-controller.d.ts +20 -0
  94. package/lib/types/session-accounts-host.d.ts +33 -0
  95. package/lib/types/session-accounts-remote.d.ts +114 -0
  96. package/lib/types/session-accounts.d.ts +38 -0
  97. package/lib/types/session-continuation-host.d.ts +45 -0
  98. package/lib/types/session-continuation-remote.d.ts +22 -0
  99. package/lib/types/session-continuation-types.d.ts +62 -0
  100. package/lib/types/session-continuation-ui.d.ts +49 -0
  101. package/lib/types/session-continuation.d.ts +14 -0
  102. package/lib/types/turn-request-models.d.ts +55 -0
  103. package/lib/types/turn-selection-card.d.ts +15 -1
  104. package/lib/types/turn-selection-host.d.ts +23 -0
  105. package/lib/types/turn-selection-remote.d.ts +4 -0
  106. package/lib/types/turn-selection.d.ts +19 -4
  107. package/package.json +19 -3
  108. package/scripts/analyze-diagnostics.mjs +91 -0
  109. package/scripts/iteration-review.mjs +53 -0
@@ -0,0 +1,109 @@
1
+ import type { RemoteResult, TypertRemoteContribution } from '@deepseek-ai/dsh-typert-protocol';
2
+ import { z } from 'zod';
3
+ import type { DiagnosticsView } from './diagnostics-types.ts';
4
+ export declare const ClientDiagnosticsBatchSchema: z.ZodObject<{
5
+ epoch: z.ZodNumber;
6
+ rows: z.ZodArray<z.ZodObject<{
7
+ hour: z.ZodNumber;
8
+ version: z.ZodString;
9
+ layer: z.ZodEnum<{
10
+ client: "client";
11
+ host: "host";
12
+ }>;
13
+ operation: z.ZodEnum<{
14
+ compaction: "compaction";
15
+ "account-global-switch": "account-global-switch";
16
+ "account-session-select": "account-session-select";
17
+ "account-session-inherit": "account-session-inherit";
18
+ "identity-read": "identity-read";
19
+ "identity-flight": "identity-flight";
20
+ "compaction-summary": "compaction-summary";
21
+ collection: "collection";
22
+ }>;
23
+ stage: z.ZodEnum<{
24
+ ended: "ended";
25
+ admitted: "admitted";
26
+ "rpc-invoked": "rpc-invoked";
27
+ "host-received": "host-received";
28
+ "identity-validation": "identity-validation";
29
+ "model-validation": "model-validation";
30
+ cas: "cas";
31
+ readback: "readback";
32
+ "response-received": "response-received";
33
+ decoded: "decoded";
34
+ "client-settled": "client-settled";
35
+ "summary-attempt": "summary-attempt";
36
+ "checkpoint-committed": "checkpoint-committed";
37
+ "cache-hit": "cache-hit";
38
+ "joined-flight": "joined-flight";
39
+ cooldown: "cooldown";
40
+ dispatched: "dispatched";
41
+ }>;
42
+ metric: z.ZodEnum<{
43
+ paused: "paused";
44
+ unknown: "unknown";
45
+ started: "started";
46
+ stage: "stage";
47
+ success: "success";
48
+ "no-op": "no-op";
49
+ cancelled: "cancelled";
50
+ "policy-rejected": "policy-rejected";
51
+ revoked: "revoked";
52
+ "environment-fault": "environment-fault";
53
+ failed: "failed";
54
+ interrupted: "interrupted";
55
+ dropped: "dropped";
56
+ expired: "expired";
57
+ "clock-discontinuity": "clock-discontinuity";
58
+ "pending-sample": "pending-sample";
59
+ }>;
60
+ reason: z.ZodEnum<{
61
+ none: "none";
62
+ COPILOT_ACCOUNTS_SETTINGS_UNAVAILABLE: "COPILOT_ACCOUNTS_SETTINGS_UNAVAILABLE";
63
+ COPILOT_ACCOUNTS_CHANGED: "COPILOT_ACCOUNTS_CHANGED";
64
+ COPILOT_ACCOUNTS_BUSY: "COPILOT_ACCOUNTS_BUSY";
65
+ COPILOT_ACCOUNTS_CONFLICT: "COPILOT_ACCOUNTS_CONFLICT";
66
+ COPILOT_ACCOUNTS_COMMIT_UNCERTAIN: "COPILOT_ACCOUNTS_COMMIT_UNCERTAIN";
67
+ COPILOT_ACCOUNTS_MODELS_FAILED: "COPILOT_ACCOUNTS_MODELS_FAILED";
68
+ COPILOT_ACCOUNTS_IDENTITY_UNAVAILABLE: "COPILOT_ACCOUNTS_IDENTITY_UNAVAILABLE";
69
+ COPILOT_ACCOUNTS_IDENTITY_INVALID: "COPILOT_ACCOUNTS_IDENTITY_INVALID";
70
+ COPILOT_ACCOUNTS_IDENTITY_TIMEOUT: "COPILOT_ACCOUNTS_IDENTITY_TIMEOUT";
71
+ COPILOT_ACCOUNTS_IDENTITY_TLS: "COPILOT_ACCOUNTS_IDENTITY_TLS";
72
+ COPILOT_ACCOUNTS_IDENTITY_NETWORK: "COPILOT_ACCOUNTS_IDENTITY_NETWORK";
73
+ COPILOT_ACCOUNTS_IDENTITY_AUTH_REJECTED: "COPILOT_ACCOUNTS_IDENTITY_AUTH_REJECTED";
74
+ COPILOT_ACCOUNTS_IDENTITY_RATE_LIMITED: "COPILOT_ACCOUNTS_IDENTITY_RATE_LIMITED";
75
+ COPILOT_ACCOUNTS_IDENTITY_HTTP_ERROR: "COPILOT_ACCOUNTS_IDENTITY_HTTP_ERROR";
76
+ unknown: "unknown";
77
+ "rpc-unavailable": "rpc-unavailable";
78
+ "decode-invalid": "decode-invalid";
79
+ COPILOT_SESSION_ACCOUNTS_UNAVAILABLE: "COPILOT_SESSION_ACCOUNTS_UNAVAILABLE";
80
+ COPILOT_SESSION_ACCOUNTS_SETTINGS_UNAVAILABLE: "COPILOT_SESSION_ACCOUNTS_SETTINGS_UNAVAILABLE";
81
+ COPILOT_SESSION_ACCOUNTS_COMMIT_UNCERTAIN: "COPILOT_SESSION_ACCOUNTS_COMMIT_UNCERTAIN";
82
+ COPILOT_RESPONSES_REPLAY_SCOPE_MISMATCH: "COPILOT_RESPONSES_REPLAY_SCOPE_MISMATCH";
83
+ CONTEXT_WINDOW_EXCEEDED: "CONTEXT_WINDOW_EXCEEDED";
84
+ COPILOT_MANUAL_RECOVERY_FIXED_PREFIX: "COPILOT_MANUAL_RECOVERY_FIXED_PREFIX";
85
+ COPILOT_MANUAL_RECOVERY_INDIVISIBLE: "COPILOT_MANUAL_RECOVERY_INDIVISIBLE";
86
+ COPILOT_MANUAL_RECOVERY_CALL_LIMIT: "COPILOT_MANUAL_RECOVERY_CALL_LIMIT";
87
+ COPILOT_MANUAL_RECOVERY_EMPTY_SUMMARY: "COPILOT_MANUAL_RECOVERY_EMPTY_SUMMARY";
88
+ COPILOT_MANUAL_RECOVERY_UNBALANCED: "COPILOT_MANUAL_RECOVERY_UNBALANCED";
89
+ }>;
90
+ bucket: z.ZodNumber;
91
+ count: z.ZodNumber;
92
+ }, z.core.$strict>>;
93
+ dropped: z.ZodOptional<z.ZodNumber>;
94
+ unconfirmed: z.ZodOptional<z.ZodNumber>;
95
+ }, z.core.$strict>;
96
+ export type ClientDiagnosticsBatch = z.infer<typeof ClientDiagnosticsBatchSchema>;
97
+ declare module '@deepseek-ai/dsh-typert-protocol' {
98
+ interface TypertRemoteNamespaceMap {
99
+ githubCopilotDiagnostics: {
100
+ get(): Promise<RemoteResult<DiagnosticsView>>;
101
+ setEnabled(enabled: boolean): Promise<RemoteResult<DiagnosticsView>>;
102
+ clear(): Promise<RemoteResult<DiagnosticsView>>;
103
+ recordClient(batch: ClientDiagnosticsBatch): Promise<RemoteResult<DiagnosticsView>>;
104
+ };
105
+ }
106
+ }
107
+ declare const contribution: TypertRemoteContribution;
108
+ export default contribution;
109
+ //# sourceMappingURL=diagnostics-remote.d.ts.map
@@ -0,0 +1,431 @@
1
+ import { z } from 'zod';
2
+ export declare const DIAGNOSTICS_OPERATIONS: readonly ["account-global-switch", "account-session-select", "account-session-inherit", "identity-read", "identity-flight", "compaction", "compaction-summary", "collection"];
3
+ export declare const DIAGNOSTICS_STAGES: readonly ["admitted", "rpc-invoked", "host-received", "identity-validation", "model-validation", "cas", "readback", "response-received", "decoded", "client-settled", "summary-attempt", "checkpoint-committed", "ended", "cache-hit", "joined-flight", "cooldown", "dispatched"];
4
+ export declare const DIAGNOSTICS_METRICS: readonly ["started", "stage", "success", "no-op", "cancelled", "policy-rejected", "revoked", "environment-fault", "failed", "unknown", "interrupted", "dropped", "paused", "expired", "clock-discontinuity", "pending-sample"];
5
+ export declare const DIAGNOSTICS_REASONS: readonly ["none", "unknown", "rpc-unavailable", "decode-invalid", "COPILOT_ACCOUNTS_BUSY", "COPILOT_ACCOUNTS_CONFLICT", "COPILOT_ACCOUNTS_CHANGED", "COPILOT_ACCOUNTS_COMMIT_UNCERTAIN", "COPILOT_ACCOUNTS_IDENTITY_TIMEOUT", "COPILOT_ACCOUNTS_IDENTITY_UNAVAILABLE", "COPILOT_ACCOUNTS_MODELS_FAILED", "COPILOT_ACCOUNTS_SETTINGS_UNAVAILABLE", "COPILOT_ACCOUNTS_IDENTITY_TLS", "COPILOT_ACCOUNTS_IDENTITY_NETWORK", "COPILOT_ACCOUNTS_IDENTITY_RATE_LIMITED", "COPILOT_ACCOUNTS_IDENTITY_AUTH_REJECTED", "COPILOT_ACCOUNTS_IDENTITY_HTTP_ERROR", "COPILOT_ACCOUNTS_IDENTITY_INVALID", "COPILOT_SESSION_ACCOUNTS_UNAVAILABLE", "COPILOT_SESSION_ACCOUNTS_SETTINGS_UNAVAILABLE", "COPILOT_SESSION_ACCOUNTS_COMMIT_UNCERTAIN", "COPILOT_RESPONSES_REPLAY_SCOPE_MISMATCH", "CONTEXT_WINDOW_EXCEEDED", "COPILOT_MANUAL_RECOVERY_FIXED_PREFIX", "COPILOT_MANUAL_RECOVERY_INDIVISIBLE", "COPILOT_MANUAL_RECOVERY_CALL_LIMIT", "COPILOT_MANUAL_RECOVERY_EMPTY_SUMMARY", "COPILOT_MANUAL_RECOVERY_UNBALANCED"];
6
+ export declare const DIAGNOSTICS_MAX_ROWS = 4096;
7
+ export declare const DIAGNOSTICS_MAX_BYTES: number;
8
+ export declare const DIAGNOSTICS_RETENTION_MS: number;
9
+ export declare const DIAGNOSTICS_MAX_LIVE = 128;
10
+ export declare const DiagnosticsRowSchema: z.ZodObject<{
11
+ hour: z.ZodNumber;
12
+ version: z.ZodString;
13
+ layer: z.ZodEnum<{
14
+ client: "client";
15
+ host: "host";
16
+ }>;
17
+ operation: z.ZodEnum<{
18
+ compaction: "compaction";
19
+ "account-global-switch": "account-global-switch";
20
+ "account-session-select": "account-session-select";
21
+ "account-session-inherit": "account-session-inherit";
22
+ "identity-read": "identity-read";
23
+ "identity-flight": "identity-flight";
24
+ "compaction-summary": "compaction-summary";
25
+ collection: "collection";
26
+ }>;
27
+ stage: z.ZodEnum<{
28
+ ended: "ended";
29
+ admitted: "admitted";
30
+ "rpc-invoked": "rpc-invoked";
31
+ "host-received": "host-received";
32
+ "identity-validation": "identity-validation";
33
+ "model-validation": "model-validation";
34
+ cas: "cas";
35
+ readback: "readback";
36
+ "response-received": "response-received";
37
+ decoded: "decoded";
38
+ "client-settled": "client-settled";
39
+ "summary-attempt": "summary-attempt";
40
+ "checkpoint-committed": "checkpoint-committed";
41
+ "cache-hit": "cache-hit";
42
+ "joined-flight": "joined-flight";
43
+ cooldown: "cooldown";
44
+ dispatched: "dispatched";
45
+ }>;
46
+ metric: z.ZodEnum<{
47
+ paused: "paused";
48
+ unknown: "unknown";
49
+ started: "started";
50
+ stage: "stage";
51
+ success: "success";
52
+ "no-op": "no-op";
53
+ cancelled: "cancelled";
54
+ "policy-rejected": "policy-rejected";
55
+ revoked: "revoked";
56
+ "environment-fault": "environment-fault";
57
+ failed: "failed";
58
+ interrupted: "interrupted";
59
+ dropped: "dropped";
60
+ expired: "expired";
61
+ "clock-discontinuity": "clock-discontinuity";
62
+ "pending-sample": "pending-sample";
63
+ }>;
64
+ reason: z.ZodEnum<{
65
+ none: "none";
66
+ COPILOT_ACCOUNTS_SETTINGS_UNAVAILABLE: "COPILOT_ACCOUNTS_SETTINGS_UNAVAILABLE";
67
+ COPILOT_ACCOUNTS_CHANGED: "COPILOT_ACCOUNTS_CHANGED";
68
+ COPILOT_ACCOUNTS_BUSY: "COPILOT_ACCOUNTS_BUSY";
69
+ COPILOT_ACCOUNTS_CONFLICT: "COPILOT_ACCOUNTS_CONFLICT";
70
+ COPILOT_ACCOUNTS_COMMIT_UNCERTAIN: "COPILOT_ACCOUNTS_COMMIT_UNCERTAIN";
71
+ COPILOT_ACCOUNTS_MODELS_FAILED: "COPILOT_ACCOUNTS_MODELS_FAILED";
72
+ COPILOT_ACCOUNTS_IDENTITY_UNAVAILABLE: "COPILOT_ACCOUNTS_IDENTITY_UNAVAILABLE";
73
+ COPILOT_ACCOUNTS_IDENTITY_INVALID: "COPILOT_ACCOUNTS_IDENTITY_INVALID";
74
+ COPILOT_ACCOUNTS_IDENTITY_TIMEOUT: "COPILOT_ACCOUNTS_IDENTITY_TIMEOUT";
75
+ COPILOT_ACCOUNTS_IDENTITY_TLS: "COPILOT_ACCOUNTS_IDENTITY_TLS";
76
+ COPILOT_ACCOUNTS_IDENTITY_NETWORK: "COPILOT_ACCOUNTS_IDENTITY_NETWORK";
77
+ COPILOT_ACCOUNTS_IDENTITY_AUTH_REJECTED: "COPILOT_ACCOUNTS_IDENTITY_AUTH_REJECTED";
78
+ COPILOT_ACCOUNTS_IDENTITY_RATE_LIMITED: "COPILOT_ACCOUNTS_IDENTITY_RATE_LIMITED";
79
+ COPILOT_ACCOUNTS_IDENTITY_HTTP_ERROR: "COPILOT_ACCOUNTS_IDENTITY_HTTP_ERROR";
80
+ unknown: "unknown";
81
+ "rpc-unavailable": "rpc-unavailable";
82
+ "decode-invalid": "decode-invalid";
83
+ COPILOT_SESSION_ACCOUNTS_UNAVAILABLE: "COPILOT_SESSION_ACCOUNTS_UNAVAILABLE";
84
+ COPILOT_SESSION_ACCOUNTS_SETTINGS_UNAVAILABLE: "COPILOT_SESSION_ACCOUNTS_SETTINGS_UNAVAILABLE";
85
+ COPILOT_SESSION_ACCOUNTS_COMMIT_UNCERTAIN: "COPILOT_SESSION_ACCOUNTS_COMMIT_UNCERTAIN";
86
+ COPILOT_RESPONSES_REPLAY_SCOPE_MISMATCH: "COPILOT_RESPONSES_REPLAY_SCOPE_MISMATCH";
87
+ CONTEXT_WINDOW_EXCEEDED: "CONTEXT_WINDOW_EXCEEDED";
88
+ COPILOT_MANUAL_RECOVERY_FIXED_PREFIX: "COPILOT_MANUAL_RECOVERY_FIXED_PREFIX";
89
+ COPILOT_MANUAL_RECOVERY_INDIVISIBLE: "COPILOT_MANUAL_RECOVERY_INDIVISIBLE";
90
+ COPILOT_MANUAL_RECOVERY_CALL_LIMIT: "COPILOT_MANUAL_RECOVERY_CALL_LIMIT";
91
+ COPILOT_MANUAL_RECOVERY_EMPTY_SUMMARY: "COPILOT_MANUAL_RECOVERY_EMPTY_SUMMARY";
92
+ COPILOT_MANUAL_RECOVERY_UNBALANCED: "COPILOT_MANUAL_RECOVERY_UNBALANCED";
93
+ }>;
94
+ bucket: z.ZodNumber;
95
+ count: z.ZodNumber;
96
+ }, z.core.$strict>;
97
+ export declare const DiagnosticsPendingSchema: z.ZodObject<{
98
+ version: z.ZodString;
99
+ operation: z.ZodEnum<{
100
+ compaction: "compaction";
101
+ "account-global-switch": "account-global-switch";
102
+ "account-session-select": "account-session-select";
103
+ "account-session-inherit": "account-session-inherit";
104
+ "identity-read": "identity-read";
105
+ "identity-flight": "identity-flight";
106
+ "compaction-summary": "compaction-summary";
107
+ collection: "collection";
108
+ }>;
109
+ stage: z.ZodEnum<{
110
+ ended: "ended";
111
+ admitted: "admitted";
112
+ "rpc-invoked": "rpc-invoked";
113
+ "host-received": "host-received";
114
+ "identity-validation": "identity-validation";
115
+ "model-validation": "model-validation";
116
+ cas: "cas";
117
+ readback: "readback";
118
+ "response-received": "response-received";
119
+ decoded: "decoded";
120
+ "client-settled": "client-settled";
121
+ "summary-attempt": "summary-attempt";
122
+ "checkpoint-committed": "checkpoint-committed";
123
+ "cache-hit": "cache-hit";
124
+ "joined-flight": "joined-flight";
125
+ cooldown: "cooldown";
126
+ dispatched: "dispatched";
127
+ }>;
128
+ bucket: z.ZodNumber;
129
+ count: z.ZodNumber;
130
+ }, z.core.$strict>;
131
+ export declare const DiagnosticsSnapshotSchema: z.ZodObject<{
132
+ schemaVersion: z.ZodLiteral<1>;
133
+ coverageVersion: z.ZodLiteral<1>;
134
+ epoch: z.ZodNumber;
135
+ updatedAt: z.ZodNumber;
136
+ rows: z.ZodArray<z.ZodObject<{
137
+ hour: z.ZodNumber;
138
+ version: z.ZodString;
139
+ layer: z.ZodEnum<{
140
+ client: "client";
141
+ host: "host";
142
+ }>;
143
+ operation: z.ZodEnum<{
144
+ compaction: "compaction";
145
+ "account-global-switch": "account-global-switch";
146
+ "account-session-select": "account-session-select";
147
+ "account-session-inherit": "account-session-inherit";
148
+ "identity-read": "identity-read";
149
+ "identity-flight": "identity-flight";
150
+ "compaction-summary": "compaction-summary";
151
+ collection: "collection";
152
+ }>;
153
+ stage: z.ZodEnum<{
154
+ ended: "ended";
155
+ admitted: "admitted";
156
+ "rpc-invoked": "rpc-invoked";
157
+ "host-received": "host-received";
158
+ "identity-validation": "identity-validation";
159
+ "model-validation": "model-validation";
160
+ cas: "cas";
161
+ readback: "readback";
162
+ "response-received": "response-received";
163
+ decoded: "decoded";
164
+ "client-settled": "client-settled";
165
+ "summary-attempt": "summary-attempt";
166
+ "checkpoint-committed": "checkpoint-committed";
167
+ "cache-hit": "cache-hit";
168
+ "joined-flight": "joined-flight";
169
+ cooldown: "cooldown";
170
+ dispatched: "dispatched";
171
+ }>;
172
+ metric: z.ZodEnum<{
173
+ paused: "paused";
174
+ unknown: "unknown";
175
+ started: "started";
176
+ stage: "stage";
177
+ success: "success";
178
+ "no-op": "no-op";
179
+ cancelled: "cancelled";
180
+ "policy-rejected": "policy-rejected";
181
+ revoked: "revoked";
182
+ "environment-fault": "environment-fault";
183
+ failed: "failed";
184
+ interrupted: "interrupted";
185
+ dropped: "dropped";
186
+ expired: "expired";
187
+ "clock-discontinuity": "clock-discontinuity";
188
+ "pending-sample": "pending-sample";
189
+ }>;
190
+ reason: z.ZodEnum<{
191
+ none: "none";
192
+ COPILOT_ACCOUNTS_SETTINGS_UNAVAILABLE: "COPILOT_ACCOUNTS_SETTINGS_UNAVAILABLE";
193
+ COPILOT_ACCOUNTS_CHANGED: "COPILOT_ACCOUNTS_CHANGED";
194
+ COPILOT_ACCOUNTS_BUSY: "COPILOT_ACCOUNTS_BUSY";
195
+ COPILOT_ACCOUNTS_CONFLICT: "COPILOT_ACCOUNTS_CONFLICT";
196
+ COPILOT_ACCOUNTS_COMMIT_UNCERTAIN: "COPILOT_ACCOUNTS_COMMIT_UNCERTAIN";
197
+ COPILOT_ACCOUNTS_MODELS_FAILED: "COPILOT_ACCOUNTS_MODELS_FAILED";
198
+ COPILOT_ACCOUNTS_IDENTITY_UNAVAILABLE: "COPILOT_ACCOUNTS_IDENTITY_UNAVAILABLE";
199
+ COPILOT_ACCOUNTS_IDENTITY_INVALID: "COPILOT_ACCOUNTS_IDENTITY_INVALID";
200
+ COPILOT_ACCOUNTS_IDENTITY_TIMEOUT: "COPILOT_ACCOUNTS_IDENTITY_TIMEOUT";
201
+ COPILOT_ACCOUNTS_IDENTITY_TLS: "COPILOT_ACCOUNTS_IDENTITY_TLS";
202
+ COPILOT_ACCOUNTS_IDENTITY_NETWORK: "COPILOT_ACCOUNTS_IDENTITY_NETWORK";
203
+ COPILOT_ACCOUNTS_IDENTITY_AUTH_REJECTED: "COPILOT_ACCOUNTS_IDENTITY_AUTH_REJECTED";
204
+ COPILOT_ACCOUNTS_IDENTITY_RATE_LIMITED: "COPILOT_ACCOUNTS_IDENTITY_RATE_LIMITED";
205
+ COPILOT_ACCOUNTS_IDENTITY_HTTP_ERROR: "COPILOT_ACCOUNTS_IDENTITY_HTTP_ERROR";
206
+ unknown: "unknown";
207
+ "rpc-unavailable": "rpc-unavailable";
208
+ "decode-invalid": "decode-invalid";
209
+ COPILOT_SESSION_ACCOUNTS_UNAVAILABLE: "COPILOT_SESSION_ACCOUNTS_UNAVAILABLE";
210
+ COPILOT_SESSION_ACCOUNTS_SETTINGS_UNAVAILABLE: "COPILOT_SESSION_ACCOUNTS_SETTINGS_UNAVAILABLE";
211
+ COPILOT_SESSION_ACCOUNTS_COMMIT_UNCERTAIN: "COPILOT_SESSION_ACCOUNTS_COMMIT_UNCERTAIN";
212
+ COPILOT_RESPONSES_REPLAY_SCOPE_MISMATCH: "COPILOT_RESPONSES_REPLAY_SCOPE_MISMATCH";
213
+ CONTEXT_WINDOW_EXCEEDED: "CONTEXT_WINDOW_EXCEEDED";
214
+ COPILOT_MANUAL_RECOVERY_FIXED_PREFIX: "COPILOT_MANUAL_RECOVERY_FIXED_PREFIX";
215
+ COPILOT_MANUAL_RECOVERY_INDIVISIBLE: "COPILOT_MANUAL_RECOVERY_INDIVISIBLE";
216
+ COPILOT_MANUAL_RECOVERY_CALL_LIMIT: "COPILOT_MANUAL_RECOVERY_CALL_LIMIT";
217
+ COPILOT_MANUAL_RECOVERY_EMPTY_SUMMARY: "COPILOT_MANUAL_RECOVERY_EMPTY_SUMMARY";
218
+ COPILOT_MANUAL_RECOVERY_UNBALANCED: "COPILOT_MANUAL_RECOVERY_UNBALANCED";
219
+ }>;
220
+ bucket: z.ZodNumber;
221
+ count: z.ZodNumber;
222
+ }, z.core.$strict>>;
223
+ pending: z.ZodArray<z.ZodObject<{
224
+ version: z.ZodString;
225
+ operation: z.ZodEnum<{
226
+ compaction: "compaction";
227
+ "account-global-switch": "account-global-switch";
228
+ "account-session-select": "account-session-select";
229
+ "account-session-inherit": "account-session-inherit";
230
+ "identity-read": "identity-read";
231
+ "identity-flight": "identity-flight";
232
+ "compaction-summary": "compaction-summary";
233
+ collection: "collection";
234
+ }>;
235
+ stage: z.ZodEnum<{
236
+ ended: "ended";
237
+ admitted: "admitted";
238
+ "rpc-invoked": "rpc-invoked";
239
+ "host-received": "host-received";
240
+ "identity-validation": "identity-validation";
241
+ "model-validation": "model-validation";
242
+ cas: "cas";
243
+ readback: "readback";
244
+ "response-received": "response-received";
245
+ decoded: "decoded";
246
+ "client-settled": "client-settled";
247
+ "summary-attempt": "summary-attempt";
248
+ "checkpoint-committed": "checkpoint-committed";
249
+ "cache-hit": "cache-hit";
250
+ "joined-flight": "joined-flight";
251
+ cooldown: "cooldown";
252
+ dispatched: "dispatched";
253
+ }>;
254
+ bucket: z.ZodNumber;
255
+ count: z.ZodNumber;
256
+ }, z.core.$strict>>;
257
+ dropped: z.ZodNumber;
258
+ clientDropped: z.ZodNumber;
259
+ clientUnconfirmed: z.ZodNumber;
260
+ saturated: z.ZodNumber;
261
+ evicted: z.ZodNumber;
262
+ interrupted: z.ZodNumber;
263
+ }, z.core.$strict>;
264
+ export declare const DiagnosticsViewSchema: z.ZodObject<{
265
+ enabled: z.ZodBoolean;
266
+ state: z.ZodEnum<{
267
+ error: "error";
268
+ ready: "ready";
269
+ unavailable: "unavailable";
270
+ loading: "loading";
271
+ }>;
272
+ diagnostic: z.ZodEnum<{
273
+ none: "none";
274
+ "storage-unavailable": "storage-unavailable";
275
+ "storage-invalid": "storage-invalid";
276
+ "storage-write-failed": "storage-write-failed";
277
+ "profile-unavailable": "profile-unavailable";
278
+ "settings-unavailable": "settings-unavailable";
279
+ "settings-conflict": "settings-conflict";
280
+ "client-report-failed": "client-report-failed";
281
+ "client-report-revoked": "client-report-revoked";
282
+ closed: "closed";
283
+ }>;
284
+ persistedAt: z.ZodOptional<z.ZodNumber>;
285
+ dirty: z.ZodBoolean;
286
+ snapshot: z.ZodObject<{
287
+ schemaVersion: z.ZodLiteral<1>;
288
+ coverageVersion: z.ZodLiteral<1>;
289
+ epoch: z.ZodNumber;
290
+ updatedAt: z.ZodNumber;
291
+ rows: z.ZodArray<z.ZodObject<{
292
+ hour: z.ZodNumber;
293
+ version: z.ZodString;
294
+ layer: z.ZodEnum<{
295
+ client: "client";
296
+ host: "host";
297
+ }>;
298
+ operation: z.ZodEnum<{
299
+ compaction: "compaction";
300
+ "account-global-switch": "account-global-switch";
301
+ "account-session-select": "account-session-select";
302
+ "account-session-inherit": "account-session-inherit";
303
+ "identity-read": "identity-read";
304
+ "identity-flight": "identity-flight";
305
+ "compaction-summary": "compaction-summary";
306
+ collection: "collection";
307
+ }>;
308
+ stage: z.ZodEnum<{
309
+ ended: "ended";
310
+ admitted: "admitted";
311
+ "rpc-invoked": "rpc-invoked";
312
+ "host-received": "host-received";
313
+ "identity-validation": "identity-validation";
314
+ "model-validation": "model-validation";
315
+ cas: "cas";
316
+ readback: "readback";
317
+ "response-received": "response-received";
318
+ decoded: "decoded";
319
+ "client-settled": "client-settled";
320
+ "summary-attempt": "summary-attempt";
321
+ "checkpoint-committed": "checkpoint-committed";
322
+ "cache-hit": "cache-hit";
323
+ "joined-flight": "joined-flight";
324
+ cooldown: "cooldown";
325
+ dispatched: "dispatched";
326
+ }>;
327
+ metric: z.ZodEnum<{
328
+ paused: "paused";
329
+ unknown: "unknown";
330
+ started: "started";
331
+ stage: "stage";
332
+ success: "success";
333
+ "no-op": "no-op";
334
+ cancelled: "cancelled";
335
+ "policy-rejected": "policy-rejected";
336
+ revoked: "revoked";
337
+ "environment-fault": "environment-fault";
338
+ failed: "failed";
339
+ interrupted: "interrupted";
340
+ dropped: "dropped";
341
+ expired: "expired";
342
+ "clock-discontinuity": "clock-discontinuity";
343
+ "pending-sample": "pending-sample";
344
+ }>;
345
+ reason: z.ZodEnum<{
346
+ none: "none";
347
+ COPILOT_ACCOUNTS_SETTINGS_UNAVAILABLE: "COPILOT_ACCOUNTS_SETTINGS_UNAVAILABLE";
348
+ COPILOT_ACCOUNTS_CHANGED: "COPILOT_ACCOUNTS_CHANGED";
349
+ COPILOT_ACCOUNTS_BUSY: "COPILOT_ACCOUNTS_BUSY";
350
+ COPILOT_ACCOUNTS_CONFLICT: "COPILOT_ACCOUNTS_CONFLICT";
351
+ COPILOT_ACCOUNTS_COMMIT_UNCERTAIN: "COPILOT_ACCOUNTS_COMMIT_UNCERTAIN";
352
+ COPILOT_ACCOUNTS_MODELS_FAILED: "COPILOT_ACCOUNTS_MODELS_FAILED";
353
+ COPILOT_ACCOUNTS_IDENTITY_UNAVAILABLE: "COPILOT_ACCOUNTS_IDENTITY_UNAVAILABLE";
354
+ COPILOT_ACCOUNTS_IDENTITY_INVALID: "COPILOT_ACCOUNTS_IDENTITY_INVALID";
355
+ COPILOT_ACCOUNTS_IDENTITY_TIMEOUT: "COPILOT_ACCOUNTS_IDENTITY_TIMEOUT";
356
+ COPILOT_ACCOUNTS_IDENTITY_TLS: "COPILOT_ACCOUNTS_IDENTITY_TLS";
357
+ COPILOT_ACCOUNTS_IDENTITY_NETWORK: "COPILOT_ACCOUNTS_IDENTITY_NETWORK";
358
+ COPILOT_ACCOUNTS_IDENTITY_AUTH_REJECTED: "COPILOT_ACCOUNTS_IDENTITY_AUTH_REJECTED";
359
+ COPILOT_ACCOUNTS_IDENTITY_RATE_LIMITED: "COPILOT_ACCOUNTS_IDENTITY_RATE_LIMITED";
360
+ COPILOT_ACCOUNTS_IDENTITY_HTTP_ERROR: "COPILOT_ACCOUNTS_IDENTITY_HTTP_ERROR";
361
+ unknown: "unknown";
362
+ "rpc-unavailable": "rpc-unavailable";
363
+ "decode-invalid": "decode-invalid";
364
+ COPILOT_SESSION_ACCOUNTS_UNAVAILABLE: "COPILOT_SESSION_ACCOUNTS_UNAVAILABLE";
365
+ COPILOT_SESSION_ACCOUNTS_SETTINGS_UNAVAILABLE: "COPILOT_SESSION_ACCOUNTS_SETTINGS_UNAVAILABLE";
366
+ COPILOT_SESSION_ACCOUNTS_COMMIT_UNCERTAIN: "COPILOT_SESSION_ACCOUNTS_COMMIT_UNCERTAIN";
367
+ COPILOT_RESPONSES_REPLAY_SCOPE_MISMATCH: "COPILOT_RESPONSES_REPLAY_SCOPE_MISMATCH";
368
+ CONTEXT_WINDOW_EXCEEDED: "CONTEXT_WINDOW_EXCEEDED";
369
+ COPILOT_MANUAL_RECOVERY_FIXED_PREFIX: "COPILOT_MANUAL_RECOVERY_FIXED_PREFIX";
370
+ COPILOT_MANUAL_RECOVERY_INDIVISIBLE: "COPILOT_MANUAL_RECOVERY_INDIVISIBLE";
371
+ COPILOT_MANUAL_RECOVERY_CALL_LIMIT: "COPILOT_MANUAL_RECOVERY_CALL_LIMIT";
372
+ COPILOT_MANUAL_RECOVERY_EMPTY_SUMMARY: "COPILOT_MANUAL_RECOVERY_EMPTY_SUMMARY";
373
+ COPILOT_MANUAL_RECOVERY_UNBALANCED: "COPILOT_MANUAL_RECOVERY_UNBALANCED";
374
+ }>;
375
+ bucket: z.ZodNumber;
376
+ count: z.ZodNumber;
377
+ }, z.core.$strict>>;
378
+ pending: z.ZodArray<z.ZodObject<{
379
+ version: z.ZodString;
380
+ operation: z.ZodEnum<{
381
+ compaction: "compaction";
382
+ "account-global-switch": "account-global-switch";
383
+ "account-session-select": "account-session-select";
384
+ "account-session-inherit": "account-session-inherit";
385
+ "identity-read": "identity-read";
386
+ "identity-flight": "identity-flight";
387
+ "compaction-summary": "compaction-summary";
388
+ collection: "collection";
389
+ }>;
390
+ stage: z.ZodEnum<{
391
+ ended: "ended";
392
+ admitted: "admitted";
393
+ "rpc-invoked": "rpc-invoked";
394
+ "host-received": "host-received";
395
+ "identity-validation": "identity-validation";
396
+ "model-validation": "model-validation";
397
+ cas: "cas";
398
+ readback: "readback";
399
+ "response-received": "response-received";
400
+ decoded: "decoded";
401
+ "client-settled": "client-settled";
402
+ "summary-attempt": "summary-attempt";
403
+ "checkpoint-committed": "checkpoint-committed";
404
+ "cache-hit": "cache-hit";
405
+ "joined-flight": "joined-flight";
406
+ cooldown: "cooldown";
407
+ dispatched: "dispatched";
408
+ }>;
409
+ bucket: z.ZodNumber;
410
+ count: z.ZodNumber;
411
+ }, z.core.$strict>>;
412
+ dropped: z.ZodNumber;
413
+ clientDropped: z.ZodNumber;
414
+ clientUnconfirmed: z.ZodNumber;
415
+ saturated: z.ZodNumber;
416
+ evicted: z.ZodNumber;
417
+ interrupted: z.ZodNumber;
418
+ }, z.core.$strict>;
419
+ }, z.core.$strict>;
420
+ export type DiagnosticsRow = z.infer<typeof DiagnosticsRowSchema>;
421
+ export type DiagnosticsSnapshot = z.infer<typeof DiagnosticsSnapshotSchema>;
422
+ export type DiagnosticsView = z.infer<typeof DiagnosticsViewSchema>;
423
+ export type DiagnosticsOperation = typeof DIAGNOSTICS_OPERATIONS[number];
424
+ export type DiagnosticsStage = typeof DIAGNOSTICS_STAGES[number];
425
+ export type DiagnosticsMetric = typeof DIAGNOSTICS_METRICS[number];
426
+ export type DiagnosticsReason = typeof DIAGNOSTICS_REASONS[number];
427
+ export type DiagnosticsOutcome = Exclude<DiagnosticsMetric, 'started' | 'stage' | 'dropped' | 'paused' | 'expired' | 'clock-discontinuity' | 'pending-sample'>;
428
+ export declare function diagnosticsBucket(ms: number): number;
429
+ export declare function diagnosticsReason(error: unknown): DiagnosticsReason;
430
+ export declare function diagnosticsOutcome(reason: DiagnosticsReason): DiagnosticsOutcome;
431
+ //# sourceMappingURL=diagnostics-types.d.ts.map
@@ -1,6 +1,8 @@
1
1
  import type { Agent } from '@deepseek-ai/dsh-agent';
2
2
  import type { Context } from '@deepseek-ai/cordis';
3
3
  import BasicCompactionEngine from '@deepseek-ai/dsh-compaction-basic';
4
+ import type { BasicCompactionConfig } from '@deepseek-ai/dsh-compaction-basic';
5
+ import z from '@deepseek-ai/schemastery';
4
6
  import type { ContentBlock, Message, TokenUsage, ToolSchema } from '@deepseek-ai/dsh-llm';
5
7
  import type { CommandId } from '@deepseek-ai/dsh-commands/brand';
6
8
  import type { CompactionResult } from '@deepseek-ai/dsh-compaction';
@@ -34,7 +36,7 @@ interface RecoveryOptions<M extends RecoveryMessage, R extends RecoveryResult> {
34
36
  readonly assertCurrent?: () => void;
35
37
  }
36
38
  /**
37
- * Bounded, explicit manual-only map/fold. The native engine still owns the only
39
+ * Bounded map/fold. The native engine still owns the only
38
40
  * durable transaction, source-stability check, shrink check and cancellation.
39
41
  */
40
42
  export declare function summarizeOversizedManualInput<M extends RecoveryMessage, R extends RecoveryResult>(options: RecoveryOptions<M, R>): Promise<RecoveryResult>;
@@ -43,10 +45,23 @@ export declare function summarizeOversizedManualInput<M extends RecoveryMessage,
43
45
  * mount both: Cordis compaction is a singleton, not an overridable service.
44
46
  */
45
47
  export declare class CopilotManualRecoveryCompactionEngine extends BasicCompactionEngine {
48
+ static Config: z<BasicCompactionConfig & {
49
+ automaticRecovery?: boolean;
50
+ }>;
46
51
  private readonly manual;
47
- constructor(ctx: Context, config?: ConstructorParameters<typeof BasicCompactionEngine>[1]);
52
+ private readonly visibleHistory;
53
+ private readonly automaticRecovery;
54
+ constructor(ctx: Context, config?: BasicCompactionConfig & {
55
+ automaticRecovery?: boolean;
56
+ });
48
57
  compactNow(agent: Agent, signal: AbortSignal, sourceCommandId?: CommandId): Promise<CompactionResult | null>;
49
- protected summarize(input: RecoveryInput<Message>, agent: Agent, signal?: AbortSignal): Promise<RecoveryResult>;
58
+ protected summarize(input: RecoveryInput<Message>, agent: Agent, signal?: AbortSignal): Promise<RecoveryResult | {
59
+ summary: ContentBlock[];
60
+ provider: string;
61
+ model: string;
62
+ maxTokens?: number;
63
+ }>;
64
+ private summarizeManaged;
50
65
  }
51
66
  export default CopilotManualRecoveryCompactionEngine;
52
67
  //# sourceMappingURL=manual-compaction-recovery.d.ts.map
@@ -2,7 +2,7 @@ import type { Context as ClientContext } from '@deepseek-ai/cordis';
2
2
  import type { ReactElement } from 'react';
3
3
  import type { GitHubCopilotAuthorizationView } from './authorization-controller.ts';
4
4
  export declare function GitHubCopilotModelPreferencesPanel(props: {
5
- readonly remote: ClientContext['remote']['githubCopilot'];
5
+ readonly remote: Pick<ClientContext['remote']['githubCopilot'], 'status' | 'setModelExcluded' | 'setModelHighCost'>;
6
6
  readonly models: GitHubCopilotAuthorizationView['accountModels'];
7
7
  readonly preferences: GitHubCopilotAuthorizationView['modelPreferences'];
8
8
  }): ReactElement;
@@ -0,0 +1,10 @@
1
+ import type { CSSProperties } from 'react';
2
+ export declare const nativeSettingsStyle: CSSProperties;
3
+ export declare const nativeHeadingStyle: CSSProperties;
4
+ export declare const nativeCaptionStyle: CSSProperties;
5
+ export declare const nativeButtonStyle: CSSProperties;
6
+ export declare const nativeCompactButtonStyle: CSSProperties;
7
+ export declare const nativeInputStyle: CSSProperties;
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-size: 12px; line-height: 18px; 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
+ //# sourceMappingURL=native-settings-style.d.ts.map
@@ -1,4 +1,5 @@
1
1
  import type { Context } from '@deepseek-ai/cordis';
2
+ import type { ReactElement } from 'react';
2
3
  type Settings = Context['remote']['settings'];
3
4
  interface Snapshot {
4
5
  enabled: boolean;
@@ -26,16 +27,6 @@ export declare function saveParentFollowSettings(settings: Settings, saved: Snap
26
27
  next: number;
27
28
  };
28
29
  }>;
29
- export declare function ParentModelFollowCard({ settings, onSaved }: Props): import("react").DetailedReactHTMLElement<{
30
- 'data-dsh-parent-model-follow': boolean;
31
- 'aria-busy': boolean;
32
- style: {
33
- padding: string;
34
- marginTop: string;
35
- display: "grid";
36
- gap: string;
37
- minWidth: number;
38
- };
39
- }, HTMLElement>;
30
+ export declare function ParentModelFollowCard({ settings, onSaved }: Props): ReactElement;
40
31
  export {};
41
32
  //# sourceMappingURL=parent-model-follow-card.d.ts.map
@@ -35,6 +35,10 @@ export interface PreviewProviderGuard {
35
35
  }
36
36
  /** Guard for one selected model in an account-bound descriptor snapshot. */
37
37
  export interface AccountProviderGuard extends PreviewProviderGuard {
38
+ /** Explicit lossless HTTP encoding; default-off and independent of context admission. */
39
+ readonly responsesRequestCompression?: boolean;
40
+ /** Explicit compatibility override for all managed Responses requests. */
41
+ readonly responsesOmitTemperature?: boolean;
38
42
  /** Explicit, request-admitted recovery; absent by default. */
39
43
  recoverReplay?(payload: unknown): unknown;
40
44
  /** Only exact verified scope HTTP failures may offer recovery evidence. */