@yugoo-design/dsh-design-skills-web-app 0.2.7 → 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 (275) hide show
  1. package/README.md +32 -25
  2. package/{bundles → lib/bundles}/ai_agent_capabilities/locales/en-US.json +29 -28
  3. package/{bundles → lib/bundles}/ai_agent_capabilities/locales/zh-CN.json +35 -34
  4. package/{bundles → lib/bundles}/ai_agent_capabilities/panel.yaml +55 -75
  5. package/{bundles → lib/bundles}/business_data/locales/en-US.json +2 -2
  6. package/{bundles → lib/bundles}/business_data/locales/zh-CN.json +1 -1
  7. package/{bundles → lib/bundles}/business_rules/locales/en-US.json +2 -3
  8. package/{bundles → lib/bundles}/business_rules/locales/zh-CN.json +2 -3
  9. package/{bundles → lib/bundles}/business_rules/panel.yaml +4 -10
  10. package/{bundles → lib/bundles}/design_style/locales/en-US.json +4 -4
  11. package/{bundles → lib/bundles}/design_style/locales/zh-CN.json +4 -4
  12. package/lib/bundles/flow_design/LICENSE +202 -0
  13. package/lib/bundles/flow_design/NOTICE +13 -0
  14. package/{bundles → lib/bundles}/flow_design/SKILL.md +7 -4
  15. package/lib/bundles/flow_design/THIRD_PARTY_NOTICES.md +35 -0
  16. package/lib/bundles/flow_design/licenses/bundled-js/bpmn-moddle@9.0.4/LICENSE +21 -0
  17. package/lib/bundles/flow_design/licenses/bundled-js/min-dash@4.2.3/LICENSE +21 -0
  18. package/lib/bundles/flow_design/licenses/bundled-js/moddle-xml@11.0.0/LICENSE +21 -0
  19. package/lib/bundles/flow_design/licenses/bundled-js/moddle@7.2.0/LICENSE +21 -0
  20. package/lib/bundles/flow_design/licenses/bundled-js/rolldown@1.2.4/LICENSE +25 -0
  21. package/lib/bundles/flow_design/licenses/bundled-js/rolldown@1.2.4/THIRD-PARTY-LICENSE +33 -0
  22. package/lib/bundles/flow_design/licenses/bundled-js/saxen@10.0.0/LICENSE +21 -0
  23. package/lib/bundles/flow_design/licenses/flow-build.json +204 -0
  24. package/lib/bundles/flow_design/licenses/third-party/elkjs-0.10.2/DEPENDENCIES +631 -0
  25. package/lib/bundles/flow_design/licenses/third-party/elkjs-0.10.2/LICENSE.md +264 -0
  26. package/lib/bundles/flow_design/licenses/third-party/elkjs-0.10.2/NOTICE.md +55 -0
  27. package/lib/bundles/flow_design/licenses/third-party/elkjs-0.10.2/SOURCE.md +62 -0
  28. package/lib/bundles/flow_design/licenses/third-party/elkjs-0.10.2/graph-layout-worker.ts +33 -0
  29. package/lib/bundles/flow_design/licenses/third-party/elkjs-0.10.2/release-source-binding.json +81 -0
  30. package/lib/bundles/flow_design/licenses/third-party/elkjs-0.10.2/upstream-README.md +391 -0
  31. package/lib/bundles/flow_design/licenses/third-party/elkjs-0.10.2/upstream-build.gradle +322 -0
  32. package/lib/bundles/flow_design/licenses/third-party/elkjs-0.10.2/upstream-ci.yml +67 -0
  33. package/{bundles → lib/bundles}/flow_design/reference/artifact-contract.md +12 -5
  34. package/{bundles → lib/bundles}/flow_design/reference/bpmn_authoring.md +13 -10
  35. package/{bundles → lib/bundles}/flow_design/reference/canvas-guide.md +2 -1
  36. package/{bundles → lib/bundles}/flow_design/schema.yaml +1 -1
  37. package/{bundles → lib/bundles}/flow_design/scripts/bpmn-validator.mjs +35 -20
  38. package/lib/bundles/flow_design/scripts/layout-metrics.mjs +6388 -0
  39. package/lib/bundles/flow_design/scripts/layout-search.mjs +7542 -0
  40. package/lib/bundles/flow_design/scripts/layout.mjs +96613 -0
  41. package/{bundles → lib/bundles}/function_modules/locales/en-US.json +2 -2
  42. package/{bundles → lib/bundles}/function_modules/panel.yaml +1 -0
  43. package/{bundles → lib/bundles}/function_modules/reference/artifact-contract.md +5 -0
  44. package/{bundles → lib/bundles}/function_modules/reference/preview.json +1 -0
  45. package/{bundles → lib/bundles}/function_modules/schema.yaml +4 -0
  46. package/{bundles → lib/bundles}/integration_design/locales/en-US.json +3 -1
  47. package/{bundles → lib/bundles}/integration_design/locales/zh-CN.json +3 -1
  48. package/{bundles → lib/bundles}/integration_design/panel.yaml +18 -2
  49. package/{bundles → lib/bundles}/notification_design/locales/en-US.json +2 -0
  50. package/{bundles → lib/bundles}/notification_design/locales/zh-CN.json +2 -0
  51. package/{bundles → lib/bundles}/notification_design/panel.yaml +18 -6
  52. package/{bundles → lib/bundles}/page_design/locales/en-US.json +12 -1
  53. package/{bundles → lib/bundles}/page_design/locales/zh-CN.json +12 -1
  54. package/{bundles → lib/bundles}/page_design/panel.yaml +23 -1
  55. package/{bundles → lib/bundles}/quality_acceptance/locales/en-US.json +2 -2
  56. package/{bundles → lib/bundles}/quality_acceptance/locales/zh-CN.json +2 -2
  57. package/{bundles → lib/bundles}/quality_acceptance/panel.yaml +10 -7
  58. package/{bundles → lib/bundles}/role_access/locales/en-US.json +5 -5
  59. package/{bundles → lib/bundles}/role_access/locales/zh-CN.json +5 -5
  60. package/{bundles → lib/bundles}/smart_questions/SKILL.md +4 -2
  61. package/{bundles → lib/bundles}/smart_questions/reference/artifact-contract.md +16 -8
  62. package/{bundles → lib/bundles}/smart_questions/schema.yaml +2 -2
  63. package/{bundles → lib/bundles}/web_app_prd_assembly/SKILL.md +4 -0
  64. package/{bundles → lib/bundles}/web_app_prd_assembly/locales/en-US.json +2 -2
  65. package/{bundles → lib/bundles}/web_app_prd_assembly/locales/zh-CN.json +1 -1
  66. package/{bundles → lib/bundles}/web_app_prd_assembly/reference/artifact-contract.md +6 -0
  67. package/{bundles → lib/bundles}/web_app_prd_assembly/scripts/prd.mjs +28 -16
  68. package/lib/kits/web_app/LICENSE +202 -0
  69. package/lib/kits/web_app/NOTICE +13 -0
  70. package/lib/kits/web_app/THIRD_PARTY_NOTICES.md +35 -0
  71. package/licenses/bundled-js/bpmn-moddle@9.0.4/LICENSE +21 -0
  72. package/licenses/bundled-js/min-dash@4.2.3/LICENSE +21 -0
  73. package/licenses/bundled-js/moddle-xml@11.0.0/LICENSE +21 -0
  74. package/licenses/bundled-js/moddle@7.2.0/LICENSE +21 -0
  75. package/licenses/bundled-js/rolldown@1.2.4/LICENSE +25 -0
  76. package/licenses/bundled-js/rolldown@1.2.4/THIRD-PARTY-LICENSE +33 -0
  77. package/licenses/bundled-js/saxen@10.0.0/LICENSE +21 -0
  78. package/licenses/dsh-distribution.json +1403 -90
  79. package/licenses/third-party/elkjs-0.10.2/DEPENDENCIES +631 -0
  80. package/licenses/third-party/elkjs-0.10.2/LICENSE.md +264 -0
  81. package/licenses/third-party/elkjs-0.10.2/NOTICE.md +55 -0
  82. package/licenses/third-party/elkjs-0.10.2/SOURCE.md +62 -0
  83. package/licenses/third-party/elkjs-0.10.2/graph-layout-worker.ts +33 -0
  84. package/licenses/third-party/elkjs-0.10.2/release-source-binding.json +81 -0
  85. package/licenses/third-party/elkjs-0.10.2/upstream-README.md +391 -0
  86. package/licenses/third-party/elkjs-0.10.2/upstream-build.gradle +322 -0
  87. package/licenses/third-party/elkjs-0.10.2/upstream-ci.yml +67 -0
  88. package/package.json +11 -9
  89. package/bundles/flow_design/scripts/layout-metrics.mjs +0 -135
  90. package/bundles/flow_design/scripts/layout-search.mjs +0 -72
  91. package/bundles/flow_design/scripts/layout.mjs +0 -1086
  92. /package/{bundles → lib/bundles}/ai_agent_capabilities/SKILL.md +0 -0
  93. /package/{bundles → lib/bundles}/ai_agent_capabilities/reference/agent-canvas-example.json +0 -0
  94. /package/{bundles → lib/bundles}/ai_agent_capabilities/reference/artifact-contract.md +0 -0
  95. /package/{bundles → lib/bundles}/ai_agent_capabilities/reference/canvas-guide.md +0 -0
  96. /package/{bundles → lib/bundles}/ai_agent_capabilities/reference/cooperation-guide.md +0 -0
  97. /package/{bundles → lib/bundles}/ai_agent_capabilities/reference/example.json +0 -0
  98. /package/{bundles → lib/bundles}/ai_agent_capabilities/reference/preview.json +0 -0
  99. /package/{bundles → lib/bundles}/ai_agent_capabilities/reference/runtime-guide.md +0 -0
  100. /package/{bundles → lib/bundles}/ai_agent_capabilities/schema.yaml +0 -0
  101. /package/{bundles → lib/bundles}/ai_agent_capabilities/skill.yaml +0 -0
  102. /package/{bundles → lib/bundles}/ai_agent_capabilities/validation.yaml +0 -0
  103. /package/{bundles → lib/bundles}/business_data/SKILL.md +0 -0
  104. /package/{bundles → lib/bundles}/business_data/panel.yaml +0 -0
  105. /package/{bundles → lib/bundles}/business_data/reference/artifact-contract.md +0 -0
  106. /package/{bundles → lib/bundles}/business_data/reference/canvas-guide.md +0 -0
  107. /package/{bundles → lib/bundles}/business_data/reference/example.json +0 -0
  108. /package/{bundles → lib/bundles}/business_data/reference/preview.json +0 -0
  109. /package/{bundles → lib/bundles}/business_data/schema.yaml +0 -0
  110. /package/{bundles → lib/bundles}/business_data/skill.yaml +0 -0
  111. /package/{bundles → lib/bundles}/business_data/validation.yaml +0 -0
  112. /package/{bundles → lib/bundles}/business_rules/SKILL.md +0 -0
  113. /package/{bundles → lib/bundles}/business_rules/reference/artifact-contract.md +0 -0
  114. /package/{bundles → lib/bundles}/business_rules/reference/preview.json +0 -0
  115. /package/{bundles → lib/bundles}/business_rules/schema.yaml +0 -0
  116. /package/{bundles → lib/bundles}/business_rules/skill.yaml +0 -0
  117. /package/{bundles → lib/bundles}/business_rules/validation.yaml +0 -0
  118. /package/{bundles → lib/bundles}/design_style/SKILL.md +0 -0
  119. /package/{bundles → lib/bundles}/design_style/THIRD_PARTY_NOTICES.md +0 -0
  120. /package/{bundles → lib/bundles}/design_style/assets/icons/_index.md +0 -0
  121. /package/{bundles → lib/bundles}/design_style/assets/icons/alert.svg +0 -0
  122. /package/{bundles → lib/bundles}/design_style/assets/icons/arrow-right.svg +0 -0
  123. /package/{bundles → lib/bundles}/design_style/assets/icons/arrow-up-right.svg +0 -0
  124. /package/{bundles → lib/bundles}/design_style/assets/icons/check.svg +0 -0
  125. /package/{bundles → lib/bundles}/design_style/assets/icons/chevron-down.svg +0 -0
  126. /package/{bundles → lib/bundles}/design_style/assets/icons/chevron-right.svg +0 -0
  127. /package/{bundles → lib/bundles}/design_style/assets/icons/dot.svg +0 -0
  128. /package/{bundles → lib/bundles}/design_style/assets/icons/external-link.svg +0 -0
  129. /package/{bundles → lib/bundles}/design_style/assets/icons/headphones.svg +0 -0
  130. /package/{bundles → lib/bundles}/design_style/assets/icons/info.svg +0 -0
  131. /package/{bundles → lib/bundles}/design_style/assets/icons/mail.svg +0 -0
  132. /package/{bundles → lib/bundles}/design_style/assets/icons/map-pin.svg +0 -0
  133. /package/{bundles → lib/bundles}/design_style/assets/icons/menu.svg +0 -0
  134. /package/{bundles → lib/bundles}/design_style/assets/icons/music-note.svg +0 -0
  135. /package/{bundles → lib/bundles}/design_style/assets/icons/pause.svg +0 -0
  136. /package/{bundles → lib/bundles}/design_style/assets/icons/play.svg +0 -0
  137. /package/{bundles → lib/bundles}/design_style/assets/icons/search.svg +0 -0
  138. /package/{bundles → lib/bundles}/design_style/assets/icons/share.svg +0 -0
  139. /package/{bundles → lib/bundles}/design_style/assets/icons/volume.svg +0 -0
  140. /package/{bundles → lib/bundles}/design_style/assets/icons/x-close.svg +0 -0
  141. /package/{bundles → lib/bundles}/design_style/licenses/SOURCE.md +0 -0
  142. /package/{bundles → lib/bundles}/design_style/licenses/impeccable/LICENSE +0 -0
  143. /package/{bundles → lib/bundles}/design_style/licenses/lucide/LICENSE +0 -0
  144. /package/{bundles → lib/bundles}/design_style/licenses/taste-skill/LICENSE +0 -0
  145. /package/{bundles → lib/bundles}/design_style/panel.yaml +0 -0
  146. /package/{bundles → lib/bundles}/design_style/reference/aesthetic_index.yaml +0 -0
  147. /package/{bundles → lib/bundles}/design_style/reference/aesthetics/classic_blue_saas/DESIGN.md +0 -0
  148. /package/{bundles → lib/bundles}/design_style/reference/aesthetics/classic_blue_saas/tokens.css +0 -0
  149. /package/{bundles → lib/bundles}/design_style/reference/aesthetics/clean_web/DESIGN.md +0 -0
  150. /package/{bundles → lib/bundles}/design_style/reference/aesthetics/clean_web/tokens.css +0 -0
  151. /package/{bundles → lib/bundles}/design_style/reference/aesthetics/data_operations/DESIGN.md +0 -0
  152. /package/{bundles → lib/bundles}/design_style/reference/aesthetics/data_operations/tokens.css +0 -0
  153. /package/{bundles → lib/bundles}/design_style/reference/aesthetics/editorial_mono/DESIGN.md +0 -0
  154. /package/{bundles → lib/bundles}/design_style/reference/aesthetics/editorial_mono/tokens.css +0 -0
  155. /package/{bundles → lib/bundles}/design_style/reference/aesthetics/frosted_prism/DESIGN.md +0 -0
  156. /package/{bundles → lib/bundles}/design_style/reference/aesthetics/frosted_prism/tokens.css +0 -0
  157. /package/{bundles → lib/bundles}/design_style/reference/aesthetics/honey_twilight/DESIGN.md +0 -0
  158. /package/{bundles → lib/bundles}/design_style/reference/aesthetics/honey_twilight/tokens.css +0 -0
  159. /package/{bundles → lib/bundles}/design_style/reference/aesthetics/morandi_still/DESIGN.md +0 -0
  160. /package/{bundles → lib/bundles}/design_style/reference/aesthetics/morandi_still/tokens.css +0 -0
  161. /package/{bundles → lib/bundles}/design_style/reference/aesthetics/neutral_workspace/DESIGN.md +0 -0
  162. /package/{bundles → lib/bundles}/design_style/reference/aesthetics/neutral_workspace/tokens.css +0 -0
  163. /package/{bundles → lib/bundles}/design_style/reference/aesthetics/studio_noir/DESIGN.md +0 -0
  164. /package/{bundles → lib/bundles}/design_style/reference/aesthetics/studio_noir/tokens.css +0 -0
  165. /package/{bundles → lib/bundles}/design_style/reference/aesthetics/trust_light/DESIGN.md +0 -0
  166. /package/{bundles → lib/bundles}/design_style/reference/aesthetics/trust_light/tokens.css +0 -0
  167. /package/{bundles → lib/bundles}/design_style/reference/aesthetics/vermilion_festival/DESIGN.md +0 -0
  168. /package/{bundles → lib/bundles}/design_style/reference/aesthetics/vermilion_festival/tokens.css +0 -0
  169. /package/{bundles → lib/bundles}/design_style/reference/artifact-contract.md +0 -0
  170. /package/{bundles → lib/bundles}/design_style/reference/motion.md +0 -0
  171. /package/{bundles → lib/bundles}/design_style/reference/post_check.md +0 -0
  172. /package/{bundles → lib/bundles}/design_style/reference/preview.json +0 -0
  173. /package/{bundles → lib/bundles}/design_style/reference/quality_rubric.md +0 -0
  174. /package/{bundles → lib/bundles}/design_style/schema.yaml +0 -0
  175. /package/{bundles → lib/bundles}/design_style/scripts/design-style.mjs +0 -0
  176. /package/{bundles → lib/bundles}/design_style/skill.yaml +0 -0
  177. /package/{bundles → lib/bundles}/design_style/validation.yaml +0 -0
  178. /package/{bundles → lib/bundles}/flow_design/locales/en-US.json +0 -0
  179. /package/{bundles → lib/bundles}/flow_design/locales/zh-CN.json +0 -0
  180. /package/{bundles → lib/bundles}/flow_design/panel.yaml +0 -0
  181. /package/{bundles → lib/bundles}/flow_design/reference/preview.json +0 -0
  182. /package/{bundles → lib/bundles}/flow_design/scripts/channel-spacing.mjs +0 -0
  183. /package/{bundles → lib/bundles}/flow_design/scripts/cost.mjs +0 -0
  184. /package/{bundles → lib/bundles}/flow_design/scripts/feedback.mjs +0 -0
  185. /package/{bundles → lib/bundles}/flow_design/scripts/labels.mjs +0 -0
  186. /package/{bundles → lib/bundles}/flow_design/scripts/layout-policy.mjs +0 -0
  187. /package/{bundles → lib/bundles}/flow_design/scripts/layout-regression.mjs +0 -0
  188. /package/{bundles → lib/bundles}/flow_design/scripts/moves.mjs +0 -0
  189. /package/{bundles → lib/bundles}/flow_design/scripts/reading-order.mjs +0 -0
  190. /package/{bundles → lib/bundles}/flow_design/scripts/router.mjs +0 -0
  191. /package/{bundles → lib/bundles}/flow_design/scripts/search.mjs +0 -0
  192. /package/{bundles → lib/bundles}/flow_design/skill.yaml +0 -0
  193. /package/{bundles → lib/bundles}/flow_design/validation.yaml +0 -0
  194. /package/{bundles → lib/bundles}/function_modules/SKILL.md +0 -0
  195. /package/{bundles → lib/bundles}/function_modules/locales/zh-CN.json +0 -0
  196. /package/{bundles → lib/bundles}/function_modules/reference/canvas-guide.md +0 -0
  197. /package/{bundles → lib/bundles}/function_modules/scripts/merge-usage-scenario.mjs +0 -0
  198. /package/{bundles → lib/bundles}/function_modules/skill.yaml +0 -0
  199. /package/{bundles → lib/bundles}/function_modules/validation.yaml +0 -0
  200. /package/{bundles → lib/bundles}/integration_design/SKILL.md +0 -0
  201. /package/{bundles → lib/bundles}/integration_design/reference/artifact-contract.md +0 -0
  202. /package/{bundles → lib/bundles}/integration_design/reference/preview.json +0 -0
  203. /package/{bundles → lib/bundles}/integration_design/schema.yaml +0 -0
  204. /package/{bundles → lib/bundles}/integration_design/skill.yaml +0 -0
  205. /package/{bundles → lib/bundles}/integration_design/validation.yaml +0 -0
  206. /package/{bundles → lib/bundles}/notification_design/SKILL.md +0 -0
  207. /package/{bundles → lib/bundles}/notification_design/reference/artifact-contract.md +0 -0
  208. /package/{bundles → lib/bundles}/notification_design/reference/preview.json +0 -0
  209. /package/{bundles → lib/bundles}/notification_design/schema.yaml +0 -0
  210. /package/{bundles → lib/bundles}/notification_design/skill.yaml +0 -0
  211. /package/{bundles → lib/bundles}/notification_design/validation.yaml +0 -0
  212. /package/{bundles → lib/bundles}/page_design/SKILL.md +0 -0
  213. /package/{bundles → lib/bundles}/page_design/reference/artifact-contract.md +0 -0
  214. /package/{bundles → lib/bundles}/page_design/reference/canvas-guide.md +0 -0
  215. /package/{bundles → lib/bundles}/page_design/reference/preview.json +0 -0
  216. /package/{bundles → lib/bundles}/page_design/reference/task-to-page-method.md +0 -0
  217. /package/{bundles → lib/bundles}/page_design/schema.yaml +0 -0
  218. /package/{bundles → lib/bundles}/page_design/scripts/page-design.mjs +0 -0
  219. /package/{bundles → lib/bundles}/page_design/skill.yaml +0 -0
  220. /package/{bundles → lib/bundles}/page_design/validation.yaml +0 -0
  221. /package/{bundles → lib/bundles}/quality_acceptance/SKILL.md +0 -0
  222. /package/{bundles → lib/bundles}/quality_acceptance/reference/artifact-contract.md +0 -0
  223. /package/{bundles → lib/bundles}/quality_acceptance/reference/preview.json +0 -0
  224. /package/{bundles → lib/bundles}/quality_acceptance/schema.yaml +0 -0
  225. /package/{bundles → lib/bundles}/quality_acceptance/skill.yaml +0 -0
  226. /package/{bundles → lib/bundles}/quality_acceptance/validation.yaml +0 -0
  227. /package/{bundles → lib/bundles}/research/SKILL.md +0 -0
  228. /package/{bundles → lib/bundles}/research/locales/en-US.json +0 -0
  229. /package/{bundles → lib/bundles}/research/locales/zh-CN.json +0 -0
  230. /package/{bundles → lib/bundles}/research/panel.yaml +0 -0
  231. /package/{bundles → lib/bundles}/research/reference/artifact-contract.md +0 -0
  232. /package/{bundles → lib/bundles}/research/reference/preview.json +0 -0
  233. /package/{bundles → lib/bundles}/research/reference/trusted_sources.md +0 -0
  234. /package/{bundles → lib/bundles}/research/schema.yaml +0 -0
  235. /package/{bundles → lib/bundles}/research/skill.yaml +0 -0
  236. /package/{bundles → lib/bundles}/research/validation.yaml +0 -0
  237. /package/{bundles → lib/bundles}/role_access/SKILL.md +0 -0
  238. /package/{bundles → lib/bundles}/role_access/panel.yaml +0 -0
  239. /package/{bundles → lib/bundles}/role_access/reference/artifact-contract.md +0 -0
  240. /package/{bundles → lib/bundles}/role_access/reference/canvas-guide.md +0 -0
  241. /package/{bundles → lib/bundles}/role_access/reference/example.json +0 -0
  242. /package/{bundles → lib/bundles}/role_access/reference/preview.json +0 -0
  243. /package/{bundles → lib/bundles}/role_access/schema.yaml +0 -0
  244. /package/{bundles → lib/bundles}/role_access/skill.yaml +0 -0
  245. /package/{bundles → lib/bundles}/role_access/validation.yaml +0 -0
  246. /package/{bundles → lib/bundles}/smart_questions/locales/en-US.json +0 -0
  247. /package/{bundles → lib/bundles}/smart_questions/locales/zh-CN.json +0 -0
  248. /package/{bundles → lib/bundles}/smart_questions/panel.yaml +0 -0
  249. /package/{bundles → lib/bundles}/smart_questions/reference/preview.json +0 -0
  250. /package/{bundles → lib/bundles}/smart_questions/skill.yaml +0 -0
  251. /package/{bundles → lib/bundles}/smart_questions/validation.yaml +0 -0
  252. /package/{bundles → lib/bundles}/web_app_prd_assembly/panel.yaml +0 -0
  253. /package/{bundles → lib/bundles}/web_app_prd_assembly/reference/prd-template.html +0 -0
  254. /package/{bundles → lib/bundles}/web_app_prd_assembly/reference/preview.json +0 -0
  255. /package/{bundles → lib/bundles}/web_app_prd_assembly/schema.yaml +0 -0
  256. /package/{bundles → lib/bundles}/web_app_prd_assembly/scripts/visual-renderer.mjs +0 -0
  257. /package/{bundles → lib/bundles}/web_app_prd_assembly/skill.yaml +0 -0
  258. /package/{bundles → lib/bundles}/web_app_prd_assembly/validation.yaml +0 -0
  259. /package/{bundles → lib/bundles}/whiteboard/SKILL.md +0 -0
  260. /package/{bundles → lib/bundles}/whiteboard/locales/en-US.json +0 -0
  261. /package/{bundles → lib/bundles}/whiteboard/locales/zh-CN.json +0 -0
  262. /package/{bundles → lib/bundles}/whiteboard/panel.yaml +0 -0
  263. /package/{bundles → lib/bundles}/whiteboard/reference/artifact-contract.md +0 -0
  264. /package/{bundles → lib/bundles}/whiteboard/reference/canvas-guide.md +0 -0
  265. /package/{bundles → lib/bundles}/whiteboard/reference/drawing-method.md +0 -0
  266. /package/{bundles → lib/bundles}/whiteboard/reference/geometry.md +0 -0
  267. /package/{bundles → lib/bundles}/whiteboard/reference/preview.json +0 -0
  268. /package/{bundles → lib/bundles}/whiteboard/schema.yaml +0 -0
  269. /package/{bundles → lib/bundles}/whiteboard/scripts/scene.d.mts +0 -0
  270. /package/{bundles → lib/bundles}/whiteboard/scripts/scene.mjs +0 -0
  271. /package/{bundles → lib/bundles}/whiteboard/scripts/validate.mjs +0 -0
  272. /package/{bundles → lib/bundles}/whiteboard/skill.yaml +0 -0
  273. /package/{bundles → lib/bundles}/whiteboard/validation.yaml +0 -0
  274. /package/{kits → lib/kits}/web_app/kit.yaml +0 -0
  275. /package/{kits → lib/kits}/web_app/mindset.md +0 -0
