@cozeloop/prompt-components 0.0.1 → 0.0.3

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 (150) hide show
  1. package/dist/es/idls/fornax_ml_flow/index.js +2322 -0
  2. package/dist/es/idls/fornax_ml_flow/namespaces/ai_annotate.js +41 -0
  3. package/dist/es/idls/fornax_ml_flow/namespaces/aidpcallback.js +108 -0
  4. package/dist/es/idls/fornax_ml_flow/namespaces/annotation_job.js +52 -0
  5. package/dist/es/idls/fornax_ml_flow/namespaces/base.js +0 -0
  6. package/dist/es/idls/fornax_ml_flow/namespaces/batch_infer.js +72 -0
  7. package/dist/es/idls/fornax_ml_flow/namespaces/dataprocess.js +10 -0
  8. package/dist/es/idls/fornax_ml_flow/namespaces/dataset.js +36 -0
  9. package/dist/es/idls/fornax_ml_flow/namespaces/datasetv2.js +139 -0
  10. package/dist/es/idls/fornax_ml_flow/namespaces/datasetv2job.js +40 -0
  11. package/dist/es/idls/fornax_ml_flow/namespaces/datasetv2lineage.js +25 -0
  12. package/dist/es/idls/fornax_ml_flow/namespaces/datasetv2similarity.js +12 -0
  13. package/dist/es/idls/fornax_ml_flow/namespaces/filter.js +0 -0
  14. package/dist/es/idls/fornax_ml_flow/namespaces/flow_devops_evaluation_callback_common.js +36 -0
  15. package/dist/es/idls/fornax_ml_flow/namespaces/flow_devops_prompt_common.js +318 -0
  16. package/dist/es/idls/fornax_ml_flow/namespaces/fornax_domain_model.js +326 -0
  17. package/dist/es/idls/fornax_ml_flow/namespaces/ml_flow_domain_model.js +327 -0
  18. package/dist/es/idls/fornax_ml_flow/namespaces/openapi.js +0 -0
  19. package/dist/es/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_annotateservice.js +0 -0
  20. package/dist/es/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_annotationjobservice.js +0 -0
  21. package/dist/es/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_batchinferservice.js +0 -0
  22. package/dist/es/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_crowdsourcingannotationjobservice.js +0 -0
  23. package/dist/es/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_dataprocessservice.js +0 -0
  24. package/dist/es/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_datasetservice.js +0 -0
  25. package/dist/es/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_datasetservicev2.js +0 -0
  26. package/dist/es/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_modelservice.js +0 -0
  27. package/dist/es/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_openapi_annotationjobservice.js +0 -0
  28. package/dist/es/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_openapi_batchinferservice.js +0 -0
  29. package/dist/es/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_openapi_datasetservicev2.js +0 -0
  30. package/dist/es/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_tagservice.js +0 -0
  31. package/dist/es/idls/fornax_ml_flow/namespaces/tag.js +33 -0
  32. package/dist/es/idls/prompt_api/index.js +2009 -0
  33. package/dist/es/idls/prompt_api/namespaces/base.js +0 -0
  34. package/dist/es/idls/prompt_api/namespaces/flow_devops_prompt_callback.js +35 -0
  35. package/dist/es/idls/prompt_api/namespaces/flow_devops_prompt_commercial_openapi.js +0 -0
  36. package/dist/es/idls/prompt_api/namespaces/flow_devops_prompt_common.js +318 -0
  37. package/dist/es/idls/prompt_api/namespaces/flow_devops_prompt_debug.js +0 -0
  38. package/dist/es/idls/prompt_api/namespaces/flow_devops_prompt_manage.js +23 -0
  39. package/dist/es/idls/prompt_api/namespaces/flow_devops_prompt_mcp.js +0 -0
  40. package/dist/es/idls/prompt_api/namespaces/flow_devops_prompt_optimize.js +0 -0
  41. package/dist/es/idls/prompt_api/namespaces/flow_devops_prompt_paas.js +43 -0
  42. package/dist/es/idls/prompt_api/namespaces/flow_devops_prompt_platform.js +0 -0
  43. package/dist/es/idls/prompt_api/namespaces/mcp.js +9 -0
  44. package/dist/es/idls/prompt_api/namespaces/model.js +320 -0
  45. package/dist/es/idls/prompt_api/namespaces/permission.js +47 -0
  46. package/dist/es/idls/prompt_api/namespaces/release.js +25 -0
  47. package/dist/es/prompt-editor/index.js +1 -1
  48. package/dist/es/utils/model-config.js +3 -3
  49. package/dist/lib/idls/fornax_ml_flow/index.js +2414 -0
  50. package/dist/lib/idls/fornax_ml_flow/namespaces/ai_annotate.js +69 -0
  51. package/dist/lib/idls/fornax_ml_flow/namespaces/aidpcallback.js +140 -0
  52. package/dist/lib/idls/fornax_ml_flow/namespaces/annotation_job.js +82 -0
  53. package/dist/lib/idls/fornax_ml_flow/namespaces/base.js +16 -0
  54. package/dist/lib/idls/fornax_ml_flow/namespaces/batch_infer.js +105 -0
  55. package/dist/lib/idls/fornax_ml_flow/namespaces/dataprocess.js +34 -0
  56. package/dist/lib/idls/fornax_ml_flow/namespaces/dataset.js +63 -0
  57. package/dist/lib/idls/fornax_ml_flow/namespaces/datasetv2.js +177 -0
  58. package/dist/lib/idls/fornax_ml_flow/namespaces/datasetv2job.js +68 -0
  59. package/dist/lib/idls/fornax_ml_flow/namespaces/datasetv2lineage.js +50 -0
  60. package/dist/lib/idls/fornax_ml_flow/namespaces/datasetv2similarity.js +37 -0
  61. package/dist/lib/idls/fornax_ml_flow/namespaces/filter.js +16 -0
  62. package/dist/lib/idls/fornax_ml_flow/namespaces/flow_devops_evaluation_callback_common.js +62 -0
  63. package/dist/lib/idls/fornax_ml_flow/namespaces/flow_devops_prompt_common.js +378 -0
  64. package/dist/lib/idls/fornax_ml_flow/namespaces/fornax_domain_model.js +384 -0
  65. package/dist/lib/idls/fornax_ml_flow/namespaces/ml_flow_domain_model.js +385 -0
  66. package/dist/lib/idls/fornax_ml_flow/namespaces/openapi.js +16 -0
  67. package/dist/lib/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_annotateservice.js +16 -0
  68. package/dist/lib/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_annotationjobservice.js +16 -0
  69. package/dist/lib/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_batchinferservice.js +16 -0
  70. package/dist/lib/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_crowdsourcingannotationjobservice.js +16 -0
  71. package/dist/lib/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_dataprocessservice.js +16 -0
  72. package/dist/lib/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_datasetservice.js +16 -0
  73. package/dist/lib/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_datasetservicev2.js +16 -0
  74. package/dist/lib/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_modelservice.js +16 -0
  75. package/dist/lib/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_openapi_annotationjobservice.js +16 -0
  76. package/dist/lib/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_openapi_batchinferservice.js +16 -0
  77. package/dist/lib/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_openapi_datasetservicev2.js +16 -0
  78. package/dist/lib/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_tagservice.js +16 -0
  79. package/dist/lib/idls/fornax_ml_flow/namespaces/tag.js +60 -0
  80. package/dist/lib/idls/prompt_api/index.js +2071 -0
  81. package/dist/lib/idls/prompt_api/namespaces/base.js +16 -0
  82. package/dist/lib/idls/prompt_api/namespaces/flow_devops_prompt_callback.js +62 -0
  83. package/dist/lib/idls/prompt_api/namespaces/flow_devops_prompt_commercial_openapi.js +16 -0
  84. package/dist/lib/idls/prompt_api/namespaces/flow_devops_prompt_common.js +378 -0
  85. package/dist/lib/idls/prompt_api/namespaces/flow_devops_prompt_debug.js +16 -0
  86. package/dist/lib/idls/prompt_api/namespaces/flow_devops_prompt_manage.js +49 -0
  87. package/dist/lib/idls/prompt_api/namespaces/flow_devops_prompt_mcp.js +16 -0
  88. package/dist/lib/idls/prompt_api/namespaces/flow_devops_prompt_optimize.js +16 -0
  89. package/dist/lib/idls/prompt_api/namespaces/flow_devops_prompt_paas.js +72 -0
  90. package/dist/lib/idls/prompt_api/namespaces/flow_devops_prompt_platform.js +16 -0
  91. package/dist/lib/idls/prompt_api/namespaces/mcp.js +33 -0
  92. package/dist/lib/idls/prompt_api/namespaces/model.js +377 -0
  93. package/dist/lib/idls/prompt_api/namespaces/permission.js +72 -0
  94. package/dist/lib/idls/prompt_api/namespaces/release.js +50 -0
  95. package/dist/lib/prompt-editor/index.js +1 -1
  96. package/dist/lib/utils/model-config.js +13 -3
  97. package/dist/types/idls/fornax_ml_flow/index.d.ts +779 -0
  98. package/dist/types/idls/fornax_ml_flow/namespaces/ai_annotate.d.ts +102 -0
  99. package/dist/types/idls/fornax_ml_flow/namespaces/aidpcallback.d.ts +227 -0
  100. package/dist/types/idls/fornax_ml_flow/namespaces/annotation_job.d.ts +402 -0
  101. package/dist/types/idls/fornax_ml_flow/namespaces/base.d.ts +18 -0
  102. package/dist/types/idls/fornax_ml_flow/namespaces/batch_infer.d.ts +331 -0
  103. package/dist/types/idls/fornax_ml_flow/namespaces/dataprocess.d.ts +16 -0
  104. package/dist/types/idls/fornax_ml_flow/namespaces/dataset.d.ts +88 -0
  105. package/dist/types/idls/fornax_ml_flow/namespaces/datasetv2.d.ts +462 -0
  106. package/dist/types/idls/fornax_ml_flow/namespaces/datasetv2job.d.ts +180 -0
  107. package/dist/types/idls/fornax_ml_flow/namespaces/datasetv2lineage.d.ts +69 -0
  108. package/dist/types/idls/fornax_ml_flow/namespaces/datasetv2similarity.d.ts +8 -0
  109. package/dist/types/idls/fornax_ml_flow/namespaces/filter.d.ts +39 -0
  110. package/dist/types/idls/fornax_ml_flow/namespaces/flow_devops_evaluation_callback_common.d.ts +88 -0
  111. package/dist/types/idls/fornax_ml_flow/namespaces/flow_devops_prompt_common.d.ts +370 -0
  112. package/dist/types/idls/fornax_ml_flow/namespaces/fornax_domain_model.d.ts +320 -0
  113. package/dist/types/idls/fornax_ml_flow/namespaces/ml_flow_domain_model.d.ts +510 -0
  114. package/dist/types/idls/fornax_ml_flow/namespaces/openapi.d.ts +6 -0
  115. package/dist/types/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_annotateservice.d.ts +106 -0
  116. package/dist/types/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_annotationjobservice.d.ts +256 -0
  117. package/dist/types/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_batchinferservice.d.ts +73 -0
  118. package/dist/types/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_crowdsourcingannotationjobservice.d.ts +94 -0
  119. package/dist/types/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_dataprocessservice.d.ts +11 -0
  120. package/dist/types/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_datasetservice.d.ts +24 -0
  121. package/dist/types/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_datasetservicev2.d.ts +653 -0
  122. package/dist/types/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_modelservice.d.ts +83 -0
  123. package/dist/types/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_openapi_annotationjobservice.d.ts +81 -0
  124. package/dist/types/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_openapi_batchinferservice.d.ts +24 -0
  125. package/dist/types/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_openapi_datasetservicev2.d.ts +260 -0
  126. package/dist/types/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_tagservice.d.ts +111 -0
  127. package/dist/types/idls/fornax_ml_flow/namespaces/tag.d.ts +109 -0
  128. package/dist/types/idls/prompt_api/index.d.ts +667 -0
  129. package/dist/types/idls/prompt_api/namespaces/base.d.ts +18 -0
  130. package/dist/types/idls/prompt_api/namespaces/flow_devops_prompt_callback.d.ts +102 -0
  131. package/dist/types/idls/prompt_api/namespaces/flow_devops_prompt_commercial_openapi.d.ts +81 -0
  132. package/dist/types/idls/prompt_api/namespaces/flow_devops_prompt_common.d.ts +1270 -0
  133. package/dist/types/idls/prompt_api/namespaces/flow_devops_prompt_debug.d.ts +197 -0
  134. package/dist/types/idls/prompt_api/namespaces/flow_devops_prompt_manage.d.ts +769 -0
  135. package/dist/types/idls/prompt_api/namespaces/flow_devops_prompt_mcp.d.ts +301 -0
  136. package/dist/types/idls/prompt_api/namespaces/flow_devops_prompt_optimize.d.ts +155 -0
  137. package/dist/types/idls/prompt_api/namespaces/flow_devops_prompt_paas.d.ts +198 -0
  138. package/dist/types/idls/prompt_api/namespaces/flow_devops_prompt_platform.d.ts +230 -0
  139. package/dist/types/idls/prompt_api/namespaces/mcp.d.ts +95 -0
  140. package/dist/types/idls/prompt_api/namespaces/model.d.ts +315 -0
  141. package/dist/types/idls/prompt_api/namespaces/permission.d.ts +52 -0
  142. package/dist/types/idls/prompt_api/namespaces/release.d.ts +62 -0
  143. package/dist/types/model-config-editor/basic-type.d.ts +2 -2
  144. package/dist/types/model-config-editor/model-config-form.d.ts +1 -1
  145. package/dist/types/model-config-editor/popover-type.d.ts +3 -3
  146. package/dist/types/model-select/index.d.ts +1 -1
  147. package/dist/types/model-select/model-option/index.d.ts +1 -1
  148. package/dist/types/prompt-editor/index.d.ts +1 -1
  149. package/dist/types/utils/model-config.d.ts +4 -4
  150. package/package.json +5 -3
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var tag_exports = {};
20
+ __export(tag_exports, {
21
+ ChangeTargetType: () => ChangeTargetType,
22
+ OperationType: () => OperationType,
23
+ TagStatus: () => TagStatus,
24
+ TagType: () => TagType
25
+ });
26
+ module.exports = __toCommonJS(tag_exports);
27
+ var ChangeTargetType = /* @__PURE__ */ ((ChangeTargetType2) => {
28
+ ChangeTargetType2[ChangeTargetType2["Tag"] = 1] = "Tag";
29
+ ChangeTargetType2[ChangeTargetType2["TagName"] = 2] = "TagName";
30
+ ChangeTargetType2[ChangeTargetType2["TagDescription"] = 3] = "TagDescription";
31
+ ChangeTargetType2[ChangeTargetType2["TagStatus"] = 4] = "TagStatus";
32
+ ChangeTargetType2[ChangeTargetType2["TagType"] = 5] = "TagType";
33
+ ChangeTargetType2[ChangeTargetType2["TagValueName"] = 6] = "TagValueName";
34
+ ChangeTargetType2[ChangeTargetType2["TagValueStatus"] = 7] = "TagValueStatus";
35
+ return ChangeTargetType2;
36
+ })(ChangeTargetType || {});
37
+ var OperationType = /* @__PURE__ */ ((OperationType2) => {
38
+ OperationType2[OperationType2["Create"] = 1] = "Create";
39
+ OperationType2[OperationType2["Update"] = 2] = "Update";
40
+ OperationType2[OperationType2["Delete"] = 3] = "Delete";
41
+ return OperationType2;
42
+ })(OperationType || {});
43
+ var TagStatus = /* @__PURE__ */ ((TagStatus2) => {
44
+ TagStatus2[TagStatus2["Active"] = 1] = "Active";
45
+ TagStatus2[TagStatus2["Inactive"] = 2] = "Inactive";
46
+ TagStatus2[TagStatus2["Deprecated"] = 99] = "Deprecated";
47
+ return TagStatus2;
48
+ })(TagStatus || {});
49
+ var TagType = /* @__PURE__ */ ((TagType2) => {
50
+ TagType2[TagType2["Tag"] = 1] = "Tag";
51
+ TagType2[TagType2["Option"] = 2] = "Option";
52
+ return TagType2;
53
+ })(TagType || {});
54
+ // Annotate the CommonJS export names for ESM import in node:
55
+ 0 && (module.exports = {
56
+ ChangeTargetType,
57
+ OperationType,
58
+ TagStatus,
59
+ TagType
60
+ });