yugoo-design 0.2.6 → 0.2.8

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 (221) hide show
  1. package/README.md +4 -4
  2. package/bin/npm-agent-installation.mjs +12 -5
  3. package/bin/npm-desktop-preparation.mjs +47 -33
  4. package/bin/npm-installer-dsh.mjs +2 -1
  5. package/bin/npm-node-runtime.mjs +4 -3
  6. package/package.json +1 -1
  7. package/payload/desktop-preparation/materials.json +46 -46
  8. package/payload/desktop-preparation/qwenwork-package.mjs +26 -11
  9. package/payload/desktop-preparation/qwenwork-template/authoring/studio-creators/material.json +1 -1
  10. package/payload/desktop-preparation/qwenwork-template/authoring/studio-creators/source/.agents/skills/design-bundle-creator/references/bundle-checklist.md +1 -1
  11. package/payload/desktop-preparation/qwenwork-template/authoring/studio-creators/source/.agents/skills/design-bundle-creator/references/panel-authoring.md +6 -4
  12. package/payload/desktop-preparation/qwenwork-template/authoring/studio-creators/source/.agents/skills/design-bundle-creator/scripts/inspect-panel-component.mjs +27 -33
  13. package/payload/desktop-preparation/qwenwork-template/authoring/studio-creators/source/docs/dsl-spec.md +104 -19
  14. package/payload/desktop-preparation/qwenwork-template/authoring/studio-creators/source/docs/panel-uiux-standard.md +361 -90
  15. package/payload/desktop-preparation/qwenwork-template/authoring/studio-creators/source/docs/system-design-baseline.md +1 -1
  16. package/payload/desktop-preparation/qwenwork-template/authoring/studio-creators/source/packages/skills-web-app/bundles/flow_design/SKILL.md +7 -4
  17. package/payload/desktop-preparation/qwenwork-template/authoring/studio-creators/source/packages/skills-web-app/bundles/flow_design/reference/artifact-contract.md +12 -5
  18. package/payload/desktop-preparation/qwenwork-template/authoring/studio-creators/source/packages/skills-web-app/bundles/flow_design/reference/bpmn_authoring.md +13 -10
  19. package/payload/desktop-preparation/qwenwork-template/authoring/studio-creators/source/packages/skills-web-app/bundles/flow_design/reference/canvas-guide.md +2 -1
  20. package/payload/desktop-preparation/qwenwork-template/authoring/studio-creators/source/packages/skills-web-app/bundles/flow_design/schema.yaml +1 -1
  21. package/payload/desktop-preparation/qwenwork-template/authoring/studio-creators/source/packages/skills-web-app/bundles/function_modules/reference/artifact-contract.md +5 -0
  22. package/payload/desktop-preparation/qwenwork-template/authoring/studio-creators/source/packages/skills-web-app/bundles/function_modules/reference/preview.json +1 -0
  23. package/payload/desktop-preparation/qwenwork-template/authoring/studio-creators/source/packages/skills-web-app/bundles/function_modules/schema.yaml +4 -0
  24. package/payload/desktop-preparation/qwenwork-template/authoring/studio-creators/source/packages/skills-web-app/bundles/smart_questions/SKILL.md +4 -2
  25. package/payload/desktop-preparation/qwenwork-template/authoring/studio-creators/source/packages/skills-web-app/bundles/smart_questions/reference/artifact-contract.md +16 -8
  26. package/payload/desktop-preparation/qwenwork-template/authoring/studio-creators/source/packages/skills-web-app/bundles/smart_questions/schema.yaml +2 -2
  27. package/payload/desktop-preparation/qwenwork-template/authoring/studio-creators/source/packages/skills-web-app/bundles/web_app_prd_assembly/SKILL.md +4 -0
  28. package/payload/desktop-preparation/qwenwork-template/authoring/studio-creators/source/packages/skills-web-app/bundles/web_app_prd_assembly/reference/artifact-contract.md +6 -0
  29. package/payload/desktop-preparation/qwenwork-template/scripts/native-hook-transport.mjs +21 -15
  30. package/payload/desktop-preparation/qwenwork-template/scripts/qwenwork-connection.mjs +56 -11
  31. package/payload/desktop-preparation/src/native-hook-transport.mjs +21 -15
  32. package/payload/desktop-preparation/src/qwenwork-connection.mjs +56 -11
  33. package/payload/desktop-preparation/studio-authoring-template/authoring/studio-creators/material.json +1 -1
  34. package/payload/desktop-preparation/studio-authoring-template/authoring/studio-creators/source/.agents/skills/design-bundle-creator/references/bundle-checklist.md +1 -1
  35. package/payload/desktop-preparation/studio-authoring-template/authoring/studio-creators/source/.agents/skills/design-bundle-creator/references/panel-authoring.md +6 -4
  36. package/payload/desktop-preparation/studio-authoring-template/authoring/studio-creators/source/.agents/skills/design-bundle-creator/scripts/inspect-panel-component.mjs +27 -33
  37. package/payload/desktop-preparation/studio-authoring-template/authoring/studio-creators/source/docs/dsl-spec.md +104 -19
  38. package/payload/desktop-preparation/studio-authoring-template/authoring/studio-creators/source/docs/panel-uiux-standard.md +361 -90
  39. package/payload/desktop-preparation/studio-authoring-template/authoring/studio-creators/source/docs/system-design-baseline.md +1 -1
  40. package/payload/desktop-preparation/studio-authoring-template/authoring/studio-creators/source/packages/skills-web-app/bundles/flow_design/SKILL.md +7 -4
  41. package/payload/desktop-preparation/studio-authoring-template/authoring/studio-creators/source/packages/skills-web-app/bundles/flow_design/reference/artifact-contract.md +12 -5
  42. package/payload/desktop-preparation/studio-authoring-template/authoring/studio-creators/source/packages/skills-web-app/bundles/flow_design/reference/bpmn_authoring.md +13 -10
  43. package/payload/desktop-preparation/studio-authoring-template/authoring/studio-creators/source/packages/skills-web-app/bundles/flow_design/reference/canvas-guide.md +2 -1
  44. package/payload/desktop-preparation/studio-authoring-template/authoring/studio-creators/source/packages/skills-web-app/bundles/flow_design/schema.yaml +1 -1
  45. package/payload/desktop-preparation/studio-authoring-template/authoring/studio-creators/source/packages/skills-web-app/bundles/function_modules/reference/artifact-contract.md +5 -0
  46. package/payload/desktop-preparation/studio-authoring-template/authoring/studio-creators/source/packages/skills-web-app/bundles/function_modules/reference/preview.json +1 -0
  47. package/payload/desktop-preparation/studio-authoring-template/authoring/studio-creators/source/packages/skills-web-app/bundles/function_modules/schema.yaml +4 -0
  48. package/payload/desktop-preparation/studio-authoring-template/authoring/studio-creators/source/packages/skills-web-app/bundles/smart_questions/SKILL.md +4 -2
  49. package/payload/desktop-preparation/studio-authoring-template/authoring/studio-creators/source/packages/skills-web-app/bundles/smart_questions/reference/artifact-contract.md +16 -8
  50. package/payload/desktop-preparation/studio-authoring-template/authoring/studio-creators/source/packages/skills-web-app/bundles/smart_questions/schema.yaml +2 -2
  51. package/payload/desktop-preparation/studio-authoring-template/authoring/studio-creators/source/packages/skills-web-app/bundles/web_app_prd_assembly/SKILL.md +4 -0
  52. package/payload/desktop-preparation/studio-authoring-template/authoring/studio-creators/source/packages/skills-web-app/bundles/web_app_prd_assembly/reference/artifact-contract.md +6 -0
  53. package/payload/desktop-preparation/workbuddy-package.mjs +13 -8
  54. package/payload/overlays/claude-code/.claude-plugin/plugin.json +1 -1
  55. package/payload/overlays/claude-code/authoring/studio-creators/material.json +1 -1
  56. package/payload/overlays/claude-code/authoring/studio-creators/source/.agents/skills/design-bundle-creator/references/bundle-checklist.md +1 -1
  57. package/payload/overlays/claude-code/authoring/studio-creators/source/.agents/skills/design-bundle-creator/references/panel-authoring.md +6 -4
  58. package/payload/overlays/claude-code/authoring/studio-creators/source/.agents/skills/design-bundle-creator/scripts/inspect-panel-component.mjs +27 -33
  59. package/payload/overlays/claude-code/authoring/studio-creators/source/docs/dsl-spec.md +104 -19
  60. package/payload/overlays/claude-code/authoring/studio-creators/source/docs/panel-uiux-standard.md +361 -90
  61. package/payload/overlays/claude-code/authoring/studio-creators/source/docs/system-design-baseline.md +1 -1
  62. package/payload/overlays/claude-code/authoring/studio-creators/source/packages/skills-web-app/bundles/flow_design/SKILL.md +7 -4
  63. package/payload/overlays/claude-code/authoring/studio-creators/source/packages/skills-web-app/bundles/flow_design/reference/artifact-contract.md +12 -5
  64. package/payload/overlays/claude-code/authoring/studio-creators/source/packages/skills-web-app/bundles/flow_design/reference/bpmn_authoring.md +13 -10
  65. package/payload/overlays/claude-code/authoring/studio-creators/source/packages/skills-web-app/bundles/flow_design/reference/canvas-guide.md +2 -1
  66. package/payload/overlays/claude-code/authoring/studio-creators/source/packages/skills-web-app/bundles/flow_design/schema.yaml +1 -1
  67. package/payload/overlays/claude-code/authoring/studio-creators/source/packages/skills-web-app/bundles/function_modules/reference/artifact-contract.md +5 -0
  68. package/payload/overlays/claude-code/authoring/studio-creators/source/packages/skills-web-app/bundles/function_modules/reference/preview.json +1 -0
  69. package/payload/overlays/claude-code/authoring/studio-creators/source/packages/skills-web-app/bundles/function_modules/schema.yaml +4 -0
  70. package/payload/overlays/claude-code/authoring/studio-creators/source/packages/skills-web-app/bundles/smart_questions/SKILL.md +4 -2
  71. package/payload/overlays/claude-code/authoring/studio-creators/source/packages/skills-web-app/bundles/smart_questions/reference/artifact-contract.md +16 -8
  72. package/payload/overlays/claude-code/authoring/studio-creators/source/packages/skills-web-app/bundles/smart_questions/schema.yaml +2 -2
  73. package/payload/overlays/claude-code/authoring/studio-creators/source/packages/skills-web-app/bundles/web_app_prd_assembly/SKILL.md +4 -0
  74. package/payload/overlays/claude-code/authoring/studio-creators/source/packages/skills-web-app/bundles/web_app_prd_assembly/reference/artifact-contract.md +6 -0
  75. package/payload/overlays/claude-code/scripts/native-hook-transport.mjs +21 -15
  76. package/payload/overlays/codex/.codex-plugin/plugin.json +1 -1
  77. package/payload/overlays/codex/authoring/studio-creators/material.json +1 -1
  78. package/payload/overlays/codex/authoring/studio-creators/source/.agents/skills/design-bundle-creator/references/bundle-checklist.md +1 -1
  79. package/payload/overlays/codex/authoring/studio-creators/source/.agents/skills/design-bundle-creator/references/panel-authoring.md +6 -4
  80. package/payload/overlays/codex/authoring/studio-creators/source/.agents/skills/design-bundle-creator/scripts/inspect-panel-component.mjs +27 -33
  81. package/payload/overlays/codex/authoring/studio-creators/source/docs/dsl-spec.md +104 -19
  82. package/payload/overlays/codex/authoring/studio-creators/source/docs/panel-uiux-standard.md +361 -90
  83. package/payload/overlays/codex/authoring/studio-creators/source/docs/system-design-baseline.md +1 -1
  84. package/payload/overlays/codex/authoring/studio-creators/source/packages/skills-web-app/bundles/flow_design/SKILL.md +7 -4
  85. package/payload/overlays/codex/authoring/studio-creators/source/packages/skills-web-app/bundles/flow_design/reference/artifact-contract.md +12 -5
  86. package/payload/overlays/codex/authoring/studio-creators/source/packages/skills-web-app/bundles/flow_design/reference/bpmn_authoring.md +13 -10
  87. package/payload/overlays/codex/authoring/studio-creators/source/packages/skills-web-app/bundles/flow_design/reference/canvas-guide.md +2 -1
  88. package/payload/overlays/codex/authoring/studio-creators/source/packages/skills-web-app/bundles/flow_design/schema.yaml +1 -1
  89. package/payload/overlays/codex/authoring/studio-creators/source/packages/skills-web-app/bundles/function_modules/reference/artifact-contract.md +5 -0
  90. package/payload/overlays/codex/authoring/studio-creators/source/packages/skills-web-app/bundles/function_modules/reference/preview.json +1 -0
  91. package/payload/overlays/codex/authoring/studio-creators/source/packages/skills-web-app/bundles/function_modules/schema.yaml +4 -0
  92. package/payload/overlays/codex/authoring/studio-creators/source/packages/skills-web-app/bundles/smart_questions/SKILL.md +4 -2
  93. package/payload/overlays/codex/authoring/studio-creators/source/packages/skills-web-app/bundles/smart_questions/reference/artifact-contract.md +16 -8
  94. package/payload/overlays/codex/authoring/studio-creators/source/packages/skills-web-app/bundles/smart_questions/schema.yaml +2 -2
  95. package/payload/overlays/codex/authoring/studio-creators/source/packages/skills-web-app/bundles/web_app_prd_assembly/SKILL.md +4 -0
  96. package/payload/overlays/codex/authoring/studio-creators/source/packages/skills-web-app/bundles/web_app_prd_assembly/reference/artifact-contract.md +6 -0
  97. package/payload/overlays/qoder/.qoder-plugin/plugin.json +1 -1
  98. package/payload/overlays/qoder/authoring/studio-creators/material.json +1 -1
  99. package/payload/overlays/qoder/authoring/studio-creators/source/.agents/skills/design-bundle-creator/references/bundle-checklist.md +1 -1
  100. package/payload/overlays/qoder/authoring/studio-creators/source/.agents/skills/design-bundle-creator/references/panel-authoring.md +6 -4
  101. package/payload/overlays/qoder/authoring/studio-creators/source/.agents/skills/design-bundle-creator/scripts/inspect-panel-component.mjs +27 -33
  102. package/payload/overlays/qoder/authoring/studio-creators/source/docs/dsl-spec.md +104 -19
  103. package/payload/overlays/qoder/authoring/studio-creators/source/docs/panel-uiux-standard.md +361 -90
  104. package/payload/overlays/qoder/authoring/studio-creators/source/docs/system-design-baseline.md +1 -1
  105. package/payload/overlays/qoder/authoring/studio-creators/source/packages/skills-web-app/bundles/flow_design/SKILL.md +7 -4
  106. package/payload/overlays/qoder/authoring/studio-creators/source/packages/skills-web-app/bundles/flow_design/reference/artifact-contract.md +12 -5
  107. package/payload/overlays/qoder/authoring/studio-creators/source/packages/skills-web-app/bundles/flow_design/reference/bpmn_authoring.md +13 -10
  108. package/payload/overlays/qoder/authoring/studio-creators/source/packages/skills-web-app/bundles/flow_design/reference/canvas-guide.md +2 -1
  109. package/payload/overlays/qoder/authoring/studio-creators/source/packages/skills-web-app/bundles/flow_design/schema.yaml +1 -1
  110. package/payload/overlays/qoder/authoring/studio-creators/source/packages/skills-web-app/bundles/function_modules/reference/artifact-contract.md +5 -0
  111. package/payload/overlays/qoder/authoring/studio-creators/source/packages/skills-web-app/bundles/function_modules/reference/preview.json +1 -0
  112. package/payload/overlays/qoder/authoring/studio-creators/source/packages/skills-web-app/bundles/function_modules/schema.yaml +4 -0
  113. package/payload/overlays/qoder/authoring/studio-creators/source/packages/skills-web-app/bundles/smart_questions/SKILL.md +4 -2
  114. package/payload/overlays/qoder/authoring/studio-creators/source/packages/skills-web-app/bundles/smart_questions/reference/artifact-contract.md +16 -8
  115. package/payload/overlays/qoder/authoring/studio-creators/source/packages/skills-web-app/bundles/smart_questions/schema.yaml +2 -2
  116. package/payload/overlays/qoder/authoring/studio-creators/source/packages/skills-web-app/bundles/web_app_prd_assembly/SKILL.md +4 -0
  117. package/payload/overlays/qoder/authoring/studio-creators/source/packages/skills-web-app/bundles/web_app_prd_assembly/reference/artifact-contract.md +6 -0
  118. package/payload/overlays/qoder/scripts/native-hook-transport.mjs +21 -15
  119. package/payload/shared/authoring/panel-components.json +1015 -878
  120. package/payload/shared/authoring/studio-creators/material.json +1 -1
  121. package/payload/shared/authoring/studio-creators/source/.agents/skills/design-bundle-creator/references/bundle-checklist.md +1 -1
  122. package/payload/shared/authoring/studio-creators/source/.agents/skills/design-bundle-creator/references/panel-authoring.md +6 -4
  123. package/payload/shared/authoring/studio-creators/source/.agents/skills/design-bundle-creator/scripts/inspect-panel-component.mjs +27 -33
  124. package/payload/shared/authoring/studio-creators/source/docs/dsl-spec.md +104 -19
  125. package/payload/shared/authoring/studio-creators/source/docs/panel-uiux-standard.md +361 -90
  126. package/payload/shared/authoring/studio-creators/source/docs/system-design-baseline.md +1 -1
  127. package/payload/shared/authoring/studio-creators/source/packages/skills-web-app/bundles/flow_design/SKILL.md +7 -4
  128. package/payload/shared/authoring/studio-creators/source/packages/skills-web-app/bundles/flow_design/reference/artifact-contract.md +12 -5
  129. package/payload/shared/authoring/studio-creators/source/packages/skills-web-app/bundles/flow_design/reference/bpmn_authoring.md +13 -10
  130. package/payload/shared/authoring/studio-creators/source/packages/skills-web-app/bundles/flow_design/reference/canvas-guide.md +2 -1
  131. package/payload/shared/authoring/studio-creators/source/packages/skills-web-app/bundles/flow_design/schema.yaml +1 -1
  132. package/payload/shared/authoring/studio-creators/source/packages/skills-web-app/bundles/function_modules/reference/artifact-contract.md +5 -0
  133. package/payload/shared/authoring/studio-creators/source/packages/skills-web-app/bundles/function_modules/reference/preview.json +1 -0
  134. package/payload/shared/authoring/studio-creators/source/packages/skills-web-app/bundles/function_modules/schema.yaml +4 -0
  135. package/payload/shared/authoring/studio-creators/source/packages/skills-web-app/bundles/smart_questions/SKILL.md +4 -2
  136. package/payload/shared/authoring/studio-creators/source/packages/skills-web-app/bundles/smart_questions/reference/artifact-contract.md +16 -8
  137. package/payload/shared/authoring/studio-creators/source/packages/skills-web-app/bundles/smart_questions/schema.yaml +2 -2
  138. package/payload/shared/authoring/studio-creators/source/packages/skills-web-app/bundles/web_app_prd_assembly/SKILL.md +4 -0
  139. package/payload/shared/authoring/studio-creators/source/packages/skills-web-app/bundles/web_app_prd_assembly/reference/artifact-contract.md +6 -0
  140. package/payload/shared/bundles/ai_agent_capabilities/locales/en-US.json +29 -28
  141. package/payload/shared/bundles/ai_agent_capabilities/locales/zh-CN.json +35 -34
  142. package/payload/shared/bundles/ai_agent_capabilities/panel.yaml +55 -75
  143. package/payload/shared/bundles/business_data/locales/en-US.json +2 -2
  144. package/payload/shared/bundles/business_data/locales/zh-CN.json +1 -1
  145. package/payload/shared/bundles/business_rules/locales/en-US.json +2 -3
  146. package/payload/shared/bundles/business_rules/locales/zh-CN.json +2 -3
  147. package/payload/shared/bundles/business_rules/panel.yaml +4 -10
  148. package/payload/shared/bundles/design_style/locales/en-US.json +4 -4
  149. package/payload/shared/bundles/design_style/locales/zh-CN.json +4 -4
  150. package/payload/shared/bundles/flow_design/LICENSE +202 -0
  151. package/payload/shared/bundles/flow_design/NOTICE +13 -0
  152. package/payload/shared/bundles/flow_design/SKILL.md +7 -4
  153. package/payload/shared/bundles/flow_design/THIRD_PARTY_NOTICES.md +35 -0
  154. package/payload/shared/bundles/flow_design/licenses/bundled-js/bpmn-moddle@9.0.4/LICENSE +21 -0
  155. package/payload/shared/bundles/flow_design/licenses/bundled-js/min-dash@4.2.3/LICENSE +21 -0
  156. package/payload/shared/bundles/flow_design/licenses/bundled-js/moddle-xml@11.0.0/LICENSE +21 -0
  157. package/payload/shared/bundles/flow_design/licenses/bundled-js/moddle@7.2.0/LICENSE +21 -0
  158. package/payload/shared/bundles/flow_design/licenses/bundled-js/rolldown@1.2.4/LICENSE +25 -0
  159. package/payload/shared/bundles/flow_design/licenses/bundled-js/rolldown@1.2.4/THIRD-PARTY-LICENSE +33 -0
  160. package/payload/shared/bundles/flow_design/licenses/bundled-js/saxen@10.0.0/LICENSE +21 -0
  161. package/payload/shared/bundles/flow_design/licenses/flow-build.json +204 -0
  162. package/payload/shared/bundles/flow_design/licenses/third-party/elkjs-0.10.2/DEPENDENCIES +631 -0
  163. package/payload/shared/bundles/flow_design/licenses/third-party/elkjs-0.10.2/LICENSE.md +264 -0
  164. package/payload/shared/bundles/flow_design/licenses/third-party/elkjs-0.10.2/NOTICE.md +55 -0
  165. package/payload/shared/bundles/flow_design/licenses/third-party/elkjs-0.10.2/SOURCE.md +62 -0
  166. package/payload/shared/bundles/flow_design/licenses/third-party/elkjs-0.10.2/graph-layout-worker.ts +33 -0
  167. package/payload/shared/bundles/flow_design/licenses/third-party/elkjs-0.10.2/release-source-binding.json +81 -0
  168. package/payload/shared/bundles/flow_design/licenses/third-party/elkjs-0.10.2/upstream-README.md +391 -0
  169. package/payload/shared/bundles/flow_design/licenses/third-party/elkjs-0.10.2/upstream-build.gradle +322 -0
  170. package/payload/shared/bundles/flow_design/licenses/third-party/elkjs-0.10.2/upstream-ci.yml +67 -0
  171. package/payload/shared/bundles/flow_design/reference/artifact-contract.md +12 -5
  172. package/payload/shared/bundles/flow_design/reference/bpmn_authoring.md +13 -10
  173. package/payload/shared/bundles/flow_design/reference/canvas-guide.md +2 -1
  174. package/payload/shared/bundles/flow_design/schema.yaml +1 -1
  175. package/payload/shared/bundles/flow_design/scripts/bpmn-validator.mjs +35 -20
  176. package/payload/shared/bundles/function_modules/locales/en-US.json +2 -2
  177. package/payload/shared/bundles/function_modules/panel.yaml +1 -0
  178. package/payload/shared/bundles/function_modules/reference/artifact-contract.md +5 -0
  179. package/payload/shared/bundles/function_modules/reference/preview.json +1 -0
  180. package/payload/shared/bundles/function_modules/schema.yaml +4 -0
  181. package/payload/shared/bundles/integration_design/locales/en-US.json +3 -1
  182. package/payload/shared/bundles/integration_design/locales/zh-CN.json +3 -1
  183. package/payload/shared/bundles/integration_design/panel.yaml +18 -2
  184. package/payload/shared/bundles/notification_design/locales/en-US.json +2 -0
  185. package/payload/shared/bundles/notification_design/locales/zh-CN.json +2 -0
  186. package/payload/shared/bundles/notification_design/panel.yaml +18 -6
  187. package/payload/shared/bundles/page_design/locales/en-US.json +12 -1
  188. package/payload/shared/bundles/page_design/locales/zh-CN.json +12 -1
  189. package/payload/shared/bundles/page_design/panel.yaml +23 -1
  190. package/payload/shared/bundles/quality_acceptance/locales/en-US.json +2 -2
  191. package/payload/shared/bundles/quality_acceptance/locales/zh-CN.json +2 -2
  192. package/payload/shared/bundles/quality_acceptance/panel.yaml +10 -7
  193. package/payload/shared/bundles/role_access/locales/en-US.json +5 -5
  194. package/payload/shared/bundles/role_access/locales/zh-CN.json +5 -5
  195. package/payload/shared/bundles/smart_questions/SKILL.md +4 -2
  196. package/payload/shared/bundles/smart_questions/reference/artifact-contract.md +16 -8
  197. package/payload/shared/bundles/smart_questions/schema.yaml +2 -2
  198. package/payload/shared/bundles/web_app_prd_assembly/SKILL.md +4 -0
  199. package/payload/shared/bundles/web_app_prd_assembly/locales/en-US.json +2 -2
  200. package/payload/shared/bundles/web_app_prd_assembly/locales/zh-CN.json +1 -1
  201. package/payload/shared/bundles/web_app_prd_assembly/reference/artifact-contract.md +6 -0
  202. package/payload/shared/bundles/web_app_prd_assembly/scripts/prd.mjs +28 -16
  203. package/payload/shared/scripts/{content-archive-CnwVcuWA.mjs → content-archive-BvVmbecb.mjs} +2 -2
  204. package/payload/shared/scripts/{core-entry-DESmwP78.mjs → core-entry-S65aB8cC.mjs} +47 -0
  205. package/payload/shared/scripts/design.mjs +2 -2
  206. package/payload/shared/scripts/git-runtime-check.mjs +1 -1
  207. package/payload/shared/scripts/knowledge-snapshot-query.mjs +1 -1
  208. package/payload/shared/scripts/{load-C-RwS23Y.mjs → load-D1xLlKL_.mjs} +1 -1
  209. package/payload/shared/scripts/{panel-preview-BeVRYFk1.mjs → panel-preview-D-OD9mro.mjs} +2 -2
  210. package/payload/shared/scripts/{server-BnEtfptI.mjs → server-B6kGo8xO.mjs} +159 -55
  211. package/payload/shared/scripts/{studio-CFUWk0vJ.mjs → studio-DumCCbFT.mjs} +6 -6
  212. package/payload/shared/scripts/{studio-instance-composition-BJzYMyvV.mjs → studio-instance-composition-DfbZVetl.mjs} +2 -2
  213. package/payload/shared/scripts/{studio-instances-gQFR9yqL.mjs → studio-instances-BnVSHNCf.mjs} +3 -3
  214. package/payload/shared/scripts/{studio-panel-drafts-Dq171F6x.mjs → studio-panel-drafts-DSxfgHfk.mjs} +1 -1
  215. package/payload/shared/scripts/workbuddy-panel-service.mjs +1 -1
  216. package/payload/shared/web/{_dsh-design-css_owned_89a065927fa266797ef9ce977561ca0c4a3502195b0ba467350b7673cd701bdf_bpmn-embedded.css-CS3_MdFX.js → _dsh-design-css_owned_89a065927fa266797ef9ce977561ca0c4a3502195b0ba467350b7673cd701bdf_bpmn-embedded.css-BVX0LPx6.js} +3 -3
  217. package/payload/shared/web/{_dsh-design-css_owned_cc41a10f41ce4c8219d75daefaa99c08ac76f04537f7ec1abc92622e819f5bba_bpmn-js.css-BMPB0-R-.js → _dsh-design-css_owned_cc41a10f41ce4c8219d75daefaa99c08ac76f04537f7ec1abc92622e819f5bba_bpmn-js.css-TpJpFSU5.js} +3 -3
  218. package/payload/shared/web/{_dsh-design-css_owned_f311e6c6d8e65aed0c9a7ee24ef653d3c38574a3505babc3e0cad2a40b94a188_diagram-js.css-C11OT7zU.js → _dsh-design-css_owned_f311e6c6d8e65aed0c9a7ee24ef653d3c38574a3505babc3e0cad2a40b94a188_diagram-js.css-DreYyNMC.js} +3 -3
  219. package/payload/shared/web/client.js +3389 -1843
  220. package/release-hosts.json +1 -1
  221. package/release-manifest.json +223 -203
