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