@inf-monkeys-tech/monkeys 1.1.43 → 1.1.45

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 (62) hide show
  1. package/lib/contracts/agent-data.d.ts +7 -7
  2. package/lib/contracts/agent-native-runtime.d.ts +1 -1
  3. package/lib/contracts/agent.d.ts +75 -72
  4. package/lib/contracts/agent.d.ts.map +1 -1
  5. package/lib/contracts/agent.js +2 -0
  6. package/lib/contracts/agent.js.map +1 -1
  7. package/lib/contracts/declarative-control-http.d.ts +27 -26
  8. package/lib/contracts/declarative-control-http.d.ts.map +1 -1
  9. package/lib/contracts/declarative-control-http.js +1 -0
  10. package/lib/contracts/declarative-control-http.js.map +1 -1
  11. package/lib/contracts/declarative-control.d.ts +4 -4
  12. package/lib/contracts/declarative-publication-job.d.ts +11 -11
  13. package/lib/contracts/declarative-publication-verification.d.ts +209 -0
  14. package/lib/contracts/declarative-publication-verification.d.ts.map +1 -0
  15. package/lib/contracts/declarative-publication-verification.js +56 -0
  16. package/lib/contracts/declarative-publication-verification.js.map +1 -0
  17. package/lib/contracts/file.d.ts +21 -18
  18. package/lib/contracts/file.d.ts.map +1 -1
  19. package/lib/contracts/file.js +1 -0
  20. package/lib/contracts/file.js.map +1 -1
  21. package/lib/contracts/index.d.ts +2 -0
  22. package/lib/contracts/index.d.ts.map +1 -1
  23. package/lib/contracts/index.js +2 -0
  24. package/lib/contracts/index.js.map +1 -1
  25. package/lib/contracts/markdown-document.d.ts +311 -0
  26. package/lib/contracts/markdown-document.d.ts.map +1 -0
  27. package/lib/contracts/markdown-document.js +97 -0
  28. package/lib/contracts/markdown-document.js.map +1 -0
  29. package/lib/contracts/tenant.d.ts +4 -4
  30. package/lib/esm/{chunk-UUUHWSYL.mjs → chunk-4NESF77F.mjs} +2 -2
  31. package/lib/esm/{chunk-33OQXBRM.mjs → chunk-DC6UVTII.mjs} +3 -3
  32. package/lib/esm/{chunk-3YISMAL3.mjs → chunk-KRC5B425.mjs} +7 -3
  33. package/lib/esm/chunk-KRC5B425.mjs.map +1 -0
  34. package/lib/esm/{chunk-XUWZH2H3.mjs → chunk-QODKWH56.mjs} +585 -582
  35. package/lib/esm/chunk-QODKWH56.mjs.map +1 -0
  36. package/lib/esm/{chunk-WRSX2N7O.mjs → chunk-WB4LSU25.mjs} +258 -204
  37. package/lib/esm/chunk-WB4LSU25.mjs.map +1 -0
  38. package/lib/esm/{chunk-ZH6D5O6Q.mjs → chunk-WWALIVTO.mjs} +131 -16
  39. package/lib/esm/chunk-WWALIVTO.mjs.map +1 -0
  40. package/lib/esm/contracts/index.mjs +46 -4
  41. package/lib/esm/index.mjs +48 -6
  42. package/lib/esm/index.mjs.map +1 -1
  43. package/lib/esm/runtime/index.mjs +3 -3
  44. package/lib/esm/schemas/index.mjs +3 -3
  45. package/lib/json-schema/agent-session-event.schema.json +4 -0
  46. package/lib/json-schema/agent-session-run-event.schema.json +4 -0
  47. package/lib/json-schema/agent-session-view-model.schema.json +4 -0
  48. package/lib/json-schema/declarative-publication-verification-request.schema.json +338 -0
  49. package/lib/json-schema/declarative-publication-verification.schema.json +462 -0
  50. package/lib/json-schema/index.json +2 -0
  51. package/lib/runtime/runtime-definition-wire.d.ts +2 -2
  52. package/lib/schemas/index.d.ts +247 -49
  53. package/lib/schemas/index.d.ts.map +1 -1
  54. package/lib/schemas/index.js +3 -0
  55. package/lib/schemas/index.js.map +1 -1
  56. package/package.json +1 -1
  57. package/lib/esm/chunk-3YISMAL3.mjs.map +0 -1
  58. package/lib/esm/chunk-WRSX2N7O.mjs.map +0 -1
  59. package/lib/esm/chunk-XUWZH2H3.mjs.map +0 -1
  60. package/lib/esm/chunk-ZH6D5O6Q.mjs.map +0 -1
  61. /package/lib/esm/{chunk-UUUHWSYL.mjs.map → chunk-4NESF77F.mjs.map} +0 -0
  62. /package/lib/esm/{chunk-33OQXBRM.mjs.map → chunk-DC6UVTII.mjs.map} +0 -0