package/README.md CHANGED
@@ -7,8 +7,11 @@ validators, panel declarations and resources live in `bundles/<name>/`.
7
7
  `skill.yaml` remains each Bundle's identity and execution contract. The npm
8
8
  package is a distribution container, not the Kit or Bundle lifecycle authority.
9
9
 
10
- `package.json.designSystem.kit` declares the Kit root, Mindset, mount manifest
11
- and Bundle search root. Load the package root through the generic Kit resolver;
10
+ `package.json.designSystem.kit` declares the built `lib/kits/web_app/` root,
11
+ Mindset, mount manifest and `lib/bundles/` search root. `node build.mjs` copies
12
+ the complete authoring trees and builds the three Flow CLI entries into `lib/`.
13
+ The npm files list selects this complete output; methods, schemas, examples and
14
+ other resources stay inside their owning Kit or Bundle. Load the package root through the generic Kit resolver;
12
15
  a bare Kit directory needs its exact Bundle resolver supplied separately.
13
16
  Loading content never installs npm dependencies. Repository-only checks and
14
17
  preview tools live in `test/` and `scripts/` and are excluded from package files.
@@ -17,28 +20,33 @@ preview tools live in `test/` and `scripts/` and are excluded from package files
17
20
 
18
21
  | Package | Used by | Purpose |
