@inf-monkeys-tech/monkeys 1.1.32 → 1.1.33
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/index.d.ts +1 -0
- package/lib/contracts/index.d.ts.map +1 -1
- package/lib/contracts/index.js +1 -0
- package/lib/contracts/index.js.map +1 -1
- package/lib/contracts/workflow-canvas.d.ts +73 -0
- package/lib/contracts/workflow-canvas.d.ts.map +1 -0
- package/lib/contracts/workflow-canvas.js +33 -0
- package/lib/contracts/workflow-canvas.js.map +1 -0
- package/lib/contracts/workflow-definition.d.ts +537 -0
- package/lib/contracts/workflow-definition.d.ts.map +1 -1
- package/lib/contracts/workflow-definition.js +12 -2
- package/lib/contracts/workflow-definition.js.map +1 -1
- package/lib/esm/{chunk-OL3X34S6.mjs → chunk-AYAQRJZB.mjs} +3 -3
- package/lib/esm/{chunk-COMJDE7H.mjs → chunk-DDTXYQDI.mjs} +3 -3
- package/lib/esm/{chunk-HLCW3N47.mjs → chunk-J6LASFTW.mjs} +2 -2
- package/lib/esm/{chunk-DMDJCNPT.mjs → chunk-KZDXFORL.mjs} +2 -2
- package/lib/esm/{chunk-O5YP4QQ7.mjs → chunk-TYFYPXUR.mjs} +2 -2
- package/lib/esm/{chunk-BQ77E4VU.mjs → chunk-YNZODMGG.mjs} +378 -334
- package/lib/esm/chunk-YNZODMGG.mjs.map +1 -0
- package/lib/esm/contracts/index.mjs +12 -4
- package/lib/esm/index.mjs +14 -6
- package/lib/esm/index.mjs.map +1 -1
- package/lib/esm/runtime/index.mjs +3 -3
- package/lib/esm/schemas/index.mjs +3 -3
- package/lib/json-schema/workflow-definition.schema.json +195 -65
- package/lib/schemas/index.d.ts +42 -0
- package/lib/schemas/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/lib/esm/chunk-BQ77E4VU.mjs.map +0 -1
- /package/lib/esm/{chunk-OL3X34S6.mjs.map → chunk-AYAQRJZB.mjs.map} +0 -0
- /package/lib/esm/{chunk-COMJDE7H.mjs.map → chunk-DDTXYQDI.mjs.map} +0 -0
- /package/lib/esm/{chunk-HLCW3N47.mjs.map → chunk-J6LASFTW.mjs.map} +0 -0
- /package/lib/esm/{chunk-DMDJCNPT.mjs.map → chunk-KZDXFORL.mjs.map} +0 -0
- /package/lib/esm/{chunk-O5YP4QQ7.mjs.map → chunk-TYFYPXUR.mjs.map} +0 -0
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
RuntimeProgramDownloadResultSchema,
|
|
30
30
|
RuntimeProgramLoadRequestSchema,
|
|
31
31
|
RuntimeProgramLoadResultSchema
|
|
32
|
-
} from "../chunk-
|
|
32
|
+
} from "../chunk-KZDXFORL.mjs";
|
|
33
33
|
import {
|
|
34
34
|
ActorRefSchema,
|
|
35
35
|
AgentRuntimeEventSchema,
|
|
@@ -101,7 +101,7 @@ import {
|
|
|
101
101
|
WorkflowCompletionCommitSchema,
|
|
102
102
|
WorkflowCompletionReceiptSchema,
|
|
103
103
|
WorkflowPublicationSchema
|
|
104
|
-
} from "../chunk-
|
|
104
|
+
} from "../chunk-J6LASFTW.mjs";
|
|
105
105
|
import {
|
|
106
106
|
PAGE_STREAM_MAX_BUFFER_BYTES,
|
|
107
107
|
PAGE_STREAM_MAX_BUFFER_EVENTS,
|
|
@@ -115,7 +115,7 @@ import {
|
|
|
115
115
|
PageStreamDescriptorSchema,
|
|
116
116
|
PageStreamEventSchema,
|
|
117
117
|
pageStreamRoutes
|
|
118
|
-
} from "../chunk-
|
|
118
|
+
} from "../chunk-TYFYPXUR.mjs";
|
|
119
119
|
import {
|
|
120
120
|
ACTION_PROGRAM_ABI,
|
|
121
121
|
AGENT_MODE_CAPABILITIES,
|
|
@@ -563,6 +563,8 @@ import {
|
|
|
563
563
|
WorkbenchRuntimeBundleSchema,
|
|
564
564
|
WorkbenchRuntimeIdentitySchema,
|
|
565
565
|
WorkbenchSchema,
|
|
566
|
+
WorkflowCanvasElementSchema,
|
|
567
|
+
WorkflowCanvasSchema,
|
|
566
568
|
WorkflowColumnBindingSchema,
|
|
567
569
|
WorkflowColumnDependencySchema,
|
|
568
570
|
WorkflowColumnFieldRefSchema,
|
|
@@ -571,6 +573,8 @@ import {
|
|
|
571
573
|
WorkflowColumnOutputSchema,
|
|
572
574
|
WorkflowDefinitionSchema,
|
|
573
575
|
WorkflowEdgeSchema,
|
|
576
|
+
WorkflowEditorCommandSchema,
|
|
577
|
+
WorkflowEditorDocumentSchema,
|
|
574
578
|
WorkflowNodeSchema,
|
|
575
579
|
WorkflowOutputBindingSchema,
|
|
576
580
|
WorkflowParameterSchema,
|
|
@@ -597,7 +601,7 @@ import {
|
|
|
597
601
|
resolveAgentSessionCommandTransition,
|
|
598
602
|
resolveAgentWorkbenchSidebarConfig,
|
|
599
603
|
visitPageExpression
|
|
600
|
-
} from "../chunk-
|
|
604
|
+
} from "../chunk-YNZODMGG.mjs";
|
|
601
605
|
import "../chunk-3QS3WKRC.mjs";
|
|
602
606
|
export {
|
|
603
607
|
ACTION_PROGRAM_ABI,
|
|
@@ -1153,6 +1157,8 @@ export {
|
|
|
1153
1157
|
WorkbenchRuntimeBundleSchema,
|
|
1154
1158
|
WorkbenchRuntimeIdentitySchema,
|
|
1155
1159
|
WorkbenchSchema,
|
|
1160
|
+
WorkflowCanvasElementSchema,
|
|
1161
|
+
WorkflowCanvasSchema,
|
|
1156
1162
|
WorkflowCatalogEntrySchema,
|
|
1157
1163
|
WorkflowColumnBindingSchema,
|
|
1158
1164
|
WorkflowColumnDependencySchema,
|
|
@@ -1164,6 +1170,8 @@ export {
|
|
|
1164
1170
|
WorkflowCompletionReceiptSchema,
|
|
1165
1171
|
WorkflowDefinitionSchema,
|
|
1166
1172
|
WorkflowEdgeSchema,
|
|
1173
|
+
WorkflowEditorCommandSchema,
|
|
1174
|
+
WorkflowEditorDocumentSchema,
|
|
1167
1175
|
WorkflowNodeSchema,
|
|
1168
1176
|
WorkflowOutputBindingSchema,
|
|
1169
1177
|
WorkflowParameterSchema,
|
package/lib/esm/index.mjs
CHANGED
|
@@ -29,10 +29,10 @@ import {
|
|
|
29
29
|
RuntimeProgramDownloadResultSchema,
|
|
30
30
|
RuntimeProgramLoadRequestSchema,
|
|
31
31
|
RuntimeProgramLoadResultSchema
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-KZDXFORL.mjs";
|
|
33
33
|
import {
|
|
34
34
|
canonicalContractSchemas
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-DDTXYQDI.mjs";
|
|
36
36
|
import {
|
|
37
37
|
ActorRefSchema,
|
|
38
38
|
AgentRuntimeEventSchema,
|
|
@@ -104,7 +104,7 @@ import {
|
|
|
104
104
|
WorkflowCompletionCommitSchema,
|
|
105
105
|
WorkflowCompletionReceiptSchema,
|
|
106
106
|
WorkflowPublicationSchema
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-J6LASFTW.mjs";
|
|
108
108
|
import {
|
|
109
109
|
APPLICATION_HANDOFF_QUERY_PARAMETER,
|
|
110
110
|
DEFAULT_CONDUCTOR_OWNER_EMAIL,
|
|
@@ -230,7 +230,7 @@ import {
|
|
|
230
230
|
validateDomainCommand,
|
|
231
231
|
validateWorkbenchRuntimeSet,
|
|
232
232
|
writePageDraftPath
|
|
233
|
-
} from "./chunk-
|
|
233
|
+
} from "./chunk-AYAQRJZB.mjs";
|
|
234
234
|
import {
|
|
235
235
|
PAGE_STREAM_MAX_BUFFER_BYTES,
|
|
236
236
|
PAGE_STREAM_MAX_BUFFER_EVENTS,
|
|
@@ -244,7 +244,7 @@ import {
|
|
|
244
244
|
PageStreamDescriptorSchema,
|
|
245
245
|
PageStreamEventSchema,
|
|
246
246
|
pageStreamRoutes
|
|
247
|
-
} from "./chunk-
|
|
247
|
+
} from "./chunk-TYFYPXUR.mjs";
|
|
248
248
|
import {
|
|
249
249
|
ACTION_PROGRAM_ABI,
|
|
250
250
|
AGENT_MODE_CAPABILITIES,
|
|
@@ -694,6 +694,8 @@ import {
|
|
|
694
694
|
WorkbenchRuntimeBundleSchema,
|
|
695
695
|
WorkbenchRuntimeIdentitySchema,
|
|
696
696
|
WorkbenchSchema,
|
|
697
|
+
WorkflowCanvasElementSchema,
|
|
698
|
+
WorkflowCanvasSchema,
|
|
697
699
|
WorkflowColumnBindingSchema,
|
|
698
700
|
WorkflowColumnDependencySchema,
|
|
699
701
|
WorkflowColumnFieldRefSchema,
|
|
@@ -702,6 +704,8 @@ import {
|
|
|
702
704
|
WorkflowColumnOutputSchema,
|
|
703
705
|
WorkflowDefinitionSchema,
|
|
704
706
|
WorkflowEdgeSchema,
|
|
707
|
+
WorkflowEditorCommandSchema,
|
|
708
|
+
WorkflowEditorDocumentSchema,
|
|
705
709
|
WorkflowNodeSchema,
|
|
706
710
|
WorkflowOutputBindingSchema,
|
|
707
711
|
WorkflowParameterSchema,
|
|
@@ -734,7 +738,7 @@ import {
|
|
|
734
738
|
validateThemeTokensDocument,
|
|
735
739
|
validateThemeTokensDocumentStructure,
|
|
736
740
|
visitPageExpression
|
|
737
|
-
} from "./chunk-
|
|
741
|
+
} from "./chunk-YNZODMGG.mjs";
|
|
738
742
|
import "./chunk-3QS3WKRC.mjs";
|
|
739
743
|
|
|
740
744
|
// src/types/tool.ts
|
|
@@ -1345,6 +1349,8 @@ export {
|
|
|
1345
1349
|
WorkbenchRuntimeBundleSchema,
|
|
1346
1350
|
WorkbenchRuntimeIdentitySchema,
|
|
1347
1351
|
WorkbenchSchema,
|
|
1352
|
+
WorkflowCanvasElementSchema,
|
|
1353
|
+
WorkflowCanvasSchema,
|
|
1348
1354
|
WorkflowCatalogEntrySchema,
|
|
1349
1355
|
WorkflowColumnBindingSchema,
|
|
1350
1356
|
WorkflowColumnDependencySchema,
|
|
@@ -1356,6 +1362,8 @@ export {
|
|
|
1356
1362
|
WorkflowCompletionReceiptSchema,
|
|
1357
1363
|
WorkflowDefinitionSchema,
|
|
1358
1364
|
WorkflowEdgeSchema,
|
|
1365
|
+
WorkflowEditorCommandSchema,
|
|
1366
|
+
WorkflowEditorDocumentSchema,
|
|
1359
1367
|
WorkflowNodeSchema,
|
|
1360
1368
|
WorkflowOutputBindingSchema,
|
|
1361
1369
|
WorkflowParameterSchema,
|
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"]}
|
|
@@ -123,8 +123,8 @@ import {
|
|
|
123
123
|
validateDomainCommand,
|
|
124
124
|
validateWorkbenchRuntimeSet,
|
|
125
125
|
writePageDraftPath
|
|
126
|
-
} from "../chunk-
|
|
127
|
-
import "../chunk-
|
|
126
|
+
} from "../chunk-AYAQRJZB.mjs";
|
|
127
|
+
import "../chunk-TYFYPXUR.mjs";
|
|
128
128
|
import {
|
|
129
129
|
MONKEYS_REQUIRED_THEME_TOKEN_PATHS,
|
|
130
130
|
ThemeTokenValidationError,
|
|
@@ -134,7 +134,7 @@ import {
|
|
|
134
134
|
resolveThemeTokens,
|
|
135
135
|
validateThemeTokensDocument,
|
|
136
136
|
validateThemeTokensDocumentStructure
|
|
137
|
-
} from "../chunk-
|
|
137
|
+
} from "../chunk-YNZODMGG.mjs";
|
|
138
138
|
import "../chunk-3QS3WKRC.mjs";
|
|
139
139
|
export {
|
|
140
140
|
APPLICATION_HANDOFF_QUERY_PARAMETER,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
canonicalContractSchemas
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-DDTXYQDI.mjs";
|
|
4
4
|
import {
|
|
5
5
|
AgentRuntimeEventSchema,
|
|
6
6
|
AggregateAssetDeleteSchema,
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
WorkflowCompletionCommitSchema,
|
|
70
70
|
WorkflowCompletionReceiptSchema,
|
|
71
71
|
WorkflowPublicationSchema
|
|
72
|
-
} from "../chunk-
|
|
72
|
+
} from "../chunk-J6LASFTW.mjs";
|
|
73
73
|
import {
|
|
74
74
|
AccessPolicySchema,
|
|
75
75
|
ActionBindingSchema,
|
|
@@ -354,7 +354,7 @@ import {
|
|
|
354
354
|
WorkflowParameterTypeSchema,
|
|
355
355
|
WorkflowTriggerSchema,
|
|
356
356
|
WorkflowValidationIssueSchema
|
|
357
|
-
} from "../chunk-
|
|
357
|
+
} from "../chunk-YNZODMGG.mjs";
|
|
358
358
|
import "../chunk-3QS3WKRC.mjs";
|
|
359
359
|
export {
|
|
360
360
|
AccessPolicySchema,
|