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