@nyte-ai/schema 0.0.23 → 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 (46) hide show
  1. package/THIRD-PARTY-NOTICES.md +2 -38
  2. package/dist/chunks/{browser-xk4psyrx.js → browser-40skw1kj.js} +1 -1
  3. package/dist/chunks/{browser-fnanbp6m.js → browser-5w8ywd56.js} +5 -4
  4. package/dist/chunks/{browser-0chm3654.js → browser-82qzgxz4.js} +13 -2
  5. package/dist/chunks/{browser-qncc807c.js → browser-b1pzvhs6.js} +1 -1
  6. package/dist/chunks/{browser-h5k4hqfq.js → browser-b1zjf2es.js} +1 -1
  7. package/dist/chunks/{browser-ay8k1s1m.js → browser-fw8cf4fc.js} +2 -2
  8. package/dist/chunks/{browser-fe66aj8v.js → browser-kmkhr82d.js} +27 -9
  9. package/dist/chunks/{browser-s2xe7c21.js → browser-pk5dmvrr.js} +3 -3
  10. package/dist/chunks/{browser-etfrcxhb.js → browser-pvrs6rs5.js} +3 -3
  11. package/dist/chunks/{browser-xensz05x.js → browser-t7t9fc1r.js} +1 -1
  12. package/dist/chunks/{browser-gzn951k8.js → browser-ts4gc07c.js} +39 -4
  13. package/dist/chunks/{browser-hq5q56sf.js → browser-wqkhghw2.js} +15 -7
  14. package/dist/src/connection.js +4 -4
  15. package/dist/src/events.d.ts +108 -108
  16. package/dist/src/events.js +3 -3
  17. package/dist/src/heads.d.ts +20 -0
  18. package/dist/src/heads.js +8 -2
  19. package/dist/src/hooks.js +2 -2
  20. package/dist/src/ids.d.ts +1 -2
  21. package/dist/src/index.js +20 -12
  22. package/dist/src/mcp.d.ts +8 -8
  23. package/dist/src/messages.d.ts +8 -0
  24. package/dist/src/messages.js +4 -2
  25. package/dist/src/parts.d.ts +40 -40
  26. package/dist/src/runs.d.ts +12 -12
  27. package/dist/src/sessions.d.ts +8 -8
  28. package/dist/src/sessions.js +2 -2
  29. package/dist/src/store.d.ts +52 -52
  30. package/dist/src/store.js +4 -4
  31. package/dist/src/views.d.ts +502 -170
  32. package/dist/src/views.js +3 -3
  33. package/dist/src/wire/operations/browser.d.ts +119 -119
  34. package/dist/src/wire/operations/fields.d.ts +6 -6
  35. package/dist/src/wire/operations/files.d.ts +52 -52
  36. package/dist/src/wire/operations/git.d.ts +121 -121
  37. package/dist/src/wire/operations/github.d.ts +34 -34
  38. package/dist/src/wire/operations/host.d.ts +299 -298
  39. package/dist/src/wire/operations/host.js +6 -6
  40. package/dist/src/wire/operations/index.d.ts +4771 -4362
  41. package/dist/src/wire/operations/index.js +9 -9
  42. package/dist/src/wire/operations/session.d.ts +2511 -2103
  43. package/dist/src/wire/operations/session.js +5 -5
  44. package/dist/src/wire/operations/workspace.d.ts +244 -244
  45. package/dist/src/wire/operations/workspace.js +3 -3
  46. package/package.json +2 -3