@@ -101,7 +101,7 @@ Every host assembles the same instruction layers in this order: the host's own b
101
101
 
102
102
  DeepSeek Harness registers these layers and tools as native Cordis plugin contributions and embeds the shared Design UI in the Web application. Its Host Provider uses `agent.inject()` for durable, non-waking model context, exposes `ctx.userQuestions` for an in-turn blocking question when Bundle policy or the Agent requires native ask-user, creates each required Producer through the public Agent factory, and exposes native nested delegation to that Producer as an optional acceleration capability. It supplies package-owned `dsh.client` modules plus Remote services for the Design panel and Studio. Persistent asynchronous continuation is presented by the plugin continuation UI, and acceptance enters as an ordinary logged user turn; advisory dispositions remain plugin-owned review decisions rather than `ctx.userQuestions` interactions. The provider resolves the active Design Project through the Design System binding store instead of a Design Project, Kit, Design File, or clarity projection. Its standard `designAdvisoryInbox` projection is only a refresh/read-model mechanism and is not Design authority. CLI adapters render clarity and lifecycle state as deterministic text.
103
103
 
104
- Every embedded client stylesheet participates in the Host's plugin-module lifecycle. The DSH provider tags its Panel-shell, trusted-provider, and third-party panel styles with the owning `dsh.client` plugin id at module materialization, so reload and HMR replace the complete style set atomically. A late injected service scope must not privately create or dispose global stylesheet tags; provider-specific styling and shared Panel chrome cannot therefore disappear independently. Component-local inline styles remain permissible only when their DOM lifetime intentionally owns them.
104
+ Every embedded client stylesheet participates in the Host's plugin-module lifecycle. The DSH provider tags its Panel-shell, trusted-provider, and third-party panel styles with the owning `dsh.client` package id, including its published scope, so reload and HMR replace the complete style set atomically. This ownership metadata is distinct from stable Cordis and RPC identities. On materialization, an existing tag with the same stylesheet key receives the current text and package owner; its presence alone must not retain an older revision. Independent ESM renderers retain explicit stylesheet ownership outside synchronous Host factory materialization. A late injected service scope must not privately create or dispose global stylesheet tags; provider-specific styling and shared Panel chrome cannot therefore disappear independently. Component-local inline styles remain permissible only when their DOM lifetime intentionally owns them.
105
105
 
