@nyte-ai/schema 0.0.24 → 0.0.25-beta.1

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/dist/chunks/{browser-xk4psyrx.js → browser-40skw1kj.js} +1 -1
  2. package/dist/chunks/{browser-fnanbp6m.js → browser-5w8ywd56.js} +5 -4
  3. package/dist/chunks/{browser-0chm3654.js → browser-82qzgxz4.js} +13 -2
  4. package/dist/chunks/{browser-qncc807c.js → browser-b1pzvhs6.js} +1 -1
  5. package/dist/chunks/{browser-h5k4hqfq.js → browser-b1zjf2es.js} +1 -1
  6. package/dist/chunks/{browser-ay8k1s1m.js → browser-fw8cf4fc.js} +2 -2
  7. package/dist/chunks/{browser-fe66aj8v.js → browser-kmkhr82d.js} +27 -9
  8. package/dist/chunks/{browser-s2xe7c21.js → browser-pk5dmvrr.js} +3 -3
  9. package/dist/chunks/{browser-etfrcxhb.js → browser-pvrs6rs5.js} +3 -3
  10. package/dist/chunks/{browser-xensz05x.js → browser-t7t9fc1r.js} +1 -1
  11. package/dist/chunks/{browser-gzn951k8.js → browser-ts4gc07c.js} +39 -4
  12. package/dist/chunks/{browser-hq5q56sf.js → browser-wqkhghw2.js} +15 -7
  13. package/dist/src/connection.js +4 -4
  14. package/dist/src/events.d.ts +108 -108
  15. package/dist/src/events.js +3 -3
  16. package/dist/src/heads.d.ts +20 -0
  17. package/dist/src/heads.js +8 -2
  18. package/dist/src/hooks.js +2 -2
  19. package/dist/src/ids.d.ts +1 -2
  20. package/dist/src/index.js +20 -12
  21. package/dist/src/mcp.d.ts +8 -8
  22. package/dist/src/messages.d.ts +8 -0
  23. package/dist/src/messages.js +4 -2
  24. package/dist/src/parts.d.ts +40 -40
  25. package/dist/src/runs.d.ts +12 -12
  26. package/dist/src/sessions.d.ts +8 -8
  27. package/dist/src/sessions.js +2 -2
  28. package/dist/src/store.d.ts +52 -52
  29. package/dist/src/store.js +4 -4
  30. package/dist/src/views.d.ts +502 -170
  31. package/dist/src/views.js +3 -3
  32. package/dist/src/wire/operations/browser.d.ts +119 -119
  33. package/dist/src/wire/operations/fields.d.ts +6 -6
  34. package/dist/src/wire/operations/files.d.ts +52 -52
  35. package/dist/src/wire/operations/git.d.ts +121 -121
  36. package/dist/src/wire/operations/github.d.ts +34 -34
  37. package/dist/src/wire/operations/host.d.ts +299 -298
  38. package/dist/src/wire/operations/host.js +6 -6
  39. package/dist/src/wire/operations/index.d.ts +4771 -4362
  40. package/dist/src/wire/operations/index.js +9 -9
  41. package/dist/src/wire/operations/session.d.ts +2511 -2103
  42. package/dist/src/wire/operations/session.js +5 -5
  43. package/dist/src/wire/operations/workspace.d.ts +244 -244
  44. package/dist/src/wire/operations/workspace.js +3 -3
  45. package/package.json +2 -3
package/dist/src/views.js CHANGED
@@ -15,13 +15,13 @@ import {
15
15
  SessionViewSchema2,
16
16
  HistoryPageSchema2,
17
17
  ViewFrameSchema2
18
- } from "../chunks/browser-fe66aj8v.js";
18
+ } from "../chunks/browser-kmkhr82d.js";
19
19
  import"../chunks/browser-t5xqtqzh.js";
20
20
  import"../chunks/browser-h86zs54a.js";
21
- import"../chunks/browser-xensz05x.js";
21
+ import"../chunks/browser-t7t9fc1r.js";
22
22
  import"../chunks/browser-bg1esaw0.js";
