@iodes/releasekit 0.1.6 → 0.2.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.
Files changed (76) hide show
  1. package/README.md +74 -8
  2. package/dist/assets.d.ts +4 -3
  3. package/dist/assets.js +4 -2
  4. package/dist/cli.js +116 -27
  5. package/dist/content.d.ts +7 -5
  6. package/dist/content.js +3 -1
  7. package/dist/export.d.ts +1 -0
  8. package/dist/export.js +33 -17
  9. package/dist/files.js +7 -2
  10. package/dist/images.d.ts +5 -3
  11. package/dist/images.js +3 -1
  12. package/dist/install.d.ts +20 -3
  13. package/dist/install.js +28 -5
  14. package/dist/model.d.ts +69 -7
  15. package/dist/model.js +32 -9
  16. package/dist/move.d.ts +24 -0
  17. package/dist/move.js +292 -0
  18. package/dist/project.d.ts +12 -5
  19. package/dist/project.js +180 -29
  20. package/dist/prompts.js +18 -16
  21. package/dist/refs.d.ts +6 -0
  22. package/dist/refs.js +29 -0
  23. package/dist/setup.d.ts +7 -0
  24. package/dist/setup.js +64 -0
  25. package/dist/status.d.ts +31 -0
  26. package/dist/status.js +52 -0
  27. package/dist/validate.d.ts +5 -2
  28. package/dist/validate.js +31 -17
  29. package/examples/README.md +4 -4
  30. package/examples/backup-encryption/dark.prompt.md +15 -6
  31. package/examples/backup-encryption/light.prompt.md +15 -6
  32. package/examples/connected-route/dark.prompt.md +13 -4
  33. package/examples/connected-route/light.prompt.md +13 -4
  34. package/examples/location-preferences/README.md +6 -4
  35. package/examples/location-preferences/dark-refined.png +0 -0
  36. package/examples/location-preferences/dark-refinement.prompt.md +70 -0
  37. package/examples/location-preferences/dark-size-correction.prompt.md +5 -0
  38. package/examples/location-preferences/dark-weight-correction.prompt.md +5 -0
  39. package/examples/location-preferences/dark.prompt.md +15 -13
  40. package/examples/location-preferences/light-refined.png +0 -0
  41. package/examples/location-preferences/light-refinement.prompt.md +70 -0
  42. package/examples/location-preferences/light.prompt.md +15 -14
  43. package/examples/location-preferences/pair-review.md +17 -10
  44. package/examples/location-preferences/scene.yaml +16 -9
  45. package/examples/queue-action/README.md +3 -3
  46. package/examples/queue-action/dark-accent-edit.prompt.md +5 -0
  47. package/examples/queue-action/dark-accent.png +0 -0
  48. package/examples/queue-action/dark-refined.png +0 -0
  49. package/examples/queue-action/dark-refinement.prompt.md +74 -0
  50. package/examples/queue-action/dark-size-correction.prompt.md +5 -0
  51. package/examples/queue-action/dark.prompt.md +15 -13
  52. package/examples/queue-action/light-accent-edit.prompt.md +5 -0
  53. package/examples/queue-action/light-accent.png +0 -0
  54. package/examples/queue-action/light-refined.png +0 -0
  55. package/examples/queue-action/light-refinement.prompt.md +74 -0
  56. package/examples/queue-action/light.prompt.md +14 -13
  57. package/examples/queue-action/pair-review.md +11 -5
  58. package/examples/queue-action/scene.yaml +13 -9
  59. package/examples/storage-breakdown/dark.prompt.md +15 -6
  60. package/examples/storage-breakdown/light.prompt.md +15 -6
  61. package/examples/tablet-reading/dark.prompt.md +14 -5
  62. package/examples/tablet-reading/light.prompt.md +14 -5
  63. package/kit/references/adoption.md +3 -1
  64. package/kit/references/channels.md +88 -0
  65. package/kit/references/composition-recipes.md +5 -5
  66. package/kit/references/format.md +16 -6
  67. package/kit/references/theme-pairing.md +6 -6
  68. package/kit/references/visual-language.md +17 -17
  69. package/kit/references/workflow.md +4 -4
  70. package/kit/skills/releasekit-draft/SKILL.md +3 -1
  71. package/kit/skills/releasekit-finalize/SKILL.md +4 -2
  72. package/kit/skills/releasekit-image/SKILL.md +4 -2
  73. package/package.json +1 -1
  74. package/schemas/bundle.schema.json +54 -5
  75. package/schemas/config.schema.json +133 -17
  76. package/schemas/release.schema.json +54 -13
