@iodes/releasekit 0.1.0 → 0.1.1

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 (78) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +292 -110
  3. package/dist/cli.js +7 -5
  4. package/dist/content.d.ts +8 -0
  5. package/dist/content.js +5 -3
  6. package/dist/export.js +4 -3
  7. package/dist/images.d.ts +14 -5
  8. package/dist/images.js +32 -8
  9. package/dist/model.d.ts +29 -0
  10. package/dist/model.js +27 -3
  11. package/dist/prompts.d.ts +2 -2
  12. package/dist/prompts.js +24 -16
  13. package/dist/validate.js +2 -2
  14. package/examples/README.md +34 -14
  15. package/examples/backup-encryption/README.md +19 -0
  16. package/examples/backup-encryption/dark.png +0 -0
  17. package/examples/backup-encryption/dark.prompt.md +52 -0
  18. package/examples/backup-encryption/dimensions-edit.prompt.md +7 -0
  19. package/examples/backup-encryption/flat-render-requests.md +15 -0
  20. package/examples/backup-encryption/light.png +0 -0
  21. package/examples/backup-encryption/light.prompt.md +52 -0
  22. package/examples/backup-encryption/pair-review.md +18 -0
  23. package/examples/backup-encryption/scene.yaml +31 -0
  24. package/examples/connected-route/README.md +23 -0
  25. package/examples/connected-route/dark.png +0 -0
  26. package/examples/connected-route/dark.prompt.md +58 -0
  27. package/examples/connected-route/light.png +0 -0
  28. package/examples/connected-route/light.prompt.md +58 -0
  29. package/examples/connected-route/pair-review.md +22 -0
  30. package/examples/connected-route/render-requests.md +171 -0
  31. package/examples/connected-route/scene.yaml +59 -0
  32. package/examples/feature-briefs.yaml +96 -89
  33. package/examples/location-preferences/README.md +18 -0
  34. package/examples/location-preferences/dark.png +0 -0
  35. package/examples/location-preferences/dark.prompt.md +52 -0
  36. package/examples/location-preferences/light.png +0 -0
  37. package/examples/location-preferences/light.prompt.md +52 -0
  38. package/examples/location-preferences/pair-review.md +17 -0
  39. package/examples/location-preferences/scene.yaml +26 -0
  40. package/examples/provided-media/README.md +15 -0
  41. package/examples/provided-media/scene.yaml +22 -0
  42. package/examples/queue-action/README.md +15 -15
  43. package/examples/queue-action/alignment-edit.prompt.md +8 -8
  44. package/examples/queue-action/dark.prompt.md +58 -58
  45. package/examples/queue-action/light.prompt.md +58 -58
  46. package/examples/queue-action/pair-review.md +33 -33
  47. package/examples/queue-action/scene.yaml +41 -41
  48. package/examples/release-notes.en-US.json +56 -56
  49. package/examples/release-notes.ko-KR.json +56 -56
  50. package/examples/storage-breakdown/README.md +18 -0
  51. package/examples/storage-breakdown/dark.png +0 -0
  52. package/examples/storage-breakdown/dark.prompt.md +52 -0
  53. package/examples/storage-breakdown/light.png +0 -0
  54. package/examples/storage-breakdown/light.prompt.md +52 -0
  55. package/examples/storage-breakdown/pair-review.md +18 -0
  56. package/examples/storage-breakdown/scene.yaml +28 -0
  57. package/examples/tablet-reading/README.md +18 -0
  58. package/examples/tablet-reading/content-edit.prompt.md +7 -0
  59. package/examples/tablet-reading/dark.png +0 -0
  60. package/examples/tablet-reading/dark.prompt.md +52 -0
  61. package/examples/tablet-reading/light.png +0 -0
  62. package/examples/tablet-reading/light.prompt.md +52 -0
  63. package/examples/tablet-reading/pair-review.md +18 -0
  64. package/examples/tablet-reading/scene.yaml +29 -0
  65. package/kit/references/composition-recipes.md +89 -73
  66. package/kit/references/format.md +26 -24
  67. package/kit/references/media-sources.md +34 -0
  68. package/kit/references/theme-pairing.md +55 -53
  69. package/kit/references/visual-language.md +73 -69
  70. package/kit/references/workflow.md +24 -24
  71. package/kit/references/writing.md +27 -27
  72. package/kit/skills/releasekit-draft/SKILL.md +10 -10
  73. package/kit/skills/releasekit-image/SKILL.md +16 -16
  74. package/kit/skills/releasekit-review/SKILL.md +12 -12
  75. package/kit/skills/releasekit-translate/SKILL.md +10 -10
  76. package/package.json +54 -52
  77. package/schemas/bundle.schema.json +26 -1
  78. package/schemas/visual.schema.json +42 -0
