@uipath/agent-tool 1.196.0 → 1.197.0-preview.59

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/index.js CHANGED
@@ -2149,3 +2149,5 @@ var program2 = new Command;
2149
2149
  program2.name(metadata.commandPrefix).description(metadata.description).version(metadata.version);
2150
2150
  await registerCommands(program2);
2151
2151
  await program2.parseAsync(process.argv);
2152
+
2153
+ //# debugId=29F08A61E81A298564756E2164756E21
@@ -125,7 +125,7 @@ function zipSync(data, opts) {
125
125
  wzf(out, o, files.length, cdl, oe);
126
126
  return out;
127
127
  }
128
- var require2, Worker, u8, u16, i32, fleb, fdeb, clim, freb = function(eb, start) {
128
+ var require2, _a, Worker, isMarkedAsUntransferable, u8, u16, i32, fleb, fdeb, clim, freb = function(eb, start) {
129
129
  var b = new u16(31);
130
130
  for (var i = 0;i < 31; ++i) {
131
131
  b[i] = start += 1 << eb[i - 1];
@@ -519,7 +519,7 @@ var require2, Worker, u8, u16, i32, fleb, fdeb, clim, freb = function(eb, start)
519
519
  var val = d[k], n = p + k, op = o;
520
520
  if (Array.isArray(val))
521
521
  op = mrg(o, val[1]), val = val[0];
522
- if (val instanceof u8)
522
+ if (ArrayBuffer.isView(val))
523
523
  t[n] = [val, op];
524
524
  else {
525
525
  t[n += "/"] = [new u8(0), op];
@@ -585,7 +585,7 @@ var require2, Worker, u8, u16, i32, fleb, fdeb, clim, freb = function(eb, start)
585
585
  var init_esm = __esm(() => {
586
586
  require2 = createRequire("/");
587
587
  try {
588
- Worker = require2("worker_threads").Worker;
588
+ _a = require2("worker_threads"), Worker = _a.Worker, isMarkedAsUntransferable = _a.isMarkedAsUntransferable;
589
589
  } catch (e) {}
590
590
  u8 = Uint8Array;
591
591
  u16 = Uint16Array;
@@ -752,7 +752,7 @@ class TemporaryStorageService {
752
752
  } catch {
753
753
  return;
754
754
  }
755
- const pathToCleanup = this._tempFolderPath;
755
+ const _pathToCleanup = this._tempFolderPath;
756
756
  await this.fileSystem.rm(this._tempFolderPath);
757
757
  this._tempFolderPath = null;
758
758
  } catch {}
@@ -15145,7 +15145,7 @@ var import_semver, createStorageSchema = (factory) => {
15145
15145
  defaultStorageContents: args.defaultStorageContents,
15146
15146
  apply
15147
15147
  };
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) => {
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, 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) => {
15149
15149
  const firstOption = options[0];
15150
15150
  return value ? options.find((option) => option === value) ?? firstOption : firstOption;
15151
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) => {
@@ -16768,10 +16768,28 @@ var init_dist2 = __esm(() => {
16768
16768
  id: exports_external.string().nonempty(),
16769
16769
  value: exports_external.number()
16770
16770
  });
16771
+ textParamValueSchema = exports_external.object({
16772
+ $parameterType: exports_external.literal("text"),
16773
+ id: exports_external.string().nonempty(),
16774
+ value: exports_external.string()
16775
+ });
16776
+ enumParamValueSchema = exports_external.object({
16777
+ $parameterType: exports_external.literal("enum"),
16778
+ id: exports_external.string().nonempty(),
16779
+ value: exports_external.string()
16780
+ });
16781
+ textListParamValueSchema = exports_external.object({
16782
+ $parameterType: exports_external.literal("text-list"),
16783
+ id: exports_external.string().nonempty(),
16784
+ value: exports_external.array(exports_external.string())
16785
+ });
16771
16786
  validatorRuleParameterSchema = exports_external.discriminatedUnion("$parameterType", [
16772
16787
  enumListParamValueSchema,
16773
16788
  mapEnumParamValueSchema,
16774
- numberParamValueSchema
16789
+ numberParamValueSchema,
16790
+ textParamValueSchema,
16791
+ enumParamValueSchema,
16792
+ textListParamValueSchema
16775
16793
  ]);
16776
16794
  validatorRuleSchema = exports_external.object({
16777
16795
  $ruleType: exports_external.literal("validator"),
@@ -35492,7 +35510,7 @@ var init_v42 = __esm(() => {
35492
35510
  init_classic2();
35493
35511
  });
35494
35512
 
35495
- // ../../node_modules/@uipath/tool-agent/dist/chunk-4JNYQN2C.js
35513
+ // ../../node_modules/@uipath/tool-agent/dist/chunk-XNTAT66P.js
35496
35514
  function serializeJson(value) {
35497
35515
  return JSON.stringify(value, (_key, val) => val === undefined || val === null ? undefined : val, 2);
35498
35516
  }
@@ -35681,8 +35699,7 @@ function stripResourceDesignFields(data) {
35681
35699
  }
35682
35700
  function buildAgentUnifiedModel(agent, resources, features, options) {
35683
35701
  if (agent.type === "lowCode") {
35684
- if (!agent.id && options?.projectStorageId)
35685
- agent.id = options.projectStorageId;
35702
+ agent.id = agent.id || agent.projectId || options?.projectStorageId;
35686
35703
  if (options?.projectName)
35687
35704
  agent.name = options.projectName;
35688
35705
  }
@@ -35712,9 +35729,13 @@ function createOperateAgent(agent, resources, projectStorageId) {
35712
35729
  const isConversational = isAgentsDefinition ? agent.metadata.isConversational ?? false : false;
35713
35730
  const targetRuntime = isAgentsDefinition && agent.metadata.targetRuntime === "pythonAgent" ? "pythonAgent" : undefined;
35714
35731
  const hasEscalationMemory = resources.some((resource) => resource.$resourceType === "escalation" && resource.isAgentMemoryEnabled === true);
35732
+ let projectId = projectStorageId;
35733
+ if (agent.type === "lowCode") {
35734
+ projectId = agent.id || agent.projectId || projectStorageId;
35735
+ }
35715
35736
  return {
35716
35737
  $schema: SchemaConstants.OperateSchema,
35717
- projectId: projectStorageId,
35738
+ projectId,
35718
35739
  main: PackageDescriptorConstants.AgentFilePath,
35719
35740
  targetFramework: "Portable",
35720
35741
  runtimeOptions: {
@@ -35728,9 +35749,10 @@ function createOperateAgent(agent, resources, projectStorageId) {
35728
35749
  };
35729
35750
  }
35730
35751
  function createOperatePython(projectStorageId, codedConfig, firstEntryPoint) {
35752
+ const id = codedConfig.id?.trim();
35731
35753
  return {
35732
35754
  $schema: SchemaConstants.OperateSchema,
35733
- projectId: projectStorageId,
35755
+ projectId: id && exports_external2.uuid().safeParse(id).success ? id : projectStorageId,
35734
35756
  main: firstEntryPoint.filePath,
35735
35757
  targetFramework: "Portable",
35736
35758
  runtimeOptions: {
@@ -35807,13 +35829,14 @@ var import_semver2, FileConstants, AgentProjectConstants, CodedProjectConstants,
35807
35829
  };
35808
35830
  }
35809
35831
  }, defaultStorageSchemaTranslator, PackageConstants, PackageDescriptorConstants, SchemaConstants, RESOURCE_DESIGN_ONLY_FIELDS;
35810
- var init_chunk_4JNYQN2C = __esm(() => {
35832
+ var init_chunk_XNTAT66P = __esm(() => {
35811
35833
  init_dist();
35812
35834
  init_dist();
35813
35835
  init_dist2();
35814
35836
  init_dist();
35815
35837
  init_v42();
35816
35838
  init_dist2();
35839
+ init_v42();
35817
35840
  import_semver2 = __toESM(require_semver2(), 1);
35818
35841
  FileConstants = {
35819
35842
  AgentFileName: "agent.json",
@@ -36283,7 +36306,7 @@ var init_chunk_UWHPEJIJ = __esm(() => {
36283
36306
  };
36284
36307
  });
36285
36308
 
36286
- // ../../node_modules/@uipath/tool-agent/dist/chunk-3HY5RPCP.js
36309
+ // ../../node_modules/@uipath/tool-agent/dist/chunk-GZXKDMY3.js
36287
36310
  function compilePolicy(policy) {
36288
36311
  return {
36289
36312
  contentDirectory: policy.contentDirectory,
@@ -36441,8 +36464,8 @@ var entryPointSchema, entryPointsFileSchema, packOptionsSchema, codedConfigSchem
36441
36464
  ]);
36442
36465
  }
36443
36466
  }, AgentToolError, AgentBuildError, AgentPackError, AgentTool;
36444
- var init_chunk_3HY5RPCP = __esm(() => {
36445
- init_chunk_4JNYQN2C();
36467
+ var init_chunk_GZXKDMY3 = __esm(() => {
36468
+ init_chunk_XNTAT66P();
36446
36469
  init_chunk_UWHPEJIJ();
36447
36470
  init_dist();
36448
36471
  init_dist();
@@ -36467,6 +36490,7 @@ var init_chunk_3HY5RPCP = __esm(() => {
36467
36490
  directoriesExcluded: exports_external2.array(exports_external2.string()).optional()
36468
36491
  }).loose();
36469
36492
  codedConfigSchema = exports_external2.object({
36493
+ id: exports_external2.string().optional(),
36470
36494
  runtimeOptions: exports_external2.object({
36471
36495
  isConversational: exports_external2.boolean().optional()
36472
36496
  }).optional(),
@@ -36579,20 +36603,20 @@ var init_chunk_3HY5RPCP = __esm(() => {
36579
36603
  };
36580
36604
  });
36581
36605
 
36582
- // ../../node_modules/@uipath/tool-agent/dist/agent-tool-VS6C4IZC.js
36583
- var exports_agent_tool_VS6C4IZC = {};
36584
- __export(exports_agent_tool_VS6C4IZC, {
36606
+ // ../../node_modules/@uipath/tool-agent/dist/agent-tool-OK5DK57D.js
36607
+ var exports_agent_tool_OK5DK57D = {};
36608
+ __export(exports_agent_tool_OK5DK57D, {
36585
36609
  AgentTool: () => AgentTool
36586
36610
  });
36587
- var init_agent_tool_VS6C4IZC = __esm(() => {
36588
- init_chunk_3HY5RPCP();
36589
- init_chunk_4JNYQN2C();
36611
+ var init_agent_tool_OK5DK57D = __esm(() => {
36612
+ init_chunk_GZXKDMY3();
36613
+ init_chunk_XNTAT66P();
36590
36614
  init_chunk_UWHPEJIJ();
36591
36615
  });
36592
36616
 
36593
36617
  // ../../node_modules/@uipath/tool-agent/dist/index.js
36594
- init_chunk_3HY5RPCP();
36595
- init_chunk_4JNYQN2C();
36618
+ init_chunk_GZXKDMY3();
36619
+ init_chunk_XNTAT66P();
36596
36620
  init_chunk_UWHPEJIJ();
36597
36621
  init_dist();
36598
36622
  init_dist();
@@ -36601,8 +36625,15 @@ var AgentToolFactory = class {
36601
36625
  this.supportedTypes = [ProjectTypes.Agent];
36602
36626
  }
36603
36627
  async createAsync(logger, fileSystem) {
36604
- const { AgentTool: AgentTool2 } = await Promise.resolve().then(() => (init_agent_tool_VS6C4IZC(), exports_agent_tool_VS6C4IZC));
36628
+ const { AgentTool: AgentTool2 } = await Promise.resolve().then(() => (init_agent_tool_OK5DK57D(), exports_agent_tool_OK5DK57D));
36605
36629
  return new AgentTool2(fileSystem, logger);
36606
36630
  }
36607
36631
  };
36608
- toolsFactoryRepository.registerProjectToolFactory(new AgentToolFactory);
36632
+ function registerAgentToolFactory() {
36633
+ toolsFactoryRepository.registerProjectToolFactory(new AgentToolFactory);
36634
+ }
36635
+
36636
+ // src/packager-tool.ts
36637
+ registerAgentToolFactory();
36638
+
36639
+ //# debugId=07113423360581F564756E2164756E21