@uipath/agenthub-tool 1.202.0-preview.134 → 1.202.0-preview.136

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.
@@ -2393,7 +2393,7 @@ import {
2393
2393
  resolveFolder,
2394
2394
  resolveRelease,
2395
2395
  uploadJobAttachment
2396
- } from "./tool-g8db97kd.js";
2396
+ } from "./tool-6ng40zzs.js";
2397
2397
  import"./tool-ayyhwvs8.js";
2398
2398
  import"./tool-1de529jm.js";
2399
2399
  export {
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env bun
2
2
  import {
3
3
  createStandaloneProgram
4
- } from "./tool-5qpewrn5.js";
5
- import"./tool-g8db97kd.js";
4
+ } from "./tool-csy1rqva.js";
5
+ import"./tool-6ng40zzs.js";
6
6
  import"./tool-ayyhwvs8.js";
7
7
  import"./tool-1de529jm.js";
8
8
 
@@ -1334,16 +1334,21 @@ function requireLoader() {
1334
1334
  state.result += _result;
1335
1335
  }
1336
1336
  }
1337
+ function chargeMergeWork(state) {
1338
+ state.totalMergeKeys++;
1339
+ if (state.maxTotalMergeKeys !== -1 && state.totalMergeKeys > state.maxTotalMergeKeys) {
1340
+ throwError(state, "merge keys exceeded maxTotalMergeKeys (" + state.maxTotalMergeKeys + ")");
1341
+ }
1342
+ }
1337
1343
  function mergeMappings(state, destination, source, overridableKeys) {
1338
1344
  if (!common2.isObject(source)) {
1339
1345
  throwError(state, "cannot merge mappings; the provided source object is unacceptable");
1340
1346
  }
1347
+ chargeMergeWork(state);
1341
1348
  const sourceKeys = Object.keys(source);
1342
1349
  for (let index = 0, quantity = sourceKeys.length;index < quantity; index += 1) {
1343
1350
  const key = sourceKeys[index];
1344
- if (state.maxTotalMergeKeys !== -1 && ++state.totalMergeKeys > state.maxTotalMergeKeys) {
1345
- throwError(state, "merge keys exceeded maxTotalMergeKeys (" + state.maxTotalMergeKeys + ")");
1346
- }
1351
+ chargeMergeWork(state);
1347
1352
  if (!_hasOwnProperty.call(destination, key)) {
1348
1353
  setProperty(destination, key, source[key]);
1349
1354
  overridableKeys[key] = true;
@@ -1371,6 +1376,9 @@ function requireLoader() {
1371
1376
  }
1372
1377
  if (keyTag === "tag:yaml.org,2002:merge") {
1373
1378
  if (Array.isArray(valueNode)) {
1379
+ if (valueNode.length > 100) {
1380
+ throwError(state, "abnormal merge sequence size");
1381
+ }
1374
1382
  for (let index = 0, quantity = valueNode.length;index < quantity; index += 1) {
1375
1383
  mergeMappings(state, _result, valueNode[index], overridableKeys);
1376
1384
  }
@@ -3142,4 +3150,4 @@ export {
3142
3150
  types
3143
3151
  };
3144
3152
 
3145
- //# debugId=3FF8535573D0966A64756E2164756E21
3153
+ //# debugId=9FA8E718B2F80BEA64756E2164756E21
@@ -37851,7 +37851,7 @@ var jmespathSlot = singleton("JmespathCodec");
37851
37851
  async function loadOutputCodecsAsync(needed) {
37852
37852
  const loads = [];
37853
37853
  if (needed.yaml && yamlSlot.get() === undefined) {
37854
- loads.push(import("./js-yaml-b2jq67kn.js").then((mod) => {
37854
+ loads.push(import("./js-yaml-88tdqrtd.js").then((mod) => {
37855
37855
  yamlSlot.set(mod);
37856
37856
  }));
37857
37857
  }
@@ -20,7 +20,7 @@ import {
20
20
  requireConfirmation,
21
21
  resolveDeprecatedOptionAlias,
22
22
  warnDeprecatedOptionAlias
23
- } from "./tool-g8db97kd.js";
23
+ } from "./tool-6ng40zzs.js";
24
24
  import {
25
25
  __require
26
26
  } from "./tool-1de529jm.js";
@@ -28,7 +28,7 @@ import {
28
28
  var package_default = {
29
29
  name: "@uipath/agenthub-tool",
30
30
  license: "MIT",
31
- version: "1.202.0-preview.134",
31
+ version: "1.202.0-preview.136",
32
32
  description: "Manage UiPath AgentHub MCP server registrations, tools, and remote A2A agents.",
33
33
  private: false,
34
34
  repository: {
@@ -4248,7 +4248,7 @@ var templateFor = (type) => {
4248
4248
  }
4249
4249
  };
4250
4250
  var fetchServersAcrossFolders = async (options) => {
4251
- const { FoldersApi: FoldersApi2, createOrchestratorConfig: createOrchestratorConfig2 } = await import("./index-4zd19mze.js");
4251
+ const { FoldersApi: FoldersApi2, createOrchestratorConfig: createOrchestratorConfig2 } = await import("./index-dd3vp1he.js");
4252
4252
  const orchestratorConfig = await createOrchestratorConfig2({
4253
4253
  tenant: options.tenant,
4254
4254
  loginValidity: options.loginValidity
@@ -7175,4 +7175,4 @@ var createStandaloneProgram = async () => {
7175
7175
 
7176
7176
  export { metadata, registerCommands, createStandaloneProgram };
7177
7177
 
7178
- //# debugId=47F2FB9579FD258764756E2164756E21
7178
+ //# debugId=1C48A2CE363B8FDD64756E2164756E21
package/dist/tool.js CHANGED
@@ -2,8 +2,8 @@ import {
2
2
  createStandaloneProgram,
3
3
  metadata,
4
4
  registerCommands
5
- } from "./tool-5qpewrn5.js";
6
- import"./tool-g8db97kd.js";
5
+ } from "./tool-csy1rqva.js";
6
+ import"./tool-6ng40zzs.js";
7
7
  import"./tool-ayyhwvs8.js";
8
8
  import"./tool-1de529jm.js";
9
9
  export {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@uipath/agenthub-tool",
3
3
  "license": "MIT",
4
- "version": "1.202.0-preview.134",
4
+ "version": "1.202.0-preview.136",
5
5
  "description": "Manage UiPath AgentHub MCP server registrations, tools, and remote A2A agents.",
6
6
  "private": false,
7
7
  "repository": {
@@ -26,5 +26,5 @@
26
26
  "files": [
27
27
  "dist"
28
28
  ],
29
- "gitHead": "a335728adbdb02f28308e4f55d8936d0b150444b"
29
+ "gitHead": "f6270de2c7c04f4c43b2f5187b0c3d3c314c2610"
30
30
  }