package/package.json CHANGED
@@ -1,52 +1,54 @@
1
- {
2
- "name": "@iodes/releasekit",
3
- "version": "0.1.0",
4
- "description": "Git-based visual release notes and portable agent skills",
5
- "type": "module",
6
- "license": "MIT",
7
- "publishConfig": {
8
- "access": "public",
9
- "registry": "https://registry.npmjs.org"
10
- },
11
- "repository": {
12
- "type": "git",
13
- "url": "git+https://github.com/iodes/ReleaseKit.git"
14
- },
15
- "homepage": "https://github.com/iodes/ReleaseKit#readme",
16
- "bugs": {
17
- "url": "https://github.com/iodes/ReleaseKit/issues"
18
- },
19
- "engines": {
20
- "node": ">=22.12.0"
21
- },
22
- "bin": {
23
- "releasekit": "dist/cli.js"
24
- },
25
- "files": [
26
- "dist",
27
- "kit",
28
- "schemas",
29
- "examples",
30
- "README.md",
31
- "LICENSE"
32
- ],
33
- "scripts": {
34
- "build": "tsc -p tsconfig.build.json && node dist/schema-export.js",
35
- "check": "tsc --noEmit",
36
- "test": "vitest run",
37
- "dev": "tsx src/cli.ts",
38
- "prepack": "npm run build"
39
- },
40
- "dependencies": {
41
- "commander": "^15.0.0",
42
- "sharp": "^0.35.4",
43
- "yaml": "^2.9.0",
44
- "zod": "^4.5.4"
45
- },
46
- "devDependencies": {
47
- "@types/node": "^22.20.1",
48
- "tsx": "^4.23.13",
49
- "typescript": "^7.0.2",
50
- "vitest": "^5.0.0"
51
- }
52
- }
1
+ {
2
+ "name": "@iodes/releasekit",
3
+ "version": "0.1.1",
4
+ "description": "Git-based visual release notes and portable agent skills",
5
+ "type": "module",
6
+ "license": "MIT",
7
+ "publishConfig": {
8
+ "access": "public",
9
+ "registry": "https://registry.npmjs.org"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "git+https://github.com/iodes/ReleaseKit.git"
14
+ },
15
+ "homepage": "https://github.com/iodes/ReleaseKit#readme",
16
+ "bugs": {
17
+ "url": "https://github.com/iodes/ReleaseKit/issues"
18
+ },
19
+ "engines": {
20
+ "node": ">=22.12.0"
21
+ },
22
+ "bin": {
23
+ "releasekit": "dist/cli.js"
24
+ },
25
+ "files": [
26
+ "dist",
27
+ "kit",
28
+ "schemas",
29
+ "examples",
30
+ "!examples/tactile-dial/**",
31
+ "!examples/paper-garden/**",
32
+ "README.md",
33
+ "LICENSE"
34
+ ],
35
+ "scripts": {
36
+ "build": "tsc -p tsconfig.build.json && node dist/schema-export.js",
37
+ "check": "tsc --noEmit",
38
+ "test": "vitest run",
39
+ "dev": "tsx src/cli.ts",
40
+ "prepack": "npm run build"
41
+ },
42
+ "dependencies": {
43
+ "commander": "^15.0.0",
44
+ "sharp": "^0.35.4",
45
+ "yaml": "^2.9.0",
46
+ "zod": "^4.5.4"
47
+ },
48
+ "devDependencies": {
49
+ "@types/node": "^22.20.1",
50
+ "tsx": "^4.23.13",
51
+ "typescript": "^7.0.2",
52
+ "vitest": "^5.0.0"
53
+ }
54
+ }
@@ -75,7 +75,8 @@
75
75
  "type": "string",
76
76
  "enum": [
77
77
  "dark",
78
- "light"
78
+ "light",
79
+ "shared"
79
80
  ]
80
81
  },
81
82
  "variants": {
@@ -128,6 +129,30 @@
128
129
  "height"
129
130
  ],
130
131
  "additionalProperties": false
132
+ },
133
+ "shared": {
134
+ "type": "object",
135
+ "properties": {
136
+ "src": {
137
+ "type": "string"
138
+ },
139
+ "width": {
140
+ "type": "integer",
141
+ "exclusiveMinimum": 0,
142
+ "maximum": 9007199254740991
143
+ },
144
+ "height": {
145
+ "type": "integer",
146
+ "exclusiveMinimum": 0,
147
+ "maximum": 9007199254740991
148
+ }
149
+ },
150
+ "required": [
151
+ "src",
152
+ "width",
153
+ "height"
154
+ ],
155
+ "additionalProperties": false
131
156
  }
132
157
  },
133
158
  "additionalProperties": false
@@ -22,6 +22,13 @@
22
22
  "editorial-scene"
23
23
  ]
24
24
  },
25
+ "source": {
26
+ "type": "string",
27
+ "enum": [
28
+ "generated",
29
+ "provided"
30
+ ]
31
+ },
25
32
  "subject": {
26
33
  "type": "string",
27
34
  "minLength": 1
@@ -159,6 +166,41 @@
159
166
  "height"
160
167
  ],
161
168
  "additionalProperties": false
169
+ },
170
+ "shared": {
171
+ "type": "object",
172
+ "properties": {
173
+ "file": {
174
+ "type": "string",
175
+ "minLength": 1
176
+ },
177
+ "sha256": {
178
+ "type": "string",
179
+ "pattern": "^[a-f0-9]{64}$"
180
+ },
181
+ "sceneHash": {
182
+ "type": "string",
183
+ "pattern": "^[a-f0-9]{64}$"
184
+ },
185
+ "width": {
186
+ "type": "integer",
187
+ "exclusiveMinimum": 0,
188
+ "maximum": 9007199254740991
189
+ },
190
+ "height": {
191
+ "type": "integer",
192
+ "exclusiveMinimum": 0,
193
+ "maximum": 9007199254740991
194
+ }
195
+ },
196
+ "required": [
197
+ "file",
198
+ "sha256",
199
+ "sceneHash",
200
+ "width",
201
+ "height"
202
+ ],
203
+ "additionalProperties": false
162
204
  }
163
205
  },
164
206
  "additionalProperties": false