@uipath/agent-tool 1.195.0 → 1.196.0
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/dist/packager-tool.js +147 -52
- package/dist/tool.js +35117 -31748
- package/package.json +2 -27
package/dist/packager-tool.js
CHANGED
|
@@ -1001,8 +1001,11 @@ class ToolsFactoryRepository {
|
|
|
1001
1001
|
solutionFactory = null;
|
|
1002
1002
|
registerProjectToolFactory(factory) {
|
|
1003
1003
|
for (const type of factory.supportedTypes) {
|
|
1004
|
-
|
|
1005
|
-
|
|
1004
|
+
const existing = this.projectFactoryMap.get(type);
|
|
1005
|
+
if (existing) {
|
|
1006
|
+
if (existing.constructor?.name !== factory.constructor?.name) {
|
|
1007
|
+
console.warn(`Tool factory conflict for project type '${type}': ` + `'${existing.constructor?.name}' already registered, ` + `ignoring '${factory.constructor?.name}'.`);
|
|
1008
|
+
}
|
|
1006
1009
|
continue;
|
|
1007
1010
|
}
|
|
1008
1011
|
this.projectFactoryMap.set(type, factory);
|
|
@@ -15145,7 +15148,7 @@ var import_semver, createStorageSchema = (factory) => {
|
|
|
15145
15148
|
}, storageSchemaV0, agentStorageSchemaV1, toolStorageSchemaV1, storageSchemaV1, migrationV1, solutionFolderSchema, agentStorageSchemaV2, guardrailAllFieldsSelectorSchemaV2, guardrailFieldReferenceSchemaV2, guardrailSpecificFieldsSelectorSchemaV2, guardrailFieldSelectorSchemaV2, guardrailWordRuleSchemaV2, guardrailNumberRuleSchemaV2, guardrailBooleanRuleSchemaV2, guardrailUniversalRuleSchemaV2, guardrailRuleSchemaV2, guardrailBlockActionSchemaV2, guardrailFilterActionSchemaV2, guardrailLogActionSchemaV2, guardrailEscalateActionSchemaV2, guardrailActionSchemaV2, guardrailSchemaV2, toolGuardrailStorageSchemaV2, baseToolStorageSchemaV2, toolExampleSchemaV2, processToolStorageSchemaV2, agentToolStorageSchemaV2, apiWorkflowToolStorageSchemaV2, enumSchemaV2, integrationServiceReferenceSchemaV2, integrationServiceConnectorSchemaV2, integrationServiceConnectionSchemaV2, fieldActionTypeSchemaV2, dynamicBehaviorConditionSchemaV2, dynamicBehaviorSchemaV2, integrationServiceToolParameterSchemaV2, methodDesignActionRuleSchemaV2, methodApiConfigurationSchemaV2, methodActionOnSuccessSchemaV2, methodDesignActionSchemaV2, methodDesignApiActionSchemaV2, integrationServiceToolPropertiesSchemaV2, integrationServiceToolStorageSchemaV2, toolStorageSchemaV2, governancePropertiesSchema, contextStorageSchemaV2, escalationRecipientSchema, escalationOutcomeMappingSchema, escalationChannelSchema, escalationStorageSchemaV2, resourceStorageSchemaV2, storageSchemaV2, migrationV2, agentStorageSchemaV3, resourcesFolder, evalsFolder, storageSchemaV3, migrationV3, agentStorageSchemaV4, toolStorageSchemaV4, contextStorageSchemaV4, escalationStorageSchemaV4, resourceStorageSchemaV4, resourcesFolder2, evalsFolder2, storageSchemaV4, migrationV4, escalationStorageSchemaV5, agentStorageSchemaV5, resourceStorageSchemaV5, resourcesFolder3, evalsFolder3, storageSchemaV5, migrationV5, agentStorageSchemaV6, integrationToolStorageSchemaV6, processToolStorageSchemaV6, agentToolStorageSchemaV6, apiWorkflowToolStorageSchemaV6, toolStorageSchemaV6, resourceStorageSchemaV6, resourcesFolder4, evalsFolder4, storageSchemaV6, migrationV6, escalationStorageSchemaV7, agentStorageSchemaV7, resourceStorageSchemaV7, resourcesFolder5, evalsFolder5, storageSchemaV7, migrationV7, RECIPIENT_TYPE, recipientSchema, escalateActionSchema, blockActionSchema, logActionSchema, fieldReferenceSchema, filterActionSchema, actionSchema, allFieldsSelectorSchema, specificFieldsSelectorSchema, fieldSelectorSchema, wordRuleSchema, universalRuleSchema, numberRuleSchema, booleanRuleSchema, enumListParamValueSchema, mapEnumParamValueSchema, numberParamValueSchema, validatorRuleParameterSchema, validatorRuleSchema, ruleSchema, guardrailPolicySchema, toolGuardrailSchema, toolExampleSchemaV8, processOrchestrationToolStorageSchemaV8, toolStorageSchemaV8, agentStorageSchemaV8, resourceStorageSchemaV8, resourcesFolder6, evalsFolder6, storageSchemaV8, migrationV8, actionableMessageMetaDataSchema, RECIPIENT_TYPE2, escalationChannelBaseSchemaV9, actionCenterChannelSchemaV9, escalationStorageSchemaV9, agentStorageSchemaV9, resourceStorageSchemaV9, resourcesFolder7, evalsFolder7, storageSchemaV9, migrationV9, EVALUATOR_MODEL_SAME_AS_AGENT = "same-as-agent", EvaluatorType, EvaluatorSubType, deterministicEvaluatorSchemaV10, llmAsJudgeEvaluatorSchemaV10, simulationEvaluatorSchemaV10, evaluatorSchemaV10, llmAsJudgeEvaluatorSchemaWithOptionalModel, simulationEvaluatorSchemaWithOptionalModel, evaluatorSchemaV10WithOptionalModel, evaluationSchemaV7, modelSettingSchemaV10, evalSetSchemaV10, contextStorageSchemaV10, resourceStorageSchemaV10, agentStorageSchemaV10, storageSchemaV10, migrationV10, DEFAULT_THRESHOLD = 0, DEFAULT_RESULT_COUNT = 3, FILE_EXTENSION_OPTIONS, baseSettingsSchema, semanticSettingsSchema, structuredSettingsSchema, summarizationSettingsSchema, deepragSettingsSchema, contextStorageSchemaV11, agentStorageSchemaV11, llmAsJudgeEvaluatorSchemaV11, simulationEvaluatorSchemaV11, evaluatorSchemaV11, resourceStorageSchemaV11, storageSchemaV11, migrationV11, agentStorageSchemaV12, storageSchemaV12, migrationV12, evalConversationalMessageSchemaV1, evalConversationalUserMessageSchemaV1, evalConversationalAgentMessageSchemaV1, evalConversationalInputToolCallResultSchemaV1, evalConversationalInputToolCallSchemaV1, evalConversationalOutputToolCallSchemaV1, evalConversationalInputUserMessageSchemaV1, evalConversationalInputAgentMessageWithoutToolsSchemaV1, evalConversationalInputAgentMessageWithToolsSchemaV1, evalConversationalOutputAgentMessageWithoutToolsSchemaV1, evalConversationalOutputAgentMessageWithToolsSchemaV1, evalConversationalInputAgentMessageSequenceSchemaV1, evalConversationalOutputAgentMessageSequenceSchemaV1, evalConversationalInputExchangeSchemaV1, evaluationSchemaV8, evalSetSchemaV11, agentStorageSchemaV13, storageSchemaV13, migrationV13, agentStorageSchemaV14, jsonStructureSchema, multipartStructureSchema, integrationServiceToolParameterSchemaV14, integrationServiceToolPropertiesSchemaV14, integrationToolStorageSchemaV14, toolStorageSchemaV14, resourceStorageSchemaV14, resourcesFolderSchema, evalsFolderSchema, storageSchemaV14, migrationV14, toolStorageSchemaV15, resourceStorageSchemaV15, lowCodeAgentSchemaV15, isoDateTime, codedMetadataSchema, bindingParameterSchema, resourceBindingSchema, entryPointsArraySchema, codedAgentSchemaV15, agentStorageSchemaV15, resourcesFolderSchema2, evalsFolderSchema2, storageSchemaV15, migrationV15, DEFAULT_THRESHOLD2 = 0, DEFAULT_RESULT_COUNT2 = 3, SEMANTIC_FILE_EXTENSION_OPTIONS, STRUCTURED_FILE_EXTENSION_OPTIONS, SUMMARIZATION_FILE_EXTENSION_OPTIONS, DEEPRAG_FILE_EXTENSION_OPTIONS, getMatchingOrFirstOption = (value, options) => {
|
|
15146
15149
|
const firstOption = options[0];
|
|
15147
15150
|
return value ? options.find((option) => option === value) ?? firstOption : firstOption;
|
|
15148
|
-
}, baseSettingsSchema2, semanticSettingsSchema2, structuredSettingsSchema2, summarizationSettingsSchema2, deepragSettingsSchema2, contextStorageSchemaV16, mcpStorageSchemaV16, lowCodeAgentSchemaV16, codedAgentSchemaV16, agentStorageSchemaV16, resourceStorageSchemaV16, resourcesFolderSchemaV16, evalsFolderSchemaV16, storageSchemaV16, migrationV16, ixpToolStorageSchemaV17, toolStorageSchemaV17, resourceStorageSchemaV17, lowCodeAgentSchemaV17, codedAgentSchemaV17, agentStorageSchemaV17, resourcesFolderSchemaV17, storageSchemaV17, migrationV17, currentVersion = "18.0.0", builtInToolResourceStorageSchemaV18, toolStorageSchemaV18, resourceStorageSchemaV18, lowCodeAgentSchemaV18, codedAgentSchemaV18, agentStorageSchemaV18, resourcesFolderSchemaV18, storageSchemaV18, currentSchemasV18, migrationV18, currentVersion2 = "19.0.0", DEFAULT_THRESHOLD3 = 0, DEFAULT_RESULT_COUNT3 = 3, SEMANTIC_FILE_EXTENSION_OPTIONS2, STRUCTURED_FILE_EXTENSION_OPTIONS2, SUMMARIZATION_FILE_EXTENSION_OPTIONS2, DEEPRAG_FILE_EXTENSION_OPTIONS2, baseSettingsSchema3, semanticSettingsSchema3, structuredSettingsSchema3, summarizationSettingsSchema3, deepragSettingsSchema3, contextStorageSchemaV19, resourceStorageSchemaV19, lowCodeAgentSchemaV19, codedAgentSchemaV19, agentStorageSchemaV19, resourcesFolderSchemaV19, storageSchemaV19, migrationV19, currentSchemasV19, currentVersion3 = "20.0.0", EscalationType, vsEscalationPropertiesSchemaV20, escalationStorageSchemaV20, resourceStorageSchemaV20, lowCodeAgentSchemaV20, codedAgentSchemaV20, agentStorageSchemaV20, resourcesFolderSchemaV20, storageSchemaV20, v20, migrationV20, currentVersion4 = "21.0.0", guardrailSelectorSchemaV21, guardrailSchemaV21, toolGuardrailStorageSchemaV21, integrationToolStorageSchemaV21, processToolStorageSchemaV21, agentToolStorageSchemaV21, apiWorkflowToolStorageSchemaV21, processOrchestrationToolStorageSchemaV21, ixpToolStorageSchemaV21, builtInToolResourceStorageSchemaV21, toolStorageSchemaV21, resourceStorageSchemaV21, lowCodeAgentSchemaV21, codedAgentSchemaV21, agentStorageSchemaV21, resourcesFolderSchemaV21, storageSchemaV21, v21, migrationV21, version2 = "22.0.0", DEFAULT_THRESHOLD4 = 0, DEFAULT_RESULT_COUNT4 = 3, SEMANTIC_FILE_EXTENSION_OPTIONS3, STRUCTURED_FILE_EXTENSION_OPTIONS3, SUMMARIZATION_FILE_EXTENSION_OPTIONS3, DEEPRAG_FILE_EXTENSION_OPTIONS3, BATCHTRANSFORM_FILE_EXTENSION_OPTIONS, baseSettingsSchema4, semanticSettingsSchema4, structuredSettingsSchema4, summarizationSettingsSchema4, deepragSettingsSchema4, batchTransformSettingsSchema, contextStorageSchema, resourceStorageSchema, lowCodeAgentSchema, codedAgentSchema, agentStorageSchema, resourcesFolderSchema3, storageSchema, v22, migrationV22, currentVersion5 = "23.0.0", ruleSchema2, baseGuardrailSchema, customGuardrailSchemaV23, builtInValidatorGuardrailSchemaV23, guardrailSchemaV23, toolGuardrailStorageSchemaV23, integrationToolStorageSchemaV23, processToolStorageSchemaV23, agentToolStorageSchemaV23, apiWorkflowToolStorageSchemaV23, processOrchestrationToolStorageSchemaV23, ixpToolStorageSchemaV23, builtInToolResourceStorageSchemaV23, toolStorageSchemaV23, resourceStorageSchemaV23, lowCodeAgentSchemaV23, codedAgentSchemaV23, agentStorageSchemaV23, resourcesFolderSchemaV23, storageSchemaV23, v23, migrationV23, currentVersion6 = "24.0.0", lowCodeAgentSchemaV24, codedAgentSchemaV24, agentStorageSchemaV24, storageSchemaV24, v24, migrationV24, version22 = "25.0.0", contentTokenSchema, messageWithTokensSchema, lowCodeAgentSchema2, codedAgentSchema2, agentStorageSchema2, resourcesFolderSchema4, storageSchema2, v25, migrationV25, currentVersion7 = "26.0.0", resourcesFolderSchemaV26, lowCodeAgentSchemaV26, codedAgentSchemaV26, agentStorageSchemaV26, storageSchemaV26, v26, migrationV26, version3 = "27.0.0", taskTitleV2Schema, actionCenterSchemaV24, escalationChannelActionCenterSchemaV27, escalationStorageSchemaV27, resourceStorageSchemaV27, resourcesFolderSchemaV27, lowCodeAgentSchemaV27, codedAgentSchemaV27, agentStorageSchemaV27, storageSchemaV27, v27, migrationV27, currentVersion8 = "28.0.0", lowCodeAgentSchemaV28, codedAgentSchemaV28, agentStorageSchemaV28, storageSchemaV28, v28, migrationV28, version4 = "29.0.0", msSearchModeSchemaV29, msFieldSettingsSchemaV29, msDynamicFewShotSettingsSchemaV29, memorySpaceStorageSchemaV29, lowCodeAgentSchemaV29, codedAgentSchemaV29, featureStorageSchemaV29, featuresFolderSchemaV29, agentStorageSchemaV29, storageSchemaV29, v29, migrationV29, version5 = "30.0.0", agentMemorySettingSchemaV30, evalSetSchemaV30, lowCodeAgentSchemaV30, codedAgentSchemaV30, agentStorageSchemaV30, evalsFolderSchemaV30, storageSchemaV30, v30, migrationV30, version6 = "31.0.0", lowCodeAgentSchemaV31, codedAgentSchemaV31, agentStorageSchemaV31, storageSchemaV31, v31, migrationV31, version7 = "32.0.0", ContextType, contextStorageSchemaV32, resourceStorageSchemaV32, resourcesFolderSchemaV32, lowCodeAgentSchemaV32, codedAgentSchemaV32, agentStorageSchemaV32, storageSchemaV32, v32, migrationV32, version8 = "33.0.0", argumentPropertiesConfigSchema, argumentPropertiesSchema, integrationToolStorageSchemaV33, processToolStorageSchemaV33, agentToolStorageSchemaV33, apiWorkflowToolStorageSchemaV33, processOrchestrationToolStorageSchemaV33, ixpToolStorageSchemaV33, builtInToolResourceStorageSchemaV33, dynamicToolsModeSchema, mcpToolStorageSchemaV33, toolStorageSchemaV33, resourceStorageSchemaV33, resourcesFolderSchemaV33, lowCodeAgentSchemaV33, codedAgentSchemaV33, agentStorageSchemaV33, storageSchemaV33, v33, migrationV33, version9 = "34.0.0", appearanceSchema, lowCodeAgentSchemaV34, codedAgentSchemaV34, agentStorageSchemaV34, storageSchemaV34, v34, migrationV34, version10 = "35.0.0", nodePositionSchemaV35, resourceNodeSchemaV35, flowLayoutSchemaV35, lowCodeAgentSchemaV35, codedAgentSchemaV35, agentStorageSchemaV35, storageSchemaV35, v35, migrationV35, version11 = "36.0.0", evalSetSchemaV36, lowCodeAgentSchemaV36, codedAgentSchemaV36, agentStorageSchemaV36, evalsFolderSchemaV36, storageSchemaV36, v36, migrationV36, version12 = "37.0.0", evaluationV36, conversationalInputsV36, evalConversationalUserMessageSchemaV36, jobAttachmentReferenceSchema, evalConversationalUserMessageSchemaV37, evalConversationalInputUserMessageSchemaV37, evalConversationalMessageSchemaV36, evalConversationalAgentMessageSchemaV36, evalConversationalInputAgentMessageWithoutToolsSchemaV37, evalConversationalInputToolCallSchemaV36, evalConversationalInputAgentMessageWithToolsSchemaV37, evalConversationalInputAgentMessageSequenceSchemaV37, evalConversationalInputExchangeSchemaV37, evaluationSchemaV37, evalSetSchemaV37, evalsFolderSchemaV37, lowCodeAgentSchemaV37, codedAgentSchemaV37, agentStorageSchemaV37, storageSchemaV37, v37, migrationV37, version13 = "38.0.0", lowCodeAgentSchemaV38, codedAgentSchemaV38, agentStorageSchemaV38, storageSchemaV38, v38, migrationV38, version14 = "39.0.0", EvaluatorSubType2, EvaluatorType2, deterministicEvaluatorSchemaV39, llmAsJudgeEvaluatorSchemaV39, simulationEvaluatorSchemaV39, evaluatorSchemaV39, evalSetSchemaV39, lowCodeAgentSchemaV39, codedAgentSchemaV39, agentStorageSchemaV39, evalsFolderSchemaV39, storageSchemaV39, v39, migrationV39, version15 = "40.0.0", _v39BuiltInToolSchema, existingBuiltInToolPropertiesShape, builtInToolBasePropertiesSchema, analyzeAttachmentsPropertiesSchema, loadAttachmentsPropertiesSchema, queryConfigSchema, folderPathPrefixConfigSchema, fileExtensionConfigSchema, citationModeConfigSchema, webSearchGroundingConfigSchema, batchTransformOutputColumnSchema, deepRagSettingsSchema, deepRagPropertiesSchema, batchTransformSettingsSchema2, batchTransformPropertiesSchema, builtInToolPropertiesSchemaV40, builtInToolResourceStorageSchemaV40, toolStorageSchemaV40, resourceStorageSchemaV40, resourcesFolderSchemaV40, lowCodeAgentSchemaV40, codedAgentSchemaV40, agentStorageSchemaV40, storageSchemaV40, v40, migrateBuiltInToolProperties = (tool) => {
|
|
15151
|
+
}, baseSettingsSchema2, semanticSettingsSchema2, structuredSettingsSchema2, summarizationSettingsSchema2, deepragSettingsSchema2, contextStorageSchemaV16, mcpStorageSchemaV16, lowCodeAgentSchemaV16, codedAgentSchemaV16, agentStorageSchemaV16, resourceStorageSchemaV16, resourcesFolderSchemaV16, evalsFolderSchemaV16, storageSchemaV16, migrationV16, ixpToolStorageSchemaV17, toolStorageSchemaV17, resourceStorageSchemaV17, lowCodeAgentSchemaV17, codedAgentSchemaV17, agentStorageSchemaV17, resourcesFolderSchemaV17, storageSchemaV17, migrationV17, currentVersion = "18.0.0", builtInToolResourceStorageSchemaV18, toolStorageSchemaV18, resourceStorageSchemaV18, lowCodeAgentSchemaV18, codedAgentSchemaV18, agentStorageSchemaV18, resourcesFolderSchemaV18, storageSchemaV18, currentSchemasV18, migrationV18, currentVersion2 = "19.0.0", DEFAULT_THRESHOLD3 = 0, DEFAULT_RESULT_COUNT3 = 3, SEMANTIC_FILE_EXTENSION_OPTIONS2, STRUCTURED_FILE_EXTENSION_OPTIONS2, SUMMARIZATION_FILE_EXTENSION_OPTIONS2, DEEPRAG_FILE_EXTENSION_OPTIONS2, baseSettingsSchema3, semanticSettingsSchema3, structuredSettingsSchema3, summarizationSettingsSchema3, deepragSettingsSchema3, contextStorageSchemaV19, resourceStorageSchemaV19, lowCodeAgentSchemaV19, codedAgentSchemaV19, agentStorageSchemaV19, resourcesFolderSchemaV19, storageSchemaV19, migrationV19, currentSchemasV19, currentVersion3 = "20.0.0", EscalationType, vsEscalationPropertiesSchemaV20, escalationStorageSchemaV20, resourceStorageSchemaV20, lowCodeAgentSchemaV20, codedAgentSchemaV20, agentStorageSchemaV20, resourcesFolderSchemaV20, storageSchemaV20, v20, migrationV20, currentVersion4 = "21.0.0", guardrailSelectorSchemaV21, guardrailSchemaV21, toolGuardrailStorageSchemaV21, integrationToolStorageSchemaV21, processToolStorageSchemaV21, agentToolStorageSchemaV21, apiWorkflowToolStorageSchemaV21, processOrchestrationToolStorageSchemaV21, ixpToolStorageSchemaV21, builtInToolResourceStorageSchemaV21, toolStorageSchemaV21, resourceStorageSchemaV21, lowCodeAgentSchemaV21, codedAgentSchemaV21, agentStorageSchemaV21, resourcesFolderSchemaV21, storageSchemaV21, v21, migrationV21, version2 = "22.0.0", DEFAULT_THRESHOLD4 = 0, DEFAULT_RESULT_COUNT4 = 3, SEMANTIC_FILE_EXTENSION_OPTIONS3, STRUCTURED_FILE_EXTENSION_OPTIONS3, SUMMARIZATION_FILE_EXTENSION_OPTIONS3, DEEPRAG_FILE_EXTENSION_OPTIONS3, BATCHTRANSFORM_FILE_EXTENSION_OPTIONS, baseSettingsSchema4, semanticSettingsSchema4, structuredSettingsSchema4, summarizationSettingsSchema4, deepragSettingsSchema4, batchTransformSettingsSchema, contextStorageSchema, resourceStorageSchema, lowCodeAgentSchema, codedAgentSchema, agentStorageSchema, resourcesFolderSchema3, storageSchema, v22, migrationV22, currentVersion5 = "23.0.0", ruleSchema2, baseGuardrailSchema, customGuardrailSchemaV23, builtInValidatorGuardrailSchemaV23, guardrailSchemaV23, toolGuardrailStorageSchemaV23, integrationToolStorageSchemaV23, processToolStorageSchemaV23, agentToolStorageSchemaV23, apiWorkflowToolStorageSchemaV23, processOrchestrationToolStorageSchemaV23, ixpToolStorageSchemaV23, builtInToolResourceStorageSchemaV23, toolStorageSchemaV23, resourceStorageSchemaV23, lowCodeAgentSchemaV23, codedAgentSchemaV23, agentStorageSchemaV23, resourcesFolderSchemaV23, storageSchemaV23, v23, migrationV23, currentVersion6 = "24.0.0", lowCodeAgentSchemaV24, codedAgentSchemaV24, agentStorageSchemaV24, storageSchemaV24, v24, migrationV24, version22 = "25.0.0", contentTokenSchema, messageWithTokensSchema, lowCodeAgentSchema2, codedAgentSchema2, agentStorageSchema2, resourcesFolderSchema4, storageSchema2, v25, migrationV25, currentVersion7 = "26.0.0", resourcesFolderSchemaV26, lowCodeAgentSchemaV26, codedAgentSchemaV26, agentStorageSchemaV26, storageSchemaV26, v26, migrationV26, version3 = "27.0.0", taskTitleV2Schema, actionCenterSchemaV24, escalationChannelActionCenterSchemaV27, escalationStorageSchemaV27, resourceStorageSchemaV27, resourcesFolderSchemaV27, lowCodeAgentSchemaV27, codedAgentSchemaV27, agentStorageSchemaV27, storageSchemaV27, v27, migrationV27, currentVersion8 = "28.0.0", lowCodeAgentSchemaV28, codedAgentSchemaV28, agentStorageSchemaV28, storageSchemaV28, v28, migrationV28, version4 = "29.0.0", msSearchModeSchemaV29, msFieldSettingsSchemaV29, msDynamicFewShotSettingsSchemaV29, memorySpaceStorageSchemaV29, lowCodeAgentSchemaV29, codedAgentSchemaV29, featureStorageSchemaV29, featuresFolderSchemaV29, agentStorageSchemaV29, storageSchemaV29, v29, migrationV29, version5 = "30.0.0", agentMemorySettingSchemaV30, evalSetSchemaV30, lowCodeAgentSchemaV30, codedAgentSchemaV30, agentStorageSchemaV30, evalsFolderSchemaV30, storageSchemaV30, v30, migrationV30, version6 = "31.0.0", lowCodeAgentSchemaV31, codedAgentSchemaV31, agentStorageSchemaV31, storageSchemaV31, v31, migrationV31, version7 = "32.0.0", ContextType, contextStorageSchemaV32, resourceStorageSchemaV32, resourcesFolderSchemaV32, lowCodeAgentSchemaV32, codedAgentSchemaV32, agentStorageSchemaV32, storageSchemaV32, v32, migrationV32, version8 = "33.0.0", argumentPropertiesConfigSchema, argumentPropertiesSchema, actionCenterSchemaV32, escalationChannelActionCenterSchemaV33, escalationStorageSchemaV33, integrationToolStorageSchemaV33, processToolStorageSchemaV33, agentToolStorageSchemaV33, apiWorkflowToolStorageSchemaV33, processOrchestrationToolStorageSchemaV33, ixpToolStorageSchemaV33, builtInToolResourceStorageSchemaV33, dynamicToolsModeSchema, mcpToolStorageSchemaV33, toolStorageSchemaV33, resourceStorageSchemaV33, resourcesFolderSchemaV33, lowCodeAgentSchemaV33, codedAgentSchemaV33, agentStorageSchemaV33, storageSchemaV33, v33, migrationV33, version9 = "34.0.0", appearanceSchema, lowCodeAgentSchemaV34, codedAgentSchemaV34, agentStorageSchemaV34, storageSchemaV34, v34, migrationV34, version10 = "35.0.0", nodePositionSchemaV35, resourceNodeSchemaV35, flowLayoutSchemaV35, lowCodeAgentSchemaV35, codedAgentSchemaV35, agentStorageSchemaV35, storageSchemaV35, v35, migrationV35, version11 = "36.0.0", evalSetSchemaV36, lowCodeAgentSchemaV36, codedAgentSchemaV36, agentStorageSchemaV36, evalsFolderSchemaV36, storageSchemaV36, v36, migrationV36, version12 = "37.0.0", evaluationV36, conversationalInputsV36, evalConversationalUserMessageSchemaV36, jobAttachmentReferenceSchema, evalConversationalUserMessageSchemaV37, evalConversationalInputUserMessageSchemaV37, evalConversationalMessageSchemaV36, evalConversationalAgentMessageSchemaV36, evalConversationalInputAgentMessageWithoutToolsSchemaV37, evalConversationalInputToolCallSchemaV36, evalConversationalInputAgentMessageWithToolsSchemaV37, evalConversationalInputAgentMessageSequenceSchemaV37, evalConversationalInputExchangeSchemaV37, evaluationSchemaV37, evalSetSchemaV37, evalsFolderSchemaV37, lowCodeAgentSchemaV37, codedAgentSchemaV37, agentStorageSchemaV37, storageSchemaV37, v37, migrationV37, version13 = "38.0.0", lowCodeAgentSchemaV38, codedAgentSchemaV38, agentStorageSchemaV38, storageSchemaV38, v38, migrationV38, version14 = "39.0.0", EvaluatorSubType2, EvaluatorType2, deterministicEvaluatorSchemaV39, llmAsJudgeEvaluatorSchemaV39, simulationEvaluatorSchemaV39, evaluatorSchemaV39, evalSetSchemaV39, lowCodeAgentSchemaV39, codedAgentSchemaV39, agentStorageSchemaV39, evalsFolderSchemaV39, storageSchemaV39, v39, migrationV39, version15 = "40.0.0", _v39BuiltInToolSchema, existingBuiltInToolPropertiesShape, builtInToolBasePropertiesSchema, analyzeAttachmentsPropertiesSchema, loadAttachmentsPropertiesSchema, queryConfigSchema, folderPathPrefixConfigSchema, fileExtensionConfigSchema, citationModeConfigSchema, webSearchGroundingConfigSchema, batchTransformOutputColumnSchema, deepRagSettingsSchema, deepRagPropertiesSchema, batchTransformSettingsSchema2, batchTransformPropertiesSchema, builtInToolPropertiesSchemaV40, builtInToolResourceStorageSchemaV40, toolStorageSchemaV40, resourceStorageSchemaV40, resourcesFolderSchemaV40, lowCodeAgentSchemaV40, codedAgentSchemaV40, agentStorageSchemaV40, storageSchemaV40, v40, migrateBuiltInToolProperties = (tool) => {
|
|
15149
15152
|
const { toolType, exampleCalls, requireConversationalConfirmation } = tool.properties;
|
|
15150
15153
|
if (toolType === "analyze-attachments") {
|
|
15151
15154
|
return {
|
|
@@ -15169,7 +15172,7 @@ var import_semver, createStorageSchema = (factory) => {
|
|
|
15169
15172
|
}, migrationV40, version16 = "41.0.0", nodePositionSchemaV41, nodeSizeSchemaV41, resourceNodeSchemaV41, stickyNoteNodeSchemaV41, flowLayoutSchemaV41, lowCodeAgentSchemaV41, codedAgentSchemaV41, agentStorageSchemaV41, storageSchemaV41, v41, migrationV41, version17 = "42.0.0", ENTITIES_TO_REMOVE, lowCodeAgentSchemaV42, codedAgentSchemaV42, agentStorageSchemaV42, storageSchemaV42, v42, migrationV42, version18 = "43.0.0", lowCodeAgentSchemaV43, codedAgentSchemaV43, agentStorageSchemaV43, storageSchemaV43, v43, migrationV43, version19 = "44.0.0", _memorySpaceStorageSchemaV43, msEscalationSettingsSchemaV44, escalationStorageSchemaV44, resourceStorageSchemaV44, resourcesFolderSchemaV44, lowCodeAgentSchemaV44, codedAgentSchemaV44, agentStorageSchemaV44, storageSchemaV44, v44, migrationV44, version20 = "45.0.0", appearanceSchema2, lowCodeAgentSchemaV45, codedAgentSchemaV45, agentStorageSchemaV45, storageSchemaV45, v45, migrationV45, version21 = "46.0.0", lowCodeAgentSchemaV46, codedAgentSchemaV46, agentStorageSchemaV46, storageSchemaV46, v46, migrationV46, version222 = "47.0.0", processOrchestrationToolStorageSchemaV47, toolStorageSchemaV47, resourceStorageSchemaV47, resourcesFolderSchemaV47, lowCodeAgentSchemaV47, codedAgentSchemaV47, agentStorageSchemaV47, storageSchemaV47, v47, migrationV47, version23 = "48.0.0", vdoInputValueSchemaV48, requiredEntityInputSchemaV48, dataFabricEntityItemSchemaV48, indexOrAttachmentsContextStorageSchemaV48, dataFabricContextStorageSchemaV48, contextStorageSchemaV48, a2aStorageSchemaV48, resourceStorageSchemaV48, resourcesFolderSchemaV48, lowCodeAgentSchemaV48, codedAgentSchemaV48, agentStorageSchemaV48, storageSchemaV48, migrateContextResource = (context) => ({
|
|
15170
15173
|
...context,
|
|
15171
15174
|
contextType: context.contextType ?? (context.attachments ? "attachments" : "index")
|
|
15172
|
-
}), v48, migrationV48, version24 = "49.0.0", lowCodeAgentSchemaV49, codedAgentSchemaV49, agentStorageSchemaV49, storageSchemaV49, v49, migrationV49, version25 = "50.0.0", RECIPIENT_TYPE3, escalationChannelActionCenterSchemaV50, escalationStorageSchemaV50, baseLowCodeSettingsSchema, _v49ProcessToolSchema, flowToolStorageSchemaV50, voiceSettingsExtension, standardLowCodeAgentSettingsV50, advancedLowCodeAgentSettingsV50, lowCodeAgentSettingsV50, lowCodeAgentSchemaV50, codedAgentSchemaV50, agentStorageSchemaV50, clientSideToolStorageSchemaV50, toolStorageSchemaV50, discoveryModeSchemaV50, mcpToolStorageSchemaV50, resourceStorageSchemaV50, resourcesFolderSchemaV50, storageSchemaV50, v50, migrationV50, migrations, currentStorageSchemaMigration, currentStorageSchema, currentAgentStorageSchema, currentResourceStorageSchema, currentFeatureStorageSchema, currentEvaluationSetStorageSchema, currentCodedAgentStorageSchema, currentFlowLayoutStorageSchema, applyMigrations = async (migrations2, data, currentVersion9, options = {}) => {
|
|
15175
|
+
}), v48, migrationV48, version24 = "49.0.0", lowCodeAgentSchemaV49, codedAgentSchemaV49, agentStorageSchemaV49, storageSchemaV49, v49, migrationV49, version25 = "50.0.0", AGENT365_GOVERNANCE_PROVIDER_NAMESPACE = "agent.governance_providers.agents365", Agent365Attributes, RECIPIENT_TYPE3, escalationRecipientsV50, hitlSchemaFieldRuleV50, hitlSchemaFieldV50, hitlSchemaOutcomeV50, hitlSchemaV50, actionableMessageMetaDataV50, channelQuickFormPropertiesV50, escalationChannelActionCenterSchemaV50, escalationChannelActionCenterQuickFormSchemaV50, escalationStorageSchemaV50, baseLowCodeSettingsSchema, _v49ProcessToolSchema, flowToolStorageSchemaV50, functionToolStorageSchemaV50, voiceSettingsExtension, standardLowCodeAgentSettingsV50, advancedLowCodeAgentSettingsV50, lowCodeAgentSettingsV50, agent365ValuesSchemaV50, lowCodeAgentSchemaV50, codedAgentSchemaV50, agentStorageSchemaV50, clientSideToolStorageSchemaV50, toolStorageSchemaV50, discoveryModeSchemaV50, mcpToolStorageSchemaV50, resourceStorageSchemaV50, resourcesFolderSchemaV50, storageSchemaV50, v50, migrationV50, migrations, currentStorageSchemaMigration, currentStorageSchema, currentAgentStorageSchema, currentResourceStorageSchema, currentFeatureStorageSchema, currentEvaluationSetStorageSchema, currentCodedAgentStorageSchema, currentFlowLayoutStorageSchema, applyMigrations = async (migrations2, data, currentVersion9, options = {}) => {
|
|
15173
15176
|
const parsedCurrentVersion = import_semver.coerce(currentVersion9);
|
|
15174
15177
|
if (!parsedCurrentVersion) {
|
|
15175
15178
|
throw new Error(`Invalid current version: ${currentVersion9}`);
|
|
@@ -15225,6 +15228,7 @@ var init_dist2 = __esm(() => {
|
|
|
15225
15228
|
required: exports_external.array(exports_external.string()).optional(),
|
|
15226
15229
|
format: exports_external.string().optional(),
|
|
15227
15230
|
$ref: exports_external.string().optional(),
|
|
15231
|
+
nullable: exports_external.boolean().optional(),
|
|
15228
15232
|
"x-uipath-resource-kind": exports_external.string().optional()
|
|
15229
15233
|
});
|
|
15230
15234
|
jsonSchemaPropertiesSchema = baseJsonSchemaPropertiesSchema.extend({
|
|
@@ -17875,7 +17879,14 @@ var init_dist2 = __esm(() => {
|
|
|
17875
17879
|
conversationalExpectedOutput: exports_external.object({
|
|
17876
17880
|
agentResponse: evalConversationalOutputAgentMessageSequenceSchemaV1
|
|
17877
17881
|
}).optional(),
|
|
17878
|
-
source: exports_external.enum([
|
|
17882
|
+
source: exports_external.enum([
|
|
17883
|
+
"debugRun",
|
|
17884
|
+
"manual",
|
|
17885
|
+
"runtimeRun",
|
|
17886
|
+
"simulatedRun",
|
|
17887
|
+
"autopilotUserInitiated",
|
|
17888
|
+
"firstSuccessfulRun"
|
|
17889
|
+
]).optional()
|
|
17879
17890
|
});
|
|
17880
17891
|
evalSetSchemaV11 = evalSetSchemaV10.extend({
|
|
17881
17892
|
evaluations: exports_external.array(evaluationSchemaV8)
|
|
@@ -20768,7 +20779,6 @@ var init_dist2 = __esm(() => {
|
|
|
20768
20779
|
contentToken: v28.contentToken,
|
|
20769
20780
|
message: v28.message,
|
|
20770
20781
|
context: v28.context,
|
|
20771
|
-
escalationChannelActionCenter: v28.escalationChannelActionCenter,
|
|
20772
20782
|
escalation: v28.escalation,
|
|
20773
20783
|
resource: v28.resource,
|
|
20774
20784
|
feature: featureStorageSchemaV29,
|
|
@@ -20909,7 +20919,6 @@ var init_dist2 = __esm(() => {
|
|
|
20909
20919
|
contentToken: v29.contentToken,
|
|
20910
20920
|
message: v29.message,
|
|
20911
20921
|
context: v29.context,
|
|
20912
|
-
escalationChannelActionCenter: v29.escalationChannelActionCenter,
|
|
20913
20922
|
escalation: v29.escalation,
|
|
20914
20923
|
resource: v29.resource,
|
|
20915
20924
|
feature: v29.feature,
|
|
@@ -21049,7 +21058,6 @@ var init_dist2 = __esm(() => {
|
|
|
21049
21058
|
contentToken: v30.contentToken,
|
|
21050
21059
|
message: v30.message,
|
|
21051
21060
|
context: v30.context,
|
|
21052
|
-
escalationChannelActionCenter: v30.escalationChannelActionCenter,
|
|
21053
21061
|
escalation: v30.escalation,
|
|
21054
21062
|
resource: v30.resource,
|
|
21055
21063
|
feature: v30.feature,
|
|
@@ -21170,7 +21178,6 @@ var init_dist2 = __esm(() => {
|
|
|
21170
21178
|
contentToken: v31.contentToken,
|
|
21171
21179
|
message: v31.message,
|
|
21172
21180
|
context: contextStorageSchemaV32,
|
|
21173
|
-
escalationChannelActionCenter: v31.escalationChannelActionCenter,
|
|
21174
21181
|
escalation: v31.escalation,
|
|
21175
21182
|
resource: resourceStorageSchemaV32,
|
|
21176
21183
|
feature: v31.feature,
|
|
@@ -21251,9 +21258,19 @@ var init_dist2 = __esm(() => {
|
|
|
21251
21258
|
variant: exports_external.literal("textBuilder"),
|
|
21252
21259
|
tokens: exports_external.array(v32.contentToken),
|
|
21253
21260
|
isSensitive: exports_external.boolean().default(false)
|
|
21261
|
+
}),
|
|
21262
|
+
exports_external.object({
|
|
21263
|
+
variant: exports_external.literal("arrayBuilder")
|
|
21254
21264
|
})
|
|
21255
21265
|
]);
|
|
21256
21266
|
argumentPropertiesSchema = exports_external.record(exports_external.string(), argumentPropertiesConfigSchema);
|
|
21267
|
+
actionCenterSchemaV32 = v32.escalation.shape.channels.element.options[0];
|
|
21268
|
+
escalationChannelActionCenterSchemaV33 = actionCenterSchemaV32.extend({
|
|
21269
|
+
argumentProperties: argumentPropertiesSchema.default({})
|
|
21270
|
+
});
|
|
21271
|
+
escalationStorageSchemaV33 = v32.escalation.extend({
|
|
21272
|
+
channels: exports_external.array(exports_external.discriminatedUnion("type", [escalationChannelActionCenterSchemaV33]))
|
|
21273
|
+
});
|
|
21257
21274
|
integrationToolStorageSchemaV33 = v32.tool.options[0].extend({
|
|
21258
21275
|
properties: v32.tool.options[0].shape.properties.extend({
|
|
21259
21276
|
requireConversationalConfirmation: exports_external.boolean().optional()
|
|
@@ -21314,7 +21331,7 @@ var init_dist2 = __esm(() => {
|
|
|
21314
21331
|
resourceStorageSchemaV33 = exports_external.union([
|
|
21315
21332
|
toolStorageSchemaV33,
|
|
21316
21333
|
v32.context,
|
|
21317
|
-
|
|
21334
|
+
escalationStorageSchemaV33,
|
|
21318
21335
|
mcpToolStorageSchemaV33
|
|
21319
21336
|
]);
|
|
21320
21337
|
resourcesFolderSchemaV33 = exports_external.object({
|
|
@@ -21359,8 +21376,8 @@ var init_dist2 = __esm(() => {
|
|
|
21359
21376
|
contentToken: v32.contentToken,
|
|
21360
21377
|
message: v32.message,
|
|
21361
21378
|
context: v32.context,
|
|
21362
|
-
escalationChannelActionCenter:
|
|
21363
|
-
escalation:
|
|
21379
|
+
escalationChannelActionCenter: escalationChannelActionCenterSchemaV33,
|
|
21380
|
+
escalation: escalationStorageSchemaV33,
|
|
21364
21381
|
resource: resourceStorageSchemaV33,
|
|
21365
21382
|
feature: v32.feature,
|
|
21366
21383
|
evalSet: v32.evalSet,
|
|
@@ -21528,7 +21545,7 @@ var init_dist2 = __esm(() => {
|
|
|
21528
21545
|
flowLayoutSchemaV35 = exports_external.object({
|
|
21529
21546
|
agentPosition: nodePositionSchemaV35,
|
|
21530
21547
|
resourceNodes: exports_external.array(resourceNodeSchemaV35).optional(),
|
|
21531
|
-
zoom: exports_external.number().optional()
|
|
21548
|
+
zoom: exports_external.number().optional().catch(1)
|
|
21532
21549
|
});
|
|
21533
21550
|
lowCodeAgentSchemaV35 = v34.lowCodeAgent.extend({
|
|
21534
21551
|
metadata: v34.lowCodeAgent.shape.metadata.extend({
|
|
@@ -22576,7 +22593,7 @@ var init_dist2 = __esm(() => {
|
|
|
22576
22593
|
agentPosition: nodePositionSchemaV41,
|
|
22577
22594
|
resourceNodes: exports_external.array(resourceNodeSchemaV41).optional(),
|
|
22578
22595
|
stickyNoteNodes: exports_external.array(stickyNoteNodeSchemaV41).optional(),
|
|
22579
|
-
zoom: exports_external.number().optional()
|
|
22596
|
+
zoom: exports_external.number().optional().catch(1)
|
|
22580
22597
|
});
|
|
22581
22598
|
lowCodeAgentSchemaV41 = v40.lowCodeAgent.extend({
|
|
22582
22599
|
metadata: v40.lowCodeAgent.shape.metadata.extend({
|
|
@@ -23762,6 +23779,14 @@ var init_dist2 = __esm(() => {
|
|
|
23762
23779
|
};
|
|
23763
23780
|
}
|
|
23764
23781
|
});
|
|
23782
|
+
Agent365Attributes = {
|
|
23783
|
+
Registered: `${AGENT365_GOVERNANCE_PROVIDER_NAMESPACE}.registered`,
|
|
23784
|
+
BlueprintId: `${AGENT365_GOVERNANCE_PROVIDER_NAMESPACE}.blueprint.id`,
|
|
23785
|
+
AgentInstanceId: `${AGENT365_GOVERNANCE_PROVIDER_NAMESPACE}.agent.instance.id`,
|
|
23786
|
+
EntraTenantId: `${AGENT365_GOVERNANCE_PROVIDER_NAMESPACE}.entra.tenant.id`,
|
|
23787
|
+
AgentUserId: `${AGENT365_GOVERNANCE_PROVIDER_NAMESPACE}.agent.user.id`,
|
|
23788
|
+
AgentUserEmail: `${AGENT365_GOVERNANCE_PROVIDER_NAMESPACE}.agent.user.email`
|
|
23789
|
+
};
|
|
23765
23790
|
RECIPIENT_TYPE3 = {
|
|
23766
23791
|
USER_ID: 1,
|
|
23767
23792
|
GROUP_ID: 2,
|
|
@@ -23772,34 +23797,89 @@ var init_dist2 = __esm(() => {
|
|
|
23772
23797
|
ARGUMENT_USER_EMAIL: 7,
|
|
23773
23798
|
ARGUMENT_GROUP_NAME: 8
|
|
23774
23799
|
};
|
|
23800
|
+
escalationRecipientsV50 = exports_external.array(exports_external.discriminatedUnion("type", [
|
|
23801
|
+
exports_external.object({ type: exports_external.literal(RECIPIENT_TYPE3.USER_ID), value: exports_external.string(), displayName: exports_external.string() }),
|
|
23802
|
+
exports_external.object({ type: exports_external.literal(RECIPIENT_TYPE3.GROUP_ID), value: exports_external.string(), displayName: exports_external.string() }),
|
|
23803
|
+
exports_external.object({ type: exports_external.literal(RECIPIENT_TYPE3.STATIC_USER_EMAIL), value: exports_external.string() }),
|
|
23804
|
+
exports_external.object({
|
|
23805
|
+
type: exports_external.literal(RECIPIENT_TYPE3.ASSET_USER_EMAIL),
|
|
23806
|
+
folderPath: exports_external.string().optional(),
|
|
23807
|
+
assetName: exports_external.string()
|
|
23808
|
+
}),
|
|
23809
|
+
exports_external.object({ type: exports_external.literal(RECIPIENT_TYPE3.STATIC_GROUP_NAME), value: exports_external.string() }),
|
|
23810
|
+
exports_external.object({
|
|
23811
|
+
type: exports_external.literal(RECIPIENT_TYPE3.ASSET_GROUP_NAME),
|
|
23812
|
+
folderPath: exports_external.string().optional(),
|
|
23813
|
+
assetName: exports_external.string()
|
|
23814
|
+
}),
|
|
23815
|
+
exports_external.object({ type: exports_external.literal(RECIPIENT_TYPE3.ARGUMENT_USER_EMAIL), argumentName: exports_external.string() }),
|
|
23816
|
+
exports_external.object({ type: exports_external.literal(RECIPIENT_TYPE3.ARGUMENT_GROUP_NAME), argumentName: exports_external.string() })
|
|
23817
|
+
]));
|
|
23818
|
+
hitlSchemaFieldRuleV50 = exports_external.looseObject({
|
|
23819
|
+
id: exports_external.string().optional(),
|
|
23820
|
+
conditions: exports_external.array(exports_external.looseObject({ when: exports_external.string().optional() })).optional(),
|
|
23821
|
+
operator: exports_external.string().optional(),
|
|
23822
|
+
effects: exports_external.record(exports_external.string(), exports_external.unknown()).optional()
|
|
23823
|
+
});
|
|
23824
|
+
hitlSchemaFieldV50 = exports_external.looseObject({
|
|
23825
|
+
id: exports_external.string().optional(),
|
|
23826
|
+
type: exports_external.string().optional(),
|
|
23827
|
+
label: exports_external.string().optional(),
|
|
23828
|
+
direction: exports_external.string().optional(),
|
|
23829
|
+
required: exports_external.boolean().optional(),
|
|
23830
|
+
variable: exports_external.string().optional(),
|
|
23831
|
+
binding: exports_external.string().optional(),
|
|
23832
|
+
rules: exports_external.array(hitlSchemaFieldRuleV50).optional(),
|
|
23833
|
+
requiredMessage: exports_external.string().optional()
|
|
23834
|
+
});
|
|
23835
|
+
hitlSchemaOutcomeV50 = exports_external.looseObject({
|
|
23836
|
+
id: exports_external.string().optional(),
|
|
23837
|
+
name: exports_external.string().optional(),
|
|
23838
|
+
type: exports_external.string().optional(),
|
|
23839
|
+
action: exports_external.string().optional(),
|
|
23840
|
+
isPrimary: exports_external.boolean().optional(),
|
|
23841
|
+
outcomeType: exports_external.string().optional()
|
|
23842
|
+
});
|
|
23843
|
+
hitlSchemaV50 = exports_external.looseObject({
|
|
23844
|
+
type: exports_external.string().optional(),
|
|
23845
|
+
schemaId: exports_external.string().optional(),
|
|
23846
|
+
_contentHash: exports_external.string().optional(),
|
|
23847
|
+
docVersion: exports_external.string().optional(),
|
|
23848
|
+
nodeId: exports_external.string().optional(),
|
|
23849
|
+
title: exports_external.string().optional(),
|
|
23850
|
+
description: exports_external.string().optional(),
|
|
23851
|
+
theme: exports_external.string().optional(),
|
|
23852
|
+
fields: exports_external.array(hitlSchemaFieldV50).optional(),
|
|
23853
|
+
outcomes: exports_external.array(hitlSchemaOutcomeV50).optional()
|
|
23854
|
+
});
|
|
23855
|
+
actionableMessageMetaDataV50 = v49.escalationChannelActionCenter.shape.properties.shape.actionableMessageMetaData;
|
|
23856
|
+
channelQuickFormPropertiesV50 = exports_external.object({
|
|
23857
|
+
schema: hitlSchemaV50,
|
|
23858
|
+
isActionableMessageEnabled: exports_external.boolean().default(false),
|
|
23859
|
+
actionableMessageMetaData: actionableMessageMetaDataV50
|
|
23860
|
+
});
|
|
23775
23861
|
escalationChannelActionCenterSchemaV50 = v49.escalationChannelActionCenter.extend({
|
|
23776
|
-
recipients:
|
|
23777
|
-
|
|
23778
|
-
|
|
23779
|
-
|
|
23780
|
-
|
|
23781
|
-
|
|
23782
|
-
folderPath: exports_external.string().optional(),
|
|
23783
|
-
assetName: exports_external.string()
|
|
23784
|
-
}),
|
|
23785
|
-
exports_external.object({ type: exports_external.literal(RECIPIENT_TYPE3.STATIC_GROUP_NAME), value: exports_external.string() }),
|
|
23786
|
-
exports_external.object({
|
|
23787
|
-
type: exports_external.literal(RECIPIENT_TYPE3.ASSET_GROUP_NAME),
|
|
23788
|
-
folderPath: exports_external.string().optional(),
|
|
23789
|
-
assetName: exports_external.string()
|
|
23790
|
-
}),
|
|
23791
|
-
exports_external.object({ type: exports_external.literal(RECIPIENT_TYPE3.ARGUMENT_USER_EMAIL), argumentName: exports_external.string() }),
|
|
23792
|
-
exports_external.object({ type: exports_external.literal(RECIPIENT_TYPE3.ARGUMENT_GROUP_NAME), argumentName: exports_external.string() })
|
|
23793
|
-
]))
|
|
23862
|
+
recipients: escalationRecipientsV50,
|
|
23863
|
+
argumentProperties: v49.tool.options[1].shape.argumentProperties
|
|
23864
|
+
});
|
|
23865
|
+
escalationChannelActionCenterQuickFormSchemaV50 = escalationChannelActionCenterSchemaV50.omit({ inputSchemaDotnetTypeMapping: true, outputSchemaDotnetTypeMapping: true }).extend({
|
|
23866
|
+
type: exports_external.literal("actionCenterQuickForm"),
|
|
23867
|
+
properties: channelQuickFormPropertiesV50
|
|
23794
23868
|
});
|
|
23795
23869
|
escalationStorageSchemaV50 = v49.escalation.extend({
|
|
23796
|
-
channels: exports_external.array(exports_external.discriminatedUnion("type", [
|
|
23870
|
+
channels: exports_external.array(exports_external.discriminatedUnion("type", [
|
|
23871
|
+
escalationChannelActionCenterSchemaV50,
|
|
23872
|
+
escalationChannelActionCenterQuickFormSchemaV50
|
|
23873
|
+
]))
|
|
23797
23874
|
});
|
|
23798
23875
|
baseLowCodeSettingsSchema = v49.lowCodeAgent.shape.settings;
|
|
23799
23876
|
_v49ProcessToolSchema = v49.tool.options[1];
|
|
23800
23877
|
flowToolStorageSchemaV50 = v49.processOrchestrationTool.extend({
|
|
23801
23878
|
type: exports_external.literal("flow")
|
|
23802
23879
|
});
|
|
23880
|
+
functionToolStorageSchemaV50 = _v49ProcessToolSchema.extend({
|
|
23881
|
+
type: exports_external.literal("function")
|
|
23882
|
+
});
|
|
23803
23883
|
voiceSettingsExtension = {
|
|
23804
23884
|
voice: exports_external.object({
|
|
23805
23885
|
model: exports_external.string(),
|
|
@@ -23814,6 +23894,14 @@ var init_dist2 = __esm(() => {
|
|
|
23814
23894
|
standardLowCodeAgentSettingsV50,
|
|
23815
23895
|
advancedLowCodeAgentSettingsV50
|
|
23816
23896
|
]);
|
|
23897
|
+
agent365ValuesSchemaV50 = exports_external.object({
|
|
23898
|
+
[Agent365Attributes.Registered]: exports_external.boolean(),
|
|
23899
|
+
[Agent365Attributes.BlueprintId]: exports_external.string(),
|
|
23900
|
+
[Agent365Attributes.AgentInstanceId]: exports_external.string(),
|
|
23901
|
+
[Agent365Attributes.EntraTenantId]: exports_external.guid(),
|
|
23902
|
+
[Agent365Attributes.AgentUserId]: exports_external.string(),
|
|
23903
|
+
[Agent365Attributes.AgentUserEmail]: exports_external.email()
|
|
23904
|
+
}).partial();
|
|
23817
23905
|
lowCodeAgentSchemaV50 = v49.lowCodeAgent.extend({
|
|
23818
23906
|
metadata: v49.lowCodeAgent.shape.metadata.extend({
|
|
23819
23907
|
storageVersion: exports_external.literal(version25),
|
|
@@ -23822,7 +23910,7 @@ var init_dist2 = __esm(() => {
|
|
|
23822
23910
|
settings: lowCodeAgentSettingsV50,
|
|
23823
23911
|
id: exports_external.string().optional(),
|
|
23824
23912
|
name: exports_external.string().optional()
|
|
23825
|
-
});
|
|
23913
|
+
}).extend(agent365ValuesSchemaV50.shape);
|
|
23826
23914
|
codedAgentSchemaV50 = v49.codedAgent.extend({
|
|
23827
23915
|
metadata: v49.codedAgent.shape.metadata.extend({
|
|
23828
23916
|
storageVersion: exports_external.literal(version25)
|
|
@@ -23853,7 +23941,8 @@ var init_dist2 = __esm(() => {
|
|
|
23853
23941
|
toolStorageSchemaV50 = exports_external.discriminatedUnion("type", [
|
|
23854
23942
|
...v49.tool.options,
|
|
23855
23943
|
clientSideToolStorageSchemaV50,
|
|
23856
|
-
flowToolStorageSchemaV50
|
|
23944
|
+
flowToolStorageSchemaV50,
|
|
23945
|
+
functionToolStorageSchemaV50
|
|
23857
23946
|
]);
|
|
23858
23947
|
discoveryModeSchemaV50 = exports_external.discriminatedUnion("type", [
|
|
23859
23948
|
exports_external.object({ type: exports_external.literal("cached") }),
|
|
@@ -35776,7 +35865,7 @@ var init_chunk_4JNYQN2C = __esm(() => {
|
|
|
35776
35865
|
RESOURCE_DESIGN_ONLY_FIELDS = ["iconUrl", "originalName", "location"];
|
|
35777
35866
|
});
|
|
35778
35867
|
|
|
35779
|
-
// ../../node_modules/@uipath/tool-agent/dist/chunk-
|
|
35868
|
+
// ../../node_modules/@uipath/tool-agent/dist/chunk-UWHPEJIJ.js
|
|
35780
35869
|
function isAssetRecipientType(type) {
|
|
35781
35870
|
return ASSET_RECIPIENT_TYPES.has(type);
|
|
35782
35871
|
}
|
|
@@ -35982,6 +36071,8 @@ function resolveToolBindingsFromRegistry(tool, registry3) {
|
|
|
35982
36071
|
return registry3.processOrchestration?.(tool);
|
|
35983
36072
|
case "flow":
|
|
35984
36073
|
return registry3.flow?.(tool);
|
|
36074
|
+
case "function":
|
|
36075
|
+
return registry3.function?.(tool);
|
|
35985
36076
|
case "integration":
|
|
35986
36077
|
return registry3.integration?.(tool);
|
|
35987
36078
|
case "ixp":
|
|
@@ -36040,9 +36131,11 @@ function generateEscalationBindings(escalation) {
|
|
|
36040
36131
|
}
|
|
36041
36132
|
} else {
|
|
36042
36133
|
for (const channel of escalation.channels ?? []) {
|
|
36043
|
-
|
|
36044
|
-
|
|
36045
|
-
|
|
36134
|
+
if (channel.type === "actionCenter") {
|
|
36135
|
+
const appName = channel.properties?.appName;
|
|
36136
|
+
if (appName) {
|
|
36137
|
+
bindings.push(createAppBinding(appName, channel.properties?.folderName));
|
|
36138
|
+
}
|
|
36046
36139
|
}
|
|
36047
36140
|
for (const recipient of channel.recipients ?? []) {
|
|
36048
36141
|
if (isAssetRecipientType(recipient.type) && "assetName" in recipient && recipient.assetName) {
|
|
@@ -36124,7 +36217,7 @@ function generateBindings(agent, resources, features) {
|
|
|
36124
36217
|
};
|
|
36125
36218
|
}
|
|
36126
36219
|
var BindingsConstants, ASSET_RECIPIENT_TYPES, SOLUTION_FOLDER_SENTINEL = "solution_folder", DEFAULT_TOOL_BINDING_HANDLER_REGISTRY, DEFAULT_RESOURCE_BINDING_HANDLER_REGISTRY;
|
|
36127
|
-
var
|
|
36220
|
+
var init_chunk_UWHPEJIJ = __esm(() => {
|
|
36128
36221
|
BindingsConstants = {
|
|
36129
36222
|
ProcessResource: "process",
|
|
36130
36223
|
ConnectionResource: "connection",
|
|
@@ -36166,6 +36259,7 @@ var init_chunk_XB3E4BGG = __esm(() => {
|
|
|
36166
36259
|
BindingsMetadataApiWorkflowSubType: "api",
|
|
36167
36260
|
BindingsMetadataAgenticProcessSubType: "processOrchestration",
|
|
36168
36261
|
BindingsMetadataFlowSubType: "flow",
|
|
36262
|
+
BindingsMetadataFunctionSubType: "function",
|
|
36169
36263
|
BindingsMetadataVersion: "2.2",
|
|
36170
36264
|
BindingsMetadataTrue: "true"
|
|
36171
36265
|
};
|
|
@@ -36176,6 +36270,7 @@ var init_chunk_XB3E4BGG = __esm(() => {
|
|
|
36176
36270
|
api: (tool) => createProcessToolBinding(tool, BindingsConstants.BindingsMetadataApiWorkflowSubType),
|
|
36177
36271
|
processOrchestration: (tool) => createProcessToolBinding(tool, BindingsConstants.BindingsMetadataAgenticProcessSubType),
|
|
36178
36272
|
flow: (tool) => createProcessToolBinding(tool, BindingsConstants.BindingsMetadataFlowSubType),
|
|
36273
|
+
function: (tool) => createProcessToolBinding(tool, BindingsConstants.BindingsMetadataFunctionSubType),
|
|
36179
36274
|
integration: createIntegrationToolBindings,
|
|
36180
36275
|
ixp: createIxpToolBindings
|
|
36181
36276
|
};
|
|
@@ -36188,7 +36283,7 @@ var init_chunk_XB3E4BGG = __esm(() => {
|
|
|
36188
36283
|
};
|
|
36189
36284
|
});
|
|
36190
36285
|
|
|
36191
|
-
// ../../node_modules/@uipath/tool-agent/dist/chunk-
|
|
36286
|
+
// ../../node_modules/@uipath/tool-agent/dist/chunk-3HY5RPCP.js
|
|
36192
36287
|
function compilePolicy(policy) {
|
|
36193
36288
|
return {
|
|
36194
36289
|
contentDirectory: policy.contentDirectory,
|
|
@@ -36346,9 +36441,9 @@ var entryPointSchema, entryPointsFileSchema, packOptionsSchema, codedConfigSchem
|
|
|
36346
36441
|
]);
|
|
36347
36442
|
}
|
|
36348
36443
|
}, AgentToolError, AgentBuildError, AgentPackError, AgentTool;
|
|
36349
|
-
var
|
|
36444
|
+
var init_chunk_3HY5RPCP = __esm(() => {
|
|
36350
36445
|
init_chunk_4JNYQN2C();
|
|
36351
|
-
|
|
36446
|
+
init_chunk_UWHPEJIJ();
|
|
36352
36447
|
init_dist();
|
|
36353
36448
|
init_dist();
|
|
36354
36449
|
init_v42();
|
|
@@ -36484,21 +36579,21 @@ var init_chunk_6YYPJAXQ = __esm(() => {
|
|
|
36484
36579
|
};
|
|
36485
36580
|
});
|
|
36486
36581
|
|
|
36487
|
-
// ../../node_modules/@uipath/tool-agent/dist/agent-tool-
|
|
36488
|
-
var
|
|
36489
|
-
__export(
|
|
36582
|
+
// ../../node_modules/@uipath/tool-agent/dist/agent-tool-VS6C4IZC.js
|
|
36583
|
+
var exports_agent_tool_VS6C4IZC = {};
|
|
36584
|
+
__export(exports_agent_tool_VS6C4IZC, {
|
|
36490
36585
|
AgentTool: () => AgentTool
|
|
36491
36586
|
});
|
|
36492
|
-
var
|
|
36493
|
-
|
|
36587
|
+
var init_agent_tool_VS6C4IZC = __esm(() => {
|
|
36588
|
+
init_chunk_3HY5RPCP();
|
|
36494
36589
|
init_chunk_4JNYQN2C();
|
|
36495
|
-
|
|
36590
|
+
init_chunk_UWHPEJIJ();
|
|
36496
36591
|
});
|
|
36497
36592
|
|
|
36498
36593
|
// ../../node_modules/@uipath/tool-agent/dist/index.js
|
|
36499
|
-
|
|
36594
|
+
init_chunk_3HY5RPCP();
|
|
36500
36595
|
init_chunk_4JNYQN2C();
|
|
36501
|
-
|
|
36596
|
+
init_chunk_UWHPEJIJ();
|
|
36502
36597
|
init_dist();
|
|
36503
36598
|
init_dist();
|
|
36504
36599
|
var AgentToolFactory = class {
|
|
@@ -36506,7 +36601,7 @@ var AgentToolFactory = class {
|
|
|
36506
36601
|
this.supportedTypes = [ProjectTypes.Agent];
|
|
36507
36602
|
}
|
|
36508
36603
|
async createAsync(logger, fileSystem) {
|
|
36509
|
-
const { AgentTool: AgentTool2 } = await Promise.resolve().then(() => (
|
|
36604
|
+
const { AgentTool: AgentTool2 } = await Promise.resolve().then(() => (init_agent_tool_VS6C4IZC(), exports_agent_tool_VS6C4IZC));
|
|
36510
36605
|
return new AgentTool2(fileSystem, logger);
|
|
36511
36606
|
}
|
|
36512
36607
|
};
|