@inf-monkeys-tech/monkeys 1.1.51 → 1.1.52

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 (49) hide show
  1. package/lib/contracts/declarative-control-http.d.ts +1228 -536
  2. package/lib/contracts/declarative-control-http.d.ts.map +1 -1
  3. package/lib/contracts/declarative-control.d.ts +115 -8
  4. package/lib/contracts/declarative-control.d.ts.map +1 -1
  5. package/lib/contracts/declarative-control.js +37 -9
  6. package/lib/contracts/declarative-control.js.map +1 -1
  7. package/lib/contracts/declarative-publication-job.d.ts +352 -208
  8. package/lib/contracts/declarative-publication-job.d.ts.map +1 -1
  9. package/lib/contracts/render.d.ts +201 -1
  10. package/lib/contracts/render.d.ts.map +1 -1
  11. package/lib/contracts/render.js +70 -18
  12. package/lib/contracts/render.js.map +1 -1
  13. package/lib/contracts/tenant.d.ts +6 -6
  14. package/lib/contracts/workflow-definition.d.ts +4 -4
  15. package/lib/esm/{chunk-HADHWAS6.mjs → chunk-BNFELJET.mjs} +3 -3
  16. package/lib/esm/chunk-BNFELJET.mjs.map +1 -0
  17. package/lib/esm/{chunk-QESY23FV.mjs → chunk-CB4WTYNQ.mjs} +2 -2
  18. package/lib/esm/{chunk-JTMTLJYW.mjs → chunk-E46Y3E7E.mjs} +2 -2
  19. package/lib/esm/{chunk-V6QJCBGM.mjs → chunk-EMZG7H6M.mjs} +2 -2
  20. package/lib/esm/{chunk-DCW2YDFC.mjs → chunk-LQ72DLZI.mjs} +90 -22
  21. package/lib/esm/chunk-LQ72DLZI.mjs.map +1 -0
  22. package/lib/esm/{chunk-J5D3M43J.mjs → chunk-TFNKWLY6.mjs} +31 -15
  23. package/lib/esm/chunk-TFNKWLY6.mjs.map +1 -0
  24. package/lib/esm/contracts/index.mjs +12 -4
  25. package/lib/esm/index.mjs +14 -6
  26. package/lib/esm/index.mjs.map +1 -1
  27. package/lib/esm/runtime/index.mjs +3 -3
  28. package/lib/esm/schemas/index.mjs +11 -3
  29. package/lib/json-schema/overlay-node.schema.json +100 -0
  30. package/lib/json-schema/page-runtime-bundle.schema.json +110 -1
  31. package/lib/json-schema/page.schema.json +111 -2
  32. package/lib/json-schema/render-node.schema.json +100 -0
  33. package/lib/json-schema/render-tree.schema.json +100 -0
  34. package/lib/runtime/declarative-control-compiler.d.ts.map +1 -1
  35. package/lib/runtime/declarative-control-compiler.js +27 -10
  36. package/lib/runtime/declarative-control-compiler.js.map +1 -1
  37. package/lib/runtime/runtime-definition-wire.d.ts +88 -52
  38. package/lib/runtime/runtime-definition-wire.d.ts.map +1 -1
  39. package/lib/schemas/index.d.ts +178 -9
  40. package/lib/schemas/index.d.ts.map +1 -1
  41. package/lib/schemas/index.js +9 -4
  42. package/lib/schemas/index.js.map +1 -1
  43. package/package.json +2 -2
  44. package/lib/esm/chunk-DCW2YDFC.mjs.map +0 -1
  45. package/lib/esm/chunk-HADHWAS6.mjs.map +0 -1
  46. package/lib/esm/chunk-J5D3M43J.mjs.map +0 -1
  47. /package/lib/esm/{chunk-QESY23FV.mjs.map → chunk-CB4WTYNQ.mjs.map} +0 -0
  48. /package/lib/esm/{chunk-JTMTLJYW.mjs.map → chunk-E46Y3E7E.mjs.map} +0 -0
  49. /package/lib/esm/{chunk-V6QJCBGM.mjs.map → chunk-EMZG7H6M.mjs.map} +0 -0
