@intentic/extension-manifest 1.232.0 → 1.233.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/dist/manifest.d.ts +42 -0
- package/dist/manifest.d.ts.map +1 -1
- package/dist/points/capabilities.d.ts +85 -1
- package/dist/points/capabilities.d.ts.map +1 -1
- package/dist/points/capabilities.js +8 -2
- package/dist/points/capabilities.js.map +1 -1
- package/dist/points/index.d.ts +85 -1
- package/dist/points/index.d.ts.map +1 -1
- package/intentic-extension.schema.json +187 -1
- package/package.json +2 -2
- package/src/points/capabilities.ts +16 -2
package/dist/manifest.d.ts
CHANGED
|
@@ -191,6 +191,48 @@ export declare const ExtensionManifestSchema: z.ZodObject<{
|
|
|
191
191
|
}, z.core.$strip>>;
|
|
192
192
|
kind: z.ZodLiteral<"host">;
|
|
193
193
|
skill: z.ZodString;
|
|
194
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
195
|
+
id: z.ZodString;
|
|
196
|
+
catalog: z.ZodObject<{
|
|
197
|
+
art: z.ZodOptional<z.ZodString>;
|
|
198
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
199
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
200
|
+
name: z.ZodString;
|
|
201
|
+
description: z.ZodString;
|
|
202
|
+
category: z.ZodString;
|
|
203
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
204
|
+
guide: z.ZodOptional<z.ZodObject<{
|
|
205
|
+
url: z.ZodOptional<z.ZodString>;
|
|
206
|
+
urlFromField: z.ZodOptional<z.ZodString>;
|
|
207
|
+
path: z.ZodOptional<z.ZodString>;
|
|
208
|
+
linkLabel: z.ZodOptional<z.ZodString>;
|
|
209
|
+
scopes: z.ZodOptional<z.ZodString>;
|
|
210
|
+
steps: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
211
|
+
}, z.core.$strip>>;
|
|
212
|
+
}, z.core.$strip>;
|
|
213
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
214
|
+
key: z.ZodString;
|
|
215
|
+
label: z.ZodString;
|
|
216
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
217
|
+
secret: z.ZodOptional<z.ZodBoolean>;
|
|
218
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
219
|
+
multiline: z.ZodOptional<z.ZodBoolean>;
|
|
220
|
+
advanced: z.ZodOptional<z.ZodBoolean>;
|
|
221
|
+
boolean: z.ZodOptional<z.ZodBoolean>;
|
|
222
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
223
|
+
rebuild: z.ZodOptional<z.ZodBoolean>;
|
|
224
|
+
default: z.ZodOptional<z.ZodString>;
|
|
225
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
226
|
+
value: z.ZodString;
|
|
227
|
+
label: z.ZodString;
|
|
228
|
+
}, z.core.$strip>>>;
|
|
229
|
+
when: z.ZodOptional<z.ZodString>;
|
|
230
|
+
value: z.ZodOptional<z.ZodString>;
|
|
231
|
+
totp: z.ZodOptional<z.ZodBoolean>;
|
|
232
|
+
}, z.core.$strip>>;
|
|
233
|
+
kind: z.ZodLiteral<"webext">;
|
|
234
|
+
install: z.ZodURL;
|
|
235
|
+
skill: z.ZodString;
|
|
194
236
|
}, z.core.$strip>, z.ZodObject<{
|
|
195
237
|
id: z.ZodString;
|
|
196
238
|
catalog: z.ZodObject<{
|
package/dist/manifest.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manifest.d.ts","sourceRoot":"","sources":["../src/manifest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAaxB,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"manifest.d.ts","sourceRoot":"","sources":["../src/manifest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAaxB,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAqFlC,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"}
|
|
@@ -160,6 +160,48 @@ export declare const CapabilityContributionSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
160
160
|
}, z.core.$strip>>;
|
|
161
161
|
kind: z.ZodLiteral<"host">;
|
|
162
162
|
skill: z.ZodString;
|
|
163
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
164
|
+
id: z.ZodString;
|
|
165
|
+
catalog: z.ZodObject<{
|
|
166
|
+
art: z.ZodOptional<z.ZodString>;
|
|
167
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
168
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
169
|
+
name: z.ZodString;
|
|
170
|
+
description: z.ZodString;
|
|
171
|
+
category: z.ZodString;
|
|
172
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
173
|
+
guide: z.ZodOptional<z.ZodObject<{
|
|
174
|
+
url: z.ZodOptional<z.ZodString>;
|
|
175
|
+
urlFromField: z.ZodOptional<z.ZodString>;
|
|
176
|
+
path: z.ZodOptional<z.ZodString>;
|
|
177
|
+
linkLabel: z.ZodOptional<z.ZodString>;
|
|
178
|
+
scopes: z.ZodOptional<z.ZodString>;
|
|
179
|
+
steps: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
180
|
+
}, z.core.$strip>>;
|
|
181
|
+
}, z.core.$strip>;
|
|
182
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
183
|
+
key: z.ZodString;
|
|
184
|
+
label: z.ZodString;
|
|
185
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
186
|
+
secret: z.ZodOptional<z.ZodBoolean>;
|
|
187
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
188
|
+
multiline: z.ZodOptional<z.ZodBoolean>;
|
|
189
|
+
advanced: z.ZodOptional<z.ZodBoolean>;
|
|
190
|
+
boolean: z.ZodOptional<z.ZodBoolean>;
|
|
191
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
192
|
+
rebuild: z.ZodOptional<z.ZodBoolean>;
|
|
193
|
+
default: z.ZodOptional<z.ZodString>;
|
|
194
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
195
|
+
value: z.ZodString;
|
|
196
|
+
label: z.ZodString;
|
|
197
|
+
}, z.core.$strip>>>;
|
|
198
|
+
when: z.ZodOptional<z.ZodString>;
|
|
199
|
+
value: z.ZodOptional<z.ZodString>;
|
|
200
|
+
totp: z.ZodOptional<z.ZodBoolean>;
|
|
201
|
+
}, z.core.$strip>>;
|
|
202
|
+
kind: z.ZodLiteral<"webext">;
|
|
203
|
+
install: z.ZodURL;
|
|
204
|
+
skill: z.ZodString;
|
|
163
205
|
}, z.core.$strip>, z.ZodObject<{
|
|
164
206
|
id: z.ZodString;
|
|
165
207
|
catalog: z.ZodObject<{
|
|
@@ -208,7 +250,7 @@ export type SkillContribution = Extract<CapabilityContribution, {
|
|
|
208
250
|
export declare const contributionDiscriminator: (kind: string) => string | undefined;
|
|
209
251
|
export declare const capabilitiesPoint: {
|
|
210
252
|
readonly name: "capabilities";
|
|
211
|
-
readonly description: 'Capability cards this pack adds to the "+" grid: a connected CLI tool, a site the agent acts on as the owner through the shared browser, an operating system pack, or a preset over a core kind. The card and its form are data here; the machinery that acts on them is core, which is why a card may only name one of these
|
|
253
|
+
readonly description: 'Capability cards this pack adds to the "+" grid: a connected CLI tool, a site the agent acts on as the owner through the shared browser, an operating system pack, a browser family the owner connects their own copy of, or a preset over a core kind. The card and its form are data here; the machinery that acts on them is core, which is why a card may only name one of these five kinds.';
|
|
212
254
|
readonly schema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
213
255
|
id: z.ZodString;
|
|
214
256
|
catalog: z.ZodObject<{
|
|
@@ -348,6 +390,48 @@ export declare const capabilitiesPoint: {
|
|
|
348
390
|
}, z.core.$strip>>;
|
|
349
391
|
kind: z.ZodLiteral<"host">;
|
|
350
392
|
skill: z.ZodString;
|
|
393
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
394
|
+
id: z.ZodString;
|
|
395
|
+
catalog: z.ZodObject<{
|
|
396
|
+
art: z.ZodOptional<z.ZodString>;
|
|
397
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
398
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
399
|
+
name: z.ZodString;
|
|
400
|
+
description: z.ZodString;
|
|
401
|
+
category: z.ZodString;
|
|
402
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
403
|
+
guide: z.ZodOptional<z.ZodObject<{
|
|
404
|
+
url: z.ZodOptional<z.ZodString>;
|
|
405
|
+
urlFromField: z.ZodOptional<z.ZodString>;
|
|
406
|
+
path: z.ZodOptional<z.ZodString>;
|
|
407
|
+
linkLabel: z.ZodOptional<z.ZodString>;
|
|
408
|
+
scopes: z.ZodOptional<z.ZodString>;
|
|
409
|
+
steps: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
410
|
+
}, z.core.$strip>>;
|
|
411
|
+
}, z.core.$strip>;
|
|
412
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
413
|
+
key: z.ZodString;
|
|
414
|
+
label: z.ZodString;
|
|
415
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
416
|
+
secret: z.ZodOptional<z.ZodBoolean>;
|
|
417
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
418
|
+
multiline: z.ZodOptional<z.ZodBoolean>;
|
|
419
|
+
advanced: z.ZodOptional<z.ZodBoolean>;
|
|
420
|
+
boolean: z.ZodOptional<z.ZodBoolean>;
|
|
421
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
422
|
+
rebuild: z.ZodOptional<z.ZodBoolean>;
|
|
423
|
+
default: z.ZodOptional<z.ZodString>;
|
|
424
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
425
|
+
value: z.ZodString;
|
|
426
|
+
label: z.ZodString;
|
|
427
|
+
}, z.core.$strip>>>;
|
|
428
|
+
when: z.ZodOptional<z.ZodString>;
|
|
429
|
+
value: z.ZodOptional<z.ZodString>;
|
|
430
|
+
totp: z.ZodOptional<z.ZodBoolean>;
|
|
431
|
+
}, z.core.$strip>>;
|
|
432
|
+
kind: z.ZodLiteral<"webext">;
|
|
433
|
+
install: z.ZodURL;
|
|
434
|
+
skill: z.ZodString;
|
|
351
435
|
}, z.core.$strip>, z.ZodObject<{
|
|
352
436
|
id: z.ZodString;
|
|
353
437
|
catalog: z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../src/points/capabilities.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;iBAyFhC,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAepE,eAAO,MAAM,YAAY,UAAW,eAAe,UAAU,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAEpW,CAAC"}
|
|
@@ -138,6 +138,12 @@ export const CapabilityContributionSchema = z
|
|
|
138
138
|
kind: z.literal("host"),
|
|
139
139
|
skill: z.string().min(1).describe("Checkout-relative SKILL.md teaching the agent that machine's shell."),
|
|
140
140
|
}),
|
|
141
|
+
z.object({
|
|
142
|
+
...contributionBase,
|
|
143
|
+
kind: z.literal("webext"),
|
|
144
|
+
install: z.url().describe("Where this browser's extension is installed from: its store listing, or a page offering the build."),
|
|
145
|
+
skill: z.string().min(1).describe("Checkout-relative SKILL.md teaching the agent to drive this browser."),
|
|
146
|
+
}),
|
|
141
147
|
z.object({ ...contributionBase, kind: z.literal("agent") }),
|
|
142
148
|
])
|
|
143
149
|
.superRefine((spec, ctx) => {
|
|
@@ -153,11 +159,11 @@ export const CapabilityContributionSchema = z
|
|
|
153
159
|
}
|
|
154
160
|
}
|
|
155
161
|
});
|
|
156
|
-
const DISCRIMINATOR = { cli: "provider", browser: "platform", host: "platform", agent: undefined };
|
|
162
|
+
const DISCRIMINATOR = { cli: "provider", browser: "platform", host: "platform", webext: "platform", agent: undefined };
|
|
157
163
|
export const contributionDiscriminator = (kind) => DISCRIMINATOR[kind];
|
|
158
164
|
export const capabilitiesPoint = {
|
|
159
165
|
name: "capabilities",
|
|
160
|
-
description: 'Capability cards this pack adds to the "+" grid: a connected CLI tool, a site the agent acts on as the owner through the shared browser, an operating system pack, or a preset over a core kind. The card and its form are data here; the machinery that acts on them is core, which is why a card may only name one of these
|
|
166
|
+
description: 'Capability cards this pack adds to the "+" grid: a connected CLI tool, a site the agent acts on as the owner through the shared browser, an operating system pack, a browser family the owner connects their own copy of, or a preset over a core kind. The card and its form are data here; the machinery that acts on them is core, which is why a card may only name one of these five kinds.',
|
|
161
167
|
schema: z.array(CapabilityContributionSchema),
|
|
162
168
|
};
|
|
163
169
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GAAG,CAAC,IAAI,QAAQ,CAAC,QAAQ,CAAC,MAAM,KAAK,CAAC,GAAG,OAAO,CAAC,CAAC,EAAE,CAAC;YACjI,GAAG,CAAC,QAAQ,CAAC;gBACT,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,0CAA0C,KAAK,CAAC,GAAG,2CAA2C;aAC1G,CAAC,CAAC;QACP,CAAC;IACL,CAAC;AACL,CAAC,CAAC,CAAC;AAaP,MAAM,aAAa,GAAG,EAAE,GAAG,EAAE,UAAU,EAAE,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,SAAS,EAGnH,CAAC;AACF,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,IAAY,EAAsB,EAAE,CAAC,aAAa,CAAC,IAAkC,CAAC,CAAC;AAEjI,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC7B,IAAI,EAAE,cAAc;IACpB,WAAW,EACP,kYAAkY;IACtY,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,4BAA4B,CAAC;CACX,CAAC"}
|
package/dist/points/index.d.ts
CHANGED
|
@@ -104,7 +104,7 @@ export declare const CONTRIBUTION_POINTS: readonly [{
|
|
|
104
104
|
}, z.core.$strip>;
|
|
105
105
|
}, {
|
|
106
106
|
readonly name: "capabilities";
|
|
107
|
-
readonly description: 'Capability cards this pack adds to the "+" grid: a connected CLI tool, a site the agent acts on as the owner through the shared browser, an operating system pack, or a preset over a core kind. The card and its form are data here; the machinery that acts on them is core, which is why a card may only name one of these
|
|
107
|
+
readonly description: 'Capability cards this pack adds to the "+" grid: a connected CLI tool, a site the agent acts on as the owner through the shared browser, an operating system pack, a browser family the owner connects their own copy of, or a preset over a core kind. The card and its form are data here; the machinery that acts on them is core, which is why a card may only name one of these five kinds.';
|
|
108
108
|
readonly schema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
109
109
|
id: z.ZodString;
|
|
110
110
|
catalog: z.ZodObject<{
|
|
@@ -244,6 +244,48 @@ export declare const CONTRIBUTION_POINTS: readonly [{
|
|
|
244
244
|
}, z.core.$strip>>;
|
|
245
245
|
kind: z.ZodLiteral<"host">;
|
|
246
246
|
skill: z.ZodString;
|
|
247
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
248
|
+
id: z.ZodString;
|
|
249
|
+
catalog: z.ZodObject<{
|
|
250
|
+
art: z.ZodOptional<z.ZodString>;
|
|
251
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
252
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
253
|
+
name: z.ZodString;
|
|
254
|
+
description: z.ZodString;
|
|
255
|
+
category: z.ZodString;
|
|
256
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
257
|
+
guide: z.ZodOptional<z.ZodObject<{
|
|
258
|
+
url: z.ZodOptional<z.ZodString>;
|
|
259
|
+
urlFromField: z.ZodOptional<z.ZodString>;
|
|
260
|
+
path: z.ZodOptional<z.ZodString>;
|
|
261
|
+
linkLabel: z.ZodOptional<z.ZodString>;
|
|
262
|
+
scopes: z.ZodOptional<z.ZodString>;
|
|
263
|
+
steps: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
264
|
+
}, z.core.$strip>>;
|
|
265
|
+
}, z.core.$strip>;
|
|
266
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
267
|
+
key: z.ZodString;
|
|
268
|
+
label: z.ZodString;
|
|
269
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
270
|
+
secret: z.ZodOptional<z.ZodBoolean>;
|
|
271
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
272
|
+
multiline: z.ZodOptional<z.ZodBoolean>;
|
|
273
|
+
advanced: z.ZodOptional<z.ZodBoolean>;
|
|
274
|
+
boolean: z.ZodOptional<z.ZodBoolean>;
|
|
275
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
276
|
+
rebuild: z.ZodOptional<z.ZodBoolean>;
|
|
277
|
+
default: z.ZodOptional<z.ZodString>;
|
|
278
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
279
|
+
value: z.ZodString;
|
|
280
|
+
label: z.ZodString;
|
|
281
|
+
}, z.core.$strip>>>;
|
|
282
|
+
when: z.ZodOptional<z.ZodString>;
|
|
283
|
+
value: z.ZodOptional<z.ZodString>;
|
|
284
|
+
totp: z.ZodOptional<z.ZodBoolean>;
|
|
285
|
+
}, z.core.$strip>>;
|
|
286
|
+
kind: z.ZodLiteral<"webext">;
|
|
287
|
+
install: z.ZodURL;
|
|
288
|
+
skill: z.ZodString;
|
|
247
289
|
}, z.core.$strip>, z.ZodObject<{
|
|
248
290
|
id: z.ZodString;
|
|
249
291
|
catalog: z.ZodObject<{
|
|
@@ -522,6 +564,48 @@ export declare const contributesSchema: z.ZodObject<{
|
|
|
522
564
|
}, z.core.$strip>>;
|
|
523
565
|
kind: z.ZodLiteral<"host">;
|
|
524
566
|
skill: z.ZodString;
|
|
567
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
568
|
+
id: z.ZodString;
|
|
569
|
+
catalog: z.ZodObject<{
|
|
570
|
+
art: z.ZodOptional<z.ZodString>;
|
|
571
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
572
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
573
|
+
name: z.ZodString;
|
|
574
|
+
description: z.ZodString;
|
|
575
|
+
category: z.ZodString;
|
|
576
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
577
|
+
guide: z.ZodOptional<z.ZodObject<{
|
|
578
|
+
url: z.ZodOptional<z.ZodString>;
|
|
579
|
+
urlFromField: z.ZodOptional<z.ZodString>;
|
|
580
|
+
path: z.ZodOptional<z.ZodString>;
|
|
581
|
+
linkLabel: z.ZodOptional<z.ZodString>;
|
|
582
|
+
scopes: z.ZodOptional<z.ZodString>;
|
|
583
|
+
steps: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
584
|
+
}, z.core.$strip>>;
|
|
585
|
+
}, z.core.$strip>;
|
|
586
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
587
|
+
key: z.ZodString;
|
|
588
|
+
label: z.ZodString;
|
|
589
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
590
|
+
secret: z.ZodOptional<z.ZodBoolean>;
|
|
591
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
592
|
+
multiline: z.ZodOptional<z.ZodBoolean>;
|
|
593
|
+
advanced: z.ZodOptional<z.ZodBoolean>;
|
|
594
|
+
boolean: z.ZodOptional<z.ZodBoolean>;
|
|
595
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
596
|
+
rebuild: z.ZodOptional<z.ZodBoolean>;
|
|
597
|
+
default: z.ZodOptional<z.ZodString>;
|
|
598
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
599
|
+
value: z.ZodString;
|
|
600
|
+
label: z.ZodString;
|
|
601
|
+
}, z.core.$strip>>>;
|
|
602
|
+
when: z.ZodOptional<z.ZodString>;
|
|
603
|
+
value: z.ZodOptional<z.ZodString>;
|
|
604
|
+
totp: z.ZodOptional<z.ZodBoolean>;
|
|
605
|
+
}, z.core.$strip>>;
|
|
606
|
+
kind: z.ZodLiteral<"webext">;
|
|
607
|
+
install: z.ZodURL;
|
|
608
|
+
skill: z.ZodString;
|
|
525
609
|
}, z.core.$strip>, z.ZodObject<{
|
|
526
610
|
id: z.ZodString;
|
|
527
611
|
catalog: z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/points/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAgBxB,cAAc,YAAY,CAAC;AAC3B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAE7B,CAAC"}
|
|
@@ -1157,6 +1157,192 @@
|
|
|
1157
1157
|
"additionalProperties": false
|
|
1158
1158
|
}
|
|
1159
1159
|
},
|
|
1160
|
+
"kind": {
|
|
1161
|
+
"type": "string",
|
|
1162
|
+
"const": "webext"
|
|
1163
|
+
},
|
|
1164
|
+
"install": {
|
|
1165
|
+
"type": "string",
|
|
1166
|
+
"format": "uri",
|
|
1167
|
+
"description": "Where this browser's extension is installed from: its store listing, or a page offering the build."
|
|
1168
|
+
},
|
|
1169
|
+
"skill": {
|
|
1170
|
+
"type": "string",
|
|
1171
|
+
"minLength": 1,
|
|
1172
|
+
"description": "Checkout-relative SKILL.md teaching the agent to drive this browser."
|
|
1173
|
+
}
|
|
1174
|
+
},
|
|
1175
|
+
"required": [
|
|
1176
|
+
"id",
|
|
1177
|
+
"catalog",
|
|
1178
|
+
"fields",
|
|
1179
|
+
"kind",
|
|
1180
|
+
"install",
|
|
1181
|
+
"skill"
|
|
1182
|
+
],
|
|
1183
|
+
"additionalProperties": false
|
|
1184
|
+
},
|
|
1185
|
+
{
|
|
1186
|
+
"type": "object",
|
|
1187
|
+
"properties": {
|
|
1188
|
+
"id": {
|
|
1189
|
+
"type": "string",
|
|
1190
|
+
"pattern": "^[a-z0-9][a-z0-9-]*$"
|
|
1191
|
+
},
|
|
1192
|
+
"catalog": {
|
|
1193
|
+
"type": "object",
|
|
1194
|
+
"properties": {
|
|
1195
|
+
"name": {
|
|
1196
|
+
"type": "string",
|
|
1197
|
+
"minLength": 1
|
|
1198
|
+
},
|
|
1199
|
+
"art": {
|
|
1200
|
+
"description": "This extension's own mark, as a complete SVG document inline: the tier an author controls fully. Give it a viewBox and let it fill its own square edge to edge; it is drawn as the tile, not as a glyph on a plate. Kept as readable SVG text (not base64) so a registry reviewer can see what they are publishing, drawn inert so it cannot script the page, and capped at 4 KB. Anything that does not parse as SVG falls back to `logo`, then `icon`, then initials.",
|
|
1201
|
+
"type": "string",
|
|
1202
|
+
"maxLength": 4096
|
|
1203
|
+
},
|
|
1204
|
+
"logo": {
|
|
1205
|
+
"description": "A simple-icons slug, fetched from a CDN: right for standing in for somebody else's product. Add a \"/<hex>\" suffix to force a colour for a mark that vanishes against the surface it lands on. Unreachable in an offline sandbox, so it falls back to `icon`, then to initials.",
|
|
1206
|
+
"type": "string"
|
|
1207
|
+
},
|
|
1208
|
+
"icon": {
|
|
1209
|
+
"description": "A name from the host's own icon set, drawn when no simple-icons slug fits. It ships in the image, follows the theme and costs no request: what actually carries a first-party extension. An unknown name falls back to initials rather than to a hole.",
|
|
1210
|
+
"type": "string"
|
|
1211
|
+
},
|
|
1212
|
+
"description": {
|
|
1213
|
+
"type": "string",
|
|
1214
|
+
"minLength": 1,
|
|
1215
|
+
"description": "ONE LINE: aim for 60 characters or fewer. The grid clamps it at two lines in a narrow pane, so a paragraph here is a paragraph the reader gets truncated. Everything longer belongs in `hint`."
|
|
1216
|
+
},
|
|
1217
|
+
"category": {
|
|
1218
|
+
"type": "string",
|
|
1219
|
+
"minLength": 1
|
|
1220
|
+
},
|
|
1221
|
+
"hint": {
|
|
1222
|
+
"description": "The paragraph, shown under the add form and searched from the catalog, so the words that identify this card to someone hunting for it (\"webauthn\", \"socket mode\") belong here even when the tile cannot show them.",
|
|
1223
|
+
"type": "string"
|
|
1224
|
+
},
|
|
1225
|
+
"guide": {
|
|
1226
|
+
"description": "The walkthrough the install dialog renders for getting the credential this card asks for.",
|
|
1227
|
+
"type": "object",
|
|
1228
|
+
"properties": {
|
|
1229
|
+
"url": {
|
|
1230
|
+
"type": "string"
|
|
1231
|
+
},
|
|
1232
|
+
"urlFromField": {
|
|
1233
|
+
"type": "string"
|
|
1234
|
+
},
|
|
1235
|
+
"path": {
|
|
1236
|
+
"type": "string"
|
|
1237
|
+
},
|
|
1238
|
+
"linkLabel": {
|
|
1239
|
+
"type": "string"
|
|
1240
|
+
},
|
|
1241
|
+
"scopes": {
|
|
1242
|
+
"type": "string"
|
|
1243
|
+
},
|
|
1244
|
+
"steps": {
|
|
1245
|
+
"type": "array",
|
|
1246
|
+
"items": {
|
|
1247
|
+
"type": "string"
|
|
1248
|
+
}
|
|
1249
|
+
}
|
|
1250
|
+
},
|
|
1251
|
+
"additionalProperties": false
|
|
1252
|
+
}
|
|
1253
|
+
},
|
|
1254
|
+
"required": [
|
|
1255
|
+
"name",
|
|
1256
|
+
"description",
|
|
1257
|
+
"category"
|
|
1258
|
+
],
|
|
1259
|
+
"additionalProperties": false
|
|
1260
|
+
},
|
|
1261
|
+
"fields": {
|
|
1262
|
+
"type": "array",
|
|
1263
|
+
"items": {
|
|
1264
|
+
"type": "object",
|
|
1265
|
+
"properties": {
|
|
1266
|
+
"key": {
|
|
1267
|
+
"type": "string",
|
|
1268
|
+
"pattern": "^[a-zA-Z][a-zA-Z0-9]*$"
|
|
1269
|
+
},
|
|
1270
|
+
"label": {
|
|
1271
|
+
"type": "string",
|
|
1272
|
+
"minLength": 1
|
|
1273
|
+
},
|
|
1274
|
+
"placeholder": {
|
|
1275
|
+
"type": "string"
|
|
1276
|
+
},
|
|
1277
|
+
"secret": {
|
|
1278
|
+
"description": "Mask it, and never echo it back.",
|
|
1279
|
+
"type": "boolean"
|
|
1280
|
+
},
|
|
1281
|
+
"optional": {
|
|
1282
|
+
"type": "boolean"
|
|
1283
|
+
},
|
|
1284
|
+
"multiline": {
|
|
1285
|
+
"type": "boolean"
|
|
1286
|
+
},
|
|
1287
|
+
"advanced": {
|
|
1288
|
+
"description": "Fold this field behind the form's Advanced disclosure: for answers whose default is right for nearly everyone. The disclosure opens by itself while any advanced field holds a non-default value, so an edit never hides live settings.",
|
|
1289
|
+
"type": "boolean"
|
|
1290
|
+
},
|
|
1291
|
+
"boolean": {
|
|
1292
|
+
"description": "Render it as a switch, carrying \"on\"/\"off\". For an opt-in EXTRA rather than a decision: a two-option picker says the same thing but presents a choice the user must make to proceed, sized like the required fields around it. A switch always holds a value, so a field like this never blocks a submit.",
|
|
1293
|
+
"type": "boolean"
|
|
1294
|
+
},
|
|
1295
|
+
"hint": {
|
|
1296
|
+
"description": "A line under this control, for what the label alone cannot say: a host requirement, when a value takes effect. The card's own `hint` speaks for the whole card; this one is bound to the field it qualifies.",
|
|
1297
|
+
"type": "string"
|
|
1298
|
+
},
|
|
1299
|
+
"rebuild": {
|
|
1300
|
+
"description": "This value only takes effect after the sandbox is rebuilt, because it rides the image overlay. Shown as a chip beside the label: two switches side by side, identical in every visible way, can otherwise cost five seconds or five minutes with no way to tell which.",
|
|
1301
|
+
"type": "boolean"
|
|
1302
|
+
},
|
|
1303
|
+
"default": {
|
|
1304
|
+
"type": "string"
|
|
1305
|
+
},
|
|
1306
|
+
"options": {
|
|
1307
|
+
"description": "Turns the field into a select.",
|
|
1308
|
+
"type": "array",
|
|
1309
|
+
"items": {
|
|
1310
|
+
"type": "object",
|
|
1311
|
+
"properties": {
|
|
1312
|
+
"value": {
|
|
1313
|
+
"type": "string"
|
|
1314
|
+
},
|
|
1315
|
+
"label": {
|
|
1316
|
+
"type": "string"
|
|
1317
|
+
}
|
|
1318
|
+
},
|
|
1319
|
+
"required": [
|
|
1320
|
+
"value",
|
|
1321
|
+
"label"
|
|
1322
|
+
],
|
|
1323
|
+
"additionalProperties": false
|
|
1324
|
+
}
|
|
1325
|
+
},
|
|
1326
|
+
"when": {
|
|
1327
|
+
"description": "Only show this field while a condition over the answers already given holds: `auth == 'key'`, `provider in ['ipsec', 'fortinet']`, `!advanced`. Supports `&&`, `||`, `!`, comparisons and `in`.",
|
|
1328
|
+
"type": "string"
|
|
1329
|
+
},
|
|
1330
|
+
"value": {
|
|
1331
|
+
"description": "A fixed value baked into the config rather than asked for: how a card pins its discriminator (platform=\"reddit\", provider=\"stripe\"). Renders as nothing.",
|
|
1332
|
+
"type": "string"
|
|
1333
|
+
},
|
|
1334
|
+
"totp": {
|
|
1335
|
+
"description": "This field holds a TOTP seed, the base32 key or otpauth:// URI a service shows when enrolling an authenticator app. Declare it with `secret: true`. Unlike an ordinary secret it never enters the agent's environment: the daemon mints the six-digit codes on demand and only those cross.",
|
|
1336
|
+
"type": "boolean"
|
|
1337
|
+
}
|
|
1338
|
+
},
|
|
1339
|
+
"required": [
|
|
1340
|
+
"key",
|
|
1341
|
+
"label"
|
|
1342
|
+
],
|
|
1343
|
+
"additionalProperties": false
|
|
1344
|
+
}
|
|
1345
|
+
},
|
|
1160
1346
|
"kind": {
|
|
1161
1347
|
"type": "string",
|
|
1162
1348
|
"const": "agent"
|
|
@@ -1172,7 +1358,7 @@
|
|
|
1172
1358
|
}
|
|
1173
1359
|
]
|
|
1174
1360
|
},
|
|
1175
|
-
"description": "Capability cards this pack adds to the \"+\" grid: a connected CLI tool, a site the agent acts on as the owner through the shared browser, an operating system pack, or a preset over a core kind. The card and its form are data here; the machinery that acts on them is core, which is why a card may only name one of these
|
|
1361
|
+
"description": "Capability cards this pack adds to the \"+\" grid: a connected CLI tool, a site the agent acts on as the owner through the shared browser, an operating system pack, a browser family the owner connects their own copy of, or a preset over a core kind. The card and its form are data here; the machinery that acts on them is core, which is why a card may only name one of these five kinds."
|
|
1176
1362
|
},
|
|
1177
1363
|
"listener": {
|
|
1178
1364
|
"type": "object",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intentic/extension-manifest",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.233.0",
|
|
4
4
|
"description": "What an intentic extension DECLARES, the intentic-extension.json schema and the sandbox-route allowlist rule",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"tslib": "2.8.1",
|
|
36
36
|
"zod": "4.4.3",
|
|
37
|
-
"@intentic/base": "1.
|
|
37
|
+
"@intentic/base": "1.233.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/node": "24.13.2",
|
|
@@ -291,6 +291,20 @@ export const CapabilityContributionSchema = z
|
|
|
291
291
|
kind: z.literal("host"),
|
|
292
292
|
skill: z.string().min(1).describe("Checkout-relative SKILL.md teaching the agent that machine's shell."),
|
|
293
293
|
}),
|
|
294
|
+
/* A BROWSER FAMILY the user can connect their own copy of, through the extension they install in it.
|
|
295
|
+
* The `host` arm one layer in: the enrollment, the socket, the tool surface and the per-site grants are
|
|
296
|
+
* core (and, for the grants, the browser's own), so a card supplies exactly two things a family differs
|
|
297
|
+
* in — where its extension is installed from, and how its skill pack words the difference.
|
|
298
|
+
*
|
|
299
|
+
* `install` is a URL rather than a store id because the families do not share a store: Chrome, Edge and
|
|
300
|
+
* Firefox each have their own, and a self-hosted build is a zip on a page. The card renders it as the
|
|
301
|
+
* link in the connect dialog, so an unlisted family is one manifest entry away from working. */
|
|
302
|
+
z.object({
|
|
303
|
+
...contributionBase,
|
|
304
|
+
kind: z.literal("webext"),
|
|
305
|
+
install: z.url().describe("Where this browser's extension is installed from: its store listing, or a page offering the build."),
|
|
306
|
+
skill: z.string().min(1).describe("Checkout-relative SKILL.md teaching the agent to drive this browser."),
|
|
307
|
+
}),
|
|
294
308
|
/* A PRESET over a core kind: no payload at all, just a named card whose `fields` carry the defaults. What an
|
|
295
309
|
* ACP agent needs is a command, so "OpenCode" is entirely a name, a logo and a filled-in form, which is
|
|
296
310
|
* exactly what a catalog row is. */
|
|
@@ -324,7 +338,7 @@ export type SkillContribution = Extract<CapabilityContribution, { skill: string
|
|
|
324
338
|
* Here, beside the schema, because it is a fact about the contribution shape, the daemon, the catalog and the
|
|
325
339
|
* web all need it, and three copies of it is three chances for a card's instances to go missing. `satisfies`
|
|
326
340
|
* rather than a lookup table so a new arm above is a compile error until this answers for it. */
|
|
327
|
-
const DISCRIMINATOR = { cli: "provider", browser: "platform", host: "platform", agent: undefined } satisfies Record<
|
|
341
|
+
const DISCRIMINATOR = { cli: "provider", browser: "platform", host: "platform", webext: "platform", agent: undefined } satisfies Record<
|
|
328
342
|
CapabilityContribution["kind"],
|
|
329
343
|
string | undefined
|
|
330
344
|
>;
|
|
@@ -333,6 +347,6 @@ export const contributionDiscriminator = (kind: string): string | undefined => D
|
|
|
333
347
|
export const capabilitiesPoint = {
|
|
334
348
|
name: "capabilities",
|
|
335
349
|
description:
|
|
336
|
-
'Capability cards this pack adds to the "+" grid: a connected CLI tool, a site the agent acts on as the owner through the shared browser, an operating system pack, or a preset over a core kind. The card and its form are data here; the machinery that acts on them is core, which is why a card may only name one of these
|
|
350
|
+
'Capability cards this pack adds to the "+" grid: a connected CLI tool, a site the agent acts on as the owner through the shared browser, an operating system pack, a browser family the owner connects their own copy of, or a preset over a core kind. The card and its form are data here; the machinery that acts on them is core, which is why a card may only name one of these five kinds.',
|
|
337
351
|
schema: z.array(CapabilityContributionSchema),
|
|
338
352
|
} as const satisfies ContributionPoint;
|