106
106
  Codex and Claude Code integrations begin with capability discrimination, not assumed native APIs. Each adapter proves which session identity, tool, filesystem, human-question, Agent, nested-delegation, and UI capabilities are available in the installed Host version and selects only supported mappings. MCP, Skills, hooks, commands, or a companion browser may carry those mappings. Subagent placement requires an isolated Producer runtime; main placement requires equivalent invocation-scoped Design capabilities in the existing conversation. An adapter must reject an unsupported requested placement, not silently replace it. Nested delegation remains a separate optional capability. Detached execution negotiation applies only to G/R/A advisories. These presentation and execution differences cannot change selection, validation, publication, foreground attachment, or handoff semantics.
107
107
 
@@ -218,8 +218,10 @@ with pending records; never claim it is complete
218
218
  before the BPMN artifacts settle.
219
219
 
220
220
  1. **PLAN.** FIRST decide the product-wide role cast. It includes the built-in
221
- `{"id":"System","name":"系统"}` role whenever the product has an active
222
- responsibility in the process. THEN maintain ALL process
221
+ role with stable `id: "System"` whenever the product has an active
222
+ responsibility in the process. Its canonical display name follows the authored
223
+ language (`系统` in the Chinese example below, `System` in English); IDs and
224
+ display names remain unique. THEN maintain ALL process
223
225
  descriptors in ONE complete canonical state. The
