@inf-monkeys-tech/monkeys 1.1.63 → 1.1.64

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 (50) hide show
  1. package/lib/contracts/bento-block.d.ts +491 -0
  2. package/lib/contracts/bento-block.d.ts.map +1 -1
  3. package/lib/contracts/bento-block.js +158 -12
  4. package/lib/contracts/bento-block.js.map +1 -1
  5. package/lib/contracts/declarative-control-http.d.ts +2358 -255
  6. package/lib/contracts/declarative-control-http.d.ts.map +1 -1
  7. package/lib/contracts/declarative-control.d.ts +193 -19
  8. package/lib/contracts/declarative-control.d.ts.map +1 -1
  9. package/lib/contracts/declarative-publication-job.d.ts +504 -64
  10. package/lib/contracts/declarative-publication-job.d.ts.map +1 -1
  11. package/lib/contracts/page.d.ts +1 -1
  12. package/lib/contracts/render.d.ts +118 -30
  13. package/lib/contracts/render.d.ts.map +1 -1
  14. package/lib/contracts/render.js +6 -1
  15. package/lib/contracts/render.js.map +1 -1
  16. package/lib/contracts/tenant.d.ts +7 -7
  17. package/lib/contracts/unified-view.d.ts +87 -0
  18. package/lib/contracts/unified-view.d.ts.map +1 -1
  19. package/lib/contracts/workflow-column.d.ts +2 -2
  20. package/lib/esm/{chunk-SDA2NWFB.mjs → chunk-AOAJSAI7.mjs} +2 -2
  21. package/lib/esm/chunk-AOAJSAI7.mjs.map +1 -0
  22. package/lib/esm/{chunk-766TRFRH.mjs → chunk-BFGFPBEU.mjs} +142 -12
  23. package/lib/esm/chunk-BFGFPBEU.mjs.map +1 -0
  24. package/lib/esm/{chunk-BTJGKWPM.mjs → chunk-E6UOE6OP.mjs} +6 -3
  25. package/lib/esm/{chunk-BTJGKWPM.mjs.map → chunk-E6UOE6OP.mjs.map} +1 -1
  26. package/lib/esm/{chunk-MP4OJWJ3.mjs → chunk-WC65QK2H.mjs} +2 -2
  27. package/lib/esm/contracts/index.mjs +24 -2
  28. package/lib/esm/index.mjs +26 -4
  29. package/lib/esm/index.mjs.map +1 -1
  30. package/lib/esm/runtime/index.mjs +3 -3
  31. package/lib/esm/schemas/index.mjs +26 -2
  32. package/lib/json-schema/bento-node.schema.json +425 -1
  33. package/lib/json-schema/overlay-node.schema.json +423 -1
  34. package/lib/json-schema/page-runtime-bundle.schema.json +720 -2
  35. package/lib/json-schema/render-node.schema.json +423 -1
  36. package/lib/json-schema/render-tree.schema.json +720 -2
  37. package/lib/json-schema/view-ontology-record.schema.json +722 -2
  38. package/lib/runtime/bento-render-tree.d.ts.map +1 -1
  39. package/lib/runtime/bento-render-tree.js +3 -0
  40. package/lib/runtime/bento-render-tree.js.map +1 -1
  41. package/lib/runtime/runtime-definition-wire.d.ts +252 -32
  42. package/lib/runtime/runtime-definition-wire.d.ts.map +1 -1
  43. package/lib/schemas/index.d.ts +189 -15
  44. package/lib/schemas/index.d.ts.map +1 -1
  45. package/lib/schemas/index.js +16 -3
  46. package/lib/schemas/index.js.map +1 -1
  47. package/package.json +2 -2
  48. package/lib/esm/chunk-766TRFRH.mjs.map +0 -1
  49. package/lib/esm/chunk-SDA2NWFB.mjs.map +0 -1
  50. /package/lib/esm/{chunk-MP4OJWJ3.mjs.map → chunk-WC65QK2H.mjs.map} +0 -0
@@ -15,7 +15,7 @@ import {
15
15
  ManagedFileUriSchema,
16
16
  RevisionRefSchema,
17
17
  Sha256Schema
18
- } from "./chunk-766TRFRH.mjs";
18
+ } from "./chunk-BFGFPBEU.mjs";
19
19
 
20
20
  // src/contracts/agent-data.ts
21
21
  import { z } from "zod";
@@ -688,4 +688,4 @@ export {
688
688
  PlatformNotificationSnapshotSchema,
689
689
  platformNotificationRoutes
690
690
  };
