@uipath/agent-tool 1.198.0 → 1.199.0-preview.104

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/packager-tool.js +43 -13
  2. package/dist/tool.js +81143 -12053
  3. package/package.json +2 -2
@@ -823,10 +823,12 @@ class ToolResult {
823
823
  message;
824
824
  packages;
825
825
  details;
826
- constructor(errorCode, message, packages = []) {
826
+ instructions;
827
+ constructor(errorCode, message, packages = [], instructions) {
827
828
  this.errorCode = errorCode;
828
829
  this.message = message;
829
830
  this.packages = packages;
831
+ this.instructions = instructions;
830
832
  }
831
833
  get isSuccess() {
832
834
  return this.errorCode === "SUCCESS";
@@ -834,8 +836,8 @@ class ToolResult {
834
836
  static success() {
835
837
  return new ToolResult("SUCCESS");
836
838
  }
837
- static error(errorCode, message) {
838
- return new ToolResult(errorCode, message);
839
+ static error(errorCode, message, instructions) {
840
+ return new ToolResult(errorCode, message, [], instructions);
839
841
  }
840
842
  }
841
843
  function escapeXml(str) {
@@ -15149,7 +15151,7 @@ var import_semver, createStorageSchema = (factory) => {
15149
15151
  defaultStorageContents: args.defaultStorageContents,
15150
15152
  apply
15151
15153
  };
15152
- }, 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, textParamValueSchema, enumParamValueSchema, textListParamValueSchema, 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) => {
15154
+ }, 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, textParamValueSchema, enumParamValueSchema, textListParamValueSchema, booleanParamValueSchema, 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) => {
15153
15155
  const firstOption = options[0];
15154
15156
  return value ? options.find((option) => option === value) ?? firstOption : firstOption;
15155
15157
  }, 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) => {
@@ -15176,7 +15178,7 @@ var import_semver, createStorageSchema = (factory) => {
15176
15178
  }, 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) => ({
15177
15179
  ...context,
15178
15180
  contextType: context.contextType ?? (context.attachments ? "attachments" : "index")
15179
- }), 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 = {}) => {
15181
+ }), v48, migrationV48, version24 = "49.0.0", lowCodeAgentSchemaV49, codedAgentSchemaV49, agentStorageSchemaV49, storageSchemaV49, v49, migrationV49, version25 = "50.0.0", LATEST_AGENT_VERSION = "1.2.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, dataFabricOntologyContextSchemaV50, contextStorageSchemaV50, resourceStorageSchemaV50, resourcesFolderSchemaV50, storageSchemaV50, v50, migrationV50, migrations, currentStorageSchemaMigration, currentStorageSchema, currentAgentStorageSchema, currentResourceStorageSchema, currentFeatureStorageSchema, currentEvaluationSetStorageSchema, currentCodedAgentStorageSchema, currentFlowLayoutStorageSchema, applyMigrations = async (migrations2, data, currentVersion9, options = {}) => {
15180
15182
  const parsedCurrentVersion = import_semver.coerce(currentVersion9);
