release-skill 0.2.7 → 0.2.9

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 (36) 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 +36 -0
  7. package/INSTALL.md +4 -4
  8. package/INSTALL.zh-CN.md +4 -4
  9. package/README.md +7 -13
  10. package/README.zh-CN.md +7 -13
  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 +1153 -620
  14. package/adapters/claude/schemas/.render-manifest.json +2 -2
  15. package/adapters/claude/schemas/release-project.schema.json +60 -0
  16. package/adapters/codex/.codex-plugin/plugin.json +2 -2
  17. package/adapters/codex/bin/release-skill.bundle.mjs +1153 -620
  18. package/adapters/codex/schemas/.render-manifest.json +2 -2
  19. package/adapters/codex/schemas/release-project.schema.json +60 -0
  20. package/adapters/kimi/.kimi-plugin/plugin.json +1 -1
  21. package/adapters/kimi/bin/release-skill.bundle.mjs +1153 -620
  22. package/adapters/kimi/schemas/.render-manifest.json +2 -2
  23. package/adapters/kimi/schemas/release-project.schema.json +60 -0
  24. package/adapters/workbuddy/.codebuddy-plugin/plugin.json +1 -1
  25. package/adapters/workbuddy/bin/release-skill.bundle.mjs +1153 -620
  26. package/adapters/workbuddy/schemas/.render-manifest.json +2 -2
  27. package/adapters/workbuddy/schemas/release-project.schema.json +60 -0
  28. package/bin/release-skill-cli.mjs +4 -0
  29. package/bin/release-skill.bundle.mjs +1153 -620
  30. package/package.json +1 -1
  31. package/schemas/.render-manifest.json +2 -2
  32. package/schemas/release-project.schema.json +60 -0
  33. package/src/commands/assess.mjs +18 -5
  34. package/src/commands/prepare.mjs +59 -1
  35. package/src/core/config.mjs +48 -0
  36. package/src/core/public-surface.mjs +535 -0
@@ -26,8 +26,8 @@
26
26
  "bytes": 35256
27
27
  },
28
28
  "release-project.schema.json": {
29
- "digest": "a3d46be1e1e8105103a505c6d58d14f3733c8da91ab8289e097ffd259bf1cd93",
30
- "bytes": 30982
29
+ "digest": "7ac18070ac41327a330ca35e32f466e3f2a8eb2b7df3a5755568e00f991ffdc1",
30
+ "bytes": 32497
31
31
  },
32
32
  "release-run.schema.json": {
33
33
  "digest": "bf3c8fb4ca2fc078272a45a6ee6bf663fd2420a722b2f995dbaabf2635e2179e",
@@ -455,6 +455,9 @@
455
455
  ]
456
456
  }
457
457
  },
458
+ "expectedPublicSurface": {
459
+ "$ref": "#/definitions/expectedPublicSurface"
460
+ },
458
461
  "publicFiles": {
459
462
  "type": "array",
460
463
  "minItems": 1,
@@ -761,6 +764,63 @@
761
764
  }
762
765
  },
763
766
  "definitions": {
767
+ "expectedPublicSurface": {
768
+ "type": "object",
769
+ "additionalProperties": false,
770
+ "required": [
771
+ "scanRoots"
772
+ ],
773
+ "properties": {
774
+ "scanRoots": {
775
+ "type": "array",
776
+ "minItems": 1,
777
+ "items": {
778
+ "$ref": "#/definitions/publicSurfaceScanRoot"
779
+ }
780
+ }
781
+ }
782
+ },
783
+ "publicSurfaceScanRoot": {
784
+ "type": "object",
785
+ "additionalProperties": false,
786
+ "required": [
787
+ "include",
788
+ "exclude"
789
+ ],
790
+ "properties": {
791
+ "sourceScope": {
792
+ "type": "string",
793
+ "enum": [
794
+ "unit",
795
+ "workspace"
796
+ ],
797
+ "default": "unit"
798
+ },
799
+ "root": {
800
+ "type": "string",
801
+ "minLength": 1,
802
+ "default": ".",
803
+ "pattern": "^(?:\\.$|(?!\\/)(?!\\.\\/)(?!.*\\\\)(?!.*:)(?!\\.\\.(?:\\/|$))(?!.*\\/\\.\\.\\/)(?!.*\\/\\.\\.$)(?!.*\\/\\.\\/)(?!.*\\/\\/)(?!.*\\0)(?!.*\\/\\.$)(?!.*\\/\\/$)(?!.*\\/$).*)$"
804
+ },
805
+ "include": {
806
+ "type": "array",
807
+ "minItems": 1,
808
+ "uniqueItems": true,
809
+ "items": {
810
+ "type": "string",
811
+ "minLength": 1
812
+ }
813
+ },
814
+ "exclude": {
815
+ "type": "array",
816
+ "uniqueItems": true,
817
+ "items": {
818
+ "type": "string",
819
+ "minLength": 1
820
+ }
821
+ }
822
+ }
823
+ },
764
824
  "hook": {
765
825
  "type": "object",
766
826
  "required": [
@@ -551,8 +551,12 @@ if (command === 'prepare') {
551
551
  planPath: result.planPath,
552
552
  planDigest: result.planDigest,
553
553
  evidenceDir: result.evidenceDir,
554
+ warnings: result.warnings,
554
555
  }, null, 2));
555
556
  } else {
557
+ for (const warning of result.warnings) {
558
+ console.log(`Warning [${warning.code}] ${warning.message}`);
559
+ }
556
560
  console.log(`Plan frozen at: ${result.planPath}`);
557
561
  console.log(`Plan digest: ${result.planDigest}`);
558
562
  console.log(`Evidence: ${result.evidenceDir}`);