224
226
  cast is decided once so every process + BPMN lane reuses the SAME names
225
227
  (no 主管/审批主管 drift). `process.stakeholders` MUST be drawn from
@@ -287,7 +289,8 @@ policy. G/R/A owns ongoing cross-Bundle drift detection after this check.
287
289
  - The plan must carry COMPLETE descriptors (description, stakeholders,
288
290
  system_responsibilities, trigger_hints, business_rules, exception_handling)
289
291
  — BPMN is authored only from this established state and the role cast.
290
- - Every active process includes `系统` and at least one concrete
292
+ - Every active process includes the canonical display name of role `id: "System"`
293
+ and at least one concrete
291
294
  `system_responsibilities` item. If the product has no responsibility in the
292
295
  procedure, omit that procedure rather than drawing human-only choreography.
293
296
  - `trigger_hints` records only established asynchronous or event-waiting
@@ -364,7 +367,7 @@ when no exception is established.
364
367
  - **Element ids without process prefix** — causes id collisions when multiple processes render together. Always use `{ElementType}_{process_id}_{num}`.
365
368
  - **Process without a start or end event** — BPMN requires both. Every process has exactly one `<bpmn:startEvent>` and at least one `<bpmn:endEvent>`.
366
369
  - **Infrastructure "processes"** — do NOT propose processes for deployment, server setup, database migrations, CI/CD, log rotation, etc. Those are platform-managed. Only propose product user-facing / business-facing behavior.
