@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.
- package/dist/es/basic-editor/custom-facet.js +9 -0
- package/dist/es/basic-editor/diff.js +138 -0
- package/dist/{go-syntax-067c4f5d.mjs → es/basic-editor/extensions/go-syntax.js} +9 -16
- package/dist/es/basic-editor/extensions/go-template.js +16 -0
- package/dist/{go-theme-062a6df6.mjs → es/basic-editor/extensions/go-theme.js} +4 -3
- package/dist/es/basic-editor/extensions/jinja.js +80 -0
- package/dist/es/basic-editor/extensions/keymap.js +442 -0
- package/dist/es/basic-editor/extensions/language-support.js +12 -0
- package/dist/es/basic-editor/extensions/markdown.js +58 -0
- package/dist/es/basic-editor/extensions/search/dom/icon.js +250 -0
- package/dist/es/basic-editor/extensions/search/dom/match-count.js +33 -0
- package/dist/es/basic-editor/extensions/search/index.js +18 -0
- package/dist/es/basic-editor/extensions/search/panel.js +418 -0
- package/dist/es/basic-editor/extensions/search/theme.js +184 -0
- package/dist/es/basic-editor/extensions/validation.js +84 -0
- package/dist/es/basic-editor/extensions/validation.module.js +5 -0
- package/dist/es/basic-editor/extensions/validation_module.css +7 -0
- package/dist/es/basic-editor/extensions/variable.js +178 -0
- package/dist/es/basic-editor/index.js +171 -0
- package/dist/es/code-editor/code-editor.js +83 -0
- package/dist/es/code-editor/index.js +12 -0
- package/dist/es/code-editor/json-editor.js +157 -0
- package/dist/es/code-editor/raw-text-editor.js +46 -0
- package/dist/es/code-editor/text-editor.js +41 -0
- package/dist/es/code-editor/themes/coze-dark.js +112 -0
- package/dist/es/code-editor/themes/coze-light.js +118 -0
- package/dist/es/consts/index.js +12 -0
- package/dist/es/dev-layout/index.js +35 -0
- package/dist/es/idls/fornax_ml_flow2/index.js +2293 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/ai_annotate.js +41 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/aidpcallback.js +108 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/annotation_job.js +52 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/base.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/batch_infer.js +72 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/dataprocess.js +10 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/dataset.js +36 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/datasetv2.js +139 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/datasetv2job.js +40 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/datasetv2similarity.js +12 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/filter.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/flow_devops_evaluation_callback_common.js +36 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/flow_devops_prompt_common.js +318 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/fornax_domain_model.js +326 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/ml_flow_domain_model.js +327 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/openapi.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_annotateservice.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_annotationjobservice.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_batchinferservice.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_crowdsourcingannotationjobservice.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_dataprocessservice.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_datasetservice.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_datasetservicev2.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_modelservice.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_openapi_annotationjobservice.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_openapi_batchinferservice.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_openapi_datasetservicev2.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_tagservice.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/tag.js +33 -0
- package/dist/es/idls/prompt_api2/index.js +1995 -0
- package/dist/es/idls/prompt_api2/namespaces/base.js +0 -0
- package/dist/es/idls/prompt_api2/namespaces/flow_devops_prompt_callback.js +35 -0
- package/dist/es/idls/prompt_api2/namespaces/flow_devops_prompt_commercial_openapi.js +0 -0
- package/dist/es/idls/prompt_api2/namespaces/flow_devops_prompt_common.js +318 -0
- package/dist/es/idls/prompt_api2/namespaces/flow_devops_prompt_debug.js +0 -0
- package/dist/es/idls/prompt_api2/namespaces/flow_devops_prompt_manage.js +23 -0
- package/dist/es/idls/prompt_api2/namespaces/flow_devops_prompt_mcp.js +0 -0
- package/dist/es/idls/prompt_api2/namespaces/flow_devops_prompt_optimize.js +0 -0
- package/dist/es/idls/prompt_api2/namespaces/flow_devops_prompt_paas.js +43 -0
- package/dist/es/idls/prompt_api2/namespaces/flow_devops_prompt_platform.js +0 -0
- package/dist/es/idls/prompt_api2/namespaces/mcp.js +9 -0
- package/dist/es/idls/prompt_api2/namespaces/model.js +320 -0
- package/dist/es/idls/prompt_api2/namespaces/permission.js +47 -0
- package/dist/es/idls/prompt_api2/namespaces/release.js +25 -0
- package/dist/es/index.js +66 -0
- package/dist/es/mermaid-diagram/index.js +148 -0
- package/dist/es/mermaid-diagram/index.module.js +5 -0
- package/dist/es/mermaid-diagram/index_module.css +4 -0
- package/dist/es/mermaid-diagram/use-svg-pan-zoom.js +49 -0
- package/dist/es/mermaid-diagram/utils.js +74 -0
- package/dist/es/model-config-editor/basic-type.js +71 -0
- package/dist/es/model-config-editor/index.module.js +5 -0
- package/dist/es/model-config-editor/index_module.css +8 -0
- package/dist/es/model-config-editor/model-config-form.js +132 -0
- package/dist/es/model-config-editor/popover-type.js +118 -0
- package/dist/es/model-select/index.js +136 -0
- package/dist/es/model-select/index.module.js +5 -0
- package/dist/es/model-select/index_module.css +14 -0
- package/dist/es/model-select/model-option/index.js +161 -0
- package/dist/es/model-select/model-option/index.module.js +5 -0
- package/dist/es/model-select/model-option/index_module.css +23 -0
- package/dist/es/model-select/model-option-group/index.js +44 -0
- package/dist/es/prompt-editor/index.js +188 -0
- package/dist/es/prompt-editor/index.module.js +5 -0
- package/dist/es/prompt-editor/index_module.css +71 -0
- package/dist/es/prompt-editor/message-type-select.js +74 -0
- package/dist/es/schema-editor/index.js +43 -0
- package/dist/es/utils/base.js +53 -0
- package/dist/es/utils/model-config.js +32 -0
- package/dist/lib/basic-editor/custom-facet.js +33 -0
- package/dist/lib/basic-editor/diff.js +167 -0
- package/dist/lib/basic-editor/extensions/go-syntax.js +146 -0
- package/dist/lib/basic-editor/extensions/go-template.js +50 -0
- package/dist/lib/basic-editor/extensions/go-theme.js +1091 -0
- package/dist/lib/basic-editor/extensions/jinja.js +100 -0
- package/dist/lib/basic-editor/extensions/keymap.js +465 -0
- package/dist/lib/basic-editor/extensions/language-support.js +32 -0
- package/dist/lib/basic-editor/extensions/markdown.js +78 -0
- package/dist/lib/basic-editor/extensions/search/dom/icon.js +291 -0
- package/dist/lib/basic-editor/extensions/search/dom/match-count.js +67 -0
- package/dist/lib/basic-editor/extensions/search/index.js +38 -0
- package/dist/lib/basic-editor/extensions/search/panel.js +429 -0
- package/dist/lib/basic-editor/extensions/search/theme.js +208 -0
- package/dist/lib/basic-editor/extensions/validation.js +118 -0
- package/dist/lib/basic-editor/extensions/validation.module.js +25 -0
- package/dist/lib/basic-editor/extensions/validation_module.css +7 -0
- package/dist/lib/basic-editor/extensions/variable.js +190 -0
- package/dist/lib/basic-editor/index.js +193 -0
- package/dist/lib/code-editor/code-editor.js +117 -0
- package/dist/lib/code-editor/index.js +40 -0
- package/dist/lib/code-editor/json-editor.js +184 -0
- package/dist/lib/code-editor/raw-text-editor.js +70 -0
- package/dist/lib/code-editor/text-editor.js +75 -0
- package/dist/lib/code-editor/themes/coze-dark.js +136 -0
- package/dist/lib/code-editor/themes/coze-light.js +142 -0
- package/dist/lib/consts/index.js +38 -0
- package/dist/lib/dev-layout/index.js +69 -0
- package/dist/lib/idls/fornax_ml_flow2/index.js +2355 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/ai_annotate.js +69 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/aidpcallback.js +140 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/annotation_job.js +82 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/base.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/batch_infer.js +105 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/dataprocess.js +34 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/dataset.js +63 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/datasetv2.js +177 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/datasetv2job.js +68 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/datasetv2similarity.js +37 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/filter.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/flow_devops_evaluation_callback_common.js +62 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/flow_devops_prompt_common.js +378 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/fornax_domain_model.js +384 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/ml_flow_domain_model.js +385 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/openapi.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_annotateservice.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_annotationjobservice.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_batchinferservice.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_crowdsourcingannotationjobservice.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_dataprocessservice.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_datasetservice.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_datasetservicev2.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_modelservice.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_openapi_annotationjobservice.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_openapi_batchinferservice.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_openapi_datasetservicev2.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_tagservice.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/tag.js +60 -0
- package/dist/lib/idls/prompt_api2/index.js +2042 -0
- package/dist/lib/idls/prompt_api2/namespaces/base.js +16 -0
- package/dist/lib/idls/prompt_api2/namespaces/flow_devops_prompt_callback.js +62 -0
- package/dist/lib/idls/prompt_api2/namespaces/flow_devops_prompt_commercial_openapi.js +16 -0
- package/dist/lib/idls/prompt_api2/namespaces/flow_devops_prompt_common.js +378 -0
- package/dist/lib/idls/prompt_api2/namespaces/flow_devops_prompt_debug.js +16 -0
- package/dist/lib/idls/prompt_api2/namespaces/flow_devops_prompt_manage.js +49 -0
- package/dist/lib/idls/prompt_api2/namespaces/flow_devops_prompt_mcp.js +16 -0
- package/dist/lib/idls/prompt_api2/namespaces/flow_devops_prompt_optimize.js +16 -0
- package/dist/lib/idls/prompt_api2/namespaces/flow_devops_prompt_paas.js +72 -0
- package/dist/lib/idls/prompt_api2/namespaces/flow_devops_prompt_platform.js +16 -0
- package/dist/lib/idls/prompt_api2/namespaces/mcp.js +33 -0
- package/dist/lib/idls/prompt_api2/namespaces/model.js +377 -0
- package/dist/lib/idls/prompt_api2/namespaces/permission.js +72 -0
- package/dist/lib/idls/prompt_api2/namespaces/release.js +50 -0
- package/dist/lib/index.js +110 -0
- package/dist/lib/mermaid-diagram/index.js +174 -0
- package/dist/lib/mermaid-diagram/index.module.js +25 -0
- package/dist/lib/mermaid-diagram/index_module.css +4 -0
- package/dist/lib/mermaid-diagram/use-svg-pan-zoom.js +83 -0
- package/dist/lib/mermaid-diagram/utils.js +98 -0
- package/dist/lib/model-config-editor/basic-type.js +103 -0
- package/dist/lib/model-config-editor/index.module.js +25 -0
- package/dist/lib/model-config-editor/index_module.css +8 -0
- package/dist/lib/model-config-editor/model-config-form.js +151 -0
- package/dist/lib/model-config-editor/popover-type.js +145 -0
- package/dist/lib/model-select/index.js +170 -0
- package/dist/lib/model-select/index.module.js +25 -0
- package/dist/lib/model-select/index_module.css +14 -0
- package/dist/lib/model-select/model-option/index.js +188 -0
- package/dist/lib/model-select/model-option/index.module.js +25 -0
- package/dist/lib/model-select/model-option/index_module.css +23 -0
- package/dist/lib/model-select/model-option-group/index.js +75 -0
- package/dist/lib/prompt-editor/index.js +218 -0
- package/dist/lib/prompt-editor/index.module.js +25 -0
- package/dist/lib/prompt-editor/index_module.css +71 -0
- package/dist/lib/prompt-editor/message-type-select.js +108 -0
- package/dist/lib/schema-editor/index.js +77 -0
- package/dist/lib/utils/base.js +82 -0
- package/dist/lib/utils/model-config.js +57 -0
- package/dist/{src → types}/basic-editor/custom-facet.d.ts +1 -2
- package/dist/types/basic-editor/diff.d.ts +15 -0
- package/dist/types/basic-editor/extensions/go-syntax.d.ts +71 -0
- package/dist/types/basic-editor/extensions/go-template.d.ts +1 -0
- package/dist/{src → types}/basic-editor/extensions/go-theme.d.ts +1 -1
- package/dist/types/basic-editor/extensions/jinja.d.ts +6 -0
- package/dist/{src → types}/basic-editor/extensions/keymap.d.ts +2 -3
- package/dist/types/basic-editor/extensions/language-support.d.ts +2 -0
- package/dist/types/basic-editor/extensions/markdown.d.ts +2 -0
- package/dist/types/basic-editor/extensions/search/dom/icon.d.ts +59 -0
- package/dist/types/basic-editor/extensions/search/dom/match-count.d.ts +14 -0
- package/dist/types/basic-editor/extensions/search/index.d.ts +1 -0
- package/dist/types/basic-editor/extensions/search/panel.d.ts +32 -0
- package/dist/types/basic-editor/extensions/search/theme.d.ts +1 -0
- package/dist/types/basic-editor/extensions/validation.d.ts +10 -0
- package/dist/types/basic-editor/extensions/variable.d.ts +14 -0
- package/dist/types/basic-editor/index.d.ts +28 -0
- package/dist/types/code-editor/code-editor.d.ts +23 -0
- package/dist/{src → types}/code-editor/index.d.ts +1 -1
- package/dist/types/code-editor/json-editor.d.ts +17 -0
- package/dist/types/code-editor/raw-text-editor.d.ts +11 -0
- package/dist/types/code-editor/text-editor.d.ts +23 -0
- package/dist/types/code-editor/themes/coze-dark.d.ts +1 -0
- package/dist/types/code-editor/themes/coze-light.d.ts +1 -0
- package/dist/{src → types}/consts/index.d.ts +1 -1
- package/dist/types/dev-layout/index.d.ts +13 -0
- package/dist/types/idls/fornax_ml_flow2/index.d.ts +750 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/ai_annotate.d.ts +102 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/aidpcallback.d.ts +227 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/annotation_job.d.ts +402 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/base.d.ts +18 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/batch_infer.d.ts +331 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/dataprocess.d.ts +16 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/dataset.d.ts +88 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/datasetv2.d.ts +462 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/datasetv2job.d.ts +180 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/datasetv2similarity.d.ts +8 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/filter.d.ts +39 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/flow_devops_evaluation_callback_common.d.ts +88 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/flow_devops_prompt_common.d.ts +370 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/fornax_domain_model.d.ts +320 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/ml_flow_domain_model.d.ts +510 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/openapi.d.ts +6 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_annotateservice.d.ts +106 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_annotationjobservice.d.ts +256 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_batchinferservice.d.ts +73 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_crowdsourcingannotationjobservice.d.ts +94 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_dataprocessservice.d.ts +11 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_datasetservice.d.ts +24 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_datasetservicev2.d.ts +653 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_modelservice.d.ts +83 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_openapi_annotationjobservice.d.ts +81 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_openapi_batchinferservice.d.ts +24 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_openapi_datasetservicev2.d.ts +260 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_tagservice.d.ts +111 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/tag.d.ts +109 -0
- package/dist/types/idls/prompt_api2/index.d.ts +653 -0
- package/dist/types/idls/prompt_api2/namespaces/base.d.ts +18 -0
- package/dist/types/idls/prompt_api2/namespaces/flow_devops_prompt_callback.d.ts +102 -0
- package/dist/types/idls/prompt_api2/namespaces/flow_devops_prompt_commercial_openapi.d.ts +81 -0
- package/dist/types/idls/prompt_api2/namespaces/flow_devops_prompt_common.d.ts +1270 -0
- package/dist/types/idls/prompt_api2/namespaces/flow_devops_prompt_debug.d.ts +197 -0
- package/dist/types/idls/prompt_api2/namespaces/flow_devops_prompt_manage.d.ts +769 -0
- package/dist/types/idls/prompt_api2/namespaces/flow_devops_prompt_mcp.d.ts +301 -0
- package/dist/types/idls/prompt_api2/namespaces/flow_devops_prompt_optimize.d.ts +155 -0
- package/dist/types/idls/prompt_api2/namespaces/flow_devops_prompt_paas.d.ts +198 -0
- package/dist/types/idls/prompt_api2/namespaces/flow_devops_prompt_platform.d.ts +230 -0
- package/dist/types/idls/prompt_api2/namespaces/mcp.d.ts +95 -0
- package/dist/types/idls/prompt_api2/namespaces/model.d.ts +315 -0
- package/dist/types/idls/prompt_api2/namespaces/permission.d.ts +52 -0
- package/dist/types/idls/prompt_api2/namespaces/release.d.ts +62 -0
- package/dist/{src → types}/index.d.ts +7 -7
- package/dist/types/mermaid-diagram/index.d.ts +12 -0
- package/dist/types/mermaid-diagram/use-svg-pan-zoom.d.ts +17 -0
- package/dist/{src → types}/mermaid-diagram/utils.d.ts +1 -1
- package/dist/types/model-config-editor/basic-type.d.ts +19 -0
- package/dist/types/model-config-editor/model-config-form.d.ts +14 -0
- package/dist/types/model-config-editor/popover-type.d.ts +25 -0
- package/dist/types/model-select/index.d.ts +38 -0
- package/dist/types/model-select/model-option/index.d.ts +30 -0
- package/dist/types/model-select/model-option-group/index.d.ts +15 -0
- package/dist/types/prompt-editor/index.d.ts +30 -0
- package/dist/types/prompt-editor/message-type-select.d.ts +16 -0
- package/dist/types/schema-editor/index.d.ts +18 -0
- package/dist/{src → types}/utils/base.d.ts +4 -5
- package/dist/types/utils/model-config.d.ts +4 -0
- package/package.json +9 -13
- package/dist/edenx.config.d.ts +0 -2
- package/dist/go-syntax-4deb0289.js +0 -8
- package/dist/go-theme-fbd8a4fa.js +0 -1
- package/dist/index.cjs +0 -61
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -2788
- package/dist/src/basic-editor/diff.d.ts +0 -16
- package/dist/src/basic-editor/extensions/go-syntax.d.ts +0 -71
- package/dist/src/basic-editor/extensions/go-template.d.ts +0 -1
- package/dist/src/basic-editor/extensions/jinja.d.ts +0 -4
- package/dist/src/basic-editor/extensions/language-support.d.ts +0 -2
- package/dist/src/basic-editor/extensions/markdown.d.ts +0 -2
- package/dist/src/basic-editor/extensions/search/dom/icon.d.ts +0 -59
- package/dist/src/basic-editor/extensions/search/dom/match-count.d.ts +0 -14
- package/dist/src/basic-editor/extensions/search/index.d.ts +0 -1
- package/dist/src/basic-editor/extensions/search/panel.d.ts +0 -33
- package/dist/src/basic-editor/extensions/search/theme.d.ts +0 -1
- package/dist/src/basic-editor/extensions/validation.d.ts +0 -8
- package/dist/src/basic-editor/extensions/variable.d.ts +0 -11
- package/dist/src/basic-editor/index.d.ts +0 -29
- package/dist/src/code-editor/json-editor.d.ts +0 -18
- package/dist/src/code-editor/raw-text-editor.d.ts +0 -11
- package/dist/src/dev-layout/index.d.ts +0 -7
- package/dist/src/mermaid-diagram/index.d.ts +0 -12
- package/dist/src/mermaid-diagram/use-svg-pan-zoom.d.ts +0 -12
- package/dist/src/model-config-editor/basic-type.d.ts +0 -13
- package/dist/src/model-config-editor/model-config-form.d.ts +0 -13
- package/dist/src/model-config-editor/popover-type.d.ts +0 -19
- package/dist/src/model-select/index.d.ts +0 -27
- package/dist/src/model-select/model-option/index.d.ts +0 -25
- package/dist/src/model-select/model-option-group/index.d.ts +0 -16
- package/dist/src/prompt-editor/index.d.ts +0 -31
- package/dist/src/prompt-editor/message-type-select.d.ts +0 -11
- package/dist/src/schema-editor/index.d.ts +0 -11
- package/dist/src/utils/model-config.d.ts +0 -5
- package/dist/style.css +0 -1
- package/dist/test-build.d.ts +0 -7
- package/dist/vite.config.d.ts +0 -2
|
@@ -0,0 +1,320 @@
|
|
|
1
|
+
export type Int64 = string | number;
|
|
2
|
+
export declare enum ByteTreeNodeResourceProvider {
|
|
3
|
+
TCE = 1,
|
|
4
|
+
TCC = 2,
|
|
5
|
+
Bernard = 3,
|
|
6
|
+
}
|
|
7
|
+
export declare enum DataImportMode {
|
|
8
|
+
Undefined = 0,
|
|
9
|
+
/** 追加 */
|
|
10
|
+
Append = 1,
|
|
11
|
+
/** 覆盖 */
|
|
12
|
+
Overwrite = 2,
|
|
13
|
+
}
|
|
14
|
+
export declare enum DataSourceType {
|
|
15
|
+
Undefined = 0,
|
|
16
|
+
TOS = 1,
|
|
17
|
+
}
|
|
18
|
+
export declare enum Family {
|
|
19
|
+
Undefined = 0,
|
|
20
|
+
GPT = 1,
|
|
21
|
+
Seed = 2,
|
|
22
|
+
Gemini = 3,
|
|
23
|
+
Claude = 4,
|
|
24
|
+
Ernie = 5,
|
|
25
|
+
Baichuan = 6,
|
|
26
|
+
Qwen = 7,
|
|
27
|
+
GLM = 8,
|
|
28
|
+
SkyLark = 9,
|
|
29
|
+
Moonshot = 10,
|
|
30
|
+
Minimax = 11,
|
|
31
|
+
Doubao = 12,
|
|
32
|
+
Baichuan2 = 13,
|
|
33
|
+
DeepSeekV2 = 14,
|
|
34
|
+
DeepSeekCoderV2 = 15,
|
|
35
|
+
DeepseekCoder = 16,
|
|
36
|
+
InternLM2_5 = 17,
|
|
37
|
+
Qwen2 = 18,
|
|
38
|
+
Qwen2_5 = 19,
|
|
39
|
+
Qwen2_5_Coder = 20,
|
|
40
|
+
MiniCPM = 21,
|
|
41
|
+
MiniCPM3 = 22,
|
|
42
|
+
ChatGLM3 = 23,
|
|
43
|
+
Mistral = 24,
|
|
44
|
+
Gemma = 25,
|
|
45
|
+
Gemma2 = 26,
|
|
46
|
+
InternVL2 = 27,
|
|
47
|
+
InternVL2_5 = 28,
|
|
48
|
+
DeepSeekV3 = 29,
|
|
49
|
+
DeepSeekR1 = 30,
|
|
50
|
+
}
|
|
51
|
+
export declare enum IDC {
|
|
52
|
+
HL = 1,
|
|
53
|
+
LF = 2,
|
|
54
|
+
LQ = 3,
|
|
55
|
+
YG = 4,
|
|
56
|
+
GL = 5,
|
|
57
|
+
MALIVA = 101,
|
|
58
|
+
SG1 = 201,
|
|
59
|
+
MY = 202,
|
|
60
|
+
MY2 = 203,
|
|
61
|
+
MYCISB = 204,
|
|
62
|
+
}
|
|
63
|
+
export declare enum MerlinFramework {
|
|
64
|
+
LLMServerPublic = 1,
|
|
65
|
+
Laplace = 2,
|
|
66
|
+
/** 电商团队专用协议,详见 https://bytedance.larkoffice.com/wiki/XKkowK9iniaggakI5WeckszEnxb */
|
|
67
|
+
Mixinfer = 3,
|
|
68
|
+
}
|
|
69
|
+
export declare enum MerlinLLMInterface {
|
|
70
|
+
MatxInference = 1,
|
|
71
|
+
}
|
|
72
|
+
export declare enum MerlinQuotaPoolType {
|
|
73
|
+
/** 稳定资源 */
|
|
74
|
+
Default = 0,
|
|
75
|
+
/** 潮汐资源 */
|
|
76
|
+
Hybrid = 1,
|
|
77
|
+
/** 常混资源 */
|
|
78
|
+
HybridShare = 2,
|
|
79
|
+
/** 第三方资源ali */
|
|
80
|
+
ALI = 3,
|
|
81
|
+
/** 第三方资源hw */
|
|
82
|
+
HW = 4,
|
|
83
|
+
/** hw arm */
|
|
84
|
+
HWARM = 5,
|
|
85
|
+
/** 弹性售卖资源,随时可能被抢占 */
|
|
86
|
+
Spot = 6,
|
|
87
|
+
/** 可抢占的稳定资源 */
|
|
88
|
+
Preemptible = 20,
|
|
89
|
+
}
|
|
90
|
+
export declare enum ModelFilterKey {
|
|
91
|
+
ModelType = 1,
|
|
92
|
+
ModelUserRight = 2,
|
|
93
|
+
ModelFeature = 3,
|
|
94
|
+
ModelFunction = 4,
|
|
95
|
+
ModelScenario = 5,
|
|
96
|
+
Custom = 20,
|
|
97
|
+
}
|
|
98
|
+
export declare enum ModelListFilterScene {
|
|
99
|
+
Evaluator = 1,
|
|
100
|
+
}
|
|
101
|
+
export declare enum ModelParamType {
|
|
102
|
+
Unknown = 0,
|
|
103
|
+
Float = 1,
|
|
104
|
+
Int = 2,
|
|
105
|
+
Boolean = 3,
|
|
106
|
+
String = 4,
|
|
107
|
+
}
|
|
108
|
+
export declare enum ModelStatus {
|
|
109
|
+
Undefined = 0,
|
|
110
|
+
/** 健康可用 */
|
|
111
|
+
Available = 1,
|
|
112
|
+
/** 部署中 */
|
|
113
|
+
Deploying = 2,
|
|
114
|
+
/** 不可用(已下线) */
|
|
115
|
+
Unavailable = 3,
|
|
116
|
+
/** 下线中 */
|
|
117
|
+
Offlining = 4,
|
|
118
|
+
}
|
|
119
|
+
export declare enum Provider {
|
|
120
|
+
/** GPT OpenAPI平台 */
|
|
121
|
+
GPTOpenAPI = 1,
|
|
122
|
+
/** 火山方舟 */
|
|
123
|
+
Maas = 2,
|
|
124
|
+
/** 暂时特指seed从bot_engine接入 */
|
|
125
|
+
BotEngine = 3,
|
|
126
|
+
/** merlin平台 */
|
|
127
|
+
Merlin = 4,
|
|
128
|
+
/** merlin-seed平台 */
|
|
129
|
+
MerlinSeed = 5,
|
|
130
|
+
/** 支持OpenAI API格式调用的模型服务,比如vllm部署的模型服务 */
|
|
131
|
+
OpenAI = 6,
|
|
132
|
+
}
|
|
133
|
+
export declare enum ProviderAccountType {
|
|
134
|
+
AKSK = 1,
|
|
135
|
+
APIKey = 2,
|
|
136
|
+
}
|
|
137
|
+
export declare enum Region {
|
|
138
|
+
CN = 1,
|
|
139
|
+
SG = 2,
|
|
140
|
+
US = 3,
|
|
141
|
+
}
|
|
142
|
+
export declare enum RuntimeCustomParamType {
|
|
143
|
+
Unknown = 0,
|
|
144
|
+
StringList = 1,
|
|
145
|
+
IntList = 2,
|
|
146
|
+
FloatList = 3,
|
|
147
|
+
String = 4,
|
|
148
|
+
Int = 5,
|
|
149
|
+
Float = 6,
|
|
150
|
+
Bool = 7,
|
|
151
|
+
}
|
|
152
|
+
export declare enum RuntimeHookType {
|
|
153
|
+
Unknown = 0,
|
|
154
|
+
MsgPreHook = 1,
|
|
155
|
+
}
|
|
156
|
+
export declare enum SftTaskBaseModelType {
|
|
157
|
+
Foundation = 0,
|
|
158
|
+
Custom = 1,
|
|
159
|
+
}
|
|
160
|
+
export declare enum SftTaskErrCode {
|
|
161
|
+
Default = 0,
|
|
162
|
+
/** 前2位代表错误分类,后4位代表具体错误
|
|
163
|
+
10 通用错误 */
|
|
164
|
+
InternalErr = 100000,
|
|
165
|
+
/** 训练集上传到平台方时出错 */
|
|
166
|
+
TrainingSetUploadedErr = 100001,
|
|
167
|
+
/** 在平台方创建精调任务出错 */
|
|
168
|
+
CreateProviderSftTaskErr = 100002,
|
|
169
|
+
/** 20 Merlin任务实例整体报错 */
|
|
170
|
+
MerlinTaskInternalError = 200000,
|
|
171
|
+
/** gpu cpu mem 套餐配比错误 */
|
|
172
|
+
MerlinGpuCpuMemRatioBad = 200001,
|
|
173
|
+
/** 21 Merlin训练脚本主动上报的错误 */
|
|
174
|
+
MerlinReportedInternalErr = 210000,
|
|
175
|
+
MerlinOOM = 210001,
|
|
176
|
+
/** 没找到模型训练产物 */
|
|
177
|
+
MerlinNoModelGenerated = 210002,
|
|
178
|
+
/** 30 火山方舟任务失败
|
|
179
|
+
方舟通用错误 */
|
|
180
|
+
MaaSInternalErr = 300000,
|
|
181
|
+
/** 验证集比例分割异常 */
|
|
182
|
+
MaaSValidationSetSplitErr = 300001,
|
|
183
|
+
/** 训练数据格式不符合预期 */
|
|
184
|
+
MaaSTrainingSetNoValid = 300002,
|
|
185
|
+
/** 业务方的火山账号没有开通模型服务 */
|
|
186
|
+
MaaSAccountModelServiceIsNotActivated = 300003,
|
|
187
|
+
/** 缺少必要的请求参数。请确认请求参数后重试。 */
|
|
188
|
+
MaaSRequiredParamMissing = 300004,
|
|
189
|
+
/** 请求参数值不合法。请检查参数值的正确性后重试。 */
|
|
190
|
+
MaaSRequestParamInvalid = 300005,
|
|
191
|
+
/** 对象的标签存在重复Key */
|
|
192
|
+
MaaSDuplicateTags = 300006,
|
|
193
|
+
/** 无法同时上传验证集和设置训练集取样为验证集百分比,不支持该操作 */
|
|
194
|
+
MaaSNotSupportedToConfigureValidationSetAndPercentage = 300007,
|
|
195
|
+
/** 您没有权限访问基础模型的配置,不支持该操作 */
|
|
196
|
+
MaaSNotPermittedToAccessModel = 300008,
|
|
197
|
+
/** 模型不支持该训练方法,不支持该操作 */
|
|
198
|
+
MaaSModelNotSupportTheTrainingMethod = 300009,
|
|
199
|
+
/** 基础模型的版本不支持该训练方法,不支持该操作 */
|
|
200
|
+
MaaSFoundationModelNotSupportTheTrainingMethod = 300010,
|
|
201
|
+
/** 您的账单已逾期,不支持该操作。请前往火山费用中心充值 */
|
|
202
|
+
MaaSAccountBalanceOverdue = 300011,
|
|
203
|
+
/** 未知错误,请稍后重试。如果多次尝试仍失败,请提交工单 */
|
|
204
|
+
MaaSUnknownErr = 300012,
|
|
205
|
+
}
|
|
206
|
+
export declare enum SftTaskHyperParamType {
|
|
207
|
+
Int = 1,
|
|
208
|
+
Float = 2,
|
|
209
|
+
String = 3,
|
|
210
|
+
Bool = 4,
|
|
211
|
+
Percentage = 5,
|
|
212
|
+
}
|
|
213
|
+
export declare enum SftTaskOutputExportType {
|
|
214
|
+
/** 导出到新模型 */
|
|
215
|
+
NewModel = 1,
|
|
216
|
+
/** 导出到已有模型 */
|
|
217
|
+
ExistModel = 2,
|
|
218
|
+
}
|
|
219
|
+
export declare enum SftTaskOutputStatus {
|
|
220
|
+
/** 未导出 */
|
|
221
|
+
Available = 1,
|
|
222
|
+
/** 已导出 */
|
|
223
|
+
Exported = 2,
|
|
224
|
+
/** 已过期 */
|
|
225
|
+
Expired = 3,
|
|
226
|
+
/** 导出中 */
|
|
227
|
+
Exporting = 4,
|
|
228
|
+
/** 导出失败 */
|
|
229
|
+
ExportFailed = 5,
|
|
230
|
+
}
|
|
231
|
+
export declare enum SftTaskResourceMerlinVersion {
|
|
232
|
+
RemoveAnyGPU = 1,
|
|
233
|
+
}
|
|
234
|
+
export declare enum SftTaskRunEventType {
|
|
235
|
+
Undefined = 0,
|
|
236
|
+
ErrorOccured = 1,
|
|
237
|
+
UploadCkpt = 2,
|
|
238
|
+
ReportMetricsURL = 3,
|
|
239
|
+
ReportProgress = 5,
|
|
240
|
+
ReportTrainingStart = 6,
|
|
241
|
+
ReportTrainingFinished = 7,
|
|
242
|
+
}
|
|
243
|
+
export declare enum SftTaskStatusPhase {
|
|
244
|
+
Preprocessing = 0,
|
|
245
|
+
Queued = 1,
|
|
246
|
+
Deploying = 2,
|
|
247
|
+
Running = 3,
|
|
248
|
+
Completing = 4,
|
|
249
|
+
Completed = 5,
|
|
250
|
+
Terminating = 6,
|
|
251
|
+
Terminated = 7,
|
|
252
|
+
Failed = 8,
|
|
253
|
+
}
|
|
254
|
+
export declare enum SftTaskTrainingMethod {
|
|
255
|
+
LoRA = 1,
|
|
256
|
+
Full = 2,
|
|
257
|
+
}
|
|
258
|
+
export declare enum SftTaskTrainingType {
|
|
259
|
+
SftFineTuning = 1,
|
|
260
|
+
}
|
|
261
|
+
export declare enum SftTaskValidationSetType {
|
|
262
|
+
SplitFromTrainingSet = 1,
|
|
263
|
+
}
|
|
264
|
+
export declare enum TaskStatus {
|
|
265
|
+
Undefined = 0,
|
|
266
|
+
/** 正在初始化 */
|
|
267
|
+
Initializing = 1,
|
|
268
|
+
/** 正在运行 */
|
|
269
|
+
Running = 2,
|
|
270
|
+
/** 成功完成 */
|
|
271
|
+
Done = 3,
|
|
272
|
+
/** 失败 */
|
|
273
|
+
Failed = 4,
|
|
274
|
+
/** 手动终止 */
|
|
275
|
+
Terminated = 5,
|
|
276
|
+
/** 成功完成,但有错误 */
|
|
277
|
+
DoneWithError = 6,
|
|
278
|
+
}
|
|
279
|
+
export declare enum TrainingDataFileType {
|
|
280
|
+
Undefined = 0,
|
|
281
|
+
JSONL = 1,
|
|
282
|
+
}
|
|
283
|
+
export declare enum TrainingDatasetType {
|
|
284
|
+
Undefined = 0,
|
|
285
|
+
SFTChat = 1,
|
|
286
|
+
SFTFunctionCall = 2,
|
|
287
|
+
SFTMultiModalUnderstanding = 3,
|
|
288
|
+
}
|
|
289
|
+
export declare enum TrainingFileOpType {
|
|
290
|
+
Undefined = 0,
|
|
291
|
+
Get = 1,
|
|
292
|
+
Put = 2,
|
|
293
|
+
}
|
|
294
|
+
export declare enum UsageScenario {
|
|
295
|
+
/** 默认场景 */
|
|
296
|
+
Default = 1,
|
|
297
|
+
/** 评测场景 */
|
|
298
|
+
Evaluation = 2,
|
|
299
|
+
/** Prompt as a Service调用 */
|
|
300
|
+
PromptAsAService = 3,
|
|
301
|
+
/** AI打标 */
|
|
302
|
+
AIAnnotate = 4,
|
|
303
|
+
/** 质量分 */
|
|
304
|
+
AIScore = 5,
|
|
305
|
+
/** 数据标签 */
|
|
306
|
+
AITag = 6,
|
|
307
|
+
}
|
|
308
|
+
export declare enum ValidateStatus {
|
|
309
|
+
Pass = 1,
|
|
310
|
+
Failed = 2,
|
|
311
|
+
Skip = 3,
|
|
312
|
+
}
|
|
313
|
+
export declare enum VisibleMode {
|
|
314
|
+
/** 默认(仅模型所属空间可见) */
|
|
315
|
+
Default = 1,
|
|
316
|
+
/** 指定空间可见 */
|
|
317
|
+
Specified = 2,
|
|
318
|
+
/** 所有空间可见 */
|
|
319
|
+
All = 3,
|
|
320
|
+
}
|