@@ -72,7 +72,7 @@ import {
72
72
  RuntimeProgramLoadRequestSchema,
73
73
  RuntimeProgramLoadResultSchema,
74
74
  platformNotificationRoutes
75
- } from "../chunk-JTMTLJYW.mjs";
75
+ } from "../chunk-E46Y3E7E.mjs";
76
76
  import {
77
77
  ActorRefSchema,
78
78
  AgentRuntimeEventSchema,
@@ -152,7 +152,7 @@ import {
152
152
  WorkflowCompletionCommitSchema,
153
153
  WorkflowCompletionReceiptSchema,
154
154
  WorkflowPublicationSchema
155
- } from "../chunk-V6QJCBGM.mjs";
155
+ } from "../chunk-EMZG7H6M.mjs";
156
156
  import {
157
157
  PAGE_STREAM_MAX_BUFFER_BYTES,
158
158
  PAGE_STREAM_MAX_BUFFER_EVENTS,
@@ -166,7 +166,7 @@ import {
166
166
  PageStreamDescriptorSchema,
167
167
  PageStreamEventSchema,
168
168
  pageStreamRoutes
169
- } from "../chunk-QESY23FV.mjs";
169
+ } from "../chunk-CB4WTYNQ.mjs";
170
170
  import {
171
171
  ACTION_PROGRAM_ABI,
172
172
  AGENT_MODE_CAPABILITIES,
@@ -544,6 +544,7 @@ import {
544
544
  ProductDeclarativeAuthoringCatalogSchema,
545
545
  ProductDeclarativeCapabilityRegistrationSchema,
546
546
  ProductSurfaceSchema,
547
+ ProgramActionTriggerSchema,
547
548
  ProgramBindingSchema,
548
549
  ProjectionSpecSchema,
549
550
  PublicationPlanOperationSchema,
@@ -566,6 +567,7 @@ import {
566
567
  ReleaseOperationSchema,
567
568
  ReleaseValidationSchema,
568
569
  RenderActivationSchema,
570
+ RenderBentoSurfaceSchema,
569
571
  RenderLayoutSchema,
570
572
  RenderLifecycleSchema,
571
573
  RenderNodeKindSchema,
@@ -573,6 +575,8 @@ import {
573
575
  RenderNodeStateSchema,
574
576
  RenderResponsiveRuleSchema,
575
577
  RenderScrollSchema,
578
+ RenderSkeletonKindSchema,
579
+ RenderSkeletonSchema,
576
580
  RenderStyleSchema,
577
581
  RenderStyleValueSchema,
578
582
  RenderSurfaceSchema,
@@ -675,7 +679,7 @@ import {
675
679
  resolveAgentSessionCommandTransition,
676
680
  resolveAgentWorkbenchSidebarConfig,
677
681
  visitPageExpression
678
- } from "../chunk-DCW2YDFC.mjs";
682
+ } from "../chunk-LQ72DLZI.mjs";
679
683
  import "../chunk-3QS3WKRC.mjs";
680
684
  export {
681
685
  ACTION_PROGRAM_ABI,
@@ -1170,6 +1174,7 @@ export {
1170
1174
  ProductDeclarativeAuthoringCatalogSchema,
1171
1175
  ProductDeclarativeCapabilityRegistrationSchema,
1172
1176
  ProductSurfaceSchema,
1177
+ ProgramActionTriggerSchema,
1173
1178
  ProgramBindingSchema,
1174
1179
  ProjectionSpecSchema,
1175
1180
  PublicationPlanOperationSchema,
@@ -1209,6 +1214,7 @@ export {
1209
1214
  ReleaseOperationSchema,
1210
1215
  ReleaseValidationSchema,
1211
1216
  RenderActivationSchema,
1217
+ RenderBentoSurfaceSchema,
1212
1218
  RenderLayoutSchema,
1213
1219
  RenderLifecycleSchema,
1214
1220
  RenderNodeKindSchema,
@@ -1216,6 +1222,8 @@ export {
1216
1222
  RenderNodeStateSchema,
1217
1223
  RenderResponsiveRuleSchema,
1218
1224
  RenderScrollSchema,
1225
+ RenderSkeletonKindSchema,
1226
+ RenderSkeletonSchema,
1219
1227
  RenderStyleSchema,
1220
1228
  RenderStyleValueSchema,
1221
1229
  RenderSurfaceSchema,
package/lib/esm/index.mjs CHANGED
@@ -72,10 +72,10 @@ import {
72
72
  RuntimeProgramLoadRequestSchema,
73
73
  RuntimeProgramLoadResultSchema,
74
74
  platformNotificationRoutes
75
- } from "./chunk-JTMTLJYW.mjs";
75
+ } from "./chunk-E46Y3E7E.mjs";
76
76
  import {
77
77
  canonicalContractSchemas
78
- } from "./chunk-HADHWAS6.mjs";
78
+ } from "./chunk-BNFELJET.mjs";
79
79
  import {
80
80
  ActorRefSchema,
81
81
  AgentRuntimeEventSchema,
@@ -155,7 +155,7 @@ import {
155
155
  WorkflowCompletionCommitSchema,
156
156
  WorkflowCompletionReceiptSchema,
157
157
  WorkflowPublicationSchema
158
- } from "./chunk-V6QJCBGM.mjs";
158
+ } from "./chunk-EMZG7H6M.mjs";
159
159
  import {
160
160
  APPLICATION_HANDOFF_QUERY_PARAMETER,
161
161
  DEFAULT_CONDUCTOR_OWNER_EMAIL,
@@ -287,7 +287,7 @@ import {
287
287
  validateDomainCommand,
288
288
  validateWorkbenchRuntimeSet,
289
289
  writePageDraftPath
290
- } from "./chunk-J5D3M43J.mjs";
290
+ } from "./chunk-TFNKWLY6.mjs";
291
291
  import {
292
292
  PAGE_STREAM_MAX_BUFFER_BYTES,
293
293
  PAGE_STREAM_MAX_BUFFER_EVENTS,
@@ -301,7 +301,7 @@ import {
301
301
  PageStreamDescriptorSchema,
302
302
  PageStreamEventSchema,
303
303
  pageStreamRoutes
304
- } from "./chunk-QESY23FV.mjs";
304
+ } from "./chunk-CB4WTYNQ.mjs";
305
305
  import {
306
306
  ACTION_PROGRAM_ABI,
307
307
  AGENT_MODE_CAPABILITIES,
@@ -680,6 +680,7 @@ import {
680
680
  ProductDeclarativeAuthoringCatalogSchema,
681
681
  ProductDeclarativeCapabilityRegistrationSchema,
682
682
  ProductSurfaceSchema,
683
+ ProgramActionTriggerSchema,
683
684
  ProgramBindingSchema,
684
685
  ProjectionSpecSchema,
685
686
  PublicationPlanOperationSchema,
@@ -702,6 +703,7 @@ import {
702
703
  ReleaseOperationSchema,
703
704
  ReleaseValidationSchema,
704
705
  RenderActivationSchema,
706
+ RenderBentoSurfaceSchema,
705
707
  RenderLayoutSchema,
706
708
  RenderLifecycleSchema,
707
709
  RenderNodeKindSchema,
@@ -709,6 +711,8 @@ import {
709
711
  RenderNodeStateSchema,
710
712
  RenderResponsiveRuleSchema,
711
713
  RenderScrollSchema,
714
+ RenderSkeletonKindSchema,
715
+ RenderSkeletonSchema,
712
716
  RenderStyleSchema,
713
717
  RenderStyleValueSchema,
714
718
  RenderSurfaceSchema,
@@ -818,7 +822,7 @@ import {
818
822
  validateThemeTokensDocument,
819
823
  validateThemeTokensDocumentStructure,
820
824
  visitPageExpression
821
- } from "./chunk-DCW2YDFC.mjs";
825
+ } from "./chunk-LQ72DLZI.mjs";
822
826
  import "./chunk-3QS3WKRC.mjs";
823
827
 
824
828
  // src/types/tool.ts
@@ -1359,6 +1363,7 @@ export {
1359
1363
  ProductDeclarativeAuthoringCatalogSchema,
1360
1364
  ProductDeclarativeCapabilityRegistrationSchema,
1361
1365
  ProductSurfaceSchema,
1366
+ ProgramActionTriggerSchema,
1362
1367
  ProgramBindingSchema,
1363
1368
  ProjectionSpecSchema,
1364
1369
  PublicationPlanOperationSchema,
@@ -1400,6 +1405,7 @@ export {
1400
1405
  ReleaseOperationSchema,
1401
1406
  ReleaseValidationSchema,
1402
1407
  RenderActivationSchema,
1408
+ RenderBentoSurfaceSchema,
1403
1409
  RenderLayoutSchema,
1404
1410
  RenderLifecycleSchema,
1405
1411
  RenderNodeKindSchema,
@@ -1407,6 +1413,8 @@ export {
1407
1413
  RenderNodeStateSchema,
1408
1414
  RenderResponsiveRuleSchema,
1409
1415
  RenderScrollSchema,
1416
+ RenderSkeletonKindSchema,
1417
+ RenderSkeletonSchema,
1410
1418
  RenderStyleSchema,
1411
1419
  RenderStyleValueSchema,
1412
1420
  RenderSurfaceSchema,
@@ -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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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"]}
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"]}
@@ -129,8 +129,8 @@ import {
129
129
  validateDomainCommand,
130
130
  validateWorkbenchRuntimeSet,
131
131
  writePageDraftPath
132
- } from "../chunk-J5D3M43J.mjs";
133
- import "../chunk-QESY23FV.mjs";
132
+ } from "../chunk-TFNKWLY6.mjs";
133
+ import "../chunk-CB4WTYNQ.mjs";
134
134
  import {
135
135
  MONKEYS_REQUIRED_THEME_TOKEN_PATHS,
136
136
  ThemeTokenValidationError,
@@ -140,7 +140,7 @@ import {
140
140
  resolveThemeTokens,
141
141
  validateThemeTokensDocument,
142
142
  validateThemeTokensDocumentStructure
143
- } from "../chunk-DCW2YDFC.mjs";
143
+ } from "../chunk-LQ72DLZI.mjs";
144
144
  import "../chunk-3QS3WKRC.mjs";
145
145
  export {
146
146
  APPLICATION_HANDOFF_QUERY_PARAMETER,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  canonicalContractSchemas
3
- } from "../chunk-HADHWAS6.mjs";
3
+ } from "../chunk-BNFELJET.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-V6QJCBGM.mjs";
72
+ } from "../chunk-EMZG7H6M.mjs";
73
73
  import {
74
74
  AccessPolicySchema,
75
75
  ActionBindingSchema,
@@ -270,6 +270,7 @@ import {
270
270
  ProductDeclarationSchema,
271
271
  ProductDeclarativeCapabilityRegistrationSchema,
272
272
  ProductSurfaceSchema,
273
+ ProgramActionTriggerSchema,
273
274
  ProjectionSpecSchema,
274
275
  PublicationPlanOperationSchema,
275
276
  PublicationPlanSchema,
@@ -290,6 +291,7 @@ import {
290
291
  ReleaseOperationSchema,
291
292
  ReleaseValidationSchema,
292
293
  RenderActivationSchema,
294
+ RenderBentoSurfaceSchema,
293
295
  RenderLayoutSchema,
294
296
  RenderLifecycleSchema,
295
297
  RenderNodeKindSchema,
@@ -297,6 +299,8 @@ import {
297
299
  RenderNodeStateSchema,
298
300
  RenderResponsiveRuleSchema,
299
301
  RenderScrollSchema,
302
+ RenderSkeletonKindSchema,
303
+ RenderSkeletonSchema,
300
304
  RenderSurfaceSchema,
301
305
  RenderTreeSchema,
302
306
  ResolvedNavigationTargetSchema,
@@ -358,7 +362,7 @@ import {
358
362
  WorkflowParameterTypeSchema,
359
363
  WorkflowTriggerSchema,
360
364
  WorkflowValidationIssueSchema
361
- } from "../chunk-DCW2YDFC.mjs";
365
+ } from "../chunk-LQ72DLZI.mjs";
362
366
  import "../chunk-3QS3WKRC.mjs";
363
367
  export {
364
368
  AccessPolicySchema,
@@ -589,6 +593,7 @@ export {
589
593
  ProductDeclarationSchema,
590
594
  ProductDeclarativeCapabilityRegistrationSchema,
591
595
  ProductSurfaceSchema,
596
+ ProgramActionTriggerSchema,
592
597
  ProjectionSpecSchema,
593
598
  PublicationPlanOperationSchema,
594
599
  PublicationPlanSchema,
@@ -624,6 +629,7 @@ export {
624
629
  ReleaseOperationSchema,
625
630
  ReleaseValidationSchema,
626
631
  RenderActivationSchema,
632
+ RenderBentoSurfaceSchema,
627
633
  RenderLayoutSchema,
628
634
  RenderLifecycleSchema,
629
635
  RenderNodeKindSchema,
@@ -631,6 +637,8 @@ export {
631
637
  RenderNodeStateSchema,
632
638
  RenderResponsiveRuleSchema,
633
639
  RenderScrollSchema,
640
+ RenderSkeletonKindSchema,
641
+ RenderSkeletonSchema,
634
642
  RenderSurfaceSchema,
635
643
  RenderTreeSchema,
636
644
  RequestScopeSchema,
@@ -322,6 +322,49 @@
322
322
  "default",
323
323
  "comfortable"
324
324
  ]
325
+ },
326
+ "bento": {
327
+ "type": "object",
328
+ "properties": {
329
+ "chrome": {
330
+ "type": "string",
331
+ "enum": [
332
+ "panel",
333
+ "plain"
334
+ ]
335
+ },
336
+ "fill": {
337
+ "type": "boolean"
338
+ },
339
+ "surface": {
340
+ "type": "string",
341
+ "enum": [
342
+ "default",
343
+ "muted",
344
+ "glow",
345
+ "transparent"
346
+ ]
347
+ },
348
+ "minHeight": {
349
+ "anyOf": [
350
+ {
351
+ "type": "number"
352
+ },
353
+ {
354
+ "type": "string",
355
+ "minLength": 1,
356
+ "maxLength": 256
357
+ }
358
+ ]
359
+ },
360
+ "aspectRatio": {
361
+ "type": "string",
362
+ "minLength": 1,
363
+ "maxLength": 32,
364
+ "pattern": "^[0-9]+(?:\\.[0-9]+)?\\s*(?:\\/\\s*[0-9]+(?:\\.[0-9]+)?)?$"
365
+ }
366
+ },
367
+ "additionalProperties": false
325
368
  }
326
369
  },
327
370
  "required": [
@@ -1930,6 +1973,63 @@
1930
1973
  "selected"
1931
1974
  ]
1932
1975
  },
1976
+ "skeleton": {
1977
+ "type": "object",
1978
+ "properties": {
1979
+ "kind": {
1980
+ "type": "string",
1981
+ "enum": [
1982
+ "auto",
1983
+ "bento-grid",
1984
+ "collection-grid",
1985
+ "collection-masonry",
1986
+ "collection-rail",
1987
+ "table",
1988
+ "form",
1989
+ "tree",
1990
+ "toolbar",
1991
+ "stats",
1992
+ "detail",
1993
+ "media",
1994
+ "conversation",
1995
+ "canvas",
1996
+ "lines",
1997
+ "none"
1998
+ ]
1999
+ },
2000
+ "columns": {
2001
+ "type": "integer",
2002
+ "minimum": 1,
2003
+ "maximum": 12
2004
+ },
2005
+ "rows": {
2006
+ "type": "integer",
2007
+ "minimum": 1,
2008
+ "maximum": 24
2009
+ },
2010
+ "count": {
2011
+ "type": "integer",
2012
+ "minimum": 1,
2013
+ "maximum": 48
2014
+ },
2015
+ "aspectRatio": {
2016
+ "type": "string",
2017
+ "minLength": 1,
2018
+ "maxLength": 32,
2019
+ "pattern": "^[0-9]+(?:\\.[0-9]+)?\\s*(?:\\/\\s*[0-9]+(?:\\.[0-9]+)?)?$"
2020
+ },
2021
+ "showHeader": {
2022
+ "type": "boolean"
2023
+ },
2024
+ "dropzone": {
2025
+ "type": "boolean"
2026
+ }
2027
+ },
2028
+ "required": [
2029
+ "kind"
2030
+ ],
2031
+ "additionalProperties": false
2032
+ },
1933
2033
  "renderModel": {
1934
2034
  "type": "object",
1935
2035
  "propertyNames": {
@@ -1905,6 +1905,49 @@
1905
1905
  "default",
1906
1906
  "comfortable"
1907
1907
  ]
1908
+ },
1909
+ "bento": {
1910
+ "type": "object",
1911
+ "properties": {
1912
+ "chrome": {
1913
+ "type": "string",
1914
+ "enum": [
1915
+ "panel",
1916
+ "plain"
1917
+ ]
1918
+ },
1919
+ "fill": {
1920
+ "type": "boolean"
1921
+ },
1922
+ "surface": {
1923
+ "type": "string",
1924
+ "enum": [
1925
+ "default",
1926
+ "muted",
1927
+ "glow",
1928
+ "transparent"
1929
+ ]
1930
+ },
1931
+ "minHeight": {
1932
+ "anyOf": [
1933
+ {
1934
+ "type": "number"
1935
+ },
1936
+ {
1937
+ "type": "string",
1938
+ "minLength": 1,
1939
+ "maxLength": 256
1940
+ }
1941
+ ]
1942
+ },
1943
+ "aspectRatio": {
1944
+ "type": "string",
1945
+ "minLength": 1,
1946
+ "maxLength": 32,
1947
+ "pattern": "^[0-9]+(?:\\.[0-9]+)?\\s*(?:\\/\\s*[0-9]+(?:\\.[0-9]+)?)?$"
1948
+ }
1949
+ },
1950
+ "additionalProperties": false
1908
1951
  }
1909
1952
  },
1910
1953
  "required": [
@@ -3513,6 +3556,63 @@
3513
3556
  "selected"
3514
3557
  ]
3515
3558
  },
3559
+ "skeleton": {
3560
+ "type": "object",
3561
+ "properties": {
3562
+ "kind": {
3563
+ "type": "string",
3564
+ "enum": [
3565
+ "auto",
3566
+ "bento-grid",
3567
+ "collection-grid",
3568
+ "collection-masonry",
3569
+ "collection-rail",
3570
+ "table",
3571
+ "form",
3572
+ "tree",
3573
+ "toolbar",
3574
+ "stats",
3575
+ "detail",
3576
+ "media",
3577
+ "conversation",
3578
+ "canvas",
3579
+ "lines",
3580
+ "none"
3581
+ ]
3582
+ },
3583
+ "columns": {
3584
+ "type": "integer",
3585
+ "minimum": 1,
3586
+ "maximum": 12
3587
+ },
3588
+ "rows": {
3589
+ "type": "integer",
3590
+ "minimum": 1,
3591
+ "maximum": 24
3592
+ },
3593
+ "count": {
3594
+ "type": "integer",
3595
+ "minimum": 1,
3596
+ "maximum": 48
3597
+ },
3598
+ "aspectRatio": {
3599
+ "type": "string",
3600
+ "minLength": 1,
3601
+ "maxLength": 32,
3602
+ "pattern": "^[0-9]+(?:\\.[0-9]+)?\\s*(?:\\/\\s*[0-9]+(?:\\.[0-9]+)?)?$"
3603
+ },
3604
+ "showHeader": {
3605
+ "type": "boolean"
3606
+ },
3607
+ "dropzone": {
3608
+ "type": "boolean"
3609
+ }
3610
+ },
3611
+ "required": [
3612
+ "kind"
3613
+ ],
3614
+ "additionalProperties": false
3615
+ },
3516
3616
  "renderModel": {
3517
3617
  "type": "object",
3518
3618
  "propertyNames": {
@@ -4694,6 +4794,9 @@
4694
4794
  "activationWhen": {
4695
4795
  "$ref": "#/$defs/__schema2"
4696
4796
  },
4797
+ "loadingWhen": {
4798
+ "$ref": "#/$defs/__schema1"
4799
+ },
4697
4800
  "allowedSideEffects": {
4698
4801
  "type": "array",
4699
4802
  "items": {
@@ -11755,6 +11858,13 @@
11755
11858
  "minLength": 1,
11756
11859
  "maxLength": 256
11757
11860
  },
11861
+ "trigger": {
11862
+ "type": "string",
11863
+ "enum": [
11864
+ "event",
11865
+ "page-mount"
11866
+ ]
11867
+ },
11758
11868
  "inputMapping": {
11759
11869
  "type": "object",
11760
11870
  "propertyNames": {
@@ -14172,7 +14282,6 @@
14172
14282
  "refreshAliases",
14173
14283
  "stateAliases",
14174
14284
  "source",
14175
- "sourceIntentSchemaRevisionRef",
14176
14285
  "programRevisionRef",
14177
14286
  "definition"
14178
14287
  ],