15181
15183
  if (!parsedCurrentVersion) {
15182
15184
  throw new Error(`Invalid current version: ${currentVersion9}`);
@@ -16787,13 +16789,19 @@ var init_dist2 = __esm(() => {
16787
16789
  id: exports_external.string().nonempty(),
16788
16790
  value: exports_external.array(exports_external.string())
16789
16791
  });
16792
+ booleanParamValueSchema = exports_external.object({
16793
+ $parameterType: exports_external.literal("boolean"),
16794
+ id: exports_external.string().nonempty(),
16795
+ value: exports_external.boolean()
16796
+ });
16790
16797
  validatorRuleParameterSchema = exports_external.discriminatedUnion("$parameterType", [
16791
16798
  enumListParamValueSchema,
16792
16799
  mapEnumParamValueSchema,
16793
16800
  numberParamValueSchema,
16794
16801
  textParamValueSchema,
16795
16802
  enumParamValueSchema,
16796
- textListParamValueSchema
16803
+ textListParamValueSchema,
16804
+ booleanParamValueSchema
16797
16805
  ]);
16798
16806
  validatorRuleSchema = exports_external.object({
16799
16807
  $ruleType: exports_external.literal("validator"),
@@ -19971,7 +19979,9 @@ var init_dist2 = __esm(() => {
19971
19979
  builtInValidatorGuardrailSchemaV23 = baseGuardrailSchema.extend({
19972
19980
  $guardrailType: exports_external.literal("builtInValidator"),
19973
19981
  validatorType: exports_external.string().nonempty(),
19974
- validatorParameters: exports_external.array(v22.guardrailValidatorParameter).default([])
19982
+ validatorParameters: exports_external.array(v22.guardrailValidatorParameter).default([]),
19983
+ byoValidatorName: exports_external.string().optional(),
19984
+ byoConnectionId: exports_external.string().optional()
19975
19985
  });
19976
19986
  guardrailSchemaV23 = exports_external.discriminatedUnion("$guardrailType", [
19977
19987
  customGuardrailSchemaV23,
@@ -23817,7 +23827,10 @@ var init_dist2 = __esm(() => {
23817
23827
  STATIC_GROUP_NAME: 5,
23818
23828
  ASSET_GROUP_NAME: 6,
23819
23829
  ARGUMENT_USER_EMAIL: 7,
23820
- ARGUMENT_GROUP_NAME: 8
23830
+ ARGUMENT_GROUP_NAME: 8,
23831
+ WORKLOAD: 9,
23832
+ ROUND_ROBIN: 10,
23833
+ CUSTOM_ASSIGNEES: 11
23821
23834
  };
23822
23835
  escalationRecipientsV50 = exports_external.array(exports_external.discriminatedUnion("type", [
23823
23836
  exports_external.object({ type: exports_external.literal(RECIPIENT_TYPE3.USER_ID), value: exports_external.string(), displayName: exports_external.string() }),
@@ -23835,7 +23848,14 @@ var init_dist2 = __esm(() => {
23835
23848
  assetName: exports_external.string()
23836
23849
  }),
23837
23850
  exports_external.object({ type: exports_external.literal(RECIPIENT_TYPE3.ARGUMENT_USER_EMAIL), argumentName: exports_external.string() }),
23838
- exports_external.object({ type: exports_external.literal(RECIPIENT_TYPE3.ARGUMENT_GROUP_NAME), argumentName: exports_external.string() })
23851
+ exports_external.object({ type: exports_external.literal(RECIPIENT_TYPE3.ARGUMENT_GROUP_NAME), argumentName: exports_external.string() }),
23852
+ exports_external.object({ type: exports_external.literal(RECIPIENT_TYPE3.WORKLOAD), value: exports_external.string(), displayName: exports_external.string() }),
23853
+ exports_external.object({ type: exports_external.literal(RECIPIENT_TYPE3.ROUND_ROBIN), value: exports_external.string(), displayName: exports_external.string() }),
23854
+ exports_external.object({
23855
+ type: exports_external.literal(RECIPIENT_TYPE3.CUSTOM_ASSIGNEES),
23856
+ value: exports_external.string(),
23857
+ displayName: exports_external.string().optional()
23858
+ })
23839
23859
  ]));
23840
23860
  hitlSchemaFieldRuleV50 = exports_external.looseObject({
23841
23861
  id: exports_external.string().optional(),
@@ -23967,15 +23987,24 @@ var init_dist2 = __esm(() => {
23967
23987
  functionToolStorageSchemaV50
23968
23988
  ]);
23969
23989
  discoveryModeSchemaV50 = exports_external.discriminatedUnion("type", [
23970
- exports_external.object({ type: exports_external.literal("cached") }),
23990
+ exports_external.object({ type: exports_external.literal("cached"), refreshSchemaBeforeCall: exports_external.boolean().default(true) }),
23971
23991
  exports_external.object({ type: exports_external.literal("dynamic"), allowAll: exports_external.boolean() })
23972
23992
  ]);
23973
23993
  mcpToolStorageSchemaV50 = v49.mcp.omit({ dynamicTools: true }).extend({
23974
- toolsConfiguration: exports_external.object({ discoveryMode: discoveryModeSchemaV50 }).default({ discoveryMode: { type: "cached" } })
23994
+ toolsConfiguration: exports_external.object({ discoveryMode: discoveryModeSchemaV50 }).default({ discoveryMode: { type: "cached", refreshSchemaBeforeCall: true } })
23975
23995
  });
23996
+ dataFabricOntologyContextSchemaV50 = v49.context.options[1].omit({ contextType: true, entitySet: true }).extend({
23997
+ contextType: exports_external.literal("datafabricontology"),
23998
+ ontologySet: exports_external.array(exports_external.looseObject({}))
23999
+ });
24000
+ contextStorageSchemaV50 = exports_external.discriminatedUnion("contextType", [
24001
+ v49.context.options[0],
24002
+ v49.context.options[1],
24003
+ dataFabricOntologyContextSchemaV50
24004
+ ]);
23976
24005
  resourceStorageSchemaV50 = exports_external.union([
23977
24006
  toolStorageSchemaV50,
23978
- v49.context,
24007
+ contextStorageSchemaV50,
23979
24008
  escalationStorageSchemaV50,
23980
24009
  mcpToolStorageSchemaV50,
23981
24010
  v49.a2a
@@ -24031,6 +24060,7 @@ var init_dist2 = __esm(() => {
24031
24060
  ...migrationV49.defaultStorageContents.files[0],
24032
24061
  content: {
24033
24062
  ...migrationV49.defaultStorageContents.files[0].content,
24063
+ version: LATEST_AGENT_VERSION,
24034
24064
  metadata: {
24035
24065
  ...migrationV49.defaultStorageContents.files[0].content.metadata,
24036
24066
  storageVersion: version25
@@ -36640,4 +36670,4 @@ function registerAgentToolFactory() {
36640
36670
  // src/packager-tool.ts
36641
36671
  registerAgentToolFactory();
36642
36672
 
36643
- //# debugId=1DF975D63F42ACBC64756E2164756E21
36673
+ //# debugId=E399DA7709161BBF64756E2164756E21