@gmickel/gno 1.23.0 → 1.24.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.
@@ -0,0 +1,456 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "gno://schemas/setup-activation-result@1.0",
4
+ "title": "GNO Setup Activation Result",
5
+ "description": "Closed connector onboarding composition beside an unchanged verified setup result.",
6
+ "type": "object",
7
+ "additionalProperties": false,
8
+ "required": ["schemaVersion", "status", "setup", "connectors"],
9
+ "properties": {
10
+ "schemaVersion": { "const": "1.0" },
11
+ "status": { "enum": ["completed", "completed_with_actions", "failed"] },
12
+ "setup": { "$ref": "gno://schemas/setup-command-result@1.0" },
13
+ "connectors": {
14
+ "type": "array",
15
+ "maxItems": 7,
16
+ "items": {
17
+ "type": "object",
18
+ "additionalProperties": false,
19
+ "required": [
20
+ "connectorId",
21
+ "kind",
22
+ "target",
23
+ "scope",
24
+ "installation",
25
+ "verification",
26
+ "code",
27
+ "remediation",
28
+ "receipt"
29
+ ],
30
+ "properties": {
31
+ "connectorId": {
32
+ "enum": [
33
+ "claude-code-skill",
34
+ "claude-desktop-mcp",
35
+ "cursor-mcp",
36
+ "codex-skill",
37
+ "opencode-skill",
38
+ "openclaw-skill",
39
+ "hermes-skill"
40
+ ]
41
+ },
42
+ "kind": { "enum": ["skill", "mcp"] },
43
+ "target": {
44
+ "enum": [
45
+ "claude",
46
+ "claude-desktop",
47
+ "cursor",
48
+ "codex",
49
+ "opencode",
50
+ "openclaw",
51
+ "hermes"
52
+ ]
53
+ },
54
+ "scope": { "const": "user" },
55
+ "installation": {
56
+ "enum": ["installed", "reused", "failed"]
57
+ },
58
+ "verification": {
59
+ "enum": ["passed", "failed", "skipped", "not_run"]
60
+ },
61
+ "code": {
62
+ "enum": [
63
+ "connector_verified",
64
+ "connector_configuration_unavailable",
65
+ "connector_install_failed",
66
+ "connector_verification_failed",
67
+ "connector_not_configured",
68
+ "connector_probe_unavailable",
69
+ "connector_unsupported_config",
70
+ "connector_start_failed",
71
+ "connector_timeout",
72
+ "connector_missing_tools",
73
+ "connector_status_failed",
74
+ "connector_search_failed",
75
+ "connector_result_mismatch",
76
+ "target_runtime_unverifiable"
77
+ ]
78
+ },
79
+ "remediation": {
80
+ "type": "string",
81
+ "minLength": 1,
82
+ "maxLength": 512
83
+ },
84
+ "receipt": {
85
+ "oneOf": [
86
+ {
87
+ "$ref": "gno://schemas/activation-verification@1.0"
88
+ },
89
+ { "type": "null" }
90
+ ]
91
+ }
92
+ },
93
+ "allOf": [
94
+ {
95
+ "if": {
96
+ "properties": {
97
+ "connectorId": { "const": "claude-code-skill" }
98
+ },
99
+ "required": ["connectorId"]
100
+ },
101
+ "then": {
102
+ "properties": {
103
+ "kind": { "const": "skill" },
104
+ "target": { "const": "claude" }
105
+ }
106
+ }
107
+ },
108
+ {
109
+ "if": {
110
+ "properties": {
111
+ "connectorId": { "const": "claude-desktop-mcp" }
112
+ },
113
+ "required": ["connectorId"]
114
+ },
115
+ "then": {
116
+ "properties": {
117
+ "kind": { "const": "mcp" },
118
+ "target": { "const": "claude-desktop" }
119
+ }
120
+ }
121
+ },
122
+ {
123
+ "if": {
124
+ "properties": { "connectorId": { "const": "cursor-mcp" } },
125
+ "required": ["connectorId"]
126
+ },
127
+ "then": {
128
+ "properties": {
129
+ "kind": { "const": "mcp" },
130
+ "target": { "const": "cursor" }
131
+ }
132
+ }
133
+ },
134
+ {
135
+ "if": {
136
+ "properties": { "connectorId": { "const": "codex-skill" } },
137
+ "required": ["connectorId"]
138
+ },
139
+ "then": {
140
+ "properties": {
141
+ "kind": { "const": "skill" },
142
+ "target": { "const": "codex" }
143
+ }
144
+ }
145
+ },
146
+ {
147
+ "if": {
148
+ "properties": {
149
+ "connectorId": { "const": "opencode-skill" }
150
+ },
151
+ "required": ["connectorId"]
152
+ },
153
+ "then": {
154
+ "properties": {
155
+ "kind": { "const": "skill" },
156
+ "target": { "const": "opencode" }
157
+ }
158
+ }
159
+ },
160
+ {
161
+ "if": {
162
+ "properties": {
163
+ "connectorId": { "const": "openclaw-skill" }
164
+ },
165
+ "required": ["connectorId"]
166
+ },
167
+ "then": {
168
+ "properties": {
169
+ "kind": { "const": "skill" },
170
+ "target": { "const": "openclaw" }
171
+ }
172
+ }
173
+ },
174
+ {
175
+ "if": {
176
+ "properties": { "connectorId": { "const": "hermes-skill" } },
177
+ "required": ["connectorId"]
178
+ },
179
+ "then": {
180
+ "properties": {
181
+ "kind": { "const": "skill" },
182
+ "target": { "const": "hermes" }
183
+ }
184
+ }
185
+ },
186
+ {
187
+ "if": {
188
+ "properties": {
189
+ "verification": { "const": "passed" }
190
+ },
191
+ "required": ["verification"]
192
+ },
193
+ "then": {
194
+ "properties": {
195
+ "installation": { "enum": ["installed", "reused"] },
196
+ "code": { "const": "connector_verified" },
197
+ "receipt": {
198
+ "allOf": [
199
+ { "$ref": "gno://schemas/activation-verification@1.0" },
200
+ {
201
+ "type": "object",
202
+ "properties": {
203
+ "stages": {
204
+ "type": "object",
205
+ "properties": {
206
+ "connector": {
207
+ "type": "object",
208
+ "properties": {
209
+ "status": { "const": "passed" }
210
+ },
211
+ "required": ["status"]
212
+ }
213
+ },
214
+ "required": ["connector"]
215
+ }
216
+ },
217
+ "required": ["stages"]
218
+ }
219
+ ]
220
+ }
221
+ }
222
+ }
223
+ },
224
+ {
225
+ "if": {
226
+ "properties": {
227
+ "verification": { "const": "skipped" }
228
+ },
229
+ "required": ["verification"]
230
+ },
231
+ "then": {
232
+ "properties": {
233
+ "installation": { "enum": ["installed", "reused"] },
234
+ "code": {
235
+ "enum": [
236
+ "connector_not_configured",
237
+ "connector_probe_unavailable",
238
+ "target_runtime_unverifiable"
239
+ ]
240
+ },
241
+ "receipt": {
242
+ "allOf": [
243
+ { "$ref": "gno://schemas/activation-verification@1.0" },
244
+ {
245
+ "type": "object",
246
+ "properties": {
247
+ "stages": {
248
+ "type": "object",
249
+ "properties": {
250
+ "connector": {
251
+ "type": "object",
252
+ "properties": {
253
+ "status": { "const": "skipped" }
254
+ },
255
+ "required": ["status"]
256
+ }
257
+ },
258
+ "required": ["connector"]
259
+ }
260
+ },
261
+ "required": ["stages"]
262
+ }
263
+ ]
264
+ }
265
+ }
266
+ }
267
+ },
268
+ {
269
+ "if": {
270
+ "properties": {
271
+ "verification": { "const": "failed" }
272
+ },
273
+ "required": ["verification"]
274
+ },
275
+ "then": {
276
+ "properties": {
277
+ "installation": { "enum": ["installed", "reused"] },
278
+ "code": {
279
+ "enum": [
280
+ "connector_verification_failed",
281
+ "connector_probe_unavailable",
282
+ "connector_unsupported_config",
283
+ "connector_start_failed",
284
+ "connector_timeout",
285
+ "connector_missing_tools",
286
+ "connector_status_failed",
287
+ "connector_search_failed",
288
+ "connector_result_mismatch"
289
+ ]
290
+ }
291
+ },
292
+ "allOf": [
293
+ {
294
+ "if": {
295
+ "properties": {
296
+ "receipt": { "type": "object" }
297
+ },
298
+ "required": ["receipt"]
299
+ },
300
+ "then": {
301
+ "properties": {
302
+ "receipt": {
303
+ "allOf": [
304
+ {
305
+ "$ref": "gno://schemas/activation-verification@1.0"
306
+ },
307
+ {
308
+ "type": "object",
309
+ "properties": {
310
+ "stages": {
311
+ "type": "object",
312
+ "properties": {
313
+ "connector": {
314
+ "type": "object",
315
+ "properties": {
316
+ "status": { "const": "failed" }
317
+ },
318
+ "required": ["status"]
319
+ }
320
+ },
321
+ "required": ["connector"]
322
+ }
323
+ },
324
+ "required": ["stages"]
325
+ }
326
+ ]
327
+ }
328
+ }
329
+ },
330
+ "else": {
331
+ "properties": {
332
+ "code": { "const": "connector_verification_failed" }
333
+ }
334
+ }
335
+ }
336
+ ]
337
+ }
338
+ },
339
+ {
340
+ "if": {
341
+ "properties": {
342
+ "verification": { "const": "not_run" }
343
+ },
344
+ "required": ["verification"]
345
+ },
346
+ "then": {
347
+ "properties": {
348
+ "installation": { "const": "failed" },
349
+ "code": {
350
+ "enum": [
351
+ "connector_configuration_unavailable",
352
+ "connector_install_failed",
353
+ "connector_verification_failed"
354
+ ]
355
+ },
356
+ "receipt": { "type": "null" }
357
+ }
358
+ }
359
+ }
360
+ ]
361
+ }
362
+ }
363
+ },
364
+ "allOf": [
365
+ {
366
+ "if": {
367
+ "properties": { "status": { "const": "completed" } },
368
+ "required": ["status"]
369
+ },
370
+ "then": {
371
+ "properties": {
372
+ "setup": {
373
+ "allOf": [
374
+ { "$ref": "gno://schemas/setup-command-result@1.0" },
375
+ {
376
+ "type": "object",
377
+ "properties": { "status": { "const": "completed" } },
378
+ "required": ["status"]
379
+ }
380
+ ]
381
+ },
382
+ "connectors": {
383
+ "type": "array",
384
+ "minItems": 1,
385
+ "items": {
386
+ "type": "object",
387
+ "properties": {
388
+ "verification": { "const": "passed" },
389
+ "code": { "const": "connector_verified" }
390
+ }
391
+ }
392
+ }
393
+ }
394
+ }
395
+ },
396
+ {
397
+ "if": {
398
+ "properties": {
399
+ "status": { "const": "completed_with_actions" }
400
+ },
401
+ "required": ["status"]
402
+ },
403
+ "then": {
404
+ "properties": {
405
+ "setup": {
406
+ "allOf": [
407
+ { "$ref": "gno://schemas/setup-command-result@1.0" },
408
+ {
409
+ "type": "object",
410
+ "properties": { "status": { "const": "completed" } },
411
+ "required": ["status"]
412
+ }
413
+ ]
414
+ },
415
+ "connectors": {
416
+ "type": "array",
417
+ "minItems": 1,
418
+ "contains": {
419
+ "type": "object",
420
+ "properties": {
421
+ "verification": {
422
+ "enum": ["failed", "skipped", "not_run"]
423
+ }
424
+ },
425
+ "required": ["verification"]
426
+ }
427
+ }
428
+ }
429
+ }
430
+ },
431
+ {
432
+ "if": {
433
+ "properties": { "status": { "const": "failed" } },
434
+ "required": ["status"]
435
+ },
436
+ "then": {
437
+ "properties": {
438
+ "setup": {
439
+ "allOf": [
440
+ { "$ref": "gno://schemas/setup-command-result@1.0" },
441
+ {
442
+ "type": "object",
443
+ "properties": { "status": { "const": "failed" } },
444
+ "required": ["status"]
445
+ }
446
+ ]
447
+ },
448
+ "connectors": {
449
+ "type": "array",
450
+ "maxItems": 0
451
+ }
452
+ }
453
+ }
454
+ }
455
+ ]
456
+ }
@@ -0,0 +1,93 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "gno://schemas/setup-command-result@1.0",
4
+ "title": "GNO Setup Command Result",
5
+ "description": "Closed standalone setup result with separate lexical and semantic projections.",
6
+ "type": "object",
7
+ "additionalProperties": false,
8
+ "required": ["schemaVersion", "status", "lexical", "semantic"],
9
+ "properties": {
10
+ "schemaVersion": { "const": "1.0" },
11
+ "status": { "enum": ["completed", "failed"] },
12
+ "lexical": {
13
+ "type": "object",
14
+ "additionalProperties": false,
15
+ "required": ["receipt", "error"],
16
+ "properties": {
17
+ "receipt": {
18
+ "oneOf": [
19
+ { "$ref": "gno://schemas/setup-receipt@1.0" },
20
+ { "type": "null" }
21
+ ]
22
+ },
23
+ "error": {
24
+ "oneOf": [
25
+ {
26
+ "type": "object",
27
+ "additionalProperties": false,
28
+ "required": ["code", "message", "remediation"],
29
+ "properties": {
30
+ "code": { "type": "string", "minLength": 1 },
31
+ "message": { "type": "string", "minLength": 1 },
32
+ "remediation": { "type": "string", "minLength": 1 }
33
+ }
34
+ },
35
+ { "type": "null" }
36
+ ]
37
+ }
38
+ }
39
+ },
40
+ "semantic": {
41
+ "oneOf": [
42
+ { "$ref": "gno://schemas/setup-semantic@1.0" },
43
+ { "type": "null" }
44
+ ]
45
+ }
46
+ },
47
+ "allOf": [
48
+ {
49
+ "if": {
50
+ "properties": { "status": { "const": "completed" } },
51
+ "required": ["status"]
52
+ },
53
+ "then": {
54
+ "properties": {
55
+ "lexical": {
56
+ "type": "object",
57
+ "properties": {
58
+ "receipt": {
59
+ "allOf": [
60
+ { "$ref": "gno://schemas/setup-receipt@1.0" },
61
+ {
62
+ "type": "object",
63
+ "properties": { "status": { "const": "completed" } },
64
+ "required": ["status"]
65
+ }
66
+ ]
67
+ },
68
+ "error": { "type": "null" }
69
+ }
70
+ },
71
+ "semantic": { "$ref": "gno://schemas/setup-semantic@1.0" }
72
+ }
73
+ }
74
+ },
75
+ {
76
+ "if": {
77
+ "properties": { "status": { "const": "failed" } },
78
+ "required": ["status"]
79
+ },
80
+ "then": {
81
+ "properties": {
82
+ "lexical": {
83
+ "type": "object",
84
+ "properties": {
85
+ "error": { "type": "object" }
86
+ }
87
+ },
88
+ "semantic": { "type": "null" }
89
+ }
90
+ }
91
+ }
92
+ ]
93
+ }