19
22
  | --- | --- | --- |
20
- | `bpmn-moddle` ^9.0.1 | `bundles/flow_design/scripts/layout.mjs`, `bpmn-validator.mjs` | BPMN XML parse/serialize |
23
+ | `bpmn-moddle` ^9.0.1 | `bundles/flow_design/scripts/layout.mjs`, `layout-metrics.mjs`, `layout-search.mjs` | BPMN XML parse/serialize |
21
24
  | `elkjs` ^0.10.0 | `bundles/flow_design/scripts/layout.mjs` | layered graph layout geometry |
22
25
  | `bpmn-js` ^18.24.0 | `bundles/web_app_prd_assembly/scripts/visual-renderer.mjs` | conditional BPMN snapshots |
23
26
  | `playwright` ^1.61.1 | `bundles/web_app_prd_assembly/scripts/visual-renderer.mjs` | conditional browser snapshots |
24
27
 
25
28
  These dependencies belong to this engineering package. Source development uses
26
- the repository's locked dependencies. Copying a bare Bundle does not install its
27
- script dependencies or provide a browser. A distributable Bundle must include
28
- or otherwise explicitly provision its required runtime and license materials;
29
- the loader does not fetch them. Existing dependency diagnostics mention the
30
- legacy “Kit package.json”; that means this engineering package, not `kit.yaml`.
31
- Missing dependencies fail with a non-zero exit rather than fabricated output.
32
-
33
- ## Delivery context 2: packaged Companion payload
34
-
35
- In the packaged payload, Kit files live in `kits/web_app/` and Bundle files
36
- live independently in `bundles/<name>/`. `bundles/flow_design/scripts/layout.mjs` resolves against a
37
- bundled dist (ELK and bpmn-moddle included); the layout entry was verified
38
- self-contained by running it outside the repository with empty `NODE_PATH` and
39
- `NODE_OPTIONS` and no `node_modules` present: exit 0 with BPMN DI injection.
40
- Bundled third-party code retains its license materials in the distribution
41
- package (`licenses/`); see `THIRD_PARTY_NOTICES.md` for the Kit-level inventory.
29
+ the repository's locked dependencies. Distribution builds include the Flow
30
+ CLI dependency closure, so a complete distributed Flow Bundle can be copied
31
+ into a project and run without `node_modules`, `NODE_PATH` or an install step.
32
+ The structure/final validator already uses only Node built-ins and is copied
33
+ unchanged. A raw source Bundle still needs the repository's development
34
+ dependencies; loading content never installs them.
35
+
36
+ The npm content package and both Companion packaging routes reuse the same
37
+ three independent Node 22 ESM entries: layout, metrics and search. Search keeps
38
+ its explicit sibling metrics import to preserve both CLI entry guards. Matching
39
+ original licenses, notices and existing ELK source-availability materials live
40
+ inside `flow_design/licenses/`; project LICENSE, NOTICE and inventory texts also
41
+ remain at the Flow root, so copying the complete Bundle retains them.
42
+ `flow-build.json` records the actual observed build inputs and original-material
43
+ identities; it does not claim a complete nested-prebundle inventory or license
44
+ acceptance. The existing normal-build module observations bind output bytes and
45
+ source inputs for DSH release preparation.
46
+
47
+ `node --test test/portable-distribution.mjs` builds and packs the content package,
48
+ extracts its full Flow Bundle outside the repository, and exercises layout,
49
+ metrics, search and structure/final validation with no ancestor `node_modules`.
42
50
 