367
- - **Human-only procedure presented as a product flow** — every process must reveal an actual product responsibility in the `系统` role.
370
+ - **Human-only procedure presented as a product flow** — every process must reveal an actual product responsibility in the role with stable `id: "System"`, using its canonical display name.
368
371
  - **Known automation flattened into generic tasks** — state product work in `system_responsibilities`; author it with the appropriate BPMN activity type.
369
372
  - **Decorative BPMN events** — only express timer/message/error/conditional/signal facts established in `trigger_hints`.
370
373
  - **Inventing stakeholder roles not mentioned by the user** — use a generic name only for an evidenced participant; neither an organization title nor `管理员` is a default extra actor.
@@ -6,10 +6,14 @@ new design and reconstruction without replacing domain-specific rules.
6
6
 
7
7
  Shared by authoring and reconstruction; convert established behavior into BPMN without inventing policy. Canonical state is `flow_design/flow_design.json`; active processes are listed by `process_order`, stakeholders reuse `roles[].name`. The installed schema/validation are unchanged.
8
8
 
9
- For product automation, the existing built-in role is
10
- `{"id":"System","name":"系统"}`. `System` is its ID, not its stakeholder or
11
- lane label: process stakeholders and BPMN lanes use the exact name `系统`.
12
- Check this in the canonical plan as well as the XML before accepting a file.
9
+ For product automation, keep exactly one built-in role with stable `id: "System"`
10
+ and a non-empty display name in the authored language, for example
11
+ `{"id":"System","name":"系统"}` in Chinese or
12
+ `{"id":"System","name":"System"}` in English. Role IDs and display names
13
+ remain unique. Process stakeholders and BPMN lanes reuse the exact canonical
14
+ `roles[].name`; resolve the product's display name by its `System` ID, never by
15
+ a translated-name whitelist or lane ID. Check the cast, participating roles and
16
+ automated/human task ownership before accepting a file.
13
17
 
