@easynet/agent-tool 1.0.25 → 1.0.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/dist/api/extension/generateExtensionManifest.d.ts +5 -0
  2. package/dist/api/extension/generateExtensionManifest.d.ts.map +1 -1
  3. package/dist/api/extension/index.d.ts +1 -1
  4. package/dist/api/extension/index.d.ts.map +1 -1
  5. package/dist/api/main.cjs +14 -14
  6. package/dist/api/main.js +3 -3
  7. package/dist/api/runtimeFromConfig.d.ts +4 -2
  8. package/dist/api/runtimeFromConfig.d.ts.map +1 -1
  9. package/dist/{chunk-AO2RY5AI.js → chunk-7J2DRVCV.js} +3 -3
  10. package/dist/{chunk-AO2RY5AI.js.map → chunk-7J2DRVCV.js.map} +1 -1
  11. package/dist/{chunk-NA2YBWZJ.cjs → chunk-EJSCDVKD.cjs} +14 -14
  12. package/dist/{chunk-NA2YBWZJ.cjs.map → chunk-EJSCDVKD.cjs.map} +1 -1
  13. package/dist/{chunk-B5CAENK6.cjs → chunk-ETZKGTTF.cjs} +7 -7
  14. package/dist/{chunk-B5CAENK6.cjs.map → chunk-ETZKGTTF.cjs.map} +1 -1
  15. package/dist/{chunk-JEP26OIY.js → chunk-GYUELFVR.js} +3 -3
  16. package/dist/{chunk-JEP26OIY.js.map → chunk-GYUELFVR.js.map} +1 -1
  17. package/dist/{chunk-AOEZBP6L.cjs → chunk-PKUSCCS6.cjs} +70 -12
  18. package/dist/chunk-PKUSCCS6.cjs.map +1 -0
  19. package/dist/{chunk-SO32CIHJ.js → chunk-UUQGKFSG.js} +69 -11
  20. package/dist/chunk-UUQGKFSG.js.map +1 -0
  21. package/dist/{chunk-P5YQNWQT.js → chunk-XRCHMWOC.js} +3 -3
  22. package/dist/{chunk-P5YQNWQT.js.map → chunk-XRCHMWOC.js.map} +1 -1
  23. package/dist/{chunk-5CDN24FP.cjs → chunk-ZOQWKN2O.cjs} +9 -9
  24. package/dist/{chunk-5CDN24FP.cjs.map → chunk-ZOQWKN2O.cjs.map} +1 -1
  25. package/dist/index.cjs +58 -49
  26. package/dist/index.cjs.map +1 -1
  27. package/dist/index.d.ts +1 -1
  28. package/dist/index.d.ts.map +1 -1
  29. package/dist/index.js +14 -6
  30. package/dist/index.js.map +1 -1
  31. package/dist/utils/cli/index.cjs +20 -18
  32. package/dist/utils/cli/index.cjs.map +1 -1
  33. package/dist/utils/cli/index.d.ts.map +1 -1
  34. package/dist/utils/cli/index.js +6 -4
  35. package/dist/utils/cli/index.js.map +1 -1
  36. package/package.json +1 -1
  37. package/dist/chunk-AOEZBP6L.cjs.map +0 -1
  38. package/dist/chunk-SO32CIHJ.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkAOEZBP6L_cjs = require('./chunk-AOEZBP6L.cjs');
3
+ var chunkPKUSCCS6_cjs = require('./chunk-PKUSCCS6.cjs');
4
4
  var chunkDYDNPIV2_cjs = require('./chunk-DYDNPIV2.cjs');
5
5
  var fs3 = require('fs/promises');
6
6
  var path9 = require('path');
@@ -970,7 +970,7 @@ async function scan4(projectPath, options = {}) {
970
970
  });
971
971
  return { specs: [], errors };
972
972
  }
973
- const filtered = specs.filter((s) => s.kind === chunkAOEZBP6L_cjs.MCP_KIND);
973
+ const filtered = specs.filter((s) => s.kind === chunkPKUSCCS6_cjs.MCP_KIND);
974
974
  return { specs: filtered, errors };