43
51
  ## flow_design layout contract (verified)
44
52
 
@@ -92,12 +100,11 @@ Retention mapping for the user-authorized detail simplification:
92
100
  not rewritten. Native-reference implementations are
93
101
  retained; this change targets the official declarative Panel, not old renderers.
94
102
 
95
- The 1.0 decision above records the internal Function detail update. The Flow
96
- execution-resource correction declares `flow_design@1.1`, mounted by
97
- `web_app@1.1`, for its next content release; the other 14 Bundles retain 1.0.
98
- Existing project pins and retained snapshots stay unchanged. Adopting new
99
- content requires an explicit upgrade through a Host with verified native
100
- migration isolation; a plugin update alone does not upgrade a project.
103
+ The 1.0 decision above records the internal Function detail update. Flow and
104
+ Kit version metadata is upstream provenance. Each project owns its complete
105
+ saved definitions; a plugin update does not replace those files. An Agent may
106
+ compare and revise an explicitly selected project copy through the existing
107
+ editing and validation path, preserving user content without a version gate.
101
108
 
102
109
  Verification is reported separately for conversion/validation, rendered edits,
103
110
  durable save/reopen and native-model consumption; these claims are not implied
@@ -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
  }
@@ -11,7 +11,7 @@ empty_description: $t:empty
11
11
  sections:
