@intentic/extension-api 1.176.2 → 1.209.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +63 -13
- package/dist/api.d.ts +48 -1
- package/dist/api.d.ts.map +1 -1
- package/dist/diff.d.ts +20 -0
- package/dist/diff.d.ts.map +1 -0
- package/dist/diff.js +2 -0
- package/dist/diff.js.map +1 -0
- package/dist/engines.d.ts +2 -0
- package/dist/engines.d.ts.map +1 -0
- package/dist/engines.js +26 -0
- package/dist/engines.js.map +1 -0
- package/dist/facts.d.ts +1 -0
- package/dist/facts.d.ts.map +1 -1
- package/dist/host.d.ts +6 -0
- package/dist/host.d.ts.map +1 -0
- package/dist/host.js +15 -0
- package/dist/host.js.map +1 -0
- package/dist/index.d.ts +4 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/server.d.ts +21 -0
- package/dist/server.d.ts.map +1 -0
- package/dist/server.js +2 -0
- package/dist/server.js.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/package.json +5 -4
- package/src/api.ts +270 -5
- package/src/diff.ts +59 -0
- package/src/engines.ts +31 -0
- package/src/facts.ts +6 -0
- package/src/host.ts +29 -0
- package/src/index.ts +4 -2
- package/src/server.ts +65 -0
- package/src/surface.json +280 -0
- package/src/version.ts +33 -1
- package/dist/manifest.d.ts +0 -260
- package/dist/manifest.d.ts.map +0 -1
- package/dist/manifest.js +0 -136
- package/dist/manifest.js.map +0 -1
- package/dist/permissions.d.ts +0 -2
- package/dist/permissions.d.ts.map +0 -1
- package/dist/permissions.js +0 -21
- package/dist/permissions.js.map +0 -1
- package/src/manifest.ts +0 -275
- package/src/permissions.ts +0 -36
package/src/surface.json
ADDED
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+
{
|
|
2
|
+
"1.0.0": {
|
|
3
|
+
"manifest": ["category", "contributes", "engines", "entry", "icon", "logo", "name", "permissions", "publisher", "version"],
|
|
4
|
+
"contributes": [
|
|
5
|
+
"agent",
|
|
6
|
+
"bin",
|
|
7
|
+
"capabilities",
|
|
8
|
+
"commands",
|
|
9
|
+
"documents",
|
|
10
|
+
"environment",
|
|
11
|
+
"files",
|
|
12
|
+
"listener",
|
|
13
|
+
"processes",
|
|
14
|
+
"settings",
|
|
15
|
+
"viewers",
|
|
16
|
+
"views"
|
|
17
|
+
],
|
|
18
|
+
"api": [
|
|
19
|
+
"apiVersion",
|
|
20
|
+
"chat",
|
|
21
|
+
"commands",
|
|
22
|
+
"documents",
|
|
23
|
+
"models",
|
|
24
|
+
"navigate",
|
|
25
|
+
"processes",
|
|
26
|
+
"route",
|
|
27
|
+
"sandbox",
|
|
28
|
+
"settings",
|
|
29
|
+
"terminal",
|
|
30
|
+
"theme",
|
|
31
|
+
"viewers",
|
|
32
|
+
"views",
|
|
33
|
+
"workspace"
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
"2.0.0": {
|
|
37
|
+
"manifest": ["category", "contributes", "engines", "entry", "icon", "logo", "name", "permissions", "publisher", "version"],
|
|
38
|
+
"contributes": [
|
|
39
|
+
"agent",
|
|
40
|
+
"bin",
|
|
41
|
+
"capabilities",
|
|
42
|
+
"commands",
|
|
43
|
+
"documents",
|
|
44
|
+
"environment",
|
|
45
|
+
"files",
|
|
46
|
+
"listener",
|
|
47
|
+
"processes",
|
|
48
|
+
"settings",
|
|
49
|
+
"viewers",
|
|
50
|
+
"views"
|
|
51
|
+
],
|
|
52
|
+
"api": [
|
|
53
|
+
"apiVersion",
|
|
54
|
+
"chat",
|
|
55
|
+
"commands",
|
|
56
|
+
"documents",
|
|
57
|
+
"models",
|
|
58
|
+
"navigate",
|
|
59
|
+
"processes",
|
|
60
|
+
"route",
|
|
61
|
+
"sandbox",
|
|
62
|
+
"settings",
|
|
63
|
+
"terminal",
|
|
64
|
+
"theme",
|
|
65
|
+
"viewers",
|
|
66
|
+
"views",
|
|
67
|
+
"workspace"
|
|
68
|
+
],
|
|
69
|
+
"listener": ["automation", "events", "provider"]
|
|
70
|
+
},
|
|
71
|
+
"2.1.0": {
|
|
72
|
+
"manifest": ["category", "contributes", "engines", "entry", "icon", "logo", "name", "permissions", "publisher", "server", "version"],
|
|
73
|
+
"contributes": [
|
|
74
|
+
"agent",
|
|
75
|
+
"bin",
|
|
76
|
+
"capabilities",
|
|
77
|
+
"commands",
|
|
78
|
+
"documents",
|
|
79
|
+
"environment",
|
|
80
|
+
"files",
|
|
81
|
+
"listener",
|
|
82
|
+
"processes",
|
|
83
|
+
"settings",
|
|
84
|
+
"viewers",
|
|
85
|
+
"views"
|
|
86
|
+
],
|
|
87
|
+
"api": [
|
|
88
|
+
"apiVersion",
|
|
89
|
+
"chat",
|
|
90
|
+
"commands",
|
|
91
|
+
"documents",
|
|
92
|
+
"models",
|
|
93
|
+
"navigate",
|
|
94
|
+
"processes",
|
|
95
|
+
"route",
|
|
96
|
+
"sandbox",
|
|
97
|
+
"settings",
|
|
98
|
+
"terminal",
|
|
99
|
+
"theme",
|
|
100
|
+
"viewers",
|
|
101
|
+
"views",
|
|
102
|
+
"workspace"
|
|
103
|
+
],
|
|
104
|
+
"listener": ["automation", "events", "provider"]
|
|
105
|
+
},
|
|
106
|
+
"2.2.0": {
|
|
107
|
+
"manifest": ["category", "contributes", "engines", "entry", "icon", "logo", "name", "permissions", "publisher", "server", "version"],
|
|
108
|
+
"contributes": [
|
|
109
|
+
"agent",
|
|
110
|
+
"automationTemplates",
|
|
111
|
+
"bin",
|
|
112
|
+
"capabilities",
|
|
113
|
+
"commands",
|
|
114
|
+
"documents",
|
|
115
|
+
"environment",
|
|
116
|
+
"files",
|
|
117
|
+
"listener",
|
|
118
|
+
"processes",
|
|
119
|
+
"settings",
|
|
120
|
+
"viewers",
|
|
121
|
+
"views"
|
|
122
|
+
],
|
|
123
|
+
"api": [
|
|
124
|
+
"apiVersion",
|
|
125
|
+
"chat",
|
|
126
|
+
"commands",
|
|
127
|
+
"documents",
|
|
128
|
+
"models",
|
|
129
|
+
"navigate",
|
|
130
|
+
"processes",
|
|
131
|
+
"route",
|
|
132
|
+
"sandbox",
|
|
133
|
+
"settings",
|
|
134
|
+
"terminal",
|
|
135
|
+
"theme",
|
|
136
|
+
"viewers",
|
|
137
|
+
"views",
|
|
138
|
+
"workspace"
|
|
139
|
+
],
|
|
140
|
+
"listener": ["automation", "events", "provider"]
|
|
141
|
+
},
|
|
142
|
+
"2.3.0": {
|
|
143
|
+
"manifest": ["category", "contributes", "engines", "entry", "icon", "logo", "name", "permissions", "publisher", "server", "version"],
|
|
144
|
+
"contributes": [
|
|
145
|
+
"agent",
|
|
146
|
+
"automationTemplates",
|
|
147
|
+
"bin",
|
|
148
|
+
"capabilities",
|
|
149
|
+
"commands",
|
|
150
|
+
"documents",
|
|
151
|
+
"environment",
|
|
152
|
+
"files",
|
|
153
|
+
"listener",
|
|
154
|
+
"processes",
|
|
155
|
+
"settings",
|
|
156
|
+
"viewers",
|
|
157
|
+
"views"
|
|
158
|
+
],
|
|
159
|
+
"api": [
|
|
160
|
+
"apiVersion",
|
|
161
|
+
"chat",
|
|
162
|
+
"commands",
|
|
163
|
+
"documents",
|
|
164
|
+
"models",
|
|
165
|
+
"navigate",
|
|
166
|
+
"processes",
|
|
167
|
+
"route",
|
|
168
|
+
"sandbox",
|
|
169
|
+
"settings",
|
|
170
|
+
"terminal",
|
|
171
|
+
"theme",
|
|
172
|
+
"viewers",
|
|
173
|
+
"views",
|
|
174
|
+
"workspace"
|
|
175
|
+
],
|
|
176
|
+
"listener": ["automation", "events", "provider"],
|
|
177
|
+
"sandboxApi": ["fetch", "json", "key", "origin", "reachable", "request", "role", "rpc"]
|
|
178
|
+
},
|
|
179
|
+
"2.4.0": {
|
|
180
|
+
"manifest": [
|
|
181
|
+
"$schema",
|
|
182
|
+
"category",
|
|
183
|
+
"contributes",
|
|
184
|
+
"engines",
|
|
185
|
+
"entry",
|
|
186
|
+
"icon",
|
|
187
|
+
"logo",
|
|
188
|
+
"name",
|
|
189
|
+
"permissions",
|
|
190
|
+
"publisher",
|
|
191
|
+
"server",
|
|
192
|
+
"version"
|
|
193
|
+
],
|
|
194
|
+
"contributes": [
|
|
195
|
+
"agent",
|
|
196
|
+
"automationTemplates",
|
|
197
|
+
"bin",
|
|
198
|
+
"capabilities",
|
|
199
|
+
"commands",
|
|
200
|
+
"documents",
|
|
201
|
+
"environment",
|
|
202
|
+
"files",
|
|
203
|
+
"listener",
|
|
204
|
+
"processes",
|
|
205
|
+
"settings",
|
|
206
|
+
"viewers",
|
|
207
|
+
"views"
|
|
208
|
+
],
|
|
209
|
+
"api": [
|
|
210
|
+
"apiVersion",
|
|
211
|
+
"chat",
|
|
212
|
+
"commands",
|
|
213
|
+
"documents",
|
|
214
|
+
"models",
|
|
215
|
+
"navigate",
|
|
216
|
+
"processes",
|
|
217
|
+
"route",
|
|
218
|
+
"sandbox",
|
|
219
|
+
"settings",
|
|
220
|
+
"terminal",
|
|
221
|
+
"theme",
|
|
222
|
+
"viewers",
|
|
223
|
+
"views",
|
|
224
|
+
"workspace"
|
|
225
|
+
],
|
|
226
|
+
"listener": ["automation", "events", "provider"],
|
|
227
|
+
"sandboxApi": ["fetch", "json", "key", "origin", "reachable", "request", "role", "rpc"]
|
|
228
|
+
},
|
|
229
|
+
"2.5.0": {
|
|
230
|
+
"manifest": [
|
|
231
|
+
"$schema",
|
|
232
|
+
"art",
|
|
233
|
+
"category",
|
|
234
|
+
"contributes",
|
|
235
|
+
"engines",
|
|
236
|
+
"entry",
|
|
237
|
+
"icon",
|
|
238
|
+
"logo",
|
|
239
|
+
"name",
|
|
240
|
+
"permissions",
|
|
241
|
+
"publisher",
|
|
242
|
+
"server",
|
|
243
|
+
"version"
|
|
244
|
+
],
|
|
245
|
+
"contributes": [
|
|
246
|
+
"agent",
|
|
247
|
+
"automationTemplates",
|
|
248
|
+
"bin",
|
|
249
|
+
"capabilities",
|
|
250
|
+
"commands",
|
|
251
|
+
"documents",
|
|
252
|
+
"environment",
|
|
253
|
+
"files",
|
|
254
|
+
"listener",
|
|
255
|
+
"processes",
|
|
256
|
+
"settings",
|
|
257
|
+
"viewers",
|
|
258
|
+
"views"
|
|
259
|
+
],
|
|
260
|
+
"api": [
|
|
261
|
+
"apiVersion",
|
|
262
|
+
"chat",
|
|
263
|
+
"commands",
|
|
264
|
+
"documents",
|
|
265
|
+
"models",
|
|
266
|
+
"navigate",
|
|
267
|
+
"processes",
|
|
268
|
+
"route",
|
|
269
|
+
"sandbox",
|
|
270
|
+
"settings",
|
|
271
|
+
"terminal",
|
|
272
|
+
"theme",
|
|
273
|
+
"viewers",
|
|
274
|
+
"views",
|
|
275
|
+
"workspace"
|
|
276
|
+
],
|
|
277
|
+
"listener": ["automation", "events", "provider"],
|
|
278
|
+
"sandboxApi": ["fetch", "json", "key", "origin", "reachable", "request", "role", "rpc"]
|
|
279
|
+
}
|
|
280
|
+
}
|
package/src/version.ts
CHANGED
|
@@ -1,4 +1,36 @@
|
|
|
1
1
|
// The extension API's protocol version — the value `engines.intentic` ranges are matched against at load, and
|
|
2
2
|
// the value the host reports as IntenticApi.apiVersion. Bumped ONLY with the published package: additive
|
|
3
3
|
// surface = minor, breaking = major. This package is the one deliberate exception to the repo's no-legacy rule.
|
|
4
|
-
|
|
4
|
+
//
|
|
5
|
+
// 1.0.0 rather than 0.5.0, and the reason is the drift that forced that bump. While the major was 0 the caret
|
|
6
|
+
// matcher treats the MINOR as breaking (engines.ts), so every addition invalidated every declared range — which
|
|
7
|
+
// made bumping expensive enough that two surface changes (connectors → capabilities, api.documents.open) shipped
|
|
8
|
+
// without one, and the number stopped being true. At 1.x an addition is 1.1.0 and costs authors nothing, so the
|
|
9
|
+
// bump that keeps this honest is the cheap one. surface-guard.test.ts is what makes it non-optional.
|
|
10
|
+
// 2.0.0 makes listener contributions self-describing: the former `eventTypes` array became labelled `events`
|
|
11
|
+
// plus the automation-editor vocabulary the provider owns. That is intentionally breaking — a 1.x listener
|
|
12
|
+
// manifest cannot honestly promise that a generic host can configure it.
|
|
13
|
+
// 2.1.0 adds the backend half: a manifest `server` bundle (activateServer, run by the daemon's backend host
|
|
14
|
+
// under /x/<id>/…) and `permissions.daemon` beside `permissions.sandbox`. Additive — a 2.0 manifest is a 2.1
|
|
15
|
+
// manifest that ships no backend.
|
|
16
|
+
// 2.2.0 opens the automation composer: `contributes.automationTemplates` lets a pack ship the starting points
|
|
17
|
+
// for its own service, and a `listener` may declare a second narrowing field (`automation.branchField`) for a
|
|
18
|
+
// source whose events carry one. Both fold into the daemon's trigger catalogue, so a pack that knows something
|
|
19
|
+
// worth waking on says so itself instead of being written into the automations surface. Additive.
|
|
20
|
+
// 2.3.0 adds `api.sandbox.role()` — the signed-in user's trust tier, for affordance gating (the daemon floors
|
|
21
|
+
// every route regardless). Surfaced when the drafts queue moved out of the app: approve/reject are
|
|
22
|
+
// maintainer-and-up, and no extension could say so. Additive. The surface guard grew a `sandboxApi` member
|
|
23
|
+
// list with this release, so additions below the top-level grain are recorded from here on.
|
|
24
|
+
// 2.4.0 gives the manifest an authoring schema: `$schema` is a declared field, and every contribution point now
|
|
25
|
+
// carries the sentence that explains it, generated out to intentic-extension.schema.json. An editor pointed at
|
|
26
|
+
// that URL completes the fields, shows what each one does, and marks a key nothing declares — which used to be
|
|
27
|
+
// the one class of mistake nothing caught, because zod strips what it does not know rather than refusing it.
|
|
28
|
+
// Additive: a manifest that names no schema is unchanged.
|
|
29
|
+
// 2.5.0 lets an extension bring its own picture: `art` carries a complete SVG document inline, above the
|
|
30
|
+
// simple-icons `logo` and the host's `icon` in the same ladder. The two tiers before it could say "this is
|
|
31
|
+
// Slack" or "this is a server", and nothing could say "this is mine" — so a page listing seven unfamiliar
|
|
32
|
+
// extensions drew seven near-identical glyphs, which is the shape of a directory rather than of a shelf. Inline
|
|
33
|
+
// rather than a URL because the row is drawn before any code is cloned: a link would put a stranger's server in
|
|
34
|
+
// the render path, track who is browsing, and rot after approval. Additive — a manifest that ships no drawing
|
|
35
|
+
// falls to exactly the mark it had before.
|
|
36
|
+
export const extensionApiVersion = "2.5.0";
|
package/dist/manifest.d.ts
DELETED
|
@@ -1,260 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const ViewContributionSchema: z.ZodObject<{
|
|
3
|
-
id: z.ZodString;
|
|
4
|
-
label: z.ZodString;
|
|
5
|
-
surface: z.ZodEnum<{
|
|
6
|
-
directory: "directory";
|
|
7
|
-
rail: "rail";
|
|
8
|
-
sandbox: "sandbox";
|
|
9
|
-
}>;
|
|
10
|
-
badge: z.ZodOptional<z.ZodBoolean>;
|
|
11
|
-
}, z.core.$strip>;
|
|
12
|
-
export type ViewContribution = z.infer<typeof ViewContributionSchema>;
|
|
13
|
-
export declare const FileContributionSchema: z.ZodObject<{
|
|
14
|
-
path: z.ZodString;
|
|
15
|
-
invalidates: z.ZodArray<z.ZodString>;
|
|
16
|
-
}, z.core.$strip>;
|
|
17
|
-
export type FileContribution = z.infer<typeof FileContributionSchema>;
|
|
18
|
-
export declare const ViewerContributionSchema: z.ZodObject<{
|
|
19
|
-
id: z.ZodString;
|
|
20
|
-
extensions: z.ZodArray<z.ZodString>;
|
|
21
|
-
fetch: z.ZodEnum<{
|
|
22
|
-
blob: "blob";
|
|
23
|
-
text: "text";
|
|
24
|
-
url: "url";
|
|
25
|
-
}>;
|
|
26
|
-
}, z.core.$strip>;
|
|
27
|
-
export type ViewerContribution = z.infer<typeof ViewerContributionSchema>;
|
|
28
|
-
export declare const DocumentContributionSchema: z.ZodObject<{
|
|
29
|
-
id: z.ZodString;
|
|
30
|
-
label: z.ZodString;
|
|
31
|
-
}, z.core.$strip>;
|
|
32
|
-
export type DocumentContribution = z.infer<typeof DocumentContributionSchema>;
|
|
33
|
-
export declare const CommandContributionSchema: z.ZodObject<{
|
|
34
|
-
command: z.ZodString;
|
|
35
|
-
title: z.ZodString;
|
|
36
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
37
|
-
keybinding: z.ZodOptional<z.ZodString>;
|
|
38
|
-
}, z.core.$strip>;
|
|
39
|
-
export type CommandContribution = z.infer<typeof CommandContributionSchema>;
|
|
40
|
-
export declare const SettingContributionSchema: z.ZodObject<{
|
|
41
|
-
key: z.ZodString;
|
|
42
|
-
type: z.ZodEnum<{
|
|
43
|
-
boolean: "boolean";
|
|
44
|
-
enum: "enum";
|
|
45
|
-
number: "number";
|
|
46
|
-
string: "string";
|
|
47
|
-
}>;
|
|
48
|
-
title: z.ZodString;
|
|
49
|
-
description: z.ZodOptional<z.ZodString>;
|
|
50
|
-
default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
51
|
-
enum: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
52
|
-
secret: z.ZodOptional<z.ZodBoolean>;
|
|
53
|
-
env: z.ZodOptional<z.ZodString>;
|
|
54
|
-
}, z.core.$strip>;
|
|
55
|
-
export type SettingContribution = z.infer<typeof SettingContributionSchema>;
|
|
56
|
-
export declare const ProcessContributionSchema: z.ZodObject<{
|
|
57
|
-
name: z.ZodString;
|
|
58
|
-
command: z.ZodString;
|
|
59
|
-
cwd: z.ZodOptional<z.ZodString>;
|
|
60
|
-
port: z.ZodOptional<z.ZodLiteral<"auto">>;
|
|
61
|
-
preview: z.ZodOptional<z.ZodBoolean>;
|
|
62
|
-
autoStart: z.ZodOptional<z.ZodBoolean>;
|
|
63
|
-
}, z.core.$strip>;
|
|
64
|
-
export type ProcessContribution = z.infer<typeof ProcessContributionSchema>;
|
|
65
|
-
export declare const AgentContributionSchema: z.ZodObject<{
|
|
66
|
-
path: z.ZodOptional<z.ZodString>;
|
|
67
|
-
}, z.core.$strip>;
|
|
68
|
-
export type AgentContribution = z.infer<typeof AgentContributionSchema>;
|
|
69
|
-
export declare const ListenerContributionSchema: z.ZodObject<{
|
|
70
|
-
provider: z.ZodString;
|
|
71
|
-
eventTypes: z.ZodArray<z.ZodString>;
|
|
72
|
-
}, z.core.$strip>;
|
|
73
|
-
export type ListenerContribution = z.infer<typeof ListenerContributionSchema>;
|
|
74
|
-
export declare const EnvironmentContributionSchema: z.ZodObject<{
|
|
75
|
-
fragment: z.ZodString;
|
|
76
|
-
}, z.core.$strip>;
|
|
77
|
-
export type EnvironmentContribution = z.infer<typeof EnvironmentContributionSchema>;
|
|
78
|
-
export declare const ConnectorFieldSchema: z.ZodObject<{
|
|
79
|
-
key: z.ZodString;
|
|
80
|
-
label: z.ZodString;
|
|
81
|
-
placeholder: z.ZodOptional<z.ZodString>;
|
|
82
|
-
secret: z.ZodOptional<z.ZodBoolean>;
|
|
83
|
-
optional: z.ZodOptional<z.ZodBoolean>;
|
|
84
|
-
multiline: z.ZodOptional<z.ZodBoolean>;
|
|
85
|
-
default: z.ZodOptional<z.ZodString>;
|
|
86
|
-
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
87
|
-
value: z.ZodString;
|
|
88
|
-
label: z.ZodString;
|
|
89
|
-
}, z.core.$strip>>>;
|
|
90
|
-
when: z.ZodOptional<z.ZodObject<{
|
|
91
|
-
key: z.ZodString;
|
|
92
|
-
value: z.ZodString;
|
|
93
|
-
}, z.core.$strip>>;
|
|
94
|
-
}, z.core.$strip>;
|
|
95
|
-
export type ConnectorField = z.infer<typeof ConnectorFieldSchema>;
|
|
96
|
-
export declare const ConnectorContributionSchema: z.ZodObject<{
|
|
97
|
-
provider: z.ZodString;
|
|
98
|
-
kind: z.ZodLiteral<"cli">;
|
|
99
|
-
catalog: z.ZodObject<{
|
|
100
|
-
name: z.ZodString;
|
|
101
|
-
logo: z.ZodOptional<z.ZodString>;
|
|
102
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
103
|
-
description: z.ZodString;
|
|
104
|
-
category: z.ZodString;
|
|
105
|
-
hint: z.ZodOptional<z.ZodString>;
|
|
106
|
-
guide: z.ZodOptional<z.ZodObject<{
|
|
107
|
-
url: z.ZodOptional<z.ZodString>;
|
|
108
|
-
urlFromField: z.ZodOptional<z.ZodString>;
|
|
109
|
-
path: z.ZodOptional<z.ZodString>;
|
|
110
|
-
linkLabel: z.ZodOptional<z.ZodString>;
|
|
111
|
-
scopes: z.ZodOptional<z.ZodString>;
|
|
112
|
-
steps: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
113
|
-
}, z.core.$strip>>;
|
|
114
|
-
}, z.core.$strip>;
|
|
115
|
-
fields: z.ZodArray<z.ZodObject<{
|
|
116
|
-
key: z.ZodString;
|
|
117
|
-
label: z.ZodString;
|
|
118
|
-
placeholder: z.ZodOptional<z.ZodString>;
|
|
119
|
-
secret: z.ZodOptional<z.ZodBoolean>;
|
|
120
|
-
optional: z.ZodOptional<z.ZodBoolean>;
|
|
121
|
-
multiline: z.ZodOptional<z.ZodBoolean>;
|
|
122
|
-
default: z.ZodOptional<z.ZodString>;
|
|
123
|
-
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
124
|
-
value: z.ZodString;
|
|
125
|
-
label: z.ZodString;
|
|
126
|
-
}, z.core.$strip>>>;
|
|
127
|
-
when: z.ZodOptional<z.ZodObject<{
|
|
128
|
-
key: z.ZodString;
|
|
129
|
-
value: z.ZodString;
|
|
130
|
-
}, z.core.$strip>>;
|
|
131
|
-
}, z.core.$strip>>;
|
|
132
|
-
env: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
133
|
-
skill: z.ZodString;
|
|
134
|
-
fragment: z.ZodOptional<z.ZodString>;
|
|
135
|
-
}, z.core.$strip>;
|
|
136
|
-
export type ConnectorContribution = z.infer<typeof ConnectorContributionSchema>;
|
|
137
|
-
export declare const ExtensionManifestSchema: z.ZodObject<{
|
|
138
|
-
publisher: z.ZodString;
|
|
139
|
-
name: z.ZodString;
|
|
140
|
-
version: z.ZodString;
|
|
141
|
-
engines: z.ZodObject<{
|
|
142
|
-
intentic: z.ZodString;
|
|
143
|
-
}, z.core.$strip>;
|
|
144
|
-
entry: z.ZodOptional<z.ZodString>;
|
|
145
|
-
permissions: z.ZodOptional<z.ZodObject<{
|
|
146
|
-
sandbox: z.ZodArray<z.ZodString>;
|
|
147
|
-
}, z.core.$strip>>;
|
|
148
|
-
contributes: z.ZodOptional<z.ZodObject<{
|
|
149
|
-
views: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
150
|
-
id: z.ZodString;
|
|
151
|
-
label: z.ZodString;
|
|
152
|
-
surface: z.ZodEnum<{
|
|
153
|
-
directory: "directory";
|
|
154
|
-
rail: "rail";
|
|
155
|
-
sandbox: "sandbox";
|
|
156
|
-
}>;
|
|
157
|
-
badge: z.ZodOptional<z.ZodBoolean>;
|
|
158
|
-
}, z.core.$strip>>>;
|
|
159
|
-
files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
160
|
-
path: z.ZodString;
|
|
161
|
-
invalidates: z.ZodArray<z.ZodString>;
|
|
162
|
-
}, z.core.$strip>>>;
|
|
163
|
-
viewers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
164
|
-
id: z.ZodString;
|
|
165
|
-
extensions: z.ZodArray<z.ZodString>;
|
|
166
|
-
fetch: z.ZodEnum<{
|
|
167
|
-
blob: "blob";
|
|
168
|
-
text: "text";
|
|
169
|
-
url: "url";
|
|
170
|
-
}>;
|
|
171
|
-
}, z.core.$strip>>>;
|
|
172
|
-
documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
173
|
-
id: z.ZodString;
|
|
174
|
-
label: z.ZodString;
|
|
175
|
-
}, z.core.$strip>>>;
|
|
176
|
-
commands: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
177
|
-
command: z.ZodString;
|
|
178
|
-
title: z.ZodString;
|
|
179
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
180
|
-
keybinding: z.ZodOptional<z.ZodString>;
|
|
181
|
-
}, z.core.$strip>>>;
|
|
182
|
-
settings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
183
|
-
key: z.ZodString;
|
|
184
|
-
type: z.ZodEnum<{
|
|
185
|
-
boolean: "boolean";
|
|
186
|
-
enum: "enum";
|
|
187
|
-
number: "number";
|
|
188
|
-
string: "string";
|
|
189
|
-
}>;
|
|
190
|
-
title: z.ZodString;
|
|
191
|
-
description: z.ZodOptional<z.ZodString>;
|
|
192
|
-
default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
193
|
-
enum: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
194
|
-
secret: z.ZodOptional<z.ZodBoolean>;
|
|
195
|
-
env: z.ZodOptional<z.ZodString>;
|
|
196
|
-
}, z.core.$strip>>>;
|
|
197
|
-
processes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
198
|
-
name: z.ZodString;
|
|
199
|
-
command: z.ZodString;
|
|
200
|
-
cwd: z.ZodOptional<z.ZodString>;
|
|
201
|
-
port: z.ZodOptional<z.ZodLiteral<"auto">>;
|
|
202
|
-
preview: z.ZodOptional<z.ZodBoolean>;
|
|
203
|
-
autoStart: z.ZodOptional<z.ZodBoolean>;
|
|
204
|
-
}, z.core.$strip>>>;
|
|
205
|
-
agent: z.ZodOptional<z.ZodObject<{
|
|
206
|
-
path: z.ZodOptional<z.ZodString>;
|
|
207
|
-
}, z.core.$strip>>;
|
|
208
|
-
environment: z.ZodOptional<z.ZodObject<{
|
|
209
|
-
fragment: z.ZodString;
|
|
210
|
-
}, z.core.$strip>>;
|
|
211
|
-
connectors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
212
|
-
provider: z.ZodString;
|
|
213
|
-
kind: z.ZodLiteral<"cli">;
|
|
214
|
-
catalog: z.ZodObject<{
|
|
215
|
-
name: z.ZodString;
|
|
216
|
-
logo: z.ZodOptional<z.ZodString>;
|
|
217
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
218
|
-
description: z.ZodString;
|
|
219
|
-
category: z.ZodString;
|
|
220
|
-
hint: z.ZodOptional<z.ZodString>;
|
|
221
|
-
guide: z.ZodOptional<z.ZodObject<{
|
|
222
|
-
url: z.ZodOptional<z.ZodString>;
|
|
223
|
-
urlFromField: z.ZodOptional<z.ZodString>;
|
|
224
|
-
path: z.ZodOptional<z.ZodString>;
|
|
225
|
-
linkLabel: z.ZodOptional<z.ZodString>;
|
|
226
|
-
scopes: z.ZodOptional<z.ZodString>;
|
|
227
|
-
steps: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
228
|
-
}, z.core.$strip>>;
|
|
229
|
-
}, z.core.$strip>;
|
|
230
|
-
fields: z.ZodArray<z.ZodObject<{
|
|
231
|
-
key: z.ZodString;
|
|
232
|
-
label: z.ZodString;
|
|
233
|
-
placeholder: z.ZodOptional<z.ZodString>;
|
|
234
|
-
secret: z.ZodOptional<z.ZodBoolean>;
|
|
235
|
-
optional: z.ZodOptional<z.ZodBoolean>;
|
|
236
|
-
multiline: z.ZodOptional<z.ZodBoolean>;
|
|
237
|
-
default: z.ZodOptional<z.ZodString>;
|
|
238
|
-
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
239
|
-
value: z.ZodString;
|
|
240
|
-
label: z.ZodString;
|
|
241
|
-
}, z.core.$strip>>>;
|
|
242
|
-
when: z.ZodOptional<z.ZodObject<{
|
|
243
|
-
key: z.ZodString;
|
|
244
|
-
value: z.ZodString;
|
|
245
|
-
}, z.core.$strip>>;
|
|
246
|
-
}, z.core.$strip>>;
|
|
247
|
-
env: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
248
|
-
skill: z.ZodString;
|
|
249
|
-
fragment: z.ZodOptional<z.ZodString>;
|
|
250
|
-
}, z.core.$strip>>>;
|
|
251
|
-
listener: z.ZodOptional<z.ZodObject<{
|
|
252
|
-
provider: z.ZodString;
|
|
253
|
-
eventTypes: z.ZodArray<z.ZodString>;
|
|
254
|
-
}, z.core.$strip>>;
|
|
255
|
-
bin: z.ZodOptional<z.ZodString>;
|
|
256
|
-
}, z.core.$strip>>;
|
|
257
|
-
}, z.core.$strip>;
|
|
258
|
-
export type ExtensionManifest = z.infer<typeof ExtensionManifestSchema>;
|
|
259
|
-
export declare const extensionIdOf: (manifest: Pick<ExtensionManifest, "publisher" | "name">) => string;
|
|
260
|
-
//# sourceMappingURL=manifest.d.ts.map
|
package/dist/manifest.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"manifest.d.ts","sourceRoot":"","sources":["../src/manifest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,eAAO,MAAM,sBAAsB;;;;;;;;;iBAQjC,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAgBtE,eAAO,MAAM,sBAAsB;;;iBAoBjC,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAgBtE,eAAO,MAAM,wBAAwB;;;;;;;;iBAInC,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAW1E,eAAO,MAAM,0BAA0B;;;iBAIrC,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAG9E,eAAO,MAAM,yBAAyB;;;;;iBASpC,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAO5E,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;iBAYpC,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAK5E,eAAO,MAAM,yBAAyB;;;;;;;iBAOpC,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAK5E,eAAO,MAAM,uBAAuB;;iBAElC,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAQxE,eAAO,MAAM,0BAA0B;;;iBAGrC,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAM9E,eAAO,MAAM,6BAA6B;;iBAKxC,CAAC;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAKpF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;iBAU/B,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAOlE,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA2BtC,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA4ClC,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAIxE,eAAO,MAAM,aAAa,aAAc,IAAI,CAAC,iBAAiB,EAAE,WAAW,GAAG,MAAM,CAAC,KAAG,MAAkD,CAAC"}
|