@inf-monkeys-tech/monkeys 1.1.67 → 1.1.69

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 (60) hide show
  1. package/lib/contracts/bento-block.d.ts +349 -9
  2. package/lib/contracts/bento-block.d.ts.map +1 -1
  3. package/lib/contracts/bento-block.js +116 -1
  4. package/lib/contracts/bento-block.js.map +1 -1
  5. package/lib/contracts/declarative-control-http.d.ts +3826 -419
  6. package/lib/contracts/declarative-control-http.d.ts.map +1 -1
  7. package/lib/contracts/declarative-control.d.ts +456 -53
  8. package/lib/contracts/declarative-control.d.ts.map +1 -1
  9. package/lib/contracts/declarative-control.js +5 -0
  10. package/lib/contracts/declarative-control.js.map +1 -1
  11. package/lib/contracts/declarative-document-import.d.ts +1455 -10
  12. package/lib/contracts/declarative-document-import.d.ts.map +1 -1
  13. package/lib/contracts/declarative-publication-job.d.ts +280 -80
  14. package/lib/contracts/declarative-publication-job.d.ts.map +1 -1
  15. package/lib/contracts/menu.d.ts +7 -7
  16. package/lib/contracts/page-expression.d.ts +6 -6
  17. package/lib/contracts/page.d.ts +8 -8
  18. package/lib/contracts/render.d.ts +104 -49
  19. package/lib/contracts/render.d.ts.map +1 -1
  20. package/lib/contracts/render.js +1 -9
  21. package/lib/contracts/render.js.map +1 -1
  22. package/lib/contracts/semantic.d.ts +2 -2
  23. package/lib/contracts/tenant.d.ts +11 -11
  24. package/lib/contracts/unified-view.d.ts +57 -2
  25. package/lib/contracts/unified-view.d.ts.map +1 -1
  26. package/lib/contracts/workflow-definition.d.ts +1 -1
  27. package/lib/esm/{chunk-5T6DFESB.mjs → chunk-AGKIIPUY.mjs} +961 -857
  28. package/lib/esm/chunk-AGKIIPUY.mjs.map +1 -0
  29. package/lib/esm/{chunk-WBZEIMZD.mjs → chunk-AO3G3SE7.mjs} +2 -2
  30. package/lib/esm/{chunk-X7SUXIZU.mjs → chunk-L4CNFVNV.mjs} +9 -4
  31. package/lib/esm/chunk-L4CNFVNV.mjs.map +1 -0
  32. package/lib/esm/{chunk-OFJPHSRM.mjs → chunk-XV4FR5Y6.mjs} +2 -2
  33. package/lib/esm/contracts/index.mjs +26 -2
  34. package/lib/esm/index.mjs +28 -4
  35. package/lib/esm/index.mjs.map +1 -1
  36. package/lib/esm/runtime/index.mjs +3 -3
  37. package/lib/esm/schemas/index.mjs +2 -2
  38. package/lib/json-schema/bento-node.schema.json +482 -37
  39. package/lib/json-schema/overlay-node.schema.json +149 -0
  40. package/lib/json-schema/page-runtime-bundle.schema.json +298 -0
  41. package/lib/json-schema/page.schema.json +4802 -2123
  42. package/lib/json-schema/render-node.schema.json +149 -0
  43. package/lib/json-schema/render-tree.schema.json +298 -0
  44. package/lib/json-schema/view-ontology-record.schema.json +594 -0
  45. package/lib/runtime/bento-render-tree.d.ts.map +1 -1
  46. package/lib/runtime/bento-render-tree.js +1 -0
  47. package/lib/runtime/bento-render-tree.js.map +1 -1
  48. package/lib/runtime/declarative-control-compiler.d.ts.map +1 -1
  49. package/lib/runtime/declarative-control-compiler.js +4 -0
  50. package/lib/runtime/declarative-control-compiler.js.map +1 -1
  51. package/lib/runtime/native-page-composition.d.ts +1 -1
  52. package/lib/runtime/runtime-definition-wire.d.ts +140 -40
  53. package/lib/runtime/runtime-definition-wire.d.ts.map +1 -1
  54. package/lib/schemas/index.d.ts +434 -35
  55. package/lib/schemas/index.d.ts.map +1 -1
  56. package/package.json +2 -2
  57. package/lib/esm/chunk-5T6DFESB.mjs.map +0 -1
  58. package/lib/esm/chunk-X7SUXIZU.mjs.map +0 -1
  59. /package/lib/esm/{chunk-WBZEIMZD.mjs.map → chunk-AO3G3SE7.mjs.map} +0 -0
  60. /package/lib/esm/{chunk-OFJPHSRM.mjs.map → chunk-XV4FR5Y6.mjs.map} +0 -0
