@inf-monkeys-tech/monkeys 1.1.41 → 1.1.43
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/agent-data.d.ts +470 -0
- package/lib/contracts/agent-data.d.ts.map +1 -0
- package/lib/contracts/agent-data.js +139 -0
- package/lib/contracts/agent-data.js.map +1 -0
- package/lib/contracts/agent-work.d.ts +52 -0
- package/lib/contracts/agent-work.d.ts.map +1 -1
- package/lib/contracts/agent-work.js +16 -1
- package/lib/contracts/agent-work.js.map +1 -1
- package/lib/contracts/declarative-control-http.d.ts +201 -193
- package/lib/contracts/declarative-control-http.d.ts.map +1 -1
- package/lib/contracts/declarative-control.d.ts +34 -30
- package/lib/contracts/declarative-control.d.ts.map +1 -1
- package/lib/contracts/declarative-diagnostic.d.ts +2 -2
- package/lib/contracts/declarative-document-import.d.ts +2 -2
- package/lib/contracts/declarative-publication-job.d.ts +80 -80
- package/lib/contracts/file.d.ts +137 -4
- package/lib/contracts/file.d.ts.map +1 -1
- package/lib/contracts/file.js +62 -6
- package/lib/contracts/file.js.map +1 -1
- 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/menu.d.ts +2 -2
- package/lib/contracts/page.d.ts +7 -7
- package/lib/contracts/render.d.ts +5 -5
- package/lib/contracts/semantic.d.ts +2 -2
- package/lib/contracts/tenant.d.ts +10 -10
- package/lib/esm/{chunk-ZSSYNYLX.mjs → chunk-33OQXBRM.mjs} +53 -4
- package/lib/esm/chunk-33OQXBRM.mjs.map +1 -0
- package/lib/esm/{chunk-CWB4ZZ52.mjs → chunk-3YISMAL3.mjs} +3 -3
- package/lib/esm/{chunk-6REXMVTC.mjs → chunk-UUUHWSYL.mjs} +2 -2
- package/lib/esm/{chunk-22EMXUOT.mjs → chunk-WRSX2N7O.mjs} +2 -2
- package/lib/esm/{chunk-QCNO3BPY.mjs → chunk-XUWZH2H3.mjs} +548 -490
- package/lib/esm/chunk-XUWZH2H3.mjs.map +1 -0
- package/lib/esm/chunk-ZH6D5O6Q.mjs +431 -0
- package/lib/esm/chunk-ZH6D5O6Q.mjs.map +1 -0
- package/lib/esm/contracts/index.mjs +52 -4
- package/lib/esm/index.mjs +60 -6
- package/lib/esm/index.mjs.map +1 -1
- package/lib/esm/runtime/index.mjs +9 -3
- package/lib/esm/schemas/index.mjs +3 -3
- package/lib/json-schema/page-runtime-bundle.schema.json +1 -0
- package/lib/json-schema/page.schema.json +1 -0
- package/lib/runtime/file-reference.d.ts +10 -0
- package/lib/runtime/file-reference.d.ts.map +1 -0
- package/lib/runtime/file-reference.js +66 -0
- package/lib/runtime/file-reference.js.map +1 -0
- package/lib/runtime/index.d.ts +1 -0
- package/lib/runtime/index.d.ts.map +1 -1
- package/lib/runtime/index.js +1 -0
- package/lib/runtime/index.js.map +1 -1
- package/lib/runtime/runtime-definition-wire.d.ts +16 -16
- package/lib/schemas/index.d.ts +29 -28
- package/lib/schemas/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/lib/esm/chunk-DR3BUHQG.mjs +0 -255
- package/lib/esm/chunk-DR3BUHQG.mjs.map +0 -1
- package/lib/esm/chunk-QCNO3BPY.mjs.map +0 -1
- package/lib/esm/chunk-ZSSYNYLX.mjs.map +0 -1
- /package/lib/esm/{chunk-CWB4ZZ52.mjs.map → chunk-3YISMAL3.mjs.map} +0 -0
- /package/lib/esm/{chunk-6REXMVTC.mjs.map → chunk-UUUHWSYL.mjs.map} +0 -0
- /package/lib/esm/{chunk-22EMXUOT.mjs.map → chunk-WRSX2N7O.mjs.map} +0 -0
package/lib/esm/index.mjs
CHANGED
|
@@ -1,6 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
+
AGENT_DATA_CONTEXT_ENV,
|
|
3
|
+
AGENT_DATA_CONTEXT_FILE_ENV,
|
|
4
|
+
AGENT_DATA_CONTEXT_HEADER,
|
|
5
|
+
AGENT_DATA_OPERATION_HEADER,
|
|
2
6
|
AGENT_WORK_CONTRACT_VERSION,
|
|
3
7
|
AgentArtifactDeliverySchema,
|
|
8
|
+
AgentCheckpointPrepareResponseSchema,
|
|
9
|
+
AgentCheckpointReadResponseSchema,
|
|
10
|
+
AgentDataOperationContextSchema,
|
|
11
|
+
AgentDataOriginSchema,
|
|
12
|
+
AgentDataQueryOperationSchema,
|
|
13
|
+
AgentDataReceiptSchema,
|
|
14
|
+
AgentDataRecordRefSchema,
|
|
15
|
+
AgentDataSelectionSchema,
|
|
16
|
+
AgentDataSourceSchema,
|
|
17
|
+
AgentDataStatusSchema,
|
|
18
|
+
AgentDataViewQuerySchema,
|
|
19
|
+
AgentLinkedDataItemSchema,
|
|
20
|
+
AgentLinkedDataListSchema,
|
|
21
|
+
AgentLinkedDataPageInfoSchema,
|
|
22
|
+
AgentLinkedDataPageSchema,
|
|
23
|
+
AgentLinkedDataRowSchema,
|
|
4
24
|
AgentNativeInteractionResponseSchema,
|
|
5
25
|
AgentNativeInteractionSchema,
|
|
6
26
|
AgentNativeRecoverySchema,
|
|
@@ -29,10 +49,10 @@ import {
|
|
|
29
49
|
RuntimeProgramDownloadResultSchema,
|
|
30
50
|
RuntimeProgramLoadRequestSchema,
|
|
31
51
|
RuntimeProgramLoadResultSchema
|
|
32
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-ZH6D5O6Q.mjs";
|
|
33
53
|
import {
|
|
34
54
|
canonicalContractSchemas
|
|
35
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-3YISMAL3.mjs";
|
|
36
56
|
import {
|
|
37
57
|
ActorRefSchema,
|
|
38
58
|
AgentRuntimeEventSchema,
|
|
@@ -104,7 +124,7 @@ import {
|
|
|
104
124
|
WorkflowCompletionCommitSchema,
|
|
105
125
|
WorkflowCompletionReceiptSchema,
|
|
106
126
|
WorkflowPublicationSchema
|
|
107
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-WRSX2N7O.mjs";
|
|
108
128
|
import {
|
|
109
129
|
APPLICATION_HANDOFF_QUERY_PARAMETER,
|
|
110
130
|
DEFAULT_CONDUCTOR_OWNER_EMAIL,
|
|
@@ -133,6 +153,7 @@ import {
|
|
|
133
153
|
buildChangeImpactGraph,
|
|
134
154
|
canonicalContentHash,
|
|
135
155
|
captureRecordEditorSubmission,
|
|
156
|
+
collectManagedFileReferences,
|
|
136
157
|
collectMaterializedModelPages,
|
|
137
158
|
compileCapabilityRegistry,
|
|
138
159
|
compileComponentAssemblyValidator,
|
|
@@ -196,6 +217,7 @@ import {
|
|
|
196
217
|
parseExactDesignCapabilityCatalogArtifact,
|
|
197
218
|
parseExactLegacyRouteTakeoverAuthorization,
|
|
198
219
|
parseExactProductDeclarativeCapabilityRegistration,
|
|
220
|
+
parseManagedFileReference,
|
|
199
221
|
parseWorkflowColumnBinding,
|
|
200
222
|
permissionAlternativePolicyAllows,
|
|
201
223
|
prepareMaterializedModelProjection,
|
|
@@ -218,6 +240,7 @@ import {
|
|
|
218
240
|
recordEditorDraftIsDirty,
|
|
219
241
|
recordEditorPathKey,
|
|
220
242
|
recordEditorValuesEqual,
|
|
243
|
+
resolveFileResourceReference,
|
|
221
244
|
resolveMenuActivationId,
|
|
222
245
|
resolvePage,
|
|
223
246
|
resolveWorkbenchEntry,
|
|
@@ -235,7 +258,7 @@ import {
|
|
|
235
258
|
validateDomainCommand,
|
|
236
259
|
validateWorkbenchRuntimeSet,
|
|
237
260
|
writePageDraftPath
|
|
238
|
-
} from "./chunk-
|
|
261
|
+
} from "./chunk-33OQXBRM.mjs";
|
|
239
262
|
import {
|
|
240
263
|
PAGE_STREAM_MAX_BUFFER_BYTES,
|
|
241
264
|
PAGE_STREAM_MAX_BUFFER_EVENTS,
|
|
@@ -249,7 +272,7 @@ import {
|
|
|
249
272
|
PageStreamDescriptorSchema,
|
|
250
273
|
PageStreamEventSchema,
|
|
251
274
|
pageStreamRoutes
|
|
252
|
-
} from "./chunk-
|
|
275
|
+
} from "./chunk-UUUHWSYL.mjs";
|
|
253
276
|
import {
|
|
254
277
|
ACTION_PROGRAM_ABI,
|
|
255
278
|
AGENT_MODE_CAPABILITIES,
|
|
@@ -493,10 +516,13 @@ import {
|
|
|
493
516
|
FILE_PURPOSES,
|
|
494
517
|
FILE_USAGE_OWNER_TYPES,
|
|
495
518
|
FilePurposeSchema,
|
|
519
|
+
FileReadInstructionSchema,
|
|
496
520
|
FileRecordSchema,
|
|
497
521
|
FileReferenceSchema,
|
|
498
522
|
FileResolveBatchRequestSchema,
|
|
499
523
|
FileResolveBatchResponseSchema,
|
|
524
|
+
FileResourceManifestSchema,
|
|
525
|
+
FileResourcePathSchema,
|
|
500
526
|
FileStatusSchema,
|
|
501
527
|
FileUploadCompleteRequestSchema,
|
|
502
528
|
FileUploadCreateRequestSchema,
|
|
@@ -538,6 +564,7 @@ import {
|
|
|
538
564
|
ManagedFileCommandTypeSchema,
|
|
539
565
|
ManagedFileEventSchema,
|
|
540
566
|
ManagedFileEventTypeSchema,
|
|
567
|
+
ManagedFileUriSchema,
|
|
541
568
|
ManagementAccessSchema,
|
|
542
569
|
MaterializedModelBudgetSchema,
|
|
543
570
|
MaterializedModelProjectionSchema,
|
|
@@ -759,7 +786,7 @@ import {
|
|
|
759
786
|
validateThemeTokensDocument,
|
|
760
787
|
validateThemeTokensDocumentStructure,
|
|
761
788
|
visitPageExpression
|
|
762
|
-
} from "./chunk-
|
|
789
|
+
} from "./chunk-XUWZH2H3.mjs";
|
|
763
790
|
import "./chunk-3QS3WKRC.mjs";
|
|
764
791
|
|
|
765
792
|
// src/types/tool.ts
|
|
@@ -800,6 +827,10 @@ var WorkflowTriggerType = /* @__PURE__ */ ((WorkflowTriggerType2) => {
|
|
|
800
827
|
})(WorkflowTriggerType || {});
|
|
801
828
|
export {
|
|
802
829
|
ACTION_PROGRAM_ABI,
|
|
830
|
+
AGENT_DATA_CONTEXT_ENV,
|
|
831
|
+
AGENT_DATA_CONTEXT_FILE_ENV,
|
|
832
|
+
AGENT_DATA_CONTEXT_HEADER,
|
|
833
|
+
AGENT_DATA_OPERATION_HEADER,
|
|
803
834
|
AGENT_MODE_CAPABILITIES,
|
|
804
835
|
AGENT_SESSION_CAPABILITY_EVIDENCE,
|
|
805
836
|
AGENT_SESSION_COMMAND_POLICIES,
|
|
@@ -817,8 +848,24 @@ export {
|
|
|
817
848
|
ActionResultClipboardEffectSchema,
|
|
818
849
|
ActorRefSchema,
|
|
819
850
|
AgentArtifactDeliverySchema,
|
|
851
|
+
AgentCheckpointPrepareResponseSchema,
|
|
852
|
+
AgentCheckpointReadResponseSchema,
|
|
820
853
|
AgentConfigurationCapabilitySchema,
|
|
854
|
+
AgentDataOperationContextSchema,
|
|
855
|
+
AgentDataOriginSchema,
|
|
856
|
+
AgentDataQueryOperationSchema,
|
|
857
|
+
AgentDataReceiptSchema,
|
|
858
|
+
AgentDataRecordRefSchema,
|
|
859
|
+
AgentDataSelectionSchema,
|
|
860
|
+
AgentDataSourceSchema,
|
|
861
|
+
AgentDataStatusSchema,
|
|
862
|
+
AgentDataViewQuerySchema,
|
|
821
863
|
AgentExecutionModeSchema,
|
|
864
|
+
AgentLinkedDataItemSchema,
|
|
865
|
+
AgentLinkedDataListSchema,
|
|
866
|
+
AgentLinkedDataPageInfoSchema,
|
|
867
|
+
AgentLinkedDataPageSchema,
|
|
868
|
+
AgentLinkedDataRowSchema,
|
|
822
869
|
AgentModeCapabilitiesSchema,
|
|
823
870
|
AgentModeSchema,
|
|
824
871
|
AgentNativeInteractionResponseSchema,
|
|
@@ -1096,10 +1143,13 @@ export {
|
|
|
1096
1143
|
FILE_PURPOSES,
|
|
1097
1144
|
FILE_USAGE_OWNER_TYPES,
|
|
1098
1145
|
FilePurposeSchema,
|
|
1146
|
+
FileReadInstructionSchema,
|
|
1099
1147
|
FileRecordSchema,
|
|
1100
1148
|
FileReferenceSchema,
|
|
1101
1149
|
FileResolveBatchRequestSchema,
|
|
1102
1150
|
FileResolveBatchResponseSchema,
|
|
1151
|
+
FileResourceManifestSchema,
|
|
1152
|
+
FileResourcePathSchema,
|
|
1103
1153
|
FileStatusSchema,
|
|
1104
1154
|
FileUploadCompleteRequestSchema,
|
|
1105
1155
|
FileUploadCreateRequestSchema,
|
|
@@ -1142,6 +1192,7 @@ export {
|
|
|
1142
1192
|
ManagedFileCommandTypeSchema,
|
|
1143
1193
|
ManagedFileEventSchema,
|
|
1144
1194
|
ManagedFileEventTypeSchema,
|
|
1195
|
+
ManagedFileUriSchema,
|
|
1145
1196
|
ManagementAccessSchema,
|
|
1146
1197
|
MaterializedModelBudgetSchema,
|
|
1147
1198
|
MaterializedModelProjectionSchema,
|
|
@@ -1433,6 +1484,7 @@ export {
|
|
|
1433
1484
|
canonicalContractSchemas,
|
|
1434
1485
|
captureRecordEditorSubmission,
|
|
1435
1486
|
collectExternalPageExpressionReads,
|
|
1487
|
+
collectManagedFileReferences,
|
|
1436
1488
|
collectMaterializedModelPages,
|
|
1437
1489
|
collectPageExpressionReads,
|
|
1438
1490
|
compileCapabilityRegistry,
|
|
@@ -1509,6 +1561,7 @@ export {
|
|
|
1509
1561
|
parseExactDesignCapabilityCatalogArtifact,
|
|
1510
1562
|
parseExactLegacyRouteTakeoverAuthorization,
|
|
1511
1563
|
parseExactProductDeclarativeCapabilityRegistration,
|
|
1564
|
+
parseManagedFileReference,
|
|
1512
1565
|
parseWorkflowColumnBinding,
|
|
1513
1566
|
permissionAlternativePolicyAllows,
|
|
1514
1567
|
prepareMaterializedModelProjection,
|
|
@@ -1533,6 +1586,7 @@ export {
|
|
|
1533
1586
|
recordEditorValuesEqual,
|
|
1534
1587
|
resolveAgentSessionCommandTransition,
|
|
1535
1588
|
resolveAgentWorkbenchSidebarConfig,
|
|
1589
|
+
resolveFileResourceReference,
|
|
1536
1590
|
resolveMenuActivationId,
|
|
1537
1591
|
resolvePage,
|
|
1538
1592
|
resolveThemeTokens,
|
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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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A,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"]}
|
|
@@ -26,6 +26,7 @@ import {
|
|
|
26
26
|
buildChangeImpactGraph,
|
|
27
27
|
canonicalContentHash,
|
|
28
28
|
captureRecordEditorSubmission,
|
|
29
|
+
collectManagedFileReferences,
|
|
29
30
|
collectMaterializedModelPages,
|
|
30
31
|
compileCapabilityRegistry,
|
|
31
32
|
compileComponentAssemblyValidator,
|
|
@@ -89,6 +90,7 @@ import {
|
|
|
89
90
|
parseExactDesignCapabilityCatalogArtifact,
|
|
90
91
|
parseExactLegacyRouteTakeoverAuthorization,
|
|
91
92
|
parseExactProductDeclarativeCapabilityRegistration,
|
|
93
|
+
parseManagedFileReference,
|
|
92
94
|
parseWorkflowColumnBinding,
|
|
93
95
|
permissionAlternativePolicyAllows,
|
|
94
96
|
prepareMaterializedModelProjection,
|
|
@@ -111,6 +113,7 @@ import {
|
|
|
111
113
|
recordEditorDraftIsDirty,
|
|
112
114
|
recordEditorPathKey,
|
|
113
115
|
recordEditorValuesEqual,
|
|
116
|
+
resolveFileResourceReference,
|
|
114
117
|
resolveMenuActivationId,
|
|
115
118
|
resolvePage,
|
|
116
119
|
resolveWorkbenchEntry,
|
|
@@ -128,8 +131,8 @@ import {
|
|
|
128
131
|
validateDomainCommand,
|
|
129
132
|
validateWorkbenchRuntimeSet,
|
|
130
133
|
writePageDraftPath
|
|
131
|
-
} from "../chunk-
|
|
132
|
-
import "../chunk-
|
|
134
|
+
} from "../chunk-33OQXBRM.mjs";
|
|
135
|
+
import "../chunk-UUUHWSYL.mjs";
|
|
133
136
|
import {
|
|
134
137
|
MONKEYS_REQUIRED_THEME_TOKEN_PATHS,
|
|
135
138
|
ThemeTokenValidationError,
|
|
@@ -139,7 +142,7 @@ import {
|
|
|
139
142
|
resolveThemeTokens,
|
|
140
143
|
validateThemeTokensDocument,
|
|
141
144
|
validateThemeTokensDocumentStructure
|
|
142
|
-
} from "../chunk-
|
|
145
|
+
} from "../chunk-XUWZH2H3.mjs";
|
|
143
146
|
import "../chunk-3QS3WKRC.mjs";
|
|
144
147
|
export {
|
|
145
148
|
APPLICATION_HANDOFF_QUERY_PARAMETER,
|
|
@@ -173,6 +176,7 @@ export {
|
|
|
173
176
|
buildChangeImpactGraph,
|
|
174
177
|
canonicalContentHash,
|
|
175
178
|
captureRecordEditorSubmission,
|
|
179
|
+
collectManagedFileReferences,
|
|
176
180
|
collectMaterializedModelPages,
|
|
177
181
|
compileCapabilityRegistry,
|
|
178
182
|
compileComponentAssemblyValidator,
|
|
@@ -237,6 +241,7 @@ export {
|
|
|
237
241
|
parseExactDesignCapabilityCatalogArtifact,
|
|
238
242
|
parseExactLegacyRouteTakeoverAuthorization,
|
|
239
243
|
parseExactProductDeclarativeCapabilityRegistration,
|
|
244
|
+
parseManagedFileReference,
|
|
240
245
|
parseWorkflowColumnBinding,
|
|
241
246
|
permissionAlternativePolicyAllows,
|
|
242
247
|
prepareMaterializedModelProjection,
|
|
@@ -259,6 +264,7 @@ export {
|
|
|
259
264
|
recordEditorDraftIsDirty,
|
|
260
265
|
recordEditorPathKey,
|
|
261
266
|
recordEditorValuesEqual,
|
|
267
|
+
resolveFileResourceReference,
|
|
262
268
|
resolveMenuActivationId,
|
|
263
269
|
resolvePage,
|
|
264
270
|
resolveThemeTokens,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
canonicalContractSchemas
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-3YISMAL3.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-WRSX2N7O.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-XUWZH2H3.mjs";
|
|
360
360
|
import "../chunk-3QS3WKRC.mjs";
|
|
361
361
|
export {
|
|
362
362
|
AccessPolicySchema,
|
|
@@ -10094,6 +10094,7 @@
|
|
|
10094
10094
|
"agent-artifacts",
|
|
10095
10095
|
"agent-edited-images",
|
|
10096
10096
|
"agent-workbench",
|
|
10097
|
+
"agent-skill-archives",
|
|
10097
10098
|
"asset-screenshots",
|
|
10098
10099
|
"data-exports",
|
|
10099
10100
|
"data-feature-media",
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type FileResourceManifest } from '../contracts/file';
|
|
2
|
+
export declare function parseManagedFileReference(value: unknown): {
|
|
3
|
+
fileId: string;
|
|
4
|
+
variant?: string;
|
|
5
|
+
} | undefined;
|
|
6
|
+
/** Extracts durable references from persisted content, not temporary access URLs. */
|
|
7
|
+
export declare function collectManagedFileReferences(value: unknown): string[];
|
|
8
|
+
/** Resolve only declared resources. No storage paths are inferred from a file ID. */
|
|
9
|
+
export declare function resolveFileResourceReference(reference: string, manifest?: FileResourceManifest, documentPath?: string | undefined): string | undefined;
|
|
10
|
+
//# sourceMappingURL=file-reference.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-reference.d.ts","sourceRoot":"","sources":["../../src/runtime/file-reference.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAEpF,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,OAAO,GAAG;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,CAK1G;AAED,qFAAqF;AACrF,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,EAAE,CAgBrE;AAED,qFAAqF;AACrF,wBAAgB,4BAA4B,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,oBAAoB,EAAE,YAAY,qBAAsB,GAAG,MAAM,GAAG,SAAS,CAavJ"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.resolveFileResourceReference = exports.collectManagedFileReferences = exports.parseManagedFileReference = void 0;
|
|
4
|
+
const file_1 = require("../contracts/file");
|
|
5
|
+
function parseManagedFileReference(value) {
|
|
6
|
+
const parsed = file_1.ManagedFileUriSchema.safeParse(value);
|
|
7
|
+
if (!parsed.success)
|
|
8
|
+
return undefined;
|
|
9
|
+
const [fileId, variant] = parsed.data.slice('file://'.length).split('#');
|
|
10
|
+
return { fileId, ...(variant ? { variant } : {}) };
|
|
11
|
+
}
|
|
12
|
+
exports.parseManagedFileReference = parseManagedFileReference;
|
|
13
|
+
/** Extracts durable references from persisted content, not temporary access URLs. */
|
|
14
|
+
function collectManagedFileReferences(value) {
|
|
15
|
+
const found = new Set();
|
|
16
|
+
const seen = new WeakSet();
|
|
17
|
+
const visit = (item, depth) => {
|
|
18
|
+
if (depth > 64)
|
|
19
|
+
throw new Error('File reference nesting exceeds the limit');
|
|
20
|
+
if (typeof item === 'string') {
|
|
21
|
+
for (const match of item.matchAll(/file:\/\/[A-Za-z0-9][A-Za-z0-9_-]{0,127}(?:#[A-Za-z0-9_-]+)?(?=$|[\s"'`)\]}> ,])/g)) {
|
|
22
|
+
if (parseManagedFileReference(match[0]))
|
|
23
|
+
found.add(match[0]);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
else if (item && typeof item === 'object' && !seen.has(item)) {
|
|
27
|
+
seen.add(item);
|
|
28
|
+
for (const child of Object.values(item))
|
|
29
|
+
visit(child, depth + 1);
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
visit(value, 0);
|
|
33
|
+
return [...found].sort();
|
|
34
|
+
}
|
|
35
|
+
exports.collectManagedFileReferences = collectManagedFileReferences;
|
|
36
|
+
/** Resolve only declared resources. No storage paths are inferred from a file ID. */
|
|
37
|
+
function resolveFileResourceReference(reference, manifest, documentPath = manifest?.entryPath) {
|
|
38
|
+
if (parseManagedFileReference(reference))
|
|
39
|
+
return reference;
|
|
40
|
+
if (!manifest || /^[a-z][a-z0-9+.-]*:|^[\/\\]/i.test(reference))
|
|
41
|
+
return undefined;
|
|
42
|
+
let path;
|
|
43
|
+
try {
|
|
44
|
+
path = decodeURIComponent(reference.split(/[?#]/, 1)[0]);
|
|
45
|
+
}
|
|
46
|
+
catch {
|
|
47
|
+
return undefined;
|
|
48
|
+
}
|
|
49
|
+
if (/^[\/\\]|[\\\u0000-\u001f]/.test(path))
|
|
50
|
+
return undefined;
|
|
51
|
+
const parts = (documentPath?.split('/').slice(0, -1) || []);
|
|
52
|
+
for (const part of path.split('/')) {
|
|
53
|
+
if (!part || part === '.')
|
|
54
|
+
continue;
|
|
55
|
+
if (part === '..') {
|
|
56
|
+
if (!parts.length)
|
|
57
|
+
return undefined;
|
|
58
|
+
parts.pop();
|
|
59
|
+
}
|
|
60
|
+
else
|
|
61
|
+
parts.push(part);
|
|
62
|
+
}
|
|
63
|
+
return manifest.resources.find((resource) => resource.path === parts.join('/'))?.uri;
|
|
64
|
+
}
|
|
65
|
+
exports.resolveFileResourceReference = resolveFileResourceReference;
|
|
66
|
+
//# sourceMappingURL=file-reference.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-reference.js","sourceRoot":"","sources":["../../src/runtime/file-reference.ts"],"names":[],"mappings":";;;AAAA,4CAAoF;AAEpF,SAAgB,yBAAyB,CAAC,KAAc;IACtD,MAAM,MAAM,GAAG,2BAAoB,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IACrD,IAAI,CAAC,MAAM,CAAC,OAAO;QAAE,OAAO,SAAS,CAAC;IACtC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACzE,OAAO,EAAE,MAAM,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC;AACrD,CAAC;AALD,8DAKC;AAED,qFAAqF;AACrF,SAAgB,4BAA4B,CAAC,KAAc;IACzD,MAAM,KAAK,GAAG,IAAI,GAAG,EAAU,CAAC;IAChC,MAAM,IAAI,GAAG,IAAI,OAAO,EAAU,CAAC;IACnC,MAAM,KAAK,GAAG,CAAC,IAAa,EAAE,KAAa,EAAE,EAAE;QAC7C,IAAI,KAAK,GAAG,EAAE;YAAE,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;QAC5E,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE,CAAC;YAC7B,KAAK,MAAM,KAAK,IAAI,IAAI,CAAC,QAAQ,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,4 +44,5 @@ __exportStar(require("./page-stream"), exports);
|
|
|
44
44
|
__exportStar(require("./action-program-author"), exports);
|
|
45
45
|
__exportStar(require("./runtime-definition-wire"), exports);
|
|
46
46
|
__exportStar(require("./page-composition"), exports);
|
|
47
|
+
__exportStar(require("./file-reference"), exports);
|
|
47
48
|
//# sourceMappingURL=index.js.map
|
package/lib/runtime/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/runtime/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,4DAA0C;AAC1C,yDAAuC;AACvC,iEAA+C;AAC/C,4DAA0C;AAC1C,kDAAgC;AAChC,kDAAgC;AAChC,oDAAkC;AAClC,yDAAuC;AACvC,kDAAgC;AAChC,4DAA0C;AAC1C,iDAA+B;AAC/B,2DAAyC;AACzC,iEAA+C;AAC/C,sDAAoC;AACpC,sDAAoC;AACpC,oDAAkC;AAClC,iDAA+B;AAC/B,oDAAkC;AAElC,2DAAyE;AAAhE,uIAAA,iCAAiC,OAAA;AAE1C,oDAAkC;AAClC,uDAAqC;AAErC,wDAAsC;AAEtC,wDAAsC;AAEtC,gDAA8B;AAE9B,0DAAwC;AACxC,4DAA0C;AAC1C,qDAAmC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/runtime/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,4DAA0C;AAC1C,yDAAuC;AACvC,iEAA+C;AAC/C,4DAA0C;AAC1C,kDAAgC;AAChC,kDAAgC;AAChC,oDAAkC;AAClC,yDAAuC;AACvC,kDAAgC;AAChC,4DAA0C;AAC1C,iDAA+B;AAC/B,2DAAyC;AACzC,iEAA+C;AAC/C,sDAAoC;AACpC,sDAAoC;AACpC,oDAAkC;AAClC,iDAA+B;AAC/B,oDAAkC;AAElC,2DAAyE;AAAhE,uIAAA,iCAAiC,OAAA;AAE1C,oDAAkC;AAClC,uDAAqC;AAErC,wDAAsC;AAEtC,wDAAsC;AAEtC,gDAA8B;AAE9B,0DAAwC;AACxC,4DAA0C;AAC1C,qDAAmC;AACnC,mDAAiC"}
|
|
@@ -204,7 +204,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
|
|
|
204
204
|
nodes: {
|
|
205
205
|
contract: "RenderNode";
|
|
206
206
|
nodeId: string;
|
|
207
|
-
kind: "record" | "action" | "shell" | "detail" | "
|
|
207
|
+
kind: "record" | "action" | "shell" | "detail" | "view" | "page" | "navigation" | "control" | "overlay" | "professional-provider";
|
|
208
208
|
version: number;
|
|
209
209
|
ownerRepo: string;
|
|
210
210
|
children: string[];
|
|
@@ -1091,7 +1091,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
|
|
|
1091
1091
|
} | undefined;
|
|
1092
1092
|
};
|
|
1093
1093
|
execution: "server" | "local-state";
|
|
1094
|
-
pagination: "offset" | "
|
|
1094
|
+
pagination: "offset" | "cursor" | "none";
|
|
1095
1095
|
cache: "none" | "identity-scoped" | "tenant-scoped";
|
|
1096
1096
|
cancelOnChange: boolean;
|
|
1097
1097
|
targetProjection?: {
|
|
@@ -1620,7 +1620,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
|
|
|
1620
1620
|
};
|
|
1621
1621
|
maxBytes: number;
|
|
1622
1622
|
upload?: {
|
|
1623
|
-
purpose: "models" | "uploads" | "agent-attachments" | "agent-artifacts" | "agent-edited-images" | "agent-workbench" | "asset-screenshots" | "data-exports" | "data-feature-media" | "design-assets" | "design-board-thumbnails" | "design-images" | "dev-agent-reference-images" | "dev-agent-review-artifacts" | "external-delivery-techpacks" | "llm-generated-images" | "media-generated" | "media-uploads" | "model-training-files" | "models-checkpoints" | "models-clip" | "models-controlnet" | "models-diffusion-models" | "models-loras-test" | "models-vae" | "output-images" | "plugin-data-imports" | "plugin-runtime" | "plugin-runtime-outputs" | "step-thumbnails" | "techpack-design-intent" | "user-files-base" | "user-files-design-board-background" | "user-files-design-project-cover" | "user-files-designs" | "user-files-icons" | "user-files-import-comfyui-image" | "user-files-import-comfyui-json" | "user-files-import-comfyui-json-url" | "user-files-instruction-input" | "user-files-linesheet" | "user-files-media" | "user-files-other" | "user-files-prompt-assistant" | "user-files-table-data" | "user-files-techpack-attachments" | "user-files-text-data-file" | "user-files-workflow-input" | "workflow-image-mask" | "workflow-image-overlay" | "workflow-import";
|
|
1623
|
+
purpose: "models" | "uploads" | "agent-attachments" | "agent-artifacts" | "agent-edited-images" | "agent-workbench" | "agent-skill-archives" | "asset-screenshots" | "data-exports" | "data-feature-media" | "design-assets" | "design-board-thumbnails" | "design-images" | "dev-agent-reference-images" | "dev-agent-review-artifacts" | "external-delivery-techpacks" | "llm-generated-images" | "media-generated" | "media-uploads" | "model-training-files" | "models-checkpoints" | "models-clip" | "models-controlnet" | "models-diffusion-models" | "models-loras-test" | "models-vae" | "output-images" | "plugin-data-imports" | "plugin-runtime" | "plugin-runtime-outputs" | "step-thumbnails" | "techpack-design-intent" | "user-files-base" | "user-files-design-board-background" | "user-files-design-project-cover" | "user-files-designs" | "user-files-icons" | "user-files-import-comfyui-image" | "user-files-import-comfyui-json" | "user-files-import-comfyui-json-url" | "user-files-instruction-input" | "user-files-linesheet" | "user-files-media" | "user-files-other" | "user-files-prompt-assistant" | "user-files-table-data" | "user-files-techpack-attachments" | "user-files-text-data-file" | "user-files-workflow-input" | "workflow-image-mask" | "workflow-image-overlay" | "workflow-import";
|
|
1624
1624
|
} | undefined;
|
|
1625
1625
|
accept?: string | undefined;
|
|
1626
1626
|
}[] | undefined;
|
|
@@ -1884,7 +1884,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
|
|
|
1884
1884
|
};
|
|
1885
1885
|
generation: number;
|
|
1886
1886
|
dependencySnapshot: {
|
|
1887
|
-
role: "workflow" | "action" | "provider" | "shell" | "capability" | "agent" | "
|
|
1887
|
+
role: "workflow" | "action" | "provider" | "shell" | "capability" | "agent" | "view" | "token" | "page" | "navigation" | "route-space" | "page-release" | "workbench" | "workbench-release" | "navigation-release" | "menu-action" | "application-menu-catalog" | "ontology-definition" | "projection-spec" | "query-definition" | "projection" | "action-program" | "schema" | "compiler" | "built-in-application" | "design" | "layout-policy" | "performance-budget" | "observation-policy";
|
|
1888
1888
|
revisionRef: {
|
|
1889
1889
|
revision: number;
|
|
1890
1890
|
schemaVersion: number;
|
|
@@ -1918,7 +1918,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
|
|
|
1918
1918
|
code: string;
|
|
1919
1919
|
path: string;
|
|
1920
1920
|
message: string;
|
|
1921
|
-
stage?: "contract" | "
|
|
1921
|
+
stage?: "contract" | "reference" | "runtime" | "document" | "policy" | undefined;
|
|
1922
1922
|
severity?: "error" | "warning" | "info" | undefined;
|
|
1923
1923
|
blocking?: boolean | undefined;
|
|
1924
1924
|
recovery?: string[] | undefined;
|
|
@@ -2094,7 +2094,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
|
|
|
2094
2094
|
} | undefined;
|
|
2095
2095
|
} | undefined;
|
|
2096
2096
|
};
|
|
2097
|
-
pagination: "offset" | "
|
|
2097
|
+
pagination: "offset" | "cursor" | "none";
|
|
2098
2098
|
cache: "none" | "identity-scoped" | "tenant-scoped";
|
|
2099
2099
|
cancelOnChange: boolean;
|
|
2100
2100
|
cursorWindow?: {
|
|
@@ -2698,7 +2698,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
|
|
|
2698
2698
|
nodes: {
|
|
2699
2699
|
contract: "RenderNode";
|
|
2700
2700
|
nodeId: string;
|
|
2701
|
-
kind: "record" | "action" | "shell" | "detail" | "
|
|
2701
|
+
kind: "record" | "action" | "shell" | "detail" | "view" | "page" | "navigation" | "control" | "overlay" | "professional-provider";
|
|
2702
2702
|
version: number;
|
|
2703
2703
|
ownerRepo: string;
|
|
2704
2704
|
children: string[];
|
|
@@ -3585,7 +3585,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
|
|
|
3585
3585
|
} | undefined;
|
|
3586
3586
|
};
|
|
3587
3587
|
execution: "server" | "local-state";
|
|
3588
|
-
pagination: "offset" | "
|
|
3588
|
+
pagination: "offset" | "cursor" | "none";
|
|
3589
3589
|
cache: "none" | "identity-scoped" | "tenant-scoped";
|
|
3590
3590
|
cancelOnChange: boolean;
|
|
3591
3591
|
targetProjection?: {
|
|
@@ -4114,7 +4114,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
|
|
|
4114
4114
|
};
|
|
4115
4115
|
maxBytes: number;
|
|
4116
4116
|
upload?: {
|
|
4117
|
-
purpose: "models" | "uploads" | "agent-attachments" | "agent-artifacts" | "agent-edited-images" | "agent-workbench" | "asset-screenshots" | "data-exports" | "data-feature-media" | "design-assets" | "design-board-thumbnails" | "design-images" | "dev-agent-reference-images" | "dev-agent-review-artifacts" | "external-delivery-techpacks" | "llm-generated-images" | "media-generated" | "media-uploads" | "model-training-files" | "models-checkpoints" | "models-clip" | "models-controlnet" | "models-diffusion-models" | "models-loras-test" | "models-vae" | "output-images" | "plugin-data-imports" | "plugin-runtime" | "plugin-runtime-outputs" | "step-thumbnails" | "techpack-design-intent" | "user-files-base" | "user-files-design-board-background" | "user-files-design-project-cover" | "user-files-designs" | "user-files-icons" | "user-files-import-comfyui-image" | "user-files-import-comfyui-json" | "user-files-import-comfyui-json-url" | "user-files-instruction-input" | "user-files-linesheet" | "user-files-media" | "user-files-other" | "user-files-prompt-assistant" | "user-files-table-data" | "user-files-techpack-attachments" | "user-files-text-data-file" | "user-files-workflow-input" | "workflow-image-mask" | "workflow-image-overlay" | "workflow-import";
|
|
4117
|
+
purpose: "models" | "uploads" | "agent-attachments" | "agent-artifacts" | "agent-edited-images" | "agent-workbench" | "agent-skill-archives" | "asset-screenshots" | "data-exports" | "data-feature-media" | "design-assets" | "design-board-thumbnails" | "design-images" | "dev-agent-reference-images" | "dev-agent-review-artifacts" | "external-delivery-techpacks" | "llm-generated-images" | "media-generated" | "media-uploads" | "model-training-files" | "models-checkpoints" | "models-clip" | "models-controlnet" | "models-diffusion-models" | "models-loras-test" | "models-vae" | "output-images" | "plugin-data-imports" | "plugin-runtime" | "plugin-runtime-outputs" | "step-thumbnails" | "techpack-design-intent" | "user-files-base" | "user-files-design-board-background" | "user-files-design-project-cover" | "user-files-designs" | "user-files-icons" | "user-files-import-comfyui-image" | "user-files-import-comfyui-json" | "user-files-import-comfyui-json-url" | "user-files-instruction-input" | "user-files-linesheet" | "user-files-media" | "user-files-other" | "user-files-prompt-assistant" | "user-files-table-data" | "user-files-techpack-attachments" | "user-files-text-data-file" | "user-files-workflow-input" | "workflow-image-mask" | "workflow-image-overlay" | "workflow-import";
|
|
4118
4118
|
} | undefined;
|
|
4119
4119
|
accept?: string | undefined;
|
|
4120
4120
|
}[] | undefined;
|
|
@@ -4378,7 +4378,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
|
|
|
4378
4378
|
};
|
|
4379
4379
|
generation: number;
|
|
4380
4380
|
dependencySnapshot: {
|
|
4381
|
-
role: "workflow" | "action" | "provider" | "shell" | "capability" | "agent" | "
|
|
4381
|
+
role: "workflow" | "action" | "provider" | "shell" | "capability" | "agent" | "view" | "token" | "page" | "navigation" | "route-space" | "page-release" | "workbench" | "workbench-release" | "navigation-release" | "menu-action" | "application-menu-catalog" | "ontology-definition" | "projection-spec" | "query-definition" | "projection" | "action-program" | "schema" | "compiler" | "built-in-application" | "design" | "layout-policy" | "performance-budget" | "observation-policy";
|
|
4382
4382
|
revisionRef: {
|
|
4383
4383
|
revision: number;
|
|
4384
4384
|
schemaVersion: number;
|
|
@@ -4412,7 +4412,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
|
|
|
4412
4412
|
code: string;
|
|
4413
4413
|
path: string;
|
|
4414
4414
|
message: string;
|
|
4415
|
-
stage?: "contract" | "
|
|
4415
|
+
stage?: "contract" | "reference" | "runtime" | "document" | "policy" | undefined;
|
|
4416
4416
|
severity?: "error" | "warning" | "info" | undefined;
|
|
4417
4417
|
blocking?: boolean | undefined;
|
|
4418
4418
|
recovery?: string[] | undefined;
|
|
@@ -4588,7 +4588,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
|
|
|
4588
4588
|
} | undefined;
|
|
4589
4589
|
} | undefined;
|
|
4590
4590
|
};
|
|
4591
|
-
pagination: "offset" | "
|
|
4591
|
+
pagination: "offset" | "cursor" | "none";
|
|
4592
4592
|
cache: "none" | "identity-scoped" | "tenant-scoped";
|
|
4593
4593
|
cancelOnChange: boolean;
|
|
4594
4594
|
cursorWindow?: {
|
|
@@ -6295,10 +6295,10 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
|
|
|
6295
6295
|
shell: "shell";
|
|
6296
6296
|
capability: "capability";
|
|
6297
6297
|
agent: "agent";
|
|
6298
|
+
view: "view";
|
|
6298
6299
|
token: "token";
|
|
6299
6300
|
page: "page";
|
|
6300
6301
|
navigation: "navigation";
|
|
6301
|
-
view: "view";
|
|
6302
6302
|
"route-space": "route-space";
|
|
6303
6303
|
"page-release": "page-release";
|
|
6304
6304
|
workbench: "workbench";
|
|
@@ -6356,9 +6356,9 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
|
|
|
6356
6356
|
code: z.ZodString;
|
|
6357
6357
|
stage: z.ZodOptional<z.ZodEnum<{
|
|
6358
6358
|
contract: "contract";
|
|
6359
|
+
reference: "reference";
|
|
6359
6360
|
runtime: "runtime";
|
|
6360
6361
|
document: "document";
|
|
6361
|
-
reference: "reference";
|
|
6362
6362
|
policy: "policy";
|
|
6363
6363
|
}>>;
|
|
6364
6364
|
severity: z.ZodOptional<z.ZodEnum<{
|
|
@@ -8267,10 +8267,10 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
|
|
|
8267
8267
|
shell: "shell";
|
|
8268
8268
|
capability: "capability";
|
|
8269
8269
|
agent: "agent";
|
|
8270
|
+
view: "view";
|
|
8270
8271
|
token: "token";
|
|
8271
8272
|
page: "page";
|
|
8272
8273
|
navigation: "navigation";
|
|
8273
|
-
view: "view";
|
|
8274
8274
|
"route-space": "route-space";
|
|
8275
8275
|
"page-release": "page-release";
|
|
8276
8276
|
workbench: "workbench";
|
|
@@ -8328,9 +8328,9 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
|
|
|
8328
8328
|
code: z.ZodString;
|
|
8329
8329
|
stage: z.ZodOptional<z.ZodEnum<{
|
|
8330
8330
|
contract: "contract";
|
|
8331
|
+
reference: "reference";
|
|
8331
8332
|
runtime: "runtime";
|
|
8332
8333
|
document: "document";
|
|
8333
|
-
reference: "reference";
|
|
8334
8334
|
policy: "policy";
|
|
8335
8335
|
}>>;
|
|
8336
8336
|
severity: z.ZodOptional<z.ZodEnum<{
|