14
18
  Bind serial/delegated activity using `artifact_kind: "flow_bpmn"`, the stable process ID and `artifact_file: "flow_design/<process_id>.bpmn"`. A Worker receives the matching process descriptor, focused evidence and this shared contract; the Producer integrates its returned file reference.
15
19
 
@@ -25,10 +29,13 @@ model tool arguments.
25
29
  Validate the file with `run_skill_script`: use `path: "bpmn-validator.mjs"`,
26
30
  `args: ["validate-bpmn-file"]`, `input_file` equal to the pre-bound BPMN path,
27
31
  and `input_context` containing
28
- `{"process_id":"P-...","process":{...}}`. The bounded `process` object is the
32
+ `{"process_id":"P-...","process":{...},"roles":[...]}`. `roles` is the existing
33
+ canonical role cast, not a new process field. The bounded `process` object is the
29
34
  matching canonical descriptor; it needs the supplied stakeholders,
30
35
  system_responsibilities, trigger_hints, and process_type. The validator returns
31
36
  only validity and diagnostics. Repair the same file and retry until it passes.
37
+ Older calls without `roles` retain the original Chinese system-lane semantics;
38
+ always include the canonical cast for new or revised localized files.
32
39
 
33
40
  Next call `run_skill_script` with `path: "layout.mjs"`, the same `input_file`, no
34
41
  args, and `output_file` equal to that same BPMN path. On exit 0 the Host writes the
@@ -26,9 +26,11 @@ not useful.
26
26
 
27
27
  ## Product boundary and lanes
28
28
 
29
- `系统` is the product being designed, not an invented organization role. The
30
- brief always states its grounded responsibilities. Realize those
31
- responsibilities in the `系统` lane; if a proposed process has no product
29
+ The role with stable `id: "System"` is the product being designed, not an invented
30
+ organization role. Its display name comes from the supplied canonical cast
31
+ (`系统` in the Chinese example below, `System` in English). The brief always
32
+ states its grounded responsibilities. Realize those responsibilities in that
33
+ role's exact display-name lane; if a proposed process has no product
32
34
  responsibility, it should not have reached this worker.
