create-yss-spec 3.4.10 → 3.5.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 (174) hide show
  1. package/README.md +2 -2
  2. package/package.json +1 -1
  3. package/src/api/_sync-service.js +111 -18
  4. package/src/cli/args.js +1 -0
  5. package/src/cli/help.js +10 -1
  6. package/src/cli/index.js +3 -0
  7. package/src/cli/prompts.js +5 -1
  8. package/src/cli/router.js +2 -0
  9. package/src/commands/attach.js +12 -2
  10. package/src/commands/init.js +2 -0
  11. package/src/commands/skills.js +253 -0
  12. package/src/commands/sync.js +3 -0
  13. package/src/family-identity.js +1 -1
  14. package/src/template/asset-runtime.js +220 -0
  15. package/src/template/distribution-runtime.js +165 -0
  16. package/src/template/instance-runtime.js +76 -29
  17. package/src/template/ownership-policy.js +17 -1
  18. package/src/template/prune-planner.js +6 -1
  19. package/src/template/sync-planner.js +3 -0
  20. package/src/template/verification-runtime.js +56 -1
  21. package/src/validation/metadata.js +24 -1
  22. package/template/.agents/skills/.strategic-design-skills-manifest.json +1 -1
  23. package/template/.agents/skills/yss-cache/SKILL.md +6 -5
  24. package/template/.agents/skills/yss-cache/references/annotations.md +3 -1
  25. package/template/.agents/skills/yss-cache/references/architecture.md +4 -2
  26. package/template/.agents/skills/yss-cache/references/configuration.md +6 -3
  27. package/template/.agents/skills/yss-cache/references/jetcache.md +21 -0
  28. package/template/.agents/skills/yss-cache/references/redis-fallback.md +5 -3
  29. package/template/.agents/skills/yss-cache/references/verification.md +10 -4
  30. package/template/.agents/skills/yss-cache/scripts/verify-cache-component.sh +26 -20
  31. package/template/.agents/skills/yss-distributed-id/SKILL.md +14 -58
  32. package/template/.agents/skills/yss-distributed-id/agents/openai.yaml +2 -2
  33. package/template/.agents/skills/yss-distributed-id/references/README.md +11 -47
  34. package/template/.agents/skills/yss-mybatis/SKILL.md +14 -2
  35. package/template/.agents/skills/yss-product-lifecycle/references/orchestration-contract.yaml +5 -4
  36. package/template/.agents/skills/yss-product-lifecycle/references/state-model.md +8 -8
  37. package/template/.agents/skills/yss-prototype-stage/SKILL.md +2 -2
  38. package/template/.agents/skills/yss-repository/SKILL.md +1 -0
  39. package/template/.codex/skills/yss-cache/SKILL.md +6 -5
  40. package/template/.codex/skills/yss-cache/references/annotations.md +3 -1
  41. package/template/.codex/skills/yss-cache/references/architecture.md +4 -2
  42. package/template/.codex/skills/yss-cache/references/configuration.md +6 -3
  43. package/template/.codex/skills/yss-cache/references/jetcache.md +21 -0
  44. package/template/.codex/skills/yss-cache/references/redis-fallback.md +5 -3
  45. package/template/.codex/skills/yss-cache/references/verification.md +10 -4
  46. package/template/.codex/skills/yss-cache/scripts/verify-cache-component.sh +26 -20
  47. package/template/.codex/skills/yss-distributed-id/SKILL.md +14 -58
  48. package/template/.codex/skills/yss-distributed-id/agents/openai.yaml +2 -2
  49. package/template/.codex/skills/yss-distributed-id/references/README.md +11 -47
  50. package/template/.codex/skills/yss-mybatis/SKILL.md +14 -2
  51. package/template/.codex/skills/yss-product-lifecycle/references/orchestration-contract.yaml +5 -4
  52. package/template/.codex/skills/yss-product-lifecycle/references/state-model.md +8 -8
  53. package/template/.codex/skills/yss-prototype-stage/SKILL.md +2 -2
  54. package/template/.codex/skills/yss-repository/SKILL.md +1 -0
  55. package/template/.cursor/skills/yss-cache/SKILL.md +6 -5
  56. package/template/.cursor/skills/yss-cache/references/annotations.md +3 -1
  57. package/template/.cursor/skills/yss-cache/references/architecture.md +4 -2
  58. package/template/.cursor/skills/yss-cache/references/configuration.md +6 -3
  59. package/template/.cursor/skills/yss-cache/references/jetcache.md +21 -0
  60. package/template/.cursor/skills/yss-cache/references/redis-fallback.md +5 -3
  61. package/template/.cursor/skills/yss-cache/references/verification.md +10 -4
  62. package/template/.cursor/skills/yss-cache/scripts/verify-cache-component.sh +26 -20
  63. package/template/.cursor/skills/yss-distributed-id/SKILL.md +14 -58
  64. package/template/.cursor/skills/yss-distributed-id/agents/openai.yaml +2 -2
  65. package/template/.cursor/skills/yss-distributed-id/references/README.md +11 -47
  66. package/template/.cursor/skills/yss-mybatis/SKILL.md +14 -2
  67. package/template/.cursor/skills/yss-product-lifecycle/references/orchestration-contract.yaml +5 -4
  68. package/template/.cursor/skills/yss-product-lifecycle/references/state-model.md +8 -8
  69. package/template/.cursor/skills/yss-prototype-stage/SKILL.md +2 -2
  70. package/template/.cursor/skills/yss-repository/SKILL.md +1 -0
  71. package/template/.pi/skills/yss-cache/SKILL.md +6 -5
  72. package/template/.pi/skills/yss-cache/references/annotations.md +3 -1
  73. package/template/.pi/skills/yss-cache/references/architecture.md +4 -2
  74. package/template/.pi/skills/yss-cache/references/configuration.md +6 -3
  75. package/template/.pi/skills/yss-cache/references/jetcache.md +21 -0
  76. package/template/.pi/skills/yss-cache/references/redis-fallback.md +5 -3
  77. package/template/.pi/skills/yss-cache/references/verification.md +10 -4
  78. package/template/.pi/skills/yss-cache/scripts/verify-cache-component.sh +26 -20
  79. package/template/.pi/skills/yss-distributed-id/SKILL.md +14 -58
  80. package/template/.pi/skills/yss-distributed-id/agents/openai.yaml +2 -2
  81. package/template/.pi/skills/yss-distributed-id/references/README.md +11 -47
  82. package/template/.pi/skills/yss-mybatis/SKILL.md +14 -2
  83. package/template/.pi/skills/yss-product-lifecycle/references/orchestration-contract.yaml +5 -4
  84. package/template/.pi/skills/yss-product-lifecycle/references/state-model.md +8 -8
  85. package/template/.pi/skills/yss-prototype-stage/SKILL.md +2 -2
  86. package/template/.pi/skills/yss-repository/SKILL.md +1 -0
  87. package/template/README.md +2 -5
  88. package/template/docs/agents/skill-migrations.md +4 -0
  89. package/template/docs/agents/yss-skill-registry.yaml +7 -6
  90. package/template/docs/design/README.md +0 -1
  91. package/template/docs/design/design.md +2 -2
  92. package/template/docs/design/templates/interaction-spec-template.md +1 -1
  93. package/template/docs/engineering/evidence/aliyun-artifact-resolution.json +446 -0
  94. package/template/scripts/design-md +2 -0
  95. package/template/scripts/lib/design-md.mjs +230 -0
  96. package/template/scripts/lib/skill-registry.mjs +9 -2
  97. package/template/scripts/lib/skill-supply-chain.mjs +33 -14
  98. package/template/scripts/verify-project-instance +11 -10
  99. package/template/skills-lock.json +11 -26
  100. package/template.manifest.json +18 -3
  101. package/template.snapshot.json +5 -5
  102. package/template/.agents/skills/grill-me/SKILL.md +0 -7
  103. package/template/.agents/skills/grill-me/agents/openai.yaml +0 -5
  104. package/template/.agents/skills/yss-distributed-id/assets/AutoIdInterceptor.java +0 -246
  105. package/template/.agents/skills/yss-distributed-id/assets/EnableDistributedId.java +0 -25
  106. package/template/.agents/skills/yss-distributed-id/assets/LeafConf.java +0 -36
  107. package/template/.codex/skills/grill-me/SKILL.md +0 -7
  108. package/template/.codex/skills/grill-me/agents/openai.yaml +0 -5
  109. package/template/.codex/skills/yss-distributed-id/assets/AutoIdInterceptor.java +0 -246
  110. package/template/.codex/skills/yss-distributed-id/assets/EnableDistributedId.java +0 -25
  111. package/template/.codex/skills/yss-distributed-id/assets/LeafConf.java +0 -36
  112. package/template/.cursor/skills/grill-me/SKILL.md +0 -7
  113. package/template/.cursor/skills/grill-me/agents/openai.yaml +0 -5
  114. package/template/.cursor/skills/yss-distributed-id/assets/AutoIdInterceptor.java +0 -246
  115. package/template/.cursor/skills/yss-distributed-id/assets/EnableDistributedId.java +0 -25
  116. package/template/.cursor/skills/yss-distributed-id/assets/LeafConf.java +0 -36
  117. package/template/.pi/skills/grill-me/SKILL.md +0 -7
  118. package/template/.pi/skills/grill-me/agents/openai.yaml +0 -5
  119. package/template/.pi/skills/yss-distributed-id/assets/AutoIdInterceptor.java +0 -246
  120. package/template/.pi/skills/yss-distributed-id/assets/EnableDistributedId.java +0 -25
  121. package/template/.pi/skills/yss-distributed-id/assets/LeafConf.java +0 -36
  122. package/template/docs/agents/yss-plugin-dependency-contract.md +0 -45
  123. package/template/docs/api/.gitkeep +0 -0
  124. package/template/docs/api/specs/.gitkeep +0 -0
  125. package/template/docs/architecture/.gitkeep +0 -0
  126. package/template/docs/design/facts/antdv-next/1.5.2/cli-help.txt +0 -38
  127. package/template/docs/design/facts/antdv-next/1.5.2/component-list.json +0 -434
  128. package/template/docs/design/facts/antdv-next/1.5.2/components/Alert/demo-basic.json +0 -7
  129. package/template/docs/design/facts/antdv-next/1.5.2/components/Alert/info.json +0 -246
  130. package/template/docs/design/facts/antdv-next/1.5.2/components/Alert/semantic.json +0 -40
  131. package/template/docs/design/facts/antdv-next/1.5.2/components/Alert/token.json +0 -32
  132. package/template/docs/design/facts/antdv-next/1.5.2/components/Button/demo-basic.json +0 -7
  133. package/template/docs/design/facts/antdv-next/1.5.2/components/Button/info.json +0 -190
  134. package/template/docs/design/facts/antdv-next/1.5.2/components/Button/semantic.json +0 -20
  135. package/template/docs/design/facts/antdv-next/1.5.2/components/Button/token.json +0 -256
  136. package/template/docs/design/facts/antdv-next/1.5.2/components/Input/demo-basic.json +0 -7
  137. package/template/docs/design/facts/antdv-next/1.5.2/components/Input/info.json +0 -460
  138. package/template/docs/design/facts/antdv-next/1.5.2/components/Input/semantic.json +0 -70
  139. package/template/docs/design/facts/antdv-next/1.5.2/components/Input/token.json +0 -123
  140. package/template/docs/design/facts/antdv-next/1.5.2/components/Modal/demo-basic.json +0 -7
  141. package/template/docs/design/facts/antdv-next/1.5.2/components/Modal/info.json +0 -646
  142. package/template/docs/design/facts/antdv-next/1.5.2/components/Modal/semantic.json +0 -50
  143. package/template/docs/design/facts/antdv-next/1.5.2/components/Modal/token.json +0 -130
  144. package/template/docs/design/facts/antdv-next/1.5.2/components/Select/demo-basic.json +0 -7
  145. package/template/docs/design/facts/antdv-next/1.5.2/components/Select/info.json +0 -640
  146. package/template/docs/design/facts/antdv-next/1.5.2/components/Select/semantic.json +0 -70
  147. package/template/docs/design/facts/antdv-next/1.5.2/components/Select/token.json +0 -172
  148. package/template/docs/design/facts/antdv-next/1.5.2/components/Table/demo-basic.json +0 -7
  149. package/template/docs/design/facts/antdv-next/1.5.2/components/Table/info.json +0 -1010
  150. package/template/docs/design/facts/antdv-next/1.5.2/components/Table/semantic.json +0 -70
  151. package/template/docs/design/facts/antdv-next/1.5.2/components/Table/token.json +0 -263
  152. package/template/docs/design/facts/antdv-next/1.5.2/components/Tag/demo-basic.json +0 -7
  153. package/template/docs/design/facts/antdv-next/1.5.2/components/Tag/info.json +0 -321
  154. package/template/docs/design/facts/antdv-next/1.5.2/components/Tag/semantic.json +0 -25
  155. package/template/docs/design/facts/antdv-next/1.5.2/components/Tag/token.json +0 -25
  156. package/template/docs/design/facts/antdv-next/1.5.2/design-md.json +0 -3
  157. package/template/docs/design/facts/antdv-next/1.5.2/manifest.json +0 -215
  158. package/template/docs/design/facts/antdv-next/1.5.2/resolution-probe.json +0 -5
  159. package/template/docs/design/prototypes/.gitkeep +0 -1
  160. package/template/docs/implementation/.gitkeep +0 -1
  161. package/template/docs/plan/IDEATION.md +0 -96
  162. package/template/docs/process/PDCA-SCRUM.md +0 -10
  163. package/template/docs/process/harness-executive-blueprint.md +0 -10
  164. package/template/docs/releases/.gitkeep +0 -1
  165. package/template/docs/requirements/README.md +0 -85
  166. package/template/docs/requirements/tickets/.gitkeep +0 -1
  167. package/template/docs/templates/agent-brief-template.md +0 -46
  168. package/template/docs/templates/architecture-proposal-template.md +0 -18
  169. package/template/docs/templates/implementation-plan-template.md +0 -16
  170. package/template/docs/templates/implementation-routing-template.md +0 -350
  171. package/template/docs/templates/requirement-freeze-template.md +0 -63
  172. package/template/docs/templates/risk-register-template.md +0 -11
  173. package/template/docs/templates/user-story-template.md +0 -20
  174. package/template/docs/testing/README.md +0 -110
