@easynet/agent-tool 1.0.33 → 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 +3 -3
- 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 +111 -72
- 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 +63 -28
- 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
|
|
@@ -451,7 +491,8 @@ function generateExtensionManifest(projectRoot = process.cwd(), options = {}) {
|
|
|
451
491
|
}
|
|
452
492
|
const entries = specs.map((spec) => {
|
|
453
493
|
const sourcePathNoExt = (spec.sourcePath ?? "").replace(/\.(ts|tsx)$/i, "");
|
|
454
|
-
const
|
|
494
|
+
const pathBasedName = sourcePathNoExt.replace(/^src\//, "").replace(/\//g, ".");
|
|
495
|
+
const name = spec.exportName ?? pathBasedName;
|
|
455
496
|
const sideEffect = spec._meta?.hitl?.sideEffect ?? "none";
|
|
456
497
|
return {
|
|
457
498
|
name,
|
|
@@ -476,28 +517,22 @@ function generateExtensionManifest(projectRoot = process.cwd(), options = {}) {
|
|
|
476
517
|
for (const d of copyDirs) {
|
|
477
518
|
const srcDir = path6__default.default.join(root, d);
|
|
478
519
|
const destDir = path6__default.default.join(outDir, d);
|
|
479
|
-
if (!fs.existsSync(srcDir)) continue;
|
|
480
520
|
try {
|
|
481
|
-
|
|
482
|
-
if (e.isFile() && e.name.endsWith(".tool.yaml")) {
|
|
483
|
-
if (!fs.existsSync(destDir)) fs.mkdirSync(destDir, { recursive: true });
|
|
484
|
-
fs.copyFileSync(path6__default.default.join(srcDir, e.name), path6__default.default.join(destDir, e.name));
|
|
485
|
-
toolYamlCopied++;
|
|
486
|
-
}
|
|
487
|
-
}
|
|
521
|
+
toolYamlCopied += copyToolYamlRecursive(srcDir, destDir);
|
|
488
522
|
} catch {
|
|
489
523
|
}
|
|
490
524
|
}
|
|
491
525
|
}
|
|
492
526
|
return { manifestPath, toolsCount: entries.length, toolYamlCopied };
|
|
493
527
|
}
|
|
494
|
-
function generateManifest(projectRoot = process.cwd()) {
|
|
528
|
+
function generateManifest(projectRoot = process.cwd(), options = {}) {
|
|
495
529
|
const { manifestPath, toolsCount, toolYamlCopied } = generateExtensionManifest(projectRoot, {
|
|
496
530
|
include: ["src/**/*.ts"],
|
|
497
|
-
copyToolYamlDirs: ["src"]
|
|
531
|
+
copyToolYamlDirs: ["src"],
|
|
532
|
+
...options
|
|
498
533
|
});
|
|
499
534
|
console.log(`Wrote ${toolsCount} tools to ${path6__default.default.relative(projectRoot, manifestPath)}`);
|
|
500
|
-
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`);
|
|
501
536
|
}
|
|
502
537
|
|
|
503
538
|
// src/api/extension/groupPrefix.ts
|
|
@@ -524,7 +559,7 @@ var MCPClientAdapter = class {
|
|
|
524
559
|
constructor(client) {
|
|
525
560
|
this.client = client;
|
|
526
561
|
}
|
|
527
|
-
kind =
|
|
562
|
+
kind = chunk2WDDJYR7_cjs.MCP_KIND;
|
|
528
563
|
async invoke(spec, args, _ctx) {
|
|
529
564
|
const params = args != null && typeof args === "object" && !Array.isArray(args) ? args : {};
|
|
530
565
|
const result = await this.client.callTool({ name: spec.name, arguments: params });
|
|
@@ -565,7 +600,7 @@ function mcpToolsToSpecs(tools) {
|
|
|
565
600
|
return tools.map((t) => ({
|
|
566
601
|
name: t.name,
|
|
567
602
|
version: "1.0.0",
|
|
568
|
-
kind:
|
|
603
|
+
kind: chunk2WDDJYR7_cjs.MCP_KIND,
|
|
569
604
|
description: t.description ?? `MCP tool: ${t.name}`,
|
|
570
605
|
inputSchema: t.inputSchema ?? chunkDYDNPIV2_cjs.DEFAULT_INPUT_SCHEMA,
|
|
571
606
|
outputSchema: chunkDYDNPIV2_cjs.DEFAULT_OUTPUT_SCHEMA,
|
|
@@ -605,8 +640,8 @@ async function registerMCPToolsFromConfig(runtime, registry, options = {}) {
|
|
|
605
640
|
const configPath = options.configPath ?? process.env.MCP_CONFIG_PATH ?? path6.join(process.cwd(), "mcp.json");
|
|
606
641
|
const dirPath = path6.dirname(configPath);
|
|
607
642
|
const entryPoint = path6.basename(configPath);
|
|
608
|
-
const toolName = options.toolName ??
|
|
609
|
-
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 });
|
|
610
645
|
if (!loaded.mcpConfig) {
|
|
611
646
|
throw new Error("mcp.json must have command or url");
|
|
612
647
|
}
|
|
@@ -622,167 +657,171 @@ async function registerMCPToolsFromConfig(runtime, registry, options = {}) {
|
|
|
622
657
|
|
|
623
658
|
Object.defineProperty(exports, "LangChainToolsHub", {
|
|
624
659
|
enumerable: true,
|
|
625
|
-
get: function () { return
|
|
660
|
+
get: function () { return chunkS27O27OH_cjs.LangChainToolsHub; }
|
|
626
661
|
});
|
|
627
662
|
Object.defineProperty(exports, "createAgentTools", {
|
|
628
663
|
enumerable: true,
|
|
629
|
-
get: function () { return
|
|
664
|
+
get: function () { return chunkS27O27OH_cjs.createAgentTools; }
|
|
630
665
|
});
|
|
631
666
|
Object.defineProperty(exports, "DirectoryScanner", {
|
|
632
667
|
enumerable: true,
|
|
633
|
-
get: function () { return
|
|
668
|
+
get: function () { return chunkZ5STQ2JO_cjs.DirectoryScanner; }
|
|
634
669
|
});
|
|
635
670
|
Object.defineProperty(exports, "DiscoveryError", {
|
|
636
671
|
enumerable: true,
|
|
637
|
-
get: function () { return
|
|
672
|
+
get: function () { return chunkZ5STQ2JO_cjs.DiscoveryError; }
|
|
638
673
|
});
|
|
639
674
|
Object.defineProperty(exports, "SkillManifestError", {
|
|
640
675
|
enumerable: true,
|
|
641
|
-
get: function () { return
|
|
676
|
+
get: function () { return chunkZ5STQ2JO_cjs.SkillManifestError; }
|
|
642
677
|
});
|
|
643
678
|
Object.defineProperty(exports, "buildFunctionToTool", {
|
|
644
679
|
enumerable: true,
|
|
645
|
-
get: function () { return
|
|
680
|
+
get: function () { return chunkZ5STQ2JO_cjs.buildFunctionToTool; }
|
|
646
681
|
});
|
|
647
682
|
Object.defineProperty(exports, "buildMcpPackage", {
|
|
648
683
|
enumerable: true,
|
|
649
|
-
get: function () { return
|
|
684
|
+
get: function () { return chunkZ5STQ2JO_cjs.buildMcpPackage; }
|
|
650
685
|
});
|
|
651
686
|
Object.defineProperty(exports, "initProject", {
|
|
652
687
|
enumerable: true,
|
|
653
|
-
get: function () { return
|
|
688
|
+
get: function () { return chunkZ5STQ2JO_cjs.initProject; }
|
|
654
689
|
});
|
|
655
690
|
Object.defineProperty(exports, "loadMCPTool", {
|
|
656
691
|
enumerable: true,
|
|
657
|
-
get: function () { return
|
|
692
|
+
get: function () { return chunkZ5STQ2JO_cjs.loadMCPTool; }
|
|
658
693
|
});
|
|
659
694
|
Object.defineProperty(exports, "loadSkillDefinition", {
|
|
660
695
|
enumerable: true,
|
|
661
|
-
get: function () { return
|
|
696
|
+
get: function () { return chunkZ5STQ2JO_cjs.loadSkillDefinition; }
|
|
662
697
|
});
|
|
663
698
|
Object.defineProperty(exports, "parseSkillMd", {
|
|
664
699
|
enumerable: true,
|
|
665
|
-
get: function () { return
|
|
700
|
+
get: function () { return chunkZ5STQ2JO_cjs.parseSkillMd; }
|
|
666
701
|
});
|
|
667
702
|
Object.defineProperty(exports, "runGeneratedMCP", {
|
|
668
703
|
enumerable: true,
|
|
669
|
-
get: function () { return
|
|
704
|
+
get: function () { return chunkZ5STQ2JO_cjs.runGeneratedMCP; }
|
|
670
705
|
});
|
|
671
706
|
Object.defineProperty(exports, "runMcpServer", {
|
|
672
707
|
enumerable: true,
|
|
673
|
-
get: function () { return
|
|
708
|
+
get: function () { return chunkZ5STQ2JO_cjs.runMcpServer; }
|
|
674
709
|
});
|
|
675
710
|
Object.defineProperty(exports, "scan", {
|
|
676
711
|
enumerable: true,
|
|
677
|
-
get: function () { return
|
|
712
|
+
get: function () { return chunkZ5STQ2JO_cjs.scan; }
|
|
678
713
|
});
|
|
679
714
|
Object.defineProperty(exports, "scanForTools", {
|
|
680
715
|
enumerable: true,
|
|
681
|
-
get: function () { return
|
|
716
|
+
get: function () { return chunkZ5STQ2JO_cjs.scanForTools; }
|
|
682
717
|
});
|
|
683
718
|
Object.defineProperty(exports, "scanSkillResources", {
|
|
684
719
|
enumerable: true,
|
|
685
|
-
get: function () { return
|
|
720
|
+
get: function () { return chunkZ5STQ2JO_cjs.scanSkillResources; }
|
|
686
721
|
});
|
|
687
722
|
Object.defineProperty(exports, "validateFrontmatter", {
|
|
688
723
|
enumerable: true,
|
|
689
|
-
get: function () { return
|
|
724
|
+
get: function () { return chunkZ5STQ2JO_cjs.validateFrontmatter; }
|
|
690
725
|
});
|
|
691
726
|
Object.defineProperty(exports, "BudgetManager", {
|
|
692
727
|
enumerable: true,
|
|
693
|
-
get: function () { return
|
|
728
|
+
get: function () { return chunk2WDDJYR7_cjs.BudgetManager; }
|
|
694
729
|
});
|
|
695
730
|
Object.defineProperty(exports, "EventLog", {
|
|
696
731
|
enumerable: true,
|
|
697
|
-
get: function () { return
|
|
732
|
+
get: function () { return chunk2WDDJYR7_cjs.EventLog; }
|
|
698
733
|
});
|
|
699
734
|
Object.defineProperty(exports, "Metrics", {
|
|
700
735
|
enumerable: true,
|
|
701
|
-
get: function () { return
|
|
736
|
+
get: function () { return chunk2WDDJYR7_cjs.Metrics; }
|
|
702
737
|
});
|
|
703
738
|
Object.defineProperty(exports, "PTCRuntime", {
|
|
704
739
|
enumerable: true,
|
|
705
|
-
get: function () { return
|
|
740
|
+
get: function () { return chunk2WDDJYR7_cjs.PTCRuntime; }
|
|
706
741
|
});
|
|
707
742
|
Object.defineProperty(exports, "PolicyDeniedError", {
|
|
708
743
|
enumerable: true,
|
|
709
|
-
get: function () { return
|
|
744
|
+
get: function () { return chunk2WDDJYR7_cjs.PolicyDeniedError; }
|
|
710
745
|
});
|
|
711
746
|
Object.defineProperty(exports, "PolicyEngine", {
|
|
712
747
|
enumerable: true,
|
|
713
|
-
get: function () { return
|
|
748
|
+
get: function () { return chunk2WDDJYR7_cjs.PolicyEngine; }
|
|
714
749
|
});
|
|
715
750
|
Object.defineProperty(exports, "SchemaValidationError", {
|
|
716
751
|
enumerable: true,
|
|
717
|
-
get: function () { return
|
|
752
|
+
get: function () { return chunk2WDDJYR7_cjs.SchemaValidationError; }
|
|
718
753
|
});
|
|
719
754
|
Object.defineProperty(exports, "SchemaValidator", {
|
|
720
755
|
enumerable: true,
|
|
721
|
-
get: function () { return
|
|
756
|
+
get: function () { return chunk2WDDJYR7_cjs.SchemaValidator; }
|
|
722
757
|
});
|
|
723
758
|
Object.defineProperty(exports, "Tracing", {
|
|
724
759
|
enumerable: true,
|
|
725
|
-
get: function () { return
|
|
760
|
+
get: function () { return chunk2WDDJYR7_cjs.Tracing; }
|
|
726
761
|
});
|
|
727
762
|
Object.defineProperty(exports, "buildEvidence", {
|
|
728
763
|
enumerable: true,
|
|
729
|
-
get: function () { return
|
|
764
|
+
get: function () { return chunk2WDDJYR7_cjs.buildEvidence; }
|
|
730
765
|
});
|
|
731
766
|
Object.defineProperty(exports, "createLogger", {
|
|
732
767
|
enumerable: true,
|
|
733
|
-
get: function () { return
|
|
768
|
+
get: function () { return chunk2WDDJYR7_cjs.createLogger; }
|
|
734
769
|
});
|
|
735
770
|
Object.defineProperty(exports, "ensurePackageInCache", {
|
|
736
771
|
enumerable: true,
|
|
737
|
-
get: function () { return
|
|
772
|
+
get: function () { return chunk2WDDJYR7_cjs.ensurePackageInCache; }
|
|
738
773
|
});
|
|
739
774
|
Object.defineProperty(exports, "expandToolDescriptorsToRegistryNames", {
|
|
740
775
|
enumerable: true,
|
|
741
|
-
get: function () { return
|
|
776
|
+
get: function () { return chunk2WDDJYR7_cjs.expandToolDescriptorsToRegistryNames; }
|
|
742
777
|
});
|
|
743
778
|
Object.defineProperty(exports, "getPackageEntryPath", {
|
|
744
779
|
enumerable: true,
|
|
745
|
-
get: function () { return
|
|
780
|
+
get: function () { return chunk2WDDJYR7_cjs.getPackageEntryPath; }
|
|
746
781
|
});
|
|
747
782
|
Object.defineProperty(exports, "importFromCache", {
|
|
748
783
|
enumerable: true,
|
|
749
|
-
get: function () { return
|
|
784
|
+
get: function () { return chunk2WDDJYR7_cjs.importFromCache; }
|
|
750
785
|
});
|
|
751
786
|
Object.defineProperty(exports, "isNpmToolDescriptor", {
|
|
752
787
|
enumerable: true,
|
|
753
|
-
get: function () { return
|
|
788
|
+
get: function () { return chunk2WDDJYR7_cjs.isNpmToolDescriptor; }
|
|
754
789
|
});
|
|
755
790
|
Object.defineProperty(exports, "loadToolConfig", {
|
|
756
791
|
enumerable: true,
|
|
757
|
-
get: function () { return
|
|
792
|
+
get: function () { return chunk2WDDJYR7_cjs.loadToolConfig; }
|
|
758
793
|
});
|
|
759
794
|
Object.defineProperty(exports, "normalizeToolList", {
|
|
760
795
|
enumerable: true,
|
|
761
|
-
get: function () { return
|
|
796
|
+
get: function () { return chunk2WDDJYR7_cjs.normalizeToolList; }
|
|
762
797
|
});
|
|
763
798
|
Object.defineProperty(exports, "npmDescriptorToRegistryPrefix", {
|
|
764
799
|
enumerable: true,
|
|
765
|
-
get: function () { return
|
|
800
|
+
get: function () { return chunk2WDDJYR7_cjs.npmDescriptorToRegistryPrefix; }
|
|
766
801
|
});
|
|
767
802
|
Object.defineProperty(exports, "parseNpmToolDescriptor", {
|
|
768
803
|
enumerable: true,
|
|
769
|
-
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; }
|
|
770
809
|
});
|
|
771
810
|
Object.defineProperty(exports, "resolveNpmToolDescriptor", {
|
|
772
811
|
enumerable: true,
|
|
773
|
-
get: function () { return
|
|
812
|
+
get: function () { return chunk2WDDJYR7_cjs.resolveNpmToolDescriptor; }
|
|
774
813
|
});
|
|
775
814
|
Object.defineProperty(exports, "resolveToolDescriptor", {
|
|
776
815
|
enumerable: true,
|
|
777
|
-
get: function () { return
|
|
816
|
+
get: function () { return chunk2WDDJYR7_cjs.resolveToolDescriptor; }
|
|
778
817
|
});
|
|
779
818
|
Object.defineProperty(exports, "sanitizeForLog", {
|
|
780
819
|
enumerable: true,
|
|
781
|
-
get: function () { return
|
|
820
|
+
get: function () { return chunk2WDDJYR7_cjs.sanitizeForLog; }
|
|
782
821
|
});
|
|
783
822
|
Object.defineProperty(exports, "summarizeForLog", {
|
|
784
823
|
enumerable: true,
|
|
785
|
-
get: function () { return
|
|
824
|
+
get: function () { return chunk2WDDJYR7_cjs.summarizeForLog; }
|
|
786
825
|
});
|
|
787
826
|
Object.defineProperty(exports, "ToolRegistry", {
|
|
788
827
|
enumerable: true,
|