codex-computer-use-mcp 0.3.3 → 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 (45) hide show
  1. package/README.md +38 -121
  2. package/SECURITY.md +5 -63
  3. package/dist/audit.d.ts +1 -7
  4. package/dist/audit.js +4 -12
  5. package/dist/audit.js.map +1 -1
  6. package/dist/direct-broker.d.ts +18 -30
  7. package/dist/direct-broker.js +87 -161
  8. package/dist/direct-broker.js.map +1 -1
  9. package/dist/direct-service.d.ts +13 -21
  10. package/dist/direct-service.js +82 -301
  11. package/dist/direct-service.js.map +1 -1
  12. package/dist/mcp-elicitation.d.ts +1 -2
  13. package/dist/mcp-elicitation.js +18 -23
  14. package/dist/mcp-elicitation.js.map +1 -1
  15. package/dist/mcp-server.js +34 -38
  16. package/dist/mcp-server.js.map +1 -1
  17. package/dist/session-executor.d.ts +22 -0
  18. package/dist/session-executor.js +89 -0
  19. package/dist/session-executor.js.map +1 -0
  20. package/dist/tools.d.ts +743 -81
  21. package/dist/tools.js +55 -178
  22. package/dist/tools.js.map +1 -1
  23. package/dist/version.d.ts +1 -0
  24. package/dist/version.js +3 -0
  25. package/dist/version.js.map +1 -0
  26. package/integrations/pi/index.ts +99 -244
  27. package/package.json +13 -26
  28. package/ARCHITECTURE.md +0 -162
  29. package/CHANGELOG.md +0 -13
  30. package/CONTRIBUTING.md +0 -33
  31. package/MIGRATION.md +0 -125
  32. package/PROOF.md +0 -160
  33. package/dist/config.d.ts +0 -12
  34. package/dist/config.js +0 -10
  35. package/dist/config.js.map +0 -1
  36. package/dist/lock.d.ts +0 -17
  37. package/dist/lock.js +0 -137
  38. package/dist/lock.js.map +0 -1
  39. package/dist/system.d.ts +0 -27
  40. package/dist/system.js +0 -215
  41. package/dist/system.js.map +0 -1
  42. package/docs/adr/0001-standalone-code-mode-mcp.md +0 -45
  43. package/integrations/pi/README.md +0 -73
  44. package/integrations/pi/mcp.json.example +0 -15
  45. package/npm-shrinkwrap.json +0 -4827
package/dist/tools.d.ts CHANGED
@@ -1,84 +1,746 @@
1
1
  import { z } from "zod";
