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
@@ -2,8 +2,8 @@
2
2
  "bundleDescription": "- **Capability**: design the AI behavior embedded in a Web App as Agent or direct-model units, with user experience, complete prompts, editable Skills and tools/MCP, and Agent collaboration.\n- **Resolves**: unclear responsibilities, triggers and results, action-condition-result rules, exceptions, materials and long-term memory, and per-Agent handoffs.\n- **Candidate when**: AI behavior needs to be designed, reconstructed from evidence, or revised; required Skills and tool capabilities can be described before selecting an implementation.\n- **Do not infer**: a chat box, dependency or model name alone establishes the needed mechanisms. Saving the design does not install resources, connect services or prove evaluation success.\n- **Output**: an editable AI design panel with linked Agents, Skills and tools; preserve complete instructions, user configuration and confirmation choices.",
3
3
  "agents": "AI design units",
4
4
  "agent": "Unit",
5
- "newAgent": "New Agent",
6
- "numberedAgent": "New Agent {index}",
5
+ "newAgent": "New agent",
6
+ "numberedAgent": "New agent {index}",
7
7
  "empty": "Add an Agent and reference Skills and tools as needed.",
8
8
  "guidance": "Check whether the Agent goals, responsibilities and tools fit together, and whether capabilities are missing or unnecessary. Saving here records the design; it does not install or run tools.",
9
9
  "name": "Name",
@@ -14,9 +14,9 @@
14
14
  "basics": "Goal and outcome",
15
15
  "result": "Expected result",
16
16
  "boundary": "What must not happen",
17
- "entries": "Entries",
18
- "entry": "Entry",
19
- "entryName": "Entry name",
17
+ "entries": "Entry points",
18
+ "entry": "Entry point",
19
+ "entryName": "Entry point name",
20
20
  "trigger": "Trigger method",
21
21
  "conversation": "Conversation",
22
22
  "action": "Button or menu",
@@ -27,7 +27,7 @@
27
27
  "actionLocation": "Action entry location",
28
28
  "backgroundCondition": "When it runs",
29
29
  "conversationInputs": "Supported input methods",
30
- "actionInputs": "Additional user input (optional)",
30
+ "actionInputs": "Additional user input",
31
31
  "autoContext": "Automatically included information",
32
32
  "autoContextPlaceholder": "For example, selected text, the current document or the triggering event's content. Leave blank if none.",
33
33
  "feedback": "Progress feedback",
@@ -36,7 +36,7 @@
36
36
  "voice": "Audio / voice",
37
37
  "vision": "Images",
38
38
  "selection": "Selected content",
39
- "entryHelp": "A unit can have multiple entries. Upload controls do not establish parsing, realtime voice or vision support.",
39
+ "entryHelp": "A design unit can have multiple entry points. File, voice and image controls alone do not mean the model can parse files, support real-time voice or understand images.",
40
40
  "instructions": "Working instructions",
41
41
  "systemPrompt": "System prompt",
42
42
  "promptHelp": "Complete editable instructions: responsibility, evidence, method, output and exit.",
@@ -49,11 +49,11 @@
49
49
  "capabilityPlaceholder": "Describe the ability needed, the information it uses and the useful result it returns.",
50
50
  "activation": "When to use",
51
51
  "skillBody": "Complete Skill body",
52
- "source": "Source (optional)",
52
+ "source": "Source",
53
53
  "sourcePlaceholder": "GitHub URL, local path or provider; leave blank for original content.",
54
- "resourceFiles": "Supporting files (optional)",
54
+ "resourceFiles": "Supporting files",
55
55
  "resourceFilesHelp": "List the locations of documents, templates or scripts used by the body. This list does not upload files.",
56
- "connectionDetails": "Connection details (optional)",
56
+ "connectionDetails": "Connection details",
57
57
  "resourceEvidence": "Source, example or unknowns",
58
58
  "mcp": "MCP connections",
59
59
  "mcpSlot": "MCP",
@@ -101,7 +101,7 @@
101
101
  "agentRoot": "AI Agents",
102
102
  "skillRoot": "Skills",
