@easynet/agent-tool 1.0.42 → 1.0.44

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.
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkPAXUM4QS_cjs = require('./chunk-PAXUM4QS.cjs');
3
+ var chunkTRTPE426_cjs = require('./chunk-TRTPE426.cjs');
4
4
  var chunkDYDNPIV2_cjs = require('./chunk-DYDNPIV2.cjs');
5
5
  var fs3 = require('fs/promises');
6
6
  var path9 = require('path');
@@ -1017,7 +1017,7 @@ async function scan4(projectPath, options = {}) {
1017
1017
  });
1018
1018
  return { specs: [], errors };
1019
1019
  }
1020
- const filtered = specs.filter((s) => s.kind === chunkPAXUM4QS_cjs.MCP_KIND);
1020
+ const filtered = specs.filter((s) => s.kind === chunkTRTPE426_cjs.MCP_KIND);
1021
1021
  return { specs: filtered, errors };
1022
1022
  }
1023
1023
  async function scan5(projectPath, options = {}) {
@@ -1043,7 +1043,7 @@ async function scan5(projectPath, options = {}) {
1043
1043
  });
1044
1044
  return { specs: [], errors };
1045
1045
  }
1046
- const filtered = specs.filter((s) => s.kind === chunkPAXUM4QS_cjs.LANGCHAIN_KIND);
1046
+ const filtered = specs.filter((s) => s.kind === chunkTRTPE426_cjs.LANGCHAIN_KIND);
1047
1047
  return { specs: filtered, errors };
1048
1048
  }
1049
1049
  async function loadLangChainTool(dirPath, manifest, extensions) {
@@ -1460,7 +1460,7 @@ var DirectoryScanner = class {
1460
1460
  false,
1461
1461
  namespace,
1462
1462
  this.extensions,
1463
- chunkPAXUM4QS_cjs.LANGCHAIN_DIR_NAME,
1463
+ chunkTRTPE426_cjs.LANGCHAIN_DIR_NAME,
1464
1464
  (loaded3, nameHint, dp, ns) => this.toToolSpec(loaded3, nameHint, dp, ns),
1465
1465
  this.onError
1466
1466
  );
@@ -1496,7 +1496,7 @@ var DirectoryScanner = class {
1496
1496
  true,
1497
1497
  namespace,
1498
1498
  this.extensions,
1499
- chunkPAXUM4QS_cjs.LANGCHAIN_DIR_NAME,
1499
+ chunkTRTPE426_cjs.LANGCHAIN_DIR_NAME,
1500
1500
  (loaded2, nameHint, dp, ns) => this.toToolSpec(loaded2, nameHint, dp, ns),
1501
1501
  this.onError
1502
1502
  );
@@ -1515,7 +1515,7 @@ var DirectoryScanner = class {
1515
1515
  for (const m of DIRECTORY_KIND_MARKERS) {
1516
1516
  if (await this.fileExists(path9.join(dirPath, m.markerFile))) kinds.push(m.kind);
1517
1517
  }
1518
- const isLangchainDir = dirName === chunkPAXUM4QS_cjs.LANGCHAIN_DIR_NAME;
1518
+ const isLangchainDir = dirName === chunkTRTPE426_cjs.LANGCHAIN_DIR_NAME;
1519
1519
  const hasLangchain = isLangchainDir ? (await listLangchainEntryFiles(dirPath, this.extensions)).length > 0 : dirName !== SKILL_DIR_NAME && await this.hasEntryPoint(dirPath, "index");
1520
1520
  if (hasLangchain) kinds.push("langchain");
1521
1521
  if (kinds.length === 0) return null;
@@ -1654,7 +1654,7 @@ async function scanForAllTools(projectPath, options = {}) {
1654
1654
  const warnings = results.flatMap((r) => r.warnings ?? []);
1655
1655
  return { specs, errors, warnings };
1656
1656
  }
1657
- 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-LO5Y3D4O.cjs', document.baseURI).href))));
1657
+ 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-N4PVR66J.cjs', document.baseURI).href))));
1658
1658
  async function loadTemplate(name) {
1659
1659
  for (const dir of [
1660
1660
  path9__namespace.join(__dirname$1, "templates"),
@@ -1868,5 +1868,5 @@ exports.scan = scan;
1868
1868
  exports.scanForTools = scanForTools;
1869
1869
  exports.scanSkillResources = scanSkillResources;
1870
1870
  exports.validateFrontmatter = validateFrontmatter;
1871
- //# sourceMappingURL=chunk-LO5Y3D4O.cjs.map
1872
- //# sourceMappingURL=chunk-LO5Y3D4O.cjs.map
1871
+ //# sourceMappingURL=chunk-N4PVR66J.cjs.map
1872
+ //# sourceMappingURL=chunk-N4PVR66J.cjs.map