12
12
  - id: skills
13
13
  title: $t:skillRoot
14
- item_name: $t:skillRoot
14
+ item_name: $t:skillSlot
15
15
  confirm_delete: true
16
16
  create:
17
17
  id_field: id
@@ -47,7 +47,7 @@ sections:
47
47
  field: notes
48
48
  - id: tools
49
49
  title: $t:toolRoot
50
- item_name: $t:toolRoot
50
+ item_name: $t:tool
51
51
  confirm_delete: true
52
52
  create:
53
53
  id_field: id
@@ -92,7 +92,7 @@ sections:
92
92
  field: notes
93
93
  - id: model_sources
94
94
  title: $t:modelSourceRoot
95
- item_name: $t:modelSourceRoot
95
+ item_name: $t:modelSourceLink
96
96
  confirm_delete: true
97
97
  create:
98
98
  id_field: id
@@ -104,21 +104,21 @@ sections:
104
104
  variant: detail
105
105
  title: {field: name, editable: true}
106
106
  body:
107
- - kind: field
108
- field: model_connection
109
- - kind: field
110
- field: integration_ref
111
107
  - kind: group
112
108
  title: $t:resourceDescription
113
109
  items:
110
+ - kind: field
111
+ field: model_connection
112
+ - kind: field
113
+ field: integration_ref
114
114
  - kind: field