@@ -15,7 +15,7 @@ import {
15
15
  ManagedFileUriSchema,
16
16
  RevisionRefSchema,
17
17
  Sha256Schema
18
- } from "./chunk-5T6DFESB.mjs";
18
+ } from "./chunk-AGKIIPUY.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-OFJPHSRM.mjs.map
691
+ //# sourceMappingURL=chunk-XV4FR5Y6.mjs.map
@@ -87,7 +87,7 @@ import {
87
87
  TaskAgentSessionLinkSchema,
88
88
  pageStreamRoutes,
89
89
  platformNotificationRoutes
90
- } from "../chunk-OFJPHSRM.mjs";
90
+ } from "../chunk-XV4FR5Y6.mjs";
91
91
  import {
92
92
  ACTION_PROGRAM_ABI,
93
93
  AGENT_MODE_CAPABILITIES,
@@ -192,6 +192,7 @@ import {
192
192
  BENTO_GRID_MIN_W,
193
193
  BentoActionResultSchema,
194
194
  BentoChromeSchema,
195
+ BentoDynamicLayoutSchema,
195
196
  BentoGridRectSchema,
196
197
  BentoNodeSchema,
197
198
  BentoPlacementSchema,
@@ -395,6 +396,7 @@ import {
395
396
  ExpiringAccessGrantSchema,
396
397
  FILE_PURPOSES,
397
398
  FILE_USAGE_OWNER_TYPES,
399
+ FacetFieldConfigSchema,
398
400
  FilePurposeSchema,
399
401
  FileReadInstructionSchema,
400
402
  FileRecordSchema,
@@ -412,6 +414,9 @@ import {
412
414
  FileUsageSchema,
413
415
  FileVariantSchema,
414
416
  FileVariantStatusSchema,
417
+ FilterBarBlockConfigSchema,
418
+ GalleryBadgeConfigSchema,
419
+ GalleryBlockConfigSchema,
415
420
  GovernedCatalogDomainQueryDataSourceSchema,
416
421
  GovernedCatalogResourceKindSchema,
417
422
  HotwordBodySchema,
@@ -566,6 +571,7 @@ import {
566
571
  RadarSelectionSchema,
567
572
  RadarWritebackRecordSchema,
568
573
  ReadablePageRuntimeBundleSchema,
574
+ RecordDetailBlockConfigSchema,
569
575
  RecordEditorDraftOperationSchema,
570
576
  RecordEditorDraftSchema,
571
577
  RecordEditorFieldErrorSchema,
@@ -629,6 +635,8 @@ import {
629
635
  StorageLocatorSchema,
630
636
  StudioAgentModeSchema,
631
637
  SystemGroupDefinitionSchema,
638
+ TableBlockConfigSchema,
639
+ TableColumnGroupConfigSchema,
632
640
  TenantAgentThemeConfigSchema,
633
641
  TenantApplicationConfigSchema,
634
642
  TenantAuthBindingSchema,
@@ -688,8 +696,10 @@ import {
688
696
  VIEW_SHARED_WITH_RELATION_KIND,
689
697
  ViewCapabilitySchema,
690
698
  ViewDataDeclarationSchema,
699
+ ViewFacetDimensionSchema,
691
700
  ViewOntologyRecordSchema,
692
701
  ViewProviderDescriptorSchema,
702
+ ViewShareDirectionSchema,
693
703
  ViewShareLinkPolicySchema,
694
704
  ViewShareTargetGrantSchema,
695
705
  ViewSqlAggregateHavingSchema,
@@ -701,6 +711,7 @@ import {
701
711
  ViewSqlAggregateTimeBucketSchema,
702
712
  ViewSqlAggregateUnwindSchema,
703
713
  ViewSqlCachePolicySchema,
714
+ ViewSqlFacetsStatementSchema,
704
715
  ViewSqlFilterNodeSchema,
705
716
  ViewSqlFromSourceSchema,
706
717
  ViewSqlGraphSpecSchema,
@@ -708,6 +719,7 @@ import {
708
719
  ViewSqlSelectProjectionSchema,
709
720
  ViewSqlStatementSchema,
710
721
  ViewSqlWhereSchema,
722
+ ViewVisibilityScopeSchema,
711
723
  WorkbenchAppInstanceSchema,
712
724
  WorkbenchGroupSchema,
713
725
  WorkbenchIdentitySchema,
@@ -771,7 +783,7 @@ import {
771
783
  resolveAgentWorkbenchSidebarConfig,
772
784
  validateBentoTree,
773
785
  visitPageExpression
774
- } from "../chunk-5T6DFESB.mjs";
786
+ } from "../chunk-AGKIIPUY.mjs";
775
787
  import "../chunk-3QS3WKRC.mjs";
776
788
  export {
777
789
  ACTION_PROGRAM_ABI,
@@ -915,6 +927,7 @@ export {
915
927
  BENTO_GRID_MIN_W,
916
928
  BentoActionResultSchema,
917
929
  BentoChromeSchema,
930
+ BentoDynamicLayoutSchema,
918
931
  BentoGridRectSchema,
919
932
  BentoNodeSchema,
920
933
  BentoPlacementSchema,
@@ -1124,6 +1137,7 @@ export {
1124
1137
  ExpiringAccessGrantSchema,
1125
1138
  FILE_PURPOSES,
1126
1139
  FILE_USAGE_OWNER_TYPES,
1140
+ FacetFieldConfigSchema,
1127
1141
  FilePurposeSchema,
1128
1142
  FileReadInstructionSchema,
1129
1143
  FileRecordSchema,
@@ -1141,6 +1155,9 @@ export {
1141
1155
  FileUsageSchema,
1142
1156
  FileVariantSchema,
1143
1157
  FileVariantStatusSchema,
1158
+ FilterBarBlockConfigSchema,
1159
+ GalleryBadgeConfigSchema,
1160
+ GalleryBlockConfigSchema,
1144
1161
  GovernedCatalogDomainQueryDataSourceSchema,
1145
1162
  GovernedCatalogResourceKindSchema,
1146
1163
  HotwordBodySchema,
@@ -1330,6 +1347,7 @@ export {
1330
1347
  RadarWritebackRecordSchema,
1331
1348
  ReadActionProgramRequestSchema,
1332
1349
  ReadablePageRuntimeBundleSchema,
1350
+ RecordDetailBlockConfigSchema,
1333
1351
  RecordEditorDraftOperationSchema,
1334
1352
  RecordEditorDraftSchema,
1335
1353
  RecordEditorFieldErrorSchema,
@@ -1399,6 +1417,8 @@ export {
1399
1417
  StorageLocatorSchema,
1400
1418
  StudioAgentModeSchema,
1401
1419
  SystemGroupDefinitionSchema,
1420
+ TableBlockConfigSchema,
1421
+ TableColumnGroupConfigSchema,
1402
1422
  TaskAgentSessionLinkSchema,
1403
1423
  TenantAgentThemeConfigSchema,
1404
1424
  TenantApplicationConfigSchema,
@@ -1459,8 +1479,10 @@ export {
1459
1479
  VIEW_SHARED_WITH_RELATION_KIND,
1460
1480
  ViewCapabilitySchema,
1461
1481
  ViewDataDeclarationSchema,
1482
+ ViewFacetDimensionSchema,
1462
1483
  ViewOntologyRecordSchema,
1463
1484
  ViewProviderDescriptorSchema,
1485
+ ViewShareDirectionSchema,
1464
1486
  ViewShareLinkPolicySchema,
1465
1487
  ViewShareTargetGrantSchema,
1466
1488
  ViewSqlAggregateHavingSchema,
@@ -1472,6 +1494,7 @@ export {
1472
1494
  ViewSqlAggregateTimeBucketSchema,
1473
1495
  ViewSqlAggregateUnwindSchema,
1474
1496
  ViewSqlCachePolicySchema,
1497
+ ViewSqlFacetsStatementSchema,
1475
1498
  ViewSqlFilterNodeSchema,
1476
1499
  ViewSqlFromSourceSchema,
1477
1500
  ViewSqlGraphSpecSchema,
@@ -1479,6 +1502,7 @@ export {
1479
1502
  ViewSqlSelectProjectionSchema,
1480
1503
  ViewSqlStatementSchema,
1481
1504
  ViewSqlWhereSchema,
1505
+ ViewVisibilityScopeSchema,
1482
1506
  WorkbenchAppInstanceSchema,
1483
1507
  WorkbenchGroupSchema,
1484
1508
  WorkbenchIdentitySchema,
package/lib/esm/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  canonicalContractSchemas
3
- } from "./chunk-WBZEIMZD.mjs";
3
+ } from "./chunk-AO3G3SE7.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-X7SUXIZU.mjs";
156
+ } from "./chunk-L4CNFVNV.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-OFJPHSRM.mjs";
246
+ } from "./chunk-XV4FR5Y6.mjs";
247
247
  import {
248
248
  ACTION_PROGRAM_ABI,
249
249
  AGENT_MODE_CAPABILITIES,
@@ -348,6 +348,7 @@ import {
348
348
  BENTO_GRID_MIN_W,
349
349
  BentoActionResultSchema,
350
350
  BentoChromeSchema,
351
+ BentoDynamicLayoutSchema,
351
352
  BentoGridRectSchema,
352
353
  BentoNodeSchema,
353
354
  BentoPlacementSchema,
@@ -551,6 +552,7 @@ import {
551
552
  ExpiringAccessGrantSchema,
552
553
  FILE_PURPOSES,
553
554
  FILE_USAGE_OWNER_TYPES,
555
+ FacetFieldConfigSchema,
554
556
  FilePurposeSchema,
555
557
  FileReadInstructionSchema,
556
558
  FileRecordSchema,
@@ -568,6 +570,9 @@ import {
568
570
  FileUsageSchema,
569
571
  FileVariantSchema,
570
572
  FileVariantStatusSchema,
573
+ FilterBarBlockConfigSchema,
574
+ GalleryBadgeConfigSchema,
575
+ GalleryBlockConfigSchema,
571
576
  GovernedCatalogDomainQueryDataSourceSchema,
572
577
  GovernedCatalogResourceKindSchema,
573
578
  HotwordBodySchema,
@@ -723,6 +728,7 @@ import {
723
728
  RadarSelectionSchema,
724
729
  RadarWritebackRecordSchema,
725
730
  ReadablePageRuntimeBundleSchema,
731
+ RecordDetailBlockConfigSchema,
726
732
  RecordEditorDraftOperationSchema,
727
733
  RecordEditorDraftSchema,
728
734
  RecordEditorFieldErrorSchema,
@@ -786,6 +792,8 @@ import {
786
792
  StorageLocatorSchema,
787
793
  StudioAgentModeSchema,
788
794
  SystemGroupDefinitionSchema,
795
+ TableBlockConfigSchema,
796
+ TableColumnGroupConfigSchema,
789
797
  TenantAgentThemeConfigSchema,
790
798
  TenantApplicationConfigSchema,
791
799
  TenantAuthBindingSchema,
@@ -846,8 +854,10 @@ import {
846
854
  VIEW_SHARED_WITH_RELATION_KIND,
847
855
  ViewCapabilitySchema,
848
856
  ViewDataDeclarationSchema,
857
+ ViewFacetDimensionSchema,
849
858
  ViewOntologyRecordSchema,
850
859
  ViewProviderDescriptorSchema,
860
+ ViewShareDirectionSchema,
851
861
  ViewShareLinkPolicySchema,
852
862
  ViewShareTargetGrantSchema,
853
863
  ViewSqlAggregateHavingSchema,
@@ -859,6 +869,7 @@ import {
859
869
  ViewSqlAggregateTimeBucketSchema,
860
870
  ViewSqlAggregateUnwindSchema,
861
871
  ViewSqlCachePolicySchema,
872
+ ViewSqlFacetsStatementSchema,
862
873
  ViewSqlFilterNodeSchema,
863
874
  ViewSqlFromSourceSchema,
864
875
  ViewSqlGraphSpecSchema,
@@ -866,6 +877,7 @@ import {
866
877
  ViewSqlSelectProjectionSchema,
867
878
  ViewSqlStatementSchema,
868
879
  ViewSqlWhereSchema,
880
+ ViewVisibilityScopeSchema,
869
881
  WorkbenchAppInstanceSchema,
870
882
  WorkbenchGroupSchema,
871
883
  WorkbenchIdentitySchema,
@@ -935,7 +947,7 @@ import {
935
947
  validateThemeTokensDocument,
936
948
  validateThemeTokensDocumentStructure,
937
949
  visitPageExpression
938
- } from "./chunk-5T6DFESB.mjs";
950
+ } from "./chunk-AGKIIPUY.mjs";
939
951
  import "./chunk-3QS3WKRC.mjs";
940
952
 
941
953
  // src/types/tool.ts
@@ -1117,6 +1129,7 @@ export {
1117
1129
  BENTO_GRID_MIN_W,
1118
1130
  BentoActionResultSchema,
1119
1131
  BentoChromeSchema,
1132
+ BentoDynamicLayoutSchema,
1120
1133
  BentoGridRectSchema,
1121
1134
  BentoNodeSchema,
1122
1135
  BentoPlacementSchema,
@@ -1329,6 +1342,7 @@ export {
1329
1342
  ExpiringAccessGrantSchema,
1330
1343
  FILE_PURPOSES,
1331
1344
  FILE_USAGE_OWNER_TYPES,
1345
+ FacetFieldConfigSchema,
1332
1346
  FilePurposeSchema,
1333
1347
  FileReadInstructionSchema,
1334
1348
  FileRecordSchema,
@@ -1346,6 +1360,9 @@ export {
1346
1360
  FileUsageSchema,
1347
1361
  FileVariantSchema,
1348
1362
  FileVariantStatusSchema,
1363
+ FilterBarBlockConfigSchema,
1364
+ GalleryBadgeConfigSchema,
1365
+ GalleryBlockConfigSchema,
1349
1366
  GovernedCatalogDomainQueryDataSourceSchema,
1350
1367
  GovernedCatalogResourceKindSchema,
1351
1368
  HotwordBodySchema,
@@ -1542,6 +1559,7 @@ export {
1542
1559
  RadarWritebackRecordSchema,
1543
1560
  ReadActionProgramRequestSchema,
1544
1561
  ReadablePageRuntimeBundleSchema,
1562
+ RecordDetailBlockConfigSchema,
1545
1563
  RecordEditorDraftOperationSchema,
1546
1564
  RecordEditorDraftSchema,
1547
1565
  RecordEditorFieldErrorSchema,
@@ -1612,6 +1630,8 @@ export {
1612
1630
  StorageLocatorSchema,
1613
1631
  StudioAgentModeSchema,
1614
1632
  SystemGroupDefinitionSchema,
1633
+ TableBlockConfigSchema,
1634
+ TableColumnGroupConfigSchema,
1615
1635
  TaskAgentSessionLinkSchema,
1616
1636
  TenantAgentThemeConfigSchema,
1617
1637
  TenantApplicationConfigSchema,
@@ -1677,8 +1697,10 @@ export {
1677
1697
  ValidationReasonType,
1678
1698
  ViewCapabilitySchema,
1679
1699
  ViewDataDeclarationSchema,
1700
+ ViewFacetDimensionSchema,
1680
1701
  ViewOntologyRecordSchema,
1681
1702
  ViewProviderDescriptorSchema,
1703
+ ViewShareDirectionSchema,
1682
1704
  ViewShareLinkPolicySchema,
1683
1705
  ViewShareTargetGrantSchema,
1684
1706
  ViewSqlAggregateHavingSchema,
@@ -1690,6 +1712,7 @@ export {
1690
1712
  ViewSqlAggregateTimeBucketSchema,
1691
1713
  ViewSqlAggregateUnwindSchema,
1692
1714
  ViewSqlCachePolicySchema,
1715
+ ViewSqlFacetsStatementSchema,
1693
1716
  ViewSqlFilterNodeSchema,
1694
1717
  ViewSqlFromSourceSchema,
1695
1718
  ViewSqlGraphSpecSchema,
@@ -1697,6 +1720,7 @@ export {
1697
1720
  ViewSqlSelectProjectionSchema,
1698
1721
  ViewSqlStatementSchema,
1699
1722
  ViewSqlWhereSchema,
1723
+ ViewVisibilityScopeSchema,
1700
1724
  WorkbenchAppInstanceSchema,
1701
1725
  WorkbenchGroupSchema,
1702
1726
  WorkbenchIdentitySchema,
@@ -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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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ACV,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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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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-X7SUXIZU.mjs";
154
- import "../chunk-OFJPHSRM.mjs";
153
+ } from "../chunk-L4CNFVNV.mjs";
154
+ import "../chunk-XV4FR5Y6.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-5T6DFESB.mjs";
164
+ } from "../chunk-AGKIIPUY.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-WBZEIMZD.mjs";
3
+ } from "../chunk-AO3G3SE7.mjs";
4
4
  import {
5
5
  AccessPolicySchema,
6
6
  ActionBindingSchema,
@@ -432,7 +432,7 @@ import {
432
432
  WorkflowTriggerSchema,
433
433
  WorkflowValidationIssueSchema,
434
434
  WorkspaceInteractionModeSchema
435
- } from "../chunk-5T6DFESB.mjs";
435
+ } from "../chunk-AGKIIPUY.mjs";
436
436
  import "../chunk-3QS3WKRC.mjs";
437
437
  export {
438
438
  AccessPolicySchema,