package/lib/esm/index.mjs CHANGED
@@ -41,6 +41,22 @@ import {
41
41
  DeclarativePublicationJobReconciliationSchema,
42
42
  DeclarativePublicationJobSchema,
43
43
  DeclarativePublicationJobScopeSchema,
44
+ MARKDOWN_DOCUMENT_MAX_BYTES,
45
+ MarkdownDocumentErrorCodeSchema,
46
+ MarkdownDocumentFileSchema,
47
+ MarkdownDocumentHistoryQuerySchema,
48
+ MarkdownDocumentHistorySchema,
49
+ MarkdownDocumentPolicySchema,
50
+ MarkdownDocumentReceiptSchema,
51
+ MarkdownDocumentRecordSchema,
52
+ MarkdownDocumentRestoreSchema,
53
+ MarkdownDocumentSaveResultSchema,
54
+ MarkdownDocumentSaveSchema,
55
+ MarkdownDocumentSourceSchema,
56
+ MarkdownDocumentVersionSchema,
57
+ MarkdownDocumentViewSchema,
58
+ MarkdownDocumentWorkspaceQuerySchema,
59
+ MarkdownDocumentWorkspaceSchema,
44
60
  PrepareActionProgramRequestSchema,
45
61
  ReadActionProgramRequestSchema,
46
62
  RegisterActionProgramRequestSchema,
@@ -49,10 +65,10 @@ import {
49
65
  RuntimeProgramDownloadResultSchema,
50
66
  RuntimeProgramLoadRequestSchema,
51
67
  RuntimeProgramLoadResultSchema
52
- } from "./chunk-ZH6D5O6Q.mjs";
68
+ } from "./chunk-WWALIVTO.mjs";
53
69
  import {
54
70
  canonicalContractSchemas
55
- } from "./chunk-3YISMAL3.mjs";
71
+ } from "./chunk-KRC5B425.mjs";
56
72
  import {
57
73
  ActorRefSchema,
58
74
  AgentRuntimeEventSchema,
@@ -75,12 +91,17 @@ import {
75
91
  BrandGeneticsProfileSchema,
76
92
  CompletionEventSchema,
77
93
  CompletionHeaderSchema,
94
+ DECLARATIVE_PUBLICATION_SCOPE_HEADER,
95
+ DECLARATIVE_PUBLICATION_SURFACE_HEADER,
78
96
  DataContinuityEnvelopeSchema,
79
97
  DeclarativeDocumentImportIntentSchema,
80
98
  DeclarativeDocumentImportPlanSchema,
81
99
  DeclarativeDocumentImportRequestSchema,
82
100
  DeclarativeDocumentImportResultSchema,
83
101
  DeclarativeImportDocumentSchema,
102
+ DeclarativePublicationScopeSchema,
103
+ DeclarativePublicationVerificationRequestSchema,
104
+ DeclarativePublicationVerificationSchema,
84
105
  ExecutionLinkSchema,
85
106
  ExpiringAccessGrantSchema,
86
107
  HotwordBodySchema,
@@ -124,7 +145,7 @@ import {
124
145
  WorkflowCompletionCommitSchema,
125
146
  WorkflowCompletionReceiptSchema,
126
147
  WorkflowPublicationSchema
127
- } from "./chunk-WRSX2N7O.mjs";
148
+ } from "./chunk-WB4LSU25.mjs";
128
149
  import {
129
150
  APPLICATION_HANDOFF_QUERY_PARAMETER,
130
151
  DEFAULT_CONDUCTOR_OWNER_EMAIL,
@@ -258,7 +279,7 @@ import {
258
279
  validateDomainCommand,
259
280
  validateWorkbenchRuntimeSet,
260
281
  writePageDraftPath
261
- } from "./chunk-33OQXBRM.mjs";
282
+ } from "./chunk-DC6UVTII.mjs";
262
283
  import {
263
284
  PAGE_STREAM_MAX_BUFFER_BYTES,
264
285
  PAGE_STREAM_MAX_BUFFER_EVENTS,
@@ -272,7 +293,7 @@ import {
272
293
  PageStreamDescriptorSchema,
273
294
  PageStreamEventSchema,
274
295
  pageStreamRoutes
275
- } from "./chunk-UUUHWSYL.mjs";
296
+ } from "./chunk-4NESF77F.mjs";
276
297
  import {
277
298
  ACTION_PROGRAM_ABI,
278
299
  AGENT_MODE_CAPABILITIES,
@@ -786,7 +807,7 @@ import {
786
807
  validateThemeTokensDocument,
787
808
  validateThemeTokensDocumentStructure,
788
809
  visitPageExpression
789
- } from "./chunk-XUWZH2H3.mjs";
810
+ } from "./chunk-QODKWH56.mjs";
790
811
  import "./chunk-3QS3WKRC.mjs";
791
812
 
792
813
  // src/types/tool.ts
@@ -1013,6 +1034,8 @@ export {
1013
1034
  DECLARATIVE_CONTROL_ONTOLOGY_DEFINITIONS,
1014
1035
  DECLARATIVE_CONTROL_SCHEMA_VERSION,
1015
1036
  DECLARATIVE_MIGRATION_ERROR_CODES,
1037
+ DECLARATIVE_PUBLICATION_SCOPE_HEADER,
1038
+ DECLARATIVE_PUBLICATION_SURFACE_HEADER,
1016
1039
  DEFAULT_ACTION_PROGRAM_BUDGETS,
1017
1040
  DEFAULT_AGENT_WORKBENCH_SIDEBAR_SECTIONS,
1018
1041
  DEFAULT_CONDUCTOR_OWNER_EMAIL,
@@ -1082,6 +1105,9 @@ export {
1082
1105
  DeclarativePublicationJobScopeSchema,
1083
1106
  DeclarativePublicationPlanIntentSchema,
1084
1107
  DeclarativePublicationResultSchema,
1108
+ DeclarativePublicationScopeSchema,
1109
+ DeclarativePublicationVerificationRequestSchema,
1110
+ DeclarativePublicationVerificationSchema,
1085
1111
  DeclarativeReleaseTargetIntentSchema,
1086
1112
  DeclarativeResourceKindSchema,
1087
1113
  DeclarativeRetireIntentSchema,
@@ -1180,6 +1206,7 @@ export {
1180
1206
  LineageRecordSchema,
1181
1207
  LocaleIdentifierSchema,
1182
1208
  LocalizedTextSchema,
1209
+ MARKDOWN_DOCUMENT_MAX_BYTES,
1183
1210
  MENU_ACTIVATION_QUERY_PARAMETER,
1184
1211
  MENU_CONTRACT_VERSION,
1185
1212
  MENU_MAX_DEFINITIONS,
@@ -1194,6 +1221,21 @@ export {
1194
1221
  ManagedFileEventTypeSchema,
1195
1222
  ManagedFileUriSchema,
1196
1223
  ManagementAccessSchema,
1224
+ MarkdownDocumentErrorCodeSchema,
1225
+ MarkdownDocumentFileSchema,
1226
+ MarkdownDocumentHistoryQuerySchema,
1227
+ MarkdownDocumentHistorySchema,
1228
+ MarkdownDocumentPolicySchema,
1229
+ MarkdownDocumentReceiptSchema,
1230
+ MarkdownDocumentRecordSchema,
1231
+ MarkdownDocumentRestoreSchema,
1232
+ MarkdownDocumentSaveResultSchema,
1233
+ MarkdownDocumentSaveSchema,
1234
+ MarkdownDocumentSourceSchema,
1235
+ MarkdownDocumentVersionSchema,
1236
+ MarkdownDocumentViewSchema,
1237
+ MarkdownDocumentWorkspaceQuerySchema,
1238
+ MarkdownDocumentWorkspaceSchema,
1197
1239
  MaterializedModelBudgetSchema,
1198
1240
  MaterializedModelProjectionSchema,
1199
1241
  MenuAccessRequirementSchema,
@@ -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 WorkflowTrigg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,EAAAA,UAAA,YAAS;AACT,EAAAA,UAAA,aAAU;AACV,EAAAA,UAAA,uBAAoB;AACpB,EAAAA,UAAA,eAAY;AACZ,EAAAA,UAAA,WAAQ;AACR,EAAAA,UAAA,kBAAe;AACf,EAAAA,UAAA,YAAS;AACT,EAAAA,UAAA,kBAAe;AAZL,SAAAA;AAAA,GAAA;;;ACpKL,IAAK,sBAAL,kBAAKC,yBAAL;AACL,EAAAA,qBAAA,WAAQ;AACR,EAAAA,qBAAA,aAAU;AAFA,SAAAA;AAAA,GAAA;AAKL,IAAK,uBAAL,kBAAKC,0BAAL;AACL,EAAAA,sBAAA,oBAAiB;AACjB,EAAAA,sBAAA,0BAAuB;AACvB,EAAAA,sBAAA,8BAA2B;AAHjB,SAAAA;AAAA,GAAA;AA0BL,IAAK,sBAAL,kBAAKC,yBAAL;AACL,EAAAA,qBAAA,cAAW;AACX,EAAAA,qBAAA,eAAY;AACZ,EAAAA,qBAAA,aAAU;AAHA,SAAAA;AAAA,GAAA;","names":["ToolType","ValidationIssueType","ValidationReasonType","WorkflowTriggerType"]}
1
+ {"version":3,"sources":["../../src/types/tool.ts","../../src/types/workflow.ts"],"sourcesContent":["import { I18nValue } from \"./i18n\";\n\nexport type IJSONValue = string | number | boolean | IJSONObject | IJSONArray;\nexport type IJSONArray = Array<IJSONValue>;\nexport interface IJSONObject {\n [x: string]: IJSONValue;\n}\n\nexport type ToolPropertyTypes =\n | \"string\"\n | \"file\"\n | \"number\"\n | \"boolean\"\n | \"options\"\n | \"json\"\n | \"notice\"\n | \"canvas-assist\";\n\nexport const CODE_LANGUAGES = [\"javaScript\", \"json\", \"python\", \"sql\"] as const;\n\nexport type EditorType =\n | \"code\"\n | \"codeNodeEditor\"\n | \"htmlEditor\"\n | \"sqlEditor\"\n | \"json\";\nexport type CodeNodeEditorLanguage = (typeof CODE_LANGUAGES)[number];\n\nexport interface ToolPropertyTypeOptions {\n editor?: EditorType; // Supported by: string\n editorLanguage?: CodeNodeEditorLanguage; // Supported by: string in combination with editor: codeNodeEditor\n maxValue?: number; // Supported by: number\n minValue?: number; // Supported by: number\n multipleValues?: boolean; // Supported by: <All>\n multipleValueButtonText?: string; // Supported when \"multipleValues\" set to true\n numberPrecision?: number; // Supported by: number\n password?: boolean; // Supported by: string\n rows?: number; // Supported by: string\n assetType?: AssetType;\n accept?: string;\n max?: number;\n\n [key: string]: any;\n}\n\nexport type ToolPropertyParameterValue =\n | string\n | number\n | boolean\n | undefined\n | null;\n\nexport type ResourceLocatorModes = \"id\" | \"url\" | \"list\" | string;\nexport interface IResourceLocatorResult {\n name: string;\n value: string;\n url?: string;\n}\n\nexport interface ToolParameter {\n [key: string]: ToolParameterValueType;\n}\nexport type ToolParameterValueType =\n // TODO: Later also has to be possible to add multiple ones with the name name. So array has to be possible\n | ToolPropertyParameterValue\n | ToolParameter\n | ToolPropertyParameterValue[]\n | ToolParameter[];\n\nexport interface ToolPropertyDisplayOptions {\n hide?: {\n [key: string]: ToolPropertyParameterValue[] | undefined;\n };\n show?: {\n [key: string]: ToolPropertyParameterValue[] | undefined;\n };\n}\n\nexport interface ToolPropertyOptions {\n name: string | I18nValue;\n value: string | number | boolean;\n action?: string;\n description?: string | I18nValue;\n}\n\nexport interface ToolPropertyCollection {\n displayName: string;\n name: string;\n values: ToolProperty[];\n}\n\nexport interface ToolPropertyValueExtractorBase {\n type: string;\n}\n\nexport interface ToolPropertyValueExtractorRegex {\n type: \"regex\";\n regex: string | RegExp;\n}\n\nexport type AssetType =\n | \"llm-model\"\n | \"sd-model\"\n | \"workflow\"\n | \"workflow-association\"\n | \"design-project\"\n | \"design-association\"\n | \"design-board\"\n | \"workflow-view\"\n | \"media-file\"\n | \"sql-knowledge-base-table\"\n | \"sql-knowledge-base\"\n | \"knowledge-base\"\n | \"canvas\"\n | \"workflow-template\"\n | \"fork-join-branch\"\n | \"workflow-version\"\n | \"tools\"\n | \"comfyui-server\"\n | \"comfyui-workflow\"\n | \"comfyui-model-type\"\n | \"comfyui-model\"\n | \"llm-channel\"\n | \"conversation-app\"\n | \"oneapi-model\"\n | \"leaderboard\"\n | \"model-training\";\n\nexport interface ToolProperty {\n displayName: string | I18nValue;\n name: string;\n type: ToolPropertyTypes;\n typeOptions?: ToolPropertyTypeOptions;\n default?: ToolParameterValueType;\n description?: string | I18nValue;\n hint?: string;\n displayOptions?: ToolPropertyDisplayOptions;\n options?: Array<ToolPropertyOptions | ToolProperty | ToolPropertyCollection>;\n placeholder?: string | I18nValue;\n isNodeSetting?: boolean;\n noDataExpression?: boolean;\n required?: boolean;\n example?: string;\n extractValue?: ToolPropertyValueExtractorRegex;\n properties?: ToolProperty[];\n assetType?: AssetType;\n flag?: boolean;\n}\n\nexport type ToolCategory =\n | \"image\" // 图像处理\n | \"text\" // 文本处理\n | \"file\" // 文件处理\n | \"gen-image\" // 图像生成\n | \"gen-text\" // 文本生成\n | \"train-model\" // 模型训练\n | \"process\" // 流程控制\n | \"auto\" // 自动化\n | \"bio\" // 生命科学\n | \"human\" // 用户交互\n | \"query\" // 搜索增强\n | \"db\" // 数据存储\n | \"extra\"; // 扩展能力\n\nexport enum ToolType {\n SIMPLE = \"SIMPLE\",\n FORK_JOIN = \"FORK_JOIN\",\n JOIN = \"JOIN\",\n DO_WHILE = \"DO_WHILE\",\n SWITCH = \"SWITCH\",\n DYNAMIC = \"DYNAMIC\",\n FORK_JOIN_DYNAMIC = \"FORK_JOIN_DYNAMIC\",\n TERMINATE = \"TERMINATE\",\n HUMAN = \"HUMAN\",\n SUB_WORKFLOW = \"SUB_WORKFLOW\",\n INLINE = \"INLINE\",\n SET_VARIABLE = \"SET_VARIABLE\",\n}\n\nexport interface ToolRuleItem {\n type: string;\n [x: string]: any;\n}\n\nexport interface ToolExtraInfo {\n [x: string]: any;\n}\n\nexport interface ToolCredentialItem {\n name: string;\n required: boolean;\n}\n\nexport interface ToolDef {\n type: ToolType;\n name: string;\n displayName: string | I18nValue;\n description?: string | I18nValue;\n icon?: string;\n input: ToolProperty[];\n output: ToolProperty[];\n categories?: ToolCategory[];\n rules?: ToolRuleItem[];\n extra?: ToolExtraInfo;\n credentials?: ToolCredentialItem[];\n}\n","export enum ValidationIssueType {\n ERROR = 'ERROR',\n WANTING = 'WANTING',\n}\n\nexport enum ValidationReasonType {\n VALUE_REQUIRED = 'VALUE_REQUIRED',\n VALUE_TYPE_NOT_MATCH = 'VALUE_TYPE_NOT_MATCH',\n DO_WHILE_EMPTY_LOOP_OVER = 'DO_WHILE_EMPTY_LOOP_OVER',\n}\n\nexport interface ValidationIssueReason {\n type: ValidationReasonType;\n name: string;\n}\n\nexport interface WorkflowValidationIssue {\n taskReferenceName: string;\n issueType: ValidationIssueType;\n detailReason: ValidationIssueReason;\n humanMessage: {\n en: string;\n zh: string;\n };\n}\n\nexport interface WorkflowTriggerConfig {\n triggerType: WorkflowTriggerType;\n cron?: string;\n}\n\nexport enum WorkflowTriggerType {\n MANUALLY = 'MANUAL',\n SCHEDULER = 'SCHEDULER',\n WEBHOOK = 'WEBHOOK',\n}\n \n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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WorkflowTriggerType"]}
@@ -131,8 +131,8 @@ import {
131
131
  validateDomainCommand,
132
132
  validateWorkbenchRuntimeSet,
133
133
  writePageDraftPath
134
- } from "../chunk-33OQXBRM.mjs";
135
- import "../chunk-UUUHWSYL.mjs";
134
+ } from "../chunk-DC6UVTII.mjs";
135
+ import "../chunk-4NESF77F.mjs";
136
136
  import {
137
137
  MONKEYS_REQUIRED_THEME_TOKEN_PATHS,
138
138
  ThemeTokenValidationError,
@@ -142,7 +142,7 @@ import {
142
142
  resolveThemeTokens,
143
143
  validateThemeTokensDocument,
144
144
  validateThemeTokensDocumentStructure
145
- } from "../chunk-XUWZH2H3.mjs";
145
+ } from "../chunk-QODKWH56.mjs";
146
146
  import "../chunk-3QS3WKRC.mjs";
147
147
  export {
148
148
  APPLICATION_HANDOFF_QUERY_PARAMETER,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  canonicalContractSchemas
3
- } from "../chunk-3YISMAL3.mjs";
3
+ } from "../chunk-KRC5B425.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-WRSX2N7O.mjs";
72
+ } from "../chunk-WB4LSU25.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-XUWZH2H3.mjs";
359
+ } from "../chunk-QODKWH56.mjs";
360
360
  import "../chunk-3QS3WKRC.mjs";
361
361
  export {
362
362
  AccessPolicySchema,
@@ -804,6 +804,10 @@
804
804
  "type": "string",
805
805
  "format": "uri"
806
806
  },
807
+ "fileUri": {
808
+ "type": "string",
809
+ "pattern": "^file:\\/\\/[A-Za-z0-9][A-Za-z0-9_-]{0,127}(?:#[A-Za-z0-9_-]+)?$"
810
+ },
807
811
  "size": {
808
812
  "type": "integer",
809
813
  "minimum": 0,
@@ -804,6 +804,10 @@
804
804
  "type": "string",
805
805
  "format": "uri"
806
806
  },
807
+ "fileUri": {
808
+ "type": "string",
809
+ "pattern": "^file:\\/\\/[A-Za-z0-9][A-Za-z0-9_-]{0,127}(?:#[A-Za-z0-9_-]+)?$"
810
+ },
807
811
  "size": {
808
812
  "type": "integer",
809
813
  "minimum": 0,
@@ -973,6 +973,10 @@
973
973
  "type": "string",
974
974
  "format": "uri"
975
975
  },
976
+ "fileUri": {
977
+ "type": "string",
978
+ "pattern": "^file:\\/\\/[A-Za-z0-9][A-Za-z0-9_-]{0,127}(?:#[A-Za-z0-9_-]+)?$"
979
+ },
976
980
  "size": {
977
981
  "type": "integer",
978
982
  "minimum": 0,
@@ -0,0 +1,338 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "resourceKind": {
6
+ "type": "string",
7
+ "enum": [
8
+ "page",
9
+ "navigation",
10
+ "workbench"
11
+ ]
12
+ },
13
+ "resourceId": {
14
+ "type": "string",
15
+ "minLength": 1,
16
+ "maxLength": 256
17
+ },
18
+ "releaseSlotId": {
19
+ "type": "string",
20
+ "minLength": 1,
21
+ "maxLength": 256
22
+ },
23
+ "releaseVersion": {
24
+ "type": "integer",
25
+ "exclusiveMinimum": 0,
26
+ "maximum": 9007199254740991
27
+ },
28
+ "expectedReleaseRevisionRef": {
29
+ "type": "object",
30
+ "properties": {
31
+ "kind": {
32
+ "type": "string",
33
+ "minLength": 1,
34
+ "maxLength": 256
35
+ },
36
+ "id": {
37
+ "type": "string",
38
+ "minLength": 1,
39
+ "maxLength": 256
40
+ },
41
+ "ownerRepo": {
42
+ "type": "string",
43
+ "minLength": 1,
44
+ "maxLength": 256
45
+ },
46
+ "visibility": {
47
+ "type": "string",
48
+ "enum": [
49
+ "tenant",
50
+ "global",
51
+ "public"
52
+ ]
53
+ },
54
+ "tenantScope": {
55
+ "type": "object",
56
+ "properties": {
57
+ "tenantRef": {
58
+ "type": "object",
59
+ "properties": {
60
+ "kind": {
61
+ "type": "string",
62
+ "minLength": 1,
63
+ "maxLength": 256
64
+ },
65
+ "id": {
66
+ "type": "string",
67
+ "minLength": 1,
68
+ "maxLength": 256
69
+ },
70
+ "ownerRepo": {
71
+ "type": "string",
72
+ "minLength": 1,
73
+ "maxLength": 256
74
+ }
75
+ },
76
+ "required": [
77
+ "kind",
78
+ "id",
79
+ "ownerRepo"
80
+ ],
81
+ "additionalProperties": false
82
+ },
83
+ "dataSpaceRef": {
84
+ "type": "object",
85
+ "properties": {
86
+ "kind": {
87
+ "type": "string",
88
+ "minLength": 1,
89
+ "maxLength": 256
90
+ },
91
+ "id": {
92
+ "type": "string",
93
+ "minLength": 1,
94
+ "maxLength": 256
95
+ },
96
+ "ownerRepo": {
97
+ "type": "string",
98
+ "minLength": 1,
99
+ "maxLength": 256
100
+ }
101
+ },
102
+ "required": [
103
+ "kind",
104
+ "id",
105
+ "ownerRepo"
106
+ ],
107
+ "additionalProperties": false
108
+ },
109
+ "teamRef": {
110
+ "type": "object",
111
+ "properties": {
112
+ "kind": {
113
+ "type": "string",
114
+ "minLength": 1,
115
+ "maxLength": 256
116
+ },
117
+ "id": {
118
+ "type": "string",
119
+ "minLength": 1,
120
+ "maxLength": 256
121
+ },
122
+ "ownerRepo": {
123
+ "type": "string",
124
+ "minLength": 1,
125
+ "maxLength": 256
126
+ }
127
+ },
128
+ "required": [
129
+ "kind",
130
+ "id",
131
+ "ownerRepo"
132
+ ],
133
+ "additionalProperties": false
134
+ }
135
+ },
136
+ "required": [
137
+ "tenantRef",
138
+ "dataSpaceRef"
139
+ ],
140
+ "additionalProperties": false
141
+ },
142
+ "revision": {
143
+ "type": "integer",
144
+ "exclusiveMinimum": 0,
145
+ "maximum": 9007199254740991
146
+ },
147
+ "schemaVersion": {
148
+ "type": "integer",
149
+ "exclusiveMinimum": 0,
150
+ "maximum": 9007199254740991
151
+ },
152
+ "contentHash": {
153
+ "type": "string",
154
+ "pattern": "^[a-f0-9]{64}$"
155
+ }
156
+ },
157
+ "required": [
158
+ "kind",
159
+ "id",
160
+ "ownerRepo",
161
+ "visibility",
162
+ "revision",
163
+ "schemaVersion",
164
+ "contentHash"
165
+ ],
166
+ "additionalProperties": false
167
+ },
168
+ "expectedDefinitionRevisionRef": {
169
+ "type": "object",
170
+ "properties": {
171
+ "kind": {
172
+ "type": "string",
173
+ "minLength": 1,
174
+ "maxLength": 256
175
+ },
176
+ "id": {
177
+ "type": "string",
178
+ "minLength": 1,
179
+ "maxLength": 256
180
+ },
181
+ "ownerRepo": {
182
+ "type": "string",
183
+ "minLength": 1,
184
+ "maxLength": 256
185
+ },
186
+ "visibility": {
187
+ "type": "string",
188
+ "enum": [
189
+ "tenant",
190
+ "global",
191
+ "public"
192
+ ]
193
+ },
194
+ "tenantScope": {
195
+ "type": "object",
196
+ "properties": {
197
+ "tenantRef": {
198
+ "type": "object",
199
+ "properties": {
200
+ "kind": {
201
+ "type": "string",
202
+ "minLength": 1,
203
+ "maxLength": 256
204
+ },
205
+ "id": {
206
+ "type": "string",
207
+ "minLength": 1,
208
+ "maxLength": 256
209
+ },
210
+ "ownerRepo": {
211
+ "type": "string",
212
+ "minLength": 1,
213
+ "maxLength": 256
214
+ }
215
+ },
216
+ "required": [
217
+ "kind",
218
+ "id",
219
+ "ownerRepo"
220
+ ],
221
+ "additionalProperties": false
222
+ },
223
+ "dataSpaceRef": {
224
+ "type": "object",
225
+ "properties": {
226
+ "kind": {
227
+ "type": "string",
228
+ "minLength": 1,
229
+ "maxLength": 256
230
+ },
231
+ "id": {
232
+ "type": "string",
233
+ "minLength": 1,
234
+ "maxLength": 256
235
+ },
236
+ "ownerRepo": {
237
+ "type": "string",
238
+ "minLength": 1,
239
+ "maxLength": 256
240
+ }
241
+ },
242
+ "required": [
243
+ "kind",
244
+ "id",
245
+ "ownerRepo"
246
+ ],
247
+ "additionalProperties": false
248
+ },
249
+ "teamRef": {
250
+ "type": "object",
251
+ "properties": {
252
+ "kind": {
253
+ "type": "string",
254
+ "minLength": 1,
255
+ "maxLength": 256
256
+ },
257
+ "id": {
258
+ "type": "string",
259
+ "minLength": 1,
260
+ "maxLength": 256
261
+ },
262
+ "ownerRepo": {
263
+ "type": "string",
264
+ "minLength": 1,
265
+ "maxLength": 256
266
+ }
267
+ },
268
+ "required": [
269
+ "kind",
270
+ "id",
271
+ "ownerRepo"
272
+ ],
273
+ "additionalProperties": false
274
+ }
275
+ },
276
+ "required": [
277
+ "tenantRef",
278
+ "dataSpaceRef"
279
+ ],
280
+ "additionalProperties": false
281
+ },
282
+ "revision": {
283
+ "type": "integer",
284
+ "exclusiveMinimum": 0,
285
+ "maximum": 9007199254740991
286
+ },
287
+ "schemaVersion": {
288
+ "type": "integer",
289
+ "exclusiveMinimum": 0,
290
+ "maximum": 9007199254740991
291
+ },
292
+ "contentHash": {
293
+ "type": "string",
294
+ "pattern": "^[a-f0-9]{64}$"
295
+ }
296
+ },
297
+ "required": [
298
+ "kind",
299
+ "id",
300
+ "ownerRepo",
301
+ "visibility",
302
+ "revision",
303
+ "schemaVersion",
304
+ "contentHash"
305
+ ],
306
+ "additionalProperties": false
307
+ },
308
+ "idempotencyKey": {
309
+ "type": "string",
310
+ "minLength": 1,
311
+ "maxLength": 256
312
+ },
313
+ "audience": {
314
+ "type": "object",
315
+ "properties": {
316
+ "teamId": {
317
+ "type": "string",
318
+ "minLength": 1,
319
+ "maxLength": 256
320
+ },
321
+ "path": {
322
+ "type": "string",
323
+ "minLength": 1,
324
+ "maxLength": 4096
325
+ }
326
+ },
327
+ "additionalProperties": false
328
+ }
329
+ },
330
+ "required": [
331
+ "resourceKind",
332
+ "resourceId",
333
+ "releaseSlotId"
334
+ ],
335
+ "additionalProperties": false,
336
+ "$id": "https://schemas.infmonkeys.com/contracts/declarative-publication-verification-request.schema.json",
337
+ "title": "declarative-publication-verification-request"
338
+ }