103
103
  "toolRoot": "Tools / MCP",
104
- "newskillRoot": "New Skill",
104
+ "newskillRoot": "New skill",
105
105
  "newtoolRoot": "New tool",
106
106
  "resourceRefs": "Available methods and capabilities",
107
107
  "resourceOrigin": "Source and references",
@@ -113,7 +113,7 @@
113
113
  "toolInterface": "Tool description and input/output",
114
114
  "connection": "Configuration",
115
115
  "toolConnectionHelp": "Keep the function interface or complete MCP connection configuration. Designing does not connect or invoke it.",
116
- "authority": "Usage limits (optional)",
116
+ "authority": "Usage limits",
117
117
  "collaboration": "Agent collaboration",
118
118
  "delegateRefs": "Other Agents this unit can call",
119
119
  "handoff": "Responsibilities and handoff",
@@ -129,10 +129,10 @@
129
129
  "agentDesign": "Agent design",
130
130
  "experienceTab": "User experience",
131
131
  "instructionsTab": "Prompts and resources",
132
- "behaviorTab": "Behavior rules",
132
+ "behaviorTab": "Behavior and exceptions",
133
133
  "resourceUse": "Resource use agreements",
134
134
  "scopeGroup": "Availability and boundaries",
135
- "implementationDetails": "Implementation reference (optional)",
135
+ "implementationDetails": "Implementation reference",
136
136
  "actions": "Behavior rules",
137
137
  "actionName": "Action",
138
138
  "actionCondition": "Condition",
@@ -152,25 +152,25 @@
152
152
  "modelService": "Configuration plan",
153
153
  "modelOtherDescription": "Connection description",
154
154
  "modelServicePlaceholder": "Describe the intended service and connection approach, or provide a configuration template. Use placeholders such as ${MODEL_API_KEY}, not real keys. Unknown parameters may remain blank.",
155
- "integrationRef": "Reference a system integration (optional)",
155
+ "integrationRef": "Reference a system integration",
156
156
  "integrationRefHelp": "Enter a plan below, or select an existing integration without duplicating its configuration.",
157
157
  "exceptionCondition": "Exception",
158
158
  "exceptionHandling": "Response",
159
159
  "collaborator": "Collaborator",
160
- "localCollaborator": "Existing Agent (optional)",
161
- "collaboratorHelp": "Choose an existing Agent, or leave this blank for an external collaborator. Clearing the selection restores any retained external target.",
160
+ "localCollaborator": "Existing agent",
161
+ "collaboratorHelp": "Choose an existing agent, or leave this blank to enter an external collaborator. Clearing the selection restores any external collaborator you entered earlier.",
162
162
  "externalCollaborator": "External collaborator",
163
163
  "collaborationCondition": "When to hand off",
164
- "collaborationHandoff": "Task and material to hand over",
165
- "collaborationResult": "Return and failure handling",
166
- "modelSourceRoot": "Model entries",
167
- "newModelSource": "New model entry",
164
+ "collaborationHandoff": "Task and context to pass along",
165
+ "collaborationResult": "Results and failure handling",
166
+ "modelSourceRoot": "Model connections",
167
+ "newModelSource": "New model connection",
168
168
  "knowledgeResourceRoot": "Knowledge and memory",
169
169
  "newKnowledgeResource": "New knowledge resource",
170
- "modelSourceRef": "Shared model entry (optional)",
171
- "modelSelection": "Model choice (optional)",
172
- "modelSelectionHelp": "An intended model, not verified runtime configuration. Agents can select different models through one entry.",
173
- "modelSourceHelp": "Select an established entry. The selected entry owns connection intent; retained Agent connection fields are inactive until you clear the selection.",
170
+ "modelSourceRef": "Shared model connection",
171
+ "modelSelection": "Model choice",
172
+ "modelSelectionHelp": "Record the intended model; this is not a verified runtime configuration. Different agents can use different models through the same connection.",
173
+ "modelSourceHelp": "Select a defined connection to use its settings. The agent’s individual connection settings are kept but inactive until you clear this selection.",
174
174
  "resourceDescription": "Purpose and connection intent",