@@ -25,11 +25,6 @@
25
25
  "history": {
26
26
  "type": "object",
27
27
  "properties": {
28
- "limit": {
29
- "type": "integer",
30
- "minimum": 1,
31
- "maximum": 100
32
- },
33
28
  "start": {
34
29
  "oneOf": [
35
30
  {
@@ -118,11 +113,133 @@
118
113
  ]
119
114
  }
120
115
  },
121
- "required": [
122
- "limit"
123
- ],
124
116
  "additionalProperties": false
125
117
  },
118
+ "channels": {
119
+ "anyOf": [
120
+ {
121
+ "type": "boolean",
122
+ "const": false
123
+ },
124
+ {
125
+ "type": "object",
126
+ "propertyNames": {
127
+ "type": "string",
128
+ "pattern": "^(?!(?:con|prn|aux|nul|com[1-9]|lpt[1-9])$)[a-z][a-z0-9-]{0,62}$"
129
+ },
130
+ "additionalProperties": {
131
+ "type": "object",
132
+ "properties": {
133
+ "include": {
134
+ "minItems": 1,
135
+ "type": "array",
136
+ "items": {
137
+ "type": "string",
138
+ "pattern": "^(?!(?:con|prn|aux|nul|com[1-9]|lpt[1-9])$)[a-z][a-z0-9-]{0,62}$"
139
+ }
140
+ },
141
+ "history": {
142
+ "type": "object",
143
+ "properties": {
144
+ "start": {
145
+ "oneOf": [
146
+ {
147
+ "type": "object",
148
+ "properties": {
149
+ "ref": {
150
+ "type": "string",
151
+ "minLength": 1
152
+ },
153
+ "sha": {
154
+ "type": "string",
155
+ "pattern": "^(?:[a-f0-9]{40}|[a-f0-9]{64})$"
156
+ },
157
+ "past": {
158
+ "type": "string",
159
+ "const": "summary"
160
+ },
161
+ "version": {
162
+ "type": "string",
163
+ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9._+-]{0,95}$"
164
+ }
165
+ },
166
+ "required": [
167
+ "ref",
168
+ "sha",
169
+ "past",
170
+ "version"
171
+ ],
172
+ "additionalProperties": false
173
+ },
174
+ {
175
+ "type": "object",
176
+ "properties": {
177
+ "ref": {
178
+ "type": "string",
179
+ "minLength": 1
180
+ },
181
+ "sha": {
182
+ "type": "string",
183
+ "pattern": "^(?:[a-f0-9]{40}|[a-f0-9]{64})$"
184
+ },
185
+ "past": {
186
+ "type": "string",
187
+ "const": "history"
188
+ },
189
+ "version": {
190
+ "type": "string",
191
+ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9._+-]{0,95}$"
192
+ }
193
+ },
194
+ "required": [
195
+ "ref",
196
+ "sha",
197
+ "past",
198
+ "version"
199
+ ],
200
+ "additionalProperties": false
201
+ },
202
+ {
203
+ "type": "object",
204
+ "properties": {
205
+ "ref": {
206
+ "type": "string",
207
+ "minLength": 1
208
+ },
209
+ "sha": {
210
+ "type": "string",
211
+ "pattern": "^(?:[a-f0-9]{40}|[a-f0-9]{64})$"
212
+ },
213
+ "past": {
214
+ "type": "string",
215
+ "const": "skip"
216
+ },
217
+ "version": {
218
+ "type": "null"
219
+ }
220
+ },
221
+ "required": [
222
+ "ref",
223
+ "sha",
224
+ "past",
225
+ "version"
226
+ ],
227
+ "additionalProperties": false
228
+ }
229
+ ]
230
+ }
231
+ },
232
+ "additionalProperties": false
233
+ }
234
+ },
235
+ "required": [
236
+ "include"
237
+ ],
238
+ "additionalProperties": false
239
+ }
240
+ }
241
+ ]
242
+ },
126
243
  "visuals": {
127
244
  "type": "object",
128
245
  "properties": {
@@ -163,22 +280,22 @@
163
280
  "surface": {
164
281
  "type": "string",
165
282
  "pattern": "^#[a-fA-F0-9]{6}$",
166
- "description": "Base interface panels and resting rows."
283
+ "description": "Base or recessed interface panels."
167
284
  },
168
285
  "raised": {
169
286
  "type": "string",
170
287
  "pattern": "^#[a-fA-F0-9]{6}$",
171
- "description": "Quiet icon tiles, inset areas, and abstract thumbnail fills."
288
+ "description": "Foreground panels, controls, and quiet tile fills."
172
289
  },
173
290
  "primary": {
174
291
  "type": "string",
175
292
  "pattern": "^#[a-fA-F0-9]{6}$",
176
- "description": "Main neutral glyphs and feature-defining marks; mid-gray in the default light theme."
293
+ "description": "Main neutral glyphs, focal controls, and feature-defining marks; mid-gray in the default light theme."
177
294
  },
178
295
  "secondary": {
179
296
  "type": "string",
180
297
  "pattern": "^#[a-fA-F0-9]{6}$",
181
- "description": "Incidental label bars and supporting schematic details."
298
+ "description": "Supporting glyphs, incidental label bars, and abstract content."
182
299
  },
183
300
  "divider": {
184
301
  "type": "string",
@@ -207,22 +324,22 @@
207
324
  "surface": {
208
325
  "type": "string",
209
326
  "pattern": "^#[a-fA-F0-9]{6}$",
210
- "description": "Base interface panels and resting rows."
327
+ "description": "Base or recessed interface panels."
211
328
  },
212
329
  "raised": {
213
330
  "type": "string",
214
331
  "pattern": "^#[a-fA-F0-9]{6}$",
215
- "description": "Quiet icon tiles, inset areas, and abstract thumbnail fills."
332
+ "description": "Foreground panels, controls, and quiet tile fills."
216
333
  },
217
334
  "primary": {
218
335
  "type": "string",
219
336
  "pattern": "^#[a-fA-F0-9]{6}$",
220
- "description": "Main neutral glyphs and feature-defining marks; mid-gray in the default light theme."
337
+ "description": "Main neutral glyphs, focal controls, and feature-defining marks; mid-gray in the default light theme."
221
338
  },
222
339
  "secondary": {
223
340
  "type": "string",
224
341
  "pattern": "^#[a-fA-F0-9]{6}$",
225
- "description": "Incidental label bars and supporting schematic details."
342
+ "description": "Supporting glyphs, incidental label bars, and abstract content."
226
343
  },
227
344
  "divider": {
228
345
  "type": "string",
@@ -269,7 +386,6 @@
269
386
  "product",
270
387
  "sourceLocale",
271
388
  "locales",
272
- "history",
273
389
  "visuals",
274
390
  "tools"
275
391
  ],
@@ -10,16 +10,57 @@
10
10
  "type": "string",
11
11
  "pattern": "^[a-zA-Z0-9][a-zA-Z0-9._+-]{0,95}$"
12
12
  },
13
- "releasedAt": {
13
+ "channel": {
14
14
  "type": "string",
15
- "format": "date",
16
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
15
+ "pattern": "^(?!(?:con|prn|aux|nul|com[1-9]|lpt[1-9])$)[a-z][a-z0-9-]{0,62}$"
17
16
  },
18
- "previous": {
17
+ "releasedAt": {
19
18
  "anyOf": [
20
19
  {
21
20
  "type": "string",
22
- "pattern": "^[a-zA-Z0-9][a-zA-Z0-9._+-]{0,95}$"
21
+ "format": "date",
22
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
23
+ },
24
+ {
25
+ "type": "string",
26
+ "allOf": [
27
+ {
28
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
29
+ },
30
+ {
31
+ "pattern": "T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?(?:Z|[+-]\\d{2}:\\d{2})$"
32
+ }
33
+ ]
34
+ }
35
+ ]
36
+ },
37
+ "previous": {
38
+ "anyOf": [
39
+ {
40
+ "anyOf": [
41
+ {
42
+ "type": "string",
43
+ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9._+-]{0,95}$"
44
+ },
45
+ {
46
+ "type": "object",
47
+ "properties": {
48
+ "channel": {
49
+ "type": "string",
50
+ "pattern": "^(?!(?:con|prn|aux|nul|com[1-9]|lpt[1-9])$)[a-z][a-z0-9-]{0,62}$"
51
+ },
52
+ "version": {
53
+ "type": "string",
54
+ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9._+-]{0,95}$"
55
+ }
56
+ },
57
+ "required": [
58
+ "channel",
59
+ "version"
60
+ ],
61
+ "additionalProperties": false
62
+ }
63
+ ]
23
64
  },
24
65
  {
25
66
  "type": "null"
@@ -128,22 +169,22 @@
128
169
  "surface": {
129
170
  "type": "string",
130
171
  "pattern": "^#[a-fA-F0-9]{6}$",
131
- "description": "Base interface panels and resting rows."
172
+ "description": "Base or recessed interface panels."
132
173
  },
133
174
  "raised": {
134
175
  "type": "string",
135
176
  "pattern": "^#[a-fA-F0-9]{6}$",
136
- "description": "Quiet icon tiles, inset areas, and abstract thumbnail fills."
177
+ "description": "Foreground panels, controls, and quiet tile fills."
137
178
  },
138
179
  "primary": {
139
180
  "type": "string",
140
181
  "pattern": "^#[a-fA-F0-9]{6}$",
141
- "description": "Main neutral glyphs and feature-defining marks; mid-gray in the default light theme."
182
+ "description": "Main neutral glyphs, focal controls, and feature-defining marks; mid-gray in the default light theme."
142
183
  },
143
184
  "secondary": {
144
185
  "type": "string",
145
186
  "pattern": "^#[a-fA-F0-9]{6}$",
146
- "description": "Incidental label bars and supporting schematic details."
187
+ "description": "Supporting glyphs, incidental label bars, and abstract content."
147
188
  },
148
189
  "divider": {
149
190
  "type": "string",
@@ -172,22 +213,22 @@
172
213
  "surface": {
173
214
  "type": "string",
174
215
  "pattern": "^#[a-fA-F0-9]{6}$",
175
- "description": "Base interface panels and resting rows."
216
+ "description": "Base or recessed interface panels."
176
217
  },
177
218
  "raised": {
178
219
  "type": "string",
179
220
  "pattern": "^#[a-fA-F0-9]{6}$",
180
- "description": "Quiet icon tiles, inset areas, and abstract thumbnail fills."
221
+ "description": "Foreground panels, controls, and quiet tile fills."
181
222
  },
182
223
  "primary": {
183
224
  "type": "string",
184
225
  "pattern": "^#[a-fA-F0-9]{6}$",
185
- "description": "Main neutral glyphs and feature-defining marks; mid-gray in the default light theme."
226
+ "description": "Main neutral glyphs, focal controls, and feature-defining marks; mid-gray in the default light theme."
186
227
  },
187
228
  "secondary": {
188
229
  "type": "string",
189
230
  "pattern": "^#[a-fA-F0-9]{6}$",
190
- "description": "Incidental label bars and supporting schematic details."
231
+ "description": "Supporting glyphs, incidental label bars, and abstract content."
191
232
  },
192
233
  "divider": {
193
234
  "type": "string",