@intentic/extension-manifest 1.230.2 → 1.231.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.
@@ -79,6 +79,7 @@ export declare const ExtensionManifestSchema: z.ZodObject<{
79
79
  secret: z.ZodOptional<z.ZodBoolean>;
80
80
  optional: z.ZodOptional<z.ZodBoolean>;
81
81
  multiline: z.ZodOptional<z.ZodBoolean>;
82
+ advanced: z.ZodOptional<z.ZodBoolean>;
82
83
  boolean: z.ZodOptional<z.ZodBoolean>;
83
84
  hint: z.ZodOptional<z.ZodString>;
84
85
  rebuild: z.ZodOptional<z.ZodBoolean>;
@@ -95,6 +96,17 @@ export declare const ExtensionManifestSchema: z.ZodObject<{
95
96
  skill: z.ZodString;
96
97
  fragment: z.ZodOptional<z.ZodString>;
97
98
  pack: z.ZodOptional<z.ZodString>;
99
+ probe: z.ZodOptional<z.ZodObject<{
100
+ url: z.ZodString;
101
+ method: z.ZodOptional<z.ZodEnum<{
102
+ GET: "GET";
103
+ HEAD: "HEAD";
104
+ POST: "POST";
105
+ }>>;
106
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
107
+ identity: z.ZodOptional<z.ZodString>;
108
+ insecure: z.ZodOptional<z.ZodBoolean>;
109
+ }, z.core.$strip>>;
98
110
  }, z.core.$strip>, z.ZodObject<{
99
111
  id: z.ZodString;
100
112
  catalog: z.ZodObject<{
@@ -121,6 +133,7 @@ export declare const ExtensionManifestSchema: z.ZodObject<{
121
133
  secret: z.ZodOptional<z.ZodBoolean>;
122
134
  optional: z.ZodOptional<z.ZodBoolean>;
123
135
  multiline: z.ZodOptional<z.ZodBoolean>;
136
+ advanced: z.ZodOptional<z.ZodBoolean>;
124
137
  boolean: z.ZodOptional<z.ZodBoolean>;
125
138
  hint: z.ZodOptional<z.ZodString>;
126
139
  rebuild: z.ZodOptional<z.ZodBoolean>;
@@ -163,6 +176,7 @@ export declare const ExtensionManifestSchema: z.ZodObject<{
163
176
  secret: z.ZodOptional<z.ZodBoolean>;
164
177
  optional: z.ZodOptional<z.ZodBoolean>;
165
178
  multiline: z.ZodOptional<z.ZodBoolean>;
179
+ advanced: z.ZodOptional<z.ZodBoolean>;
166
180
  boolean: z.ZodOptional<z.ZodBoolean>;
167
181
  hint: z.ZodOptional<z.ZodString>;
168
182
  rebuild: z.ZodOptional<z.ZodBoolean>;
@@ -203,6 +217,7 @@ export declare const ExtensionManifestSchema: z.ZodObject<{
203
217
  secret: z.ZodOptional<z.ZodBoolean>;
204
218
  optional: z.ZodOptional<z.ZodBoolean>;
205
219
  multiline: z.ZodOptional<z.ZodBoolean>;
220
+ advanced: z.ZodOptional<z.ZodBoolean>;
206
221
  boolean: z.ZodOptional<z.ZodBoolean>;
207
222
  hint: z.ZodOptional<z.ZodString>;
208
223
  rebuild: z.ZodOptional<z.ZodBoolean>;
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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"}
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"}
@@ -6,6 +6,7 @@ export declare const CapabilityFieldSchema: z.ZodObject<{
6
6
  secret: z.ZodOptional<z.ZodBoolean>;
7
7
  optional: z.ZodOptional<z.ZodBoolean>;
8
8
  multiline: z.ZodOptional<z.ZodBoolean>;
9
+ advanced: z.ZodOptional<z.ZodBoolean>;
9
10
  boolean: z.ZodOptional<z.ZodBoolean>;
10
11
  hint: z.ZodOptional<z.ZodString>;
11
12
  rebuild: z.ZodOptional<z.ZodBoolean>;
@@ -47,6 +48,7 @@ export declare const CapabilityContributionSchema: z.ZodDiscriminatedUnion<[z.Zo
47
48
  secret: z.ZodOptional<z.ZodBoolean>;
48
49
  optional: z.ZodOptional<z.ZodBoolean>;
49
50
  multiline: z.ZodOptional<z.ZodBoolean>;
51
+ advanced: z.ZodOptional<z.ZodBoolean>;
50
52
  boolean: z.ZodOptional<z.ZodBoolean>;
51
53
  hint: z.ZodOptional<z.ZodString>;
52
54
  rebuild: z.ZodOptional<z.ZodBoolean>;
@@ -63,6 +65,17 @@ export declare const CapabilityContributionSchema: z.ZodDiscriminatedUnion<[z.Zo
63
65
  skill: z.ZodString;
64
66
  fragment: z.ZodOptional<z.ZodString>;
65
67
  pack: z.ZodOptional<z.ZodString>;
68
+ probe: z.ZodOptional<z.ZodObject<{
69
+ url: z.ZodString;
70
+ method: z.ZodOptional<z.ZodEnum<{
71
+ GET: "GET";
72
+ HEAD: "HEAD";
73
+ POST: "POST";
74
+ }>>;
75
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
76
+ identity: z.ZodOptional<z.ZodString>;
77
+ insecure: z.ZodOptional<z.ZodBoolean>;
78
+ }, z.core.$strip>>;
66
79
  }, z.core.$strip>, z.ZodObject<{
67
80
  id: z.ZodString;
68
81
  catalog: z.ZodObject<{
@@ -89,6 +102,7 @@ export declare const CapabilityContributionSchema: z.ZodDiscriminatedUnion<[z.Zo
89
102
  secret: z.ZodOptional<z.ZodBoolean>;
90
103
  optional: z.ZodOptional<z.ZodBoolean>;
91
104
  multiline: z.ZodOptional<z.ZodBoolean>;
105
+ advanced: z.ZodOptional<z.ZodBoolean>;
92
106
  boolean: z.ZodOptional<z.ZodBoolean>;
93
107
  hint: z.ZodOptional<z.ZodString>;
94
108
  rebuild: z.ZodOptional<z.ZodBoolean>;
@@ -131,6 +145,7 @@ export declare const CapabilityContributionSchema: z.ZodDiscriminatedUnion<[z.Zo
131
145
  secret: z.ZodOptional<z.ZodBoolean>;
132
146
  optional: z.ZodOptional<z.ZodBoolean>;
133
147
  multiline: z.ZodOptional<z.ZodBoolean>;
148
+ advanced: z.ZodOptional<z.ZodBoolean>;
134
149
  boolean: z.ZodOptional<z.ZodBoolean>;
135
150
  hint: z.ZodOptional<z.ZodString>;
136
151
  rebuild: z.ZodOptional<z.ZodBoolean>;
@@ -171,6 +186,7 @@ export declare const CapabilityContributionSchema: z.ZodDiscriminatedUnion<[z.Zo
171
186
  secret: z.ZodOptional<z.ZodBoolean>;
172
187
  optional: z.ZodOptional<z.ZodBoolean>;
173
188
  multiline: z.ZodOptional<z.ZodBoolean>;
189
+ advanced: z.ZodOptional<z.ZodBoolean>;
174
190
  boolean: z.ZodOptional<z.ZodBoolean>;
175
191
  hint: z.ZodOptional<z.ZodString>;
176
192
  rebuild: z.ZodOptional<z.ZodBoolean>;
@@ -220,6 +236,7 @@ export declare const capabilitiesPoint: {
220
236
  secret: z.ZodOptional<z.ZodBoolean>;
221
237
  optional: z.ZodOptional<z.ZodBoolean>;
222
238
  multiline: z.ZodOptional<z.ZodBoolean>;
239
+ advanced: z.ZodOptional<z.ZodBoolean>;
223
240
  boolean: z.ZodOptional<z.ZodBoolean>;
224
241
  hint: z.ZodOptional<z.ZodString>;
225
242
  rebuild: z.ZodOptional<z.ZodBoolean>;
@@ -236,6 +253,17 @@ export declare const capabilitiesPoint: {
236
253
  skill: z.ZodString;
237
254
  fragment: z.ZodOptional<z.ZodString>;
238
255
  pack: z.ZodOptional<z.ZodString>;
256
+ probe: z.ZodOptional<z.ZodObject<{
257
+ url: z.ZodString;
258
+ method: z.ZodOptional<z.ZodEnum<{
259
+ GET: "GET";
260
+ HEAD: "HEAD";
261
+ POST: "POST";
262
+ }>>;
263
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
264
+ identity: z.ZodOptional<z.ZodString>;
265
+ insecure: z.ZodOptional<z.ZodBoolean>;
266
+ }, z.core.$strip>>;
239
267
  }, z.core.$strip>, z.ZodObject<{
240
268
  id: z.ZodString;
241
269
  catalog: z.ZodObject<{
@@ -262,6 +290,7 @@ export declare const capabilitiesPoint: {
262
290
  secret: z.ZodOptional<z.ZodBoolean>;
263
291
  optional: z.ZodOptional<z.ZodBoolean>;
264
292
  multiline: z.ZodOptional<z.ZodBoolean>;
293
+ advanced: z.ZodOptional<z.ZodBoolean>;
265
294
  boolean: z.ZodOptional<z.ZodBoolean>;
266
295
  hint: z.ZodOptional<z.ZodString>;
267
296
  rebuild: z.ZodOptional<z.ZodBoolean>;
@@ -304,6 +333,7 @@ export declare const capabilitiesPoint: {
304
333
  secret: z.ZodOptional<z.ZodBoolean>;
305
334
  optional: z.ZodOptional<z.ZodBoolean>;
306
335
  multiline: z.ZodOptional<z.ZodBoolean>;
336
+ advanced: z.ZodOptional<z.ZodBoolean>;
307
337
  boolean: z.ZodOptional<z.ZodBoolean>;
308
338
  hint: z.ZodOptional<z.ZodString>;
309
339
  rebuild: z.ZodOptional<z.ZodBoolean>;
@@ -344,6 +374,7 @@ export declare const capabilitiesPoint: {
344
374
  secret: z.ZodOptional<z.ZodBoolean>;
345
375
  optional: z.ZodOptional<z.ZodBoolean>;
346
376
  multiline: z.ZodOptional<z.ZodBoolean>;
377
+ advanced: z.ZodOptional<z.ZodBoolean>;
347
378
  boolean: z.ZodOptional<z.ZodBoolean>;
348
379
  hint: z.ZodOptional<z.ZodString>;
349
380
  rebuild: z.ZodOptional<z.ZodBoolean>;
@@ -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;;;;;;;;;;;;;;;;;;iBA+EhC,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,CAAC,KAAG,OACtB,CAAC;AA+D5E,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAyGnC,CAAC;AACP,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAElF,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,sBAAsB,EAAE;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAcnF,eAAO,MAAM,yBAAyB,SAAU,MAAM,KAAG,MAAM,GAAG,SAA8D,CAAC;AAEjI,eAAO,MAAM,iBAAiB;mBACpB,cAAc;0BAEhB,2UAA2U;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAE7S,CAAC"}
@@ -8,6 +8,10 @@ export const CapabilityFieldSchema = z.object({
8
8
  secret: z.boolean().optional().describe("Mask it, and never echo it back."),
9
9
  optional: z.boolean().optional(),
10
10
  multiline: z.boolean().optional(),
11
+ advanced: z
12
+ .boolean()
13
+ .optional()
14
+ .describe("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."),
11
15
  boolean: z
12
16
  .boolean()
13
17
  .optional()
@@ -40,6 +44,25 @@ export const CapabilityFieldSchema = z.object({
40
44
  .describe("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."),
41
45
  });
42
46
  export const fieldApplies = (field, values) => field.when === undefined || evaluateWhen(parseWhen(field.when), values);
47
+ const ProbeSchema = z.object({
48
+ url: z
49
+ .string()
50
+ .min(1)
51
+ .describe("The URL to call, as a template over the fields: `${field}` substitutes, `${field:uri}` percent-encodes. Same spelling as `env`."),
52
+ method: z.enum(["GET", "POST", "HEAD"]).optional().describe("Defaults to GET."),
53
+ headers: z
54
+ .record(z.string(), z.string())
55
+ .optional()
56
+ .describe('The request headers, templated the same way: `{"Authorization": "Bearer ${token}"}`.'),
57
+ identity: z
58
+ .string()
59
+ .optional()
60
+ .describe('A dotted path into the JSON answer naming who the caller is ("login", "user.name"), so success can say which account answered.'),
61
+ insecure: z
62
+ .boolean()
63
+ .optional()
64
+ .describe("Accept a self-signed certificate, for a service whose local install ships one (Obsidian's Local REST API)."),
65
+ });
43
66
  const CatalogSchema = z.object({
44
67
  name: z.string().min(1),
45
68
  ...MARK_FIELDS,
@@ -92,6 +115,7 @@ export const CapabilityContributionSchema = z
92
115
  .min(1)
93
116
  .optional()
94
117
  .describe("A sandbox feature pack name (whisper, llamacpp, browser, …) supplying this tool. Preferred over `fragment`: an image that already bakes the pack needs no rebuild, and there is no copy to drift."),
118
+ probe: ProbeSchema.optional().describe("One authenticated request that tests this card's settings before they are saved, so a wrong token or an unreachable host is answered on the form rather than by a card that says 'not connected' afterwards."),
95
119
  }),
96
120
  z.object({
97
121
  ...contributionBase,
@@ -1 +1 @@
1
- {"version":3,"file":"capabilities.js","sourceRoot":"","sources":["../../src/points/capabilities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAKzC,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,wBAAwB,CAAC;IAC/C,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACxB,WAAW,EAAE,CAAC,CAAC,M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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,KAAK,EAAE,SAAS,EAG/F,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,2UAA2U;IAC/U,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,4BAA4B,CAAC;CACX,CAAC"}
@@ -132,6 +132,7 @@ export declare const CONTRIBUTION_POINTS: readonly [{
132
132
  secret: z.ZodOptional<z.ZodBoolean>;
133
133
  optional: z.ZodOptional<z.ZodBoolean>;
134
134
  multiline: z.ZodOptional<z.ZodBoolean>;
135
+ advanced: z.ZodOptional<z.ZodBoolean>;
135
136
  boolean: z.ZodOptional<z.ZodBoolean>;
136
137
  hint: z.ZodOptional<z.ZodString>;
137
138
  rebuild: z.ZodOptional<z.ZodBoolean>;
@@ -148,6 +149,17 @@ export declare const CONTRIBUTION_POINTS: readonly [{
148
149
  skill: z.ZodString;
149
150
  fragment: z.ZodOptional<z.ZodString>;
150
151
  pack: z.ZodOptional<z.ZodString>;
152
+ probe: z.ZodOptional<z.ZodObject<{
153
+ url: z.ZodString;
154
+ method: z.ZodOptional<z.ZodEnum<{
155
+ GET: "GET";
156
+ HEAD: "HEAD";
157
+ POST: "POST";
158
+ }>>;
159
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
160
+ identity: z.ZodOptional<z.ZodString>;
161
+ insecure: z.ZodOptional<z.ZodBoolean>;
162
+ }, z.core.$strip>>;
151
163
  }, z.core.$strip>, z.ZodObject<{
152
164
  id: z.ZodString;
153
165
  catalog: z.ZodObject<{
@@ -174,6 +186,7 @@ export declare const CONTRIBUTION_POINTS: readonly [{
174
186
  secret: z.ZodOptional<z.ZodBoolean>;
175
187
  optional: z.ZodOptional<z.ZodBoolean>;
176
188
  multiline: z.ZodOptional<z.ZodBoolean>;
189
+ advanced: z.ZodOptional<z.ZodBoolean>;
177
190
  boolean: z.ZodOptional<z.ZodBoolean>;
178
191
  hint: z.ZodOptional<z.ZodString>;
179
192
  rebuild: z.ZodOptional<z.ZodBoolean>;
@@ -216,6 +229,7 @@ export declare const CONTRIBUTION_POINTS: readonly [{
216
229
  secret: z.ZodOptional<z.ZodBoolean>;
217
230
  optional: z.ZodOptional<z.ZodBoolean>;
218
231
  multiline: z.ZodOptional<z.ZodBoolean>;
232
+ advanced: z.ZodOptional<z.ZodBoolean>;
219
233
  boolean: z.ZodOptional<z.ZodBoolean>;
220
234
  hint: z.ZodOptional<z.ZodString>;
221
235
  rebuild: z.ZodOptional<z.ZodBoolean>;
@@ -256,6 +270,7 @@ export declare const CONTRIBUTION_POINTS: readonly [{
256
270
  secret: z.ZodOptional<z.ZodBoolean>;
257
271
  optional: z.ZodOptional<z.ZodBoolean>;
258
272
  multiline: z.ZodOptional<z.ZodBoolean>;
273
+ advanced: z.ZodOptional<z.ZodBoolean>;
259
274
  boolean: z.ZodOptional<z.ZodBoolean>;
260
275
  hint: z.ZodOptional<z.ZodString>;
261
276
  rebuild: z.ZodOptional<z.ZodBoolean>;
@@ -395,6 +410,7 @@ export declare const contributesSchema: z.ZodObject<{
395
410
  secret: z.ZodOptional<z.ZodBoolean>;
396
411
  optional: z.ZodOptional<z.ZodBoolean>;
397
412
  multiline: z.ZodOptional<z.ZodBoolean>;
413
+ advanced: z.ZodOptional<z.ZodBoolean>;
398
414
  boolean: z.ZodOptional<z.ZodBoolean>;
399
415
  hint: z.ZodOptional<z.ZodString>;
400
416
  rebuild: z.ZodOptional<z.ZodBoolean>;
@@ -411,6 +427,17 @@ export declare const contributesSchema: z.ZodObject<{
411
427
  skill: z.ZodString;
412
428
  fragment: z.ZodOptional<z.ZodString>;
413
429
  pack: z.ZodOptional<z.ZodString>;
430
+ probe: z.ZodOptional<z.ZodObject<{
431
+ url: z.ZodString;
432
+ method: z.ZodOptional<z.ZodEnum<{
433
+ GET: "GET";
434
+ HEAD: "HEAD";
435
+ POST: "POST";
436
+ }>>;
437
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
438
+ identity: z.ZodOptional<z.ZodString>;
439
+ insecure: z.ZodOptional<z.ZodBoolean>;
440
+ }, z.core.$strip>>;
414
441
  }, z.core.$strip>, z.ZodObject<{
415
442
  id: z.ZodString;
416
443
  catalog: z.ZodObject<{
@@ -437,6 +464,7 @@ export declare const contributesSchema: z.ZodObject<{
437
464
  secret: z.ZodOptional<z.ZodBoolean>;
438
465
  optional: z.ZodOptional<z.ZodBoolean>;
439
466
  multiline: z.ZodOptional<z.ZodBoolean>;
467
+ advanced: z.ZodOptional<z.ZodBoolean>;
440
468
  boolean: z.ZodOptional<z.ZodBoolean>;
441
469
  hint: z.ZodOptional<z.ZodString>;
442
470
  rebuild: z.ZodOptional<z.ZodBoolean>;
@@ -479,6 +507,7 @@ export declare const contributesSchema: z.ZodObject<{
479
507
  secret: z.ZodOptional<z.ZodBoolean>;
480
508
  optional: z.ZodOptional<z.ZodBoolean>;
481
509
  multiline: z.ZodOptional<z.ZodBoolean>;
510
+ advanced: z.ZodOptional<z.ZodBoolean>;
482
511
  boolean: z.ZodOptional<z.ZodBoolean>;
483
512
  hint: z.ZodOptional<z.ZodString>;
484
513
  rebuild: z.ZodOptional<z.ZodBoolean>;
@@ -519,6 +548,7 @@ export declare const contributesSchema: z.ZodObject<{
519
548
  secret: z.ZodOptional<z.ZodBoolean>;
520
549
  optional: z.ZodOptional<z.ZodBoolean>;
521
550
  multiline: z.ZodOptional<z.ZodBoolean>;
551
+ advanced: z.ZodOptional<z.ZodBoolean>;
522
552
  boolean: z.ZodOptional<z.ZodBoolean>;
523
553
  hint: z.ZodOptional<z.ZodString>;
524
554
  rebuild: z.ZodOptional<z.ZodBoolean>;
@@ -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,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAa3B,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAciB,CAAC;AAelD,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAE7B,CAAC"}
@@ -484,6 +484,10 @@
484
484
  "multiline": {
485
485
  "type": "boolean"
486
486
  },
487
+ "advanced": {
488
+ "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.",
489
+ "type": "boolean"
490
+ },
487
491
  "boolean": {
488
492
  "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.",
489
493
  "type": "boolean"
@@ -568,6 +572,48 @@
568
572
  "description": "A sandbox feature pack name (whisper, llamacpp, browser, …) supplying this tool. Preferred over `fragment`: an image that already bakes the pack needs no rebuild, and there is no copy to drift.",
569
573
  "type": "string",
570
574
  "minLength": 1
575
+ },
576
+ "probe": {
577
+ "description": "One authenticated request that tests this card's settings before they are saved, so a wrong token or an unreachable host is answered on the form rather than by a card that says 'not connected' afterwards.",
578
+ "type": "object",
579
+ "properties": {
580
+ "url": {
581
+ "type": "string",
582
+ "minLength": 1,
583
+ "description": "The URL to call, as a template over the fields: `${field}` substitutes, `${field:uri}` percent-encodes. Same spelling as `env`."
584
+ },
585
+ "method": {
586
+ "description": "Defaults to GET.",
587
+ "type": "string",
588
+ "enum": [
589
+ "GET",
590
+ "POST",
591
+ "HEAD"
592
+ ]
593
+ },
594
+ "headers": {
595
+ "description": "The request headers, templated the same way: `{\"Authorization\": \"Bearer ${token}\"}`.",
596
+ "type": "object",
597
+ "propertyNames": {
598
+ "type": "string"
599
+ },
600
+ "additionalProperties": {
601
+ "type": "string"
602
+ }
603
+ },
604
+ "identity": {
605
+ "description": "A dotted path into the JSON answer naming who the caller is (\"login\", \"user.name\"), so success can say which account answered.",
606
+ "type": "string"
607
+ },
608
+ "insecure": {
609
+ "description": "Accept a self-signed certificate, for a service whose local install ships one (Obsidian's Local REST API).",
610
+ "type": "boolean"
611
+ }
612
+ },
613
+ "required": [
614
+ "url"
615
+ ],
616
+ "additionalProperties": false
571
617
  }
572
618
  },
573
619
  "required": [
@@ -682,6 +728,10 @@
682
728
  "multiline": {
683
729
  "type": "boolean"
684
730
  },
731
+ "advanced": {
732
+ "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.",
733
+ "type": "boolean"
734
+ },
685
735
  "boolean": {
686
736
  "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.",
687
737
  "type": "boolean"
@@ -868,6 +918,10 @@
868
918
  "multiline": {
869
919
  "type": "boolean"
870
920
  },
921
+ "advanced": {
922
+ "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.",
923
+ "type": "boolean"
924
+ },
871
925
  "boolean": {
872
926
  "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.",
873
927
  "type": "boolean"
@@ -1044,6 +1098,10 @@
1044
1098
  "multiline": {
1045
1099
  "type": "boolean"
1046
1100
  },
1101
+ "advanced": {
1102
+ "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.",
1103
+ "type": "boolean"
1104
+ },
1047
1105
  "boolean": {
1048
1106
  "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.",
1049
1107
  "type": "boolean"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intentic/extension-manifest",
3
- "version": "1.230.2",
3
+ "version": "1.231.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.230.2"
37
+ "@intentic/base": "1.231.0"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@types/node": "24.13.2",
@@ -13,6 +13,16 @@ export const CapabilityFieldSchema = z.object({
13
13
  secret: z.boolean().optional().describe("Mask it, and never echo it back."),
14
14
  optional: z.boolean().optional(),
15
15
  multiline: z.boolean().optional(),
16
+ /* The answers most connections never change, folded behind the form's one "Advanced" disclosure. A form's
17
+ * length is what it costs to read, and a card that asks six questions whose defaults are right for nearly
18
+ * everyone was spending that cost on nearly everyone. The disclosure opens BY ITSELF while any advanced
19
+ * field holds a non-default value, so an edit never hides the settings it is standing on. */
20
+ advanced: z
21
+ .boolean()
22
+ .optional()
23
+ .describe(
24
+ "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.",
25
+ ),
16
26
  // An OPT-IN EXTRA rather than a decision, rendered as a switch, carried as the "on"/"off" the config
17
27
  // schemas already speak (the vpn's pfs/aggressive precedent). A two-option Segmented can express the same
18
28
  // value, and reads wrong for this: it presents a choice the user must make to proceed, sized like the
@@ -104,6 +114,37 @@ export type CapabilityField = z.infer<typeof CapabilityFieldSchema>;
104
114
  export const fieldApplies = (field: CapabilityField, values: Readonly<Record<string, unknown>>): boolean =>
105
115
  field.when === undefined || evaluateWhen(parseWhen(field.when), values);
106
116
 
117
+ /* HOW THIS CARD'S SETTINGS ARE TESTED, before they are saved. One authenticated request the daemon makes on the
118
+ * form's behalf (capabilities.probe), declared as data for the same reason the form is: the check is per-service
119
+ * and the machinery is not.
120
+ *
121
+ * It is worth declaring on any card whose failure is otherwise silent, which is most of them: a wrong token, a
122
+ * host the sandbox cannot route to and a service that is simply not running all present identically as a card
123
+ * that says "not connected" some time after the form was left. The probe turns each into a sentence on the form
124
+ * the reader is still standing on. */
125
+ const ProbeSchema = z.object({
126
+ url: z
127
+ .string()
128
+ .min(1)
129
+ .describe("The URL to call, as a template over the fields: `${field}` substitutes, `${field:uri}` percent-encodes. Same spelling as `env`."),
130
+ method: z.enum(["GET", "POST", "HEAD"]).optional().describe("Defaults to GET."),
131
+ headers: z
132
+ .record(z.string(), z.string())
133
+ .optional()
134
+ .describe('The request headers, templated the same way: `{"Authorization": "Bearer ${token}"}`.'),
135
+ /* WHAT THE SERVICE CALLED THE CALLER, read out of the JSON answer so success can be specific: "authenticated
136
+ * as ada" is a different fact from "200 OK", and it is the one that tells a reader they connected the
137
+ * account they meant to. A dotted path; a miss just leaves the message general. */
138
+ identity: z
139
+ .string()
140
+ .optional()
141
+ .describe('A dotted path into the JSON answer naming who the caller is ("login", "user.name"), so success can say which account answered.'),
142
+ insecure: z
143
+ .boolean()
144
+ .optional()
145
+ .describe("Accept a self-signed certificate, for a service whose local install ships one (Obsidian's Local REST API)."),
146
+ });
147
+
107
148
  // The "+" card an entry renders: how it looks in the grid and how the user gets the credential it asks for.
108
149
  // Shared by every arm below, because none of that varies with the kind.
109
150
  const CatalogSchema = z.object({
@@ -202,6 +243,9 @@ export const CapabilityContributionSchema = z
202
243
  .describe(
203
244
  "A sandbox feature pack name (whisper, llamacpp, browser, …) supplying this tool. Preferred over `fragment`: an image that already bakes the pack needs no rebuild, and there is no copy to drift.",
204
245
  ),
246
+ probe: ProbeSchema.optional().describe(
247
+ "One authenticated request that tests this card's settings before they are saved, so a wrong token or an unreachable host is answered on the form rather than by a card that says 'not connected' afterwards.",
248
+ ),
205
249
  }),
206
250
  /* A site the agent acts on AS THE OWNER, through the shared logged-in Chromium. `loginUrl` is what the
207
251
  * sign-in window opens; the profile it persists is the credential. `homeUrl` is where that same profile