175
175
  "knowledgeResourceRefs": "Knowledge and memory used",
176
176
  "knowledgeKind": "Resource type",
@@ -184,10 +184,11 @@
184
184
  "memoryFormationUpdateHelp": "Describe user-saved or Agent-curated memory, and whether updates or corrections need user confirmation.",
185
185
  "memoryUserManagement": "User control",
186
186
  "memoryUserManagementHelp": "Describe how users inspect, correct and clear memory, and what happens after clearing. Keep undecided behavior explicit.",
187
- "knowledgeAccessScope": "Access and sharing scope (optional)",
187
+ "knowledgeAccessScope": "Access and sharing scope",
188
188
  "knowledgeAccessScopePlaceholder": "For example: private to a user, current project or shared with a team. Leave blank when no extra requirement is needed.",
189
189
  "knowledgeResourceHelp": "Resource records own their content and maintenance plan, not access grants or shared user data. Add only this Agent’s use conditions and differences, not a copied resource definition.",
190
- "modelSourceLink": "Model entry",
190
+ "modelSourceLink": "Model connection",
191
191
  "knowledgeResourceLink": "Knowledge / memory",
192
- "legacyConnectionGroup": "Per-Agent connection (when no shared entry is selected)"
192
+ "legacyConnectionGroup": "Individual agent connection (when no shared connection is selected)",
193
+ "knowledgeResource": "Knowledge resource"
193
194
  }
@@ -2,14 +2,14 @@
2
2
  "bundleDescription": "- **能力**:以 Agent 或单次模型调用为单元,设计 Web App 中的 AI 功能,包括使用体验、完整提示词、可编辑的技能与工具/MCP,以及 Agent 协作。\n- **解决**:职责、触发方式和结果不清晰,行为规则中的动作、条件、结果,以及异常处理、资料与长期记忆、Agent 交接缺少设计的问题。\n- **适用时机**:需要设计、基于证据还原或调整 AI 功能时;可以先明确所需技能与工具能力,再选择具体实现。\n- **不要推断**:不能仅凭对话框、依赖或模型名称认定 AI 机制已经明确。保存设计不会安装资源、连接服务,也不代表通过实际评测。\n- **输出**:相互引用的 Agent、技能与工具设计面板,保留完整指令、用户配置和确认选择。",
3
3
  "agents": "AI 设计单元",
4
4
  "agent": "设计单元",
5
- "newAgent": "新 Agent",
6
- "numberedAgent": "新 Agent {index}",
7
- "empty": "添加一个 Agent,按需引用技能和工具。",
8
- "guidance": "核对 Agent 的目标、能力分工和工具是否匹配,有无缺失或不必要的能力;这里保存的是设计,不会安装或执行工具。",
5
+ "newAgent": "新智能体",
6
+ "numberedAgent": "新智能体 {index}",
7
+ "empty": "添加一个智能体,按需引用技能和工具。",
8
+ "guidance": "核对智能体的目标、能力分工和工具是否匹配,有无缺失或不必要的能力;这里保存的是设计,不会安装或执行工具。",
9
9
  "name": "名称",
10
10
  "description": "职责与目标",
11
11
  "functionRefs": "关联功能",
12
- "agentKind": "Agent",
12
+ "agentKind": "智能体",
13
13
  "modelCall": "模型直调",
14
14
  "basics": "目标与结果",
15
15
  "result": "预期结果",
@@ -27,7 +27,7 @@
27
27
  "actionLocation": "操作入口",
28
28
  "backgroundCondition": "触发时机",
29
29
  "conversationInputs": "支持的输入方式",
30
- "actionInputs": "用户补充输入(选填)",
30
+ "actionInputs": "用户补充输入",
31
31
  "autoContext": "自动带入的信息",
32
32
  "autoContextPlaceholder": "例如选中的文字、当前文档或触发事件携带的内容;没有则留空。",
33
33
  "feedback": "过程反馈",
@@ -40,20 +40,20 @@
40
40
  "instructions": "工作说明",
41
41
  "systemPrompt": "系统提示词",
42
42
  "promptHelp": "完整可编辑的指令正文:职责、证据、方法、输出与退出条件。",
