@inf-monkeys-tech/monkeys 1.1.62 → 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.
- package/lib/contracts/bento-block.d.ts +491 -0
- package/lib/contracts/bento-block.d.ts.map +1 -1
- package/lib/contracts/bento-block.js +158 -12
- package/lib/contracts/bento-block.js.map +1 -1
- package/lib/contracts/declarative-control-http.d.ts +6735 -279
- package/lib/contracts/declarative-control-http.d.ts.map +1 -1
- package/lib/contracts/declarative-control.d.ts +563 -19
- package/lib/contracts/declarative-control.d.ts.map +1 -1
- package/lib/contracts/declarative-publication-job.d.ts +1408 -72
- package/lib/contracts/declarative-publication-job.d.ts.map +1 -1
- package/lib/contracts/page.d.ts +1 -1
- package/lib/contracts/render.d.ts +413 -28
- package/lib/contracts/render.d.ts.map +1 -1
- package/lib/contracts/render.js +65 -5
- package/lib/contracts/render.js.map +1 -1
- package/lib/contracts/tenant.d.ts +7 -7
- package/lib/contracts/unified-view.d.ts +87 -0
- package/lib/contracts/unified-view.d.ts.map +1 -1
- package/lib/contracts/workflow-column.d.ts +2 -2
- package/lib/esm/{chunk-UPCRRS4I.mjs → chunk-AOAJSAI7.mjs} +2 -2
- package/lib/esm/chunk-AOAJSAI7.mjs.map +1 -0
- package/lib/esm/{chunk-EFVODA3P.mjs → chunk-BFGFPBEU.mjs} +187 -15
- package/lib/esm/chunk-BFGFPBEU.mjs.map +1 -0
- package/lib/esm/{chunk-MAZ3HUFS.mjs → chunk-E6UOE6OP.mjs} +181 -4
- package/lib/esm/chunk-E6UOE6OP.mjs.map +1 -0
- package/lib/esm/{chunk-RWTW74VC.mjs → chunk-WC65QK2H.mjs} +2 -2
- package/lib/esm/contracts/index.mjs +28 -2
- package/lib/esm/index.mjs +34 -4
- package/lib/esm/index.mjs.map +1 -1
- package/lib/esm/runtime/index.mjs +7 -3
- package/lib/esm/schemas/index.mjs +26 -2
- package/lib/json-schema/bento-node.schema.json +425 -1
- package/lib/json-schema/overlay-node.schema.json +1514 -49
- package/lib/json-schema/page-runtime-bundle.schema.json +2837 -547
- package/lib/json-schema/page.schema.json +24 -0
- package/lib/json-schema/render-node.schema.json +2077 -612
- package/lib/json-schema/render-tree.schema.json +2752 -462
- package/lib/json-schema/view-ontology-record.schema.json +722 -2
- package/lib/runtime/bento-render-tree.d.ts +22 -0
- package/lib/runtime/bento-render-tree.d.ts.map +1 -0
- package/lib/runtime/bento-render-tree.js +197 -0
- package/lib/runtime/bento-render-tree.js.map +1 -0
- package/lib/runtime/index.d.ts +1 -0
- package/lib/runtime/index.d.ts.map +1 -1
- package/lib/runtime/index.js +1 -0
- package/lib/runtime/index.js.map +1 -1
- package/lib/runtime/runtime-definition-wire.d.ts +704 -36
- package/lib/runtime/runtime-definition-wire.d.ts.map +1 -1
- package/lib/schemas/index.d.ts +1670 -3027
- package/lib/schemas/index.d.ts.map +1 -1
- package/lib/schemas/index.js +16 -3
- package/lib/schemas/index.js.map +1 -1
- package/package.json +2 -2
- package/lib/esm/chunk-EFVODA3P.mjs.map +0 -1
- package/lib/esm/chunk-MAZ3HUFS.mjs.map +0 -1
- package/lib/esm/chunk-UPCRRS4I.mjs.map +0 -1
- /package/lib/esm/{chunk-RWTW74VC.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-
|
|
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-
|
|
691
|
+
//# sourceMappingURL=chunk-WC65QK2H.mjs.map
|
|
@@ -87,7 +87,7 @@ import {
|
|
|
87
87
|
TaskAgentSessionLinkSchema,
|
|
88
88
|
pageStreamRoutes,
|
|
89
89
|
platformNotificationRoutes
|
|
90
|
-
} from "../chunk-
|
|
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,
|
|
@@ -579,10 +580,14 @@ import {
|
|
|
579
580
|
ReleaseOperationSchema,
|
|
580
581
|
ReleaseValidationSchema,
|
|
581
582
|
RenderActivationSchema,
|
|
583
|
+
RenderBentoBindingSchema,
|
|
584
|
+
RenderBentoOntologyActionBindingSchema,
|
|
585
|
+
RenderBentoOntologyRelationBindingSchema,
|
|
582
586
|
RenderBentoSurfaceSchema,
|
|
583
587
|
RenderDynamicLayoutSchema,
|
|
584
588
|
RenderLayoutSchema,
|
|
585
589
|
RenderLifecycleSchema,
|
|
590
|
+
RenderModuleRefSchema,
|
|
586
591
|
RenderNodeKindSchema,
|
|
587
592
|
RenderNodeSchema,
|
|
588
593
|
RenderNodeStateSchema,
|
|
@@ -675,8 +680,16 @@ import {
|
|
|
675
680
|
ViewProviderDescriptorSchema,
|
|
676
681
|
ViewShareLinkPolicySchema,
|
|
677
682
|
ViewShareTargetGrantSchema,
|
|
683
|
+
ViewSqlAggregateHavingSchema,
|
|
684
|
+
ViewSqlAggregateHierarchyScopeSchema,
|
|
685
|
+
ViewSqlAggregateJoinSchema,
|
|
678
686
|
ViewSqlAggregateMetricSchema,
|
|
687
|
+
ViewSqlAggregatePaginationSchema,
|
|
688
|
+
ViewSqlAggregateStatementSchema,
|
|
689
|
+
ViewSqlAggregateTimeBucketSchema,
|
|
690
|
+
ViewSqlAggregateUnwindSchema,
|
|
679
691
|
ViewSqlCachePolicySchema,
|
|
692
|
+
ViewSqlFilterNodeSchema,
|
|
680
693
|
ViewSqlFromSourceSchema,
|
|
681
694
|
ViewSqlGraphSpecSchema,
|
|
682
695
|
ViewSqlOrderBySchema,
|
|
@@ -746,7 +759,7 @@ import {
|
|
|
746
759
|
resolveAgentWorkbenchSidebarConfig,
|
|
747
760
|
validateBentoTree,
|
|
748
761
|
visitPageExpression
|
|
749
|
-
} from "../chunk-
|
|
762
|
+
} from "../chunk-BFGFPBEU.mjs";
|
|
750
763
|
import "../chunk-3QS3WKRC.mjs";
|
|
751
764
|
export {
|
|
752
765
|
ACTION_PROGRAM_ABI,
|
|
@@ -888,6 +901,7 @@ export {
|
|
|
888
901
|
BENTO_GRID_MAX_ROWS,
|
|
889
902
|
BENTO_GRID_MIN_H,
|
|
890
903
|
BENTO_GRID_MIN_W,
|
|
904
|
+
BentoActionResultSchema,
|
|
891
905
|
BentoChromeSchema,
|
|
892
906
|
BentoGridRectSchema,
|
|
893
907
|
BentoNodeSchema,
|
|
@@ -1319,10 +1333,14 @@ export {
|
|
|
1319
1333
|
ReleaseOperationSchema,
|
|
1320
1334
|
ReleaseValidationSchema,
|
|
1321
1335
|
RenderActivationSchema,
|
|
1336
|
+
RenderBentoBindingSchema,
|
|
1337
|
+
RenderBentoOntologyActionBindingSchema,
|
|
1338
|
+
RenderBentoOntologyRelationBindingSchema,
|
|
1322
1339
|
RenderBentoSurfaceSchema,
|
|
1323
1340
|
RenderDynamicLayoutSchema,
|
|
1324
1341
|
RenderLayoutSchema,
|
|
1325
1342
|
RenderLifecycleSchema,
|
|
1343
|
+
RenderModuleRefSchema,
|
|
1326
1344
|
RenderNodeKindSchema,
|
|
1327
1345
|
RenderNodeSchema,
|
|
1328
1346
|
RenderNodeStateSchema,
|
|
@@ -1421,8 +1439,16 @@ export {
|
|
|
1421
1439
|
ViewProviderDescriptorSchema,
|
|
1422
1440
|
ViewShareLinkPolicySchema,
|
|
1423
1441
|
ViewShareTargetGrantSchema,
|
|
1442
|
+
ViewSqlAggregateHavingSchema,
|
|
1443
|
+
ViewSqlAggregateHierarchyScopeSchema,
|
|
1444
|
+
ViewSqlAggregateJoinSchema,
|
|
1424
1445
|
ViewSqlAggregateMetricSchema,
|
|
1446
|
+
ViewSqlAggregatePaginationSchema,
|
|
1447
|
+
ViewSqlAggregateStatementSchema,
|
|
1448
|
+
ViewSqlAggregateTimeBucketSchema,
|
|
1449
|
+
ViewSqlAggregateUnwindSchema,
|
|
1425
1450
|
ViewSqlCachePolicySchema,
|
|
1451
|
+
ViewSqlFilterNodeSchema,
|
|
1426
1452
|
ViewSqlFromSourceSchema,
|
|
1427
1453
|
ViewSqlGraphSpecSchema,
|
|
1428
1454
|
ViewSqlOrderBySchema,
|
package/lib/esm/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
canonicalContractSchemas
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AOAJSAI7.mjs";
|
|
4
4
|
import {
|
|
5
5
|
APPLICATION_HANDOFF_QUERY_PARAMETER,
|
|
6
6
|
DEFAULT_CONDUCTOR_OWNER_EMAIL,
|
|
@@ -34,6 +34,7 @@ import {
|
|
|
34
34
|
captureRecordEditorSubmission,
|
|
35
35
|
collectManagedFileReferences,
|
|
36
36
|
collectMaterializedModelPages,
|
|
37
|
+
compileBentoNodeToRenderTree,
|
|
37
38
|
compileBentoTreeToRenderTree,
|
|
38
39
|
compileCapabilityRegistry,
|
|
39
40
|
compileComponentAssemblyValidator,
|
|
@@ -62,6 +63,7 @@ import {
|
|
|
62
63
|
compileToolCapabilityManifest,
|
|
63
64
|
compileViewProviderInput,
|
|
64
65
|
compileViewProviderRegistry,
|
|
66
|
+
compileViewRecordToRenderTree,
|
|
65
67
|
compileWorkbenchRuntimeBundle,
|
|
66
68
|
compileWorkflowDefinitionFromConductor,
|
|
67
69
|
compileWorkflowPersistenceProjection,
|
|
@@ -151,7 +153,7 @@ import {
|
|
|
151
153
|
validateDomainCommand,
|
|
152
154
|
validateWorkbenchRuntimeSet,
|
|
153
155
|
writePageDraftPath
|
|
154
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-E6UOE6OP.mjs";
|
|
155
157
|
import {
|
|
156
158
|
AGENT_DATA_CONTEXT_ENV,
|
|
157
159
|
AGENT_DATA_CONTEXT_FILE_ENV,
|
|
@@ -241,7 +243,7 @@ import {
|
|
|
241
243
|
TaskAgentSessionLinkSchema,
|
|
242
244
|
pageStreamRoutes,
|
|
243
245
|
platformNotificationRoutes
|
|
244
|
-
} from "./chunk-
|
|
246
|
+
} from "./chunk-WC65QK2H.mjs";
|
|
245
247
|
import {
|
|
246
248
|
ACTION_PROGRAM_ABI,
|
|
247
249
|
AGENT_MODE_CAPABILITIES,
|
|
@@ -344,6 +346,7 @@ import {
|
|
|
344
346
|
BENTO_GRID_MAX_ROWS,
|
|
345
347
|
BENTO_GRID_MIN_H,
|
|
346
348
|
BENTO_GRID_MIN_W,
|
|
349
|
+
BentoActionResultSchema,
|
|
347
350
|
BentoChromeSchema,
|
|
348
351
|
BentoGridRectSchema,
|
|
349
352
|
BentoNodeSchema,
|
|
@@ -734,10 +737,14 @@ import {
|
|
|
734
737
|
ReleaseOperationSchema,
|
|
735
738
|
ReleaseValidationSchema,
|
|
736
739
|
RenderActivationSchema,
|
|
740
|
+
RenderBentoBindingSchema,
|
|
741
|
+
RenderBentoOntologyActionBindingSchema,
|
|
742
|
+
RenderBentoOntologyRelationBindingSchema,
|
|
737
743
|
RenderBentoSurfaceSchema,
|
|
738
744
|
RenderDynamicLayoutSchema,
|
|
739
745
|
RenderLayoutSchema,
|
|
740
746
|
RenderLifecycleSchema,
|
|
747
|
+
RenderModuleRefSchema,
|
|
741
748
|
RenderNodeKindSchema,
|
|
742
749
|
RenderNodeSchema,
|
|
743
750
|
RenderNodeStateSchema,
|
|
@@ -831,8 +838,16 @@ import {
|
|
|
831
838
|
ViewProviderDescriptorSchema,
|
|
832
839
|
ViewShareLinkPolicySchema,
|
|
833
840
|
ViewShareTargetGrantSchema,
|
|
841
|
+
ViewSqlAggregateHavingSchema,
|
|
842
|
+
ViewSqlAggregateHierarchyScopeSchema,
|
|
843
|
+
ViewSqlAggregateJoinSchema,
|
|
834
844
|
ViewSqlAggregateMetricSchema,
|
|
845
|
+
ViewSqlAggregatePaginationSchema,
|
|
846
|
+
ViewSqlAggregateStatementSchema,
|
|
847
|
+
ViewSqlAggregateTimeBucketSchema,
|
|
848
|
+
ViewSqlAggregateUnwindSchema,
|
|
835
849
|
ViewSqlCachePolicySchema,
|
|
850
|
+
ViewSqlFilterNodeSchema,
|
|
836
851
|
ViewSqlFromSourceSchema,
|
|
837
852
|
ViewSqlGraphSpecSchema,
|
|
838
853
|
ViewSqlOrderBySchema,
|
|
@@ -908,7 +923,7 @@ import {
|
|
|
908
923
|
validateThemeTokensDocument,
|
|
909
924
|
validateThemeTokensDocumentStructure,
|
|
910
925
|
visitPageExpression
|
|
911
|
-
} from "./chunk-
|
|
926
|
+
} from "./chunk-BFGFPBEU.mjs";
|
|
912
927
|
import "./chunk-3QS3WKRC.mjs";
|
|
913
928
|
|
|
914
929
|
// src/types/tool.ts
|
|
@@ -1088,6 +1103,7 @@ export {
|
|
|
1088
1103
|
BENTO_GRID_MAX_ROWS,
|
|
1089
1104
|
BENTO_GRID_MIN_H,
|
|
1090
1105
|
BENTO_GRID_MIN_W,
|
|
1106
|
+
BentoActionResultSchema,
|
|
1091
1107
|
BentoChromeSchema,
|
|
1092
1108
|
BentoGridRectSchema,
|
|
1093
1109
|
BentoNodeSchema,
|
|
@@ -1529,10 +1545,14 @@ export {
|
|
|
1529
1545
|
ReleaseOperationSchema,
|
|
1530
1546
|
ReleaseValidationSchema,
|
|
1531
1547
|
RenderActivationSchema,
|
|
1548
|
+
RenderBentoBindingSchema,
|
|
1549
|
+
RenderBentoOntologyActionBindingSchema,
|
|
1550
|
+
RenderBentoOntologyRelationBindingSchema,
|
|
1532
1551
|
RenderBentoSurfaceSchema,
|
|
1533
1552
|
RenderDynamicLayoutSchema,
|
|
1534
1553
|
RenderLayoutSchema,
|
|
1535
1554
|
RenderLifecycleSchema,
|
|
1555
|
+
RenderModuleRefSchema,
|
|
1536
1556
|
RenderNodeKindSchema,
|
|
1537
1557
|
RenderNodeSchema,
|
|
1538
1558
|
RenderNodeStateSchema,
|
|
@@ -1637,8 +1657,16 @@ export {
|
|
|
1637
1657
|
ViewProviderDescriptorSchema,
|
|
1638
1658
|
ViewShareLinkPolicySchema,
|
|
1639
1659
|
ViewShareTargetGrantSchema,
|
|
1660
|
+
ViewSqlAggregateHavingSchema,
|
|
1661
|
+
ViewSqlAggregateHierarchyScopeSchema,
|
|
1662
|
+
ViewSqlAggregateJoinSchema,
|
|
1640
1663
|
ViewSqlAggregateMetricSchema,
|
|
1664
|
+
ViewSqlAggregatePaginationSchema,
|
|
1665
|
+
ViewSqlAggregateStatementSchema,
|
|
1666
|
+
ViewSqlAggregateTimeBucketSchema,
|
|
1667
|
+
ViewSqlAggregateUnwindSchema,
|
|
1641
1668
|
ViewSqlCachePolicySchema,
|
|
1669
|
+
ViewSqlFilterNodeSchema,
|
|
1642
1670
|
ViewSqlFromSourceSchema,
|
|
1643
1671
|
ViewSqlGraphSpecSchema,
|
|
1644
1672
|
ViewSqlOrderBySchema,
|
|
@@ -1718,6 +1746,7 @@ export {
|
|
|
1718
1746
|
collectManagedFileReferences,
|
|
1719
1747
|
collectMaterializedModelPages,
|
|
1720
1748
|
collectPageExpressionReads,
|
|
1749
|
+
compileBentoNodeToRenderTree,
|
|
1721
1750
|
compileBentoTreeToRenderTree,
|
|
1722
1751
|
compileCapabilityRegistry,
|
|
1723
1752
|
compileComponentAssemblyValidator,
|
|
@@ -1746,6 +1775,7 @@ export {
|
|
|
1746
1775
|
compileToolCapabilityManifest,
|
|
1747
1776
|
compileViewProviderInput,
|
|
1748
1777
|
compileViewProviderRegistry,
|
|
1778
|
+
compileViewRecordToRenderTree,
|
|
1749
1779
|
compileWorkbenchRuntimeBundle,
|
|
1750
1780
|
compileWorkflowDefinitionFromConductor,
|
|
1751
1781
|
compileWorkflowPersistenceProjection,
|
package/lib/esm/index.mjs.map
CHANGED
|
@@ -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":"
|
|
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"]}
|
|
@@ -31,6 +31,7 @@ import {
|
|
|
31
31
|
captureRecordEditorSubmission,
|
|
32
32
|
collectManagedFileReferences,
|
|
33
33
|
collectMaterializedModelPages,
|
|
34
|
+
compileBentoNodeToRenderTree,
|
|
34
35
|
compileBentoTreeToRenderTree,
|
|
35
36
|
compileCapabilityRegistry,
|
|
36
37
|
compileComponentAssemblyValidator,
|
|
@@ -59,6 +60,7 @@ import {
|
|
|
59
60
|
compileToolCapabilityManifest,
|
|
60
61
|
compileViewProviderInput,
|
|
61
62
|
compileViewProviderRegistry,
|
|
63
|
+
compileViewRecordToRenderTree,
|
|
62
64
|
compileWorkbenchRuntimeBundle,
|
|
63
65
|
compileWorkflowDefinitionFromConductor,
|
|
64
66
|
compileWorkflowPersistenceProjection,
|
|
@@ -148,8 +150,8 @@ import {
|
|
|
148
150
|
validateDomainCommand,
|
|
149
151
|
validateWorkbenchRuntimeSet,
|
|
150
152
|
writePageDraftPath
|
|
151
|
-
} from "../chunk-
|
|
152
|
-
import "../chunk-
|
|
153
|
+
} from "../chunk-E6UOE6OP.mjs";
|
|
154
|
+
import "../chunk-WC65QK2H.mjs";
|
|
153
155
|
import {
|
|
154
156
|
MONKEYS_REQUIRED_THEME_TOKEN_PATHS,
|
|
155
157
|
ThemeTokenValidationError,
|
|
@@ -159,7 +161,7 @@ import {
|
|
|
159
161
|
resolveThemeTokens,
|
|
160
162
|
validateThemeTokensDocument,
|
|
161
163
|
validateThemeTokensDocumentStructure
|
|
162
|
-
} from "../chunk-
|
|
164
|
+
} from "../chunk-BFGFPBEU.mjs";
|
|
163
165
|
import "../chunk-3QS3WKRC.mjs";
|
|
164
166
|
export {
|
|
165
167
|
APPLICATION_HANDOFF_QUERY_PARAMETER,
|
|
@@ -198,6 +200,7 @@ export {
|
|
|
198
200
|
captureRecordEditorSubmission,
|
|
199
201
|
collectManagedFileReferences,
|
|
200
202
|
collectMaterializedModelPages,
|
|
203
|
+
compileBentoNodeToRenderTree,
|
|
201
204
|
compileBentoTreeToRenderTree,
|
|
202
205
|
compileCapabilityRegistry,
|
|
203
206
|
compileComponentAssemblyValidator,
|
|
@@ -226,6 +229,7 @@ export {
|
|
|
226
229
|
compileToolCapabilityManifest,
|
|
227
230
|
compileViewProviderInput,
|
|
228
231
|
compileViewProviderRegistry,
|
|
232
|
+
compileViewRecordToRenderTree,
|
|
229
233
|
compileWorkbenchRuntimeBundle,
|
|
230
234
|
compileWorkflowDefinitionFromConductor,
|
|
231
235
|
compileWorkflowPersistenceProjection,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
canonicalContractSchemas
|
|
3
|
-
} from "../chunk-
|
|
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-
|
|
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,
|