115
115
  field: description
116
116
  label: visually_hidden
117
- - kind: field
118
- field: notes
117
+ - kind: field
118
+ field: notes
119
119
  - id: knowledge_resources
120
120
  title: $t:knowledgeResourceRoot
121
- item_name: $t:knowledgeResourceRoot
121
+ item_name: $t:knowledgeResource
122
122
  confirm_delete: true
123
123
  create:
124
124
  id_field: id
@@ -165,67 +165,48 @@ sections:
165
165
  field: name
166
166
  editable: true
167
167
  body:
168
- - kind: tabs
169
- id: agent-design
170
- title: $t:agentDesign
171
- tabs:
172
- - id: experience
173
- title: $t:experienceTab
174
- items:
175
- - kind: field
176
- field: description
177
- - kind: field
178
- field: entries
179
- - kind: group
180
- title: $t:contextGroup
181
- collapsible: true
182
- items:
183
- - kind: field
184
- field: knowledge_resource_refs
185
- - kind: field
186
- field: context
187
- - kind: field
188
- field: memory_retention
189
- - id: instructions
190
- title: $t:instructionsTab
191
- items:
192
- - kind: field
193
- field: system_prompt
194
- - kind: field
195
- field: skill_refs
196
- - kind: field
197
- field: tool_refs
198
- - id: behavior
199
- title: $t:behaviorTab
200
- items:
201
- - kind: field
202
- field: actions
203
- - kind: field
204
- field: exceptions
205
- - kind: field
206
- field: notes
207
- - id: collaboration
208
- title: $t:collaboration
209
- items:
210
- - kind: field
211
- field: collaborations
212
- - id: model-connection
213
- title: $t:modelConnectionTab
214
- items:
215
- - kind: field
216
- field: model_source_ref
217
- - kind: field
218
- field: model_selection
219
- - kind: group
220
- title: $t:legacyConnectionGroup
221
- collapsible: true
222
- items:
223
- - kind: field
224
- field: model_connection
225
- - kind: field
226
- field: integration_ref
227
- - kind: field
228
- field: model_service
168
+ - {kind: field, field: description}
169
+ - {kind: field, field: entries}
170
+ - kind: group
171
+ title: $t:behaviorTab
172
+ collapsible: true
173
+ default_open: true
174
+ items:
175
+ - {kind: field, field: actions}
176
+ - {kind: field, field: exceptions}
177
+ - {kind: field, field: notes}
178
+ - kind: group
179
+ title: $t:contextGroup
180
+ collapsible: true
181
+ items:
182
+ - {kind: field, field: knowledge_resource_refs}
183
+ - {kind: field, field: context}
184
+ - {kind: field, field: memory_retention}
185
+ - kind: group
186
+ title: $t:collaboration
187
+ collapsible: true
188
+ items:
189
+ - {kind: field, field: collaborations}
190
+ - kind: group
191
+ title: $t:instructionsTab
192
+ collapsible: true
193
+ items:
194
+ - {kind: field, field: system_prompt}
195
+ - {kind: field, field: skill_refs}
196
+ - {kind: field, field: tool_refs}
197
+ - kind: group
198
+ title: $t:modelConnectionTab
199
+ collapsible: true
200
+ items:
201
+ - {kind: field, field: model_source_ref}
202
+ - {kind: field, field: model_selection}
203
+ - kind: group
204
+ title: $t:legacyConnectionGroup
205
+ collapsible: true
206
+ items:
207
+ - {kind: field, field: model_connection}
208
+ - {kind: field, field: integration_ref}
209
+ - {kind: field, field: model_service}
229
210
  fields:
