@cozeloop/prompt-components 0.0.2 → 0.0.4

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 (321) hide show
  1. package/dist/es/basic-editor/custom-facet.js +9 -0
  2. package/dist/es/basic-editor/diff.js +138 -0
  3. package/dist/{go-syntax-067c4f5d.mjs → es/basic-editor/extensions/go-syntax.js} +9 -16
  4. package/dist/es/basic-editor/extensions/go-template.js +16 -0
  5. package/dist/{go-theme-062a6df6.mjs → es/basic-editor/extensions/go-theme.js} +4 -3
  6. package/dist/es/basic-editor/extensions/jinja.js +80 -0
  7. package/dist/es/basic-editor/extensions/keymap.js +442 -0
  8. package/dist/es/basic-editor/extensions/language-support.js +12 -0
  9. package/dist/es/basic-editor/extensions/markdown.js +58 -0
  10. package/dist/es/basic-editor/extensions/search/dom/icon.js +250 -0
  11. package/dist/es/basic-editor/extensions/search/dom/match-count.js +33 -0
  12. package/dist/es/basic-editor/extensions/search/index.js +18 -0
  13. package/dist/es/basic-editor/extensions/search/panel.js +418 -0
  14. package/dist/es/basic-editor/extensions/search/theme.js +184 -0
  15. package/dist/es/basic-editor/extensions/validation.js +84 -0
  16. package/dist/es/basic-editor/extensions/validation.module.js +5 -0
  17. package/dist/es/basic-editor/extensions/validation_module.css +7 -0
  18. package/dist/es/basic-editor/extensions/variable.js +178 -0
  19. package/dist/es/basic-editor/index.js +171 -0
  20. package/dist/es/code-editor/code-editor.js +83 -0
  21. package/dist/es/code-editor/index.js +12 -0
  22. package/dist/es/code-editor/json-editor.js +157 -0
  23. package/dist/es/code-editor/raw-text-editor.js +46 -0
  24. package/dist/es/code-editor/text-editor.js +41 -0
  25. package/dist/es/code-editor/themes/coze-dark.js +112 -0
  26. package/dist/es/code-editor/themes/coze-light.js +118 -0
  27. package/dist/es/consts/index.js +12 -0
  28. package/dist/es/dev-layout/index.js +35 -0
  29. package/dist/es/idls/fornax_ml_flow2/index.js +2293 -0
  30. package/dist/es/idls/fornax_ml_flow2/namespaces/ai_annotate.js +41 -0
  31. package/dist/es/idls/fornax_ml_flow2/namespaces/aidpcallback.js +108 -0
  32. package/dist/es/idls/fornax_ml_flow2/namespaces/annotation_job.js +52 -0
  33. package/dist/es/idls/fornax_ml_flow2/namespaces/base.js +0 -0
  34. package/dist/es/idls/fornax_ml_flow2/namespaces/batch_infer.js +72 -0
  35. package/dist/es/idls/fornax_ml_flow2/namespaces/dataprocess.js +10 -0
  36. package/dist/es/idls/fornax_ml_flow2/namespaces/dataset.js +36 -0
  37. package/dist/es/idls/fornax_ml_flow2/namespaces/datasetv2.js +139 -0
  38. package/dist/es/idls/fornax_ml_flow2/namespaces/datasetv2job.js +40 -0
  39. package/dist/es/idls/fornax_ml_flow2/namespaces/datasetv2similarity.js +12 -0
  40. package/dist/es/idls/fornax_ml_flow2/namespaces/filter.js +0 -0
  41. package/dist/es/idls/fornax_ml_flow2/namespaces/flow_devops_evaluation_callback_common.js +36 -0
  42. package/dist/es/idls/fornax_ml_flow2/namespaces/flow_devops_prompt_common.js +318 -0
  43. package/dist/es/idls/fornax_ml_flow2/namespaces/fornax_domain_model.js +326 -0
  44. package/dist/es/idls/fornax_ml_flow2/namespaces/ml_flow_domain_model.js +327 -0
  45. package/dist/es/idls/fornax_ml_flow2/namespaces/openapi.js +0 -0
  46. package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_annotateservice.js +0 -0
  47. package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_annotationjobservice.js +0 -0
  48. package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_batchinferservice.js +0 -0
  49. package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_crowdsourcingannotationjobservice.js +0 -0
  50. package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_dataprocessservice.js +0 -0
  51. package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_datasetservice.js +0 -0
  52. package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_datasetservicev2.js +0 -0
  53. package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_modelservice.js +0 -0
  54. package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_openapi_annotationjobservice.js +0 -0
  55. package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_openapi_batchinferservice.js +0 -0
  56. package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_openapi_datasetservicev2.js +0 -0
  57. package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_tagservice.js +0 -0
  58. package/dist/es/idls/fornax_ml_flow2/namespaces/tag.js +33 -0
  59. package/dist/es/idls/prompt_api2/index.js +1995 -0
  60. package/dist/es/idls/prompt_api2/namespaces/base.js +0 -0
  61. package/dist/es/idls/prompt_api2/namespaces/flow_devops_prompt_callback.js +35 -0
  62. package/dist/es/idls/prompt_api2/namespaces/flow_devops_prompt_commercial_openapi.js +0 -0
  63. package/dist/es/idls/prompt_api2/namespaces/flow_devops_prompt_common.js +318 -0
  64. package/dist/es/idls/prompt_api2/namespaces/flow_devops_prompt_debug.js +0 -0
  65. package/dist/es/idls/prompt_api2/namespaces/flow_devops_prompt_manage.js +23 -0
  66. package/dist/es/idls/prompt_api2/namespaces/flow_devops_prompt_mcp.js +0 -0
  67. package/dist/es/idls/prompt_api2/namespaces/flow_devops_prompt_optimize.js +0 -0
  68. package/dist/es/idls/prompt_api2/namespaces/flow_devops_prompt_paas.js +43 -0
  69. package/dist/es/idls/prompt_api2/namespaces/flow_devops_prompt_platform.js +0 -0
  70. package/dist/es/idls/prompt_api2/namespaces/mcp.js +9 -0
  71. package/dist/es/idls/prompt_api2/namespaces/model.js +320 -0
  72. package/dist/es/idls/prompt_api2/namespaces/permission.js +47 -0
  73. package/dist/es/idls/prompt_api2/namespaces/release.js +25 -0
  74. package/dist/es/index.js +66 -0
  75. package/dist/es/mermaid-diagram/index.js +148 -0
  76. package/dist/es/mermaid-diagram/index.module.js +5 -0
  77. package/dist/es/mermaid-diagram/index_module.css +4 -0
  78. package/dist/es/mermaid-diagram/use-svg-pan-zoom.js +49 -0
  79. package/dist/es/mermaid-diagram/utils.js +74 -0
  80. package/dist/es/model-config-editor/basic-type.js +71 -0
  81. package/dist/es/model-config-editor/index.module.js +5 -0
  82. package/dist/es/model-config-editor/index_module.css +8 -0
  83. package/dist/es/model-config-editor/model-config-form.js +132 -0
  84. package/dist/es/model-config-editor/popover-type.js +118 -0
  85. package/dist/es/model-select/index.js +136 -0
  86. package/dist/es/model-select/index.module.js +5 -0
  87. package/dist/es/model-select/index_module.css +14 -0
  88. package/dist/es/model-select/model-option/index.js +161 -0
  89. package/dist/es/model-select/model-option/index.module.js +5 -0
  90. package/dist/es/model-select/model-option/index_module.css +23 -0
  91. package/dist/es/model-select/model-option-group/index.js +44 -0
  92. package/dist/es/prompt-editor/index.js +188 -0
  93. package/dist/es/prompt-editor/index.module.js +5 -0
  94. package/dist/es/prompt-editor/index_module.css +71 -0
  95. package/dist/es/prompt-editor/message-type-select.js +74 -0
  96. package/dist/es/schema-editor/index.js +43 -0
  97. package/dist/es/utils/base.js +53 -0
  98. package/dist/es/utils/model-config.js +32 -0
  99. package/dist/lib/basic-editor/custom-facet.js +33 -0
  100. package/dist/lib/basic-editor/diff.js +167 -0
  101. package/dist/lib/basic-editor/extensions/go-syntax.js +146 -0
  102. package/dist/lib/basic-editor/extensions/go-template.js +50 -0
  103. package/dist/lib/basic-editor/extensions/go-theme.js +1091 -0
  104. package/dist/lib/basic-editor/extensions/jinja.js +100 -0
  105. package/dist/lib/basic-editor/extensions/keymap.js +465 -0
  106. package/dist/lib/basic-editor/extensions/language-support.js +32 -0
  107. package/dist/lib/basic-editor/extensions/markdown.js +78 -0
  108. package/dist/lib/basic-editor/extensions/search/dom/icon.js +291 -0
  109. package/dist/lib/basic-editor/extensions/search/dom/match-count.js +67 -0
  110. package/dist/lib/basic-editor/extensions/search/index.js +38 -0
  111. package/dist/lib/basic-editor/extensions/search/panel.js +429 -0
  112. package/dist/lib/basic-editor/extensions/search/theme.js +208 -0
  113. package/dist/lib/basic-editor/extensions/validation.js +118 -0
  114. package/dist/lib/basic-editor/extensions/validation.module.js +25 -0
  115. package/dist/lib/basic-editor/extensions/validation_module.css +7 -0
  116. package/dist/lib/basic-editor/extensions/variable.js +190 -0
  117. package/dist/lib/basic-editor/index.js +193 -0
  118. package/dist/lib/code-editor/code-editor.js +117 -0
  119. package/dist/lib/code-editor/index.js +40 -0
  120. package/dist/lib/code-editor/json-editor.js +184 -0
  121. package/dist/lib/code-editor/raw-text-editor.js +70 -0
  122. package/dist/lib/code-editor/text-editor.js +75 -0
  123. package/dist/lib/code-editor/themes/coze-dark.js +136 -0
  124. package/dist/lib/code-editor/themes/coze-light.js +142 -0
  125. package/dist/lib/consts/index.js +38 -0
  126. package/dist/lib/dev-layout/index.js +69 -0
  127. package/dist/lib/idls/fornax_ml_flow2/index.js +2355 -0
  128. package/dist/lib/idls/fornax_ml_flow2/namespaces/ai_annotate.js +69 -0
  129. package/dist/lib/idls/fornax_ml_flow2/namespaces/aidpcallback.js +140 -0
  130. package/dist/lib/idls/fornax_ml_flow2/namespaces/annotation_job.js +82 -0
  131. package/dist/lib/idls/fornax_ml_flow2/namespaces/base.js +16 -0
  132. package/dist/lib/idls/fornax_ml_flow2/namespaces/batch_infer.js +105 -0
  133. package/dist/lib/idls/fornax_ml_flow2/namespaces/dataprocess.js +34 -0
  134. package/dist/lib/idls/fornax_ml_flow2/namespaces/dataset.js +63 -0
  135. package/dist/lib/idls/fornax_ml_flow2/namespaces/datasetv2.js +177 -0
  136. package/dist/lib/idls/fornax_ml_flow2/namespaces/datasetv2job.js +68 -0
  137. package/dist/lib/idls/fornax_ml_flow2/namespaces/datasetv2similarity.js +37 -0
  138. package/dist/lib/idls/fornax_ml_flow2/namespaces/filter.js +16 -0
  139. package/dist/lib/idls/fornax_ml_flow2/namespaces/flow_devops_evaluation_callback_common.js +62 -0
  140. package/dist/lib/idls/fornax_ml_flow2/namespaces/flow_devops_prompt_common.js +378 -0
  141. package/dist/lib/idls/fornax_ml_flow2/namespaces/fornax_domain_model.js +384 -0
  142. package/dist/lib/idls/fornax_ml_flow2/namespaces/ml_flow_domain_model.js +385 -0
  143. package/dist/lib/idls/fornax_ml_flow2/namespaces/openapi.js +16 -0
  144. package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_annotateservice.js +16 -0
  145. package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_annotationjobservice.js +16 -0
  146. package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_batchinferservice.js +16 -0
  147. package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_crowdsourcingannotationjobservice.js +16 -0
  148. package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_dataprocessservice.js +16 -0
  149. package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_datasetservice.js +16 -0
  150. package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_datasetservicev2.js +16 -0
  151. package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_modelservice.js +16 -0
  152. package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_openapi_annotationjobservice.js +16 -0
  153. package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_openapi_batchinferservice.js +16 -0
  154. package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_openapi_datasetservicev2.js +16 -0
  155. package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_tagservice.js +16 -0
  156. package/dist/lib/idls/fornax_ml_flow2/namespaces/tag.js +60 -0
  157. package/dist/lib/idls/prompt_api2/index.js +2042 -0
  158. package/dist/lib/idls/prompt_api2/namespaces/base.js +16 -0
  159. package/dist/lib/idls/prompt_api2/namespaces/flow_devops_prompt_callback.js +62 -0
  160. package/dist/lib/idls/prompt_api2/namespaces/flow_devops_prompt_commercial_openapi.js +16 -0
  161. package/dist/lib/idls/prompt_api2/namespaces/flow_devops_prompt_common.js +378 -0
  162. package/dist/lib/idls/prompt_api2/namespaces/flow_devops_prompt_debug.js +16 -0
  163. package/dist/lib/idls/prompt_api2/namespaces/flow_devops_prompt_manage.js +49 -0
  164. package/dist/lib/idls/prompt_api2/namespaces/flow_devops_prompt_mcp.js +16 -0
  165. package/dist/lib/idls/prompt_api2/namespaces/flow_devops_prompt_optimize.js +16 -0
  166. package/dist/lib/idls/prompt_api2/namespaces/flow_devops_prompt_paas.js +72 -0
  167. package/dist/lib/idls/prompt_api2/namespaces/flow_devops_prompt_platform.js +16 -0
  168. package/dist/lib/idls/prompt_api2/namespaces/mcp.js +33 -0
  169. package/dist/lib/idls/prompt_api2/namespaces/model.js +377 -0
  170. package/dist/lib/idls/prompt_api2/namespaces/permission.js +72 -0
  171. package/dist/lib/idls/prompt_api2/namespaces/release.js +50 -0
  172. package/dist/lib/index.js +110 -0
  173. package/dist/lib/mermaid-diagram/index.js +174 -0
  174. package/dist/lib/mermaid-diagram/index.module.js +25 -0
  175. package/dist/lib/mermaid-diagram/index_module.css +4 -0
  176. package/dist/lib/mermaid-diagram/use-svg-pan-zoom.js +83 -0
  177. package/dist/lib/mermaid-diagram/utils.js +98 -0
  178. package/dist/lib/model-config-editor/basic-type.js +103 -0
  179. package/dist/lib/model-config-editor/index.module.js +25 -0
  180. package/dist/lib/model-config-editor/index_module.css +8 -0
  181. package/dist/lib/model-config-editor/model-config-form.js +151 -0
  182. package/dist/lib/model-config-editor/popover-type.js +145 -0
  183. package/dist/lib/model-select/index.js +170 -0
  184. package/dist/lib/model-select/index.module.js +25 -0
  185. package/dist/lib/model-select/index_module.css +14 -0
  186. package/dist/lib/model-select/model-option/index.js +188 -0
  187. package/dist/lib/model-select/model-option/index.module.js +25 -0
  188. package/dist/lib/model-select/model-option/index_module.css +23 -0
  189. package/dist/lib/model-select/model-option-group/index.js +75 -0
  190. package/dist/lib/prompt-editor/index.js +218 -0
  191. package/dist/lib/prompt-editor/index.module.js +25 -0
  192. package/dist/lib/prompt-editor/index_module.css +71 -0
  193. package/dist/lib/prompt-editor/message-type-select.js +108 -0
  194. package/dist/lib/schema-editor/index.js +77 -0
  195. package/dist/lib/utils/base.js +82 -0
  196. package/dist/lib/utils/model-config.js +57 -0
  197. package/dist/{src → types}/basic-editor/custom-facet.d.ts +1 -2
  198. package/dist/types/basic-editor/diff.d.ts +15 -0
  199. package/dist/types/basic-editor/extensions/go-syntax.d.ts +71 -0
  200. package/dist/types/basic-editor/extensions/go-template.d.ts +1 -0
  201. package/dist/{src → types}/basic-editor/extensions/go-theme.d.ts +1 -1
  202. package/dist/types/basic-editor/extensions/jinja.d.ts +6 -0
  203. package/dist/{src → types}/basic-editor/extensions/keymap.d.ts +2 -3
  204. package/dist/types/basic-editor/extensions/language-support.d.ts +2 -0
  205. package/dist/types/basic-editor/extensions/markdown.d.ts +2 -0
  206. package/dist/types/basic-editor/extensions/search/dom/icon.d.ts +59 -0
  207. package/dist/types/basic-editor/extensions/search/dom/match-count.d.ts +14 -0
  208. package/dist/types/basic-editor/extensions/search/index.d.ts +1 -0
  209. package/dist/types/basic-editor/extensions/search/panel.d.ts +32 -0
  210. package/dist/types/basic-editor/extensions/search/theme.d.ts +1 -0
  211. package/dist/types/basic-editor/extensions/validation.d.ts +10 -0
  212. package/dist/types/basic-editor/extensions/variable.d.ts +14 -0
  213. package/dist/types/basic-editor/index.d.ts +28 -0
  214. package/dist/types/code-editor/code-editor.d.ts +23 -0
  215. package/dist/{src → types}/code-editor/index.d.ts +1 -1
  216. package/dist/types/code-editor/json-editor.d.ts +17 -0
  217. package/dist/types/code-editor/raw-text-editor.d.ts +11 -0
  218. package/dist/types/code-editor/text-editor.d.ts +23 -0
  219. package/dist/types/code-editor/themes/coze-dark.d.ts +1 -0
  220. package/dist/types/code-editor/themes/coze-light.d.ts +1 -0
  221. package/dist/{src → types}/consts/index.d.ts +1 -1
  222. package/dist/types/dev-layout/index.d.ts +13 -0
  223. package/dist/types/idls/fornax_ml_flow2/index.d.ts +750 -0
  224. package/dist/types/idls/fornax_ml_flow2/namespaces/ai_annotate.d.ts +102 -0
  225. package/dist/types/idls/fornax_ml_flow2/namespaces/aidpcallback.d.ts +227 -0
  226. package/dist/types/idls/fornax_ml_flow2/namespaces/annotation_job.d.ts +402 -0
  227. package/dist/types/idls/fornax_ml_flow2/namespaces/base.d.ts +18 -0
  228. package/dist/types/idls/fornax_ml_flow2/namespaces/batch_infer.d.ts +331 -0
  229. package/dist/types/idls/fornax_ml_flow2/namespaces/dataprocess.d.ts +16 -0
  230. package/dist/types/idls/fornax_ml_flow2/namespaces/dataset.d.ts +88 -0
  231. package/dist/types/idls/fornax_ml_flow2/namespaces/datasetv2.d.ts +462 -0
  232. package/dist/types/idls/fornax_ml_flow2/namespaces/datasetv2job.d.ts +180 -0
  233. package/dist/types/idls/fornax_ml_flow2/namespaces/datasetv2similarity.d.ts +8 -0
  234. package/dist/types/idls/fornax_ml_flow2/namespaces/filter.d.ts +39 -0
  235. package/dist/types/idls/fornax_ml_flow2/namespaces/flow_devops_evaluation_callback_common.d.ts +88 -0
  236. package/dist/types/idls/fornax_ml_flow2/namespaces/flow_devops_prompt_common.d.ts +370 -0
  237. package/dist/types/idls/fornax_ml_flow2/namespaces/fornax_domain_model.d.ts +320 -0
  238. package/dist/types/idls/fornax_ml_flow2/namespaces/ml_flow_domain_model.d.ts +510 -0
  239. package/dist/types/idls/fornax_ml_flow2/namespaces/openapi.d.ts +6 -0
  240. package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_annotateservice.d.ts +106 -0
  241. package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_annotationjobservice.d.ts +256 -0
  242. package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_batchinferservice.d.ts +73 -0
  243. package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_crowdsourcingannotationjobservice.d.ts +94 -0
  244. package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_dataprocessservice.d.ts +11 -0
  245. package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_datasetservice.d.ts +24 -0
  246. package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_datasetservicev2.d.ts +653 -0
  247. package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_modelservice.d.ts +83 -0
  248. package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_openapi_annotationjobservice.d.ts +81 -0
  249. package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_openapi_batchinferservice.d.ts +24 -0
  250. package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_openapi_datasetservicev2.d.ts +260 -0
  251. package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_tagservice.d.ts +111 -0
  252. package/dist/types/idls/fornax_ml_flow2/namespaces/tag.d.ts +109 -0
  253. package/dist/types/idls/prompt_api2/index.d.ts +653 -0
  254. package/dist/types/idls/prompt_api2/namespaces/base.d.ts +18 -0
  255. package/dist/types/idls/prompt_api2/namespaces/flow_devops_prompt_callback.d.ts +102 -0
  256. package/dist/types/idls/prompt_api2/namespaces/flow_devops_prompt_commercial_openapi.d.ts +81 -0
  257. package/dist/types/idls/prompt_api2/namespaces/flow_devops_prompt_common.d.ts +1270 -0
  258. package/dist/types/idls/prompt_api2/namespaces/flow_devops_prompt_debug.d.ts +197 -0
  259. package/dist/types/idls/prompt_api2/namespaces/flow_devops_prompt_manage.d.ts +769 -0
  260. package/dist/types/idls/prompt_api2/namespaces/flow_devops_prompt_mcp.d.ts +301 -0
  261. package/dist/types/idls/prompt_api2/namespaces/flow_devops_prompt_optimize.d.ts +155 -0
  262. package/dist/types/idls/prompt_api2/namespaces/flow_devops_prompt_paas.d.ts +198 -0
  263. package/dist/types/idls/prompt_api2/namespaces/flow_devops_prompt_platform.d.ts +230 -0
  264. package/dist/types/idls/prompt_api2/namespaces/mcp.d.ts +95 -0
  265. package/dist/types/idls/prompt_api2/namespaces/model.d.ts +315 -0
  266. package/dist/types/idls/prompt_api2/namespaces/permission.d.ts +52 -0
  267. package/dist/types/idls/prompt_api2/namespaces/release.d.ts +62 -0
  268. package/dist/{src → types}/index.d.ts +7 -7
  269. package/dist/types/mermaid-diagram/index.d.ts +12 -0
  270. package/dist/types/mermaid-diagram/use-svg-pan-zoom.d.ts +17 -0
  271. package/dist/{src → types}/mermaid-diagram/utils.d.ts +1 -1
  272. package/dist/types/model-config-editor/basic-type.d.ts +19 -0
  273. package/dist/types/model-config-editor/model-config-form.d.ts +14 -0
  274. package/dist/types/model-config-editor/popover-type.d.ts +25 -0
  275. package/dist/types/model-select/index.d.ts +38 -0
  276. package/dist/types/model-select/model-option/index.d.ts +30 -0
  277. package/dist/types/model-select/model-option-group/index.d.ts +15 -0
  278. package/dist/types/prompt-editor/index.d.ts +30 -0
  279. package/dist/types/prompt-editor/message-type-select.d.ts +16 -0
  280. package/dist/types/schema-editor/index.d.ts +18 -0
  281. package/dist/{src → types}/utils/base.d.ts +4 -5
  282. package/dist/types/utils/model-config.d.ts +4 -0
  283. package/package.json +9 -13
  284. package/dist/edenx.config.d.ts +0 -2
  285. package/dist/go-syntax-4deb0289.js +0 -8
  286. package/dist/go-theme-fbd8a4fa.js +0 -1
  287. package/dist/index.cjs +0 -61
  288. package/dist/index.d.ts +0 -1
  289. package/dist/index.js +0 -2788
  290. package/dist/src/basic-editor/diff.d.ts +0 -16
  291. package/dist/src/basic-editor/extensions/go-syntax.d.ts +0 -71
  292. package/dist/src/basic-editor/extensions/go-template.d.ts +0 -1
  293. package/dist/src/basic-editor/extensions/jinja.d.ts +0 -4
  294. package/dist/src/basic-editor/extensions/language-support.d.ts +0 -2
  295. package/dist/src/basic-editor/extensions/markdown.d.ts +0 -2
  296. package/dist/src/basic-editor/extensions/search/dom/icon.d.ts +0 -59
  297. package/dist/src/basic-editor/extensions/search/dom/match-count.d.ts +0 -14
  298. package/dist/src/basic-editor/extensions/search/index.d.ts +0 -1
  299. package/dist/src/basic-editor/extensions/search/panel.d.ts +0 -33
  300. package/dist/src/basic-editor/extensions/search/theme.d.ts +0 -1
  301. package/dist/src/basic-editor/extensions/validation.d.ts +0 -8
  302. package/dist/src/basic-editor/extensions/variable.d.ts +0 -11
  303. package/dist/src/basic-editor/index.d.ts +0 -29
  304. package/dist/src/code-editor/json-editor.d.ts +0 -18
  305. package/dist/src/code-editor/raw-text-editor.d.ts +0 -11
  306. package/dist/src/dev-layout/index.d.ts +0 -7
  307. package/dist/src/mermaid-diagram/index.d.ts +0 -12
  308. package/dist/src/mermaid-diagram/use-svg-pan-zoom.d.ts +0 -12
  309. package/dist/src/model-config-editor/basic-type.d.ts +0 -13
  310. package/dist/src/model-config-editor/model-config-form.d.ts +0 -13
  311. package/dist/src/model-config-editor/popover-type.d.ts +0 -19
  312. package/dist/src/model-select/index.d.ts +0 -27
  313. package/dist/src/model-select/model-option/index.d.ts +0 -25
  314. package/dist/src/model-select/model-option-group/index.d.ts +0 -16
  315. package/dist/src/prompt-editor/index.d.ts +0 -31
  316. package/dist/src/prompt-editor/message-type-select.d.ts +0 -11
  317. package/dist/src/schema-editor/index.d.ts +0 -11
  318. package/dist/src/utils/model-config.d.ts +0 -5
  319. package/dist/style.css +0 -1
  320. package/dist/test-build.d.ts +0 -7
  321. package/dist/vite.config.d.ts +0 -2
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+ var dev_layout_exports = {};
30
+ __export(dev_layout_exports, {
31
+ DevLayout: () => DevLayout
32
+ });
33
+ module.exports = __toCommonJS(dev_layout_exports);
34
+ var import_jsx_runtime = require("react/jsx-runtime");
35
+ var import_classnames = __toESM(require("classnames"));
36
+ var import_coze_design = require("@coze-arch/coze-design");
37
+ function DevLayout({
38
+ title,
39
+ actionBtns,
40
+ children,
41
+ className,
42
+ style
43
+ }) {
44
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
45
+ "div",
46
+ {
47
+ className: (0, import_classnames.default)("flex flex-col h-full w-full", className),
48
+ style,
49
+ children: [
50
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
51
+ "div",
52
+ {
53
+ className: "h-[40px] px-6 py-2 box-border coz-fg-plus w-full border-0 border-t border-b border-solid flex justify-between items-center",
54
+ style: { background: "#F6F6FB" },
55
+ children: [
56
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_coze_design.Typography.Text, { strong: true, children: title }),
57
+ actionBtns
58
+ ]
59
+ }
60
+ ),
61
+ children
62
+ ]
63
+ }
64
+ );
65
+ }
66
+ // Annotate the CommonJS export names for ESM import in node:
67
+ 0 && (module.exports = {
68
+ DevLayout
69
+ });