2
- export declare const DIRECT_TOOL_SCHEMAS: {
3
- readonly list_apps: z.ZodObject<{}, z.core.$strict>;
4
- readonly get_app_state: z.ZodObject<{
5
- app: z.ZodString;
6
- }, z.core.$strict>;
7
- readonly click: z.ZodObject<{
8
- app: z.ZodString;
9
- click_count: z.ZodOptional<z.ZodNumber>;
10
- element_index: z.ZodOptional<z.ZodString>;
11
- mouse_button: z.ZodOptional<z.ZodEnum<{
12
- left: "left";
13
- middle: "middle";
14
- right: "right";
15
- }>>;
16
- x: z.ZodOptional<z.ZodNumber>;
17
- y: z.ZodOptional<z.ZodNumber>;
18
- }, z.core.$strict>;
19
- readonly perform_secondary_action: z.ZodObject<{
20
- app: z.ZodString;
21
- element_index: z.ZodString;
22
- action: z.ZodString;
23
- }, z.core.$strict>;
24
- readonly set_value: z.ZodObject<{
25
- app: z.ZodString;
26
- element_index: z.ZodString;
27
- value: z.ZodString;
28
- }, z.core.$strict>;
29
- readonly select_text: z.ZodObject<{
30
- app: z.ZodString;
31
- element_index: z.ZodString;
32
- text: z.ZodString;
33
- prefix: z.ZodOptional<z.ZodString>;
34
- selection: z.ZodOptional<z.ZodEnum<{
35
- cursor_after: "cursor_after";
36
- cursor_before: "cursor_before";
37
- text: "text";
38
- }>>;
39
- suffix: z.ZodOptional<z.ZodString>;
40
- }, z.core.$strict>;
41
- readonly scroll: z.ZodObject<{
42
- app: z.ZodString;
43
- element_index: z.ZodString;
44
- direction: z.ZodString;
45
- pages: z.ZodOptional<z.ZodNumber>;
46
- }, z.core.$strict>;
47
- readonly drag: z.ZodObject<{
48
- app: z.ZodString;
49
- from_x: z.ZodNumber;
50
- from_y: z.ZodNumber;
51
- to_x: z.ZodNumber;
52
- to_y: z.ZodNumber;
53
- }, z.core.$strict>;
54
- readonly press_key: z.ZodObject<{
55
- app: z.ZodString;
56
- key: z.ZodString;
57
- }, z.core.$strict>;
58
- readonly type_text: z.ZodObject<{
59
- app: z.ZodString;
60
- text: z.ZodString;
61
- }, z.core.$strict>;
62
- };
63
- export type DirectMethod = keyof typeof DIRECT_TOOL_SCHEMAS;
64
- export type DirectToolArguments = Record<string, unknown>;
65
- export declare const OFFICIAL_METHODS: readonly ("click" | "drag" | "get_app_state" | "list_apps" | "perform_secondary_action" | "press_key" | "scroll" | "select_text" | "set_value" | "type_text")[];
66
- export interface OfficialToolMetadata {
67
- description: string;
68
- annotations: {
69
- destructiveHint: boolean;
70
- idempotentHint: boolean;
71
- openWorldHint: boolean;
72
- readOnlyHint: boolean;
73
- };
2
+ type JsonPrimitive = boolean | number | string | null;
3
+ export type JsonValue = JsonPrimitive | JsonValue[] | JsonObject;
4
+ export interface JsonObject {
5
+ [key: string]: JsonValue | undefined;
74
6
  }
75
- /** Exact upstream descriptions and annotations exposed by the signed Computer Use helper. */
76
- export declare const OFFICIAL_TOOL_METADATA: Readonly<Record<DirectMethod, OfficialToolMetadata>>;
77
- export declare const READ_ONLY_METHODS: Set<"click" | "drag" | "get_app_state" | "list_apps" | "perform_secondary_action" | "press_key" | "scroll" | "select_text" | "set_value" | "type_text">;
78
- export declare const MUTATING_METHODS: Set<"click" | "drag" | "get_app_state" | "list_apps" | "perform_secondary_action" | "press_key" | "scroll" | "select_text" | "set_value" | "type_text">;
7
+ export declare const COMPUTER_USE_METHODS: readonly ["list_apps", "get_app_state", "click", "perform_secondary_action", "set_value", "select_text", "scroll", "drag", "press_key", "type_text"];
8
+ export type DirectMethod = typeof COMPUTER_USE_METHODS[number];
9
+ export type DirectToolArguments = JsonObject;
10
+ export declare const TOOL_METADATA: {
11
+ list_apps: {
12
+ description: string;
13
+ annotations: {
14
+ readonly destructiveHint: false;
15
+ readonly idempotentHint: true;
16
+ readonly openWorldHint: false;
17
+ readonly readOnlyHint: true;
18
+ };
19
+ };
20
+ get_app_state: {
21
+ description: string;
22
+ annotations: {
23
+ readonly destructiveHint: false;
24
+ readonly idempotentHint: true;
25
+ readonly openWorldHint: false;
26
+ readonly readOnlyHint: true;
27
+ };
28
+ };
29
+ click: {
30
+ description: string;
31
+ annotations: {
32
+ readonly destructiveHint: false;
33
+ readonly idempotentHint: false;
34
+ readonly openWorldHint: false;
35
+ readonly readOnlyHint: false;
36
+ };
37
+ };
38
+ perform_secondary_action: {
39
+ description: string;
40
+ annotations: {
41
+ readonly destructiveHint: false;
42
+ readonly idempotentHint: false;
43
+ readonly openWorldHint: false;
44
+ readonly readOnlyHint: false;
45
+ };
46
+ };
47
+ set_value: {
48
+ description: string;
49
+ annotations: {
50
+ readonly destructiveHint: false;
51
+ readonly idempotentHint: false;
52
+ readonly openWorldHint: false;
53
+ readonly readOnlyHint: false;
54
+ };
55
+ };
56
+ select_text: {
57
+ description: string;
58
+ annotations: {
59
+ readonly destructiveHint: false;
60
+ readonly idempotentHint: false;
61
+ readonly openWorldHint: false;
62
+ readonly readOnlyHint: false;
63
+ };
64
+ };
65
+ scroll: {
66
+ description: string;
67
+ annotations: {
68
+ readonly destructiveHint: false;
69
+ readonly idempotentHint: false;
70
+ readonly openWorldHint: false;
71
+ readonly readOnlyHint: false;
72
+ };
73
+ };
74
+ drag: {
75
+ description: string;
76
+ annotations: {
77
+ readonly destructiveHint: false;
78
+ readonly idempotentHint: false;
79
+ readonly openWorldHint: false;
80
+ readonly readOnlyHint: false;
81
+ };
82
+ };
83
+ press_key: {
84
+ description: string;
85
+ annotations: {
86
+ readonly destructiveHint: false;
87
+ readonly idempotentHint: false;
88
+ readonly openWorldHint: false;
89
+ readonly readOnlyHint: false;
90
+ };
91
+ };
92
+ type_text: {
93
+ description: string;
94
+ annotations: {
95
+ readonly destructiveHint: false;
96
+ readonly idempotentHint: false;
97
+ readonly openWorldHint: false;
98
+ readonly readOnlyHint: false;
99
+ };
100
+ };
101
+ };
79
102
  export declare function isDirectMethod(value: string): value is DirectMethod;
80
- export declare function normalizeKeyExpression(value: string): string;
81
- export declare function validateDirectArguments(method: DirectMethod, value: unknown): DirectToolArguments;
82
- export declare function targetAppFor(method: DirectMethod, args: DirectToolArguments): string | undefined;
83
- /** Exact upstream MCP schemas observed from the signed helper. Drift fails closed before dispatch. */
84
- export declare const EXPECTED_OFFICIAL_INPUT_SCHEMAS: Readonly<Record<DirectMethod, unknown>>;
103
+ export declare function validateDirectArguments(method: DirectMethod, value: JsonObject): DirectToolArguments;
104
+ export declare const TOOL_INPUT_SCHEMAS: {
105
+ list_apps: {
106
+ [k: string]: unknown;
107
+ $id?: string;
108
+ $anchor?: string;
109
+ $ref?: string;
110
+ $dynamicRef?: string;
111
+ $dynamicAnchor?: string;
112
+ $vocabulary?: Record<string, boolean>;
113
+ $comment?: string;
114
+ $defs?: Record<string, z.core.JSONSchema.JSONSchema>;
115
+ type?: "object" | "array" | "string" | "number" | "boolean" | "null" | "integer";
116
+ additionalItems?: z.core.JSONSchema._JSONSchema;
117
+ unevaluatedItems?: z.core.JSONSchema._JSONSchema;
118
+ prefixItems?: z.core.JSONSchema._JSONSchema[];
119
+ items?: z.core.JSONSchema._JSONSchema | z.core.JSONSchema._JSONSchema[];
120
+ contains?: z.core.JSONSchema._JSONSchema;
121
+ additionalProperties?: z.core.JSONSchema._JSONSchema;
122
+ unevaluatedProperties?: z.core.JSONSchema._JSONSchema;
123
+ properties?: Record<string, z.core.JSONSchema._JSONSchema>;
124
+ patternProperties?: Record<string, z.core.JSONSchema._JSONSchema>;
125
+ dependentSchemas?: Record<string, z.core.JSONSchema._JSONSchema>;
126
+ propertyNames?: z.core.JSONSchema._JSONSchema;
127
+ if?: z.core.JSONSchema._JSONSchema;
128
+ then?: z.core.JSONSchema._JSONSchema;
129
+ else?: z.core.JSONSchema._JSONSchema;
130
+ allOf?: z.core.JSONSchema.JSONSchema[];
131
+ anyOf?: z.core.JSONSchema.JSONSchema[];
132
+ oneOf?: z.core.JSONSchema.JSONSchema[];
133
+ not?: z.core.JSONSchema._JSONSchema;
134
+ multipleOf?: number;
135
+ maximum?: number;
136
+ exclusiveMaximum?: number | boolean;
137
+ minimum?: number;
138
+ exclusiveMinimum?: number | boolean;
139
+ maxLength?: number;
140
+ minLength?: number;
141
+ pattern?: string;
142
+ maxItems?: number;
143
+ minItems?: number;
144
+ uniqueItems?: boolean;
145
+ maxContains?: number;
146
+ minContains?: number;
147
+ maxProperties?: number;
148
+ minProperties?: number;
149
+ required?: string[];
150
+ dependentRequired?: Record<string, string[]>;
151
+ enum?: Array<string | number | boolean | null>;
152
+ const?: string | number | boolean | null;
153
+ id?: string;
154
+ title?: string;
155
+ description?: string;
156
+ default?: unknown;
157
+ deprecated?: boolean;
158
+ readOnly?: boolean;
159
+ writeOnly?: boolean;
160
+ nullable?: boolean;
161
+ examples?: unknown[];
162
+ format?: string;
163
+ contentMediaType?: string;
164
+ contentEncoding?: string;
165
+ contentSchema?: z.core.JSONSchema.JSONSchema;
166
+ _prefault?: unknown;
167
+ "~standard": z.core.ZodStandardSchemaWithJSON<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
168
+ };
169
+ get_app_state: {
170
+ [k: string]: unknown;
171
+ $id?: string;
172
+ $anchor?: string;
173
+ $ref?: string;
174
+ $dynamicRef?: string;
175
+ $dynamicAnchor?: string;
176
+ $vocabulary?: Record<string, boolean>;
177
+ $comment?: string;
178
+ $defs?: Record<string, z.core.JSONSchema.JSONSchema>;
179
+ type?: "object" | "array" | "string" | "number" | "boolean" | "null" | "integer";
180
+ additionalItems?: z.core.JSONSchema._JSONSchema;
181
+ unevaluatedItems?: z.core.JSONSchema._JSONSchema;
182
+ prefixItems?: z.core.JSONSchema._JSONSchema[];
183
+ items?: z.core.JSONSchema._JSONSchema | z.core.JSONSchema._JSONSchema[];
184
+ contains?: z.core.JSONSchema._JSONSchema;
185
+ additionalProperties?: z.core.JSONSchema._JSONSchema;
186
+ unevaluatedProperties?: z.core.JSONSchema._JSONSchema;
187
+ properties?: Record<string, z.core.JSONSchema._JSONSchema>;
188
+ patternProperties?: Record<string, z.core.JSONSchema._JSONSchema>;
189
+ dependentSchemas?: Record<string, z.core.JSONSchema._JSONSchema>;
190
+ propertyNames?: z.core.JSONSchema._JSONSchema;
191
+ if?: z.core.JSONSchema._JSONSchema;
192
+ then?: z.core.JSONSchema._JSONSchema;
193
+ else?: z.core.JSONSchema._JSONSchema;
194
+ allOf?: z.core.JSONSchema.JSONSchema[];
195
+ anyOf?: z.core.JSONSchema.JSONSchema[];
196
+ oneOf?: z.core.JSONSchema.JSONSchema[];
197
+ not?: z.core.JSONSchema._JSONSchema;
198
+ multipleOf?: number;
199
+ maximum?: number;
200
+ exclusiveMaximum?: number | boolean;
201
+ minimum?: number;
202
+ exclusiveMinimum?: number | boolean;
203
+ maxLength?: number;
204
+ minLength?: number;
205
+ pattern?: string;
206
+ maxItems?: number;
207
+ minItems?: number;
208
+ uniqueItems?: boolean;
209
+ maxContains?: number;
210
+ minContains?: number;
211
+ maxProperties?: number;
212
+ minProperties?: number;
213
+ required?: string[];
214
+ dependentRequired?: Record<string, string[]>;
215
+ enum?: Array<string | number | boolean | null>;
216
+ const?: string | number | boolean | null;
217
+ id?: string;
218
+ title?: string;
219
+ description?: string;
220
+ default?: unknown;
221
+ deprecated?: boolean;
222
+ readOnly?: boolean;
223
+ writeOnly?: boolean;
224
+ nullable?: boolean;
225
+ examples?: unknown[];
226
+ format?: string;
227
+ contentMediaType?: string;
228
+ contentEncoding?: string;
229
+ contentSchema?: z.core.JSONSchema.JSONSchema;
230
+ _prefault?: unknown;
231
+ "~standard": z.core.ZodStandardSchemaWithJSON<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
232
+ };
233
+ click: {
234
+ [k: string]: unknown;
235
+ $id?: string;
236
+ $anchor?: string;
237
+ $ref?: string;
238
+ $dynamicRef?: string;
239
+ $dynamicAnchor?: string;
240
+ $vocabulary?: Record<string, boolean>;
241
+ $comment?: string;
242
+ $defs?: Record<string, z.core.JSONSchema.JSONSchema>;
243
+ type?: "object" | "array" | "string" | "number" | "boolean" | "null" | "integer";
244
+ additionalItems?: z.core.JSONSchema._JSONSchema;
245
+ unevaluatedItems?: z.core.JSONSchema._JSONSchema;
246
+ prefixItems?: z.core.JSONSchema._JSONSchema[];
247
+ items?: z.core.JSONSchema._JSONSchema | z.core.JSONSchema._JSONSchema[];
248
+ contains?: z.core.JSONSchema._JSONSchema;
249
+ additionalProperties?: z.core.JSONSchema._JSONSchema;
250
+ unevaluatedProperties?: z.core.JSONSchema._JSONSchema;
251
+ properties?: Record<string, z.core.JSONSchema._JSONSchema>;
252
+ patternProperties?: Record<string, z.core.JSONSchema._JSONSchema>;
253
+ dependentSchemas?: Record<string, z.core.JSONSchema._JSONSchema>;
254
+ propertyNames?: z.core.JSONSchema._JSONSchema;
255
+ if?: z.core.JSONSchema._JSONSchema;
256
+ then?: z.core.JSONSchema._JSONSchema;
257
+ else?: z.core.JSONSchema._JSONSchema;
258
+ allOf?: z.core.JSONSchema.JSONSchema[];
259
+ anyOf?: z.core.JSONSchema.JSONSchema[];
260
+ oneOf?: z.core.JSONSchema.JSONSchema[];
261
+ not?: z.core.JSONSchema._JSONSchema;
262
+ multipleOf?: number;
263
+ maximum?: number;
264
+ exclusiveMaximum?: number | boolean;
265
+ minimum?: number;
266
+ exclusiveMinimum?: number | boolean;
267
+ maxLength?: number;
268
+ minLength?: number;
269
+ pattern?: string;
270
+ maxItems?: number;
271
+ minItems?: number;
272
+ uniqueItems?: boolean;
273
+ maxContains?: number;
274
+ minContains?: number;
275
+ maxProperties?: number;
276
+ minProperties?: number;
277
+ required?: string[];
278
+ dependentRequired?: Record<string, string[]>;
279
+ enum?: Array<string | number | boolean | null>;
280
+ const?: string | number | boolean | null;
281
+ id?: string;
282
+ title?: string;
283
+ description?: string;
284
+ default?: unknown;
285
+ deprecated?: boolean;
286
+ readOnly?: boolean;
287
+ writeOnly?: boolean;
288
+ nullable?: boolean;
289
+ examples?: unknown[];
290
+ format?: string;
291
+ contentMediaType?: string;
292
+ contentEncoding?: string;
293
+ contentSchema?: z.core.JSONSchema.JSONSchema;
294
+ _prefault?: unknown;
295
+ "~standard": z.core.ZodStandardSchemaWithJSON<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
296
+ };
297
+ perform_secondary_action: {
298
+ [k: string]: unknown;
299
+ $id?: string;
300
+ $anchor?: string;
301
+ $ref?: string;
302
+ $dynamicRef?: string;
303
+ $dynamicAnchor?: string;
304
+ $vocabulary?: Record<string, boolean>;
305
+ $comment?: string;
306
+ $defs?: Record<string, z.core.JSONSchema.JSONSchema>;
307
+ type?: "object" | "array" | "string" | "number" | "boolean" | "null" | "integer";
308
+ additionalItems?: z.core.JSONSchema._JSONSchema;
309
+ unevaluatedItems?: z.core.JSONSchema._JSONSchema;
310
+ prefixItems?: z.core.JSONSchema._JSONSchema[];
311
+ items?: z.core.JSONSchema._JSONSchema | z.core.JSONSchema._JSONSchema[];
312
+ contains?: z.core.JSONSchema._JSONSchema;
313
+ additionalProperties?: z.core.JSONSchema._JSONSchema;
314
+ unevaluatedProperties?: z.core.JSONSchema._JSONSchema;
315
+ properties?: Record<string, z.core.JSONSchema._JSONSchema>;
316
+ patternProperties?: Record<string, z.core.JSONSchema._JSONSchema>;
317
+ dependentSchemas?: Record<string, z.core.JSONSchema._JSONSchema>;
318
+ propertyNames?: z.core.JSONSchema._JSONSchema;
319
+ if?: z.core.JSONSchema._JSONSchema;
320
+ then?: z.core.JSONSchema._JSONSchema;
321
+ else?: z.core.JSONSchema._JSONSchema;
322
+ allOf?: z.core.JSONSchema.JSONSchema[];
323
+ anyOf?: z.core.JSONSchema.JSONSchema[];
324
+ oneOf?: z.core.JSONSchema.JSONSchema[];
325
+ not?: z.core.JSONSchema._JSONSchema;
326
+ multipleOf?: number;
327
+ maximum?: number;
328
+ exclusiveMaximum?: number | boolean;
329
+ minimum?: number;
330
+ exclusiveMinimum?: number | boolean;
331
+ maxLength?: number;
332
+ minLength?: number;
333
+ pattern?: string;
334
+ maxItems?: number;
335
+ minItems?: number;
336
+ uniqueItems?: boolean;
337
+ maxContains?: number;
338
+ minContains?: number;
339
+ maxProperties?: number;
340
+ minProperties?: number;
341
+ required?: string[];
342
+ dependentRequired?: Record<string, string[]>;
343
+ enum?: Array<string | number | boolean | null>;
344
+ const?: string | number | boolean | null;
345
+ id?: string;
346
+ title?: string;
347
+ description?: string;
348
+ default?: unknown;
349
+ deprecated?: boolean;
350
+ readOnly?: boolean;
351
+ writeOnly?: boolean;
352
+ nullable?: boolean;
353
+ examples?: unknown[];
354
+ format?: string;
355
+ contentMediaType?: string;
356
+ contentEncoding?: string;
357
+ contentSchema?: z.core.JSONSchema.JSONSchema;
358
+ _prefault?: unknown;
359
+ "~standard": z.core.ZodStandardSchemaWithJSON<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
360
+ };
361
+ set_value: {
362
+ [k: string]: unknown;
363
+ $id?: string;
364
+ $anchor?: string;
365
+ $ref?: string;
366
+ $dynamicRef?: string;
367
+ $dynamicAnchor?: string;
368
+ $vocabulary?: Record<string, boolean>;
369
+ $comment?: string;
370
+ $defs?: Record<string, z.core.JSONSchema.JSONSchema>;
371
+ type?: "object" | "array" | "string" | "number" | "boolean" | "null" | "integer";
372
+ additionalItems?: z.core.JSONSchema._JSONSchema;
373
+ unevaluatedItems?: z.core.JSONSchema._JSONSchema;
374
+ prefixItems?: z.core.JSONSchema._JSONSchema[];
375
+ items?: z.core.JSONSchema._JSONSchema | z.core.JSONSchema._JSONSchema[];
376
+ contains?: z.core.JSONSchema._JSONSchema;
377
+ additionalProperties?: z.core.JSONSchema._JSONSchema;
378
+ unevaluatedProperties?: z.core.JSONSchema._JSONSchema;
379
+ properties?: Record<string, z.core.JSONSchema._JSONSchema>;
380
+ patternProperties?: Record<string, z.core.JSONSchema._JSONSchema>;
381
+ dependentSchemas?: Record<string, z.core.JSONSchema._JSONSchema>;
382
+ propertyNames?: z.core.JSONSchema._JSONSchema;
383
+ if?: z.core.JSONSchema._JSONSchema;
384
+ then?: z.core.JSONSchema._JSONSchema;
385
+ else?: z.core.JSONSchema._JSONSchema;
386
+ allOf?: z.core.JSONSchema.JSONSchema[];
387
+ anyOf?: z.core.JSONSchema.JSONSchema[];
388
+ oneOf?: z.core.JSONSchema.JSONSchema[];
389
+ not?: z.core.JSONSchema._JSONSchema;
390
+ multipleOf?: number;
391
+ maximum?: number;
392
+ exclusiveMaximum?: number | boolean;
393
+ minimum?: number;
394
+ exclusiveMinimum?: number | boolean;
395
+ maxLength?: number;
396
+ minLength?: number;
397
+ pattern?: string;
398
+ maxItems?: number;
399
+ minItems?: number;
400
+ uniqueItems?: boolean;
401
+ maxContains?: number;
402
+ minContains?: number;
403
+ maxProperties?: number;
404
+ minProperties?: number;
405
+ required?: string[];
406
+ dependentRequired?: Record<string, string[]>;
407
+ enum?: Array<string | number | boolean | null>;
408
+ const?: string | number | boolean | null;
409
+ id?: string;
410
+ title?: string;
411
+ description?: string;
412
+ default?: unknown;
413
+ deprecated?: boolean;
414
+ readOnly?: boolean;
415
+ writeOnly?: boolean;
416
+ nullable?: boolean;
417
+ examples?: unknown[];
418
+ format?: string;
419
+ contentMediaType?: string;
420
+ contentEncoding?: string;
421
+ contentSchema?: z.core.JSONSchema.JSONSchema;
422
+ _prefault?: unknown;
423
+ "~standard": z.core.ZodStandardSchemaWithJSON<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
424
+ };
425
+ select_text: {
426
+ [k: string]: unknown;
427
+ $id?: string;
428
+ $anchor?: string;
429
+ $ref?: string;
430
+ $dynamicRef?: string;
431
+ $dynamicAnchor?: string;
432
+ $vocabulary?: Record<string, boolean>;
433
+ $comment?: string;
434
+ $defs?: Record<string, z.core.JSONSchema.JSONSchema>;
435
+ type?: "object" | "array" | "string" | "number" | "boolean" | "null" | "integer";
436
+ additionalItems?: z.core.JSONSchema._JSONSchema;
437
+ unevaluatedItems?: z.core.JSONSchema._JSONSchema;
438
+ prefixItems?: z.core.JSONSchema._JSONSchema[];
439
+ items?: z.core.JSONSchema._JSONSchema | z.core.JSONSchema._JSONSchema[];
440
+ contains?: z.core.JSONSchema._JSONSchema;
441
+ additionalProperties?: z.core.JSONSchema._JSONSchema;
442
+ unevaluatedProperties?: z.core.JSONSchema._JSONSchema;
443
+ properties?: Record<string, z.core.JSONSchema._JSONSchema>;
444
+ patternProperties?: Record<string, z.core.JSONSchema._JSONSchema>;
445
+ dependentSchemas?: Record<string, z.core.JSONSchema._JSONSchema>;
446
+ propertyNames?: z.core.JSONSchema._JSONSchema;
447
+ if?: z.core.JSONSchema._JSONSchema;
448
+ then?: z.core.JSONSchema._JSONSchema;
449
+ else?: z.core.JSONSchema._JSONSchema;
450
+ allOf?: z.core.JSONSchema.JSONSchema[];
451
+ anyOf?: z.core.JSONSchema.JSONSchema[];
452
+ oneOf?: z.core.JSONSchema.JSONSchema[];
453
+ not?: z.core.JSONSchema._JSONSchema;
454
+ multipleOf?: number;
455
+ maximum?: number;
456
+ exclusiveMaximum?: number | boolean;
457
+ minimum?: number;
458
+ exclusiveMinimum?: number | boolean;
459
+ maxLength?: number;
460
+ minLength?: number;
461
+ pattern?: string;
462
+ maxItems?: number;
463
+ minItems?: number;
464
+ uniqueItems?: boolean;
465
+ maxContains?: number;
466
+ minContains?: number;
467
+ maxProperties?: number;
468
+ minProperties?: number;
469
+ required?: string[];
470
+ dependentRequired?: Record<string, string[]>;
471
+ enum?: Array<string | number | boolean | null>;
472
+ const?: string | number | boolean | null;
473
+ id?: string;
474
+ title?: string;
475
+ description?: string;
476
+ default?: unknown;
477
+ deprecated?: boolean;
478
+ readOnly?: boolean;
479
+ writeOnly?: boolean;
480
+ nullable?: boolean;
481
+ examples?: unknown[];
482
+ format?: string;
483
+ contentMediaType?: string;
484
+ contentEncoding?: string;
485
+ contentSchema?: z.core.JSONSchema.JSONSchema;
486
+ _prefault?: unknown;
487
+ "~standard": z.core.ZodStandardSchemaWithJSON<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
488
+ };
489
+ scroll: {
490
+ [k: string]: unknown;
491
+ $id?: string;
492
+ $anchor?: string;
493
+ $ref?: string;
494
+ $dynamicRef?: string;
495
+ $dynamicAnchor?: string;
496
+ $vocabulary?: Record<string, boolean>;
497
+ $comment?: string;
498
+ $defs?: Record<string, z.core.JSONSchema.JSONSchema>;
499
+ type?: "object" | "array" | "string" | "number" | "boolean" | "null" | "integer";
500
+ additionalItems?: z.core.JSONSchema._JSONSchema;
501
+ unevaluatedItems?: z.core.JSONSchema._JSONSchema;
502
+ prefixItems?: z.core.JSONSchema._JSONSchema[];
503
+ items?: z.core.JSONSchema._JSONSchema | z.core.JSONSchema._JSONSchema[];
504
+ contains?: z.core.JSONSchema._JSONSchema;
505
+ additionalProperties?: z.core.JSONSchema._JSONSchema;
506
+ unevaluatedProperties?: z.core.JSONSchema._JSONSchema;
507
+ properties?: Record<string, z.core.JSONSchema._JSONSchema>;
508
+ patternProperties?: Record<string, z.core.JSONSchema._JSONSchema>;
509
+ dependentSchemas?: Record<string, z.core.JSONSchema._JSONSchema>;
510
+ propertyNames?: z.core.JSONSchema._JSONSchema;
511
+ if?: z.core.JSONSchema._JSONSchema;
512
+ then?: z.core.JSONSchema._JSONSchema;
513
+ else?: z.core.JSONSchema._JSONSchema;
514
+ allOf?: z.core.JSONSchema.JSONSchema[];
515
+ anyOf?: z.core.JSONSchema.JSONSchema[];
516
+ oneOf?: z.core.JSONSchema.JSONSchema[];
517
+ not?: z.core.JSONSchema._JSONSchema;
518
+ multipleOf?: number;
519
+ maximum?: number;
520
+ exclusiveMaximum?: number | boolean;
521
+ minimum?: number;
522
+ exclusiveMinimum?: number | boolean;
523
+ maxLength?: number;
524
+ minLength?: number;
525
+ pattern?: string;
526
+ maxItems?: number;
527
+ minItems?: number;
528
+ uniqueItems?: boolean;
529
+ maxContains?: number;
530
+ minContains?: number;
531
+ maxProperties?: number;
532
+ minProperties?: number;
533
+ required?: string[];
534
+ dependentRequired?: Record<string, string[]>;
535
+ enum?: Array<string | number | boolean | null>;
536
+ const?: string | number | boolean | null;
537
+ id?: string;
538
+ title?: string;
539
+ description?: string;
540
+ default?: unknown;
541
+ deprecated?: boolean;
542
+ readOnly?: boolean;
543
+ writeOnly?: boolean;
544
+ nullable?: boolean;
545
+ examples?: unknown[];
546
+ format?: string;
547
+ contentMediaType?: string;
548
+ contentEncoding?: string;
549
+ contentSchema?: z.core.JSONSchema.JSONSchema;
550
+ _prefault?: unknown;
551
+ "~standard": z.core.ZodStandardSchemaWithJSON<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
552
+ };
553
+ drag: {
554
+ [k: string]: unknown;
555
+ $id?: string;
556
+ $anchor?: string;
557
+ $ref?: string;
558
+ $dynamicRef?: string;
559
+ $dynamicAnchor?: string;
560
+ $vocabulary?: Record<string, boolean>;
561
+ $comment?: string;
562
+ $defs?: Record<string, z.core.JSONSchema.JSONSchema>;
563
+ type?: "object" | "array" | "string" | "number" | "boolean" | "null" | "integer";
564
+ additionalItems?: z.core.JSONSchema._JSONSchema;
565
+ unevaluatedItems?: z.core.JSONSchema._JSONSchema;
566
+ prefixItems?: z.core.JSONSchema._JSONSchema[];
567
+ items?: z.core.JSONSchema._JSONSchema | z.core.JSONSchema._JSONSchema[];
568
+ contains?: z.core.JSONSchema._JSONSchema;
569
+ additionalProperties?: z.core.JSONSchema._JSONSchema;
570
+ unevaluatedProperties?: z.core.JSONSchema._JSONSchema;
571
+ properties?: Record<string, z.core.JSONSchema._JSONSchema>;
572
+ patternProperties?: Record<string, z.core.JSONSchema._JSONSchema>;
573
+ dependentSchemas?: Record<string, z.core.JSONSchema._JSONSchema>;
574
+ propertyNames?: z.core.JSONSchema._JSONSchema;
575
+ if?: z.core.JSONSchema._JSONSchema;
576
+ then?: z.core.JSONSchema._JSONSchema;
577
+ else?: z.core.JSONSchema._JSONSchema;
578
+ allOf?: z.core.JSONSchema.JSONSchema[];
579
+ anyOf?: z.core.JSONSchema.JSONSchema[];
580
+ oneOf?: z.core.JSONSchema.JSONSchema[];
581
+ not?: z.core.JSONSchema._JSONSchema;
582
+ multipleOf?: number;
583
+ maximum?: number;
584
+ exclusiveMaximum?: number | boolean;
585
+ minimum?: number;
586
+ exclusiveMinimum?: number | boolean;
587
+ maxLength?: number;
588
+ minLength?: number;
589
+ pattern?: string;
590
+ maxItems?: number;
591
+ minItems?: number;
592
+ uniqueItems?: boolean;
593
+ maxContains?: number;
594
+ minContains?: number;
595
+ maxProperties?: number;
596
+ minProperties?: number;
597
+ required?: string[];
598
+ dependentRequired?: Record<string, string[]>;
599
+ enum?: Array<string | number | boolean | null>;
600
+ const?: string | number | boolean | null;
601
+ id?: string;
602
+ title?: string;
603
+ description?: string;
604
+ default?: unknown;
605
+ deprecated?: boolean;
606
+ readOnly?: boolean;
607
+ writeOnly?: boolean;
608
+ nullable?: boolean;
609
+ examples?: unknown[];
610
+ format?: string;
611
+ contentMediaType?: string;
612
+ contentEncoding?: string;
613
+ contentSchema?: z.core.JSONSchema.JSONSchema;
614
+ _prefault?: unknown;
615
+ "~standard": z.core.ZodStandardSchemaWithJSON<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
616
+ };
617
+ press_key: {
618
+ [k: string]: unknown;
619
+ $id?: string;
620
+ $anchor?: string;
621
+ $ref?: string;
622
+ $dynamicRef?: string;
623
+ $dynamicAnchor?: string;
624
+ $vocabulary?: Record<string, boolean>;
625
+ $comment?: string;
626
+ $defs?: Record<string, z.core.JSONSchema.JSONSchema>;
627
+ type?: "object" | "array" | "string" | "number" | "boolean" | "null" | "integer";
628
+ additionalItems?: z.core.JSONSchema._JSONSchema;
629
+ unevaluatedItems?: z.core.JSONSchema._JSONSchema;
630
+ prefixItems?: z.core.JSONSchema._JSONSchema[];
631
+ items?: z.core.JSONSchema._JSONSchema | z.core.JSONSchema._JSONSchema[];
632
+ contains?: z.core.JSONSchema._JSONSchema;
633
+ additionalProperties?: z.core.JSONSchema._JSONSchema;
634
+ unevaluatedProperties?: z.core.JSONSchema._JSONSchema;
635
+ properties?: Record<string, z.core.JSONSchema._JSONSchema>;
636
+ patternProperties?: Record<string, z.core.JSONSchema._JSONSchema>;
637
+ dependentSchemas?: Record<string, z.core.JSONSchema._JSONSchema>;
638
+ propertyNames?: z.core.JSONSchema._JSONSchema;
639
+ if?: z.core.JSONSchema._JSONSchema;
640
+ then?: z.core.JSONSchema._JSONSchema;
641
+ else?: z.core.JSONSchema._JSONSchema;
642
+ allOf?: z.core.JSONSchema.JSONSchema[];
643
+ anyOf?: z.core.JSONSchema.JSONSchema[];
644
+ oneOf?: z.core.JSONSchema.JSONSchema[];
645
+ not?: z.core.JSONSchema._JSONSchema;
646
+ multipleOf?: number;
647
+ maximum?: number;
648
+ exclusiveMaximum?: number | boolean;
649
+ minimum?: number;
650
+ exclusiveMinimum?: number | boolean;
651
+ maxLength?: number;
652
+ minLength?: number;
653
+ pattern?: string;
654
+ maxItems?: number;
655
+ minItems?: number;
656
+ uniqueItems?: boolean;
657
+ maxContains?: number;
658
+ minContains?: number;
659
+ maxProperties?: number;
660
+ minProperties?: number;
661
+ required?: string[];
662
+ dependentRequired?: Record<string, string[]>;
663
+ enum?: Array<string | number | boolean | null>;
664
+ const?: string | number | boolean | null;
665
+ id?: string;
666
+ title?: string;
667
+ description?: string;
668
+ default?: unknown;
669
+ deprecated?: boolean;
670
+ readOnly?: boolean;
671
+ writeOnly?: boolean;
672
+ nullable?: boolean;
673
+ examples?: unknown[];
674
+ format?: string;
675
+ contentMediaType?: string;
676
+ contentEncoding?: string;
677
+ contentSchema?: z.core.JSONSchema.JSONSchema;
678
+ _prefault?: unknown;
679
+ "~standard": z.core.ZodStandardSchemaWithJSON<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
680
+ };
681
+ type_text: {
682
+ [k: string]: unknown;
683
+ $id?: string;
684
+ $anchor?: string;
685
+ $ref?: string;
686
+ $dynamicRef?: string;
687
+ $dynamicAnchor?: string;
688
+ $vocabulary?: Record<string, boolean>;
689
+ $comment?: string;
690
+ $defs?: Record<string, z.core.JSONSchema.JSONSchema>;
691
+ type?: "object" | "array" | "string" | "number" | "boolean" | "null" | "integer";
692
+ additionalItems?: z.core.JSONSchema._JSONSchema;
693
+ unevaluatedItems?: z.core.JSONSchema._JSONSchema;
694
+ prefixItems?: z.core.JSONSchema._JSONSchema[];
695
+ items?: z.core.JSONSchema._JSONSchema | z.core.JSONSchema._JSONSchema[];
696
+ contains?: z.core.JSONSchema._JSONSchema;
697
+ additionalProperties?: z.core.JSONSchema._JSONSchema;
698
+ unevaluatedProperties?: z.core.JSONSchema._JSONSchema;
699
+ properties?: Record<string, z.core.JSONSchema._JSONSchema>;
700
+ patternProperties?: Record<string, z.core.JSONSchema._JSONSchema>;
701
+ dependentSchemas?: Record<string, z.core.JSONSchema._JSONSchema>;
702
+ propertyNames?: z.core.JSONSchema._JSONSchema;
703
+ if?: z.core.JSONSchema._JSONSchema;
704
+ then?: z.core.JSONSchema._JSONSchema;
705
+ else?: z.core.JSONSchema._JSONSchema;
706
+ allOf?: z.core.JSONSchema.JSONSchema[];
707
+ anyOf?: z.core.JSONSchema.JSONSchema[];
708
+ oneOf?: z.core.JSONSchema.JSONSchema[];
709
+ not?: z.core.JSONSchema._JSONSchema;
710
+ multipleOf?: number;
711
+ maximum?: number;
712
+ exclusiveMaximum?: number | boolean;
713
+ minimum?: number;
714
+ exclusiveMinimum?: number | boolean;
715
+ maxLength?: number;
716
+ minLength?: number;
717
+ pattern?: string;
718
+ maxItems?: number;
719
+ minItems?: number;
720
+ uniqueItems?: boolean;
721
+ maxContains?: number;
722
+ minContains?: number;
723
+ maxProperties?: number;
724
+ minProperties?: number;
725
+ required?: string[];
726
+ dependentRequired?: Record<string, string[]>;
727
+ enum?: Array<string | number | boolean | null>;
728
+ const?: string | number | boolean | null;
729
+ id?: string;
730
+ title?: string;
731
+ description?: string;
732
+ default?: unknown;
733
+ deprecated?: boolean;
734
+ readOnly?: boolean;
735
+ writeOnly?: boolean;
736
+ nullable?: boolean;
737
+ examples?: unknown[];
738
+ format?: string;
739
+ contentMediaType?: string;
740
+ contentEncoding?: string;
741
+ contentSchema?: z.core.JSONSchema.JSONSchema;
742
+ _prefault?: unknown;
743
+ "~standard": z.core.ZodStandardSchemaWithJSON<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
744
+ };
745
+ };
746
+ export {};