43
- "resources": "Skill、MCP 与工具",
43
+ "resources": "技能、MCP 与工具",
44
44
  "resourcesHelp": "选择已定义的资源;完整内容在左侧独立维护。这里补充使用范围。只有用户要求时才搜索推荐,保存不会安装或连接。",
45
- "skills": "Skill 配置",
46
- "skillSlot": "Skill",
45
+ "skills": "技能配置",
46
+ "skillSlot": "技能",
47
47
  "slotName": "名称",
48
48
  "purpose": "能力说明",
49
49
  "capabilityPlaceholder": "说明需要什么能力、会使用什么信息、应给出什么结果。",
50
50
  "activation": "适用情形",
51
- "skillBody": "完整 Skill 正文",
52
- "source": "来源(选填)",
51
+ "skillBody": "完整技能正文",
52
+ "source": "来源",
53
53
  "sourcePlaceholder": "GitHub 地址、本地路径或提供方;自行编写可留空。",
54
- "resourceFiles": "附带文件(可选)",
54
+ "resourceFiles": "附带文件",
55
55
  "resourceFilesHelp": "记录正文会用到的参考文档、模板或脚本的位置;这里维护文件清单,不上传文件。",
56
- "connectionDetails": "接入配置(可选)",
56
+ "connectionDetails": "接入配置",
57
57
  "resourceEvidence": "来源、样例或待确认项",
58
58
  "mcp": "MCP 配置",
59
59
  "mcpSlot": "MCP",
@@ -98,7 +98,7 @@
98
98
  "evidence": "设计依据与未确定事项",
99
99
  "references": "固定版本来源",
100
100
  "other": "已有/自建/其他",
101
- "agentRoot": "AI Agent",
101
+ "agentRoot": "AI 智能体",
102
102
  "skillRoot": "技能",
103
103
  "toolRoot": "工具 / MCP",
104
104
  "newskillRoot": "新技能",
@@ -113,9 +113,9 @@
113
113
  "toolInterface": "工具说明与输入输出",
114
114
  "connection": "配置内容",
115
115
  "toolConnectionHelp": "函数工具保留接口定义;MCP 保留完整连接配置。这里只设计,不调用或连接。",
116
- "authority": "使用限制(可选)",
117
- "collaboration": "Agent 协作",
118
- "delegateRefs": "可以调用的其他 Agent",
116
+ "authority": "使用限制",
117
+ "collaboration": "智能体协作",
118
+ "delegateRefs": "可以调用的其他智能体",
119
119
  "handoff": "各自负责什么、如何交接",
120
120
  "externalDelegation": "其他协作方(如有)",
121
121
  "relationTitle": "AI 资源关系",
@@ -126,13 +126,13 @@
126
126
  "modelAccess": "模型使用方式",
127
127
  "inheritModelAccess": "沿用已有模型接入",
128
128
  "configureModelAccess": "由产品提供模型配置",
129
- "agentDesign": "Agent 设计",
129
+ "agentDesign": "智能体设计",
130
130
  "experienceTab": "使用体验",
131
131
  "instructionsTab": "提示词与资源",
132
- "behaviorTab": "行为规则",
132
+ "behaviorTab": "行为与异常",
133
133
  "resourceUse": "资源使用约定",
134
134
  "scopeGroup": "使用条件与边界",
135
- "implementationDetails": "实现参考(可选)",
135
+ "implementationDetails": "实现参考",
136
136
  "actions": "行为规则",
137
137
  "actionName": "动作",
138
138
  "actionCondition": "条件",
@@ -152,25 +152,25 @@
152
152
  "modelService": "配置方案",
153
153
  "modelOtherDescription": "接入说明",
154
154
  "modelServicePlaceholder": "说明拟使用的服务和接入安排,也可填写配置模板;真实密钥请用 ${MODEL_API_KEY} 等占位符。尚未确定的参数可留空。",
155
- "integrationRef": "引用系统集成(可选)",
155
+ "integrationRef": "引用系统集成",
156
156
  "integrationRefHelp": "可以直接填写下方配置方案;已有系统集成时选择引用,无需重复填写其配置。",
