@inf-monkeys-tech/monkeys 1.1.38 → 1.1.40
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/declarative-control-http.d.ts +817 -190
- package/lib/contracts/declarative-control-http.d.ts.map +1 -1
- package/lib/contracts/declarative-control.d.ts +140 -30
- package/lib/contracts/declarative-control.d.ts.map +1 -1
- package/lib/contracts/declarative-control.js +101 -85
- package/lib/contracts/declarative-control.js.map +1 -1
- package/lib/contracts/declarative-document-import.d.ts +215 -50
- package/lib/contracts/declarative-document-import.d.ts.map +1 -1
- package/lib/contracts/declarative-publication-job.d.ts +172 -40
- package/lib/contracts/declarative-publication-job.d.ts.map +1 -1
- package/lib/esm/{chunk-MIG553ZW.mjs → chunk-5UMICQYH.mjs} +5 -3
- package/lib/esm/chunk-5UMICQYH.mjs.map +1 -0
- package/lib/esm/{chunk-RHIQIBBA.mjs → chunk-AJWWNJFI.mjs} +2 -2
- package/lib/esm/{chunk-V6RHZIZ4.mjs → chunk-FIIAQQUQ.mjs} +2 -2
- package/lib/esm/{chunk-QZ4R7KDA.mjs → chunk-G2HBRCFH.mjs} +94 -75
- package/lib/esm/chunk-G2HBRCFH.mjs.map +1 -0
- package/lib/esm/{chunk-5BYSA3KN.mjs → chunk-NIFHONOR.mjs} +3 -3
- package/lib/esm/{chunk-UJBIER7C.mjs → chunk-YYDR6UML.mjs} +2 -2
- package/lib/esm/contracts/index.mjs +8 -6
- package/lib/esm/index.mjs +10 -8
- 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/navigation-runtime-bundle.schema.json +470 -26
- package/lib/json-schema/navigation.schema.json +503 -26
- package/lib/runtime/declarative-control-compiler.d.ts.map +1 -1
- package/lib/runtime/declarative-control-compiler.js +2 -0
- package/lib/runtime/declarative-control-compiler.js.map +1 -1
- package/lib/runtime/runtime-definition-wire.d.ts +43 -10
- package/lib/runtime/runtime-definition-wire.d.ts.map +1 -1
- package/lib/schemas/index.d.ts +86 -20
- package/lib/schemas/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/lib/esm/chunk-MIG553ZW.mjs.map +0 -1
- package/lib/esm/chunk-QZ4R7KDA.mjs.map +0 -1
- /package/lib/esm/{chunk-RHIQIBBA.mjs.map → chunk-AJWWNJFI.mjs.map} +0 -0
- /package/lib/esm/{chunk-V6RHZIZ4.mjs.map → chunk-FIIAQQUQ.mjs.map} +0 -0
- /package/lib/esm/{chunk-5BYSA3KN.mjs.map → chunk-NIFHONOR.mjs.map} +0 -0
- /package/lib/esm/{chunk-UJBIER7C.mjs.map → chunk-YYDR6UML.mjs.map} +0 -0
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
WorkflowCompletionCommitSchema,
|
|
35
35
|
WorkflowCompletionReceiptSchema,
|
|
36
36
|
WorkflowPublicationSchema
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-YYDR6UML.mjs";
|
|
38
38
|
import {
|
|
39
39
|
ActionProgramArtifactSchema,
|
|
40
40
|
ActionProgramDefinitionSchema,
|
|
@@ -99,7 +99,7 @@ import {
|
|
|
99
99
|
WorkbenchSchema,
|
|
100
100
|
WorkflowColumnBindingSchema,
|
|
101
101
|
WorkflowDefinitionSchema
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-G2HBRCFH.mjs";
|
|
103
103
|
|
|
104
104
|
// src/schemas/index.ts
|
|
105
105
|
var canonicalContractSchemas = {
|
|
@@ -206,4 +206,4 @@ var canonicalContractSchemas = {
|
|
|
206
206
|
export {
|
|
207
207
|
canonicalContractSchemas
|
|
208
208
|
};
|
|
209
|
-
//# sourceMappingURL=chunk-
|
|
209
|
+
//# sourceMappingURL=chunk-NIFHONOR.mjs.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
RevisionRefSchema,
|
|
14
14
|
Sha256Schema,
|
|
15
15
|
TenantScopeSchema
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-G2HBRCFH.mjs";
|
|
17
17
|
|
|
18
18
|
// src/contracts/artifact.ts
|
|
19
19
|
import { z } from "zod";
|
|
@@ -1006,4 +1006,4 @@ export {
|
|
|
1006
1006
|
WorkflowCompletionCommitSchema,
|
|
1007
1007
|
WorkflowCompletionReceiptSchema
|
|
1008
1008
|
};
|
|
1009
|
-
//# sourceMappingURL=chunk-
|
|
1009
|
+
//# sourceMappingURL=chunk-YYDR6UML.mjs.map
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
RuntimeProgramDownloadResultSchema,
|
|
30
30
|
RuntimeProgramLoadRequestSchema,
|
|
31
31
|
RuntimeProgramLoadResultSchema
|
|
32
|
-
} from "../chunk-
|
|
32
|
+
} from "../chunk-FIIAQQUQ.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-YYDR6UML.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-AJWWNJFI.mjs";
|
|
119
119
|
import {
|
|
120
120
|
ACTION_PROGRAM_ABI,
|
|
121
121
|
AGENT_MODE_CAPABILITIES,
|
|
@@ -428,7 +428,8 @@ import {
|
|
|
428
428
|
MenuRuntimeInputBindingSchema,
|
|
429
429
|
MenuSourceInputBindingSchema,
|
|
430
430
|
NavigationGroupNodeSchema,
|
|
431
|
-
|
|
431
|
+
NavigationHeadbarActionSchema,
|
|
432
|
+
NavigationHeadbarSchema,
|
|
432
433
|
NavigationNodeSchema,
|
|
433
434
|
NavigationReleaseSchema,
|
|
434
435
|
NavigationRuntimeBundleSchema,
|
|
@@ -616,7 +617,7 @@ import {
|
|
|
616
617
|
resolveAgentSessionCommandTransition,
|
|
617
618
|
resolveAgentWorkbenchSidebarConfig,
|
|
618
619
|
visitPageExpression
|
|
619
|
-
} from "../chunk-
|
|
620
|
+
} from "../chunk-G2HBRCFH.mjs";
|
|
620
621
|
import "../chunk-3QS3WKRC.mjs";
|
|
621
622
|
export {
|
|
622
623
|
ACTION_PROGRAM_ABI,
|
|
@@ -982,7 +983,8 @@ export {
|
|
|
982
983
|
MenuRuntimeInputBindingSchema,
|
|
983
984
|
MenuSourceInputBindingSchema,
|
|
984
985
|
NavigationGroupNodeSchema,
|
|
985
|
-
|
|
986
|
+
NavigationHeadbarActionSchema,
|
|
987
|
+
NavigationHeadbarSchema,
|
|
986
988
|
NavigationNodeSchema,
|
|
987
989
|
NavigationReleaseSchema,
|
|
988
990
|
NavigationRuntimeBundleSchema,
|
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-FIIAQQUQ.mjs";
|
|
33
33
|
import {
|
|
34
34
|
canonicalContractSchemas
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-NIFHONOR.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-YYDR6UML.mjs";
|
|
108
108
|
import {
|
|
109
109
|
APPLICATION_HANDOFF_QUERY_PARAMETER,
|
|
110
110
|
DEFAULT_CONDUCTOR_OWNER_EMAIL,
|
|
@@ -235,7 +235,7 @@ import {
|
|
|
235
235
|
validateDomainCommand,
|
|
236
236
|
validateWorkbenchRuntimeSet,
|
|
237
237
|
writePageDraftPath
|
|
238
|
-
} from "./chunk-
|
|
238
|
+
} from "./chunk-5UMICQYH.mjs";
|
|
239
239
|
import {
|
|
240
240
|
PAGE_STREAM_MAX_BUFFER_BYTES,
|
|
241
241
|
PAGE_STREAM_MAX_BUFFER_EVENTS,
|
|
@@ -249,7 +249,7 @@ import {
|
|
|
249
249
|
PageStreamDescriptorSchema,
|
|
250
250
|
PageStreamEventSchema,
|
|
251
251
|
pageStreamRoutes
|
|
252
|
-
} from "./chunk-
|
|
252
|
+
} from "./chunk-AJWWNJFI.mjs";
|
|
253
253
|
import {
|
|
254
254
|
ACTION_PROGRAM_ABI,
|
|
255
255
|
AGENT_MODE_CAPABILITIES,
|
|
@@ -563,7 +563,8 @@ import {
|
|
|
563
563
|
MenuRuntimeInputBindingSchema,
|
|
564
564
|
MenuSourceInputBindingSchema,
|
|
565
565
|
NavigationGroupNodeSchema,
|
|
566
|
-
|
|
566
|
+
NavigationHeadbarActionSchema,
|
|
567
|
+
NavigationHeadbarSchema,
|
|
567
568
|
NavigationNodeSchema,
|
|
568
569
|
NavigationReleaseSchema,
|
|
569
570
|
NavigationRuntimeBundleSchema,
|
|
@@ -758,7 +759,7 @@ import {
|
|
|
758
759
|
validateThemeTokensDocument,
|
|
759
760
|
validateThemeTokensDocumentStructure,
|
|
760
761
|
visitPageExpression
|
|
761
|
-
} from "./chunk-
|
|
762
|
+
} from "./chunk-G2HBRCFH.mjs";
|
|
762
763
|
import "./chunk-3QS3WKRC.mjs";
|
|
763
764
|
|
|
764
765
|
// src/types/tool.ts
|
|
@@ -1169,7 +1170,8 @@ export {
|
|
|
1169
1170
|
NAVIGATION_UNAVAILABLE_CAPABILITY,
|
|
1170
1171
|
NAVIGATION_UNAVAILABLE_CAPABILITY_HEADER,
|
|
1171
1172
|
NavigationGroupNodeSchema,
|
|
1172
|
-
|
|
1173
|
+
NavigationHeadbarActionSchema,
|
|
1174
|
+
NavigationHeadbarSchema,
|
|
1173
1175
|
NavigationNodeSchema,
|
|
1174
1176
|
NavigationReleaseSchema,
|
|
1175
1177
|
NavigationRuntimeBundleSchema,
|
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"]}
|
|
@@ -128,8 +128,8 @@ import {
|
|
|
128
128
|
validateDomainCommand,
|
|
129
129
|
validateWorkbenchRuntimeSet,
|
|
130
130
|
writePageDraftPath
|
|
131
|
-
} from "../chunk-
|
|
132
|
-
import "../chunk-
|
|
131
|
+
} from "../chunk-5UMICQYH.mjs";
|
|
132
|
+
import "../chunk-AJWWNJFI.mjs";
|
|
133
133
|
import {
|
|
134
134
|
MONKEYS_REQUIRED_THEME_TOKEN_PATHS,
|
|
135
135
|
ThemeTokenValidationError,
|
|
@@ -139,7 +139,7 @@ import {
|
|
|
139
139
|
resolveThemeTokens,
|
|
140
140
|
validateThemeTokensDocument,
|
|
141
141
|
validateThemeTokensDocumentStructure
|
|
142
|
-
} from "../chunk-
|
|
142
|
+
} from "../chunk-G2HBRCFH.mjs";
|
|
143
143
|
import "../chunk-3QS3WKRC.mjs";
|
|
144
144
|
export {
|
|
145
145
|
APPLICATION_HANDOFF_QUERY_PARAMETER,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
canonicalContractSchemas
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-NIFHONOR.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-YYDR6UML.mjs";
|
|
73
73
|
import {
|
|
74
74
|
AccessPolicySchema,
|
|
75
75
|
ActionBindingSchema,
|
|
@@ -356,7 +356,7 @@ import {
|
|
|
356
356
|
WorkflowParameterTypeSchema,
|
|
357
357
|
WorkflowTriggerSchema,
|
|
358
358
|
WorkflowValidationIssueSchema
|
|
359
|
-
} from "../chunk-
|
|
359
|
+
} from "../chunk-G2HBRCFH.mjs";
|
|
360
360
|
import "../chunk-3QS3WKRC.mjs";
|
|
361
361
|
export {
|
|
362
362
|
AccessPolicySchema,
|