release-skill 0.2.4 → 0.2.5

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.
Files changed (40) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/.codebuddy-plugin/plugin.json +1 -1
  4. package/.codex-plugin/plugin.json +2 -2
  5. package/.kimi-plugin/plugin.json +1 -1
  6. package/CHANGELOG.md +24 -0
  7. package/INSTALL.md +4 -4
  8. package/INSTALL.zh-CN.md +4 -4
  9. package/README.md +16 -14
  10. package/README.zh-CN.md +16 -14
  11. package/adapters/claude/.claude-plugin/marketplace.json +1 -1
  12. package/adapters/claude/.claude-plugin/plugin.json +1 -1
  13. package/adapters/claude/bin/release-skill.bundle.mjs +1375 -607
  14. package/adapters/claude/schemas/release-plan.schema.json +91 -0
  15. package/adapters/claude/schemas/release-run.schema.json +85 -0
  16. package/adapters/codex/.codex-plugin/plugin.json +2 -2
  17. package/adapters/codex/bin/release-skill.bundle.mjs +1375 -607
  18. package/adapters/codex/schemas/release-plan.schema.json +91 -0
  19. package/adapters/codex/schemas/release-run.schema.json +85 -0
  20. package/adapters/kimi/.kimi-plugin/plugin.json +1 -1
  21. package/adapters/kimi/bin/release-skill.bundle.mjs +1375 -607
  22. package/adapters/kimi/schemas/release-plan.schema.json +91 -0
  23. package/adapters/kimi/schemas/release-run.schema.json +85 -0
  24. package/adapters/workbuddy/.codebuddy-plugin/plugin.json +1 -1
  25. package/adapters/workbuddy/bin/release-skill.bundle.mjs +1375 -607
  26. package/adapters/workbuddy/schemas/release-plan.schema.json +91 -0
  27. package/adapters/workbuddy/schemas/release-run.schema.json +85 -0
  28. package/bin/release-skill.bundle.mjs +1375 -607
  29. package/package.json +1 -1
  30. package/schemas/release-plan.schema.json +91 -0
  31. package/schemas/release-run.schema.json +85 -0
  32. package/scripts/sync-public-files.mjs +20 -9
  33. package/src/adapters/plugin-marketplace.mjs +82 -3
  34. package/src/commands/prepare.mjs +74 -0
  35. package/src/commands/publish.mjs +62 -0
  36. package/src/commands/verify.mjs +151 -1
  37. package/src/core/plan.mjs +29 -0
  38. package/src/core/skill-resource-closure.mjs +425 -0
  39. package/src/platforms/codebuddy.mjs +16 -3
  40. package/src/platforms/kimi.mjs +36 -9
@@ -815,6 +815,97 @@
815
815
  "minLength": 1,
816
816
  "description": "Digest of the project configuration at plan freeze time"
817
817
  },