33
35
 
34
36
  For two or more participating roles, create exactly one lane per supplied role
@@ -57,14 +59,15 @@ decoration and do not flatten known semantics into generic tasks.
57
59
  |---|---|
58
60
  | Human works in/with the product | `userTask` in that human role lane |
59
61
  | Human performs offline work | `manualTask` in that human role lane |
60
- | Product runs an automated operation | `serviceTask` in `系统` |
61
- | Product evaluates a stated decision table/rule | `businessRuleTask` in `系统` |
62
- | Product sends a message/notification | `sendTask` in `系统` |
63
- | Product waits for a message | `receiveTask` in `系统` |
62
+ | Product runs an automated operation | `serviceTask` in the System role lane |
63
+ | Product evaluates a stated decision table/rule | `businessRuleTask` in the System role lane |
64
+ | Product sends a message/notification | `sendTask` in the System role lane |
65
+ | Product waits for a message | `receiveTask` in the System role lane |
64
66
  | Evidence does not distinguish a more specific activity | `task` |
65
67
 
66
- Never place `userTask`/`manualTask` in `系统`. Never place
67
- `serviceTask`/`businessRuleTask`/`sendTask`/`receiveTask` in a human lane.
68
+ Never place `userTask`/`manualTask` in the System role lane, and do not use a generic
69
+ `task` for its automated responsibility. Never place
70
+ `serviceTask`/`businessRuleTask`/`scriptTask`/`sendTask`/`receiveTask` in a human lane.
68
71
 
69
72
  Use gateways by their actual control-flow semantics:
70
73
 
@@ -184,7 +187,7 @@ the structure to the brief; never copy its business facts or ids blindly.
184
187
  2. All ids are ASCII and process-prefixed; all references resolve.
185
188
  3. Lane names exactly match supplied stakeholders; every node belongs to one
186
189
  responsible lane.
187
- 4. `系统` responsibilities are typed system activities; human work stays in
190
+ 4. The System role's responsibilities are typed system activities; human work stays in
188
191
  human lanes.
189
192
  5. Every supplied trigger hint is realized, and no ungrounded trigger appears.
190
193
  6. Exclusive outcomes are named; parallel/event-driven shapes use the matching
@@ -19,7 +19,8 @@ uses the existing SKILL's product-boundary and process-granularity methods.
19
19
  Use the installed Bundle's structure-validation → layout → final-validation
20
20
  pipeline by file path. The layout script produces BPMN DI; never hand-author a
21
21
  second layout or patch truncated output. Lane labels use actual supplied names;
22
- the built-in System ID and the exact lane/stakeholder name follow the contract.
22
+ resolve the built-in System display name from its stable ID in the canonical
23
+ role cast, and pass that cast to both file validators as the contract specifies.
23
24
  Ports/bindings and routing remain BPMN/layout behavior, not the AI midpoint rule.
24
25
  Review readable node/condition labels and real branch/return meaning; valid DI
25
26
  does not prove readability or correct process semantics. Missing sources stay
@@ -21,7 +21,7 @@ properties:
21
21
  type: object
22
22
  properties:
23
23
  id: { type: string } # ASCII slug for lane ids, e.g. "Buyer"
24
- name: { type: string } # Chinese display name, e.g. "采购员"
24
+ name: { type: string } # Canonical display name in the authored language, e.g. "采购员" or "Buyer"
25
25
  processes:
26
26
  type: map
27
27
  value:
@@ -75,6 +75,11 @@ do not send it to a differently pinned validator or rewrite its retained state.
75
75
  }
