@easynet/agent-tool 1.0.75 → 1.0.76
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/README.md +17 -11
- package/dist/api/adapters/LangChainToolsHub.d.ts +1 -1
- package/dist/api/createAgentTools.d.ts +55 -14
- package/dist/api/createAgentTools.d.ts.map +1 -1
- package/dist/api/expose/index.d.ts +1 -1
- package/dist/api/main.cjs +22 -22
- package/dist/api/main.d.ts +14 -12
- package/dist/api/main.d.ts.map +1 -1
- package/dist/api/main.js +2 -2
- package/dist/api/runtimeFromConfig.d.ts +1 -1
- package/dist/api/runtimeFromConfig.d.ts.map +1 -1
- package/dist/{chunk-MBCFJBZY.js → chunk-BMAYX22K.js} +2 -2
- package/dist/chunk-BMAYX22K.js.map +1 -0
- package/dist/{chunk-PYTHEY6A.cjs → chunk-CEVOKZFT.cjs} +4 -4
- package/dist/chunk-CEVOKZFT.cjs.map +1 -0
- package/dist/{chunk-SR53PQTG.cjs → chunk-EZDDKTCF.cjs} +53 -77
- package/dist/chunk-EZDDKTCF.cjs.map +1 -0
- package/dist/{chunk-XS26ZNYC.js → chunk-LUKSY7VK.js} +38 -63
- package/dist/chunk-LUKSY7VK.js.map +1 -0
- package/dist/index.cjs +21 -21
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/tools/util/toolConfig.d.ts +2 -2
- package/dist/tools/util/toolConfig.d.ts.map +1 -1
- package/dist/utils/cli/index.cjs +12 -12
- package/dist/utils/cli/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-MBCFJBZY.js.map +0 -1
- package/dist/chunk-PYTHEY6A.cjs.map +0 -1
- package/dist/chunk-SR53PQTG.cjs.map +0 -1
- package/dist/chunk-XS26ZNYC.js.map +0 -1
|
@@ -1753,7 +1753,7 @@ function buildInputSchemaHint(inputSchema) {
|
|
|
1753
1753
|
if (names.length === 0) return null;
|
|
1754
1754
|
return `This tool expects input property ${names.length === 1 ? `'${names[0]}'` : `one of [${names.map((n) => `'${n}'`).join(", ")}]`}. Use the exact property names from the tool schema.`;
|
|
1755
1755
|
}
|
|
1756
|
-
var requireFromPackage = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-
|
|
1756
|
+
var requireFromPackage = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-CEVOKZFT.cjs', document.baseURI).href)));
|
|
1757
1757
|
function getProjectRequire() {
|
|
1758
1758
|
const cwd = process.cwd();
|
|
1759
1759
|
if (fs.existsSync(path.join(cwd, "package.json"))) return module$1.createRequire(path.join(cwd, "package.json"));
|
|
@@ -1919,7 +1919,7 @@ function parseNpmDescriptor(entry) {
|
|
|
1919
1919
|
}
|
|
1920
1920
|
|
|
1921
1921
|
// src/api/runtimeFromConfig.ts
|
|
1922
|
-
var requireFromPackage2 = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-
|
|
1922
|
+
var requireFromPackage2 = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-CEVOKZFT.cjs', document.baseURI).href)));
|
|
1923
1923
|
var DEFAULT_EXTENSION_PACKAGES = [];
|
|
1924
1924
|
function resolveFileDescriptorPath(descriptor, configFilePath) {
|
|
1925
1925
|
const parsed = parseToolPath(descriptor.trim());
|
|
@@ -2763,5 +2763,5 @@ exports.npmDescriptorToPackagePrefixWithVersion = npmDescriptorToPackagePrefixWi
|
|
|
2763
2763
|
exports.resolveSandboxedPath = resolveSandboxedPath;
|
|
2764
2764
|
exports.resolveToolDescriptor = resolveToolDescriptor;
|
|
2765
2765
|
exports.runMCPServerOverStdio = runMCPServerOverStdio;
|
|
2766
|
-
//# sourceMappingURL=chunk-
|
|
2767
|
-
//# sourceMappingURL=chunk-
|
|
2766
|
+
//# sourceMappingURL=chunk-CEVOKZFT.cjs.map
|
|
2767
|
+
//# sourceMappingURL=chunk-CEVOKZFT.cjs.map
|