230
211
  - key: model_source_ref
231
212
  label: $t:modelSourceRef
@@ -324,6 +305,9 @@ fields:
324
305
  - {field: trigger, in: [conversation], label: '$t:conversationLocation'}
325
306
  - {field: trigger, in: [action], label: '$t:actionLocation'}
326
307
  - {field: trigger, in: [background], label: '$t:backgroundCondition'}
308
+ - key: feedback
309
+ label: $t:feedback
310
+ control: textarea
327
311
  - key: input_modes
328
312
  label: $t:inputModes
329
313
  control: token_list
@@ -331,7 +315,6 @@ fields:
331
315
  label_when:
332
316
  - {field: trigger, in: [conversation], label: '$t:conversationInputs'}
333
317
  - {field: trigger, in: [action], label: '$t:actionInputs'}
334
- token_layout: cards
335
318
  token_add_mode: menu
336
319
  options:
337
320
  - value: text
@@ -348,9 +331,6 @@ fields:
348
331
  label: $t:autoContext
349
332
  control: textarea
350
333
  placeholder: $t:autoContextPlaceholder
351
- - key: feedback
352
- label: $t:feedback
353
- control: textarea
354
334
  item_label_field: name
355
335
  item_defaults:
356
336
  name: ""
@@ -18,6 +18,6 @@
18
18
  "source": "Source object (subtype for inheritance)", "target": "Target object (parent for inheritance)",
