@uipath/agent-tool 1.195.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 +2 -0
- package/dist/packager-tool.js +194 -68
- package/dist/tool.js +43320 -39133
- package/package.json +2 -27
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
|
package/dist/packager-tool.js
CHANGED
|
@@ -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
|
|
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
|
-
|
|
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
|
|
755
|
+
const _pathToCleanup = this._tempFolderPath;
|
|
756
756
|
await this.fileSystem.rm(this._tempFolderPath);
|
|
757
757
|
this._tempFolderPath = null;
|
|
758
758
|
} catch {}
|
|
@@ -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);
|
|
@@ -15142,10 +15145,10 @@ var import_semver, createStorageSchema = (factory) => {
|
|
|
15142
15145
|
defaultStorageContents: args.defaultStorageContents,
|
|
15143
15146
|
apply
|
|
15144
15147
|
};
|
|
15145
|
-
}, 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) => {
|
|
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({
|
|
@@ -16764,10 +16768,28 @@ var init_dist2 = __esm(() => {
|
|
|
16764
16768
|
id: exports_external.string().nonempty(),
|
|
16765
16769
|
value: exports_external.number()
|
|
16766
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
|
+
});
|
|
16767
16786
|
validatorRuleParameterSchema = exports_external.discriminatedUnion("$parameterType", [
|
|
16768
16787
|
enumListParamValueSchema,
|
|
16769
16788
|
mapEnumParamValueSchema,
|
|
16770
|
-
numberParamValueSchema
|
|
16789
|
+
numberParamValueSchema,
|
|
16790
|
+
textParamValueSchema,
|
|
16791
|
+
enumParamValueSchema,
|
|
16792
|
+
textListParamValueSchema
|
|
16771
16793
|
]);
|
|
16772
16794
|
validatorRuleSchema = exports_external.object({
|
|
16773
16795
|
$ruleType: exports_external.literal("validator"),
|
|
@@ -17875,7 +17897,14 @@ var init_dist2 = __esm(() => {
|
|
|
17875
17897
|
conversationalExpectedOutput: exports_external.object({
|
|
17876
17898
|
agentResponse: evalConversationalOutputAgentMessageSequenceSchemaV1
|
|
17877
17899
|
}).optional(),
|
|
17878
|
-
source: exports_external.enum([
|
|
17900
|
+
source: exports_external.enum([
|
|
17901
|
+
"debugRun",
|
|
17902
|
+
"manual",
|
|
17903
|
+
"runtimeRun",
|
|
17904
|
+
"simulatedRun",
|
|
17905
|
+
"autopilotUserInitiated",
|
|
17906
|
+
"firstSuccessfulRun"
|
|
17907
|
+
]).optional()
|
|
17879
17908
|
});
|
|
17880
17909
|
evalSetSchemaV11 = evalSetSchemaV10.extend({
|
|
17881
17910
|
evaluations: exports_external.array(evaluationSchemaV8)
|
|
@@ -20768,7 +20797,6 @@ var init_dist2 = __esm(() => {
|
|
|
20768
20797
|
contentToken: v28.contentToken,
|
|
20769
20798
|
message: v28.message,
|
|
20770
20799
|
context: v28.context,
|
|
20771
|
-
escalationChannelActionCenter: v28.escalationChannelActionCenter,
|
|
20772
20800
|
escalation: v28.escalation,
|
|
20773
20801
|
resource: v28.resource,
|
|
20774
20802
|
feature: featureStorageSchemaV29,
|
|
@@ -20909,7 +20937,6 @@ var init_dist2 = __esm(() => {
|
|
|
20909
20937
|
contentToken: v29.contentToken,
|
|
20910
20938
|
message: v29.message,
|
|
20911
20939
|
context: v29.context,
|
|
20912
|
-
escalationChannelActionCenter: v29.escalationChannelActionCenter,
|
|
20913
20940
|
escalation: v29.escalation,
|
|
20914
20941
|
resource: v29.resource,
|
|
20915
20942
|
feature: v29.feature,
|
|
@@ -21049,7 +21076,6 @@ var init_dist2 = __esm(() => {
|
|
|
21049
21076
|
contentToken: v30.contentToken,
|
|
21050
21077
|
message: v30.message,
|
|
21051
21078
|
context: v30.context,
|
|
21052
|
-
escalationChannelActionCenter: v30.escalationChannelActionCenter,
|
|
21053
21079
|
escalation: v30.escalation,
|
|
21054
21080
|
resource: v30.resource,
|
|
21055
21081
|
feature: v30.feature,
|
|
@@ -21170,7 +21196,6 @@ var init_dist2 = __esm(() => {
|
|
|
21170
21196
|
contentToken: v31.contentToken,
|
|
21171
21197
|
message: v31.message,
|
|
21172
21198
|
context: contextStorageSchemaV32,
|
|
21173
|
-
escalationChannelActionCenter: v31.escalationChannelActionCenter,
|
|
21174
21199
|
escalation: v31.escalation,
|
|
21175
21200
|
resource: resourceStorageSchemaV32,
|
|
21176
21201
|
feature: v31.feature,
|
|
@@ -21251,9 +21276,19 @@ var init_dist2 = __esm(() => {
|
|
|
21251
21276
|
variant: exports_external.literal("textBuilder"),
|
|
21252
21277
|
tokens: exports_external.array(v32.contentToken),
|
|
21253
21278
|
isSensitive: exports_external.boolean().default(false)
|
|
21279
|
+
}),
|
|
21280
|
+
exports_external.object({
|
|
21281
|
+
variant: exports_external.literal("arrayBuilder")
|
|
21254
21282
|
})
|
|
21255
21283
|
]);
|
|
21256
21284
|
argumentPropertiesSchema = exports_external.record(exports_external.string(), argumentPropertiesConfigSchema);
|
|
21285
|
+
actionCenterSchemaV32 = v32.escalation.shape.channels.element.options[0];
|
|
21286
|
+
escalationChannelActionCenterSchemaV33 = actionCenterSchemaV32.extend({
|
|
21287
|
+
argumentProperties: argumentPropertiesSchema.default({})
|
|
21288
|
+
});
|
|
21289
|
+
escalationStorageSchemaV33 = v32.escalation.extend({
|
|
21290
|
+
channels: exports_external.array(exports_external.discriminatedUnion("type", [escalationChannelActionCenterSchemaV33]))
|
|
21291
|
+
});
|
|
21257
21292
|
integrationToolStorageSchemaV33 = v32.tool.options[0].extend({
|
|
21258
21293
|
properties: v32.tool.options[0].shape.properties.extend({
|
|
21259
21294
|
requireConversationalConfirmation: exports_external.boolean().optional()
|
|
@@ -21314,7 +21349,7 @@ var init_dist2 = __esm(() => {
|
|
|
21314
21349
|
resourceStorageSchemaV33 = exports_external.union([
|
|
21315
21350
|
toolStorageSchemaV33,
|
|
21316
21351
|
v32.context,
|
|
21317
|
-
|
|
21352
|
+
escalationStorageSchemaV33,
|
|
21318
21353
|
mcpToolStorageSchemaV33
|
|
21319
21354
|
]);
|
|
21320
21355
|
resourcesFolderSchemaV33 = exports_external.object({
|
|
@@ -21359,8 +21394,8 @@ var init_dist2 = __esm(() => {
|
|
|
21359
21394
|
contentToken: v32.contentToken,
|
|
21360
21395
|
message: v32.message,
|
|
21361
21396
|
context: v32.context,
|
|
21362
|
-
escalationChannelActionCenter:
|
|
21363
|
-
escalation:
|
|
21397
|
+
escalationChannelActionCenter: escalationChannelActionCenterSchemaV33,
|
|
21398
|
+
escalation: escalationStorageSchemaV33,
|
|
21364
21399
|
resource: resourceStorageSchemaV33,
|
|
21365
21400
|
feature: v32.feature,
|
|
21366
21401
|
evalSet: v32.evalSet,
|
|
@@ -21528,7 +21563,7 @@ var init_dist2 = __esm(() => {
|
|
|
21528
21563
|
flowLayoutSchemaV35 = exports_external.object({
|
|
21529
21564
|
agentPosition: nodePositionSchemaV35,
|
|
21530
21565
|
resourceNodes: exports_external.array(resourceNodeSchemaV35).optional(),
|
|
21531
|
-
zoom: exports_external.number().optional()
|
|
21566
|
+
zoom: exports_external.number().optional().catch(1)
|
|
21532
21567
|
});
|
|
21533
21568
|
lowCodeAgentSchemaV35 = v34.lowCodeAgent.extend({
|
|
21534
21569
|
metadata: v34.lowCodeAgent.shape.metadata.extend({
|
|
@@ -22576,7 +22611,7 @@ var init_dist2 = __esm(() => {
|
|
|
22576
22611
|
agentPosition: nodePositionSchemaV41,
|
|
22577
22612
|
resourceNodes: exports_external.array(resourceNodeSchemaV41).optional(),
|
|
22578
22613
|
stickyNoteNodes: exports_external.array(stickyNoteNodeSchemaV41).optional(),
|
|
22579
|
-
zoom: exports_external.number().optional()
|
|
22614
|
+
zoom: exports_external.number().optional().catch(1)
|
|
22580
22615
|
});
|
|
22581
22616
|
lowCodeAgentSchemaV41 = v40.lowCodeAgent.extend({
|
|
22582
22617
|
metadata: v40.lowCodeAgent.shape.metadata.extend({
|
|
@@ -23762,6 +23797,14 @@ var init_dist2 = __esm(() => {
|
|
|
23762
23797
|
};
|
|
23763
23798
|
}
|
|
23764
23799
|
});
|
|
23800
|
+
Agent365Attributes = {
|
|
23801
|
+
Registered: `${AGENT365_GOVERNANCE_PROVIDER_NAMESPACE}.registered`,
|
|
23802
|
+
BlueprintId: `${AGENT365_GOVERNANCE_PROVIDER_NAMESPACE}.blueprint.id`,
|
|
23803
|
+
AgentInstanceId: `${AGENT365_GOVERNANCE_PROVIDER_NAMESPACE}.agent.instance.id`,
|
|
23804
|
+
EntraTenantId: `${AGENT365_GOVERNANCE_PROVIDER_NAMESPACE}.entra.tenant.id`,
|
|
23805
|
+
AgentUserId: `${AGENT365_GOVERNANCE_PROVIDER_NAMESPACE}.agent.user.id`,
|
|
23806
|
+
AgentUserEmail: `${AGENT365_GOVERNANCE_PROVIDER_NAMESPACE}.agent.user.email`
|
|
23807
|
+
};
|
|
23765
23808
|
RECIPIENT_TYPE3 = {
|
|
23766
23809
|
USER_ID: 1,
|
|
23767
23810
|
GROUP_ID: 2,
|
|
@@ -23772,34 +23815,89 @@ var init_dist2 = __esm(() => {
|
|
|
23772
23815
|
ARGUMENT_USER_EMAIL: 7,
|
|
23773
23816
|
ARGUMENT_GROUP_NAME: 8
|
|
23774
23817
|
};
|
|
23818
|
+
escalationRecipientsV50 = exports_external.array(exports_external.discriminatedUnion("type", [
|
|
23819
|
+
exports_external.object({ type: exports_external.literal(RECIPIENT_TYPE3.USER_ID), value: exports_external.string(), displayName: exports_external.string() }),
|
|
23820
|
+
exports_external.object({ type: exports_external.literal(RECIPIENT_TYPE3.GROUP_ID), value: exports_external.string(), displayName: exports_external.string() }),
|
|
23821
|
+
exports_external.object({ type: exports_external.literal(RECIPIENT_TYPE3.STATIC_USER_EMAIL), value: exports_external.string() }),
|
|
23822
|
+
exports_external.object({
|
|
23823
|
+
type: exports_external.literal(RECIPIENT_TYPE3.ASSET_USER_EMAIL),
|
|
23824
|
+
folderPath: exports_external.string().optional(),
|
|
23825
|
+
assetName: exports_external.string()
|
|
23826
|
+
}),
|
|
23827
|
+
exports_external.object({ type: exports_external.literal(RECIPIENT_TYPE3.STATIC_GROUP_NAME), value: exports_external.string() }),
|
|
23828
|
+
exports_external.object({
|
|
23829
|
+
type: exports_external.literal(RECIPIENT_TYPE3.ASSET_GROUP_NAME),
|
|
23830
|
+
folderPath: exports_external.string().optional(),
|
|
23831
|
+
assetName: exports_external.string()
|
|
23832
|
+
}),
|
|
23833
|
+
exports_external.object({ type: exports_external.literal(RECIPIENT_TYPE3.ARGUMENT_USER_EMAIL), argumentName: exports_external.string() }),
|
|
23834
|
+
exports_external.object({ type: exports_external.literal(RECIPIENT_TYPE3.ARGUMENT_GROUP_NAME), argumentName: exports_external.string() })
|
|
23835
|
+
]));
|
|
23836
|
+
hitlSchemaFieldRuleV50 = exports_external.looseObject({
|
|
23837
|
+
id: exports_external.string().optional(),
|
|
23838
|
+
conditions: exports_external.array(exports_external.looseObject({ when: exports_external.string().optional() })).optional(),
|
|
23839
|
+
operator: exports_external.string().optional(),
|
|
23840
|
+
effects: exports_external.record(exports_external.string(), exports_external.unknown()).optional()
|
|
23841
|
+
});
|
|
23842
|
+
hitlSchemaFieldV50 = exports_external.looseObject({
|
|
23843
|
+
id: exports_external.string().optional(),
|
|
23844
|
+
type: exports_external.string().optional(),
|
|
23845
|
+
label: exports_external.string().optional(),
|
|
23846
|
+
direction: exports_external.string().optional(),
|
|
23847
|
+
required: exports_external.boolean().optional(),
|
|
23848
|
+
variable: exports_external.string().optional(),
|
|
23849
|
+
binding: exports_external.string().optional(),
|
|
23850
|
+
rules: exports_external.array(hitlSchemaFieldRuleV50).optional(),
|
|
23851
|
+
requiredMessage: exports_external.string().optional()
|
|
23852
|
+
});
|
|
23853
|
+
hitlSchemaOutcomeV50 = exports_external.looseObject({
|
|
23854
|
+
id: exports_external.string().optional(),
|
|
23855
|
+
name: exports_external.string().optional(),
|
|
23856
|
+
type: exports_external.string().optional(),
|
|
23857
|
+
action: exports_external.string().optional(),
|
|
23858
|
+
isPrimary: exports_external.boolean().optional(),
|
|
23859
|
+
outcomeType: exports_external.string().optional()
|
|
23860
|
+
});
|
|
23861
|
+
hitlSchemaV50 = exports_external.looseObject({
|
|
23862
|
+
type: exports_external.string().optional(),
|
|
23863
|
+
schemaId: exports_external.string().optional(),
|
|
23864
|
+
_contentHash: exports_external.string().optional(),
|
|
23865
|
+
docVersion: exports_external.string().optional(),
|
|
23866
|
+
nodeId: exports_external.string().optional(),
|
|
23867
|
+
title: exports_external.string().optional(),
|
|
23868
|
+
description: exports_external.string().optional(),
|
|
23869
|
+
theme: exports_external.string().optional(),
|
|
23870
|
+
fields: exports_external.array(hitlSchemaFieldV50).optional(),
|
|
23871
|
+
outcomes: exports_external.array(hitlSchemaOutcomeV50).optional()
|
|
23872
|
+
});
|
|
23873
|
+
actionableMessageMetaDataV50 = v49.escalationChannelActionCenter.shape.properties.shape.actionableMessageMetaData;
|
|
23874
|
+
channelQuickFormPropertiesV50 = exports_external.object({
|
|
23875
|
+
schema: hitlSchemaV50,
|
|
23876
|
+
isActionableMessageEnabled: exports_external.boolean().default(false),
|
|
23877
|
+
actionableMessageMetaData: actionableMessageMetaDataV50
|
|
23878
|
+
});
|
|
23775
23879
|
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
|
-
]))
|
|
23880
|
+
recipients: escalationRecipientsV50,
|
|
23881
|
+
argumentProperties: v49.tool.options[1].shape.argumentProperties
|
|
23882
|
+
});
|
|
23883
|
+
escalationChannelActionCenterQuickFormSchemaV50 = escalationChannelActionCenterSchemaV50.omit({ inputSchemaDotnetTypeMapping: true, outputSchemaDotnetTypeMapping: true }).extend({
|
|
23884
|
+
type: exports_external.literal("actionCenterQuickForm"),
|
|
23885
|
+
properties: channelQuickFormPropertiesV50
|
|
23794
23886
|
});
|
|
23795
23887
|
escalationStorageSchemaV50 = v49.escalation.extend({
|
|
23796
|
-
channels: exports_external.array(exports_external.discriminatedUnion("type", [
|
|
23888
|
+
channels: exports_external.array(exports_external.discriminatedUnion("type", [
|
|
23889
|
+
escalationChannelActionCenterSchemaV50,
|
|
23890
|
+
escalationChannelActionCenterQuickFormSchemaV50
|
|
23891
|
+
]))
|
|
23797
23892
|
});
|
|
23798
23893
|
baseLowCodeSettingsSchema = v49.lowCodeAgent.shape.settings;
|
|
23799
23894
|
_v49ProcessToolSchema = v49.tool.options[1];
|
|
23800
23895
|
flowToolStorageSchemaV50 = v49.processOrchestrationTool.extend({
|
|
23801
23896
|
type: exports_external.literal("flow")
|
|
23802
23897
|
});
|
|
23898
|
+
functionToolStorageSchemaV50 = _v49ProcessToolSchema.extend({
|
|
23899
|
+
type: exports_external.literal("function")
|
|
23900
|
+
});
|
|
23803
23901
|
voiceSettingsExtension = {
|
|
23804
23902
|
voice: exports_external.object({
|
|
23805
23903
|
model: exports_external.string(),
|
|
@@ -23814,6 +23912,14 @@ var init_dist2 = __esm(() => {
|
|
|
23814
23912
|
standardLowCodeAgentSettingsV50,
|
|
23815
23913
|
advancedLowCodeAgentSettingsV50
|
|
23816
23914
|
]);
|
|
23915
|
+
agent365ValuesSchemaV50 = exports_external.object({
|
|
23916
|
+
[Agent365Attributes.Registered]: exports_external.boolean(),
|
|
23917
|
+
[Agent365Attributes.BlueprintId]: exports_external.string(),
|
|
23918
|
+
[Agent365Attributes.AgentInstanceId]: exports_external.string(),
|
|
23919
|
+
[Agent365Attributes.EntraTenantId]: exports_external.guid(),
|
|
23920
|
+
[Agent365Attributes.AgentUserId]: exports_external.string(),
|
|
23921
|
+
[Agent365Attributes.AgentUserEmail]: exports_external.email()
|
|
23922
|
+
}).partial();
|
|
23817
23923
|
lowCodeAgentSchemaV50 = v49.lowCodeAgent.extend({
|
|
23818
23924
|
metadata: v49.lowCodeAgent.shape.metadata.extend({
|
|
23819
23925
|
storageVersion: exports_external.literal(version25),
|
|
@@ -23822,7 +23928,7 @@ var init_dist2 = __esm(() => {
|
|
|
23822
23928
|
settings: lowCodeAgentSettingsV50,
|
|
23823
23929
|
id: exports_external.string().optional(),
|
|
23824
23930
|
name: exports_external.string().optional()
|
|
23825
|
-
});
|
|
23931
|
+
}).extend(agent365ValuesSchemaV50.shape);
|
|
23826
23932
|
codedAgentSchemaV50 = v49.codedAgent.extend({
|
|
23827
23933
|
metadata: v49.codedAgent.shape.metadata.extend({
|
|
23828
23934
|
storageVersion: exports_external.literal(version25)
|
|
@@ -23853,7 +23959,8 @@ var init_dist2 = __esm(() => {
|
|
|
23853
23959
|
toolStorageSchemaV50 = exports_external.discriminatedUnion("type", [
|
|
23854
23960
|
...v49.tool.options,
|
|
23855
23961
|
clientSideToolStorageSchemaV50,
|
|
23856
|
-
flowToolStorageSchemaV50
|
|
23962
|
+
flowToolStorageSchemaV50,
|
|
23963
|
+
functionToolStorageSchemaV50
|
|
23857
23964
|
]);
|
|
23858
23965
|
discoveryModeSchemaV50 = exports_external.discriminatedUnion("type", [
|
|
23859
23966
|
exports_external.object({ type: exports_external.literal("cached") }),
|
|
@@ -35403,7 +35510,7 @@ var init_v42 = __esm(() => {
|
|
|
35403
35510
|
init_classic2();
|
|
35404
35511
|
});
|
|
35405
35512
|
|
|
35406
|
-
// ../../node_modules/@uipath/tool-agent/dist/chunk-
|
|
35513
|
+
// ../../node_modules/@uipath/tool-agent/dist/chunk-XNTAT66P.js
|
|
35407
35514
|
function serializeJson(value) {
|
|
35408
35515
|
return JSON.stringify(value, (_key, val) => val === undefined || val === null ? undefined : val, 2);
|
|
35409
35516
|
}
|
|
@@ -35592,8 +35699,7 @@ function stripResourceDesignFields(data) {
|
|
|
35592
35699
|
}
|
|
35593
35700
|
function buildAgentUnifiedModel(agent, resources, features, options) {
|
|
35594
35701
|
if (agent.type === "lowCode") {
|
|
35595
|
-
|
|
35596
|
-
agent.id = options.projectStorageId;
|
|
35702
|
+
agent.id = agent.id || agent.projectId || options?.projectStorageId;
|
|
35597
35703
|
if (options?.projectName)
|
|
35598
35704
|
agent.name = options.projectName;
|
|
35599
35705
|
}
|
|
@@ -35623,9 +35729,13 @@ function createOperateAgent(agent, resources, projectStorageId) {
|
|
|
35623
35729
|
const isConversational = isAgentsDefinition ? agent.metadata.isConversational ?? false : false;
|
|
35624
35730
|
const targetRuntime = isAgentsDefinition && agent.metadata.targetRuntime === "pythonAgent" ? "pythonAgent" : undefined;
|
|
35625
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
|
+
}
|
|
35626
35736
|
return {
|
|
35627
35737
|
$schema: SchemaConstants.OperateSchema,
|
|
35628
|
-
projectId
|
|
35738
|
+
projectId,
|
|
35629
35739
|
main: PackageDescriptorConstants.AgentFilePath,
|
|
35630
35740
|
targetFramework: "Portable",
|
|
35631
35741
|
runtimeOptions: {
|
|
@@ -35639,9 +35749,10 @@ function createOperateAgent(agent, resources, projectStorageId) {
|
|
|
35639
35749
|
};
|
|
35640
35750
|
}
|
|
35641
35751
|
function createOperatePython(projectStorageId, codedConfig, firstEntryPoint) {
|
|
35752
|
+
const id = codedConfig.id?.trim();
|
|
35642
35753
|
return {
|
|
35643
35754
|
$schema: SchemaConstants.OperateSchema,
|
|
35644
|
-
projectId: projectStorageId,
|
|
35755
|
+
projectId: id && exports_external2.uuid().safeParse(id).success ? id : projectStorageId,
|
|
35645
35756
|
main: firstEntryPoint.filePath,
|
|
35646
35757
|
targetFramework: "Portable",
|
|
35647
35758
|
runtimeOptions: {
|
|
@@ -35718,13 +35829,14 @@ var import_semver2, FileConstants, AgentProjectConstants, CodedProjectConstants,
|
|
|
35718
35829
|
};
|
|
35719
35830
|
}
|
|
35720
35831
|
}, defaultStorageSchemaTranslator, PackageConstants, PackageDescriptorConstants, SchemaConstants, RESOURCE_DESIGN_ONLY_FIELDS;
|
|
35721
|
-
var
|
|
35832
|
+
var init_chunk_XNTAT66P = __esm(() => {
|
|
35722
35833
|
init_dist();
|
|
35723
35834
|
init_dist();
|
|
35724
35835
|
init_dist2();
|
|
35725
35836
|
init_dist();
|
|
35726
35837
|
init_v42();
|
|
35727
35838
|
init_dist2();
|
|
35839
|
+
init_v42();
|
|
35728
35840
|
import_semver2 = __toESM(require_semver2(), 1);
|
|
35729
35841
|
FileConstants = {
|
|
35730
35842
|
AgentFileName: "agent.json",
|
|
@@ -35776,7 +35888,7 @@ var init_chunk_4JNYQN2C = __esm(() => {
|
|
|
35776
35888
|
RESOURCE_DESIGN_ONLY_FIELDS = ["iconUrl", "originalName", "location"];
|
|
35777
35889
|
});
|
|
35778
35890
|
|
|
35779
|
-
// ../../node_modules/@uipath/tool-agent/dist/chunk-
|
|
35891
|
+
// ../../node_modules/@uipath/tool-agent/dist/chunk-UWHPEJIJ.js
|
|
35780
35892
|
function isAssetRecipientType(type) {
|
|
35781
35893
|
return ASSET_RECIPIENT_TYPES.has(type);
|
|
35782
35894
|
}
|
|
@@ -35982,6 +36094,8 @@ function resolveToolBindingsFromRegistry(tool, registry3) {
|
|
|
35982
36094
|
return registry3.processOrchestration?.(tool);
|
|
35983
36095
|
case "flow":
|
|
35984
36096
|
return registry3.flow?.(tool);
|
|
36097
|
+
case "function":
|
|
36098
|
+
return registry3.function?.(tool);
|
|
35985
36099
|
case "integration":
|
|
35986
36100
|
return registry3.integration?.(tool);
|
|
35987
36101
|
case "ixp":
|
|
@@ -36040,9 +36154,11 @@ function generateEscalationBindings(escalation) {
|
|
|
36040
36154
|
}
|
|
36041
36155
|
} else {
|
|
36042
36156
|
for (const channel of escalation.channels ?? []) {
|
|
36043
|
-
|
|
36044
|
-
|
|
36045
|
-
|
|
36157
|
+
if (channel.type === "actionCenter") {
|
|
36158
|
+
const appName = channel.properties?.appName;
|
|
36159
|
+
if (appName) {
|
|
36160
|
+
bindings.push(createAppBinding(appName, channel.properties?.folderName));
|
|
36161
|
+
}
|
|
36046
36162
|
}
|
|
36047
36163
|
for (const recipient of channel.recipients ?? []) {
|
|
36048
36164
|
if (isAssetRecipientType(recipient.type) && "assetName" in recipient && recipient.assetName) {
|
|
@@ -36124,7 +36240,7 @@ function generateBindings(agent, resources, features) {
|
|
|
36124
36240
|
};
|
|
36125
36241
|
}
|
|
36126
36242
|
var BindingsConstants, ASSET_RECIPIENT_TYPES, SOLUTION_FOLDER_SENTINEL = "solution_folder", DEFAULT_TOOL_BINDING_HANDLER_REGISTRY, DEFAULT_RESOURCE_BINDING_HANDLER_REGISTRY;
|
|
36127
|
-
var
|
|
36243
|
+
var init_chunk_UWHPEJIJ = __esm(() => {
|
|
36128
36244
|
BindingsConstants = {
|
|
36129
36245
|
ProcessResource: "process",
|
|
36130
36246
|
ConnectionResource: "connection",
|
|
@@ -36166,6 +36282,7 @@ var init_chunk_XB3E4BGG = __esm(() => {
|
|
|
36166
36282
|
BindingsMetadataApiWorkflowSubType: "api",
|
|
36167
36283
|
BindingsMetadataAgenticProcessSubType: "processOrchestration",
|
|
36168
36284
|
BindingsMetadataFlowSubType: "flow",
|
|
36285
|
+
BindingsMetadataFunctionSubType: "function",
|
|
36169
36286
|
BindingsMetadataVersion: "2.2",
|
|
36170
36287
|
BindingsMetadataTrue: "true"
|
|
36171
36288
|
};
|
|
@@ -36176,6 +36293,7 @@ var init_chunk_XB3E4BGG = __esm(() => {
|
|
|
36176
36293
|
api: (tool) => createProcessToolBinding(tool, BindingsConstants.BindingsMetadataApiWorkflowSubType),
|
|
36177
36294
|
processOrchestration: (tool) => createProcessToolBinding(tool, BindingsConstants.BindingsMetadataAgenticProcessSubType),
|
|
36178
36295
|
flow: (tool) => createProcessToolBinding(tool, BindingsConstants.BindingsMetadataFlowSubType),
|
|
36296
|
+
function: (tool) => createProcessToolBinding(tool, BindingsConstants.BindingsMetadataFunctionSubType),
|
|
36179
36297
|
integration: createIntegrationToolBindings,
|
|
36180
36298
|
ixp: createIxpToolBindings
|
|
36181
36299
|
};
|
|
@@ -36188,7 +36306,7 @@ var init_chunk_XB3E4BGG = __esm(() => {
|
|
|
36188
36306
|
};
|
|
36189
36307
|
});
|
|
36190
36308
|
|
|
36191
|
-
// ../../node_modules/@uipath/tool-agent/dist/chunk-
|
|
36309
|
+
// ../../node_modules/@uipath/tool-agent/dist/chunk-GZXKDMY3.js
|
|
36192
36310
|
function compilePolicy(policy) {
|
|
36193
36311
|
return {
|
|
36194
36312
|
contentDirectory: policy.contentDirectory,
|
|
@@ -36346,9 +36464,9 @@ var entryPointSchema, entryPointsFileSchema, packOptionsSchema, codedConfigSchem
|
|
|
36346
36464
|
]);
|
|
36347
36465
|
}
|
|
36348
36466
|
}, AgentToolError, AgentBuildError, AgentPackError, AgentTool;
|
|
36349
|
-
var
|
|
36350
|
-
|
|
36351
|
-
|
|
36467
|
+
var init_chunk_GZXKDMY3 = __esm(() => {
|
|
36468
|
+
init_chunk_XNTAT66P();
|
|
36469
|
+
init_chunk_UWHPEJIJ();
|
|
36352
36470
|
init_dist();
|
|
36353
36471
|
init_dist();
|
|
36354
36472
|
init_v42();
|
|
@@ -36372,6 +36490,7 @@ var init_chunk_6YYPJAXQ = __esm(() => {
|
|
|
36372
36490
|
directoriesExcluded: exports_external2.array(exports_external2.string()).optional()
|
|
36373
36491
|
}).loose();
|
|
36374
36492
|
codedConfigSchema = exports_external2.object({
|
|
36493
|
+
id: exports_external2.string().optional(),
|
|
36375
36494
|
runtimeOptions: exports_external2.object({
|
|
36376
36495
|
isConversational: exports_external2.boolean().optional()
|
|
36377
36496
|
}).optional(),
|
|
@@ -36484,21 +36603,21 @@ var init_chunk_6YYPJAXQ = __esm(() => {
|
|
|
36484
36603
|
};
|
|
36485
36604
|
});
|
|
36486
36605
|
|
|
36487
|
-
// ../../node_modules/@uipath/tool-agent/dist/agent-tool-
|
|
36488
|
-
var
|
|
36489
|
-
__export(
|
|
36606
|
+
// ../../node_modules/@uipath/tool-agent/dist/agent-tool-OK5DK57D.js
|
|
36607
|
+
var exports_agent_tool_OK5DK57D = {};
|
|
36608
|
+
__export(exports_agent_tool_OK5DK57D, {
|
|
36490
36609
|
AgentTool: () => AgentTool
|
|
36491
36610
|
});
|
|
36492
|
-
var
|
|
36493
|
-
|
|
36494
|
-
|
|
36495
|
-
|
|
36611
|
+
var init_agent_tool_OK5DK57D = __esm(() => {
|
|
36612
|
+
init_chunk_GZXKDMY3();
|
|
36613
|
+
init_chunk_XNTAT66P();
|
|
36614
|
+
init_chunk_UWHPEJIJ();
|
|
36496
36615
|
});
|
|
36497
36616
|
|
|
36498
36617
|
// ../../node_modules/@uipath/tool-agent/dist/index.js
|
|
36499
|
-
|
|
36500
|
-
|
|
36501
|
-
|
|
36618
|
+
init_chunk_GZXKDMY3();
|
|
36619
|
+
init_chunk_XNTAT66P();
|
|
36620
|
+
init_chunk_UWHPEJIJ();
|
|
36502
36621
|
init_dist();
|
|
36503
36622
|
init_dist();
|
|
36504
36623
|
var AgentToolFactory = class {
|
|
@@ -36506,8 +36625,15 @@ var AgentToolFactory = class {
|
|
|
36506
36625
|
this.supportedTypes = [ProjectTypes.Agent];
|
|
36507
36626
|
}
|
|
36508
36627
|
async createAsync(logger, fileSystem) {
|
|
36509
|
-
const { AgentTool: AgentTool2 } = await Promise.resolve().then(() => (
|
|
36628
|
+
const { AgentTool: AgentTool2 } = await Promise.resolve().then(() => (init_agent_tool_OK5DK57D(), exports_agent_tool_OK5DK57D));
|
|
36510
36629
|
return new AgentTool2(fileSystem, logger);
|
|
36511
36630
|
}
|
|
36512
36631
|
};
|
|
36513
|
-
|
|
36632
|
+
function registerAgentToolFactory() {
|
|
36633
|
+
toolsFactoryRepository.registerProjectToolFactory(new AgentToolFactory);
|
|
36634
|
+
}
|
|
36635
|
+
|
|
36636
|
+
// src/packager-tool.ts
|
|
36637
|
+
registerAgentToolFactory();
|
|
36638
|
+
|
|
36639
|
+
//# debugId=07113423360581F564756E2164756E21
|