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,50 +0,0 @@
1
- {
2
- "name": "Modal",
3
- "semanticStructure": [
4
- {
5
- "key": "root",
6
- "description": "Root element with relative positioning, top position, width, max-width, margins, bottom padding and other basic layout styles for modal container",
7
- "descriptionZh": "根元素,包含相对定位、顶部位置、宽度、最大宽度、外边距、底部内边距等模态框容器的基础布局样式"
8
- },
9
- {
10
- "key": "mask",
11
- "description": "Mask element with fixed positioning, z-index, background color, animation transitions and other mask layer styles",
12
- "descriptionZh": "遮罩层元素,包含固定定位、层级、背景色、动画过渡等遮罩层的样式"
13
- },
14
- {
15
- "key": "wrapper",
16
- "description": "Wrapper element used for motion container with animation and transition effect styles",
17
- "descriptionZh": "包裹层元素,一般用于动画容器,包含动画和过渡效果的样式"
18
- },
19
- {
20
- "key": "container",
21
- "description": "Modal container element with relative positioning, background, background-clip, border, border-radius, box-shadow, pointer-events, padding and other modal body styles",
22
- "descriptionZh": "Modal 容器元素,包含相对定位、背景色、背景裁剪、边框、圆角、阴影、指针事件、内边距等模态框主体样式"
23
- },
24
- {
25
- "key": "header",
26
- "description": "Header element with padding, bottom border and other header area styles",
27
- "descriptionZh": "头部元素,包含头部内边距、下边框等头部区域样式"
28
- },
29
- {
30
- "key": "title",
31
- "description": "Title element with margin, color, font-weight, font-size, line-height, word-wrap and other title text styles",
32
- "descriptionZh": "标题元素,包含外边距、颜色、字体权重、字体大小、行高、文字换行等标题文字样式"
33
- },
34
- {
35
- "key": "body",
36
- "description": "Body element with content area background color, padding and other content display styles",
37
- "descriptionZh": "内容元素,包含内容区域的背景色、内边距等内容展示样式"
38
- },
39
- {
40
- "key": "footer",
41
- "description": "Footer element with footer background color, padding, top border, border-radius and other footer area styles",
42
- "descriptionZh": "底部元素,包含底部的背景色、内边距、上边框、圆角等底部区域样式"
43
- },
44
- {
45
- "key": "close",
46
- "description": "Close button element with base button styles, positioning and interaction effects",
47
- "descriptionZh": "关闭按钮元素,包含按钮基础样式、位置和交互效果"
48
- }
49
- ]
50
- }
@@ -1,130 +0,0 @@
1
- {
2
- "token": [
3
- {
4
- "name": "bodyPadding",
5
- "type": "number",
6
- "default": "24",
7
- "description": "",
8
- "descriptionZh": ""
9
- },
10
- {
11
- "name": "confirmBodyPadding",
12
- "type": "string | number",
13
- "default": "32px 32px 24px",
14
- "description": "",
15
- "descriptionZh": ""
16
- },
17
- {
18
- "name": "confirmBtnsMarginTop",
19
- "type": "string | number",
20
- "default": "24",
21
- "description": "",
22
- "descriptionZh": ""
23
- },
24
- {
25
- "name": "confirmIconMarginInlineEnd",
26
- "type": "string | number",
27
- "default": "16",
28
- "description": "",
29
- "descriptionZh": ""
30
- },
31
- {
32
- "name": "contentBg",
33
- "type": "string",
34
- "default": "#ffffff",
35
- "description": "Background color of content",
36
- "descriptionZh": "内容区域背景色"
37
- },
38
- {
39
- "name": "contentPadding",
40
- "type": "string | number",
41
- "default": "0",
42
- "description": "",
43
- "descriptionZh": ""
44
- },
45
- {
46
- "name": "footerBg",
47
- "type": "string",
48
- "default": "transparent",
49
- "description": "Background color of footer",
50
- "descriptionZh": "底部区域背景色"
51
- },
52
- {
53
- "name": "footerBorderRadius",
54
- "type": "string | number",
55
- "default": "0 0 8px 8px",
56
- "description": "",
57
- "descriptionZh": ""
58
- },
59
- {
60
- "name": "footerBorderTop",
61
- "type": "string",
62
- "default": "1px solid rgba(5,5,5,0.06)",
63
- "description": "",
64
- "descriptionZh": ""
65
- },
66
- {
67
- "name": "footerMarginTop",
68
- "type": "string | number",
69
- "default": "0",
70
- "description": "",
71
- "descriptionZh": ""
72
- },
73
- {
74
- "name": "footerPadding",
75
- "type": "string | number",
76
- "default": "8px 16px",
77
- "description": "",
78
- "descriptionZh": ""
79
- },
80
- {
81
- "name": "headerBg",
82
- "type": "string",
83
- "default": "transparent",
84
- "description": "Background color of header",
85
- "descriptionZh": "顶部背景色"
86
- },
87
- {
88
- "name": "headerBorderBottom",
89
- "type": "string",
90
- "default": "1px solid rgba(5,5,5,0.06)",
91
- "description": "",
92
- "descriptionZh": ""
93
- },
94
- {
95
- "name": "headerMarginBottom",
96
- "type": "number",
97
- "default": "0",
98
- "description": "",
99
- "descriptionZh": ""
100
- },
101
- {
102
- "name": "headerPadding",
103
- "type": "string | number",
104
- "default": "16px 24px",
105
- "description": "",
106
- "descriptionZh": ""
107
- },
108
- {
109
- "name": "titleColor",
110
- "type": "string",
111
- "default": "rgba(0,0,0,0.88)",
112
- "description": "Font color of title",
113
- "descriptionZh": "标题字体颜色"
114
- },
115
- {
116
- "name": "titleFontSize",
117
- "type": "string | number",
118
- "default": "16",
119
- "description": "Font size of title",
120
- "descriptionZh": "标题字体大小"
121
- },
122
- {
123
- "name": "titleLineHeight",
124
- "type": "string | number",
125
- "default": "1.5",
126
- "description": "Line height of title",
127
- "descriptionZh": "标题行高"
128
- }
129
- ]
130
- }
@@ -1,7 +0,0 @@
1
- {
2
- "component": "Select",
3
- "name": "basic",
4
- "title": "Basic Usage",
5
- "description": "Basic Usage.",
6
- "code": "<script setup lang=\"ts\">\nimport { shallowRef } from 'vue'\n\nconst options = [\n { value: 'jack', label: 'Jack' },\n { value: 'lucy', label: 'Lucy' },\n { value: 'Yiminghe', label: 'yiminghe' },\n { value: 'disabled', label: 'Disabled', disabled: true },\n]\nconst value1 = shallowRef('lucy')\nconst value2 = shallowRef('lucy')\n</script>\n\n<template>\n <a-space wrap>\n <div>\n {{ value1 }}\n </div>\n <a-select v-model:value=\"value1\" style=\"width: 120px\" :options=\"options\" />\n <a-select v-model:value=\"value2\" style=\"width: 120px\" disabled :options=\"[{ value: 'lucy', label: 'lucy' }]\" />\n </a-space>\n</template>"
7
- }