@agent-watch-ai/edge 0.3.1 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +75 -0
- package/README.md +10 -6
- package/SECURITY.md +7 -4
- package/dist/cli/constants/cli.constants.d.ts +2 -0
- package/dist/cli/constants/cli.constants.js +3 -1
- package/dist/cli/doctor.js +13 -2
- package/dist/cli/setup.js +138 -29
- package/dist/cli/toggle.js +5 -1
- package/dist/cli/types/cli.types.d.ts +6 -0
- package/dist/cli/uninstall.js +1 -1
- package/dist/cli.js +14 -3
- package/dist/config/config-store.d.ts +1 -1
- package/dist/config/config-store.js +2 -2
- package/dist/config/constants/config.constants.d.ts +4 -1
- package/dist/config/constants/config.constants.js +7 -2
- package/dist/config/repo-config.js +1 -1
- package/dist/config/schemas/config.schema.d.ts +113 -767
- package/dist/config/schemas/config.schema.js +17 -8
- package/dist/credentials/constants/credentials.constants.d.ts +8 -0
- package/dist/credentials/constants/credentials.constants.js +9 -1
- package/dist/credentials/credential-status.js +8 -4
- package/dist/credentials/credentials.d.ts +16 -2
- package/dist/credentials/credentials.js +30 -5
- package/dist/credentials/device-api.d.ts +10 -1
- package/dist/credentials/device-api.js +12 -1
- package/dist/credentials/identity.d.ts +12 -1
- package/dist/credentials/identity.js +12 -1
- package/dist/credentials/migration.d.ts +1 -1
- package/dist/credentials/migration.js +1 -1
- package/dist/credentials/schemas/device-api.schema.d.ts +4 -51
- package/dist/credentials/schemas/device-state.schema.d.ts +3 -38
- package/dist/credentials/sign-in.d.ts +14 -1
- package/dist/credentials/sign-in.js +24 -5
- package/dist/credentials/types/credentials.types.d.ts +12 -1
- package/dist/enforcement/decision-client.js +2 -1
- package/dist/enforcement/enforcement.js +7 -5
- package/dist/enforcement/types/enforcement.types.d.ts +2 -2
- package/dist/git/code-state.d.ts +33 -0
- package/dist/git/code-state.js +44 -0
- package/dist/git/constants/git.constants.d.ts +6 -0
- package/dist/git/constants/git.constants.js +6 -0
- package/dist/git/index.d.ts +2 -1
- package/dist/git/index.js +1 -0
- package/dist/git/types/git.types.d.ts +6 -0
- package/dist/pipeline/constants/pipeline.constants.d.ts +3 -0
- package/dist/pipeline/constants/pipeline.constants.js +3 -0
- package/dist/pipeline/hook-pipeline.js +56 -7
- package/dist/privacy/command-fingerprint.d.ts +42 -0
- package/dist/privacy/command-fingerprint.js +249 -0
- package/dist/privacy/constants/command-fingerprint.constants.d.ts +34 -0
- package/dist/privacy/constants/command-fingerprint.constants.js +38 -0
- package/dist/privacy/index.d.ts +3 -1
- package/dist/privacy/index.js +2 -0
- package/dist/privacy/product-capture.js +20 -0
- package/dist/privacy/types/privacy.types.d.ts +7 -0
- package/dist/providers/antigravity/antigravity.adapter.js +3 -0
- package/dist/providers/antigravity/schemas/antigravity.schema.d.ts +18 -492
- package/dist/providers/claude/claude.adapter.js +12 -1
- package/dist/providers/claude/constants/claude.constants.d.ts +6 -0
- package/dist/providers/claude/constants/claude.constants.js +6 -0
- package/dist/providers/claude/schemas/claude.schema.d.ts +1 -43
- package/dist/providers/codex/codex.adapter.js +14 -0
- package/dist/providers/codex/codex.otel.d.ts +12 -1
- package/dist/providers/codex/codex.otel.js +61 -11
- package/dist/providers/codex/constants/codex.otel.constants.d.ts +5 -0
- package/dist/providers/codex/constants/codex.otel.constants.js +5 -0
- package/dist/providers/codex/schemas/codex.schema.d.ts +1 -41
- package/dist/providers/constants/provider.constants.d.ts +8 -0
- package/dist/providers/constants/provider.constants.js +8 -0
- package/dist/providers/cursor/constants/cursor.constants.d.ts +2 -0
- package/dist/providers/cursor/constants/cursor.constants.js +2 -0
- package/dist/providers/cursor/cursor.adapter.js +84 -5
- package/dist/providers/cursor/schemas/cursor.schema.d.ts +5 -85
- package/dist/providers/gemini/constants/gemini.constants.d.ts +2 -0
- package/dist/providers/gemini/constants/gemini.constants.js +2 -0
- package/dist/providers/gemini/constants/gemini.otel.constants.d.ts +16 -1
- package/dist/providers/gemini/constants/gemini.otel.constants.js +16 -1
- package/dist/providers/gemini/gemini.detect.d.ts +11 -0
- package/dist/providers/gemini/gemini.detect.js +14 -1
- package/dist/providers/gemini/gemini.hooks.d.ts +3 -3
- package/dist/providers/gemini/gemini.hooks.js +5 -5
- package/dist/providers/gemini/gemini.otel.d.ts +14 -4
- package/dist/providers/gemini/gemini.otel.js +418 -107
- package/dist/providers/gemini/schemas/gemini.schema.d.ts +1 -49
- package/dist/providers/shared/bearer-rewrite.d.ts +19 -0
- package/dist/providers/shared/bearer-rewrite.js +46 -0
- package/dist/providers/shared/constants/tooling.constants.d.ts +6 -0
- package/dist/providers/shared/constants/tooling.constants.js +6 -0
- package/dist/providers/shared/event-builder.d.ts +17 -2
- package/dist/providers/shared/event-builder.js +43 -3
- package/dist/providers/shared/install-record.d.ts +2 -0
- package/dist/providers/shared/install-record.js +3 -2
- package/dist/providers/shared/tooling.d.ts +35 -0
- package/dist/providers/shared/tooling.js +61 -1
- package/dist/providers/shared/types/adapter.types.d.ts +18 -0
- package/dist/providers/types/provider.types.d.ts +24 -0
- package/dist/storage/atomic-file.d.ts +14 -0
- package/dist/storage/atomic-file.js +19 -0
- package/dist/storage/constants/storage.constants.d.ts +2 -0
- package/dist/storage/constants/storage.constants.js +2 -0
- package/dist/storage/schemas/storage.schema.d.ts +11 -175
- package/dist/storage/schemas/storage.schema.js +7 -1
- package/dist/transport/schemas/queue.schema.d.ts +1 -16
- package/dist/transport/schemas/queue.schema.js +1 -1
- package/dist/turns/constants/turns.constants.d.ts +17 -0
- package/dist/turns/constants/turns.constants.js +17 -0
- package/dist/turns/index.d.ts +3 -2
- package/dist/turns/index.js +1 -0
- package/dist/turns/tool-events.d.ts +15 -0
- package/dist/turns/tool-events.js +59 -0
- package/dist/turns/turn-state.js +2 -2
- package/dist/turns/turn-summary.d.ts +1 -1
- package/dist/turns/turn-summary.js +1 -0
- package/dist/turns/turn-tracker.js +138 -7
- package/dist/turns/types/turn-state.types.d.ts +28 -1
- package/dist/turns/types/turn-summary.types.d.ts +30 -0
- package/dist/turns/types/turn-tracker.types.d.ts +10 -0
- package/dist/turns/work-checkout.d.ts +5 -3
- package/dist/turns/work-checkout.js +46 -12
- package/docs/AUDIT_PROMPT.md +11 -0
- package/docs/DATA_HANDLING.md +69 -14
- package/docs/ENTERPRISE_DEPLOYMENT.md +21 -5
- package/package.json +9 -8
|
@@ -29,47 +29,19 @@ export declare const captureSchema: z.ZodObject<{
|
|
|
29
29
|
promptText: z.ZodDefault<z.ZodBoolean>;
|
|
30
30
|
toolInput: z.ZodDefault<z.ZodBoolean>;
|
|
31
31
|
toolOutput: z.ZodDefault<z.ZodBoolean>;
|
|
32
|
-
/** The provider's native session name/title, scrubbed and bounded. A generated title can paraphrase the first prompt; the edge never derives one from the prompt. */
|
|
33
32
|
sessionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
34
33
|
git: z.ZodDefault<z.ZodBoolean>;
|
|
35
34
|
files: z.ZodDefault<z.ZodBoolean>;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
toolInput: boolean;
|
|
39
|
-
toolOutput: boolean;
|
|
40
|
-
sessionTitle: boolean;
|
|
41
|
-
git: boolean;
|
|
42
|
-
files: boolean;
|
|
43
|
-
}, {
|
|
44
|
-
promptText?: boolean | undefined;
|
|
45
|
-
toolInput?: boolean | undefined;
|
|
46
|
-
toolOutput?: boolean | undefined;
|
|
47
|
-
sessionTitle?: boolean | undefined;
|
|
48
|
-
git?: boolean | undefined;
|
|
49
|
-
files?: boolean | undefined;
|
|
50
|
-
}>;
|
|
35
|
+
mcpNames: z.ZodDefault<z.ZodBoolean>;
|
|
36
|
+
}, z.core.$strip>;
|
|
51
37
|
/** Tuning for the in-hook send and the machine-global offline queue. */
|
|
52
38
|
export declare const deliverySchema: z.ZodObject<{
|
|
53
|
-
/** Shared network budget for direct send and backlog retries in one delivery pass. */
|
|
54
39
|
timeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
55
|
-
/** How many queued events one drain pass may send. */
|
|
56
40
|
drainBatchSize: z.ZodDefault<z.ZodNumber>;
|
|
57
41
|
maxQueueEvents: z.ZodDefault<z.ZodNumber>;
|
|
58
42
|
maxAttempts: z.ZodDefault<z.ZodNumber>;
|
|
59
43
|
maxEventAgeDays: z.ZodDefault<z.ZodNumber>;
|
|
60
|
-
},
|
|
61
|
-
timeoutMs: number;
|
|
62
|
-
drainBatchSize: number;
|
|
63
|
-
maxQueueEvents: number;
|
|
64
|
-
maxAttempts: number;
|
|
65
|
-
maxEventAgeDays: number;
|
|
66
|
-
}, {
|
|
67
|
-
timeoutMs?: number | undefined;
|
|
68
|
-
drainBatchSize?: number | undefined;
|
|
69
|
-
maxQueueEvents?: number | undefined;
|
|
70
|
-
maxAttempts?: number | undefined;
|
|
71
|
-
maxEventAgeDays?: number | undefined;
|
|
72
|
-
}>;
|
|
44
|
+
}, z.core.$strip>;
|
|
73
45
|
/**
|
|
74
46
|
* Which native OTLP signals agents export straight to the backend. Logs are
|
|
75
47
|
* the per-request usage/cost ledger the backend turns into llm.call — the
|
|
@@ -80,15 +52,7 @@ export declare const otelSchema: z.ZodObject<{
|
|
|
80
52
|
logs: z.ZodDefault<z.ZodBoolean>;
|
|
81
53
|
traces: z.ZodDefault<z.ZodBoolean>;
|
|
82
54
|
metrics: z.ZodDefault<z.ZodBoolean>;
|
|
83
|
-
},
|
|
84
|
-
logs: boolean;
|
|
85
|
-
traces: boolean;
|
|
86
|
-
metrics: boolean;
|
|
87
|
-
}, {
|
|
88
|
-
logs?: boolean | undefined;
|
|
89
|
-
traces?: boolean | undefined;
|
|
90
|
-
metrics?: boolean | undefined;
|
|
91
|
-
}>;
|
|
55
|
+
}, z.core.$strip>;
|
|
92
56
|
/**
|
|
93
57
|
* The pre-turn budget check.
|
|
94
58
|
*
|
|
@@ -100,36 +64,14 @@ export declare const otelSchema: z.ZodObject<{
|
|
|
100
64
|
*/
|
|
101
65
|
export declare const enforcementSchema: z.ZodObject<{
|
|
102
66
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
103
|
-
/** Hard ceiling for the check; it sits between enter and the agent's first call. */
|
|
104
67
|
timeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
105
|
-
/** Mirrors the platform's own cache TTL for the same decision. */
|
|
106
68
|
cacheTtlMs: z.ZodDefault<z.ZodNumber>;
|
|
107
|
-
},
|
|
108
|
-
timeoutMs: number;
|
|
109
|
-
enabled: boolean;
|
|
110
|
-
cacheTtlMs: number;
|
|
111
|
-
}, {
|
|
112
|
-
timeoutMs?: number | undefined;
|
|
113
|
-
enabled?: boolean | undefined;
|
|
114
|
-
cacheTtlMs?: number | undefined;
|
|
115
|
-
}>;
|
|
69
|
+
}, z.core.$strip>;
|
|
116
70
|
/** Which records the edge itself emits. */
|
|
117
71
|
export declare const emitSchema: z.ZodObject<{
|
|
118
|
-
/** One flat summary per prompt→response turn, emitted on Stop. */
|
|
119
72
|
turnSummaries: z.ZodDefault<z.ZodBoolean>;
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
* Accept a legacy `false` on input, but migrate that field to `true`
|
|
123
|
-
* instead of invalidating the entire global config.
|
|
124
|
-
*/
|
|
125
|
-
llmCalls: z.ZodEffects<z.ZodDefault<z.ZodBoolean>, true, boolean | undefined>;
|
|
126
|
-
}, "strip", z.ZodTypeAny, {
|
|
127
|
-
llmCalls: true;
|
|
128
|
-
turnSummaries: boolean;
|
|
129
|
-
}, {
|
|
130
|
-
llmCalls?: boolean | undefined;
|
|
131
|
-
turnSummaries?: boolean | undefined;
|
|
132
|
-
}>;
|
|
73
|
+
llmCalls: z.ZodPipe<z.ZodDefault<z.ZodBoolean>, z.ZodTransform<true, boolean>>;
|
|
74
|
+
}, z.core.$strip>;
|
|
133
75
|
/**
|
|
134
76
|
* Whether the edge may send a bearer and records to this URL. See `judgeUrl`.
|
|
135
77
|
*
|
|
@@ -214,80 +156,44 @@ export declare const rootOverrideSchema: z.ZodObject<{
|
|
|
214
156
|
token: z.ZodOptional<z.ZodString>;
|
|
215
157
|
device: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
216
158
|
id: z.ZodString;
|
|
217
|
-
store: z.ZodEnum<
|
|
159
|
+
store: z.ZodEnum<{
|
|
160
|
+
"macos-keychain": "macos-keychain";
|
|
161
|
+
libsecret: "libsecret";
|
|
162
|
+
"windows-dpapi": "windows-dpapi";
|
|
163
|
+
file: "file";
|
|
164
|
+
}>;
|
|
218
165
|
endpoint: z.ZodCatch<z.ZodOptional<z.ZodString>>;
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
endpoint?: string | undefined;
|
|
223
|
-
}, {
|
|
224
|
-
id: string;
|
|
225
|
-
store: "macos-keychain" | "libsecret" | "windows-dpapi" | "file";
|
|
226
|
-
endpoint?: unknown;
|
|
227
|
-
}>>>;
|
|
166
|
+
source: z.ZodCatch<z.ZodOptional<z.ZodLiteral<"batch-code">>>;
|
|
167
|
+
codeId: z.ZodCatch<z.ZodOptional<z.ZodString>>;
|
|
168
|
+
}, z.core.$strip>>>;
|
|
228
169
|
installationId: z.ZodOptional<z.ZodString>;
|
|
229
170
|
developerEmail: z.ZodOptional<z.ZodString>;
|
|
230
171
|
developerName: z.ZodOptional<z.ZodString>;
|
|
231
|
-
},
|
|
232
|
-
endpoint?: string | null | undefined;
|
|
233
|
-
token?: string | undefined;
|
|
234
|
-
eventsUrl?: string | null | undefined;
|
|
235
|
-
otlpUrl?: string | null | undefined;
|
|
236
|
-
device?: {
|
|
237
|
-
id: string;
|
|
238
|
-
store: "macos-keychain" | "libsecret" | "windows-dpapi" | "file";
|
|
239
|
-
endpoint?: string | undefined;
|
|
240
|
-
} | undefined;
|
|
241
|
-
installationId?: string | undefined;
|
|
242
|
-
developerEmail?: string | undefined;
|
|
243
|
-
developerName?: string | undefined;
|
|
244
|
-
}, {
|
|
245
|
-
endpoint?: unknown;
|
|
246
|
-
token?: string | undefined;
|
|
247
|
-
eventsUrl?: unknown;
|
|
248
|
-
otlpUrl?: unknown;
|
|
249
|
-
device?: unknown;
|
|
250
|
-
installationId?: string | undefined;
|
|
251
|
-
developerEmail?: string | undefined;
|
|
252
|
-
developerName?: string | undefined;
|
|
253
|
-
}>;
|
|
172
|
+
}, z.core.$strip>;
|
|
254
173
|
/** The whole configuration file. Passthrough: forward compatibility. */
|
|
255
|
-
export declare const configSchema: z.
|
|
174
|
+
export declare const configSchema: z.ZodPipe<z.ZodObject<{
|
|
256
175
|
schemaVersion: z.ZodDefault<z.ZodLiteral<1>>;
|
|
257
|
-
/** Backend base URL, e.g. https://backend.example.com */
|
|
258
176
|
endpoint: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
259
|
-
/** Overrides; derived from endpoint when absent. */
|
|
260
177
|
eventsUrl: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
261
178
|
otlpUrl: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
262
179
|
enforcementUrl: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
263
|
-
/** The install key, until it is exchanged for `device` (AWT-356). */
|
|
264
180
|
token: z.ZodOptional<z.ZodString>;
|
|
265
181
|
device: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
266
182
|
id: z.ZodString;
|
|
267
|
-
store: z.ZodEnum<
|
|
183
|
+
store: z.ZodEnum<{
|
|
184
|
+
"macos-keychain": "macos-keychain";
|
|
185
|
+
libsecret: "libsecret";
|
|
186
|
+
"windows-dpapi": "windows-dpapi";
|
|
187
|
+
file: "file";
|
|
188
|
+
}>;
|
|
268
189
|
endpoint: z.ZodCatch<z.ZodOptional<z.ZodString>>;
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
}, {
|
|
274
|
-
id: string;
|
|
275
|
-
store: "macos-keychain" | "libsecret" | "windows-dpapi" | "file";
|
|
276
|
-
endpoint?: unknown;
|
|
277
|
-
}>>>;
|
|
190
|
+
source: z.ZodCatch<z.ZodOptional<z.ZodLiteral<"batch-code">>>;
|
|
191
|
+
codeId: z.ZodCatch<z.ZodOptional<z.ZodString>>;
|
|
192
|
+
}, z.core.$strip>>>;
|
|
193
|
+
organizationId: z.ZodOptional<z.ZodString>;
|
|
278
194
|
installationId: z.ZodOptional<z.ZodString>;
|
|
279
|
-
/** Developer identity attached to turn summaries; falls back to `git config user.email`. */
|
|
280
195
|
developerEmail: z.ZodOptional<z.ZodString>;
|
|
281
|
-
/**
|
|
282
|
-
* What to call this developer in the platform's views; falls back to
|
|
283
|
-
* `git config user.name`. Never an identity: nothing is keyed on it, and a
|
|
284
|
-
* turn is still reported under `developerEmail`.
|
|
285
|
-
*/
|
|
286
196
|
developerName: z.ZodOptional<z.ZodString>;
|
|
287
|
-
/**
|
|
288
|
-
* Absolute project root -> the identity to use beneath it. Longest match
|
|
289
|
-
* wins, so a nested checkout can override the workspace above it.
|
|
290
|
-
*/
|
|
291
197
|
roots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
292
198
|
endpoint: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
293
199
|
eventsUrl: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -295,510 +201,131 @@ export declare const configSchema: z.ZodEffects<z.ZodObject<{
|
|
|
295
201
|
token: z.ZodOptional<z.ZodString>;
|
|
296
202
|
device: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
297
203
|
id: z.ZodString;
|
|
298
|
-
store: z.ZodEnum<
|
|
204
|
+
store: z.ZodEnum<{
|
|
205
|
+
"macos-keychain": "macos-keychain";
|
|
206
|
+
libsecret: "libsecret";
|
|
207
|
+
"windows-dpapi": "windows-dpapi";
|
|
208
|
+
file: "file";
|
|
209
|
+
}>;
|
|
299
210
|
endpoint: z.ZodCatch<z.ZodOptional<z.ZodString>>;
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
endpoint?: string | undefined;
|
|
304
|
-
}, {
|
|
305
|
-
id: string;
|
|
306
|
-
store: "macos-keychain" | "libsecret" | "windows-dpapi" | "file";
|
|
307
|
-
endpoint?: unknown;
|
|
308
|
-
}>>>;
|
|
211
|
+
source: z.ZodCatch<z.ZodOptional<z.ZodLiteral<"batch-code">>>;
|
|
212
|
+
codeId: z.ZodCatch<z.ZodOptional<z.ZodString>>;
|
|
213
|
+
}, z.core.$strip>>>;
|
|
309
214
|
installationId: z.ZodOptional<z.ZodString>;
|
|
310
215
|
developerEmail: z.ZodOptional<z.ZodString>;
|
|
311
216
|
developerName: z.ZodOptional<z.ZodString>;
|
|
312
|
-
},
|
|
313
|
-
endpoint?: string | null | undefined;
|
|
314
|
-
token?: string | undefined;
|
|
315
|
-
eventsUrl?: string | null | undefined;
|
|
316
|
-
otlpUrl?: string | null | undefined;
|
|
317
|
-
device?: {
|
|
318
|
-
id: string;
|
|
319
|
-
store: "macos-keychain" | "libsecret" | "windows-dpapi" | "file";
|
|
320
|
-
endpoint?: string | undefined;
|
|
321
|
-
} | undefined;
|
|
322
|
-
installationId?: string | undefined;
|
|
323
|
-
developerEmail?: string | undefined;
|
|
324
|
-
developerName?: string | undefined;
|
|
325
|
-
}, {
|
|
326
|
-
endpoint?: unknown;
|
|
327
|
-
token?: string | undefined;
|
|
328
|
-
eventsUrl?: unknown;
|
|
329
|
-
otlpUrl?: unknown;
|
|
330
|
-
device?: unknown;
|
|
331
|
-
installationId?: string | undefined;
|
|
332
|
-
developerEmail?: string | undefined;
|
|
333
|
-
developerName?: string | undefined;
|
|
334
|
-
}>>>;
|
|
217
|
+
}, z.core.$strip>>>;
|
|
335
218
|
contentCaptureConsent: z.ZodDefault<z.ZodBoolean>;
|
|
336
|
-
|
|
337
|
-
* Origins this machine sends to outside the Agent Watch hosts. Written by
|
|
338
|
-
* `setup --allow-custom-endpoint` (exactly the origin that run named) or
|
|
339
|
-
* grandfathered from a file older than the allowlist; shown by `status` and
|
|
340
|
-
* `doctor`. A malformed value reads as no trust without failing the file.
|
|
341
|
-
*/
|
|
342
|
-
customEndpoints: z.ZodDefault<z.ZodCatch<z.ZodArray<z.ZodString, "many">>>;
|
|
343
|
-
/** Present on a file written after the allowlist; see `ALLOWLIST_VERSION_KEY`. */
|
|
219
|
+
customEndpoints: z.ZodDefault<z.ZodCatch<z.ZodArray<z.ZodString>>>;
|
|
344
220
|
allowlistVersion: z.ZodOptional<z.ZodNumber>;
|
|
345
|
-
/** Tell the developer, once per repository per session, that a run called an LLM with no tracing (AWT-310). */
|
|
346
221
|
untracedNotices: z.ZodDefault<z.ZodBoolean>;
|
|
347
|
-
/** At session start, say when npm has a newer release; checked at most once a day, in the background. */
|
|
348
222
|
updateNotices: z.ZodDefault<z.ZodBoolean>;
|
|
349
|
-
capture: z.
|
|
223
|
+
capture: z.ZodPrefault<z.ZodObject<{
|
|
350
224
|
promptText: z.ZodDefault<z.ZodBoolean>;
|
|
351
225
|
toolInput: z.ZodDefault<z.ZodBoolean>;
|
|
352
226
|
toolOutput: z.ZodDefault<z.ZodBoolean>;
|
|
353
|
-
/** The provider's native session name/title, scrubbed and bounded. A generated title can paraphrase the first prompt; the edge never derives one from the prompt. */
|
|
354
227
|
sessionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
355
228
|
git: z.ZodDefault<z.ZodBoolean>;
|
|
356
229
|
files: z.ZodDefault<z.ZodBoolean>;
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
toolOutput: boolean;
|
|
361
|
-
sessionTitle: boolean;
|
|
362
|
-
git: boolean;
|
|
363
|
-
files: boolean;
|
|
364
|
-
}, {
|
|
365
|
-
promptText?: boolean | undefined;
|
|
366
|
-
toolInput?: boolean | undefined;
|
|
367
|
-
toolOutput?: boolean | undefined;
|
|
368
|
-
sessionTitle?: boolean | undefined;
|
|
369
|
-
git?: boolean | undefined;
|
|
370
|
-
files?: boolean | undefined;
|
|
371
|
-
}>>;
|
|
372
|
-
emit: z.ZodDefault<z.ZodObject<{
|
|
373
|
-
/** One flat summary per prompt→response turn, emitted on Stop. */
|
|
230
|
+
mcpNames: z.ZodDefault<z.ZodBoolean>;
|
|
231
|
+
}, z.core.$strip>>;
|
|
232
|
+
emit: z.ZodPrefault<z.ZodObject<{
|
|
374
233
|
turnSummaries: z.ZodDefault<z.ZodBoolean>;
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
* instead of invalidating the entire global config.
|
|
379
|
-
*/
|
|
380
|
-
llmCalls: z.ZodEffects<z.ZodDefault<z.ZodBoolean>, true, boolean | undefined>;
|
|
381
|
-
}, "strip", z.ZodTypeAny, {
|
|
382
|
-
llmCalls: true;
|
|
383
|
-
turnSummaries: boolean;
|
|
384
|
-
}, {
|
|
385
|
-
llmCalls?: boolean | undefined;
|
|
386
|
-
turnSummaries?: boolean | undefined;
|
|
387
|
-
}>>;
|
|
388
|
-
otel: z.ZodDefault<z.ZodObject<{
|
|
234
|
+
llmCalls: z.ZodPipe<z.ZodDefault<z.ZodBoolean>, z.ZodTransform<true, boolean>>;
|
|
235
|
+
}, z.core.$strip>>;
|
|
236
|
+
otel: z.ZodPrefault<z.ZodObject<{
|
|
389
237
|
logs: z.ZodDefault<z.ZodBoolean>;
|
|
390
238
|
traces: z.ZodDefault<z.ZodBoolean>;
|
|
391
239
|
metrics: z.ZodDefault<z.ZodBoolean>;
|
|
392
|
-
},
|
|
393
|
-
|
|
394
|
-
traces: boolean;
|
|
395
|
-
metrics: boolean;
|
|
396
|
-
}, {
|
|
397
|
-
logs?: boolean | undefined;
|
|
398
|
-
traces?: boolean | undefined;
|
|
399
|
-
metrics?: boolean | undefined;
|
|
400
|
-
}>>;
|
|
401
|
-
delivery: z.ZodDefault<z.ZodObject<{
|
|
402
|
-
/** Shared network budget for direct send and backlog retries in one delivery pass. */
|
|
240
|
+
}, z.core.$strip>>;
|
|
241
|
+
delivery: z.ZodPrefault<z.ZodObject<{
|
|
403
242
|
timeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
404
|
-
/** How many queued events one drain pass may send. */
|
|
405
243
|
drainBatchSize: z.ZodDefault<z.ZodNumber>;
|
|
406
244
|
maxQueueEvents: z.ZodDefault<z.ZodNumber>;
|
|
407
245
|
maxAttempts: z.ZodDefault<z.ZodNumber>;
|
|
408
246
|
maxEventAgeDays: z.ZodDefault<z.ZodNumber>;
|
|
409
|
-
},
|
|
410
|
-
|
|
411
|
-
drainBatchSize: number;
|
|
412
|
-
maxQueueEvents: number;
|
|
413
|
-
maxAttempts: number;
|
|
414
|
-
maxEventAgeDays: number;
|
|
415
|
-
}, {
|
|
416
|
-
timeoutMs?: number | undefined;
|
|
417
|
-
drainBatchSize?: number | undefined;
|
|
418
|
-
maxQueueEvents?: number | undefined;
|
|
419
|
-
maxAttempts?: number | undefined;
|
|
420
|
-
maxEventAgeDays?: number | undefined;
|
|
421
|
-
}>>;
|
|
422
|
-
enforcement: z.ZodDefault<z.ZodObject<{
|
|
247
|
+
}, z.core.$strip>>;
|
|
248
|
+
enforcement: z.ZodPrefault<z.ZodObject<{
|
|
423
249
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
424
|
-
/** Hard ceiling for the check; it sits between enter and the agent's first call. */
|
|
425
250
|
timeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
426
|
-
/** Mirrors the platform's own cache TTL for the same decision. */
|
|
427
251
|
cacheTtlMs: z.ZodDefault<z.ZodNumber>;
|
|
428
|
-
},
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
cacheTtlMs: number;
|
|
432
|
-
}, {
|
|
433
|
-
timeoutMs?: number | undefined;
|
|
434
|
-
enabled?: boolean | undefined;
|
|
435
|
-
cacheTtlMs?: number | undefined;
|
|
436
|
-
}>>;
|
|
437
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
438
|
-
schemaVersion: z.ZodDefault<z.ZodLiteral<1>>;
|
|
439
|
-
/** Backend base URL, e.g. https://backend.example.com */
|
|
440
|
-
endpoint: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
441
|
-
/** Overrides; derived from endpoint when absent. */
|
|
442
|
-
eventsUrl: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
443
|
-
otlpUrl: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
444
|
-
enforcementUrl: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
445
|
-
/** The install key, until it is exchanged for `device` (AWT-356). */
|
|
446
|
-
token: z.ZodOptional<z.ZodString>;
|
|
447
|
-
device: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
448
|
-
id: z.ZodString;
|
|
449
|
-
store: z.ZodEnum<["macos-keychain", "libsecret", "windows-dpapi", "file"]>;
|
|
450
|
-
endpoint: z.ZodCatch<z.ZodOptional<z.ZodString>>;
|
|
451
|
-
}, "strip", z.ZodTypeAny, {
|
|
452
|
-
id: string;
|
|
453
|
-
store: "macos-keychain" | "libsecret" | "windows-dpapi" | "file";
|
|
454
|
-
endpoint?: string | undefined;
|
|
455
|
-
}, {
|
|
456
|
-
id: string;
|
|
457
|
-
store: "macos-keychain" | "libsecret" | "windows-dpapi" | "file";
|
|
458
|
-
endpoint?: unknown;
|
|
459
|
-
}>>>;
|
|
460
|
-
installationId: z.ZodOptional<z.ZodString>;
|
|
461
|
-
/** Developer identity attached to turn summaries; falls back to `git config user.email`. */
|
|
462
|
-
developerEmail: z.ZodOptional<z.ZodString>;
|
|
463
|
-
/**
|
|
464
|
-
* What to call this developer in the platform's views; falls back to
|
|
465
|
-
* `git config user.name`. Never an identity: nothing is keyed on it, and a
|
|
466
|
-
* turn is still reported under `developerEmail`.
|
|
467
|
-
*/
|
|
468
|
-
developerName: z.ZodOptional<z.ZodString>;
|
|
469
|
-
/**
|
|
470
|
-
* Absolute project root -> the identity to use beneath it. Longest match
|
|
471
|
-
* wins, so a nested checkout can override the workspace above it.
|
|
472
|
-
*/
|
|
473
|
-
roots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
474
|
-
endpoint: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
475
|
-
eventsUrl: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
476
|
-
otlpUrl: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
477
|
-
token: z.ZodOptional<z.ZodString>;
|
|
478
|
-
device: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
479
|
-
id: z.ZodString;
|
|
480
|
-
store: z.ZodEnum<["macos-keychain", "libsecret", "windows-dpapi", "file"]>;
|
|
481
|
-
endpoint: z.ZodCatch<z.ZodOptional<z.ZodString>>;
|
|
482
|
-
}, "strip", z.ZodTypeAny, {
|
|
483
|
-
id: string;
|
|
484
|
-
store: "macos-keychain" | "libsecret" | "windows-dpapi" | "file";
|
|
485
|
-
endpoint?: string | undefined;
|
|
486
|
-
}, {
|
|
487
|
-
id: string;
|
|
488
|
-
store: "macos-keychain" | "libsecret" | "windows-dpapi" | "file";
|
|
489
|
-
endpoint?: unknown;
|
|
490
|
-
}>>>;
|
|
491
|
-
installationId: z.ZodOptional<z.ZodString>;
|
|
492
|
-
developerEmail: z.ZodOptional<z.ZodString>;
|
|
493
|
-
developerName: z.ZodOptional<z.ZodString>;
|
|
494
|
-
}, "strip", z.ZodTypeAny, {
|
|
495
|
-
endpoint?: string | null | undefined;
|
|
496
|
-
token?: string | undefined;
|
|
497
|
-
eventsUrl?: string | null | undefined;
|
|
498
|
-
otlpUrl?: string | null | undefined;
|
|
499
|
-
device?: {
|
|
500
|
-
id: string;
|
|
501
|
-
store: "macos-keychain" | "libsecret" | "windows-dpapi" | "file";
|
|
502
|
-
endpoint?: string | undefined;
|
|
503
|
-
} | undefined;
|
|
504
|
-
installationId?: string | undefined;
|
|
505
|
-
developerEmail?: string | undefined;
|
|
506
|
-
developerName?: string | undefined;
|
|
507
|
-
}, {
|
|
508
|
-
endpoint?: unknown;
|
|
509
|
-
token?: string | undefined;
|
|
510
|
-
eventsUrl?: unknown;
|
|
511
|
-
otlpUrl?: unknown;
|
|
512
|
-
device?: unknown;
|
|
513
|
-
installationId?: string | undefined;
|
|
514
|
-
developerEmail?: string | undefined;
|
|
515
|
-
developerName?: string | undefined;
|
|
516
|
-
}>>>;
|
|
517
|
-
contentCaptureConsent: z.ZodDefault<z.ZodBoolean>;
|
|
518
|
-
/**
|
|
519
|
-
* Origins this machine sends to outside the Agent Watch hosts. Written by
|
|
520
|
-
* `setup --allow-custom-endpoint` (exactly the origin that run named) or
|
|
521
|
-
* grandfathered from a file older than the allowlist; shown by `status` and
|
|
522
|
-
* `doctor`. A malformed value reads as no trust without failing the file.
|
|
523
|
-
*/
|
|
524
|
-
customEndpoints: z.ZodDefault<z.ZodCatch<z.ZodArray<z.ZodString, "many">>>;
|
|
525
|
-
/** Present on a file written after the allowlist; see `ALLOWLIST_VERSION_KEY`. */
|
|
526
|
-
allowlistVersion: z.ZodOptional<z.ZodNumber>;
|
|
527
|
-
/** Tell the developer, once per repository per session, that a run called an LLM with no tracing (AWT-310). */
|
|
528
|
-
untracedNotices: z.ZodDefault<z.ZodBoolean>;
|
|
529
|
-
/** At session start, say when npm has a newer release; checked at most once a day, in the background. */
|
|
530
|
-
updateNotices: z.ZodDefault<z.ZodBoolean>;
|
|
531
|
-
capture: z.ZodDefault<z.ZodObject<{
|
|
532
|
-
promptText: z.ZodDefault<z.ZodBoolean>;
|
|
533
|
-
toolInput: z.ZodDefault<z.ZodBoolean>;
|
|
534
|
-
toolOutput: z.ZodDefault<z.ZodBoolean>;
|
|
535
|
-
/** The provider's native session name/title, scrubbed and bounded. A generated title can paraphrase the first prompt; the edge never derives one from the prompt. */
|
|
536
|
-
sessionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
537
|
-
git: z.ZodDefault<z.ZodBoolean>;
|
|
538
|
-
files: z.ZodDefault<z.ZodBoolean>;
|
|
539
|
-
}, "strip", z.ZodTypeAny, {
|
|
252
|
+
}, z.core.$strip>>;
|
|
253
|
+
}, z.core.$loose>, z.ZodTransform<{
|
|
254
|
+
capture: {
|
|
540
255
|
promptText: boolean;
|
|
541
256
|
toolInput: boolean;
|
|
542
257
|
toolOutput: boolean;
|
|
543
258
|
sessionTitle: boolean;
|
|
544
259
|
git: boolean;
|
|
545
260
|
files: boolean;
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
emit: z.ZodDefault<z.ZodObject<{
|
|
555
|
-
/** One flat summary per prompt→response turn, emitted on Stop. */
|
|
556
|
-
turnSummaries: z.ZodDefault<z.ZodBoolean>;
|
|
557
|
-
/**
|
|
558
|
-
* Every provider request is mandatory: it is the lossless usage ledger.
|
|
559
|
-
* Accept a legacy `false` on input, but migrate that field to `true`
|
|
560
|
-
* instead of invalidating the entire global config.
|
|
561
|
-
*/
|
|
562
|
-
llmCalls: z.ZodEffects<z.ZodDefault<z.ZodBoolean>, true, boolean | undefined>;
|
|
563
|
-
}, "strip", z.ZodTypeAny, {
|
|
564
|
-
llmCalls: true;
|
|
261
|
+
mcpNames: boolean;
|
|
262
|
+
};
|
|
263
|
+
schemaVersion: 1;
|
|
264
|
+
contentCaptureConsent: boolean;
|
|
265
|
+
customEndpoints: string[];
|
|
266
|
+
untracedNotices: boolean;
|
|
267
|
+
updateNotices: boolean;
|
|
268
|
+
emit: {
|
|
565
269
|
turnSummaries: boolean;
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
}>>;
|
|
570
|
-
otel: z.ZodDefault<z.ZodObject<{
|
|
571
|
-
logs: z.ZodDefault<z.ZodBoolean>;
|
|
572
|
-
traces: z.ZodDefault<z.ZodBoolean>;
|
|
573
|
-
metrics: z.ZodDefault<z.ZodBoolean>;
|
|
574
|
-
}, "strip", z.ZodTypeAny, {
|
|
270
|
+
llmCalls: true;
|
|
271
|
+
};
|
|
272
|
+
otel: {
|
|
575
273
|
logs: boolean;
|
|
576
274
|
traces: boolean;
|
|
577
275
|
metrics: boolean;
|
|
578
|
-
}
|
|
579
|
-
|
|
580
|
-
traces?: boolean | undefined;
|
|
581
|
-
metrics?: boolean | undefined;
|
|
582
|
-
}>>;
|
|
583
|
-
delivery: z.ZodDefault<z.ZodObject<{
|
|
584
|
-
/** Shared network budget for direct send and backlog retries in one delivery pass. */
|
|
585
|
-
timeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
586
|
-
/** How many queued events one drain pass may send. */
|
|
587
|
-
drainBatchSize: z.ZodDefault<z.ZodNumber>;
|
|
588
|
-
maxQueueEvents: z.ZodDefault<z.ZodNumber>;
|
|
589
|
-
maxAttempts: z.ZodDefault<z.ZodNumber>;
|
|
590
|
-
maxEventAgeDays: z.ZodDefault<z.ZodNumber>;
|
|
591
|
-
}, "strip", z.ZodTypeAny, {
|
|
276
|
+
};
|
|
277
|
+
delivery: {
|
|
592
278
|
timeoutMs: number;
|
|
593
279
|
drainBatchSize: number;
|
|
594
280
|
maxQueueEvents: number;
|
|
595
281
|
maxAttempts: number;
|
|
596
282
|
maxEventAgeDays: number;
|
|
597
|
-
}
|
|
598
|
-
|
|
599
|
-
drainBatchSize?: number | undefined;
|
|
600
|
-
maxQueueEvents?: number | undefined;
|
|
601
|
-
maxAttempts?: number | undefined;
|
|
602
|
-
maxEventAgeDays?: number | undefined;
|
|
603
|
-
}>>;
|
|
604
|
-
enforcement: z.ZodDefault<z.ZodObject<{
|
|
605
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
606
|
-
/** Hard ceiling for the check; it sits between enter and the agent's first call. */
|
|
607
|
-
timeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
608
|
-
/** Mirrors the platform's own cache TTL for the same decision. */
|
|
609
|
-
cacheTtlMs: z.ZodDefault<z.ZodNumber>;
|
|
610
|
-
}, "strip", z.ZodTypeAny, {
|
|
611
|
-
timeoutMs: number;
|
|
283
|
+
};
|
|
284
|
+
enforcement: {
|
|
612
285
|
enabled: boolean;
|
|
286
|
+
timeoutMs: number;
|
|
613
287
|
cacheTtlMs: number;
|
|
614
|
-
}
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
/** Backend base URL, e.g. https://backend.example.com */
|
|
622
|
-
endpoint: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
623
|
-
/** Overrides; derived from endpoint when absent. */
|
|
624
|
-
eventsUrl: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
625
|
-
otlpUrl: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
626
|
-
enforcementUrl: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
627
|
-
/** The install key, until it is exchanged for `device` (AWT-356). */
|
|
628
|
-
token: z.ZodOptional<z.ZodString>;
|
|
629
|
-
device: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
630
|
-
id: z.ZodString;
|
|
631
|
-
store: z.ZodEnum<["macos-keychain", "libsecret", "windows-dpapi", "file"]>;
|
|
632
|
-
endpoint: z.ZodCatch<z.ZodOptional<z.ZodString>>;
|
|
633
|
-
}, "strip", z.ZodTypeAny, {
|
|
288
|
+
};
|
|
289
|
+
endpoint?: string | null | undefined;
|
|
290
|
+
eventsUrl?: string | null | undefined;
|
|
291
|
+
otlpUrl?: string | null | undefined;
|
|
292
|
+
enforcementUrl?: string | null | undefined;
|
|
293
|
+
token?: string | undefined;
|
|
294
|
+
device?: {
|
|
634
295
|
id: string;
|
|
635
296
|
store: "macos-keychain" | "libsecret" | "windows-dpapi" | "file";
|
|
636
297
|
endpoint?: string | undefined;
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
/**
|
|
646
|
-
* What to call this developer in the platform's views; falls back to
|
|
647
|
-
* `git config user.name`. Never an identity: nothing is keyed on it, and a
|
|
648
|
-
* turn is still reported under `developerEmail`.
|
|
649
|
-
*/
|
|
650
|
-
developerName: z.ZodOptional<z.ZodString>;
|
|
651
|
-
/**
|
|
652
|
-
* Absolute project root -> the identity to use beneath it. Longest match
|
|
653
|
-
* wins, so a nested checkout can override the workspace above it.
|
|
654
|
-
*/
|
|
655
|
-
roots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
656
|
-
endpoint: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
657
|
-
eventsUrl: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
658
|
-
otlpUrl: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
659
|
-
token: z.ZodOptional<z.ZodString>;
|
|
660
|
-
device: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
661
|
-
id: z.ZodString;
|
|
662
|
-
store: z.ZodEnum<["macos-keychain", "libsecret", "windows-dpapi", "file"]>;
|
|
663
|
-
endpoint: z.ZodCatch<z.ZodOptional<z.ZodString>>;
|
|
664
|
-
}, "strip", z.ZodTypeAny, {
|
|
665
|
-
id: string;
|
|
666
|
-
store: "macos-keychain" | "libsecret" | "windows-dpapi" | "file";
|
|
667
|
-
endpoint?: string | undefined;
|
|
668
|
-
}, {
|
|
669
|
-
id: string;
|
|
670
|
-
store: "macos-keychain" | "libsecret" | "windows-dpapi" | "file";
|
|
671
|
-
endpoint?: unknown;
|
|
672
|
-
}>>>;
|
|
673
|
-
installationId: z.ZodOptional<z.ZodString>;
|
|
674
|
-
developerEmail: z.ZodOptional<z.ZodString>;
|
|
675
|
-
developerName: z.ZodOptional<z.ZodString>;
|
|
676
|
-
}, "strip", z.ZodTypeAny, {
|
|
298
|
+
source?: "batch-code" | undefined;
|
|
299
|
+
codeId?: string | undefined;
|
|
300
|
+
} | undefined;
|
|
301
|
+
organizationId?: string | undefined;
|
|
302
|
+
installationId?: string | undefined;
|
|
303
|
+
developerEmail?: string | undefined;
|
|
304
|
+
developerName?: string | undefined;
|
|
305
|
+
roots?: Record<string, {
|
|
677
306
|
endpoint?: string | null | undefined;
|
|
678
|
-
token?: string | undefined;
|
|
679
307
|
eventsUrl?: string | null | undefined;
|
|
680
308
|
otlpUrl?: string | null | undefined;
|
|
309
|
+
token?: string | undefined;
|
|
681
310
|
device?: {
|
|
682
311
|
id: string;
|
|
683
312
|
store: "macos-keychain" | "libsecret" | "windows-dpapi" | "file";
|
|
684
313
|
endpoint?: string | undefined;
|
|
314
|
+
source?: "batch-code" | undefined;
|
|
315
|
+
codeId?: string | undefined;
|
|
685
316
|
} | undefined;
|
|
686
317
|
installationId?: string | undefined;
|
|
687
318
|
developerEmail?: string | undefined;
|
|
688
319
|
developerName?: string | undefined;
|
|
689
|
-
}
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
}>>>;
|
|
699
|
-
contentCaptureConsent: z.ZodDefault<z.ZodBoolean>;
|
|
700
|
-
/**
|
|
701
|
-
* Origins this machine sends to outside the Agent Watch hosts. Written by
|
|
702
|
-
* `setup --allow-custom-endpoint` (exactly the origin that run named) or
|
|
703
|
-
* grandfathered from a file older than the allowlist; shown by `status` and
|
|
704
|
-
* `doctor`. A malformed value reads as no trust without failing the file.
|
|
705
|
-
*/
|
|
706
|
-
customEndpoints: z.ZodDefault<z.ZodCatch<z.ZodArray<z.ZodString, "many">>>;
|
|
707
|
-
/** Present on a file written after the allowlist; see `ALLOWLIST_VERSION_KEY`. */
|
|
708
|
-
allowlistVersion: z.ZodOptional<z.ZodNumber>;
|
|
709
|
-
/** Tell the developer, once per repository per session, that a run called an LLM with no tracing (AWT-310). */
|
|
710
|
-
untracedNotices: z.ZodDefault<z.ZodBoolean>;
|
|
711
|
-
/** At session start, say when npm has a newer release; checked at most once a day, in the background. */
|
|
712
|
-
updateNotices: z.ZodDefault<z.ZodBoolean>;
|
|
713
|
-
capture: z.ZodDefault<z.ZodObject<{
|
|
714
|
-
promptText: z.ZodDefault<z.ZodBoolean>;
|
|
715
|
-
toolInput: z.ZodDefault<z.ZodBoolean>;
|
|
716
|
-
toolOutput: z.ZodDefault<z.ZodBoolean>;
|
|
717
|
-
/** The provider's native session name/title, scrubbed and bounded. A generated title can paraphrase the first prompt; the edge never derives one from the prompt. */
|
|
718
|
-
sessionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
719
|
-
git: z.ZodDefault<z.ZodBoolean>;
|
|
720
|
-
files: z.ZodDefault<z.ZodBoolean>;
|
|
721
|
-
}, "strip", z.ZodTypeAny, {
|
|
722
|
-
promptText: boolean;
|
|
723
|
-
toolInput: boolean;
|
|
724
|
-
toolOutput: boolean;
|
|
725
|
-
sessionTitle: boolean;
|
|
726
|
-
git: boolean;
|
|
727
|
-
files: boolean;
|
|
728
|
-
}, {
|
|
729
|
-
promptText?: boolean | undefined;
|
|
730
|
-
toolInput?: boolean | undefined;
|
|
731
|
-
toolOutput?: boolean | undefined;
|
|
732
|
-
sessionTitle?: boolean | undefined;
|
|
733
|
-
git?: boolean | undefined;
|
|
734
|
-
files?: boolean | undefined;
|
|
735
|
-
}>>;
|
|
736
|
-
emit: z.ZodDefault<z.ZodObject<{
|
|
737
|
-
/** One flat summary per prompt→response turn, emitted on Stop. */
|
|
738
|
-
turnSummaries: z.ZodDefault<z.ZodBoolean>;
|
|
739
|
-
/**
|
|
740
|
-
* Every provider request is mandatory: it is the lossless usage ledger.
|
|
741
|
-
* Accept a legacy `false` on input, but migrate that field to `true`
|
|
742
|
-
* instead of invalidating the entire global config.
|
|
743
|
-
*/
|
|
744
|
-
llmCalls: z.ZodEffects<z.ZodDefault<z.ZodBoolean>, true, boolean | undefined>;
|
|
745
|
-
}, "strip", z.ZodTypeAny, {
|
|
746
|
-
llmCalls: true;
|
|
747
|
-
turnSummaries: boolean;
|
|
748
|
-
}, {
|
|
749
|
-
llmCalls?: boolean | undefined;
|
|
750
|
-
turnSummaries?: boolean | undefined;
|
|
751
|
-
}>>;
|
|
752
|
-
otel: z.ZodDefault<z.ZodObject<{
|
|
753
|
-
logs: z.ZodDefault<z.ZodBoolean>;
|
|
754
|
-
traces: z.ZodDefault<z.ZodBoolean>;
|
|
755
|
-
metrics: z.ZodDefault<z.ZodBoolean>;
|
|
756
|
-
}, "strip", z.ZodTypeAny, {
|
|
757
|
-
logs: boolean;
|
|
758
|
-
traces: boolean;
|
|
759
|
-
metrics: boolean;
|
|
760
|
-
}, {
|
|
761
|
-
logs?: boolean | undefined;
|
|
762
|
-
traces?: boolean | undefined;
|
|
763
|
-
metrics?: boolean | undefined;
|
|
764
|
-
}>>;
|
|
765
|
-
delivery: z.ZodDefault<z.ZodObject<{
|
|
766
|
-
/** Shared network budget for direct send and backlog retries in one delivery pass. */
|
|
767
|
-
timeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
768
|
-
/** How many queued events one drain pass may send. */
|
|
769
|
-
drainBatchSize: z.ZodDefault<z.ZodNumber>;
|
|
770
|
-
maxQueueEvents: z.ZodDefault<z.ZodNumber>;
|
|
771
|
-
maxAttempts: z.ZodDefault<z.ZodNumber>;
|
|
772
|
-
maxEventAgeDays: z.ZodDefault<z.ZodNumber>;
|
|
773
|
-
}, "strip", z.ZodTypeAny, {
|
|
774
|
-
timeoutMs: number;
|
|
775
|
-
drainBatchSize: number;
|
|
776
|
-
maxQueueEvents: number;
|
|
777
|
-
maxAttempts: number;
|
|
778
|
-
maxEventAgeDays: number;
|
|
779
|
-
}, {
|
|
780
|
-
timeoutMs?: number | undefined;
|
|
781
|
-
drainBatchSize?: number | undefined;
|
|
782
|
-
maxQueueEvents?: number | undefined;
|
|
783
|
-
maxAttempts?: number | undefined;
|
|
784
|
-
maxEventAgeDays?: number | undefined;
|
|
785
|
-
}>>;
|
|
786
|
-
enforcement: z.ZodDefault<z.ZodObject<{
|
|
787
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
788
|
-
/** Hard ceiling for the check; it sits between enter and the agent's first call. */
|
|
789
|
-
timeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
790
|
-
/** Mirrors the platform's own cache TTL for the same decision. */
|
|
791
|
-
cacheTtlMs: z.ZodDefault<z.ZodNumber>;
|
|
792
|
-
}, "strip", z.ZodTypeAny, {
|
|
793
|
-
timeoutMs: number;
|
|
794
|
-
enabled: boolean;
|
|
795
|
-
cacheTtlMs: number;
|
|
796
|
-
}, {
|
|
797
|
-
timeoutMs?: number | undefined;
|
|
798
|
-
enabled?: boolean | undefined;
|
|
799
|
-
cacheTtlMs?: number | undefined;
|
|
800
|
-
}>>;
|
|
801
|
-
}, z.ZodTypeAny, "passthrough">>, {
|
|
320
|
+
}> | undefined;
|
|
321
|
+
allowlistVersion?: number | undefined;
|
|
322
|
+
}, {
|
|
323
|
+
[x: string]: unknown;
|
|
324
|
+
schemaVersion: 1;
|
|
325
|
+
contentCaptureConsent: boolean;
|
|
326
|
+
customEndpoints: string[];
|
|
327
|
+
untracedNotices: boolean;
|
|
328
|
+
updateNotices: boolean;
|
|
802
329
|
capture: {
|
|
803
330
|
promptText: boolean;
|
|
804
331
|
toolInput: boolean;
|
|
@@ -806,16 +333,17 @@ export declare const configSchema: z.ZodEffects<z.ZodObject<{
|
|
|
806
333
|
sessionTitle: boolean;
|
|
807
334
|
git: boolean;
|
|
808
335
|
files: boolean;
|
|
336
|
+
mcpNames: boolean;
|
|
337
|
+
};
|
|
338
|
+
emit: {
|
|
339
|
+
turnSummaries: boolean;
|
|
340
|
+
llmCalls: true;
|
|
809
341
|
};
|
|
810
342
|
otel: {
|
|
811
343
|
logs: boolean;
|
|
812
344
|
traces: boolean;
|
|
813
345
|
metrics: boolean;
|
|
814
346
|
};
|
|
815
|
-
customEndpoints: string[];
|
|
816
|
-
contentCaptureConsent: boolean;
|
|
817
|
-
untracedNotices: boolean;
|
|
818
|
-
updateNotices: boolean;
|
|
819
347
|
delivery: {
|
|
820
348
|
timeoutMs: number;
|
|
821
349
|
drainBatchSize: number;
|
|
@@ -824,223 +352,41 @@ export declare const configSchema: z.ZodEffects<z.ZodObject<{
|
|
|
824
352
|
maxEventAgeDays: number;
|
|
825
353
|
};
|
|
826
354
|
enforcement: {
|
|
827
|
-
timeoutMs: number;
|
|
828
355
|
enabled: boolean;
|
|
356
|
+
timeoutMs: number;
|
|
829
357
|
cacheTtlMs: number;
|
|
830
358
|
};
|
|
831
|
-
emit: {
|
|
832
|
-
llmCalls: true;
|
|
833
|
-
turnSummaries: boolean;
|
|
834
|
-
};
|
|
835
|
-
schemaVersion: 1;
|
|
836
359
|
endpoint?: string | null | undefined;
|
|
837
|
-
token?: string | undefined;
|
|
838
|
-
allowlistVersion?: number | undefined;
|
|
839
360
|
eventsUrl?: string | null | undefined;
|
|
840
361
|
otlpUrl?: string | null | undefined;
|
|
841
362
|
enforcementUrl?: string | null | undefined;
|
|
842
|
-
|
|
843
|
-
endpoint?: string | null | undefined;
|
|
844
|
-
token?: string | undefined;
|
|
845
|
-
eventsUrl?: string | null | undefined;
|
|
846
|
-
otlpUrl?: string | null | undefined;
|
|
847
|
-
device?: {
|
|
848
|
-
id: string;
|
|
849
|
-
store: "macos-keychain" | "libsecret" | "windows-dpapi" | "file";
|
|
850
|
-
endpoint?: string | undefined;
|
|
851
|
-
} | undefined;
|
|
852
|
-
installationId?: string | undefined;
|
|
853
|
-
developerEmail?: string | undefined;
|
|
854
|
-
developerName?: string | undefined;
|
|
855
|
-
}> | undefined;
|
|
363
|
+
token?: string | undefined;
|
|
856
364
|
device?: {
|
|
857
365
|
id: string;
|
|
858
366
|
store: "macos-keychain" | "libsecret" | "windows-dpapi" | "file";
|
|
859
367
|
endpoint?: string | undefined;
|
|
368
|
+
source?: "batch-code" | undefined;
|
|
369
|
+
codeId?: string | undefined;
|
|
860
370
|
} | undefined;
|
|
371
|
+
organizationId?: string | undefined;
|
|
861
372
|
installationId?: string | undefined;
|
|
862
373
|
developerEmail?: string | undefined;
|
|
863
374
|
developerName?: string | undefined;
|
|
864
|
-
|
|
865
|
-
schemaVersion: z.ZodDefault<z.ZodLiteral<1>>;
|
|
866
|
-
/** Backend base URL, e.g. https://backend.example.com */
|
|
867
|
-
endpoint: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
868
|
-
/** Overrides; derived from endpoint when absent. */
|
|
869
|
-
eventsUrl: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
870
|
-
otlpUrl: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
871
|
-
enforcementUrl: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
872
|
-
/** The install key, until it is exchanged for `device` (AWT-356). */
|
|
873
|
-
token: z.ZodOptional<z.ZodString>;
|
|
874
|
-
device: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
875
|
-
id: z.ZodString;
|
|
876
|
-
store: z.ZodEnum<["macos-keychain", "libsecret", "windows-dpapi", "file"]>;
|
|
877
|
-
endpoint: z.ZodCatch<z.ZodOptional<z.ZodString>>;
|
|
878
|
-
}, "strip", z.ZodTypeAny, {
|
|
879
|
-
id: string;
|
|
880
|
-
store: "macos-keychain" | "libsecret" | "windows-dpapi" | "file";
|
|
881
|
-
endpoint?: string | undefined;
|
|
882
|
-
}, {
|
|
883
|
-
id: string;
|
|
884
|
-
store: "macos-keychain" | "libsecret" | "windows-dpapi" | "file";
|
|
885
|
-
endpoint?: unknown;
|
|
886
|
-
}>>>;
|
|
887
|
-
installationId: z.ZodOptional<z.ZodString>;
|
|
888
|
-
/** Developer identity attached to turn summaries; falls back to `git config user.email`. */
|
|
889
|
-
developerEmail: z.ZodOptional<z.ZodString>;
|
|
890
|
-
/**
|
|
891
|
-
* What to call this developer in the platform's views; falls back to
|
|
892
|
-
* `git config user.name`. Never an identity: nothing is keyed on it, and a
|
|
893
|
-
* turn is still reported under `developerEmail`.
|
|
894
|
-
*/
|
|
895
|
-
developerName: z.ZodOptional<z.ZodString>;
|
|
896
|
-
/**
|
|
897
|
-
* Absolute project root -> the identity to use beneath it. Longest match
|
|
898
|
-
* wins, so a nested checkout can override the workspace above it.
|
|
899
|
-
*/
|
|
900
|
-
roots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
901
|
-
endpoint: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
902
|
-
eventsUrl: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
903
|
-
otlpUrl: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
904
|
-
token: z.ZodOptional<z.ZodString>;
|
|
905
|
-
device: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
906
|
-
id: z.ZodString;
|
|
907
|
-
store: z.ZodEnum<["macos-keychain", "libsecret", "windows-dpapi", "file"]>;
|
|
908
|
-
endpoint: z.ZodCatch<z.ZodOptional<z.ZodString>>;
|
|
909
|
-
}, "strip", z.ZodTypeAny, {
|
|
910
|
-
id: string;
|
|
911
|
-
store: "macos-keychain" | "libsecret" | "windows-dpapi" | "file";
|
|
912
|
-
endpoint?: string | undefined;
|
|
913
|
-
}, {
|
|
914
|
-
id: string;
|
|
915
|
-
store: "macos-keychain" | "libsecret" | "windows-dpapi" | "file";
|
|
916
|
-
endpoint?: unknown;
|
|
917
|
-
}>>>;
|
|
918
|
-
installationId: z.ZodOptional<z.ZodString>;
|
|
919
|
-
developerEmail: z.ZodOptional<z.ZodString>;
|
|
920
|
-
developerName: z.ZodOptional<z.ZodString>;
|
|
921
|
-
}, "strip", z.ZodTypeAny, {
|
|
375
|
+
roots?: Record<string, {
|
|
922
376
|
endpoint?: string | null | undefined;
|
|
923
|
-
token?: string | undefined;
|
|
924
377
|
eventsUrl?: string | null | undefined;
|
|
925
378
|
otlpUrl?: string | null | undefined;
|
|
379
|
+
token?: string | undefined;
|
|
926
380
|
device?: {
|
|
927
381
|
id: string;
|
|
928
382
|
store: "macos-keychain" | "libsecret" | "windows-dpapi" | "file";
|
|
929
383
|
endpoint?: string | undefined;
|
|
384
|
+
source?: "batch-code" | undefined;
|
|
385
|
+
codeId?: string | undefined;
|
|
930
386
|
} | undefined;
|
|
931
387
|
installationId?: string | undefined;
|
|
932
388
|
developerEmail?: string | undefined;
|
|
933
389
|
developerName?: string | undefined;
|
|
934
|
-
}
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
eventsUrl?: unknown;
|
|
938
|
-
otlpUrl?: unknown;
|
|
939
|
-
device?: unknown;
|
|
940
|
-
installationId?: string | undefined;
|
|
941
|
-
developerEmail?: string | undefined;
|
|
942
|
-
developerName?: string | undefined;
|
|
943
|
-
}>>>;
|
|
944
|
-
contentCaptureConsent: z.ZodDefault<z.ZodBoolean>;
|
|
945
|
-
/**
|
|
946
|
-
* Origins this machine sends to outside the Agent Watch hosts. Written by
|
|
947
|
-
* `setup --allow-custom-endpoint` (exactly the origin that run named) or
|
|
948
|
-
* grandfathered from a file older than the allowlist; shown by `status` and
|
|
949
|
-
* `doctor`. A malformed value reads as no trust without failing the file.
|
|
950
|
-
*/
|
|
951
|
-
customEndpoints: z.ZodDefault<z.ZodCatch<z.ZodArray<z.ZodString, "many">>>;
|
|
952
|
-
/** Present on a file written after the allowlist; see `ALLOWLIST_VERSION_KEY`. */
|
|
953
|
-
allowlistVersion: z.ZodOptional<z.ZodNumber>;
|
|
954
|
-
/** Tell the developer, once per repository per session, that a run called an LLM with no tracing (AWT-310). */
|
|
955
|
-
untracedNotices: z.ZodDefault<z.ZodBoolean>;
|
|
956
|
-
/** At session start, say when npm has a newer release; checked at most once a day, in the background. */
|
|
957
|
-
updateNotices: z.ZodDefault<z.ZodBoolean>;
|
|
958
|
-
capture: z.ZodDefault<z.ZodObject<{
|
|
959
|
-
promptText: z.ZodDefault<z.ZodBoolean>;
|
|
960
|
-
toolInput: z.ZodDefault<z.ZodBoolean>;
|
|
961
|
-
toolOutput: z.ZodDefault<z.ZodBoolean>;
|
|
962
|
-
/** The provider's native session name/title, scrubbed and bounded. A generated title can paraphrase the first prompt; the edge never derives one from the prompt. */
|
|
963
|
-
sessionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
964
|
-
git: z.ZodDefault<z.ZodBoolean>;
|
|
965
|
-
files: z.ZodDefault<z.ZodBoolean>;
|
|
966
|
-
}, "strip", z.ZodTypeAny, {
|
|
967
|
-
promptText: boolean;
|
|
968
|
-
toolInput: boolean;
|
|
969
|
-
toolOutput: boolean;
|
|
970
|
-
sessionTitle: boolean;
|
|
971
|
-
git: boolean;
|
|
972
|
-
files: boolean;
|
|
973
|
-
}, {
|
|
974
|
-
promptText?: boolean | undefined;
|
|
975
|
-
toolInput?: boolean | undefined;
|
|
976
|
-
toolOutput?: boolean | undefined;
|
|
977
|
-
sessionTitle?: boolean | undefined;
|
|
978
|
-
git?: boolean | undefined;
|
|
979
|
-
files?: boolean | undefined;
|
|
980
|
-
}>>;
|
|
981
|
-
emit: z.ZodDefault<z.ZodObject<{
|
|
982
|
-
/** One flat summary per prompt→response turn, emitted on Stop. */
|
|
983
|
-
turnSummaries: z.ZodDefault<z.ZodBoolean>;
|
|
984
|
-
/**
|
|
985
|
-
* Every provider request is mandatory: it is the lossless usage ledger.
|
|
986
|
-
* Accept a legacy `false` on input, but migrate that field to `true`
|
|
987
|
-
* instead of invalidating the entire global config.
|
|
988
|
-
*/
|
|
989
|
-
llmCalls: z.ZodEffects<z.ZodDefault<z.ZodBoolean>, true, boolean | undefined>;
|
|
990
|
-
}, "strip", z.ZodTypeAny, {
|
|
991
|
-
llmCalls: true;
|
|
992
|
-
turnSummaries: boolean;
|
|
993
|
-
}, {
|
|
994
|
-
llmCalls?: boolean | undefined;
|
|
995
|
-
turnSummaries?: boolean | undefined;
|
|
996
|
-
}>>;
|
|
997
|
-
otel: z.ZodDefault<z.ZodObject<{
|
|
998
|
-
logs: z.ZodDefault<z.ZodBoolean>;
|
|
999
|
-
traces: z.ZodDefault<z.ZodBoolean>;
|
|
1000
|
-
metrics: z.ZodDefault<z.ZodBoolean>;
|
|
1001
|
-
}, "strip", z.ZodTypeAny, {
|
|
1002
|
-
logs: boolean;
|
|
1003
|
-
traces: boolean;
|
|
1004
|
-
metrics: boolean;
|
|
1005
|
-
}, {
|
|
1006
|
-
logs?: boolean | undefined;
|
|
1007
|
-
traces?: boolean | undefined;
|
|
1008
|
-
metrics?: boolean | undefined;
|
|
1009
|
-
}>>;
|
|
1010
|
-
delivery: z.ZodDefault<z.ZodObject<{
|
|
1011
|
-
/** Shared network budget for direct send and backlog retries in one delivery pass. */
|
|
1012
|
-
timeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
1013
|
-
/** How many queued events one drain pass may send. */
|
|
1014
|
-
drainBatchSize: z.ZodDefault<z.ZodNumber>;
|
|
1015
|
-
maxQueueEvents: z.ZodDefault<z.ZodNumber>;
|
|
1016
|
-
maxAttempts: z.ZodDefault<z.ZodNumber>;
|
|
1017
|
-
maxEventAgeDays: z.ZodDefault<z.ZodNumber>;
|
|
1018
|
-
}, "strip", z.ZodTypeAny, {
|
|
1019
|
-
timeoutMs: number;
|
|
1020
|
-
drainBatchSize: number;
|
|
1021
|
-
maxQueueEvents: number;
|
|
1022
|
-
maxAttempts: number;
|
|
1023
|
-
maxEventAgeDays: number;
|
|
1024
|
-
}, {
|
|
1025
|
-
timeoutMs?: number | undefined;
|
|
1026
|
-
drainBatchSize?: number | undefined;
|
|
1027
|
-
maxQueueEvents?: number | undefined;
|
|
1028
|
-
maxAttempts?: number | undefined;
|
|
1029
|
-
maxEventAgeDays?: number | undefined;
|
|
1030
|
-
}>>;
|
|
1031
|
-
enforcement: z.ZodDefault<z.ZodObject<{
|
|
1032
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1033
|
-
/** Hard ceiling for the check; it sits between enter and the agent's first call. */
|
|
1034
|
-
timeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
1035
|
-
/** Mirrors the platform's own cache TTL for the same decision. */
|
|
1036
|
-
cacheTtlMs: z.ZodDefault<z.ZodNumber>;
|
|
1037
|
-
}, "strip", z.ZodTypeAny, {
|
|
1038
|
-
timeoutMs: number;
|
|
1039
|
-
enabled: boolean;
|
|
1040
|
-
cacheTtlMs: number;
|
|
1041
|
-
}, {
|
|
1042
|
-
timeoutMs?: number | undefined;
|
|
1043
|
-
enabled?: boolean | undefined;
|
|
1044
|
-
cacheTtlMs?: number | undefined;
|
|
1045
|
-
}>>;
|
|
1046
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
390
|
+
}> | undefined;
|
|
391
|
+
allowlistVersion?: number | undefined;
|
|
392
|
+
}>>;
|