157
157
  "exceptionCondition": "异常情况",
158
158
  "exceptionHandling": "处理方式",
159
159
  "collaborator": "协作对象",
160
- "localCollaborator": "已有 Agent(可选)",
161
- "collaboratorHelp": "选择已有 Agent,或留空填写外部协作方。清空选择后可恢复已填的外部对象。",
160
+ "localCollaborator": "已有智能体",
161
+ "collaboratorHelp": "选择已有智能体,或留空填写外部协作方。清空选择后可恢复已填的外部对象。",
162
162
  "externalCollaborator": "外部协作方",
163
163
  "collaborationCondition": "何时交接",
164
164
  "collaborationHandoff": "交给它什么",
165
165
  "collaborationResult": "返回结果与失败处理",
166
- "modelSourceRoot": "模型入口",
167
- "newModelSource": "新模型入口",
166
+ "modelSourceRoot": "模型接入",
167
+ "newModelSource": "新模型接入",
168
168
  "knowledgeResourceRoot": "知识与记忆",
169
169
  "newKnowledgeResource": "新知识资源",
170
- "modelSourceRef": "共享模型入口(可选)",
171
- "modelSelection": "模型选择(可选)",
172
- "modelSelectionHelp": "记录期望使用的模型,不是已验证的运行配置。同一入口可以为不同 Agent 选择不同模型。",
173
- "modelSourceHelp": "选择已明确的入口后,由入口持有接入意图;原 Agent 接入字段保留但停用,清空选择后恢复。",
170
+ "modelSourceRef": "共享模型接入",
171
+ "modelSelection": "模型选择",
172
+ "modelSelectionHelp": "记录期望使用的模型,不是已验证的运行配置。同一接入方式可以为不同智能体选择不同模型。",
173
+ "modelSourceHelp": "选择已明确的接入方式后,将使用该方式的配置;原智能体的独立接入配置会保留但停用,清空选择后恢复。",
174
174
  "resourceDescription": "用途与接入意图",
175
175
  "knowledgeResourceRefs": "使用的知识与记忆",
176
176
  "knowledgeKind": "资源类型",
@@ -181,13 +181,14 @@
181
181
  "knowledgeSourceMaintenance": "来源与维护",
182
182
  "knowledgeSourceMaintenanceHelp": "说明资料来自哪里、由谁更新;内置资料、用户上传或已有业务资料均可,不需要数据库和接口参数。",
183
183
  "memoryFormationUpdate": "形成与更新",
184
- "memoryFormationUpdateHelp": "说明由用户主动保存还是 Agent 整理,以及更新、纠错是否需要用户确认。",
184
+ "memoryFormationUpdateHelp": "说明由用户主动保存还是智能体整理,以及更新、纠错是否需要用户确认。",
185
185
  "memoryUserManagement": "用户管理",
186
186
  "memoryUserManagementHelp": "说明用户如何查看、纠正和清除记忆,以及清除后的行为;尚未确定的保留为待确认项。",
187
- "knowledgeAccessScope": "使用与共享范围(选填)",
187
+ "knowledgeAccessScope": "使用与共享范围",
188
188
  "knowledgeAccessScopePlaceholder": "如个人私有、当前项目或团队共享;没有额外要求可以留空。",
189
- "knowledgeResourceHelp": "资源条目定义内容与维护方式,不授予访问权限或共享用户数据。这里只补充当前 Agent 的使用条件与差异,不重复整份资源说明。",
190
- "modelSourceLink": "模型入口",
189
+ "knowledgeResourceHelp": "资源条目定义内容与维护方式,不授予访问权限或共享用户数据。这里只补充当前智能体的使用条件与差异,不重复整份资源说明。",
190
+ "modelSourceLink": "模型接入",
191
191
  "knowledgeResourceLink": "知识 / 记忆",
192
- "legacyConnectionGroup": "Agent 独立接入(未选择共享入口时)"
192
+ "legacyConnectionGroup": "智能体独立接入(未选择共享接入方式时)",
193
+ "knowledgeResource": "知识资源"
193
194
  }