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
@@ -0,0 +1,391 @@
1
+ <p align="center">
2
+ <img src="https://raw.githubusercontent.com/kieler/elkjs/master/doc/elk_logo_with_text.svg" height="100">
3
+ </p>
4
+
5
+ [![npm version](https://badge.fury.io/js/elkjs.svg)](https://badge.fury.io/js/elkjs)
6
+
7
+ The [Eclipse Layout Kernel (ELK)](https://www.eclipse.org/elk/) implements an infrastructure to connect diagram editors or viewers to automatic layout algorithms. This library takes the layout-relevant part of ELK and makes it available to the JavaScript world.
8
+ ELK's flagship is a layer-based layout algorithm that is particularly suited for node-link diagrams with an inherent direction and ports (explicit attachment points on a node's border). It is based on the ideas originally introduced by Sugiyama et al. An example can be seen in the screenshot below.
9
+
10
+ Note that elkjs is not a diagramming framework itself - it computes positions for the elements of a diagram.
11
+
12
+ elkjs is the successor of [klayjs](https://github.com/kieler/klayjs).
13
+
14
+ #### Demonstrator
15
+ You can see elkjs [live in action](https://rtsys.informatik.uni-kiel.de/elklive/) in conjunction with TypeFox's [sprotty](https://github.com/eclipse/sprotty) diagramming framework. In case elklive happens to be down you can use the published [docker container](https://github.com/kieler/elk-live/pkgs/container/elk-live) to run and host it yourself.
16
+
17
+ ![](https://raw.githubusercontent.com/kieler/elkjs/master/doc/example_complexRouter.svg)
18
+
19
+
20
+ # FAQs and Recurring Issues
21
+ The following list includes some recurring topics that may have been addressed in issues already:
22
+
23
+ * [#100][ejs100], [elk#355][e355], [elk#627][e627] - How to consider previous layout results, including
24
+ * dynamic layout, and
25
+ * incrementally adding nodes and edges to an existing layout.
26
+
27
+ * [elk#315][e315]: Standalone edge routing.
28
+
29
+ * [#85][ejs85] elkjs itself is a graph layout engine _only_. In other words, no rendering, styling, etc. is provided.
30
+
31
+ * [#127][ejs127], [#141][ejs141], [#142][ejs142] - Issues due to the underlying code transpilation by GWT and/or due to the outdated usage of js modules:
32
+ * `g is not defined`,
33
+ * `Can't resolve web-worker`, and
34
+ * general usage as part of react, webpack, etc.
35
+ * [#6][ejs6] Poor modularization
36
+ * Contributions here are welcome!
37
+
38
+ [ejs6]: https://github.com/kieler/elkjs/issues/6
39
+ [ejs85]: https://github.com/kieler/elkjs/issues/85
40
+ [ejs100]: https://github.com/kieler/elkjs/issues/100
41
+ [ejs127]: https://github.com/kieler/elkjs/issues/127
42
+ [ejs141]: https://github.com/kieler/elkjs/issues/141
43
+ [ejs142]: https://github.com/kieler/elkjs/issues/142
44
+ [e315]: https://github.com/eclipse/elk/issues/315
45
+ [e355]: https://github.com/eclipse/elk/issues/355
46
+ [e627]: https://github.com/eclipse/elk/issues/627
47
+
48
+ # Installation
49
+ The latest released version:
50
+ ```bash
51
+ npm install elkjs
52
+ ```
53
+ Development version based on ELK's `master` branch.
54
+ ```bash
55
+ npm install elkjs@next
56
+ ```
57
+
58
+ # Releases and Versioning
59
+
60
+ Releases are partly synchronized with ELK's versions: the minor version number is always the same but the revision number may diverge. For instance, elkjs 0.3.0 equals the functionality of ELK 0.3.0 but elkjs 0.3.2 may be different from ELK 0.3.2. This is necessary as there may be fixes that solely concern elkjs and should be released independently of ELK.
61
+
62
+ # Files
63
+ The library consists of two main files:
64
+ * `elk-api.js`: Provides the API and only the API.
65
+ * `elk-worker.js`: Provides the code that actually knows how to lay out a graph. This is the file that is generated from ELK's Java code base using GWT.
66
+
67
+ Two further files are provided:
68
+ * `elk.bundled.js`: A bundled version of the two previous files, ready to be dropped into a browser's `<script>` tag. The file is processed by [browserify](http://browserify.org/) and the `ELK` is exposed as a global variable (if run in a browser).
69
+ * `main.js`: Main file of the node.js module. Allows to conveniently write `require('elkjs')` instead of composing the files from above.
70
+
71
+ # Example
72
+ A small example using node.js,
73
+ for further use cases see the next section.
74
+ ```js
75
+ const ELK = require('elkjs')
76
+ const elk = new ELK()
77
+
78
+ const graph = {
79
+ id: "root",
80
+ layoutOptions: { 'elk.algorithm': 'layered' },
81
+ children: [
82
+ { id: "n1", width: 30, height: 30 },
83
+ { id: "n2", width: 30, height: 30 },
84
+ { id: "n3", width: 30, height: 30 }
85
+ ],
86
+ edges: [
87
+ { id: "e1", sources: [ "n1" ], targets: [ "n2" ] },
88
+ { id: "e2", sources: [ "n1" ], targets: [ "n3" ] }
89
+ ]
90
+ }
91
+
92
+ elk.layout(graph)
93
+ .then(console.log)
94
+ .catch(console.error)
95
+ ```
96
+ Note that in case you get errors, you may want to switch to the non-minified version
97
+ to get a proper stack trace.
98
+
99
+ ## Layout Options
100
+
101
+ You can use _layout options_ to configure the layout algorithm.
102
+ For that you attach a `layoutOptions` object
103
+ to the graph element that holds key/value pairs
104
+ representing the desired layout options.
105
+ See, for instance, `root` in the example above.
106
+ It is possible to only use the suffix of a layout option:
107
+ `algorithm` instead of `org.eclipse.elk.layered`.
108
+ However, if the suffix is not unique the layout option
109
+ may be ignored. To be safe, you should always start the
110
+ layout options with the `elk.` part.
111
+ A list of all options and further details of their exact effects
112
+ is available in [ELK's documentation](http://www.eclipse.org/elk/reference.html).
113
+
114
+ It is possible to pass global layout options
115
+ as part of the `layout` method's second argument.
116
+ The options are then applied to every graph element
117
+ unless the element specifies the option itself:
118
+ ```js
119
+ elk.layout(graph, {
120
+ layoutOptions: { ... }
121
+ })
122
+ ```
123
+
124
+ Additionally, `ELK`'s constructor accepts an object
125
+ with layout options that is used with every
126
+ `layout` call that does not specify layout options:
127
+ ```js
128
+ const elk = new ELK({
129
+ defaultLayoutOptions: { ... }
130
+ })
131
+ ```
132
+
133
+ # Usage
134
+
135
+ Since laying out diagrams can be a time-consuming job
136
+ (even for the computer),
137
+ and since we don't want to freeze your UI,
138
+ Web Workers are supported out of the box.
139
+ The following examples illustrate how the library can be used either
140
+ with and without a Web Worker.
141
+
142
+ ## node.js
143
+
144
+ ```js
145
+ const ELK = require('elkjs')
146
+ // without web worker
147
+ const elk = new ELK()
148
+
149
+ elk.layout(graph)
150
+ .then(console.log)
151
+ ```
152
+
153
+ ```js
154
+ const ELK = require('elkjs')
155
+ // with web worker
156
+ const elk = new ELK({
157
+ workerUrl: './node_modules/elkjs/lib/elk-worker.min.js'
158
+ })
159
+
160
+ elk.layout(graph)
161
+ .then(console.log)
162
+ ```
163
+
164
+ Since version 10.x, node.js comes with a worker threads implementation that is similar to,
165
+ but not equal to, a browser's `Worker` class.
166
+ To ease implementation on our side, we use a library, `web-worker`,
167
+ that provides a wrapper around node's `worker_threads`, which is API-compatible to a browser's `Worker.
168
+ Any other library that provides the standard Web Worker methods should be fine though.
169
+ The package is not installed automatically to avoid
170
+ the unnecessary dependency for everyone who is not
171
+ interested in using a web worker.
172
+ A warning is raised if one requests a web worker
173
+ without having installed the package.
174
+ elkjs falls back to the non-Web Worker version in that case.
175
+
176
+ ## Browser
177
+
178
+ ```html
179
+ <html>
180
+ <script src="./elk.bundled.js"></script>
181
+ <script type="text/javascript">
182
+ const elk = new ELK()
183
+
184
+ elk.layout(graph)
185
+ .then(function(g) {
186
+ document.body.innerHTML = "<pre>" + JSON.stringify(g, null, " ") + "</pre>"
187
+ })
188
+ </script>
189
+ </html>
190
+ ```
191
+
192
+ ```html
193
+ <html>
194
+ <script src="./elk-api.js"></script> <!-- use elk-api.js here! -->
195
+ <script type="text/javascript">
196
+ const elk = new ELK({
197
+ workerUrl: './elk-worker.js'
198
+ })
199
+
200
+ elk.layout(graph)
201
+ .then(function(g) {
202
+ document.body.innerHTML = "<pre>" + JSON.stringify(g, null, " ") + "</pre>"
203
+ })
204
+ </script>
205
+ </html>
206
+ ```
207
+
208
+ ## Typescript
209
+ ```ts
210
+ import ELK from 'elkjs/lib/elk.bundled.js'
211
+ const elk = new ELK()
212
+
213
+
214
+ import ELK from 'elkjs/lib/elk-api'
215
+ const elk = new ELK({
216
+ workerUrl: './elk-worker.min.js'
217
+ })
218
+ ```
219
+
220
+ ## Debugging
221
+ For debugging purposes you may want to use the non-minified versions that are available as well.
222
+ In this case the non-minified webworker version can be configured like so:
223
+ ```js
224
+ const ELK = require('elkjs/lib/elk-api.js')
225
+ const elk = new ELK({
226
+ workerFactory: function(url) { // the value of 'url' is irrelevant here
227
+ const { Worker } = require('elkjs/lib/elk-worker.js') // non-minified
228
+ return new Worker(url)
229
+ }
230
+ })
231
+ ```
232
+
233
+ # API
234
+
235
+ The elkjs library provides a single object: the `ELK`. The `ELK` has a constructor that can be used
236
+ to construct it:
237
+ * `new ELK(options)` - the `ELK` can be fed with options, all of which are optional:
238
+ * `defaultLayoutOptions` - an object with default layout options specified as key/value pairs
239
+ that are used if no further layout options are passed to the `layout(graph, options)` method (see below). Default: `{}`.
240
+ * `algorithms` - an array of algorithm ids (only the suffix). Default: `[ 'layered', 'stress', 'mrtree', 'radial', 'force', 'disco' ]`. Note that the `box`, `fixed`, and `random` layouters are always included.
241
+ * `workerUrl` - a path to the `elk-worker.js` script. As a consequence the `ELK` will use a Web Worker to execute the layout. Default: `undefined`.
242
+
243
+ Apart from that the `ELK` offers the following methods:
244
+ * `layout(graph, options)`
245
+ * `graph` - the graph to be laid out in [ELK JSON](http://www.eclipse.org/elk/documentation/tooldevelopers/graphdatastructure/jsonformat.html). Mandatory!
246
+ * `options` - a configuration object. Optional.
247
+ * `layoutOptions`: its most important purpose is to pass _global_ layout options.
248
+ That is, layout options that are applied to every graph element unless the element specifies the option itself.
249
+ * `logging`: boolean (_since 0.6.0_). Whether logging information shall be passed back as part of the laid out graph. `false` by default.
250
+ * `measureExecutionTime`: boolean (_since 0.6.0_). Whether execution time (in seconds) information shall be passed back as part of the laid out graph. `false` by default.
251
+ * returns a `Promise`, which passes either the laid out graph on success or a (hopefully helpful) error on failure.
252
+ * `knownLayoutOptions()`
253
+ * returns an array of of known layout options. For each option additional information
254
+ such as its `id` and `group` is given.
255
+ * `knownLayoutAlgorithms()`
256
+ * returns an array of registered layout algorithms (see above)
257
+ alongside further information about each algorithm.
258
+ * `knownLayoutCategories()`
259
+ * returns an array of registered layout categories.
260
+ * `terminateWorker()` - in case a Web Worker is used, the worker's `terminate()` method is called.
261
+
262
+ The three methods starting with `known` basically return information
263
+ that, in the Java world, would be retrieved from the [`LayoutMetaDataService`](http://www.eclipse.org/elk/documentation/algorithmdevelopers/metadatalanguage.html).
264
+
265
+
266
+ # Logging and Execution Times
267
+ (_Since 0.6.0_)
268
+
269
+ ELK provides some means to log debug information during layout algorithm execution.
270
+ The details can be found in the [_Algorithm Debugging_](https://www.eclipse.org/elk/documentation/algorithmdevelopers/algorithmdebugging.html) section of ELK's documentation.
271
+ Not all of it is available in elkjs though, for instance, it is not possible to save intermediate results of the laid out graphs.
272
+ Furthermore, while internally execution time is measured in _nanoseconds_ on the Java side,
273
+ in elkjs we have to resort to _milliseconds_.
274
+ Note that the returned execution times are in seconds.
275
+ For small graphs this may often result in execution times being reported as `0`.
276
+
277
+ See below an example call and the example output.
278
+ ```js
279
+ elk.layout(simpleGraph, {
280
+ layoutOptions: {
281
+ 'algorithm': 'layered'
282
+ },
283
+ logging: true,
284
+ measureExecutionTime: true
285
+ })
286
+ ```
287
+ ```js
288
+ {
289
+ "id": "root",
290
+ "children": [ ... ],
291
+ "edges": [ ... ],
292
+ "logging": {
293
+ "name": "Recursive Graph Layout",
294
+ "executionTime": 0.000096,
295
+ "children": [ {
296
+ "name": "Layered layout",
297
+ "logs": [
298
+ "ELK Layered uses the following 17 modules:",
299
+ " Slot 01: org.eclipse.elk.alg.layered.p1cycles.GreedyCycleBreaker",
300
+ [ ... ]
301
+ " Slot 16: org.eclipse.elk.alg.layered.intermediate.ReversedEdgeRestorer"
302
+ ],
303
+ "executionTime": 0.000072,
304
+ "children": [ { "name": "Greedy cycle removal", "executionTime": 0.000002 },
305
+ [ ... ]
306
+ { "name": "Restoring reversed edges", "executionTime": 0 } ]
307
+ } ]
308
+ }
309
+ }
310
+ ```
311
+
312
+ # Building
313
+
314
+ [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/kieler/elkjs)
315
+
316
+ For building, a checkout of the [ELK](https://github.com/eclipse/elk) repository is required
317
+ and should be located in the same directory as the checkout of this repository. Like so:
318
+
319
+ ```
320
+ some_dir/
321
+ ├── elkjs
322
+ └── elk
323
+ ```
324
+
325
+ ```bash
326
+ npm install
327
+ npm run build
328
+ ```
329
+
330
+ For a new release, the following version numbers have to be changed:
331
+ * `version` in `package.json`,
332
+ * `melk` in `build.gradle`, and
333
+ * don't forget to checkout the correct release tag of ELK's repository.
334
+
335
+ Afterwards you can find the created files in the `lib` folder.
336
+
337
+ Current procedure
338
+ ```bash
339
+ git checkout -b releases/0.x.x
340
+ # Check that the version numbers are correct, if necessary update versions and commit the changes
341
+ npm install
342
+ npm run build
343
+ npm run test
344
+ # Add ./lib/ directory and commit
345
+ git tag 0.x.x
346
+ # Push release branch and tags to remote
347
+ git push --tags --set-upstream origin releases/0.x.x
348
+ # Create a new release on Github for the new tag and afterwards publish to npm
349
+ npm publish --tag=latest
350
+ ```
351
+ Afterwards the following version numbers have to be changed to the next release number:
352
+ * `version` in `package.json`,
353
+ * `melk` in `build.gradle`.
354
+
355
+ ## Incorrect npm tags
356
+ Incorrectly tagged versions on npm can be updated with
357
+ `npm dist-tag add elkjs@<version> <latest/next>`.
358
+
359
+ # Links
360
+ In the following a list of asorted links to other projects and sites that may prove helpful:
361
+ * [Execution time comparison to Java ELK](https://github.com/kieler/elk-speed)
362
+ * How to specify [node label placement](http://kieler.github.io/klayjs-d3/examples/node_labels/)
363
+ * How to enforce certain [node positioning](http://kieler.github.io/klayjs-d3/examples/interactive/) (topological)
364
+
365
+ # Example Users of elkjs
366
+
367
+ - Schematics
368
+ - [netlistsvg](https://github.com/nturley/netlistsvg) - electronic and gate level schematics as SVG
369
+ - [d3-hwschematic](https://github.com/Nic30/d3-hwschematic) - interactive digital circuit analysis and documentation, particularly for FPGA-based designs
370
+ - Cytoscape [adapter](https://github.com/cytoscape/cytoscape.js-elk)
371
+ - [reaflow](https://reaflow.dev) - Node-based editor built on elkjs in React
372
+ - [reactflow](https://reactflow.dev) - React component for building node-based editors and interactive diagrams
373
+ - Wrapping elkjs into a [docker-based microservice](https://github.com/elbosso/elkjsmicroservice)
374
+ - [sprotty](https://github.com/eclipse/sprotty) - A diagramming framework
375
+ - [Eclipse 4diac](https://www.fordiac.org)
376
+ - [capellambse-context-diagrams](https://github.com/DSD-DBS/capellambse-context-diagrams) - Generating systems engineering context diagrams for [Capella](https://www.eclipse.org/capella/) in Python
377
+ - Used to layout the [dataflow viewer](https://github.com/vega/editor/pull/1023) in the [Vega Editor](https://vega.github.io/editor/#/)
378
+
379
+ Note: We are happy to extend this list further, so please contact us if you have a project to add
380
+
381
+ # Thanks
382
+
383
+ * [@automata](https://github.com/automata) for the very first `klayjs` version
384
+ * [@aranega](https://github.com/aranega) for making emfgwt work for us
385
+ * [@EyMaddis](https://github.com/EyMaddis) for valuable API discussions
386
+ * The team working on the layout algorithms
387
+ * [@spoenemann](https://github.com/spoenemann)
388
+ * [@le-cds](https://github.com/le-cds)
389
+ * [@uruuru](https://github.com/uruuru)
390
+ * [@eNBeWe](https://github.com/eNBeWe)
391
+ * the vast number of students that contributed to ELK