76
76
  ```
77
77
 
78
+ - Optional `function_order` holds function map keys in the user’s chosen reading order.
79
+ Preserve it during revisions, remove deleted keys and append new keys without
80
+ changing unaffected positions. If absent, existing map order is used; the Panel
81
+ writes an order only when the user actually moves a card. Grouping still comes
82
+ from `function_epic`, not another membership list.
78
83
  - `function_id`, `function_name`, `function_description`, `function_epic`
79
84
  are required for every function. `priority` is optional (panel default Medium).
80
85
  - `rejected` means the user rejected the function. It remains visible in the
@@ -1,4 +1,5 @@
1
1
  {
2
+ "function_order": ["F-PREVIEW-001", "F-PREVIEW-002"],
2
3
  "functions": {
3
4
  "F-PREVIEW-001": {
4
5
  "function_id": "F-PREVIEW-001",
@@ -10,6 +10,10 @@ type: object
10
10
  additional_properties: false
11
11
  properties:
12
12
  skill_name: { knowledge: { role: metadata }, type: string }
13
+ function_order:
14
+ knowledge: { role: metadata }
15
+ type: array
16
+ items: { type: string }
13
17
  functions:
14
18
  type: map
15
19
  value:
@@ -58,8 +58,10 @@ The question panel remains the interaction surface: put a concise proposal,
58
58
  its useful context and the decision to make in the card's `prompt`, with
59
59
  appropriate `choices` or free-text input. Do not put the proposed answer into
60
60
  the user's `answer` or use `detail` as a substitute for visible question text.
61
- In forward design, leave new `detail` empty unless it preserves an actual
62
- user-supplied explanation or a faithful summary of explicit user evidence.
61
+ Free-text questions have one response field: `answer`. Keep their `detail`
62
+ empty; any user-supplied explanation belongs with that answer. Choice questions
63
+ may use `detail` for an actual user-supplied explanation or a faithful summary
64
+ of explicit user evidence. Do not generate a second response area for free text.
63
65
  Put your proposed scope, rationale, examples and unresolved questions in
64
66
  `prompt`, not in user-response fields. Your earlier proposal, a Producer brief,
65
67
  and another Agent's summary do not establish that the user said or confirmed
@@ -60,8 +60,11 @@ overview from representative entry points and user journeys, then include only
60
60
  material supporting context. Do not ask the user how many Bundles to scan, or
61
61
  replace the overview with component, SEO, billing or deployment inventories.
62
62
 
63
- Put a concise source-supported answer in `answer`; use `detail` for exact
64
- source locations, observation versus supported inference, and remaining limits.
63
+ Put a concise source-supported answer in `answer`. For a free-text question,
64
+ keep source locations, observation versus supported inference and remaining
65
+ limits with that answer; leave `detail` empty. A choice question may use its
66
+ optional `detail` for those qualifications. Free text has no separate supplement
67
+ input or historical supplement display.
65
68
  A supported interpretation may explain the overall product, but label it as
66
69
  inferred, not stated user intent. Do not infer commercial positioning or target
67
70
  audience merely from the presence of an admin route or a technical capability.
@@ -70,8 +73,9 @@ Reconstruction prefill is reviewable, not user confirmation; it is not a license
70
73
  to guess answers during ordinary questioning.
71
74
 
72
75
  If evidence supports part of the answer, retain that part and identify remaining
73
- unknowns in `detail`. Split independent topics rather than let one known fact
74
- mask a separate unknown. Leave genuinely unsupported answers empty. Missing
76
+ unknowns in the same answer (or `detail` for a choice). Split independent topics
77
+ rather than let one known fact mask a separate unknown. Leave genuinely
78
+ unsupported answers empty. Missing
75
79
  information in one summary document is not proof of absence in the repository:
76
80
  inspect a relevant source when the missing fact matters. Preserve user answers
77
81
  and explain conflicting source evidence without replacing their decisions.
@@ -79,8 +83,9 @@ and explain conflicting source evidence without replacing their decisions.
79
83
  Before closing, read the cards as a whole: can a reader understand the product's
80
84
  purpose, intended users, main scenario and scope to the extent the source permits?
81
85
  Are later details supporting that account rather than displacing it? Check that
82
- `detail` does not contain a verified answer missing from `answer`, that unknowns
83
- remain honest, and that each inference is supported. This is an Agent self-check,
86
+ free-text `detail` is empty, choice `detail` does not contain a verified answer
87
+ missing from `answer`, unknowns remain honest, and each inference is supported.
88
+ This is an Agent self-check,
84
89
  not a new validator or host gate.
85
90
 
86
91
  ## Fixed-card contract
@@ -172,7 +177,7 @@ existing panel, carry the fixed-card definition and prior user decisions
172
177
  forward into the complete canonical state without adding them to the new round.
173
178
 
174
179
  - `value` is the stable selection token. `label` is visible text. Answers always store `value`, never a label, recommendation suffix, or invented internal token.
175
- - `single` stores one `value`; `multiple` stores comma-separated `value`s; `text` stores its substantive free-text response in `answer` and has no choices. A known answer must not exist only in `detail`; the answer should remain understandable without opening the supplementary explanation.
180
+ - `single` stores one `value`; `multiple` stores comma-separated `value`s; `text` stores its complete free-text response in `answer`, has no choices and leaves `detail` empty. The answer, including useful qualifications, is read and edited in one place.
176
181
  - `recommended` is the only recommendation mechanism. Do not add a question-level `suggest` field or append `(推荐)` to stored labels.
177
182
  - Dynamic-card `round` controls the FE's round grouping; the latest round renders
178
183
  first. Assign a nonnegative integer explicitly: use 0 for the first dynamic
@@ -183,7 +188,10 @@ forward into the complete canonical state without adding them to the new round.
183
188
  values to 0 and truncates fractions for grouping only. Preserve those saved
184
189
  values on unrelated edits rather than silently renumbering history. Fixed
185
190
  cards do not participate in round-number allocation.
186
- - `detail` records the user's optional explanation, constraints, or source/provenance notes in reconstruction; it supplements rather than duplicates the answer. Preserve older detail-only records without automatically promoting uncertainty or provenance into an answer. When the user answers
191
+ - For a choice question, `detail` records the user's optional explanation,
192
+ constraints or source/provenance notes in reconstruction; it supplements rather
193
+ than duplicates the selection. It is not a second field for free-text questions.
194
+ Preserve unrelated saved data without automatic answer conversion. When the user answers
187
195
  a choice question with wording that does not match a rendered option, keep
188
196
  `answer` empty and preserve the exact wording in `detail`; never replace it
189
197
  with a recommended option. On dynamic cards, `rejected` means the user
@@ -66,8 +66,8 @@ properties:
66
66
  # in reconstruction belong here too, without implying user confirmation.
67
67
  # Leave genuinely unknown answers empty; never promote a proposal as an answer.
68
68
  answer: { type: string }
69
- # Optional supplementary explanation, constraints or source locations.
70
- # Do not put a known text answer only here. A choice response outside the
69
+ # Optional choice-question explanation, constraints or source locations.
70
+ # Text questions use only answer and leave detail empty. A choice response outside the
71
71
  # available options may be preserved here without inventing a selection.
72
72
  # Supplementary detail alone does not mark the question answered.
73
73
  detail: { type: string }
@@ -291,6 +291,10 @@ enters Git history, G/R/A owns ongoing cross-Bundle drift checks.
291
291
 
292
292
  ### 4. Finalize inside the same agentic loop
293
293
 
294
+ Keep `<html lang>` in the authored document's language. Fixed visual labels use
295
+ that language as described in the shared contract; source business names remain
296
+ unchanged and switching the Host UI does not translate the document.
297
+
294
298
  Once prose and provenance are complete, run the shared contract’s file-mode finalization against the already-written HTML. Do not rewrite the document or transport visual bytes through model context.
295
299
 
296
300
  If the script reports diagnostics, preserve valid content, apply the smallest
@@ -115,6 +115,12 @@ use file-mode scripts for transforms and final checks.
115
115
 
116
116
  ## File-mode finalization
117
117
 
118
+ Keep the document's `<html lang>` aligned with its authored language. The visual
119
+ script uses this existing language for fixed map captions, navigation legends
120
+ and empty-state labels (`en`/`en-*` use English; existing Chinese/default output
121
+ is retained otherwise). It does not translate source business text or follow
122
+ the Host UI language. Materialization and validation use the same document language.
123
+
118
124
  Once the prose and provenance are complete, process the already-written HTML;
119
125
  do not rewrite it for finalization. First call `run_skill_script` with
120
126
  `path: "prd.mjs"`, `args: ["materialize-visuals"]`, and both `input_file` and
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "yugoo-design",
3
- "version": "0.2.6",
3
+ "version": "0.2.8",
4
4
  "description": "Yugoo Design: interactive Design Panels with Qoder-native Producers, Workers and background reviews."
5
5
  }