975
975
  }
976
976
  async function scan5(projectPath, options = {}) {
@@ -996,7 +996,7 @@ async function scan5(projectPath, options = {}) {
996
996
  });
997
997
  return { specs: [], errors };
998
998
  }
999
- const filtered = specs.filter((s) => s.kind === chunkAOEZBP6L_cjs.LANGCHAIN_KIND);
999
+ const filtered = specs.filter((s) => s.kind === chunkPKUSCCS6_cjs.LANGCHAIN_KIND);
1000
1000
  return { specs: filtered, errors };
1001
1001
  }
1002
1002
  async function loadLangChainTool(dirPath, manifest, extensions) {
@@ -1413,7 +1413,7 @@ var DirectoryScanner = class {
1413
1413
  false,
1414
1414
  namespace,
1415
1415
  this.extensions,
1416
- chunkAOEZBP6L_cjs.LANGCHAIN_DIR_NAME,
1416
+ chunkPKUSCCS6_cjs.LANGCHAIN_DIR_NAME,
1417
1417
  (loaded3, nameHint, dp, ns) => this.toToolSpec(loaded3, nameHint, dp, ns),
1418
1418
  this.onError
1419
1419
  );
@@ -1449,7 +1449,7 @@ var DirectoryScanner = class {
1449
1449
  true,
1450
1450
  namespace,
1451
1451
  this.extensions,
1452
- chunkAOEZBP6L_cjs.LANGCHAIN_DIR_NAME,
1452
+ chunkPKUSCCS6_cjs.LANGCHAIN_DIR_NAME,
1453
1453
  (loaded2, nameHint, dp, ns) => this.toToolSpec(loaded2, nameHint, dp, ns),
1454
1454
  this.onError
1455
1455
  );
@@ -1468,7 +1468,7 @@ var DirectoryScanner = class {
1468
1468
  for (const m of DIRECTORY_KIND_MARKERS) {
1469
1469
  if (await this.fileExists(path9.join(dirPath, m.markerFile))) kinds.push(m.kind);
1470
1470
  }
1471
- const isLangchainDir = dirName === chunkAOEZBP6L_cjs.LANGCHAIN_DIR_NAME;
1471
+ const isLangchainDir = dirName === chunkPKUSCCS6_cjs.LANGCHAIN_DIR_NAME;
1472
1472
  const hasLangchain = isLangchainDir ? (await listLangchainEntryFiles(dirPath, this.extensions)).length > 0 : dirName !== SKILL_DIR_NAME && await this.hasEntryPoint(dirPath, "index");
1473
1473
  if (hasLangchain) kinds.push("langchain");
1474
1474
  if (kinds.length === 0) return null;
@@ -1607,7 +1607,7 @@ async function scanForAllTools(projectPath, options = {}) {
1607
1607
  const warnings = results.flatMap((r) => r.warnings ?? []);
1608
1608
  return { specs, errors, warnings };
1609
1609
  }
1610
- var __dirname$1 = path9__namespace.dirname(url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-5CDN24FP.cjs', document.baseURI).href))));
1610
+ var __dirname$1 = path9__namespace.dirname(url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-ZOQWKN2O.cjs', document.baseURI).href))));
1611
1611
  async function loadTemplate(name) {
1612
1612
  for (const dir of [
1613
1613
  path9__namespace.join(__dirname$1, "templates"),
@@ -1821,5 +1821,5 @@ exports.scan = scan;
1821
1821
  exports.scanForTools = scanForTools;
1822
1822
  exports.scanSkillResources = scanSkillResources;
1823
1823
  exports.validateFrontmatter = validateFrontmatter;
1824
- //# sourceMappingURL=chunk-5CDN24FP.cjs.map
1825
- //# sourceMappingURL=chunk-5CDN24FP.cjs.map
1824
+ //# sourceMappingURL=chunk-ZOQWKN2O.cjs.map
1825
+ //# sourceMappingURL=chunk-ZOQWKN2O.cjs.map