818
+ "skillResourceClosure": {
819
+ "type": "object",
820
+ "description": "Skill resource closure gate receipts from prepare phase (per-unit bound)",
821
+ "additionalProperties": false,
822
+ "properties": {
823
+ "unitReceipts": {
824
+ "type": "array",
825
+ "minItems": 1,
826
+ "items": {
827
+ "type": "object",
828
+ "additionalProperties": false,
829
+ "properties": {
830
+ "unitId": {
831
+ "type": "string",
832
+ "minLength": 1
833
+ },
834
+ "checkerVersion": {
835
+ "type": "string",
836
+ "minLength": 1
837
+ },
838
+ "inputDigest": {
839
+ "type": "string",
840
+ "pattern": "^[a-f0-9]{64}$"
841
+ },
842
+ "surfaceCount": {
843
+ "type": "integer",
844
+ "minimum": 0
845
+ },
846
+ "skillCount": {
847
+ "type": "integer",
848
+ "minimum": 0
849
+ },
850
+ "referenceCount": {
851
+ "type": "integer",
852
+ "minimum": 0
853
+ },
854
+ "sourceOnlyCount": {
855
+ "type": "integer",
856
+ "minimum": 0
857
+ },
858
+ "findingCount": {
859
+ "const": 0
860
+ },
861
+ "receiptDigest": {
862
+ "type": "string",
863
+ "pattern": "^[a-f0-9]{64}$"
864
+ }
865
+ },
866
+ "required": [
867
+ "unitId",
868
+ "checkerVersion",
869
+ "inputDigest",
870
+ "surfaceCount",
871
+ "skillCount",
872
+ "referenceCount",
873
+ "sourceOnlyCount",
874
+ "findingCount",
875
+ "receiptDigest"
876
+ ]
877
+ }
878
+ },
879
+ "checkerVersion": {
880
+ "type": "string",
881
+ "minLength": 1
882
+ },
883
+ "totalSkillCount": {
884
+ "type": "integer",
885
+ "minimum": 0
886
+ },
887
+ "totalReferenceCount": {
888
+ "type": "integer",
889
+ "minimum": 0
890
+ },
891
+ "totalSourceOnlyCount": {
892
+ "type": "integer",
893
+ "minimum": 0
894
+ },
895
+ "totalFindingCount": {
896
+ "type": "integer",
897
+ "minimum": 0
898
+ }
899
+ },
900
+ "required": [
901
+ "unitReceipts",
902
+ "checkerVersion",
903
+ "totalSkillCount",
904
+ "totalReferenceCount",
905
+ "totalSourceOnlyCount",
906
+ "totalFindingCount"
907
+ ]
908
+ },
818
909
  "verificationGates": {
819
910
  "type": "array",
820
911
  "items": {
@@ -366,6 +366,91 @@
366
366
  }
367
367
  }
368
368
  }
369
+ },
370
+ "skillResourceClosureReceipts": {
371
+ "type": "array",
372
+ "description": "Per-surface skill resource closure verification receipts from verify phase",
373
+ "items": {
374
+ "type": "object",
375
+ "required": [
376
+ "host",
377
+ "distribution",
378
+ "unitId",
379
+ "checkerVersion",
380
+ "inputDigest",
381
+ "surfaceCount",
382
+ "skillCount",
383
+ "referenceCount",
384
+ "sourceOnlyCount",
385
+ "findingCount",
386
+ "receiptDigest",
387
+ "checkedAt",
388
+ "exitCode"
389
+ ],
390
+ "additionalProperties": false,
391
+ "properties": {
392
+ "host": {
393
+ "type": "string",
394
+ "minLength": 1
395
+ },
396
+ "unitId": {
397
+ "type": "string",
398
+ "minLength": 1
399
+ },
400
+ "distribution": {
401
+ "type": "string",
402
+ "enum": [
403
+ "npm",
404
+ "claude-plugin",
405
+ "codex-plugin",
406
+ "kimi-plugin",
407
+ "codebuddy-plugin"
408
+ ]
409
+ },
410
+ "actionId": {
411
+ "type": "string",
412
+ "minLength": 1
413
+ },
414
+ "checkerVersion": {
415
+ "type": "string",
416
+ "minLength": 1
417
+ },
418
+ "inputDigest": {
419
+ "type": "string",
420
+ "pattern": "^[a-f0-9]{64}$"
421
+ },
422
+ "surfaceCount": {
423
+ "type": "integer",
424
+ "minimum": 0
425
+ },
426
+ "skillCount": {
427
+ "type": "integer",
428
+ "minimum": 0
429
+ },
430
+ "referenceCount": {
431
+ "type": "integer",
432
+ "minimum": 0
433
+ },
434
+ "sourceOnlyCount": {
435
+ "type": "integer",
436
+ "minimum": 0
437
+ },
438
+ "findingCount": {
439
+ "const": 0
440
+ },
441
+ "receiptDigest": {
442
+ "type": "string",
443
+ "pattern": "^[a-f0-9]{64}$"
444
+ },
445
+ "checkedAt": {
446
+ "type": "string",
447
+ "format": "date-time"
448
+ },
449
+ "exitCode": {
450
+ "const": 0
451
+ }
452
+ }
453
+ }
369
454
  }
370
455
  },
371
456
  "allOf": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "release-skill",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "Safe preparation and frozen GitHub/npm production publishing with full happy end verification",
5
5
  "author": {
6
6
  "name": "广州市风荷科技有限公司"