23
23
  import"../chunks/browser-8ancsy4m.js";
24
- import"../chunks/browser-hq5q56sf.js";
24
+ import"../chunks/browser-wqkhghw2.js";
25
25
  import"../chunks/browser-40enyw9r.js";
26
26
  import"../chunks/browser-m0wzr0g8.js";
27
27
  import"../chunks/browser-ynj8v9ad.js";
@@ -1,11 +1,14 @@
1
1
  export declare const BROWSER_OPERATIONS: {
2
2
  readonly "browser.open": {
3
+ readonly authority: "participant";
4
+ readonly scope: "workspace";
5
+ readonly capability: "browser";
3
6
  readonly kind: "command";
4
7
  readonly recovery: "replay";
5
8
  readonly input: import("../../schema.ts").Schema<{
6
- id?: string | undefined;
7
9
  workspace: import("../../ids.ts").Id<"workspace">;
8
10
  url: string;
11
+ id?: string | undefined;
9
12
  }>;
10
13
  readonly output: import("../../schema.ts").Schema<{
11
14
  readonly id: import("../../ids.ts").Id<"page">;
@@ -13,11 +16,11 @@ export declare const BROWSER_OPERATIONS: {
13
16
  readonly title: string;
14
17
  readonly holders: number;
15
18
  }>;
19
+ };
20
+ readonly "browser.adopt": {
16
21
  readonly authority: "participant";
17
22
  readonly scope: "workspace";
18
23
  readonly capability: "browser";
19
- };
20
- readonly "browser.adopt": {
21
24
  readonly kind: "command";
22
25
  readonly input: import("../../schema.ts").Schema<{
23
26
  workspace: import("../../ids.ts").Id<"workspace">;
@@ -29,11 +32,11 @@ export declare const BROWSER_OPERATIONS: {
29
32
  readonly title: string;
30
33
  readonly holders: number;
31
34
  }>;
35
+ };
36
+ readonly "browser.list": {
32
37
  readonly authority: "participant";
33
38
  readonly scope: "workspace";
34
39
  readonly capability: "browser";
35
- };
36
- readonly "browser.list": {
37
40
  readonly kind: "query";
38
41
  readonly input: import("../../schema.ts").Schema<{
39
42
  workspace: import("../../ids.ts").Id<"workspace">;
@@ -44,11 +47,11 @@ export declare const BROWSER_OPERATIONS: {
44
47
  title: string;
45
48
  holders: number;
46
49
  }[]>;
50
+ };
51
+ readonly "browser.watch": {
47
52
  readonly authority: "participant";
48
53
  readonly scope: "workspace";
49
54
  readonly capability: "browser";
50
- };
51
- readonly "browser.watch": {
52
55
  readonly kind: "watch";
53
56
  readonly input: import("../../schema.ts").Schema<{
54
57
  workspace: import("../../ids.ts").Id<"workspace">;
@@ -59,70 +62,70 @@ export declare const BROWSER_OPERATIONS: {
59
62
  title: string;
60
63
  holders: number;
61
64
  }[]>;
65
+ };
66
+ readonly "page.view": {
62
67
  readonly authority: "participant";
63
68
  readonly scope: "workspace";
64
69
  readonly capability: "browser";
65
- };
66
- readonly "page.view": {
67
70
  readonly kind: "query";
68
71
  readonly input: import("../../schema.ts").Schema<{
69
72
  workspace: import("../../ids.ts").Id<"workspace">;
70
73
  page: import("../../ids.ts").Id<"page">;
71
74
  }>;
72
75
  readonly output: import("../../schema.ts").Schema<{
73
- readonly revision: import("../../ids.ts").Id<"document-revision">;
74
76
  readonly id: import("../../ids.ts").Id<"page">;
75
77
  readonly url: string;
76
78
  readonly title: string;
77
79
  readonly loading: boolean;
80
+ readonly revision: import("../../ids.ts").Id<"document-revision">;
78
81
  readonly canGoBack: boolean;
79
82
  readonly canGoForward: boolean;
80
83
  }>;
84
+ };
85
+ readonly "page.watch": {
81
86
  readonly authority: "participant";
82
87
  readonly scope: "workspace";
83
88
  readonly capability: "browser";
84
- };
85
- readonly "page.watch": {
86
89
  readonly kind: "watch";
87
90
  readonly input: import("../../schema.ts").Schema<{
88
91
  workspace: import("../../ids.ts").Id<"workspace">;
89
92
  page: import("../../ids.ts").Id<"page">;
90
93
  }>;
91
94
  readonly output: import("../../schema.ts").Schema<{
92
- readonly revision: import("../../ids.ts").Id<"document-revision">;
93
95
  readonly id: import("../../ids.ts").Id<"page">;
94
96
  readonly url: string;
95
97
  readonly title: string;
96
98
  readonly loading: boolean;
99
+ readonly revision: import("../../ids.ts").Id<"document-revision">;
97
100
  readonly canGoBack: boolean;
98
101
  readonly canGoForward: boolean;
99
102
  }>;
103
+ };
104
+ readonly "page.snapshot": {
100
105
  readonly authority: "participant";
101
106
  readonly scope: "workspace";
102
107
  readonly capability: "browser";
103
- };
104
- readonly "page.snapshot": {
105
108
  readonly kind: "query";
106
109
  readonly input: import("../../schema.ts").Schema<{
107
- ref?: string | undefined;
108
110
  workspace: import("../../ids.ts").Id<"workspace">;
109
111
  page: import("../../ids.ts").Id<"page">;
112
+ ref?: string | undefined;
110
113
  }>;
111
114
  readonly output: import("../../schema.ts").Schema<{
112
115
  readonly revision: import("../../ids.ts").Id<"document-revision">;
113
116
  readonly nodes: readonly {
114
- readonly name: string;
115
117
  readonly ref: string;
116
118
  readonly role: string;
119
+ readonly name: string;
117
120
  readonly editable: boolean;
118
121
  readonly depth: number;
119
122
  }[];
120
123
  }>;
124
+ };
125
+ readonly "page.navigate": {
121
126
  readonly authority: "participant";
122
127
  readonly scope: "workspace";
123
128
  readonly capability: "browser";
124
- };
125
- readonly "page.navigate": {
126
129
  readonly kind: "command";
127
130
  readonly input: import("../../schema.ts").Schema<{
128
131
  workspace: import("../../ids.ts").Id<"workspace">;
@@ -130,306 +133,306 @@ export declare const BROWSER_OPERATIONS: {
130
133
  url: string;
131
134
  }>;
132
135
  readonly output: import("../../schema.ts").Schema<{
136
+ readonly kind: "applied";
133
137
  readonly snapshot: {
134
138
  readonly revision: import("../../ids.ts").Id<"document-revision">;
135
139
  readonly nodes: readonly {
136
- readonly name: string;
137
140
  readonly ref: string;
138
141
  readonly role: string;
142
+ readonly name: string;
139
143
  readonly editable: boolean;
140
144
  readonly depth: number;
141
145
  }[];
142
146
  };
143
- readonly kind: "applied";
144
147
  } | {
145
- readonly revision: import("../../ids.ts").Id<"document-revision">;
146
148
  readonly kind: "stale";
149
+ readonly revision: import("../../ids.ts").Id<"document-revision">;
147
150
  } | {
148
151
  readonly kind: "refused";
149
- readonly reason: "unknown-ref" | "occluded" | "not-visible" | "policy";
152
+ readonly reason: "not-visible" | "occluded" | "policy" | "unknown-ref";
150
153
  } | {
151
154
  readonly kind: "closed";
152
- readonly reason: "released" | "reclaimed" | "crashed";
155
+ readonly reason: "crashed" | "reclaimed" | "released";
153
156
  }>;
157
+ };
158
+ readonly "page.back": {
154
159
  readonly authority: "participant";
155
160
  readonly scope: "workspace";
156
161
  readonly capability: "browser";
157
- };
158
- readonly "page.back": {
159
162
  readonly kind: "command";
160
163
  readonly input: import("../../schema.ts").Schema<{
161
164
  workspace: import("../../ids.ts").Id<"workspace">;
162
165
  page: import("../../ids.ts").Id<"page">;
163
166
  }>;
164
167
  readonly output: import("../../schema.ts").Schema<{
168
+ readonly kind: "applied";
165
169
  readonly snapshot: {
166
170
  readonly revision: import("../../ids.ts").Id<"document-revision">;
167
171
  readonly nodes: readonly {
168
- readonly name: string;
169
172
  readonly ref: string;
170
173
  readonly role: string;
174
+ readonly name: string;
171
175
  readonly editable: boolean;
172
176
  readonly depth: number;
173
177
  }[];
174
178
  };
175
- readonly kind: "applied";
176
179
  } | {
177
- readonly revision: import("../../ids.ts").Id<"document-revision">;
178
180
  readonly kind: "stale";
181
+ readonly revision: import("../../ids.ts").Id<"document-revision">;
179
182
  } | {
180
183
  readonly kind: "refused";
181
- readonly reason: "unknown-ref" | "occluded" | "not-visible" | "policy";
184
+ readonly reason: "not-visible" | "occluded" | "policy" | "unknown-ref";
182
185
  } | {
183
186
  readonly kind: "closed";
184
- readonly reason: "released" | "reclaimed" | "crashed";
187
+ readonly reason: "crashed" | "reclaimed" | "released";
185
188
  }>;
189
+ };
190
+ readonly "page.forward": {
186
191
  readonly authority: "participant";
187
192
  readonly scope: "workspace";
188
193
  readonly capability: "browser";
189
- };
190
- readonly "page.forward": {
191
194
  readonly kind: "command";
192
195
  readonly input: import("../../schema.ts").Schema<{
193
196
  workspace: import("../../ids.ts").Id<"workspace">;
194
197
  page: import("../../ids.ts").Id<"page">;
195
198
  }>;
196
199
  readonly output: import("../../schema.ts").Schema<{
200
+ readonly kind: "applied";
197
201
  readonly snapshot: {
198
202
  readonly revision: import("../../ids.ts").Id<"document-revision">;
199
203
  readonly nodes: readonly {
200
- readonly name: string;
201
204
  readonly ref: string;
202
205
  readonly role: string;
206
+ readonly name: string;
203
207
  readonly editable: boolean;
204
208
  readonly depth: number;
205
209
  }[];
206
210
  };
207
- readonly kind: "applied";
208
211
  } | {
209
- readonly revision: import("../../ids.ts").Id<"document-revision">;
210
212
  readonly kind: "stale";
213
+ readonly revision: import("../../ids.ts").Id<"document-revision">;
211
214
  } | {
212
215
  readonly kind: "refused";
213
- readonly reason: "unknown-ref" | "occluded" | "not-visible" | "policy";
216
+ readonly reason: "not-visible" | "occluded" | "policy" | "unknown-ref";
214
217
  } | {
215
218
  readonly kind: "closed";
216
- readonly reason: "released" | "reclaimed" | "crashed";
219
+ readonly reason: "crashed" | "reclaimed" | "released";
217
220
  }>;
221
+ };
222
+ readonly "page.reload": {
218
223
  readonly authority: "participant";
219
224
  readonly scope: "workspace";
220
225
  readonly capability: "browser";
221
- };
222
- readonly "page.reload": {
223
226
  readonly kind: "command";
224
227
  readonly input: import("../../schema.ts").Schema<{
225
228
  workspace: import("../../ids.ts").Id<"workspace">;
226
229
  page: import("../../ids.ts").Id<"page">;
227
230
  }>;
228
231
  readonly output: import("../../schema.ts").Schema<{
232
+ readonly kind: "applied";
229
233
  readonly snapshot: {
230
234
  readonly revision: import("../../ids.ts").Id<"document-revision">;
231
235
  readonly nodes: readonly {
232
- readonly name: string;
233
236
  readonly ref: string;
234
237
  readonly role: string;
238
+ readonly name: string;
235
239
  readonly editable: boolean;
236
240
  readonly depth: number;
237
241
  }[];
238
242
  };
239
- readonly kind: "applied";
240
243
  } | {
241
- readonly revision: import("../../ids.ts").Id<"document-revision">;
242
244
  readonly kind: "stale";
245
+ readonly revision: import("../../ids.ts").Id<"document-revision">;
243
246
  } | {
244
247
  readonly kind: "refused";
245
- readonly reason: "unknown-ref" | "occluded" | "not-visible" | "policy";
248
+ readonly reason: "not-visible" | "occluded" | "policy" | "unknown-ref";
246
249
  } | {
247
250
  readonly kind: "closed";
248
- readonly reason: "released" | "reclaimed" | "crashed";
251
+ readonly reason: "crashed" | "reclaimed" | "released";
249
252
  }>;
253
+ };
254
+ readonly "page.stopLoading": {
250
255
  readonly authority: "participant";
251
256
  readonly scope: "workspace";
252
257
  readonly capability: "browser";
253
- };
254
- readonly "page.stopLoading": {
255
258
  readonly kind: "command";
256
259
  readonly input: import("../../schema.ts").Schema<{
257
260
  workspace: import("../../ids.ts").Id<"workspace">;
258
261
  page: import("../../ids.ts").Id<"page">;
259
262
  }>;
260
263
  readonly output: import("../../schema.ts").Schema<{
264
+ readonly kind: "applied";
261
265
  readonly snapshot: {
262
266
  readonly revision: import("../../ids.ts").Id<"document-revision">;
263
267
  readonly nodes: readonly {
264
- readonly name: string;
265
268
  readonly ref: string;
266
269
  readonly role: string;
270
+ readonly name: string;
267
271
  readonly editable: boolean;
268
272
  readonly depth: number;
269
273
  }[];
270
274
  };
271
- readonly kind: "applied";
272
275
  } | {
273
- readonly revision: import("../../ids.ts").Id<"document-revision">;
274
276
  readonly kind: "stale";
277
+ readonly revision: import("../../ids.ts").Id<"document-revision">;
275
278
  } | {
276
279
  readonly kind: "refused";
277
- readonly reason: "unknown-ref" | "occluded" | "not-visible" | "policy";
280
+ readonly reason: "not-visible" | "occluded" | "policy" | "unknown-ref";
278
281
  } | {
279
282
  readonly kind: "closed";
280
- readonly reason: "released" | "reclaimed" | "crashed";
283
+ readonly reason: "crashed" | "reclaimed" | "released";
281
284
  }>;
285
+ };
286
+ readonly "page.click": {
282
287
  readonly authority: "participant";
283
288
  readonly scope: "workspace";
284
289
  readonly capability: "browser";
285
- };
286
- readonly "page.click": {
287
290
  readonly kind: "command";
288
291
  readonly recovery: "never";
289
292
  readonly input: import("../../schema.ts").Schema<{
290
- expect?: import("../../ids.ts").Id<"document-revision"> | undefined;
291
- button?: "left" | "right" | "middle" | undefined;
292
- double?: boolean | undefined;
293
293
  workspace: import("../../ids.ts").Id<"workspace">;
294
294
  page: import("../../ids.ts").Id<"page">;
295
295
  ref: string;
296
+ button?: "left" | "middle" | "right" | undefined;
297
+ double?: boolean | undefined;
298
+ expect?: import("../../ids.ts").Id<"document-revision"> | undefined;
296
299
  }>;
297
300
  readonly output: import("../../schema.ts").Schema<{
301
+ readonly kind: "applied";
298
302
  readonly snapshot: {
299
303
  readonly revision: import("../../ids.ts").Id<"document-revision">;
300
304
  readonly nodes: readonly {
301
- readonly name: string;
302
305
  readonly ref: string;
303
306
  readonly role: string;
307
+ readonly name: string;
304
308
  readonly editable: boolean;
305
309
  readonly depth: number;
306
310
  }[];
307
311
  };
308
- readonly kind: "applied";
309
312
  } | {
310
- readonly revision: import("../../ids.ts").Id<"document-revision">;
311
313
  readonly kind: "stale";
314
+ readonly revision: import("../../ids.ts").Id<"document-revision">;
312
315
  } | {
313
316
  readonly kind: "refused";
314
- readonly reason: "unknown-ref" | "occluded" | "not-visible" | "policy";
317
+ readonly reason: "not-visible" | "occluded" | "policy" | "unknown-ref";
315
318
  } | {
316
319
  readonly kind: "closed";
317
- readonly reason: "released" | "reclaimed" | "crashed";
320
+ readonly reason: "crashed" | "reclaimed" | "released";
318
321
  }>;
322
+ };
323
+ readonly "page.type": {
319
324
  readonly authority: "participant";
320
325
  readonly scope: "workspace";
321
326
  readonly capability: "browser";
322
- };
323
- readonly "page.type": {
324
327
  readonly kind: "command";
325
328
  readonly recovery: "never";
326
329
  readonly input: import("../../schema.ts").Schema<{
327
- expect?: import("../../ids.ts").Id<"document-revision"> | undefined;
328
- clear?: boolean | undefined;
329
- submit?: boolean | undefined;
330
330
  workspace: import("../../ids.ts").Id<"workspace">;
331
331
  page: import("../../ids.ts").Id<"page">;
332
332
  ref: string;
333
333
  text: string;
334
+ clear?: boolean | undefined;
335
+ submit?: boolean | undefined;
336
+ expect?: import("../../ids.ts").Id<"document-revision"> | undefined;
334
337
  }>;
335
338
  readonly output: import("../../schema.ts").Schema<{
339
+ readonly kind: "applied";
336
340
  readonly snapshot: {
337
341
  readonly revision: import("../../ids.ts").Id<"document-revision">;
338
342
  readonly nodes: readonly {
339
- readonly name: string;
340
343
  readonly ref: string;
341
344
  readonly role: string;
345
+ readonly name: string;
342
346
  readonly editable: boolean;
343
347
  readonly depth: number;
344
348
  }[];
345
349
  };
346
- readonly kind: "applied";
347
350
  } | {
348
- readonly revision: import("../../ids.ts").Id<"document-revision">;
349
351
  readonly kind: "stale";
352
+ readonly revision: import("../../ids.ts").Id<"document-revision">;
350
353
  } | {
351
354
  readonly kind: "refused";
352
- readonly reason: "unknown-ref" | "occluded" | "not-visible" | "policy";
355
+ readonly reason: "not-visible" | "occluded" | "policy" | "unknown-ref";
353
356
  } | {
354
357
  readonly kind: "closed";
355
- readonly reason: "released" | "reclaimed" | "crashed";
358
+ readonly reason: "crashed" | "reclaimed" | "released";
356
359
  }>;
360
+ };
361
+ readonly "page.press": {
357
362
  readonly authority: "participant";
358
363
  readonly scope: "workspace";
359
364
  readonly capability: "browser";
360
- };
361
- readonly "page.press": {
362
365
  readonly kind: "command";
363
366
  readonly recovery: "never";
364
367
  readonly input: import("../../schema.ts").Schema<{
365
- ref?: string | undefined;
366
- key: string;
367
368
  workspace: import("../../ids.ts").Id<"workspace">;
368
369
  page: import("../../ids.ts").Id<"page">;
370
+ key: string;
371
+ ref?: string | undefined;
369
372
  }>;
370
373
  readonly output: import("../../schema.ts").Schema<{
374
+ readonly kind: "applied";
371
375
  readonly snapshot: {
372
376
  readonly revision: import("../../ids.ts").Id<"document-revision">;
373
377
  readonly nodes: readonly {
374
- readonly name: string;
375
378
  readonly ref: string;
376
379
  readonly role: string;
380
+ readonly name: string;
377
381
  readonly editable: boolean;
378
382
  readonly depth: number;
379
383
  }[];
380
384
  };
381
- readonly kind: "applied";
382
385
  } | {
383
- readonly revision: import("../../ids.ts").Id<"document-revision">;
384
386
  readonly kind: "stale";
387
+ readonly revision: import("../../ids.ts").Id<"document-revision">;
385
388
  } | {
386
389
  readonly kind: "refused";
387
- readonly reason: "unknown-ref" | "occluded" | "not-visible" | "policy";
390
+ readonly reason: "not-visible" | "occluded" | "policy" | "unknown-ref";
388
391
  } | {
389
392
  readonly kind: "closed";
390
- readonly reason: "released" | "reclaimed" | "crashed";
393
+ readonly reason: "crashed" | "reclaimed" | "released";
391
394
  }>;
395
+ };
396
+ readonly "page.scroll": {
392
397
  readonly authority: "participant";
393
398
  readonly scope: "workspace";
394
399
  readonly capability: "browser";
395
- };
396
- readonly "page.scroll": {
397
400
  readonly kind: "command";
398
401
  readonly recovery: "never";
399
402
  readonly input: import("../../schema.ts").Schema<{
400
- ref?: string | undefined;
401
- pages?: number | undefined;
402
403
  workspace: import("../../ids.ts").Id<"workspace">;
403
404
  page: import("../../ids.ts").Id<"page">;
404
- direction: "up" | "down" | "top" | "bottom";
405
+ direction: "bottom" | "down" | "top" | "up";
406
+ ref?: string | undefined;
407
+ pages?: number | undefined;
405
408
  }>;
406
409
  readonly output: import("../../schema.ts").Schema<{
410
+ readonly kind: "applied";
407
411
  readonly snapshot: {
408
412
  readonly revision: import("../../ids.ts").Id<"document-revision">;
409
413
  readonly nodes: readonly {
410
- readonly name: string;
411
414
  readonly ref: string;
412
415
  readonly role: string;
416
+ readonly name: string;
413
417
  readonly editable: boolean;
414
418
  readonly depth: number;
415
419
  }[];
416
420
  };
417
- readonly kind: "applied";
418
421
  } | {
419
- readonly revision: import("../../ids.ts").Id<"document-revision">;
420
422
  readonly kind: "stale";
423
+ readonly revision: import("../../ids.ts").Id<"document-revision">;
421
424
  } | {
422
425
  readonly kind: "refused";
423
- readonly reason: "unknown-ref" | "occluded" | "not-visible" | "policy";
426
+ readonly reason: "not-visible" | "occluded" | "policy" | "unknown-ref";
424
427
  } | {
425
428
  readonly kind: "closed";
426
- readonly reason: "released" | "reclaimed" | "crashed";
429
+ readonly reason: "crashed" | "reclaimed" | "released";
427
430
  }>;
431
+ };
432
+ readonly "page.wait": {
428
433
  readonly authority: "participant";
429
434
  readonly scope: "workspace";
430
435
  readonly capability: "browser";
431
- };
432
- readonly "page.wait": {
433
436
  readonly kind: "query";
434
437
  readonly input: import("../../schema.ts").Schema<{
435
438
  workspace: import("../../ids.ts").Id<"workspace">;
@@ -437,8 +440,8 @@ export declare const BROWSER_OPERATIONS: {
437
440
  condition: {
438
441
  kind: "loaded";
439
442
  } | {
440
- text: string;
441
443
  kind: "text";
444
+ text: string;
442
445
  present: boolean;
443
446
  } | {
444
447
  kind: "delay";
@@ -446,90 +449,87 @@ export declare const BROWSER_OPERATIONS: {
446
449
  };
447
450
  }>;
448
451
  readonly output: import("../../schema.ts").Schema<{
452
+ readonly kind: "applied";
449
453
  readonly snapshot: {
450
454
  readonly revision: import("../../ids.ts").Id<"document-revision">;
451
455
  readonly nodes: readonly {
452
- readonly name: string;
453
456
  readonly ref: string;
454
457
  readonly role: string;
458
+ readonly name: string;
455
459
  readonly editable: boolean;
456
460
  readonly depth: number;
457
461
  }[];
458
462
  };
459
- readonly kind: "applied";
460
463
  } | {
461
- readonly revision: import("../../ids.ts").Id<"document-revision">;
462
464
  readonly kind: "stale";
465
+ readonly revision: import("../../ids.ts").Id<"document-revision">;
463
466
  } | {
464
467
  readonly kind: "refused";
465
- readonly reason: "unknown-ref" | "occluded" | "not-visible" | "policy";
468
+ readonly reason: "not-visible" | "occluded" | "policy" | "unknown-ref";
466
469
  } | {
467
470
  readonly kind: "closed";
468
- readonly reason: "released" | "reclaimed" | "crashed";
471
+ readonly reason: "crashed" | "reclaimed" | "released";
469
472
  }>;
473
+ };
474
+ readonly "page.console": {
470
475
  readonly authority: "participant";
471
476
  readonly scope: "workspace";
472
477
  readonly capability: "browser";
473
- };
474
- readonly "page.console": {
475
478
  readonly kind: "command";
476
479
  readonly input: import("../../schema.ts").Schema<{
477
- limit?: number | undefined;
478
- clear?: boolean | undefined;
479
480
  workspace: import("../../ids.ts").Id<"workspace">;
480
481
  page: import("../../ids.ts").Id<"page">;
482
+ limit?: number | undefined;
483
+ clear?: boolean | undefined;
481
484
  }>;
482
485
  readonly output: import("../../schema.ts").Schema<{
483
- at: number;
484
- level: "log" | "info" | "warn" | "error";
486
+ level: "error" | "info" | "log" | "warn";
485
487
  text: string;
488
+ at: number;
486
489
  }[]>;
490
+ };
491
+ readonly "page.capture": {
487
492
  readonly authority: "participant";
488
493
  readonly scope: "workspace";
489
494
  readonly capability: "browser";
490
- };
491
- readonly "page.capture": {
492
495
  readonly kind: "stream";
493
496
  readonly input: import("../../schema.ts").Schema<{
494
497
  workspace: import("../../ids.ts").Id<"workspace">;
495
498
  page: import("../../ids.ts").Id<"page">;
496
499
  }>;
497
500
  readonly output: import("../../schema.ts").Schema<Uint8Array<ArrayBufferLike>>;
501
+ };
502
+ readonly "page.evaluate": {
498
503
  readonly authority: "participant";
499
504
  readonly scope: "workspace";
500
505
  readonly capability: "browser";
501
- };
502
- readonly "page.evaluate": {
503
506
  readonly kind: "command";
504
507
  readonly recovery: "never";
505
508
  readonly input: import("../../schema.ts").Schema<{
506
- options?: {
507
- ref?: string | undefined;
508
- } | undefined;
509
509
  workspace: import("../../ids.ts").Id<"workspace">;
510
510
  page: import("../../ids.ts").Id<"page">;
511
511
  expression: string;
512
+ options?: {
513
+ ref?: string | undefined;
514
+ } | undefined;
512
515
  }>;
513
516
  readonly output: import("../../schema.ts").Schema<{
514
- value: import("../../json.ts").Json;
515
517
  kind: "value";
518
+ value: import("../../json.ts").Json;
516
519
  } | {
517
- message: string;
518
520
  kind: "threw";
521
+ message: string;
519
522
  }>;
523
+ };
524
+ readonly "page.close": {
520
525
  readonly authority: "participant";
521
526
  readonly scope: "workspace";
522
527
  readonly capability: "browser";
523
- };
524
- readonly "page.close": {
525
528
  readonly kind: "command";
526
529
  readonly input: import("../../schema.ts").Schema<{
527
530
  workspace: import("../../ids.ts").Id<"workspace">;
528
531
  page: import("../../ids.ts").Id<"page">;
529
532
  }>;
530
533
  readonly output: import("../../schema.ts").Schema<null>;
531
- readonly authority: "participant";
532
- readonly scope: "workspace";
533
- readonly capability: "browser";
534
534
  };
535
535
  };