release-skill 0.9.1 → 0.9.3
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/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/.codebuddy-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +2 -2
- package/.kimi-plugin/plugin.json +1 -1
- package/CHANGELOG.md +49 -0
- package/INSTALL.md +2 -2
- package/INSTALL.zh-CN.md +2 -2
- package/README.md +24 -26
- package/README.zh-CN.md +20 -23
- package/adapters/claude/.claude-plugin/marketplace.json +1 -1
- package/adapters/claude/.claude-plugin/plugin.json +1 -1
- package/adapters/claude/bin/consumer-contract-vectors.json +7 -7
- package/adapters/claude/bin/error-codes.json +1 -1
- package/adapters/claude/bin/foundation-resource-binding.json +1 -1
- package/adapters/claude/bin/registry.json +22 -1
- package/adapters/claude/bin/release-skill.bundle.mjs +4068 -1962
- package/adapters/claude/bin/rules.json +1 -1
- package/adapters/claude/schemas/release-project.schema.json +4 -0
- package/adapters/claude/schemas/release-run.schema.json +41 -1
- package/adapters/claude/skills/release-config/SKILL.md +5 -3
- package/adapters/claude/skills/release-docs/SKILL.md +4 -2
- package/adapters/claude/skills/release-finish/SKILL.md +2 -0
- package/adapters/claude/skills/release-help/SKILL.md +11 -3
- package/adapters/claude/skills/release-marketplace/SKILL.md +3 -1
- package/adapters/claude/skills/release-prepare/SKILL.md +2 -0
- package/adapters/claude/skills/release-publish/SKILL.md +17 -10
- package/adapters/claude/skills/release-verify/SKILL.md +2 -0
- package/adapters/claude/src/schemas/executable-identity-observation.schema.json +162 -0
- package/adapters/claude/src/schemas/filesystem-tree-observation.schema.json +18 -2
- package/adapters/claude/src/schemas/plugin-verification-request.schema.json +147 -22
- package/adapters/claude/src/schemas/plugin-verification-result.schema.json +436 -18
- package/adapters/claude/src/schemas/skill-family-directory-verification-request.schema.json +100 -0
- package/adapters/claude/src/schemas/skill-family-directory-verification-result.schema.json +193 -0
- package/adapters/codex/.codex-plugin/plugin.json +2 -2
- package/adapters/codex/bin/consumer-contract-vectors.json +7 -7
- package/adapters/codex/bin/error-codes.json +1 -1
- package/adapters/codex/bin/foundation-resource-binding.json +1 -1
- package/adapters/codex/bin/registry.json +22 -1
- package/adapters/codex/bin/release-skill.bundle.mjs +4068 -1962
- package/adapters/codex/bin/rules.json +1 -1
- package/adapters/codex/schemas/release-project.schema.json +4 -0
- package/adapters/codex/schemas/release-run.schema.json +41 -1
- package/adapters/codex/skills/release-config/SKILL.md +5 -3
- package/adapters/codex/skills/release-docs/SKILL.md +4 -2
- package/adapters/codex/skills/release-finish/SKILL.md +2 -0
- package/adapters/codex/skills/release-help/SKILL.md +11 -3
- package/adapters/codex/skills/release-marketplace/SKILL.md +3 -1
- package/adapters/codex/skills/release-prepare/SKILL.md +2 -0
- package/adapters/codex/skills/release-publish/SKILL.md +17 -10
- package/adapters/codex/skills/release-verify/SKILL.md +2 -0
- package/adapters/codex/src/schemas/executable-identity-observation.schema.json +162 -0
- package/adapters/codex/src/schemas/filesystem-tree-observation.schema.json +18 -2
- package/adapters/codex/src/schemas/plugin-verification-request.schema.json +147 -22
- package/adapters/codex/src/schemas/plugin-verification-result.schema.json +436 -18
- package/adapters/codex/src/schemas/skill-family-directory-verification-request.schema.json +100 -0
- package/adapters/codex/src/schemas/skill-family-directory-verification-result.schema.json +193 -0
- package/adapters/kimi/.kimi-plugin/plugin.json +1 -1
- package/adapters/kimi/bin/consumer-contract-vectors.json +7 -7
- package/adapters/kimi/bin/error-codes.json +1 -1
- package/adapters/kimi/bin/foundation-resource-binding.json +1 -1
- package/adapters/kimi/bin/registry.json +22 -1
- package/adapters/kimi/bin/release-skill.bundle.mjs +4068 -1962
- package/adapters/kimi/bin/rules.json +1 -1
- package/adapters/kimi/schemas/release-project.schema.json +4 -0
- package/adapters/kimi/schemas/release-run.schema.json +41 -1
- package/adapters/kimi/skills/release-config/SKILL.md +5 -3
- package/adapters/kimi/skills/release-docs/SKILL.md +4 -2
- package/adapters/kimi/skills/release-finish/SKILL.md +2 -0
- package/adapters/kimi/skills/release-help/SKILL.md +11 -3
- package/adapters/kimi/skills/release-marketplace/SKILL.md +3 -1
- package/adapters/kimi/skills/release-prepare/SKILL.md +2 -0
- package/adapters/kimi/skills/release-publish/SKILL.md +17 -10
- package/adapters/kimi/skills/release-verify/SKILL.md +2 -0
- package/adapters/kimi/src/schemas/executable-identity-observation.schema.json +162 -0
- package/adapters/kimi/src/schemas/filesystem-tree-observation.schema.json +18 -2
- package/adapters/kimi/src/schemas/plugin-verification-request.schema.json +147 -22
- package/adapters/kimi/src/schemas/plugin-verification-result.schema.json +436 -18
- package/adapters/kimi/src/schemas/skill-family-directory-verification-request.schema.json +100 -0
- package/adapters/kimi/src/schemas/skill-family-directory-verification-result.schema.json +193 -0
- package/adapters/workbuddy/.codebuddy-plugin/plugin.json +1 -1
- package/adapters/workbuddy/bin/consumer-contract-vectors.json +7 -7
- package/adapters/workbuddy/bin/error-codes.json +1 -1
- package/adapters/workbuddy/bin/foundation-resource-binding.json +1 -1
- package/adapters/workbuddy/bin/registry.json +22 -1
- package/adapters/workbuddy/bin/release-skill.bundle.mjs +4068 -1962
- package/adapters/workbuddy/bin/rules.json +1 -1
- package/adapters/workbuddy/schemas/release-project.schema.json +4 -0
- package/adapters/workbuddy/schemas/release-run.schema.json +41 -1
- package/adapters/workbuddy/skills/release-config/SKILL.md +5 -3
- package/adapters/workbuddy/skills/release-docs/SKILL.md +4 -2
- package/adapters/workbuddy/skills/release-finish/SKILL.md +2 -0
- package/adapters/workbuddy/skills/release-help/SKILL.md +11 -3
- package/adapters/workbuddy/skills/release-marketplace/SKILL.md +3 -1
- package/adapters/workbuddy/skills/release-prepare/SKILL.md +2 -0
- package/adapters/workbuddy/skills/release-publish/SKILL.md +17 -10
- package/adapters/workbuddy/skills/release-verify/SKILL.md +2 -0
- package/adapters/workbuddy/src/schemas/executable-identity-observation.schema.json +162 -0
- package/adapters/workbuddy/src/schemas/filesystem-tree-observation.schema.json +18 -2
- package/adapters/workbuddy/src/schemas/plugin-verification-request.schema.json +147 -22
- package/adapters/workbuddy/src/schemas/plugin-verification-result.schema.json +436 -18
- package/adapters/workbuddy/src/schemas/skill-family-directory-verification-request.schema.json +100 -0
- package/adapters/workbuddy/src/schemas/skill-family-directory-verification-result.schema.json +193 -0
- package/bin/consumer-contract-vectors.json +7 -7
- package/bin/error-codes.json +1 -1
- package/bin/foundation-resource-binding.json +1 -1
- package/bin/registry.json +22 -1
- package/bin/release-skill-cli.mjs +32 -0
- package/bin/release-skill.bundle.mjs +4068 -1962
- package/bin/rules.json +1 -1
- package/package.json +5 -5
- package/platform-manifest.json +4 -4
- package/references/01-state-machine.md +16 -1
- package/references/05-evidence-and-errors.md +2 -2
- package/schemas/release-project.schema.json +4 -0
- package/schemas/release-run.schema.json +41 -1
- package/skills/release-config/SKILL.md +5 -3
- package/skills/release-docs/SKILL.md +4 -2
- package/skills/release-finish/SKILL.md +2 -0
- package/skills/release-help/SKILL.md +11 -3
- package/skills/release-marketplace/SKILL.md +3 -1
- package/skills/release-prepare/SKILL.md +2 -0
- package/skills/release-publish/SKILL.md +17 -10
- package/skills/release-verify/SKILL.md +2 -0
- package/skills-src/release-config/SKILL.md +5 -3
- package/skills-src/release-docs/SKILL.md +4 -2
- package/skills-src/release-finish/SKILL.md +2 -0
- package/skills-src/release-help/SKILL.md +11 -3
- package/skills-src/release-marketplace/SKILL.md +3 -1
- package/skills-src/release-prepare/SKILL.md +2 -0
- package/skills-src/release-publish/SKILL.md +17 -10
- package/skills-src/release-verify/SKILL.md +2 -0
- package/src/commands/prepare.mjs +139 -5
- package/src/commands/route.mjs +597 -18
- package/src/commands/setup.mjs +2 -0
- package/src/commands/ship.mjs +19 -0
- package/src/commands/verify.mjs +21 -0
- package/src/core/adoption-assessment.mjs +59 -0
- package/src/core/foundation-plugin-verification.mjs +213 -1
- package/src/core/hook-cache.mjs +318 -26
- package/src/core/hooks.mjs +8 -1
- package/src/producers/foundation-resource-projection.mjs +3 -3
- package/src/schemas/executable-identity-observation.schema.json +162 -0
- package/src/schemas/filesystem-tree-observation.schema.json +18 -2
- package/src/schemas/plugin-verification-request.schema.json +147 -22
- package/src/schemas/plugin-verification-result.schema.json +436 -18
- package/src/schemas/skill-family-directory-verification-request.schema.json +100 -0
- package/src/schemas/skill-family-directory-verification-result.schema.json +193 -0
|
@@ -30,23 +30,20 @@
|
|
|
30
30
|
"goal": {
|
|
31
31
|
"enum": [
|
|
32
32
|
"install-only",
|
|
33
|
-
"install-and-invoke"
|
|
33
|
+
"install-and-invoke",
|
|
34
|
+
"native-lifecycle"
|
|
34
35
|
]
|
|
35
36
|
},
|
|
36
37
|
"source": {
|
|
37
38
|
"type": "object",
|
|
38
39
|
"additionalProperties": false,
|
|
39
|
-
"required": [
|
|
40
|
-
"type",
|
|
41
|
-
"candidateRef",
|
|
42
|
-
"sourceManifestSha256",
|
|
43
|
-
"membersDigest"
|
|
44
|
-
],
|
|
40
|
+
"required": ["type"],
|
|
45
41
|
"properties": {
|
|
46
42
|
"type": {
|
|
47
43
|
"enum": [
|
|
48
44
|
"local-staged",
|
|
49
|
-
"public-channel"
|
|
45
|
+
"public-channel",
|
|
46
|
+
"local-marketplace"
|
|
50
47
|
]
|
|
51
48
|
},
|
|
52
49
|
"candidateRef": {
|
|
@@ -58,6 +55,21 @@
|
|
|
58
55
|
"membersDigest": {
|
|
59
56
|
"$ref": "https://contracts.skill-family.example/v1/host-verification-request.json#/$defs/sha256"
|
|
60
57
|
},
|
|
58
|
+
"marketplaceId": {
|
|
59
|
+
"$ref": "https://contracts.skill-family.example/v1/host-verification-request.json#/$defs/opaque"
|
|
60
|
+
},
|
|
61
|
+
"pluginId": {
|
|
62
|
+
"$ref": "https://contracts.skill-family.example/v1/host-verification-request.json#/$defs/opaque"
|
|
63
|
+
},
|
|
64
|
+
"revisions": {
|
|
65
|
+
"type": "object",
|
|
66
|
+
"additionalProperties": false,
|
|
67
|
+
"required": ["v1", "v2"],
|
|
68
|
+
"properties": {
|
|
69
|
+
"v1": { "$ref": "#/$defs/marketplaceRevision" },
|
|
70
|
+
"v2": { "$ref": "#/$defs/marketplaceRevision" }
|
|
71
|
+
}
|
|
72
|
+
},
|
|
61
73
|
"channel": {
|
|
62
74
|
"type": "object",
|
|
63
75
|
"additionalProperties": false,
|
|
@@ -86,7 +98,48 @@
|
|
|
86
98
|
}
|
|
87
99
|
}
|
|
88
100
|
}
|
|
89
|
-
}
|
|
101
|
+
},
|
|
102
|
+
"allOf": [
|
|
103
|
+
{
|
|
104
|
+
"if": {
|
|
105
|
+
"properties": { "type": { "const": "local-staged" } },
|
|
106
|
+
"required": ["type"]
|
|
107
|
+
},
|
|
108
|
+
"then": {
|
|
109
|
+
"required": ["candidateRef", "sourceManifestSha256", "membersDigest"],
|
|
110
|
+
"properties": {
|
|
111
|
+
"candidateRef": {}, "sourceManifestSha256": {}, "membersDigest": {},
|
|
112
|
+
"channel": false, "marketplaceId": false, "pluginId": false, "revisions": false
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"if": {
|
|
118
|
+
"properties": { "type": { "const": "public-channel" } },
|
|
119
|
+
"required": ["type"]
|
|
120
|
+
},
|
|
121
|
+
"then": {
|
|
122
|
+
"required": ["candidateRef", "sourceManifestSha256", "membersDigest", "channel"],
|
|
123
|
+
"properties": {
|
|
124
|
+
"candidateRef": {}, "sourceManifestSha256": {}, "membersDigest": {}, "channel": {},
|
|
125
|
+
"marketplaceId": false, "pluginId": false, "revisions": false
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"if": {
|
|
131
|
+
"properties": { "type": { "const": "local-marketplace" } },
|
|
132
|
+
"required": ["type"]
|
|
133
|
+
},
|
|
134
|
+
"then": {
|
|
135
|
+
"required": ["candidateRef", "marketplaceId", "pluginId", "revisions"],
|
|
136
|
+
"properties": {
|
|
137
|
+
"candidateRef": {}, "marketplaceId": {}, "pluginId": {}, "revisions": {},
|
|
138
|
+
"sourceManifestSha256": false, "membersDigest": false, "channel": false
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
]
|
|
90
143
|
},
|
|
91
144
|
"host": {
|
|
92
145
|
"type": "object",
|
|
@@ -211,14 +264,17 @@
|
|
|
211
264
|
"allOf": [
|
|
212
265
|
{
|
|
213
266
|
"if": {
|
|
214
|
-
"
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
"const": "install-and-invoke"
|
|
267
|
+
"anyOf": [
|
|
268
|
+
{
|
|
269
|
+
"type": "object",
|
|
270
|
+
"properties": { "goal": { "const": "install-and-invoke" } },
|
|
271
|
+
"required": ["goal"]
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"type": "object",
|
|
275
|
+
"properties": { "goal": { "const": "native-lifecycle" } },
|
|
276
|
+
"required": ["goal"]
|
|
218
277
|
}
|
|
219
|
-
},
|
|
220
|
-
"required": [
|
|
221
|
-
"goal"
|
|
222
278
|
]
|
|
223
279
|
},
|
|
224
280
|
"then": {
|
|
@@ -284,6 +340,17 @@
|
|
|
284
340
|
},
|
|
285
341
|
"else": {
|
|
286
342
|
"type": "object",
|
|
343
|
+
"if": {
|
|
344
|
+
"properties": {
|
|
345
|
+
"source": {
|
|
346
|
+
"type": "object",
|
|
347
|
+
"properties": { "type": { "const": "local-staged" } },
|
|
348
|
+
"required": ["type"]
|
|
349
|
+
}
|
|
350
|
+
},
|
|
351
|
+
"required": ["source"]
|
|
352
|
+
},
|
|
353
|
+
"then": {
|
|
287
354
|
"properties": {
|
|
288
355
|
"source": {
|
|
289
356
|
"type": "object",
|
|
@@ -299,6 +366,7 @@
|
|
|
299
366
|
}
|
|
300
367
|
}
|
|
301
368
|
}
|
|
369
|
+
}
|
|
302
370
|
}
|
|
303
371
|
},
|
|
304
372
|
{
|
|
@@ -333,6 +401,11 @@
|
|
|
333
401
|
"required": [
|
|
334
402
|
"source"
|
|
335
403
|
]
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
"type": "object",
|
|
407
|
+
"properties": { "goal": { "const": "native-lifecycle" } },
|
|
408
|
+
"required": ["goal"]
|
|
336
409
|
}
|
|
337
410
|
]
|
|
338
411
|
},
|
|
@@ -348,13 +421,37 @@
|
|
|
348
421
|
"properties": {
|
|
349
422
|
"cliVersion": {},
|
|
350
423
|
"executableSha256": {}
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
},
|
|
427
|
+
"allOf": [
|
|
428
|
+
{
|
|
429
|
+
"if": {
|
|
430
|
+
"type": "object",
|
|
431
|
+
"properties": { "goal": { "const": "native-lifecycle" } },
|
|
432
|
+
"required": ["goal"]
|
|
351
433
|
},
|
|
352
|
-
"
|
|
353
|
-
"
|
|
354
|
-
"
|
|
355
|
-
|
|
434
|
+
"then": {
|
|
435
|
+
"type": "object",
|
|
436
|
+
"properties": {
|
|
437
|
+
"host": {
|
|
438
|
+
"type": "object",
|
|
439
|
+
"properties": { "cliVersion": false, "executableSha256": false }
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
},
|
|
443
|
+
"else": {
|
|
444
|
+
"type": "object",
|
|
445
|
+
"properties": {
|
|
446
|
+
"host": {
|
|
447
|
+
"type": "object",
|
|
448
|
+
"required": ["cliVersion", "executableSha256"],
|
|
449
|
+
"properties": { "cliVersion": {}, "executableSha256": {} }
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
}
|
|
356
453
|
}
|
|
357
|
-
|
|
454
|
+
]
|
|
358
455
|
},
|
|
359
456
|
"else": {
|
|
360
457
|
"type": "object",
|
|
@@ -369,6 +466,34 @@
|
|
|
369
466
|
}
|
|
370
467
|
}
|
|
371
468
|
}
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"if": {
|
|
472
|
+
"properties": { "goal": { "const": "native-lifecycle" } },
|
|
473
|
+
"required": ["goal"]
|
|
474
|
+
},
|
|
475
|
+
"then": {
|
|
476
|
+
"properties": {
|
|
477
|
+
"source": {
|
|
478
|
+
"type": "object",
|
|
479
|
+
"properties": { "type": { "const": "local-marketplace" } },
|
|
480
|
+
"required": ["type"]
|
|
481
|
+
}
|
|
482
|
+
},
|
|
483
|
+
"required": ["auth", "invocation"]
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
],
|
|
487
|
+
"$defs": {
|
|
488
|
+
"marketplaceRevision": {
|
|
489
|
+
"type": "object",
|
|
490
|
+
"additionalProperties": false,
|
|
491
|
+
"required": ["version", "sourceManifestSha256", "membersDigest"],
|
|
492
|
+
"properties": {
|
|
493
|
+
"version": { "$ref": "https://contracts.skill-family.example/v1/host-verification-request.json#/$defs/host/properties/driverVersion" },
|
|
494
|
+
"sourceManifestSha256": { "$ref": "https://contracts.skill-family.example/v1/host-verification-request.json#/$defs/sha256" },
|
|
495
|
+
"membersDigest": { "$ref": "https://contracts.skill-family.example/v1/host-verification-request.json#/$defs/sha256" }
|
|
496
|
+
}
|
|
372
497
|
}
|
|
373
|
-
|
|
498
|
+
}
|
|
374
499
|
}
|