691
- //# sourceMappingURL=chunk-MP4OJWJ3.mjs.map
691
+ //# sourceMappingURL=chunk-WC65QK2H.mjs.map
@@ -87,7 +87,7 @@ import {
87
87
  TaskAgentSessionLinkSchema,
88
88
  pageStreamRoutes,
89
89
  platformNotificationRoutes
90
- } from "../chunk-MP4OJWJ3.mjs";
90
+ } from "../chunk-WC65QK2H.mjs";
91
91
  import {
92
92
  ACTION_PROGRAM_ABI,
93
93
  AGENT_MODE_CAPABILITIES,
@@ -190,6 +190,7 @@ import {
190
190
  BENTO_GRID_MAX_ROWS,
191
191
  BENTO_GRID_MIN_H,
192
192
  BENTO_GRID_MIN_W,
193
+ BentoActionResultSchema,
193
194
  BentoChromeSchema,
194
195
  BentoGridRectSchema,
195
196
  BentoNodeSchema,
@@ -580,6 +581,8 @@ import {
580
581
  ReleaseValidationSchema,
581
582
  RenderActivationSchema,
582
583
  RenderBentoBindingSchema,
584
+ RenderBentoOntologyActionBindingSchema,
585
+ RenderBentoOntologyRelationBindingSchema,
583
586
  RenderBentoSurfaceSchema,
584
587
  RenderDynamicLayoutSchema,
585
588
  RenderLayoutSchema,
@@ -677,8 +680,16 @@ import {
677
680
  ViewProviderDescriptorSchema,
678
681
  ViewShareLinkPolicySchema,
679
682
  ViewShareTargetGrantSchema,
683
+ ViewSqlAggregateHavingSchema,
684
+ ViewSqlAggregateHierarchyScopeSchema,
685
+ ViewSqlAggregateJoinSchema,
680
686
  ViewSqlAggregateMetricSchema,
687
+ ViewSqlAggregatePaginationSchema,
688
+ ViewSqlAggregateStatementSchema,
689
+ ViewSqlAggregateTimeBucketSchema,
690
+ ViewSqlAggregateUnwindSchema,
681
691
  ViewSqlCachePolicySchema,
692
+ ViewSqlFilterNodeSchema,
682
693
  ViewSqlFromSourceSchema,
683
694
  ViewSqlGraphSpecSchema,
684
695
  ViewSqlOrderBySchema,
@@ -748,7 +759,7 @@ import {
748
759
  resolveAgentWorkbenchSidebarConfig,
749
760
  validateBentoTree,
750
761
  visitPageExpression
751
- } from "../chunk-766TRFRH.mjs";
762
+ } from "../chunk-BFGFPBEU.mjs";
752
763
  import "../chunk-3QS3WKRC.mjs";
753
764
  export {
754
765
  ACTION_PROGRAM_ABI,
@@ -890,6 +901,7 @@ export {
890
901
  BENTO_GRID_MAX_ROWS,
891
902
  BENTO_GRID_MIN_H,
892
903
  BENTO_GRID_MIN_W,
904
+ BentoActionResultSchema,
893
905
  BentoChromeSchema,
894
906
  BentoGridRectSchema,
895
907
  BentoNodeSchema,
@@ -1322,6 +1334,8 @@ export {
1322
1334
  ReleaseValidationSchema,
1323
1335
  RenderActivationSchema,
1324
1336
  RenderBentoBindingSchema,
1337
+ RenderBentoOntologyActionBindingSchema,
1338
+ RenderBentoOntologyRelationBindingSchema,
1325
1339
  RenderBentoSurfaceSchema,
1326
1340
  RenderDynamicLayoutSchema,
1327
1341
  RenderLayoutSchema,
@@ -1425,8 +1439,16 @@ export {
1425
1439
  ViewProviderDescriptorSchema,
1426
1440
  ViewShareLinkPolicySchema,
1427
1441
  ViewShareTargetGrantSchema,
1442
+ ViewSqlAggregateHavingSchema,
1443
+ ViewSqlAggregateHierarchyScopeSchema,
1444
+ ViewSqlAggregateJoinSchema,
1428
1445
  ViewSqlAggregateMetricSchema,
1446
+ ViewSqlAggregatePaginationSchema,
1447
+ ViewSqlAggregateStatementSchema,
1448
+ ViewSqlAggregateTimeBucketSchema,
1449
+ ViewSqlAggregateUnwindSchema,
1429
1450
  ViewSqlCachePolicySchema,
1451
+ ViewSqlFilterNodeSchema,
1430
1452
  ViewSqlFromSourceSchema,
1431
1453
  ViewSqlGraphSpecSchema,
1432
1454
  ViewSqlOrderBySchema,
package/lib/esm/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  canonicalContractSchemas
3
- } from "./chunk-SDA2NWFB.mjs";
3
+ } from "./chunk-AOAJSAI7.mjs";
4
4
  import {
5
5
  APPLICATION_HANDOFF_QUERY_PARAMETER,
6
6
  DEFAULT_CONDUCTOR_OWNER_EMAIL,
@@ -153,7 +153,7 @@ import {
153
153
  validateDomainCommand,
154
154
  validateWorkbenchRuntimeSet,
155
155
  writePageDraftPath
156
- } from "./chunk-BTJGKWPM.mjs";
156
+ } from "./chunk-E6UOE6OP.mjs";
157
157
  import {
158
158
  AGENT_DATA_CONTEXT_ENV,
159
159
  AGENT_DATA_CONTEXT_FILE_ENV,
@@ -243,7 +243,7 @@ import {
243
243
  TaskAgentSessionLinkSchema,
244
244
  pageStreamRoutes,
245
245
  platformNotificationRoutes
246
- } from "./chunk-MP4OJWJ3.mjs";
246
+ } from "./chunk-WC65QK2H.mjs";
247
247
  import {
248
248
  ACTION_PROGRAM_ABI,
249
249
  AGENT_MODE_CAPABILITIES,
@@ -346,6 +346,7 @@ import {
346
346
  BENTO_GRID_MAX_ROWS,
347
347
  BENTO_GRID_MIN_H,
348
348
  BENTO_GRID_MIN_W,
349
+ BentoActionResultSchema,
349
350
  BentoChromeSchema,
350
351
  BentoGridRectSchema,
351
352
  BentoNodeSchema,
@@ -737,6 +738,8 @@ import {
737
738
  ReleaseValidationSchema,
738
739
  RenderActivationSchema,
739
740
  RenderBentoBindingSchema,
741
+ RenderBentoOntologyActionBindingSchema,
742
+ RenderBentoOntologyRelationBindingSchema,
740
743
  RenderBentoSurfaceSchema,
741
744
  RenderDynamicLayoutSchema,
742
745
  RenderLayoutSchema,
@@ -835,8 +838,16 @@ import {
835
838
  ViewProviderDescriptorSchema,
836
839
  ViewShareLinkPolicySchema,
837
840
  ViewShareTargetGrantSchema,
841
+ ViewSqlAggregateHavingSchema,
842
+ ViewSqlAggregateHierarchyScopeSchema,
843
+ ViewSqlAggregateJoinSchema,
838
844
  ViewSqlAggregateMetricSchema,
845
+ ViewSqlAggregatePaginationSchema,
846
+ ViewSqlAggregateStatementSchema,
847
+ ViewSqlAggregateTimeBucketSchema,
848
+ ViewSqlAggregateUnwindSchema,
839
849
  ViewSqlCachePolicySchema,
850
+ ViewSqlFilterNodeSchema,
840
851
  ViewSqlFromSourceSchema,
841
852
  ViewSqlGraphSpecSchema,
842
853
  ViewSqlOrderBySchema,
@@ -912,7 +923,7 @@ import {
912
923
  validateThemeTokensDocument,
913
924
  validateThemeTokensDocumentStructure,
914
925
  visitPageExpression
915
- } from "./chunk-766TRFRH.mjs";
926
+ } from "./chunk-BFGFPBEU.mjs";
916
927
  import "./chunk-3QS3WKRC.mjs";
917
928
 
918
929
  // src/types/tool.ts
@@ -1092,6 +1103,7 @@ export {
1092
1103
  BENTO_GRID_MAX_ROWS,
1093
1104
  BENTO_GRID_MIN_H,
1094
1105
  BENTO_GRID_MIN_W,
1106
+ BentoActionResultSchema,
1095
1107
  BentoChromeSchema,
1096
1108
  BentoGridRectSchema,
1097
1109
  BentoNodeSchema,
@@ -1534,6 +1546,8 @@ export {
1534
1546
  ReleaseValidationSchema,
1535
1547
  RenderActivationSchema,
1536
1548
  RenderBentoBindingSchema,
1549
+ RenderBentoOntologyActionBindingSchema,
1550
+ RenderBentoOntologyRelationBindingSchema,
1537
1551
  RenderBentoSurfaceSchema,
1538
1552
  RenderDynamicLayoutSchema,
1539
1553
  RenderLayoutSchema,
@@ -1643,8 +1657,16 @@ export {
1643
1657
  ViewProviderDescriptorSchema,
1644
1658
  ViewShareLinkPolicySchema,
1645
1659
  ViewShareTargetGrantSchema,
1660
+ ViewSqlAggregateHavingSchema,
1661
+ ViewSqlAggregateHierarchyScopeSchema,
1662
+ ViewSqlAggregateJoinSchema,
1646
1663
  ViewSqlAggregateMetricSchema,
1664
+ ViewSqlAggregatePaginationSchema,
1665
+ ViewSqlAggregateStatementSchema,
1666
+ ViewSqlAggregateTimeBucketSchema,
1667
+ ViewSqlAggregateUnwindSchema,
1647
1668
  ViewSqlCachePolicySchema,
1669
+ ViewSqlFilterNodeSchema,
1648
1670
  ViewSqlFromSourceSchema,
1649
1671
  ViewSqlGraphSpecSchema,
1650
1672
  ViewSqlOrderBySchema,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/types/tool.ts","../../src/types/workflow.ts"],"sourcesContent":["import { I18nValue } from \"./i18n\";\n\nexport type IJSONValue = string | number | boolean | IJSONObject | IJSONArray;\nexport type IJSONArray = Array<IJSONValue>;\nexport interface IJSONObject {\n [x: string]: IJSONValue;\n}\n\nexport type ToolPropertyTypes =\n | \"string\"\n | \"file\"\n | \"number\"\n | \"boolean\"\n | \"options\"\n | \"json\"\n | \"notice\"\n | \"canvas-assist\";\n\nexport const CODE_LANGUAGES = [\"javaScript\", \"json\", \"python\", \"sql\"] as const;\n\nexport type EditorType =\n | \"code\"\n | \"codeNodeEditor\"\n | \"htmlEditor\"\n | \"sqlEditor\"\n | \"json\";\nexport type CodeNodeEditorLanguage = (typeof CODE_LANGUAGES)[number];\n\nexport interface ToolPropertyTypeOptions {\n editor?: EditorType; // Supported by: string\n editorLanguage?: CodeNodeEditorLanguage; // Supported by: string in combination with editor: codeNodeEditor\n maxValue?: number; // Supported by: number\n minValue?: number; // Supported by: number\n multipleValues?: boolean; // Supported by: <All>\n multipleValueButtonText?: string; // Supported when \"multipleValues\" set to true\n numberPrecision?: number; // Supported by: number\n password?: boolean; // Supported by: string\n rows?: number; // Supported by: string\n assetType?: AssetType;\n accept?: string;\n max?: number;\n\n [key: string]: any;\n}\n\nexport type ToolPropertyParameterValue =\n | string\n | number\n | boolean\n | undefined\n | null;\n\nexport type ResourceLocatorModes = \"id\" | \"url\" | \"list\" | string;\nexport interface IResourceLocatorResult {\n name: string;\n value: string;\n url?: string;\n}\n\nexport interface ToolParameter {\n [key: string]: ToolParameterValueType;\n}\nexport type ToolParameterValueType =\n // TODO: Later also has to be possible to add multiple ones with the name name. So array has to be possible\n | ToolPropertyParameterValue\n | ToolParameter\n | ToolPropertyParameterValue[]\n | ToolParameter[];\n\nexport interface ToolPropertyDisplayOptions {\n hide?: {\n [key: string]: ToolPropertyParameterValue[] | undefined;\n };\n show?: {\n [key: string]: ToolPropertyParameterValue[] | undefined;\n };\n}\n\nexport interface ToolPropertyOptions {\n name: string | I18nValue;\n value: string | number | boolean;\n action?: string;\n description?: string | I18nValue;\n}\n\nexport interface ToolPropertyCollection {\n displayName: string;\n name: string;\n values: ToolProperty[];\n}\n\nexport interface ToolPropertyValueExtractorBase {\n type: string;\n}\n\nexport interface ToolPropertyValueExtractorRegex {\n type: \"regex\";\n regex: string | RegExp;\n}\n\nexport type AssetType =\n | \"llm-model\"\n | \"sd-model\"\n | \"workflow\"\n | \"workflow-association\"\n | \"design-project\"\n | \"design-association\"\n | \"design-board\"\n | \"workflow-view\"\n | \"media-file\"\n | \"sql-knowledge-base-table\"\n | \"sql-knowledge-base\"\n | \"knowledge-base\"\n | \"canvas\"\n | \"workflow-template\"\n | \"fork-join-branch\"\n | \"workflow-version\"\n | \"tools\"\n | \"comfyui-server\"\n | \"comfyui-workflow\"\n | \"comfyui-model-type\"\n | \"comfyui-model\"\n | \"llm-channel\"\n | \"conversation-app\"\n | \"oneapi-model\"\n | \"leaderboard\"\n | \"model-training\";\n\nexport interface ToolProperty {\n displayName: string | I18nValue;\n name: string;\n type: ToolPropertyTypes;\n typeOptions?: ToolPropertyTypeOptions;\n default?: ToolParameterValueType;\n description?: string | I18nValue;\n hint?: string;\n displayOptions?: ToolPropertyDisplayOptions;\n options?: Array<ToolPropertyOptions | ToolProperty | ToolPropertyCollection>;\n placeholder?: string | I18nValue;\n isNodeSetting?: boolean;\n noDataExpression?: boolean;\n required?: boolean;\n example?: string;\n extractValue?: ToolPropertyValueExtractorRegex;\n properties?: ToolProperty[];\n assetType?: AssetType;\n flag?: boolean;\n}\n\nexport type ToolCategory =\n | \"image\" // 图像处理\n | \"text\" // 文本处理\n | \"file\" // 文件处理\n | \"gen-image\" // 图像生成\n | \"gen-text\" // 文本生成\n | \"train-model\" // 模型训练\n | \"process\" // 流程控制\n | \"auto\" // 自动化\n | \"bio\" // 生命科学\n | \"human\" // 用户交互\n | \"query\" // 搜索增强\n | \"db\" // 数据存储\n | \"extra\"; // 扩展能力\n\nexport enum ToolType {\n SIMPLE = \"SIMPLE\",\n FORK_JOIN = \"FORK_JOIN\",\n JOIN = \"JOIN\",\n DO_WHILE = \"DO_WHILE\",\n SWITCH = \"SWITCH\",\n DYNAMIC = \"DYNAMIC\",\n FORK_JOIN_DYNAMIC = \"FORK_JOIN_DYNAMIC\",\n TERMINATE = \"TERMINATE\",\n HUMAN = \"HUMAN\",\n SUB_WORKFLOW = \"SUB_WORKFLOW\",\n INLINE = \"INLINE\",\n SET_VARIABLE = \"SET_VARIABLE\",\n}\n\nexport interface ToolRuleItem {\n type: string;\n [x: string]: any;\n}\n\nexport interface ToolExtraInfo {\n [x: string]: any;\n}\n\nexport interface ToolCredentialItem {\n name: string;\n required: boolean;\n}\n\nexport interface ToolDef {\n type: ToolType;\n name: string;\n displayName: string | I18nValue;\n description?: string | I18nValue;\n icon?: string;\n input: ToolProperty[];\n output: ToolProperty[];\n categories?: ToolCategory[];\n rules?: ToolRuleItem[];\n extra?: ToolExtraInfo;\n credentials?: ToolCredentialItem[];\n}\n","export enum ValidationIssueType {\n ERROR = 'ERROR',\n WANTING = 'WANTING',\n}\n\nexport enum ValidationReasonType {\n VALUE_REQUIRED = 'VALUE_REQUIRED',\n VALUE_TYPE_NOT_MATCH = 'VALUE_TYPE_NOT_MATCH',\n DO_WHILE_EMPTY_LOOP_OVER = 'DO_WHILE_EMPTY_LOOP_OVER',\n}\n\nexport interface ValidationIssueReason {\n type: ValidationReasonType;\n name: string;\n}\n\nexport interface WorkflowValidationIssue {\n taskReferenceName: string;\n issueType: ValidationIssueType;\n detailReason: ValidationIssueReason;\n humanMessage: {\n en: string;\n zh: string;\n };\n}\n\nexport interface WorkflowTriggerConfig {\n triggerType: WorkflowTriggerType;\n cron?: string;\n}\n\nexport enum WorkflowTriggerType {\n MANUALLY = 'MANUAL',\n SCHEDULER = 'SCHEDULER',\n WEBHOOK = 'WEBHOOK',\n}\n \n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBO,IAAM,iBAAiB,CAAC,cAAc,QAAQ,UAAU,KAAK;AAkJ7D,IAAK,WAAL,kBAAKA,cAAL;AACL,EAAAA,UAAA,YAAS;AACT,EAAAA,UAAA,eAAY;AACZ,EAAAA,UAAA,UAAO;AACP,EAAAA,UAAA,cAAW;AACX,EAAAA,UAAA,YAAS;AACT,EAAAA,UAAA,aAAU;AACV,EAAAA,UAAA,uBAAoB;AACpB,EAAAA,UAAA,eAAY;AACZ,EAAAA,UAAA,WAAQ;AACR,EAAAA,UAAA,kBAAe;AACf,EAAAA,UAAA,YAAS;AACT,EAAAA,UAAA,kBAAe;AAZL,SAAAA;AAAA,GAAA;;;ACpKL,IAAK,sBAAL,kBAAKC,yBAAL;AACL,EAAAA,qBAAA,WAAQ;AACR,EAAAA,qBAAA,aAAU;AAFA,SAAAA;AAAA,GAAA;AAKL,IAAK,uBAAL,kBAAKC,0BAAL;AACL,EAAAA,sBAAA,oBAAiB;AACjB,EAAAA,sBAAA,0BAAuB;AACvB,EAAAA,sBAAA,8BAA2B;AAHjB,SAAAA;AAAA,GAAA;AA0BL,IAAK,sBAAL,kBAAKC,yBAAL;AACL,EAAAA,qBAAA,cAAW;AACX,EAAAA,qBAAA,eAAY;AACZ,EAAAA,qBAAA,aAAU;AAHA,SAAAA;AAAA,GAAA;","names":["ToolType","ValidationIssueType","ValidationReasonType","WorkflowTriggerType"]}
1
+ {"version":3,"sources":["../../src/types/tool.ts","../../src/types/workflow.ts"],"sourcesContent":["import { I18nValue } from \"./i18n\";\n\nexport type IJSONValue = string | number | boolean | IJSONObject | IJSONArray;\nexport type IJSONArray = Array<IJSONValue>;\nexport interface IJSONObject {\n [x: string]: IJSONValue;\n}\n\nexport type ToolPropertyTypes =\n | \"string\"\n | \"file\"\n | \"number\"\n | \"boolean\"\n | \"options\"\n | \"json\"\n | \"notice\"\n | \"canvas-assist\";\n\nexport const CODE_LANGUAGES = [\"javaScript\", \"json\", \"python\", \"sql\"] as const;\n\nexport type EditorType =\n | \"code\"\n | \"codeNodeEditor\"\n | \"htmlEditor\"\n | \"sqlEditor\"\n | \"json\";\nexport type CodeNodeEditorLanguage = (typeof CODE_LANGUAGES)[number];\n\nexport interface ToolPropertyTypeOptions {\n editor?: EditorType; // Supported by: string\n editorLanguage?: CodeNodeEditorLanguage; // Supported by: string in combination with editor: codeNodeEditor\n maxValue?: number; // Supported by: number\n minValue?: number; // Supported by: number\n multipleValues?: boolean; // Supported by: <All>\n multipleValueButtonText?: string; // Supported when \"multipleValues\" set to true\n numberPrecision?: number; // Supported by: number\n password?: boolean; // Supported by: string\n rows?: number; // Supported by: string\n assetType?: AssetType;\n accept?: string;\n max?: number;\n\n [key: string]: any;\n}\n\nexport type ToolPropertyParameterValue =\n | string\n | number\n | boolean\n | undefined\n | null;\n\nexport type ResourceLocatorModes = \"id\" | \"url\" | \"list\" | string;\nexport interface IResourceLocatorResult {\n name: string;\n value: string;\n url?: string;\n}\n\nexport interface ToolParameter {\n [key: string]: ToolParameterValueType;\n}\nexport type ToolParameterValueType =\n // TODO: Later also has to be possible to add multiple ones with the name name. So array has to be possible\n | ToolPropertyParameterValue\n | ToolParameter\n | ToolPropertyParameterValue[]\n | ToolParameter[];\n\nexport interface ToolPropertyDisplayOptions {\n hide?: {\n [key: string]: ToolPropertyParameterValue[] | undefined;\n };\n show?: {\n [key: string]: ToolPropertyParameterValue[] | undefined;\n };\n}\n\nexport interface ToolPropertyOptions {\n name: string | I18nValue;\n value: string | number | boolean;\n action?: string;\n description?: string | I18nValue;\n}\n\nexport interface ToolPropertyCollection {\n displayName: string;\n name: string;\n values: ToolProperty[];\n}\n\nexport interface ToolPropertyValueExtractorBase {\n type: string;\n}\n\nexport interface ToolPropertyValueExtractorRegex {\n type: \"regex\";\n regex: string | RegExp;\n}\n\nexport type AssetType =\n | \"llm-model\"\n | \"sd-model\"\n | \"workflow\"\n | \"workflow-association\"\n | \"design-project\"\n | \"design-association\"\n | \"design-board\"\n | \"workflow-view\"\n | \"media-file\"\n | \"sql-knowledge-base-table\"\n | \"sql-knowledge-base\"\n | \"knowledge-base\"\n | \"canvas\"\n | \"workflow-template\"\n | \"fork-join-branch\"\n | \"workflow-version\"\n | \"tools\"\n | \"comfyui-server\"\n | \"comfyui-workflow\"\n | \"comfyui-model-type\"\n | \"comfyui-model\"\n | \"llm-channel\"\n | \"conversation-app\"\n | \"oneapi-model\"\n | \"leaderboard\"\n | \"model-training\";\n\nexport interface ToolProperty {\n displayName: string | I18nValue;\n name: string;\n type: ToolPropertyTypes;\n typeOptions?: ToolPropertyTypeOptions;\n default?: ToolParameterValueType;\n description?: string | I18nValue;\n hint?: string;\n displayOptions?: ToolPropertyDisplayOptions;\n options?: Array<ToolPropertyOptions | ToolProperty | ToolPropertyCollection>;\n placeholder?: string | I18nValue;\n isNodeSetting?: boolean;\n noDataExpression?: boolean;\n required?: boolean;\n example?: string;\n extractValue?: ToolPropertyValueExtractorRegex;\n properties?: ToolProperty[];\n assetType?: AssetType;\n flag?: boolean;\n}\n\nexport type ToolCategory =\n | \"image\" // 图像处理\n | \"text\" // 文本处理\n | \"file\" // 文件处理\n | \"gen-image\" // 图像生成\n | \"gen-text\" // 文本生成\n | \"train-model\" // 模型训练\n | \"process\" // 流程控制\n | \"auto\" // 自动化\n | \"bio\" // 生命科学\n | \"human\" // 用户交互\n | \"query\" // 搜索增强\n | \"db\" // 数据存储\n | \"extra\"; // 扩展能力\n\nexport enum ToolType {\n SIMPLE = \"SIMPLE\",\n FORK_JOIN = \"FORK_JOIN\",\n JOIN = \"JOIN\",\n DO_WHILE = \"DO_WHILE\",\n SWITCH = \"SWITCH\",\n DYNAMIC = \"DYNAMIC\",\n FORK_JOIN_DYNAMIC = \"FORK_JOIN_DYNAMIC\",\n TERMINATE = \"TERMINATE\",\n HUMAN = \"HUMAN\",\n SUB_WORKFLOW = \"SUB_WORKFLOW\",\n INLINE = \"INLINE\",\n SET_VARIABLE = \"SET_VARIABLE\",\n}\n\nexport interface ToolRuleItem {\n type: string;\n [x: string]: any;\n}\n\nexport interface ToolExtraInfo {\n [x: string]: any;\n}\n\nexport interface ToolCredentialItem {\n name: string;\n required: boolean;\n}\n\nexport interface ToolDef {\n type: ToolType;\n name: string;\n displayName: string | I18nValue;\n description?: string | I18nValue;\n icon?: string;\n input: ToolProperty[];\n output: ToolProperty[];\n categories?: ToolCategory[];\n rules?: ToolRuleItem[];\n extra?: ToolExtraInfo;\n credentials?: ToolCredentialItem[];\n}\n","export enum ValidationIssueType {\n ERROR = 'ERROR',\n WANTING = 'WANTING',\n}\n\nexport enum ValidationReasonType {\n VALUE_REQUIRED = 'VALUE_REQUIRED',\n VALUE_TYPE_NOT_MATCH = 'VALUE_TYPE_NOT_MATCH',\n DO_WHILE_EMPTY_LOOP_OVER = 'DO_WHILE_EMPTY_LOOP_OVER',\n}\n\nexport interface ValidationIssueReason {\n type: ValidationReasonType;\n name: string;\n}\n\nexport interface WorkflowValidationIssue {\n taskReferenceName: string;\n issueType: ValidationIssueType;\n detailReason: ValidationIssueReason;\n humanMessage: {\n en: string;\n zh: string;\n };\n}\n\nexport interface WorkflowTriggerConfig {\n triggerType: WorkflowTriggerType;\n cron?: string;\n}\n\nexport enum WorkflowTriggerType {\n MANUALLY = 'MANUAL',\n SCHEDULER = 'SCHEDULER',\n WEBHOOK = 'WEBHOOK',\n}\n \n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBO,IAAM,iBAAiB,CAAC,cAAc,QAAQ,UAAU,KAAK;AAkJ7D,IAAK,WAAL,kBAAKA,cAAL;AACL,EAAAA,UAAA,YAAS;AACT,EAAAA,UAAA,eAAY;AACZ,EAAAA,UAAA,UAAO;AACP,EAAAA,UAAA,cAAW;AACX,EAAAA,UAAA,YAAS;AACT,EAAAA,UAAA,aAAU;AACV,EAAAA,UAAA,uBAAoB;AACpB,EAAAA,UAAA,eAAY;AACZ,EAAAA,UAAA,WAAQ;AACR,EAAAA,UAAA,kBAAe;AACf,EAAAA,UAAA,YAAS;AACT,EAAAA,UAAA,kBAAe;AAZL,SAAAA;AAAA,GAAA;;;ACpKL,IAAK,sBAAL,kBAAKC,yBAAL;AACL,EAAAA,qBAAA,WAAQ;AACR,EAAAA,qBAAA,aAAU;AAFA,SAAAA;AAAA,GAAA;AAKL,IAAK,uBAAL,kBAAKC,0BAAL;AACL,EAAAA,sBAAA,oBAAiB;AACjB,EAAAA,sBAAA,0BAAuB;AACvB,EAAAA,sBAAA,8BAA2B;AAHjB,SAAAA;AAAA,GAAA;AA0BL,IAAK,sBAAL,kBAAKC,yBAAL;AACL,EAAAA,qBAAA,cAAW;AACX,EAAAA,qBAAA,eAAY;AACZ,EAAAA,qBAAA,aAAU;AAHA,SAAAA;AAAA,GAAA;","names":["ToolType","ValidationIssueType","ValidationReasonType","WorkflowTriggerType"]}
@@ -150,8 +150,8 @@ import {
150
150
  validateDomainCommand,
151
151
  validateWorkbenchRuntimeSet,
152
152
  writePageDraftPath
153
- } from "../chunk-BTJGKWPM.mjs";
154
- import "../chunk-MP4OJWJ3.mjs";
153
+ } from "../chunk-E6UOE6OP.mjs";
154
+ import "../chunk-WC65QK2H.mjs";
155
155
  import {
156
156
  MONKEYS_REQUIRED_THEME_TOKEN_PATHS,
157
157
  ThemeTokenValidationError,
@@ -161,7 +161,7 @@ import {
161
161
  resolveThemeTokens,
162
162
  validateThemeTokensDocument,
163
163
  validateThemeTokensDocumentStructure
164
- } from "../chunk-766TRFRH.mjs";
164
+ } from "../chunk-BFGFPBEU.mjs";
165
165
  import "../chunk-3QS3WKRC.mjs";
166
166
  export {
167
167
  APPLICATION_HANDOFF_QUERY_PARAMETER,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  canonicalContractSchemas
3
- } from "../chunk-SDA2NWFB.mjs";
3
+ } from "../chunk-AOAJSAI7.mjs";
4
4
  import {
5
5
  AccessPolicySchema,
6
6
  ActionBindingSchema,
@@ -84,6 +84,7 @@ import {
84
84
  ArtifactStorageModeSchema,
85
85
  ArtifactSubjectSchema,
86
86
  ArtifactViewSchema,
87
+ BentoActionResultSchema,
87
88
  BentoChromeSchema,
88
89
  BentoGridRectSchema,
89
90
  BentoNodeSchema,
@@ -288,6 +289,9 @@ import {
288
289
  ReleaseOperationSchema,
289
290
  ReleaseValidationSchema,
290
291
  RenderActivationSchema,
292
+ RenderBentoBindingSchema,
293
+ RenderBentoOntologyActionBindingSchema,
294
+ RenderBentoOntologyRelationBindingSchema,
291
295
  RenderBentoSurfaceSchema,
292
296
  RenderDynamicLayoutSchema,
293
297
  RenderLayoutSchema,
@@ -366,8 +370,16 @@ import {
366
370
  ViewProviderDescriptorSchema,
367
371
  ViewShareLinkPolicySchema,
368
372
  ViewShareTargetGrantSchema,
373
+ ViewSqlAggregateHavingSchema,
374
+ ViewSqlAggregateHierarchyScopeSchema,
375
+ ViewSqlAggregateJoinSchema,
369
376
  ViewSqlAggregateMetricSchema,
377
+ ViewSqlAggregatePaginationSchema,
378
+ ViewSqlAggregateStatementSchema,
379
+ ViewSqlAggregateTimeBucketSchema,
380
+ ViewSqlAggregateUnwindSchema,
370
381
  ViewSqlCachePolicySchema,
382
+ ViewSqlFilterNodeSchema,
371
383
  ViewSqlFromSourceSchema,
372
384
  ViewSqlGraphSpecSchema,
373
385
  ViewSqlOrderBySchema,
@@ -406,7 +418,7 @@ import {
406
418
  WorkflowTriggerSchema,
407
419
  WorkflowValidationIssueSchema,
408
420
  WorkspaceInteractionModeSchema
409
- } from "../chunk-766TRFRH.mjs";
421
+ } from "../chunk-BFGFPBEU.mjs";
410
422
  import "../chunk-3QS3WKRC.mjs";
411
423
  export {
412
424
  AccessPolicySchema,
@@ -491,6 +503,7 @@ export {
491
503
  ArtifactStorageModeSchema,
492
504
  ArtifactSubjectSchema,
493
505
  ArtifactViewSchema,
506
+ BentoActionResultSchema,
494
507
  BentoChromeSchema,
495
508
  BentoGridRectSchema,
496
509
  BentoNodeSchema,
@@ -695,6 +708,9 @@ export {
695
708
  ReleaseOperationSchema,
696
709
  ReleaseValidationSchema,
697
710
  RenderActivationSchema,
711
+ RenderBentoBindingSchema,
712
+ RenderBentoOntologyActionBindingSchema,
713
+ RenderBentoOntologyRelationBindingSchema,
698
714
  RenderBentoSurfaceSchema,
699
715
  RenderDynamicLayoutSchema,
700
716
  RenderLayoutSchema,
@@ -773,8 +789,16 @@ export {
773
789
  ViewProviderDescriptorSchema,
774
790
  ViewShareLinkPolicySchema,
775
791
  ViewShareTargetGrantSchema,
792
+ ViewSqlAggregateHavingSchema,
793
+ ViewSqlAggregateHierarchyScopeSchema,
794
+ ViewSqlAggregateJoinSchema,
776
795
  ViewSqlAggregateMetricSchema,
796
+ ViewSqlAggregatePaginationSchema,
797
+ ViewSqlAggregateStatementSchema,
798
+ ViewSqlAggregateTimeBucketSchema,
799
+ ViewSqlAggregateUnwindSchema,
777
800
  ViewSqlCachePolicySchema,
801
+ ViewSqlFilterNodeSchema,
778
802
  ViewSqlFromSourceSchema,
779
803
  ViewSqlGraphSpecSchema,
780
804
  ViewSqlOrderBySchema,