19
19
  "sourceCount": "How many source objects per target object?", "targetCount": "How many target objects per source object?",
20
20
  "unknownCount": "Leave blank when undecided. Blank does not mean zero or exactly one.",
21
- "countOne": "Exactly one", "countOptional": "None or one", "countMany": "One or more", "countAny": "None or more",
22
- "relationMeaning": "Meaning and constraints (optional)", "relationMeaningHint": "Describe uncertainty about quantities, ownership or deletion behavior here."
21
+ "countOne": "Exactly one", "countOptional": "Zero or one", "countMany": "One or more", "countAny": "Zero or more",
22
+ "relationMeaning": "Meaning and constraints", "relationMeaningHint": "Describe uncertainty about quantities, ownership or deletion behavior here."
23
23
  }
@@ -19,5 +19,5 @@
19
19
  "sourceCount": "每个终点对象关联多少个起点对象?", "targetCount": "每个起点对象关联多少个终点对象?",
20
20
  "unknownCount": "尚未确定时留空,不代表零个或仅一个。",
21
21
  "countOne": "必须且仅一个", "countOptional": "可以没有,最多一个", "countMany": "至少一个,可有多个", "countAny": "可以没有,也可有多个",
22
- "relationMeaning": "含义与约束(选填)", "relationMeaningHint": "数量、归属或删除时的约定尚未确定,也可以在这里说明。"
22
+ "relationMeaning": "含义与约束", "relationMeaningHint": "数量、归属或删除时的约定尚未确定,也可以在这里说明。"
23
23
  }
@@ -8,12 +8,11 @@
8
8
  "newRuleNumbered": "New rule {index}",
9
9
  "title": "Rule name",
10
10
  "ruleContent": "Rule content",
11
- "condition": "Under what conditions, or based on which inputs? (optional)",
12
- "conditionHelp": "Describe the trigger or calculation inputs, then the expected decision or behavior. Leave blank for unconditional rules.",
11
+ "condition": "Under what conditions, or based on which inputs?",
13
12
  "conditionExample": "For example: order total including tax exceeds 100,000; or: unit prices, quantities and discounts",
14
13
  "outcome": "What should the product decide, calculate or do?",
15
14
  "outcomeExample": "For example: require manager approval; or: sum the line amounts and subtract discounts",
16
- "notes": "Notes (optional)",
15
+ "notes": "Notes",
17
16
  "notesHelp": "Clarify a boundary, exception or example. Leave blank if no clarification is needed.",
18
17
  "notesExample": "For example: an order of exactly 100,000 does not require manager approval."
19
18
  }
@@ -8,12 +8,11 @@
8
8
  "newRuleNumbered": "新规则 {index}",
9
9
  "title": "当前规则名称",
10
10
  "ruleContent": "规则内容",
11
- "condition": "在什么情况下,或根据什么信息?(可选)",
12
- "conditionHelp": "先写触发条件或计算依据,再写产品应当如何判断、计算或处理。没有前提时可以留空。",
11
+ "condition": "在什么情况下,或根据什么信息?",
13
12
  "conditionExample": "例如:订单含税总额超过 100,000 元;或:根据商品单价、数量和折扣",
14
13
  "outcome": "产品应该怎样判断、计算或处理?",
15
14
  "outcomeExample": "例如:进入经理审批;或:订单金额等于各商品金额之和减去折扣",
16
- "notes": "备注(可选)",
15
+ "notes": "备注",
17
16
  "notesHelp": "补充临界值、特殊情况或一个帮助理解的例子;没有补充内容时可以留空。",
18
17
  "notesExample": "例如:金额等于 100,000 元时不进入经理审批。"
19
18
  }