@@ -1,256 +0,0 @@
1
- {
2
- "token": [
3
- {
4
- "name": "contentFontSize",
5
- "type": "number",
6
- "default": "14",
7
- "description": "Font size of button content",
8
- "descriptionZh": "按钮内容字体大小"
9
- },
10
- {
11
- "name": "contentFontSizeLG",
12
- "type": "number",
13
- "default": "16",
14
- "description": "Font size of large button content",
15
- "descriptionZh": "大号按钮内容字体大小"
16
- },
17
- {
18
- "name": "contentFontSizeSM",
19
- "type": "number",
20
- "default": "14",
21
- "description": "Font size of small button content",
22
- "descriptionZh": "小号按钮内容字体大小"
23
- },
24
- {
25
- "name": "dangerColor",
26
- "type": "string",
27
- "default": "#fff",
28
- "description": "Text color of danger button",
29
- "descriptionZh": "危险按钮文本颜色"
30
- },
31
- {
32
- "name": "dangerShadow",
33
- "type": "string",
34
- "default": "0 2px 0 rgba(255,38,5,0.06)",
35
- "description": "Shadow of danger button",
36
- "descriptionZh": "危险按钮阴影"
37
- },
38
- {
39
- "name": "dashedBgDisabled",
40
- "type": "string",
41
- "default": "rgba(0,0,0,0.04)",
42
- "description": "",
43
- "descriptionZh": "type='dashed' 禁用状态下的背景颜色"
44
- },
45
- {
46
- "name": "defaultActiveBg",
47
- "type": "string",
48
- "default": "#ffffff",
49
- "description": "Background color of default button when active",
50
- "descriptionZh": "默认按钮激活态背景色"
51
- },
52
- {
53
- "name": "defaultActiveBorderColor",
54
- "type": "string",
55
- "default": "#0958d9",
56
- "description": "Border color of default button when active",
57
- "descriptionZh": "默认按钮激活态边框颜色"
58
- },
59
- {
60
- "name": "defaultActiveColor",
61
- "type": "string",
62
- "default": "#0958d9",
63
- "description": "Text color of default button when active",
64
- "descriptionZh": "默认按钮激活态文字颜色"
65
- },
66
- {
67
- "name": "defaultBg",
68
- "type": "string",
69
- "default": "#ffffff",
70
- "description": "Background color of default button",
71
- "descriptionZh": "默认按钮背景色"
72
- },
73
- {
74
- "name": "defaultBgDisabled",
75
- "type": "string",
76
- "default": "rgba(0,0,0,0.04)",
77
- "description": "",
78
- "descriptionZh": "type='default' 禁用状态下的背景颜色"
79
- },
80
- {
81
- "name": "defaultBorderColor",
82
- "type": "string",
83
- "default": "#d9d9d9",
84
- "description": "Border color of default button",
85
- "descriptionZh": "默认按钮边框颜色"
86
- },
87
- {
88
- "name": "defaultColor",
89
- "type": "string",
90
- "default": "rgba(0,0,0,0.88)",
91
- "description": "Text color of default button",
92
- "descriptionZh": "默认按钮文本颜色"
93
- },
94
- {
95
- "name": "defaultGhostBorderColor",
96
- "type": "string",
97
- "default": "#ffffff",
98
- "description": "Border color of default ghost button",
99
- "descriptionZh": "默认幽灵按钮边框颜色"
100
- },
101
- {
102
- "name": "defaultGhostColor",
103
- "type": "string",
104
- "default": "#ffffff",
105
- "description": "Text color of default ghost button",
106
- "descriptionZh": "默认幽灵按钮文本颜色"
107
- },
108
- {
109
- "name": "defaultHoverBg",
110
- "type": "string",
111
- "default": "#ffffff",
112
- "description": "Background color of default button when hover",
113
- "descriptionZh": "默认按钮悬浮态背景色"
114
- },
115
- {
116
- "name": "defaultHoverBorderColor",
117
- "type": "string",
118
- "default": "#4096ff",
119
- "description": "Border color of default button",
120
- "descriptionZh": "默认按钮悬浮态边框颜色"
121
- },
122
- {
123
- "name": "defaultHoverColor",
124
- "type": "string",
125
- "default": "#4096ff",
126
- "description": "Text color of default button when hover",
127
- "descriptionZh": "默认按钮悬浮态文本颜色"
128
- },
129
- {
130
- "name": "defaultShadow",
131
- "type": "string",
132
- "default": "0 2px 0 rgba(0,0,0,0.02)",
133
- "description": "Shadow of default button",
134
- "descriptionZh": "默认按钮阴影"
135
- },
136
- {
137
- "name": "fontWeight",
138
- "type": "FontWeight | undefined",
139
- "default": "400",
140
- "description": "Font weight of text",
141
- "descriptionZh": "文字字重"
142
- },
143
- {
144
- "name": "ghostBg",
145
- "type": "string",
146
- "default": "transparent",
147
- "description": "Background color of ghost button",
148
- "descriptionZh": "幽灵按钮背景色"
149
- },
150
- {
151
- "name": "iconGap",
152
- "type": "Gap<string | number> | undefined",
153
- "default": "8",
154
- "description": "Gap between icon and text",
155
- "descriptionZh": "图标文字间距"
156
- },
157
- {
158
- "name": "linkHoverBg",
159
- "type": "string",
160
- "default": "transparent",
161
- "description": "Background color of link button when hover",
162
- "descriptionZh": "链接按钮悬浮态背景色"
163
- },
164
- {
165
- "name": "onlyIconSize",
166
- "type": "string | number",
167
- "default": "inherit",
168
- "description": "Icon size of button which only contains icon",
169
- "descriptionZh": "只有图标的按钮图标尺寸"
170
- },
171
- {
172
- "name": "onlyIconSizeLG",
173
- "type": "string | number",
174
- "default": "inherit",
175
- "description": "Icon size of large button which only contains icon",
176
- "descriptionZh": "大号只有图标的按钮图标尺寸"
177
- },
178
- {
179
- "name": "onlyIconSizeSM",
180
- "type": "string | number",
181
- "default": "inherit",
182
- "description": "Icon size of small button which only contains icon",
183
- "descriptionZh": "小号只有图标的按钮图标尺寸"
184
- },
185
- {
186
- "name": "paddingInline",
187
- "type": "PaddingInline<string | number> | undefined",
188
- "default": "15",
189
- "description": "Horizontal padding of button",
190
- "descriptionZh": "按钮横向内间距"
191
- },
192
- {
193
- "name": "paddingInlineLG",
194
- "type": "PaddingInline<string | number> | undefined",
195
- "default": "15",
196
- "description": "Horizontal padding of large button",
197
- "descriptionZh": "大号按钮横向内间距"
198
- },
199
- {
200
- "name": "paddingInlineSM",
201
- "type": "PaddingInline<string | number> | undefined",
202
- "default": "7",
203
- "description": "Horizontal padding of small button",
204
- "descriptionZh": "小号按钮横向内间距"
205
- },
206
- {
207
- "name": "primaryColor",
208
- "type": "string",
209
- "default": "#fff",
210
- "description": "Text color of primary button",
211
- "descriptionZh": "主要按钮文本颜色"
212
- },
213
- {
214
- "name": "primaryShadow",
215
- "type": "string",
216
- "default": "0 2px 0 rgba(5,145,255,0.1)",
217
- "description": "Shadow of primary button",
218
- "descriptionZh": "主要按钮阴影"
219
- },
220
- {
221
- "name": "solidTextColor",
222
- "type": "string",
223
- "default": "#fff",
224
- "description": "Default text color for solid buttons.",
225
- "descriptionZh": "默认实心按钮的文本色"
226
- },
227
- {
228
- "name": "textHoverBg",
229
- "type": "string",
230
- "default": "rgba(0,0,0,0.04)",
231
- "description": "Background color of text button when hover",
232
- "descriptionZh": "文本按钮悬浮态背景色"
233
- },
234
- {
235
- "name": "textTextActiveColor",
236
- "type": "string",
237
- "default": "rgba(0,0,0,0.88)",
238
- "description": "Default text color for text buttons on active",
239
- "descriptionZh": "默认文本按钮激活态文字颜色"
240
- },
241
- {
242
- "name": "textTextColor",
243
- "type": "string",
244
- "default": "rgba(0,0,0,0.88)",
245
- "description": "Default text color for text buttons",
246
- "descriptionZh": "默认文本按钮的文本色"
247
- },
248
- {
249
- "name": "textTextHoverColor",
250
- "type": "string",
251
- "default": "rgba(0,0,0,0.88)",
252
- "description": "Default text color for text buttons on hover",
253
- "descriptionZh": "默认文本按钮悬浮态文本颜色"
254
- }
255
- ]
256
- }
@@ -1,7 +0,0 @@
1
- {
2
- "component": "Input",
3
- "name": "basic",
4
- "title": "Basic usage",
5
- "description": "Basic usage example.",
6
- "code": "<script setup lang=\"ts\">\nimport { ref } from 'vue'\n\nconst value = ref()\n</script>\n\n<template>\n <a-input v-model:value=\"value\" placeholder=\"Basic usage\" />\n</template>"
7
- }