@@ -1,5 +1,8 @@
1
1
  export declare const GIT_OPERATIONS: {
2
2
  readonly "git.status": {
3
+ readonly authority: "participant";
4
+ readonly scope: "workspace";
5
+ readonly capability: "git";
3
6
  readonly kind: "query";
4
7
  readonly input: import("../../schema.ts").Schema<{
5
8
  workspace: import("../../ids.ts").Id<"workspace">;
@@ -7,38 +10,38 @@ export declare const GIT_OPERATIONS: {
7
10
  readonly output: import("../../schema.ts").Schema<{
8
11
  readonly kind: "none";
9
12
  } | {
10
- readonly head: import("../../ids.ts").Id<"git-commit"> | null;
11
- readonly revision: import("../../ids.ts").Id<"git-revision">;
12
13
  readonly kind: "repository";
13
- readonly branch: string | null;
14
- readonly untracked: readonly string[];
15
14
  readonly root: string;
15
+ readonly head: import("../../ids.ts").Id<"git-commit"> | null;
16
+ readonly branch: string | null;
16
17
  readonly upstream: {
17
18
  readonly name: string;
18
19
  readonly ahead: number;
19
20
  readonly behind: number;
20
21
  } | null;
22
+ readonly revision: import("../../ids.ts").Id<"git-revision">;
21
23
  readonly staged: readonly {
22
- readonly from?: string | undefined;
23
24
  readonly path: string;
24
- readonly removed: number;
25
+ readonly status: "added" | "conflicted" | "deleted" | "modified" | "renamed" | "untracked";
25
26
  readonly added: number;
26
- readonly status: "added" | "modified" | "deleted" | "renamed" | "untracked" | "conflicted";
27
+ readonly removed: number;
28
+ readonly from?: string | undefined;
27
29
  }[];
28
30
  readonly unstaged: readonly {
29
- readonly from?: string | undefined;
30
31
  readonly path: string;
31
- readonly removed: number;
32
+ readonly status: "added" | "conflicted" | "deleted" | "modified" | "renamed" | "untracked";
32
33
  readonly added: number;
33
- readonly status: "added" | "modified" | "deleted" | "renamed" | "untracked" | "conflicted";
34
+ readonly removed: number;
35
+ readonly from?: string | undefined;
34
36
  }[];
37
+ readonly untracked: readonly string[];
35
38
  readonly conflicts: readonly string[];
36
39
  }>;
40
+ };
41
+ readonly "git.watch": {
37
42
  readonly authority: "participant";
38
43
  readonly scope: "workspace";
39
44
  readonly capability: "git";
40
- };
41
- readonly "git.watch": {
42
45
  readonly kind: "watch";
43
46
  readonly input: import("../../schema.ts").Schema<{
44
47
  workspace: import("../../ids.ts").Id<"workspace">;
@@ -46,43 +49,40 @@ export declare const GIT_OPERATIONS: {
46
49
  readonly output: import("../../schema.ts").Schema<{
47
50
  readonly kind: "none";
48
51
  } | {
49
- readonly head: import("../../ids.ts").Id<"git-commit"> | null;
50
- readonly revision: import("../../ids.ts").Id<"git-revision">;
51
52
  readonly kind: "repository";
52
- readonly branch: string | null;
53
- readonly untracked: readonly string[];
54
53
  readonly root: string;
54
+ readonly head: import("../../ids.ts").Id<"git-commit"> | null;
55
+ readonly branch: string | null;
55
56
  readonly upstream: {
56
57
  readonly name: string;
57
58
  readonly ahead: number;
58
59
  readonly behind: number;
59
60
  } | null;
61
+ readonly revision: import("../../ids.ts").Id<"git-revision">;
60
62
  readonly staged: readonly {
61
- readonly from?: string | undefined;
62
63
  readonly path: string;
63
- readonly removed: number;
64
+ readonly status: "added" | "conflicted" | "deleted" | "modified" | "renamed" | "untracked";
64
65
  readonly added: number;
65
- readonly status: "added" | "modified" | "deleted" | "renamed" | "untracked" | "conflicted";
66
+ readonly removed: number;
67
+ readonly from?: string | undefined;
66
68
  }[];
67
69
  readonly unstaged: readonly {
68
- readonly from?: string | undefined;
69
70
  readonly path: string;
70
- readonly removed: number;
71
+ readonly status: "added" | "conflicted" | "deleted" | "modified" | "renamed" | "untracked";
71
72
  readonly added: number;
72
- readonly status: "added" | "modified" | "deleted" | "renamed" | "untracked" | "conflicted";
73
+ readonly removed: number;
74
+ readonly from?: string | undefined;
73
75
  }[];
76
+ readonly untracked: readonly string[];
74
77
  readonly conflicts: readonly string[];
75
78
  }>;
79
+ };
80
+ readonly "git.changes": {
76
81
  readonly authority: "participant";
77
82
  readonly scope: "workspace";
78
83
  readonly capability: "git";
79
- };
80
- readonly "git.changes": {
81
84
  readonly kind: "query";
82
85
  readonly input: import("../../schema.ts").Schema<{
83
- options?: {
84
- ignoreWhitespace?: boolean | undefined;
85
- } | undefined;
86
86
  workspace: import("../../ids.ts").Id<"workspace">;
87
87
  scope: {
88
88
  kind: "worktree";
@@ -91,40 +91,40 @@ export declare const GIT_OPERATIONS: {
91
91
  } | {
92
92
  kind: "unstaged";
93
93
  } | {
94
- commit: import("../../ids.ts").Id<"git-commit">;
95
94
  kind: "commit";
95
+ commit: import("../../ids.ts").Id<"git-commit">;
96
96
  } | {
97
97
  kind: "branch";
98
98
  base: string;
99
99
  };
100
+ options?: {
101
+ ignoreWhitespace?: boolean | undefined;
102
+ } | undefined;
100
103
  }>;
101
104
  readonly output: import("../../schema.ts").Schema<{
102
- readonly revision: import("../../ids.ts").Id<"snapshot"> | import("../../ids.ts").Id<"git-revision">;
105
+ readonly revision: import("../../ids.ts").Id<"git-revision"> | import("../../ids.ts").Id<"snapshot">;
103
106
  readonly files: readonly {
104
- readonly from?: string | undefined;
105
107
  readonly path: string;
106
- readonly status: "added" | "modified" | "deleted" | "renamed" | "untracked" | "conflicted";
108
+ readonly status: "added" | "conflicted" | "deleted" | "modified" | "renamed" | "untracked";
107
109
  readonly stat: {
108
110
  readonly kind: "text";
109
- readonly removed: number;
110
111
  readonly added: number;
112
+ readonly removed: number;
111
113
  } | {
112
114
  readonly kind: "binary";
113
115
  } | {
114
116
  readonly kind: "unknown";
115
117
  };
118
+ readonly from?: string | undefined;
116
119
  }[];
117
120
  }>;
121
+ };
122
+ readonly "git.watchChanges": {
118
123
  readonly authority: "participant";
119
124
  readonly scope: "workspace";
120
125
  readonly capability: "git";
121
- };
122
- readonly "git.watchChanges": {
123
126
  readonly kind: "watch";
124
127
  readonly input: import("../../schema.ts").Schema<{
125
- options?: {
126
- ignoreWhitespace?: boolean | undefined;
127
- } | undefined;
128
128
  workspace: import("../../ids.ts").Id<"workspace">;
129
129
  scope: {
130
130
  kind: "worktree";
@@ -133,40 +133,40 @@ export declare const GIT_OPERATIONS: {
133
133
  } | {
134
134
  kind: "unstaged";
135
135
  } | {
136
- commit: import("../../ids.ts").Id<"git-commit">;
137
136
  kind: "commit";
137
+ commit: import("../../ids.ts").Id<"git-commit">;
138
138
  } | {
139
139
  kind: "branch";
140
140
  base: string;
141
141
  };
142
+ options?: {
143
+ ignoreWhitespace?: boolean | undefined;
144
+ } | undefined;
142
145
  }>;
143
146
  readonly output: import("../../schema.ts").Schema<{
144
- readonly revision: import("../../ids.ts").Id<"snapshot"> | import("../../ids.ts").Id<"git-revision">;
147
+ readonly revision: import("../../ids.ts").Id<"git-revision"> | import("../../ids.ts").Id<"snapshot">;
145
148
  readonly files: readonly {
146
- readonly from?: string | undefined;
147
149
  readonly path: string;
148
- readonly status: "added" | "modified" | "deleted" | "renamed" | "untracked" | "conflicted";
150
+ readonly status: "added" | "conflicted" | "deleted" | "modified" | "renamed" | "untracked";
149
151
  readonly stat: {
150
152
  readonly kind: "text";
151
- readonly removed: number;
152
153
  readonly added: number;
154
+ readonly removed: number;
153
155
  } | {
154
156
  readonly kind: "binary";
155
157
  } | {
156
158
  readonly kind: "unknown";
157
159
  };
160
+ readonly from?: string | undefined;
158
161
  }[];
159
162
  }>;
163
+ };
164
+ readonly "git.patches": {
160
165
  readonly authority: "participant";
161
166
  readonly scope: "workspace";
162
167
  readonly capability: "git";
163
- };
164
- readonly "git.patches": {
165
168
  readonly kind: "stream";
166
169
  readonly input: import("../../schema.ts").Schema<{
167
- options?: {
168
- ignoreWhitespace?: boolean | undefined;
169
- } | undefined;
170
170
  workspace: import("../../ids.ts").Id<"workspace">;
171
171
  scope: {
172
172
  kind: "worktree";
@@ -175,60 +175,63 @@ export declare const GIT_OPERATIONS: {
175
175
  } | {
176
176
  kind: "unstaged";
177
177
  } | {
178
- commit: import("../../ids.ts").Id<"git-commit">;
179
178
  kind: "commit";
179
+ commit: import("../../ids.ts").Id<"git-commit">;
180
180
  } | {
181
181
  kind: "branch";
182
182
  base: string;
183
183
  };
184
+ options?: {
185
+ ignoreWhitespace?: boolean | undefined;
186
+ } | undefined;
184
187
  paths: string[];
185
188
  }>;
186
189
  readonly output: import("../../schema.ts").Schema<{
190
+ readonly revision: import("../../ids.ts").Id<"git-revision"> | import("../../ids.ts").Id<"snapshot">;
187
191
  readonly entries: {
188
192
  readonly [x: string]: {
189
- readonly kind: "text";
190
193
  readonly path: string;
191
- readonly removed: number;
194
+ readonly status: "added" | "conflicted" | "deleted" | "modified" | "renamed" | "untracked";
195
+ readonly digest: string;
196
+ readonly kind: "text";
192
197
  readonly added: number;
193
- readonly status: "added" | "modified" | "deleted" | "renamed" | "untracked" | "conflicted";
198
+ readonly removed: number;
194
199
  readonly patch: string;
195
- readonly digest: string;
196
200
  readonly fresh: boolean;
197
201
  } | {
198
- readonly kind: "binary";
199
202
  readonly path: string;
200
- readonly status: "added" | "modified" | "deleted" | "renamed" | "untracked" | "conflicted";
203
+ readonly status: "added" | "conflicted" | "deleted" | "modified" | "renamed" | "untracked";
201
204
  readonly digest: string;
205
+ readonly kind: "binary";
202
206
  readonly fresh: boolean;
203
207
  } | {
204
- readonly kind: "empty";
205
208
  readonly path: string;
206
- readonly status: "added" | "modified" | "deleted" | "renamed" | "untracked" | "conflicted";
209
+ readonly status: "added" | "conflicted" | "deleted" | "modified" | "renamed" | "untracked";
207
210
  readonly digest: string;
211
+ readonly kind: "empty";
208
212
  readonly fresh: boolean;
209
213
  } | {
210
- readonly kind: "too-large";
211
- readonly limit: number;
212
214
  readonly path: string;
213
- readonly status: "added" | "modified" | "deleted" | "renamed" | "untracked" | "conflicted";
215
+ readonly status: "added" | "conflicted" | "deleted" | "modified" | "renamed" | "untracked";
214
216
  readonly digest: string;
217
+ readonly kind: "too-large";
218
+ readonly limit: number;
215
219
  readonly fresh: boolean;
216
220
  } | {
217
- readonly kind: "failed";
218
- readonly reason: string;
219
221
  readonly path: string;
220
- readonly status: "added" | "modified" | "deleted" | "renamed" | "untracked" | "conflicted";
222
+ readonly status: "added" | "conflicted" | "deleted" | "modified" | "renamed" | "untracked";
221
223
  readonly digest: string;
224
+ readonly kind: "failed";
225
+ readonly reason: string;
222
226
  readonly fresh: boolean;
223
227
  };
224
228
  };
225
- readonly revision: import("../../ids.ts").Id<"snapshot"> | import("../../ids.ts").Id<"git-revision">;
226
229
  }>;
230
+ };
231
+ readonly "git.contents": {
227
232
  readonly authority: "participant";
228
233
  readonly scope: "workspace";
229
234
  readonly capability: "git";
230
- };
231
- readonly "git.contents": {
232
235
  readonly kind: "query";
233
236
  readonly input: import("../../schema.ts").Schema<{
234
237
  workspace: import("../../ids.ts").Id<"workspace">;
@@ -240,8 +243,8 @@ export declare const GIT_OPERATIONS: {
240
243
  } | {
241
244
  kind: "unstaged";
242
245
  } | {
243
- commit: import("../../ids.ts").Id<"git-commit">;
244
246
  kind: "commit";
247
+ commit: import("../../ids.ts").Id<"git-commit">;
245
248
  } | {
246
249
  kind: "branch";
247
250
  base: string;
@@ -252,36 +255,36 @@ export declare const GIT_OPERATIONS: {
252
255
  readonly old: {
253
256
  readonly kind: "absent";
254
257
  } | {
255
- readonly text: string;
256
258
  readonly kind: "text";
259
+ readonly text: string;
257
260
  } | {
258
- readonly head: string;
259
261
  readonly kind: "truncated";
262
+ readonly head: string;
260
263
  } | {
261
264
  readonly kind: "binary";
262
265
  };
263
266
  readonly new: {
264
267
  readonly kind: "absent";
265
268
  } | {
266
- readonly text: string;
267
269
  readonly kind: "text";
270
+ readonly text: string;
268
271
  } | {
269
- readonly head: string;
270
272
  readonly kind: "truncated";
273
+ readonly head: string;
271
274
  } | {
272
275
  readonly kind: "binary";
273
276
  };
274
277
  }>;
278
+ };
279
+ readonly "git.log": {
275
280
  readonly authority: "participant";
276
281
  readonly scope: "workspace";
277
282
  readonly capability: "git";
278
- };
279
- readonly "git.log": {
280
283
  readonly kind: "query";
281
284
  readonly input: import("../../schema.ts").Schema<{
285
+ workspace: import("../../ids.ts").Id<"workspace">;
282
286
  cursor?: import("../../ids.ts").Id<"cursor"> | undefined;
283
287
  limit?: number | undefined;
284
- workspace: import("../../ids.ts").Id<"workspace">;
285
288
  }>;
286
289
  readonly output: import("../../schema.ts").Schema<{
287
290
  items: {
@@ -293,11 +296,11 @@ export declare const GIT_OPERATIONS: {
293
296
  }[];
294
297
  next: import("../../ids.ts").Id<"cursor"> | null;
295
298
  }>;
299
+ };
300
+ readonly "git.refs": {
296
301
  readonly authority: "participant";
297
302
  readonly scope: "workspace";
298
303
  readonly capability: "git";
299
- };
300
- readonly "git.refs": {
301
304
  readonly kind: "query";
302
305
  readonly input: import("../../schema.ts").Schema<{
303
306
  workspace: import("../../ids.ts").Id<"workspace">;
@@ -311,11 +314,11 @@ export declare const GIT_OPERATIONS: {
311
314
  }[];
312
315
  readonly remotes: readonly string[];
313
316
  }>;
317
+ };
318
+ readonly "git.blame": {
314
319
  readonly authority: "participant";
315
320
  readonly scope: "workspace";
316
321
  readonly capability: "git";
317
- };
318
- readonly "git.blame": {
319
322
  readonly kind: "query";
320
323
  readonly input: import("../../schema.ts").Schema<{
321
324
  workspace: import("../../ids.ts").Id<"workspace">;
@@ -324,33 +327,33 @@ export declare const GIT_OPERATIONS: {
324
327
  readonly output: import("../../schema.ts").Schema<{
325
328
  readonly path: string;
326
329
  readonly lines: readonly {
327
- readonly at: number;
328
- readonly commit: import("../../ids.ts").Id<"git-commit">;
329
330
  readonly line: number;
331
+ readonly commit: import("../../ids.ts").Id<"git-commit">;
330
332
  readonly author: string;
333
+ readonly at: number;
331
334
  }[];
332
335
  }>;
333
- readonly authority: "participant";
334
- readonly scope: "workspace";
335
- readonly capability: "git";
336
336
  };
337
337
  readonly "git.stage": {
338
+ readonly authority: "owner";
339
+ readonly scope: "workspace";
340
+ readonly capability: "git";
338
341
  readonly kind: "command";
339
342
  readonly input: import("../../schema.ts").Schema<{
343
+ workspace: import("../../ids.ts").Id<"workspace">;
344
+ paths: string[];
340
345
  options?: {
341
346
  expect?: import("../../ids.ts").Id<"git-revision"> | undefined;
342
347
  } | undefined;
343
- workspace: import("../../ids.ts").Id<"workspace">;
344
- paths: string[];
345
348
  }>;
346
349
  readonly output: import("../../schema.ts").Schema<{
347
- readonly revision: import("../../ids.ts").Id<"git-revision">;
348
350
  readonly kind: "applied";
351
+ readonly revision: import("../../ids.ts").Id<"git-revision">;
349
352
  } | {
350
353
  readonly kind: "unchanged";
351
354
  } | {
352
- readonly revision: import("../../ids.ts").Id<"git-revision">;
353
355
  readonly kind: "stale";
356
+ readonly revision: import("../../ids.ts").Id<"git-revision">;
354
357
  } | {
355
358
  readonly kind: "busy";
356
359
  readonly runs: readonly import("../../ids.ts").Id<"run">[];
@@ -358,27 +361,27 @@ export declare const GIT_OPERATIONS: {
358
361
  readonly kind: "rejected";
359
362
  readonly reason: string;
360
363
  }>;
364
+ };
365
+ readonly "git.unstage": {
361
366
  readonly authority: "owner";
362
367
  readonly scope: "workspace";
363
368
  readonly capability: "git";
364
- };
365
- readonly "git.unstage": {
366
369
  readonly kind: "command";
367
370
  readonly input: import("../../schema.ts").Schema<{
371
+ workspace: import("../../ids.ts").Id<"workspace">;
372
+ paths: string[];
368
373
  options?: {
369
374
  expect?: import("../../ids.ts").Id<"git-revision"> | undefined;
370
375
  } | undefined;
371
- workspace: import("../../ids.ts").Id<"workspace">;
372
- paths: string[];
373
376
  }>;
374
377
  readonly output: import("../../schema.ts").Schema<{
375
- readonly revision: import("../../ids.ts").Id<"git-revision">;
376
378
  readonly kind: "applied";
379
+ readonly revision: import("../../ids.ts").Id<"git-revision">;
377
380
  } | {
378
381
  readonly kind: "unchanged";
379
382
  } | {
380
- readonly revision: import("../../ids.ts").Id<"git-revision">;
381
383
  readonly kind: "stale";
384
+ readonly revision: import("../../ids.ts").Id<"git-revision">;
382
385
  } | {
383
386
  readonly kind: "busy";
384
387
  readonly runs: readonly import("../../ids.ts").Id<"run">[];
@@ -386,27 +389,27 @@ export declare const GIT_OPERATIONS: {
386
389
  readonly kind: "rejected";
387
390
  readonly reason: string;
388
391
  }>;
392
+ };
393
+ readonly "git.discard": {
389
394
  readonly authority: "owner";
390
395
  readonly scope: "workspace";
391
396
  readonly capability: "git";
392
- };
393
- readonly "git.discard": {
394
397
  readonly kind: "command";
395
398
  readonly input: import("../../schema.ts").Schema<{
399
+ workspace: import("../../ids.ts").Id<"workspace">;
400
+ paths: string[];
396
401
  options?: {
397
402
  expect?: import("../../ids.ts").Id<"git-revision"> | undefined;
398
403
  } | undefined;
399
- workspace: import("../../ids.ts").Id<"workspace">;
400
- paths: string[];
401
404
  }>;
402
405
  readonly output: import("../../schema.ts").Schema<{
403
- readonly revision: import("../../ids.ts").Id<"git-revision">;
404
406
  readonly kind: "applied";
407
+ readonly revision: import("../../ids.ts").Id<"git-revision">;
405
408
  } | {
406
409
  readonly kind: "unchanged";
407
410
  } | {
408
- readonly revision: import("../../ids.ts").Id<"git-revision">;
409
411
  readonly kind: "stale";
412
+ readonly revision: import("../../ids.ts").Id<"git-revision">;
410
413
  } | {
411
414
  readonly kind: "busy";
412
415
  readonly runs: readonly import("../../ids.ts").Id<"run">[];
@@ -414,30 +417,30 @@ export declare const GIT_OPERATIONS: {
414
417
  readonly kind: "rejected";
415
418
  readonly reason: string;
416
419
  }>;
420
+ };
421
+ readonly "git.commit": {
417
422
  readonly authority: "owner";
418
423
  readonly scope: "workspace";
419
424
  readonly capability: "git";
420
- };
421
- readonly "git.commit": {
422
425
  readonly kind: "command";
423
426
  readonly input: import("../../schema.ts").Schema<{
424
- options?: {
425
- expect?: import("../../ids.ts").Id<"git-revision"> | undefined;
426
- } | undefined;
427
427
  workspace: import("../../ids.ts").Id<"workspace">;
428
428
  input: {
429
429
  message: string;
430
- files: string[] | "all" | "staged";
430
+ files: "all" | "staged" | string[];
431
431
  };
432
+ options?: {
433
+ expect?: import("../../ids.ts").Id<"git-revision"> | undefined;
434
+ } | undefined;
432
435
  }>;
433
436
  readonly output: import("../../schema.ts").Schema<{
434
- readonly revision: import("../../ids.ts").Id<"git-revision">;
435
437
  readonly kind: "applied";
438
+ readonly revision: import("../../ids.ts").Id<"git-revision">;
436
439
  } | {
437
440
  readonly kind: "unchanged";
438
441
  } | {
439
- readonly revision: import("../../ids.ts").Id<"git-revision">;
440
442
  readonly kind: "stale";
443
+ readonly revision: import("../../ids.ts").Id<"git-revision">;
441
444
  } | {
442
445
  readonly kind: "busy";
443
446
  readonly runs: readonly import("../../ids.ts").Id<"run">[];
@@ -445,30 +448,30 @@ export declare const GIT_OPERATIONS: {
445
448
  readonly kind: "rejected";
446
449
  readonly reason: string;
447
450
  }>;
451
+ };
452
+ readonly "git.branch": {
448
453
  readonly authority: "owner";
449
454
  readonly scope: "workspace";
450
455
  readonly capability: "git";
451
- };
452
- readonly "git.branch": {
453
456
  readonly kind: "command";
454
457
  readonly input: import("../../schema.ts").Schema<{
455
- options?: {
456
- expect?: import("../../ids.ts").Id<"git-revision"> | undefined;
457
- } | undefined;
458
458
  workspace: import("../../ids.ts").Id<"workspace">;
459
459
  input: {
460
460
  name: string;
461
461
  checkout: boolean;
462
462
  };
463
+ options?: {
464
+ expect?: import("../../ids.ts").Id<"git-revision"> | undefined;
465
+ } | undefined;
463
466
  }>;
464
467
  readonly output: import("../../schema.ts").Schema<{
465
- readonly revision: import("../../ids.ts").Id<"git-revision">;
466
468
  readonly kind: "applied";
469
+ readonly revision: import("../../ids.ts").Id<"git-revision">;
467
470
  } | {
468
471
  readonly kind: "unchanged";
469
472
  } | {
470
- readonly revision: import("../../ids.ts").Id<"git-revision">;
471
473
  readonly kind: "stale";
474
+ readonly revision: import("../../ids.ts").Id<"git-revision">;
472
475
  } | {
473
476
  readonly kind: "busy";
474
477
  readonly runs: readonly import("../../ids.ts").Id<"run">[];
@@ -476,29 +479,29 @@ export declare const GIT_OPERATIONS: {
476
479
  readonly kind: "rejected";
477
480
  readonly reason: string;
478
481
  }>;
482
+ };
483
+ readonly "git.push": {
479
484
  readonly authority: "owner";
480
485
  readonly scope: "workspace";
481
486
  readonly capability: "git";
482
- };
483
- readonly "git.push": {
484
487
  readonly kind: "command";
485
488
  readonly input: import("../../schema.ts").Schema<{
489
+ workspace: import("../../ids.ts").Id<"workspace">;
486
490
  input?: {
487
491
  setUpstream?: boolean | undefined;
488
492
  } | undefined;
489
493
  options?: {
490
494
  expect?: import("../../ids.ts").Id<"git-revision"> | undefined;
491
495
  } | undefined;
492
- workspace: import("../../ids.ts").Id<"workspace">;
493
496
  }>;
494
497
  readonly output: import("../../schema.ts").Schema<{
495
- readonly revision: import("../../ids.ts").Id<"git-revision">;
496
498
  readonly kind: "applied";
499
+ readonly revision: import("../../ids.ts").Id<"git-revision">;
497
500
  } | {
498
501
  readonly kind: "unchanged";
499
502
  } | {
500
- readonly revision: import("../../ids.ts").Id<"git-revision">;
501
503
  readonly kind: "stale";
504
+ readonly revision: import("../../ids.ts").Id<"git-revision">;
502
505
  } | {
503
506
  readonly kind: "busy";
504
507
  readonly runs: readonly import("../../ids.ts").Id<"run">[];
@@ -506,8 +509,5 @@ export declare const GIT_OPERATIONS: {
506
509
  readonly kind: "rejected";
507
510
  readonly reason: string;
508
511
  }>;
509
- readonly authority: "owner";
510
- readonly scope: "workspace";
511
- readonly capability: "git";
512
512
  };
513
513
  };