@easynet/agent-tool 1.0.34 → 1.0.35
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/api/adapters/LangChainToolsHub.d.ts.map +1 -1
- package/dist/api/createAgentTools.d.ts.map +1 -1
- package/dist/api/extension/dynamicImportAdapter.d.ts +6 -2
- package/dist/api/extension/dynamicImportAdapter.d.ts.map +1 -1
- package/dist/api/extension/generateExtensionManifest.d.ts +2 -2
- package/dist/api/extension/generateExtensionManifest.d.ts.map +1 -1
- package/dist/api/extension/loadToolYaml.d.ts +1 -0
- package/dist/api/extension/loadToolYaml.d.ts.map +1 -1
- package/dist/api/extension/registerExtension.d.ts.map +1 -1
- package/dist/api/extension/registerFromManifest.d.ts.map +1 -1
- package/dist/api/main.cjs +14 -14
- package/dist/api/main.js +3 -3
- package/dist/api/runtimeFromConfig.d.ts +8 -0
- package/dist/api/runtimeFromConfig.d.ts.map +1 -1
- package/dist/{chunk-PKUSCCS6.cjs → chunk-2WDDJYR7.cjs} +243 -135
- package/dist/chunk-2WDDJYR7.cjs.map +1 -0
- package/dist/{chunk-GYUELFVR.js → chunk-DDIGAOYI.js} +3 -3
- package/dist/{chunk-GYUELFVR.js.map → chunk-DDIGAOYI.js.map} +1 -1
- package/dist/{chunk-ETZKGTTF.cjs → chunk-P25NBSPT.cjs} +7 -7
- package/dist/{chunk-ETZKGTTF.cjs.map → chunk-P25NBSPT.cjs.map} +1 -1
- package/dist/{chunk-UUQGKFSG.js → chunk-PSVSVTHY.js} +241 -136
- package/dist/chunk-PSVSVTHY.js.map +1 -0
- package/dist/{chunk-6UOHURU4.js → chunk-RRVM6JBA.js} +42 -5
- package/dist/chunk-RRVM6JBA.js.map +1 -0
- package/dist/{chunk-YP6GRCQG.cjs → chunk-S27O27OH.cjs} +53 -16
- package/dist/chunk-S27O27OH.cjs.map +1 -0
- package/dist/{chunk-FHHD4FSI.js → chunk-U3CAAURW.js} +3 -3
- package/dist/{chunk-FHHD4FSI.js.map → chunk-U3CAAURW.js.map} +1 -1
- package/dist/{chunk-LOGUQGCL.cjs → chunk-Z5STQ2JO.cjs} +9 -9
- package/dist/{chunk-LOGUQGCL.cjs.map → chunk-Z5STQ2JO.cjs.map} +1 -1
- package/dist/index.cjs +106 -69
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +58 -25
- package/dist/index.js.map +1 -1
- package/dist/tools/util/toolConfig.d.ts +11 -3
- package/dist/tools/util/toolConfig.d.ts.map +1 -1
- package/dist/tools/util/toolDescriptor.d.ts +29 -5
- package/dist/tools/util/toolDescriptor.d.ts.map +1 -1
- package/dist/utils/cli/index.cjs +17 -17
- package/dist/utils/cli/index.js +3 -3
- package/dist/utils/npmCache.d.ts +14 -0
- package/dist/utils/npmCache.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-6UOHURU4.js.map +0 -1
- package/dist/chunk-PKUSCCS6.cjs.map +0 -1
- package/dist/chunk-UUQGKFSG.js.map +0 -1
- package/dist/chunk-YP6GRCQG.cjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
3
|
+
var chunkS27O27OH_cjs = require('./chunk-S27O27OH.cjs');
|
|
4
|
+
var chunkZ5STQ2JO_cjs = require('./chunk-Z5STQ2JO.cjs');
|
|
5
|
+
var chunk2WDDJYR7_cjs = require('./chunk-2WDDJYR7.cjs');
|
|
6
6
|
var chunkTOSPHMYU_cjs = require('./chunk-TOSPHMYU.cjs');
|
|
7
7
|
require('./chunk-4KTWJQ32.cjs');
|
|
8
8
|
var chunkDYDNPIV2_cjs = require('./chunk-DYDNPIV2.cjs');
|
|
@@ -281,7 +281,7 @@ function createDynamicImportAdapter(options) {
|
|
|
281
281
|
`Extension tool ${spec.name}: export "${exportName}" from ${sourcePath} is not a function`
|
|
282
282
|
);
|
|
283
283
|
}
|
|
284
|
-
const ctx = getExtensionContext(execCtx, spec);
|
|
284
|
+
const ctx = getExtensionContext(execCtx, spec, mergedArgs);
|
|
285
285
|
const output = await contextRunner.runWith(ctx, () => handler(handlerArgs));
|
|
286
286
|
return {
|
|
287
287
|
result: { result: output.result, evidence: output.evidence },
|
|
@@ -293,23 +293,26 @@ function createDynamicImportAdapter(options) {
|
|
|
293
293
|
function loadToolYaml(packageRoot, sourcePath) {
|
|
294
294
|
const dir = path6__default.default.dirname(sourcePath);
|
|
295
295
|
const base = path6__default.default.basename(sourcePath);
|
|
296
|
-
const
|
|
296
|
+
const dirPath = path6__default.default.join(packageRoot, dir);
|
|
297
|
+
const yamlPath = fs.existsSync(path6__default.default.join(dirPath, `${base}.tool.yaml`)) ? path6__default.default.join(dirPath, `${base}.tool.yaml`) : path6__default.default.join(dirPath, `${base}.example.yaml`);
|
|
297
298
|
if (!fs.existsSync(yamlPath)) return void 0;
|
|
298
299
|
try {
|
|
299
300
|
const raw = fs.readFileSync(yamlPath, "utf-8");
|
|
300
301
|
const data = yaml__default.default.load(raw);
|
|
301
302
|
if (data == null || typeof data !== "object" || Array.isArray(data)) return void 0;
|
|
302
303
|
const obj = data;
|
|
303
|
-
const
|
|
304
|
-
const arr =
|
|
304
|
+
const toolBlock = obj?.tool;
|
|
305
|
+
const arr = toolBlock?.list;
|
|
305
306
|
if (!Array.isArray(arr)) return void 0;
|
|
307
|
+
const defaults = toolBlock?.defaults != null && typeof toolBlock.defaults === "object" && !Array.isArray(toolBlock.defaults) ? toolBlock.defaults : {};
|
|
306
308
|
const item = arr.find(
|
|
307
309
|
(e) => e != null && typeof e === "object" && e.name === base
|
|
308
310
|
);
|
|
309
311
|
if (!item || typeof item !== "object") return void 0;
|
|
310
312
|
const { name: _n, ...rest } = item;
|
|
311
|
-
|
|
312
|
-
return
|
|
313
|
+
const merged = { ...defaults, ...rest };
|
|
314
|
+
if (Object.keys(merged).length === 0) return void 0;
|
|
315
|
+
return merged;
|
|
313
316
|
} catch {
|
|
314
317
|
return void 0;
|
|
315
318
|
}
|
|
@@ -362,6 +365,7 @@ function registerToolsFromManifest(registry, options) {
|
|
|
362
365
|
...spec._meta,
|
|
363
366
|
sourcePath: entry.sourcePath,
|
|
364
367
|
exportName: entry.exportName,
|
|
368
|
+
shortName: toolName,
|
|
365
369
|
...defaultArgs != null && Object.keys(defaultArgs).length > 0 && { defaultArgs }
|
|
366
370
|
}
|
|
367
371
|
};
|
|
@@ -393,10 +397,30 @@ function registerExtension(registry, options) {
|
|
|
393
397
|
const adapter = createDynamicImportAdapter({
|
|
394
398
|
kind,
|
|
395
399
|
packageRoot,
|
|
396
|
-
getExtensionContext: (execCtx, spec) =>
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
+
getExtensionContext: (execCtx, spec, mergedArgs) => {
|
|
401
|
+
const defaultArgs = spec._meta?.defaultArgs ?? {};
|
|
402
|
+
const baseConfig = config !== void 0 ? config : {};
|
|
403
|
+
const toolOverrides = baseConfig?.toolOverrides;
|
|
404
|
+
const shortName = spec._meta?.shortName ?? spec.name;
|
|
405
|
+
const prefixWithVersion = shortName && spec.name.endsWith(shortName) && spec.name.length > shortName.length ? spec.name.slice(0, spec.name.length - shortName.length - 1) : "";
|
|
406
|
+
const parts = prefixWithVersion ? prefixWithVersion.split(".") : [];
|
|
407
|
+
const packageScopedKey = parts.length > 1 ? `${parts.slice(0, -1).join(".")}::${shortName}` : "";
|
|
408
|
+
const perTool = toolOverrides?.[spec.name] ?? (packageScopedKey ? toolOverrides?.[packageScopedKey] : void 0) ?? toolOverrides?.[shortName] ?? {};
|
|
409
|
+
const packagePrefix = parts.length > 1 ? parts.slice(0, -1).join(".") : "";
|
|
410
|
+
const packageDefaults = baseConfig?.packageDefaults;
|
|
411
|
+
const packageDefaultsForPkg = (packagePrefix && packageDefaults?.[packagePrefix]) ?? (prefixWithVersion && packageDefaults?.[prefixWithVersion]) ?? {};
|
|
412
|
+
const baseWithoutOverrides = { ...baseConfig };
|
|
413
|
+
delete baseWithoutOverrides.toolOverrides;
|
|
414
|
+
delete baseWithoutOverrides.packageDefaults;
|
|
415
|
+
const resolvedConfig = {
|
|
416
|
+
...defaultArgs,
|
|
417
|
+
...baseWithoutOverrides,
|
|
418
|
+
...packageDefaultsForPkg,
|
|
419
|
+
...perTool,
|
|
420
|
+
...mergedArgs ?? {}
|
|
421
|
+
};
|
|
422
|
+
return { execCtx, config: resolvedConfig };
|
|
423
|
+
},
|
|
400
424
|
contextRunner: {
|
|
401
425
|
runWith(ctx, fn) {
|
|
402
426
|
return contextRunner.runWith(ctx, fn);
|
|
@@ -419,7 +443,7 @@ function createExtension(options) {
|
|
|
419
443
|
const contextRunner = createContextRunner();
|
|
420
444
|
return {
|
|
421
445
|
register(registry, userConfigOrOpts, opts) {
|
|
422
|
-
const config = buildConfig ? buildConfig(userConfigOrOpts) :
|
|
446
|
+
const config = buildConfig ? buildConfig(userConfigOrOpts) : userConfigOrOpts;
|
|
423
447
|
return registerExtension(registry, {
|
|
424
448
|
packagePath,
|
|
425
449
|
kind,
|
|
@@ -437,11 +461,27 @@ function createExtension(options) {
|
|
|
437
461
|
}
|
|
438
462
|
};
|
|
439
463
|
}
|
|
464
|
+
function copyToolYamlRecursive(srcDir, destDir) {
|
|
465
|
+
if (!fs.existsSync(srcDir)) return 0;
|
|
466
|
+
let copied = 0;
|
|
467
|
+
for (const e of fs.readdirSync(srcDir, { withFileTypes: true })) {
|
|
468
|
+
const srcPath = path6__default.default.join(srcDir, e.name);
|
|
469
|
+
const destPath = path6__default.default.join(destDir, e.name);
|
|
470
|
+
if (e.isFile() && (e.name.endsWith(".tool.yaml") || e.name.endsWith(".example.yaml"))) {
|
|
471
|
+
if (!fs.existsSync(destDir)) fs.mkdirSync(destDir, { recursive: true });
|
|
472
|
+
fs.copyFileSync(srcPath, destPath);
|
|
473
|
+
copied++;
|
|
474
|
+
} else if (e.isDirectory()) {
|
|
475
|
+
copied += copyToolYamlRecursive(srcPath, destPath);
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
return copied;
|
|
479
|
+
}
|
|
440
480
|
function generateExtensionManifest(projectRoot = process.cwd(), options = {}) {
|
|
441
481
|
const root = path6__default.default.resolve(projectRoot);
|
|
442
482
|
const outDir = path6__default.default.resolve(options.outDir ?? path6__default.default.join(root, "dist"));
|
|
443
483
|
const kind = options.kind ?? "core";
|
|
444
|
-
const { specs, errors } =
|
|
484
|
+
const { specs, errors } = chunkZ5STQ2JO_cjs.scanForTools({
|
|
445
485
|
projectPath: root,
|
|
446
486
|
include: options.include ?? ["**/*.ts"],
|
|
447
487
|
tsconfigPath: options.tsconfigPath
|
|
@@ -477,15 +517,8 @@ function generateExtensionManifest(projectRoot = process.cwd(), options = {}) {
|
|
|
477
517
|
for (const d of copyDirs) {
|
|
478
518
|
const srcDir = path6__default.default.join(root, d);
|
|
479
519
|
const destDir = path6__default.default.join(outDir, d);
|
|
480
|
-
if (!fs.existsSync(srcDir)) continue;
|
|
481
520
|
try {
|
|
482
|
-
|
|
483
|
-
if (e.isFile() && e.name.endsWith(".tool.yaml")) {
|
|
484
|
-
if (!fs.existsSync(destDir)) fs.mkdirSync(destDir, { recursive: true });
|
|
485
|
-
fs.copyFileSync(path6__default.default.join(srcDir, e.name), path6__default.default.join(destDir, e.name));
|
|
486
|
-
toolYamlCopied++;
|
|
487
|
-
}
|
|
488
|
-
}
|
|
521
|
+
toolYamlCopied += copyToolYamlRecursive(srcDir, destDir);
|
|
489
522
|
} catch {
|
|
490
523
|
}
|
|
491
524
|
}
|
|
@@ -499,7 +532,7 @@ function generateManifest(projectRoot = process.cwd(), options = {}) {
|
|
|
499
532
|
...options
|
|
500
533
|
});
|
|
501
534
|
console.log(`Wrote ${toolsCount} tools to ${path6__default.default.relative(projectRoot, manifestPath)}`);
|
|
502
|
-
if (toolYamlCopied > 0) console.log(`Copied ${toolYamlCopied} tool.yaml file(s) to dist`);
|
|
535
|
+
if (toolYamlCopied > 0) console.log(`Copied ${toolYamlCopied} .tool.yaml/.example.yaml file(s) to dist`);
|
|
503
536
|
}
|
|
504
537
|
|
|
505
538
|
// src/api/extension/groupPrefix.ts
|
|
@@ -526,7 +559,7 @@ var MCPClientAdapter = class {
|
|
|
526
559
|
constructor(client) {
|
|
527
560
|
this.client = client;
|
|
528
561
|
}
|
|
529
|
-
kind =
|
|
562
|
+
kind = chunk2WDDJYR7_cjs.MCP_KIND;
|
|
530
563
|
async invoke(spec, args, _ctx) {
|
|
531
564
|
const params = args != null && typeof args === "object" && !Array.isArray(args) ? args : {};
|
|
532
565
|
const result = await this.client.callTool({ name: spec.name, arguments: params });
|
|
@@ -567,7 +600,7 @@ function mcpToolsToSpecs(tools) {
|
|
|
567
600
|
return tools.map((t) => ({
|
|
568
601
|
name: t.name,
|
|
569
602
|
version: "1.0.0",
|
|
570
|
-
kind:
|
|
603
|
+
kind: chunk2WDDJYR7_cjs.MCP_KIND,
|
|
571
604
|
description: t.description ?? `MCP tool: ${t.name}`,
|
|
572
605
|
inputSchema: t.inputSchema ?? chunkDYDNPIV2_cjs.DEFAULT_INPUT_SCHEMA,
|
|
573
606
|
outputSchema: chunkDYDNPIV2_cjs.DEFAULT_OUTPUT_SCHEMA,
|
|
@@ -607,8 +640,8 @@ async function registerMCPToolsFromConfig(runtime, registry, options = {}) {
|
|
|
607
640
|
const configPath = options.configPath ?? process.env.MCP_CONFIG_PATH ?? path6.join(process.cwd(), "mcp.json");
|
|
608
641
|
const dirPath = path6.dirname(configPath);
|
|
609
642
|
const entryPoint = path6.basename(configPath);
|
|
610
|
-
const toolName = options.toolName ??
|
|
611
|
-
const loaded = await
|
|
643
|
+
const toolName = options.toolName ?? chunk2WDDJYR7_cjs.MCP_KIND;
|
|
644
|
+
const loaded = await chunkZ5STQ2JO_cjs.loadMCPTool(dirPath, { kind: chunk2WDDJYR7_cjs.MCP_KIND, name: toolName, entryPoint });
|
|
612
645
|
if (!loaded.mcpConfig) {
|
|
613
646
|
throw new Error("mcp.json must have command or url");
|
|
614
647
|
}
|
|
@@ -624,167 +657,171 @@ async function registerMCPToolsFromConfig(runtime, registry, options = {}) {
|
|
|
624
657
|
|
|
625
658
|
Object.defineProperty(exports, "LangChainToolsHub", {
|
|
626
659
|
enumerable: true,
|
|
627
|
-
get: function () { return
|
|
660
|
+
get: function () { return chunkS27O27OH_cjs.LangChainToolsHub; }
|
|
628
661
|
});
|
|
629
662
|
Object.defineProperty(exports, "createAgentTools", {
|
|
630
663
|
enumerable: true,
|
|
631
|
-
get: function () { return
|
|
664
|
+
get: function () { return chunkS27O27OH_cjs.createAgentTools; }
|
|
632
665
|
});
|
|
633
666
|
Object.defineProperty(exports, "DirectoryScanner", {
|
|
634
667
|
enumerable: true,
|
|
635
|
-
get: function () { return
|
|
668
|
+
get: function () { return chunkZ5STQ2JO_cjs.DirectoryScanner; }
|
|
636
669
|
});
|
|
637
670
|
Object.defineProperty(exports, "DiscoveryError", {
|
|
638
671
|
enumerable: true,
|
|
639
|
-
get: function () { return
|
|
672
|
+
get: function () { return chunkZ5STQ2JO_cjs.DiscoveryError; }
|
|
640
673
|
});
|
|
641
674
|
Object.defineProperty(exports, "SkillManifestError", {
|
|
642
675
|
enumerable: true,
|
|
643
|
-
get: function () { return
|
|
676
|
+
get: function () { return chunkZ5STQ2JO_cjs.SkillManifestError; }
|
|
644
677
|
});
|
|
645
678
|
Object.defineProperty(exports, "buildFunctionToTool", {
|
|
646
679
|
enumerable: true,
|
|
647
|
-
get: function () { return
|
|
680
|
+
get: function () { return chunkZ5STQ2JO_cjs.buildFunctionToTool; }
|
|
648
681
|
});
|
|
649
682
|
Object.defineProperty(exports, "buildMcpPackage", {
|
|
650
683
|
enumerable: true,
|
|
651
|
-
get: function () { return
|
|
684
|
+
get: function () { return chunkZ5STQ2JO_cjs.buildMcpPackage; }
|
|
652
685
|
});
|
|
653
686
|
Object.defineProperty(exports, "initProject", {
|
|
654
687
|
enumerable: true,
|
|
655
|
-
get: function () { return
|
|
688
|
+
get: function () { return chunkZ5STQ2JO_cjs.initProject; }
|
|
656
689
|
});
|
|
657
690
|
Object.defineProperty(exports, "loadMCPTool", {
|
|
658
691
|
enumerable: true,
|
|
659
|
-
get: function () { return
|
|
692
|
+
get: function () { return chunkZ5STQ2JO_cjs.loadMCPTool; }
|
|
660
693
|
});
|
|
661
694
|
Object.defineProperty(exports, "loadSkillDefinition", {
|
|
662
695
|
enumerable: true,
|
|
663
|
-
get: function () { return
|
|
696
|
+
get: function () { return chunkZ5STQ2JO_cjs.loadSkillDefinition; }
|
|
664
697
|
});
|
|
665
698
|
Object.defineProperty(exports, "parseSkillMd", {
|
|
666
699
|
enumerable: true,
|
|
667
|
-
get: function () { return
|
|
700
|
+
get: function () { return chunkZ5STQ2JO_cjs.parseSkillMd; }
|
|
668
701
|
});
|
|
669
702
|
Object.defineProperty(exports, "runGeneratedMCP", {
|
|
670
703
|
enumerable: true,
|
|
671
|
-
get: function () { return
|
|
704
|
+
get: function () { return chunkZ5STQ2JO_cjs.runGeneratedMCP; }
|
|
672
705
|
});
|
|
673
706
|
Object.defineProperty(exports, "runMcpServer", {
|
|
674
707
|
enumerable: true,
|
|
675
|
-
get: function () { return
|
|
708
|
+
get: function () { return chunkZ5STQ2JO_cjs.runMcpServer; }
|
|
676
709
|
});
|
|
677
710
|
Object.defineProperty(exports, "scan", {
|
|
678
711
|
enumerable: true,
|
|
679
|
-
get: function () { return
|
|
712
|
+
get: function () { return chunkZ5STQ2JO_cjs.scan; }
|
|
680
713
|
});
|
|
681
714
|
Object.defineProperty(exports, "scanForTools", {
|
|
682
715
|
enumerable: true,
|
|
683
|
-
get: function () { return
|
|
716
|
+
get: function () { return chunkZ5STQ2JO_cjs.scanForTools; }
|
|
684
717
|
});
|
|
685
718
|
Object.defineProperty(exports, "scanSkillResources", {
|
|
686
719
|
enumerable: true,
|
|
687
|
-
get: function () { return
|
|
720
|
+
get: function () { return chunkZ5STQ2JO_cjs.scanSkillResources; }
|
|
688
721
|
});
|
|
689
722
|
Object.defineProperty(exports, "validateFrontmatter", {
|
|
690
723
|
enumerable: true,
|
|
691
|
-
get: function () { return
|
|
724
|
+
get: function () { return chunkZ5STQ2JO_cjs.validateFrontmatter; }
|
|
692
725
|
});
|
|
693
726
|
Object.defineProperty(exports, "BudgetManager", {
|
|
694
727
|
enumerable: true,
|
|
695
|
-
get: function () { return
|
|
728
|
+
get: function () { return chunk2WDDJYR7_cjs.BudgetManager; }
|
|
696
729
|
});
|
|
697
730
|
Object.defineProperty(exports, "EventLog", {
|
|
698
731
|
enumerable: true,
|
|
699
|
-
get: function () { return
|
|
732
|
+
get: function () { return chunk2WDDJYR7_cjs.EventLog; }
|
|
700
733
|
});
|
|
701
734
|
Object.defineProperty(exports, "Metrics", {
|
|
702
735
|
enumerable: true,
|
|
703
|
-
get: function () { return
|
|
736
|
+
get: function () { return chunk2WDDJYR7_cjs.Metrics; }
|
|
704
737
|
});
|
|
705
738
|
Object.defineProperty(exports, "PTCRuntime", {
|
|
706
739
|
enumerable: true,
|
|
707
|
-
get: function () { return
|
|
740
|
+
get: function () { return chunk2WDDJYR7_cjs.PTCRuntime; }
|
|
708
741
|
});
|
|
709
742
|
Object.defineProperty(exports, "PolicyDeniedError", {
|
|
710
743
|
enumerable: true,
|
|
711
|
-
get: function () { return
|
|
744
|
+
get: function () { return chunk2WDDJYR7_cjs.PolicyDeniedError; }
|
|
712
745
|
});
|
|
713
746
|
Object.defineProperty(exports, "PolicyEngine", {
|
|
714
747
|
enumerable: true,
|
|
715
|
-
get: function () { return
|
|
748
|
+
get: function () { return chunk2WDDJYR7_cjs.PolicyEngine; }
|
|
716
749
|
});
|
|
717
750
|
Object.defineProperty(exports, "SchemaValidationError", {
|
|
718
751
|
enumerable: true,
|
|
719
|
-
get: function () { return
|
|
752
|
+
get: function () { return chunk2WDDJYR7_cjs.SchemaValidationError; }
|
|
720
753
|
});
|
|
721
754
|
Object.defineProperty(exports, "SchemaValidator", {
|
|
722
755
|
enumerable: true,
|
|
723
|
-
get: function () { return
|
|
756
|
+
get: function () { return chunk2WDDJYR7_cjs.SchemaValidator; }
|
|
724
757
|
});
|
|
725
758
|
Object.defineProperty(exports, "Tracing", {
|
|
726
759
|
enumerable: true,
|
|
727
|
-
get: function () { return
|
|
760
|
+
get: function () { return chunk2WDDJYR7_cjs.Tracing; }
|
|
728
761
|
});
|
|
729
762
|
Object.defineProperty(exports, "buildEvidence", {
|
|
730
763
|
enumerable: true,
|
|
731
|
-
get: function () { return
|
|
764
|
+
get: function () { return chunk2WDDJYR7_cjs.buildEvidence; }
|
|
732
765
|
});
|
|
733
766
|
Object.defineProperty(exports, "createLogger", {
|
|
734
767
|
enumerable: true,
|
|
735
|
-
get: function () { return
|
|
768
|
+
get: function () { return chunk2WDDJYR7_cjs.createLogger; }
|
|
736
769
|
});
|
|
737
770
|
Object.defineProperty(exports, "ensurePackageInCache", {
|
|
738
771
|
enumerable: true,
|
|
739
|
-
get: function () { return
|
|
772
|
+
get: function () { return chunk2WDDJYR7_cjs.ensurePackageInCache; }
|
|
740
773
|
});
|
|
741
774
|
Object.defineProperty(exports, "expandToolDescriptorsToRegistryNames", {
|
|
742
775
|
enumerable: true,
|
|
743
|
-
get: function () { return
|
|
776
|
+
get: function () { return chunk2WDDJYR7_cjs.expandToolDescriptorsToRegistryNames; }
|
|
744
777
|
});
|
|
745
778
|
Object.defineProperty(exports, "getPackageEntryPath", {
|
|
746
779
|
enumerable: true,
|
|
747
|
-
get: function () { return
|
|
780
|
+
get: function () { return chunk2WDDJYR7_cjs.getPackageEntryPath; }
|
|
748
781
|
});
|
|
749
782
|
Object.defineProperty(exports, "importFromCache", {
|
|
750
783
|
enumerable: true,
|
|
751
|
-
get: function () { return
|
|
784
|
+
get: function () { return chunk2WDDJYR7_cjs.importFromCache; }
|
|
752
785
|
});
|
|
753
786
|
Object.defineProperty(exports, "isNpmToolDescriptor", {
|
|
754
787
|
enumerable: true,
|
|
755
|
-
get: function () { return
|
|
788
|
+
get: function () { return chunk2WDDJYR7_cjs.isNpmToolDescriptor; }
|
|
756
789
|
});
|
|
757
790
|
Object.defineProperty(exports, "loadToolConfig", {
|
|
758
791
|
enumerable: true,
|
|
759
|
-
get: function () { return
|
|
792
|
+
get: function () { return chunk2WDDJYR7_cjs.loadToolConfig; }
|
|
760
793
|
});
|
|
761
794
|
Object.defineProperty(exports, "normalizeToolList", {
|
|
762
795
|
enumerable: true,
|
|
763
|
-
get: function () { return
|
|
796
|
+
get: function () { return chunk2WDDJYR7_cjs.normalizeToolList; }
|
|
764
797
|
});
|
|
765
798
|
Object.defineProperty(exports, "npmDescriptorToRegistryPrefix", {
|
|
766
799
|
enumerable: true,
|
|
767
|
-
get: function () { return
|
|
800
|
+
get: function () { return chunk2WDDJYR7_cjs.npmDescriptorToRegistryPrefix; }
|
|
768
801
|
});
|
|
769
802
|
Object.defineProperty(exports, "parseNpmToolDescriptor", {
|
|
770
803
|
enumerable: true,
|
|
771
|
-
get: function () { return
|
|
804
|
+
get: function () { return chunk2WDDJYR7_cjs.parseNpmToolDescriptor; }
|
|
805
|
+
});
|
|
806
|
+
Object.defineProperty(exports, "resolveLatestVersionFromRegistry", {
|
|
807
|
+
enumerable: true,
|
|
808
|
+
get: function () { return chunk2WDDJYR7_cjs.resolveLatestVersionFromRegistry; }
|
|
772
809
|
});
|
|
773
810
|
Object.defineProperty(exports, "resolveNpmToolDescriptor", {
|
|
774
811
|
enumerable: true,
|
|
775
|
-
get: function () { return
|
|
812
|
+
get: function () { return chunk2WDDJYR7_cjs.resolveNpmToolDescriptor; }
|
|
776
813
|
});
|
|
777
814
|
Object.defineProperty(exports, "resolveToolDescriptor", {
|
|
778
815
|
enumerable: true,
|
|
779
|
-
get: function () { return
|
|
816
|
+
get: function () { return chunk2WDDJYR7_cjs.resolveToolDescriptor; }
|
|
780
817
|
});
|
|
781
818
|
Object.defineProperty(exports, "sanitizeForLog", {
|
|
782
819
|
enumerable: true,
|
|
783
|
-
get: function () { return
|
|
820
|
+
get: function () { return chunk2WDDJYR7_cjs.sanitizeForLog; }
|
|
784
821
|
});
|
|
785
822
|
Object.defineProperty(exports, "summarizeForLog", {
|
|
786
823
|
enumerable: true,
|
|
787
|
-
get: function () { return
|
|
824
|
+
get: function () { return chunk2WDDJYR7_cjs.summarizeForLog; }
|
|
788
825
|
});
|
|
789
826
|
Object.defineProperty(exports, "ToolRegistry", {
|
|
790
827
|
enumerable: true,
|