@easynet/agent-tool 1.0.20 → 1.0.22
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/createAgentTools.d.ts.map +1 -1
- package/dist/api/main.cjs +17 -17
- package/dist/api/main.js +6 -6
- package/dist/api/runtimeFromConfig.d.ts +15 -11
- package/dist/api/runtimeFromConfig.d.ts.map +1 -1
- package/dist/canonicalCoreSchemas-3BZJH6XD.js +4 -0
- package/dist/{canonicalCoreSchemas-JPTOIQKR.js.map → canonicalCoreSchemas-3BZJH6XD.js.map} +1 -1
- package/dist/canonicalCoreSchemas-P6KUD3WP.cjs +21 -0
- package/dist/{canonicalCoreSchemas-K57HKGZJ.cjs.map → canonicalCoreSchemas-P6KUD3WP.cjs.map} +1 -1
- package/dist/{chunk-P5UPHQ7N.js → chunk-3MUOBLNB.js} +3 -3
- package/dist/{chunk-P5UPHQ7N.js.map → chunk-3MUOBLNB.js.map} +1 -1
- package/dist/{chunk-6JWQVVL2.cjs → chunk-4KTWJQ32.cjs} +4 -4
- package/dist/{chunk-6JWQVVL2.cjs.map → chunk-4KTWJQ32.cjs.map} +1 -1
- package/dist/{chunk-6WQYJLVU.cjs → chunk-AH4NI4GN.cjs} +51 -53
- package/dist/chunk-AH4NI4GN.cjs.map +1 -0
- package/dist/{chunk-QP6JJF76.cjs → chunk-AT3N7SQK.cjs} +11 -11
- package/dist/{chunk-QP6JJF76.cjs.map → chunk-AT3N7SQK.cjs.map} +1 -1
- package/dist/{chunk-OHDIMQ22.js → chunk-BOMOGAFZ.js} +4 -4
- package/dist/{chunk-OHDIMQ22.js.map → chunk-BOMOGAFZ.js.map} +1 -1
- package/dist/{chunk-IGMDLCV7.js → chunk-BPHY6UVK.js} +33 -33
- package/dist/chunk-BPHY6UVK.js.map +1 -0
- package/dist/{chunk-FGGTT32N.cjs → chunk-DYDNPIV2.cjs} +2 -2
- package/dist/{chunk-FGGTT32N.cjs.map → chunk-DYDNPIV2.cjs.map} +1 -1
- package/dist/{chunk-TAW4FP3A.cjs → chunk-FWIMPZC2.cjs} +16 -22
- package/dist/chunk-FWIMPZC2.cjs.map +1 -0
- package/dist/{chunk-GWBJEGS7.js → chunk-KDB3MY2H.js} +2 -2
- package/dist/{chunk-GWBJEGS7.js.map → chunk-KDB3MY2H.js.map} +1 -1
- package/dist/{chunk-INYWD3OJ.cjs → chunk-P2LVZGZ4.cjs} +12 -12
- package/dist/{chunk-INYWD3OJ.cjs.map → chunk-P2LVZGZ4.cjs.map} +1 -1
- package/dist/{chunk-WKWSXCS4.js → chunk-QP5FIRC2.js} +6 -6
- package/dist/{chunk-WKWSXCS4.js.map → chunk-QP5FIRC2.js.map} +1 -1
- package/dist/{chunk-ONIBCU2Y.cjs → chunk-TOSPHMYU.cjs} +7 -7
- package/dist/{chunk-ONIBCU2Y.cjs.map → chunk-TOSPHMYU.cjs.map} +1 -1
- package/dist/{chunk-NNMMUG2X.js → chunk-ZRDI2RKU.js} +7 -13
- package/dist/chunk-ZRDI2RKU.js.map +1 -0
- package/dist/{chunk-IU35EFPK.js → chunk-ZRHPGW7W.js} +3 -3
- package/dist/{chunk-IU35EFPK.js.map → chunk-ZRHPGW7W.js.map} +1 -1
- package/dist/core/index.cjs +4 -4
- package/dist/core/index.js +1 -1
- package/dist/core/runtime.cjs +6 -6
- package/dist/core/runtime.js +2 -2
- package/dist/core/types/ToolSpec.d.ts +3 -3
- package/dist/core/types/ToolSpec.d.ts.map +1 -1
- package/dist/index.cjs +68 -68
- package/dist/index.js +10 -10
- package/dist/tools/util/index.d.ts +1 -1
- package/dist/tools/util/index.d.ts.map +1 -1
- package/dist/utils/cli/index.cjs +21 -21
- package/dist/utils/cli/index.js +6 -6
- package/package.json +1 -1
- package/dist/canonicalCoreSchemas-JPTOIQKR.js +0 -4
- package/dist/canonicalCoreSchemas-K57HKGZJ.cjs +0 -21
- package/dist/chunk-6WQYJLVU.cjs.map +0 -1
- package/dist/chunk-IGMDLCV7.js.map +0 -1
- package/dist/chunk-NNMMUG2X.js.map +0 -1
- package/dist/chunk-TAW4FP3A.cjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
require('./chunk-
|
|
8
|
-
var
|
|
3
|
+
var chunkFWIMPZC2_cjs = require('./chunk-FWIMPZC2.cjs');
|
|
4
|
+
var chunkAT3N7SQK_cjs = require('./chunk-AT3N7SQK.cjs');
|
|
5
|
+
var chunkAH4NI4GN_cjs = require('./chunk-AH4NI4GN.cjs');
|
|
6
|
+
var chunkTOSPHMYU_cjs = require('./chunk-TOSPHMYU.cjs');
|
|
7
|
+
require('./chunk-4KTWJQ32.cjs');
|
|
8
|
+
var chunkDYDNPIV2_cjs = require('./chunk-DYDNPIV2.cjs');
|
|
9
9
|
var promises = require('dns/promises');
|
|
10
10
|
var path = require('path');
|
|
11
11
|
var promises$1 = require('fs/promises');
|
|
@@ -15,14 +15,14 @@ async function validateUrl(url, options) {
|
|
|
15
15
|
try {
|
|
16
16
|
parsed = new URL(url);
|
|
17
17
|
} catch {
|
|
18
|
-
throw
|
|
18
|
+
throw chunkTOSPHMYU_cjs.createTaggedError(
|
|
19
19
|
"HTTP_DISALLOWED_HOST",
|
|
20
20
|
`Invalid URL: ${url}`,
|
|
21
21
|
{ url }
|
|
22
22
|
);
|
|
23
23
|
}
|
|
24
24
|
if (parsed.protocol !== "http:" && parsed.protocol !== "https:") {
|
|
25
|
-
throw
|
|
25
|
+
throw chunkTOSPHMYU_cjs.createTaggedError(
|
|
26
26
|
"HTTP_DISALLOWED_HOST",
|
|
27
27
|
`Protocol not allowed: ${parsed.protocol}. Only http: and https: are supported.`,
|
|
28
28
|
{ url, protocol: parsed.protocol }
|
|
@@ -30,14 +30,14 @@ async function validateUrl(url, options) {
|
|
|
30
30
|
}
|
|
31
31
|
const hostname = parsed.hostname;
|
|
32
32
|
if (!isHostAllowed(hostname, options.allowedHosts)) {
|
|
33
|
-
throw
|
|
33
|
+
throw chunkTOSPHMYU_cjs.createTaggedError(
|
|
34
34
|
"HTTP_DISALLOWED_HOST",
|
|
35
35
|
`Host "${hostname}" is not in the allowed hosts list`,
|
|
36
36
|
{ url, hostname, allowedHosts: options.allowedHosts }
|
|
37
37
|
);
|
|
38
38
|
}
|
|
39
39
|
if (isHostBlocked(hostname, options.blockedHosts)) {
|
|
40
|
-
throw
|
|
40
|
+
throw chunkTOSPHMYU_cjs.createTaggedError(
|
|
41
41
|
"HTTP_DISALLOWED_HOST",
|
|
42
42
|
`Host "${hostname}" is in the blocked hosts list`,
|
|
43
43
|
{ url, hostname, blockedHosts: options.blockedHosts }
|
|
@@ -46,7 +46,7 @@ async function validateUrl(url, options) {
|
|
|
46
46
|
try {
|
|
47
47
|
const { address } = await promises.lookup(hostname);
|
|
48
48
|
if (isIpInBlockedCidrs(address, options.blockedCidrs)) {
|
|
49
|
-
throw
|
|
49
|
+
throw chunkTOSPHMYU_cjs.createTaggedError(
|
|
50
50
|
"HTTP_DISALLOWED_HOST",
|
|
51
51
|
`Host "${hostname}" resolves to blocked IP: ${address}`,
|
|
52
52
|
{ url, hostname, resolvedIp: address }
|
|
@@ -56,7 +56,7 @@ async function validateUrl(url, options) {
|
|
|
56
56
|
if (err instanceof Error && err.kind === "HTTP_DISALLOWED_HOST") {
|
|
57
57
|
throw err;
|
|
58
58
|
}
|
|
59
|
-
throw
|
|
59
|
+
throw chunkTOSPHMYU_cjs.createTaggedError(
|
|
60
60
|
"HTTP_DISALLOWED_HOST",
|
|
61
61
|
`DNS resolution failed for host "${hostname}": ${err instanceof Error ? err.message : String(err)}`,
|
|
62
62
|
{ url, hostname }
|
|
@@ -208,7 +208,7 @@ async function resolveSandboxedPath(inputPath, sandboxRoot) {
|
|
|
208
208
|
real = path.resolve(realParent, path.basename(resolved));
|
|
209
209
|
}
|
|
210
210
|
if (!isWithinRoot(real, normalizedRoot)) {
|
|
211
|
-
throw
|
|
211
|
+
throw chunkTOSPHMYU_cjs.createTaggedError(
|
|
212
212
|
"PATH_OUTSIDE_SANDBOX",
|
|
213
213
|
`Path "${inputPath}" resolves to "${real}" which is outside sandbox "${normalizedRoot}"`,
|
|
214
214
|
{ inputPath, resolvedPath: real, sandboxRoot: normalizedRoot }
|
|
@@ -235,7 +235,7 @@ var MCPClientAdapter = class {
|
|
|
235
235
|
constructor(client) {
|
|
236
236
|
this.client = client;
|
|
237
237
|
}
|
|
238
|
-
kind =
|
|
238
|
+
kind = chunkAH4NI4GN_cjs.MCP_KIND;
|
|
239
239
|
async invoke(spec, args, _ctx) {
|
|
240
240
|
const params = args != null && typeof args === "object" && !Array.isArray(args) ? args : {};
|
|
241
241
|
const result = await this.client.callTool({ name: spec.name, arguments: params });
|
|
@@ -276,10 +276,10 @@ function mcpToolsToSpecs(tools) {
|
|
|
276
276
|
return tools.map((t) => ({
|
|
277
277
|
name: t.name,
|
|
278
278
|
version: "1.0.0",
|
|
279
|
-
kind:
|
|
279
|
+
kind: chunkAH4NI4GN_cjs.MCP_KIND,
|
|
280
280
|
description: t.description ?? `MCP tool: ${t.name}`,
|
|
281
|
-
inputSchema: t.inputSchema ??
|
|
282
|
-
outputSchema:
|
|
281
|
+
inputSchema: t.inputSchema ?? chunkDYDNPIV2_cjs.DEFAULT_INPUT_SCHEMA,
|
|
282
|
+
outputSchema: chunkDYDNPIV2_cjs.DEFAULT_OUTPUT_SCHEMA,
|
|
283
283
|
capabilities: []
|
|
284
284
|
}));
|
|
285
285
|
}
|
|
@@ -316,8 +316,8 @@ async function registerMCPToolsFromConfig(runtime, registry, options = {}) {
|
|
|
316
316
|
const configPath = options.configPath ?? process.env.MCP_CONFIG_PATH ?? path.join(process.cwd(), "mcp.json");
|
|
317
317
|
const dirPath = path.dirname(configPath);
|
|
318
318
|
const entryPoint = path.basename(configPath);
|
|
319
|
-
const toolName = options.toolName ??
|
|
320
|
-
const loaded = await
|
|
319
|
+
const toolName = options.toolName ?? chunkAH4NI4GN_cjs.MCP_KIND;
|
|
320
|
+
const loaded = await chunkAT3N7SQK_cjs.loadMCPTool(dirPath, { kind: chunkAH4NI4GN_cjs.MCP_KIND, name: toolName, entryPoint });
|
|
321
321
|
if (!loaded.mcpConfig) {
|
|
322
322
|
throw new Error("mcp.json must have command or url");
|
|
323
323
|
}
|
|
@@ -333,199 +333,199 @@ async function registerMCPToolsFromConfig(runtime, registry, options = {}) {
|
|
|
333
333
|
|
|
334
334
|
Object.defineProperty(exports, "LangChainToolsHub", {
|
|
335
335
|
enumerable: true,
|
|
336
|
-
get: function () { return
|
|
336
|
+
get: function () { return chunkFWIMPZC2_cjs.LangChainToolsHub; }
|
|
337
337
|
});
|
|
338
338
|
Object.defineProperty(exports, "createAgentTools", {
|
|
339
339
|
enumerable: true,
|
|
340
|
-
get: function () { return
|
|
340
|
+
get: function () { return chunkFWIMPZC2_cjs.createAgentTools; }
|
|
341
341
|
});
|
|
342
342
|
Object.defineProperty(exports, "DirectoryScanner", {
|
|
343
343
|
enumerable: true,
|
|
344
|
-
get: function () { return
|
|
344
|
+
get: function () { return chunkAT3N7SQK_cjs.DirectoryScanner; }
|
|
345
345
|
});
|
|
346
346
|
Object.defineProperty(exports, "DiscoveryError", {
|
|
347
347
|
enumerable: true,
|
|
348
|
-
get: function () { return
|
|
348
|
+
get: function () { return chunkAT3N7SQK_cjs.DiscoveryError; }
|
|
349
349
|
});
|
|
350
350
|
Object.defineProperty(exports, "SkillManifestError", {
|
|
351
351
|
enumerable: true,
|
|
352
|
-
get: function () { return
|
|
352
|
+
get: function () { return chunkAT3N7SQK_cjs.SkillManifestError; }
|
|
353
353
|
});
|
|
354
354
|
Object.defineProperty(exports, "buildFunctionToTool", {
|
|
355
355
|
enumerable: true,
|
|
356
|
-
get: function () { return
|
|
356
|
+
get: function () { return chunkAT3N7SQK_cjs.buildFunctionToTool; }
|
|
357
357
|
});
|
|
358
358
|
Object.defineProperty(exports, "buildMcpPackage", {
|
|
359
359
|
enumerable: true,
|
|
360
|
-
get: function () { return
|
|
360
|
+
get: function () { return chunkAT3N7SQK_cjs.buildMcpPackage; }
|
|
361
361
|
});
|
|
362
362
|
Object.defineProperty(exports, "initProject", {
|
|
363
363
|
enumerable: true,
|
|
364
|
-
get: function () { return
|
|
364
|
+
get: function () { return chunkAT3N7SQK_cjs.initProject; }
|
|
365
365
|
});
|
|
366
366
|
Object.defineProperty(exports, "loadMCPTool", {
|
|
367
367
|
enumerable: true,
|
|
368
|
-
get: function () { return
|
|
368
|
+
get: function () { return chunkAT3N7SQK_cjs.loadMCPTool; }
|
|
369
369
|
});
|
|
370
370
|
Object.defineProperty(exports, "loadSkillDefinition", {
|
|
371
371
|
enumerable: true,
|
|
372
|
-
get: function () { return
|
|
372
|
+
get: function () { return chunkAT3N7SQK_cjs.loadSkillDefinition; }
|
|
373
373
|
});
|
|
374
374
|
Object.defineProperty(exports, "parseSkillMd", {
|
|
375
375
|
enumerable: true,
|
|
376
|
-
get: function () { return
|
|
376
|
+
get: function () { return chunkAT3N7SQK_cjs.parseSkillMd; }
|
|
377
377
|
});
|
|
378
378
|
Object.defineProperty(exports, "runGeneratedMCP", {
|
|
379
379
|
enumerable: true,
|
|
380
|
-
get: function () { return
|
|
380
|
+
get: function () { return chunkAT3N7SQK_cjs.runGeneratedMCP; }
|
|
381
381
|
});
|
|
382
382
|
Object.defineProperty(exports, "runMcpServer", {
|
|
383
383
|
enumerable: true,
|
|
384
|
-
get: function () { return
|
|
384
|
+
get: function () { return chunkAT3N7SQK_cjs.runMcpServer; }
|
|
385
385
|
});
|
|
386
386
|
Object.defineProperty(exports, "scan", {
|
|
387
387
|
enumerable: true,
|
|
388
|
-
get: function () { return
|
|
388
|
+
get: function () { return chunkAT3N7SQK_cjs.scan; }
|
|
389
389
|
});
|
|
390
390
|
Object.defineProperty(exports, "scanForTools", {
|
|
391
391
|
enumerable: true,
|
|
392
|
-
get: function () { return
|
|
392
|
+
get: function () { return chunkAT3N7SQK_cjs.scanForTools; }
|
|
393
393
|
});
|
|
394
394
|
Object.defineProperty(exports, "scanSkillResources", {
|
|
395
395
|
enumerable: true,
|
|
396
|
-
get: function () { return
|
|
396
|
+
get: function () { return chunkAT3N7SQK_cjs.scanSkillResources; }
|
|
397
397
|
});
|
|
398
398
|
Object.defineProperty(exports, "validateFrontmatter", {
|
|
399
399
|
enumerable: true,
|
|
400
|
-
get: function () { return
|
|
400
|
+
get: function () { return chunkAT3N7SQK_cjs.validateFrontmatter; }
|
|
401
401
|
});
|
|
402
402
|
Object.defineProperty(exports, "BudgetManager", {
|
|
403
403
|
enumerable: true,
|
|
404
|
-
get: function () { return
|
|
404
|
+
get: function () { return chunkAH4NI4GN_cjs.BudgetManager; }
|
|
405
405
|
});
|
|
406
406
|
Object.defineProperty(exports, "EventLog", {
|
|
407
407
|
enumerable: true,
|
|
408
|
-
get: function () { return
|
|
408
|
+
get: function () { return chunkAH4NI4GN_cjs.EventLog; }
|
|
409
409
|
});
|
|
410
410
|
Object.defineProperty(exports, "Metrics", {
|
|
411
411
|
enumerable: true,
|
|
412
|
-
get: function () { return
|
|
412
|
+
get: function () { return chunkAH4NI4GN_cjs.Metrics; }
|
|
413
413
|
});
|
|
414
414
|
Object.defineProperty(exports, "PTCRuntime", {
|
|
415
415
|
enumerable: true,
|
|
416
|
-
get: function () { return
|
|
416
|
+
get: function () { return chunkAH4NI4GN_cjs.PTCRuntime; }
|
|
417
417
|
});
|
|
418
418
|
Object.defineProperty(exports, "PolicyDeniedError", {
|
|
419
419
|
enumerable: true,
|
|
420
|
-
get: function () { return
|
|
420
|
+
get: function () { return chunkAH4NI4GN_cjs.PolicyDeniedError; }
|
|
421
421
|
});
|
|
422
422
|
Object.defineProperty(exports, "PolicyEngine", {
|
|
423
423
|
enumerable: true,
|
|
424
|
-
get: function () { return
|
|
424
|
+
get: function () { return chunkAH4NI4GN_cjs.PolicyEngine; }
|
|
425
425
|
});
|
|
426
426
|
Object.defineProperty(exports, "SchemaValidationError", {
|
|
427
427
|
enumerable: true,
|
|
428
|
-
get: function () { return
|
|
428
|
+
get: function () { return chunkAH4NI4GN_cjs.SchemaValidationError; }
|
|
429
429
|
});
|
|
430
430
|
Object.defineProperty(exports, "SchemaValidator", {
|
|
431
431
|
enumerable: true,
|
|
432
|
-
get: function () { return
|
|
432
|
+
get: function () { return chunkAH4NI4GN_cjs.SchemaValidator; }
|
|
433
433
|
});
|
|
434
434
|
Object.defineProperty(exports, "Tracing", {
|
|
435
435
|
enumerable: true,
|
|
436
|
-
get: function () { return
|
|
436
|
+
get: function () { return chunkAH4NI4GN_cjs.Tracing; }
|
|
437
437
|
});
|
|
438
438
|
Object.defineProperty(exports, "buildEvidence", {
|
|
439
439
|
enumerable: true,
|
|
440
|
-
get: function () { return
|
|
440
|
+
get: function () { return chunkAH4NI4GN_cjs.buildEvidence; }
|
|
441
441
|
});
|
|
442
442
|
Object.defineProperty(exports, "createLogger", {
|
|
443
443
|
enumerable: true,
|
|
444
|
-
get: function () { return
|
|
444
|
+
get: function () { return chunkAH4NI4GN_cjs.createLogger; }
|
|
445
445
|
});
|
|
446
446
|
Object.defineProperty(exports, "ensurePackageInCache", {
|
|
447
447
|
enumerable: true,
|
|
448
|
-
get: function () { return
|
|
448
|
+
get: function () { return chunkAH4NI4GN_cjs.ensurePackageInCache; }
|
|
449
449
|
});
|
|
450
450
|
Object.defineProperty(exports, "expandToolDescriptorsToRegistryNames", {
|
|
451
451
|
enumerable: true,
|
|
452
|
-
get: function () { return
|
|
452
|
+
get: function () { return chunkAH4NI4GN_cjs.expandToolDescriptorsToRegistryNames; }
|
|
453
453
|
});
|
|
454
454
|
Object.defineProperty(exports, "getPackageEntryPath", {
|
|
455
455
|
enumerable: true,
|
|
456
|
-
get: function () { return
|
|
456
|
+
get: function () { return chunkAH4NI4GN_cjs.getPackageEntryPath; }
|
|
457
457
|
});
|
|
458
458
|
Object.defineProperty(exports, "importFromCache", {
|
|
459
459
|
enumerable: true,
|
|
460
|
-
get: function () { return
|
|
460
|
+
get: function () { return chunkAH4NI4GN_cjs.importFromCache; }
|
|
461
461
|
});
|
|
462
462
|
Object.defineProperty(exports, "isNpmToolDescriptor", {
|
|
463
463
|
enumerable: true,
|
|
464
|
-
get: function () { return
|
|
464
|
+
get: function () { return chunkAH4NI4GN_cjs.isNpmToolDescriptor; }
|
|
465
465
|
});
|
|
466
466
|
Object.defineProperty(exports, "loadToolConfig", {
|
|
467
467
|
enumerable: true,
|
|
468
|
-
get: function () { return
|
|
468
|
+
get: function () { return chunkAH4NI4GN_cjs.loadToolConfig; }
|
|
469
469
|
});
|
|
470
470
|
Object.defineProperty(exports, "normalizeToolList", {
|
|
471
471
|
enumerable: true,
|
|
472
|
-
get: function () { return
|
|
472
|
+
get: function () { return chunkAH4NI4GN_cjs.normalizeToolList; }
|
|
473
473
|
});
|
|
474
474
|
Object.defineProperty(exports, "npmDescriptorToRegistryPrefix", {
|
|
475
475
|
enumerable: true,
|
|
476
|
-
get: function () { return
|
|
476
|
+
get: function () { return chunkAH4NI4GN_cjs.npmDescriptorToRegistryPrefix; }
|
|
477
477
|
});
|
|
478
478
|
Object.defineProperty(exports, "parseNpmToolDescriptor", {
|
|
479
479
|
enumerable: true,
|
|
480
|
-
get: function () { return
|
|
480
|
+
get: function () { return chunkAH4NI4GN_cjs.parseNpmToolDescriptor; }
|
|
481
481
|
});
|
|
482
482
|
Object.defineProperty(exports, "resolveNpmToolDescriptor", {
|
|
483
483
|
enumerable: true,
|
|
484
|
-
get: function () { return
|
|
484
|
+
get: function () { return chunkAH4NI4GN_cjs.resolveNpmToolDescriptor; }
|
|
485
485
|
});
|
|
486
486
|
Object.defineProperty(exports, "resolveToolDescriptor", {
|
|
487
487
|
enumerable: true,
|
|
488
|
-
get: function () { return
|
|
488
|
+
get: function () { return chunkAH4NI4GN_cjs.resolveToolDescriptor; }
|
|
489
489
|
});
|
|
490
490
|
Object.defineProperty(exports, "sanitizeForLog", {
|
|
491
491
|
enumerable: true,
|
|
492
|
-
get: function () { return
|
|
492
|
+
get: function () { return chunkAH4NI4GN_cjs.sanitizeForLog; }
|
|
493
493
|
});
|
|
494
494
|
Object.defineProperty(exports, "summarizeForLog", {
|
|
495
495
|
enumerable: true,
|
|
496
|
-
get: function () { return
|
|
496
|
+
get: function () { return chunkAH4NI4GN_cjs.summarizeForLog; }
|
|
497
497
|
});
|
|
498
498
|
Object.defineProperty(exports, "ToolRegistry", {
|
|
499
499
|
enumerable: true,
|
|
500
|
-
get: function () { return
|
|
500
|
+
get: function () { return chunkTOSPHMYU_cjs.ToolRegistry; }
|
|
501
501
|
});
|
|
502
502
|
Object.defineProperty(exports, "createTaggedError", {
|
|
503
503
|
enumerable: true,
|
|
504
|
-
get: function () { return
|
|
504
|
+
get: function () { return chunkTOSPHMYU_cjs.createTaggedError; }
|
|
505
505
|
});
|
|
506
506
|
Object.defineProperty(exports, "isRetryable", {
|
|
507
507
|
enumerable: true,
|
|
508
|
-
get: function () { return
|
|
508
|
+
get: function () { return chunkTOSPHMYU_cjs.isRetryable; }
|
|
509
509
|
});
|
|
510
510
|
Object.defineProperty(exports, "withRetry", {
|
|
511
511
|
enumerable: true,
|
|
512
|
-
get: function () { return
|
|
512
|
+
get: function () { return chunkTOSPHMYU_cjs.withRetry; }
|
|
513
513
|
});
|
|
514
514
|
Object.defineProperty(exports, "DEFAULT_INPUT_SCHEMA", {
|
|
515
515
|
enumerable: true,
|
|
516
|
-
get: function () { return
|
|
516
|
+
get: function () { return chunkDYDNPIV2_cjs.DEFAULT_INPUT_SCHEMA; }
|
|
517
517
|
});
|
|
518
518
|
Object.defineProperty(exports, "DEFAULT_OUTPUT_SCHEMA", {
|
|
519
519
|
enumerable: true,
|
|
520
|
-
get: function () { return
|
|
520
|
+
get: function () { return chunkDYDNPIV2_cjs.DEFAULT_OUTPUT_SCHEMA; }
|
|
521
521
|
});
|
|
522
522
|
Object.defineProperty(exports, "createToolSpec", {
|
|
523
523
|
enumerable: true,
|
|
524
|
-
get: function () { return
|
|
524
|
+
get: function () { return chunkDYDNPIV2_cjs.createToolSpec; }
|
|
525
525
|
});
|
|
526
526
|
Object.defineProperty(exports, "normalizeToolName", {
|
|
527
527
|
enumerable: true,
|
|
528
|
-
get: function () { return
|
|
528
|
+
get: function () { return chunkDYDNPIV2_cjs.normalizeToolName; }
|
|
529
529
|
});
|
|
530
530
|
exports.MCPClientAdapter = MCPClientAdapter;
|
|
531
531
|
exports.MCPProcessManager = MCPProcessManager;
|
package/dist/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { LangChainToolsHub, createAgentTools } from './chunk-
|
|
2
|
-
import { loadMCPTool } from './chunk-
|
|
3
|
-
export { DirectoryScanner, DiscoveryError, SkillManifestError, buildFunctionToTool, buildMcpPackage, initProject, loadMCPTool, loadSkillDefinition, parseSkillMd, runGeneratedMCP, runMcpServer, scan, scanForTools, scanSkillResources, validateFrontmatter } from './chunk-
|
|
4
|
-
import { MCP_KIND } from './chunk-
|
|
5
|
-
export { BudgetManager, EventLog, Metrics, PTCRuntime, PolicyDeniedError, PolicyEngine, SchemaValidationError, SchemaValidator, Tracing, buildEvidence, createLogger, ensurePackageInCache, expandToolDescriptorsToRegistryNames, getPackageEntryPath, importFromCache, isNpmToolDescriptor, loadToolConfig, normalizeToolList, npmDescriptorToRegistryPrefix, parseNpmToolDescriptor, resolveNpmToolDescriptor, resolveToolDescriptor, sanitizeForLog, summarizeForLog } from './chunk-
|
|
6
|
-
import { createTaggedError } from './chunk-
|
|
7
|
-
export { ToolRegistry, createTaggedError, isRetryable, withRetry } from './chunk-
|
|
8
|
-
import './chunk-
|
|
9
|
-
import { DEFAULT_OUTPUT_SCHEMA, DEFAULT_INPUT_SCHEMA } from './chunk-
|
|
10
|
-
export { DEFAULT_INPUT_SCHEMA, DEFAULT_OUTPUT_SCHEMA, createToolSpec, normalizeToolName } from './chunk-
|
|
1
|
+
export { LangChainToolsHub, createAgentTools } from './chunk-ZRDI2RKU.js';
|
|
2
|
+
import { loadMCPTool } from './chunk-BOMOGAFZ.js';
|
|
3
|
+
export { DirectoryScanner, DiscoveryError, SkillManifestError, buildFunctionToTool, buildMcpPackage, initProject, loadMCPTool, loadSkillDefinition, parseSkillMd, runGeneratedMCP, runMcpServer, scan, scanForTools, scanSkillResources, validateFrontmatter } from './chunk-BOMOGAFZ.js';
|
|
4
|
+
import { MCP_KIND } from './chunk-BPHY6UVK.js';
|
|
5
|
+
export { BudgetManager, EventLog, Metrics, PTCRuntime, PolicyDeniedError, PolicyEngine, SchemaValidationError, SchemaValidator, Tracing, buildEvidence, createLogger, ensurePackageInCache, expandToolDescriptorsToRegistryNames, getPackageEntryPath, importFromCache, isNpmToolDescriptor, loadToolConfig, normalizeToolList, npmDescriptorToRegistryPrefix, parseNpmToolDescriptor, resolveNpmToolDescriptor, resolveToolDescriptor, sanitizeForLog, summarizeForLog } from './chunk-BPHY6UVK.js';
|
|
6
|
+
import { createTaggedError } from './chunk-ZRHPGW7W.js';
|
|
7
|
+
export { ToolRegistry, createTaggedError, isRetryable, withRetry } from './chunk-ZRHPGW7W.js';
|
|
8
|
+
import './chunk-3MUOBLNB.js';
|
|
9
|
+
import { DEFAULT_OUTPUT_SCHEMA, DEFAULT_INPUT_SCHEMA } from './chunk-KDB3MY2H.js';
|
|
10
|
+
export { DEFAULT_INPUT_SCHEMA, DEFAULT_OUTPUT_SCHEMA, createToolSpec, normalizeToolName } from './chunk-KDB3MY2H.js';
|
|
11
11
|
import { lookup } from 'dns/promises';
|
|
12
12
|
import { resolve, normalize, dirname, basename, join } from 'path';
|
|
13
13
|
import { realpath, access } from 'fs/promises';
|
|
@@ -7,7 +7,7 @@ export { resolveEntryPoint } from "./resolveEntry.js";
|
|
|
7
7
|
export { loadToolConfig } from "./toolConfig.js";
|
|
8
8
|
export type { ToolYamlShape } from "./toolConfig.js";
|
|
9
9
|
export { mcpSpecToToolSpec } from "../mcp/mcpSpecToToolSpec.js";
|
|
10
|
-
export { isToolPath, parseToolPath, parsePackageVersion, formatToolPath,
|
|
10
|
+
export { isToolPath, parseToolPath, parsePackageVersion, formatToolPath, isNpmToolDescriptor, parseNpmToolDescriptor, resolveNpmToolDescriptor, resolveToolDescriptor, normalizeToolList, expandToolDescriptorsToRegistryNames, } from "./toolDescriptor.js";
|
|
11
11
|
export type { ToolPath, PackageVersion, NpmToolDescriptor } from "./toolDescriptor.js";
|
|
12
12
|
export { enrichSpecWithCanonicalSchema, isGenericSchema } from "./canonicalCoreSchemas.js";
|
|
13
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tools/util/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EACL,cAAc,EACd,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,YAAY,EACjB,KAAK,uBAAuB,EAC5B,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,WAAW,GACjB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,sBAAsB,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AACvE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EACL,UAAU,EACV,aAAa,EACb,mBAAmB,EACnB,cAAc,EACd,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tools/util/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EACL,cAAc,EACd,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,YAAY,EACjB,KAAK,uBAAuB,EAC5B,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,WAAW,GACjB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,sBAAsB,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AACvE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EACL,UAAU,EACV,aAAa,EACb,mBAAmB,EACnB,cAAc,EACd,mBAAmB,EACnB,sBAAsB,EACtB,wBAAwB,EACxB,qBAAqB,EACrB,iBAAiB,EACjB,oCAAoC,GACrC,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EAAE,QAAQ,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACvF,OAAO,EAAE,6BAA6B,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC"}
|
package/dist/utils/cli/index.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
require('../../chunk-
|
|
8
|
-
var
|
|
9
|
-
require('../../chunk-
|
|
4
|
+
var chunkAT3N7SQK_cjs = require('../../chunk-AT3N7SQK.cjs');
|
|
5
|
+
var chunkP2LVZGZ4_cjs = require('../../chunk-P2LVZGZ4.cjs');
|
|
6
|
+
var chunkAH4NI4GN_cjs = require('../../chunk-AH4NI4GN.cjs');
|
|
7
|
+
require('../../chunk-TOSPHMYU.cjs');
|
|
8
|
+
var chunk4KTWJQ32_cjs = require('../../chunk-4KTWJQ32.cjs');
|
|
9
|
+
require('../../chunk-DYDNPIV2.cjs');
|
|
10
10
|
var path = require('path');
|
|
11
11
|
var fs = require('fs');
|
|
12
12
|
var url = require('url');
|
|
@@ -24,10 +24,10 @@ async function getRuntimeWithTools(pathOpt, verbose = false) {
|
|
|
24
24
|
const stepLog = verbose ? (msg) => process.stderr.write(`[agent-tool] ${msg}
|
|
25
25
|
`) : void 0;
|
|
26
26
|
if (stepLog) stepLog(`Loading tool config from ${searchDir}`);
|
|
27
|
-
const config =
|
|
27
|
+
const config = chunkAH4NI4GN_cjs.findAndLoadToolConfig(searchDir);
|
|
28
28
|
let sandboxRoot = cwd;
|
|
29
29
|
if (config.sandboxedPath && typeof config.sandboxedPath === "string" && config.configPath) {
|
|
30
|
-
sandboxRoot =
|
|
30
|
+
sandboxRoot = chunkAH4NI4GN_cjs.resolveSandboxedPath(config.configPath, config.sandboxedPath);
|
|
31
31
|
}
|
|
32
32
|
if (stepLog) {
|
|
33
33
|
if (config.configPath) {
|
|
@@ -38,7 +38,7 @@ async function getRuntimeWithTools(pathOpt, verbose = false) {
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
const coreConfig = { sandboxRoot, allowedHosts: [] };
|
|
41
|
-
const result = await
|
|
41
|
+
const result = await chunkAH4NI4GN_cjs.createRuntimeFromConfig({
|
|
42
42
|
coreTools: coreConfig,
|
|
43
43
|
configFilePath: config.configPath,
|
|
44
44
|
stepLog
|
|
@@ -165,7 +165,7 @@ For agent run (ReAct + agent.yaml): npx @easynet/agent-orchestra run "task" -c a
|
|
|
165
165
|
}
|
|
166
166
|
async function cmdInit(pathOpt) {
|
|
167
167
|
try {
|
|
168
|
-
const { targetPath, filesCreated } = await
|
|
168
|
+
const { targetPath, filesCreated } = await chunkAT3N7SQK_cjs.initProject({ targetPath: pathOpt || void 0 });
|
|
169
169
|
process.stdout.write(`Initialized project at ${targetPath}
|
|
170
170
|
Created: ${filesCreated.join(", ")}
|
|
171
171
|
Next: npm install && npm run build
|
|
@@ -179,7 +179,7 @@ Next: npm install && npm run build
|
|
|
179
179
|
}
|
|
180
180
|
async function cmdBuild(pathOpt, outDir, include, includeN8n) {
|
|
181
181
|
try {
|
|
182
|
-
const result = await
|
|
182
|
+
const result = await chunkAT3N7SQK_cjs.buildMcpPackage({
|
|
183
183
|
projectPath: pathOpt || void 0,
|
|
184
184
|
outDir: outDir || void 0,
|
|
185
185
|
include: include.length > 0 ? include : void 0,
|
|
@@ -200,7 +200,7 @@ mcp.json: ${result.mcpJsonPath}
|
|
|
200
200
|
}
|
|
201
201
|
async function cmdServe(pathOpt) {
|
|
202
202
|
try {
|
|
203
|
-
const { process: child } = await
|
|
203
|
+
const { process: child } = await chunkAT3N7SQK_cjs.runMcpServer({ path: pathOpt || void 0 });
|
|
204
204
|
child.stdin?.pipe(process.stdin);
|
|
205
205
|
child.stdout?.pipe(process.stdout);
|
|
206
206
|
process.stdin?.unref();
|
|
@@ -218,7 +218,7 @@ var LS_DESC_MAX = 72;
|
|
|
218
218
|
function formatLsOutput(specs) {
|
|
219
219
|
const rows = specs.map((spec) => {
|
|
220
220
|
const { name } = parseToolName(spec.name);
|
|
221
|
-
const scope =
|
|
221
|
+
const scope = chunkAH4NI4GN_cjs.getDisplayScope(spec.name, spec.kind, spec.version);
|
|
222
222
|
const desc = (spec.description ?? "").replace(/\n/g, " ").trim().slice(0, LS_DESC_MAX);
|
|
223
223
|
return { scope, name, description: desc || "(no description)" };
|
|
224
224
|
});
|
|
@@ -245,7 +245,7 @@ function formatLsOutput(specs) {
|
|
|
245
245
|
}
|
|
246
246
|
function formatDescribeOutput(spec) {
|
|
247
247
|
const { name: localName } = parseToolName(spec.name);
|
|
248
|
-
const scope =
|
|
248
|
+
const scope = chunkAH4NI4GN_cjs.getDisplayScope(spec.name, spec.kind, spec.version);
|
|
249
249
|
const sections = [];
|
|
250
250
|
sections.push("\u250C\u2500 Tool");
|
|
251
251
|
sections.push(`\u2502 name: ${spec.name}`);
|
|
@@ -281,7 +281,7 @@ async function cmdLs(pathOpt, verbose = false) {
|
|
|
281
281
|
process.stdout.write("No tools registered.\n");
|
|
282
282
|
const cwd = process.cwd();
|
|
283
283
|
const searchDir = path__default.default.resolve(cwd, pathOpt ?? ".");
|
|
284
|
-
const config =
|
|
284
|
+
const config = chunkAH4NI4GN_cjs.findAndLoadToolConfig(searchDir);
|
|
285
285
|
const hasNpmTools = Array.isArray(config.tools) && config.tools.some((t) => typeof t === "string" && t.startsWith("npm:"));
|
|
286
286
|
if (hasNpmTools) {
|
|
287
287
|
process.stdout.write("Tip: Install builtin tools in this directory: npm init -y && npm install @easynet/agent-tool-buildin\n");
|
|
@@ -304,14 +304,14 @@ async function cmdDescribe(toolName, pathOpt, verbose = false) {
|
|
|
304
304
|
}
|
|
305
305
|
try {
|
|
306
306
|
const { registry } = await getRuntimeWithTools(pathOpt, verbose);
|
|
307
|
-
const registryName =
|
|
307
|
+
const registryName = chunkAH4NI4GN_cjs.resolveToolDescriptor(toolName.trim());
|
|
308
308
|
const spec = registry.get(registryName);
|
|
309
309
|
if (!spec) {
|
|
310
310
|
process.stderr.write(`Tool not found: ${toolName}
|
|
311
311
|
`);
|
|
312
312
|
return 1;
|
|
313
313
|
}
|
|
314
|
-
process.stdout.write(formatDescribeOutput(
|
|
314
|
+
process.stdout.write(formatDescribeOutput(chunk4KTWJQ32_cjs.enrichSpecWithCanonicalSchema(spec)) + "\n");
|
|
315
315
|
return 0;
|
|
316
316
|
} catch (err) {
|
|
317
317
|
process.stderr.write(`describe failed: ${err instanceof Error ? err.message : String(err)}
|
|
@@ -353,7 +353,7 @@ async function cmdRun(toolName, toolArgsJson, pathOpt, verbose = false) {
|
|
|
353
353
|
}
|
|
354
354
|
try {
|
|
355
355
|
const { runtime, registry } = await getRuntimeWithTools(pathOpt, verbose);
|
|
356
|
-
const registryName =
|
|
356
|
+
const registryName = chunkAH4NI4GN_cjs.resolveToolDescriptor(toolName.trim());
|
|
357
357
|
if (!registry.get(registryName)) {
|
|
358
358
|
process.stderr.write(`Tool not found: ${toolName}
|
|
359
359
|
`);
|
|
@@ -381,10 +381,10 @@ async function cmdStartMcp(pathOpt, verbose = false, stdio = false, port = 3e3,
|
|
|
381
381
|
try {
|
|
382
382
|
const { runtime } = await getRuntimeWithTools(pathOpt, verbose);
|
|
383
383
|
if (stdio) {
|
|
384
|
-
await
|
|
384
|
+
await chunkP2LVZGZ4_cjs.runMCPServerOverStdio(runtime);
|
|
385
385
|
return 0;
|
|
386
386
|
}
|
|
387
|
-
const streamable = await
|
|
387
|
+
const streamable = await chunkP2LVZGZ4_cjs.createMCPServerStreamableHttp(runtime, { port, host, path: "/mcp" });
|
|
388
388
|
const { url, port: actualPort } = await streamable.listen(port, host);
|
|
389
389
|
process.stdout.write(`MCP Streamable HTTP: ${url}
|
|
390
390
|
`);
|
|
@@ -400,7 +400,7 @@ async function cmdStartMcp(pathOpt, verbose = false, stdio = false, port = 3e3,
|
|
|
400
400
|
async function cmdStartHttp(port, host, pathOpt, verbose = false) {
|
|
401
401
|
try {
|
|
402
402
|
const { runtime } = await getRuntimeWithTools(pathOpt, verbose);
|
|
403
|
-
const http = await
|
|
403
|
+
const http = await chunkP2LVZGZ4_cjs.createHttpService(runtime);
|
|
404
404
|
const { port: actualPort, host: actualHost } = await http.listen({ port, host });
|
|
405
405
|
const base = `http://${actualHost}:${actualPort}`;
|
|
406
406
|
process.stdout.write(`API: ${base}/invoke (POST), ${base}/tools (GET)
|
package/dist/utils/cli/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { initProject, buildMcpPackage, runMcpServer } from '../../chunk-
|
|
3
|
-
import { runMCPServerOverStdio, createMCPServerStreamableHttp, createHttpService } from '../../chunk-
|
|
4
|
-
import { findAndLoadToolConfig, resolveToolDescriptor, resolveSandboxedPath, createRuntimeFromConfig, getDisplayScope } from '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
6
|
-
import { enrichSpecWithCanonicalSchema } from '../../chunk-
|
|
7
|
-
import '../../chunk-
|
|
2
|
+
import { initProject, buildMcpPackage, runMcpServer } from '../../chunk-BOMOGAFZ.js';
|
|
3
|
+
import { runMCPServerOverStdio, createMCPServerStreamableHttp, createHttpService } from '../../chunk-QP5FIRC2.js';
|
|
4
|
+
import { findAndLoadToolConfig, resolveToolDescriptor, resolveSandboxedPath, createRuntimeFromConfig, getDisplayScope } from '../../chunk-BPHY6UVK.js';
|
|
5
|
+
import '../../chunk-ZRHPGW7W.js';
|
|
6
|
+
import { enrichSpecWithCanonicalSchema } from '../../chunk-3MUOBLNB.js';
|
|
7
|
+
import '../../chunk-KDB3MY2H.js';
|
|
8
8
|
import path from 'path';
|
|
9
9
|
import { realpathSync } from 'fs';
|
|
10
10
|
import { fileURLToPath } from 'url';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@easynet/agent-tool",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.22",
|
|
4
4
|
"description": "MCP build: init → build → run. Turn your project (@tool, SKILL, n8n) into a standalone MCP npm server (no framework embedding, no package conflict).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunk6JWQVVL2_cjs = require('./chunk-6JWQVVL2.cjs');
|
|
4
|
-
require('./chunk-FGGTT32N.cjs');
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Object.defineProperty(exports, "CORE_TOOL_SCHEMAS", {
|
|
9
|
-
enumerable: true,
|
|
10
|
-
get: function () { return chunk6JWQVVL2_cjs.CORE_TOOL_SCHEMAS; }
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "enrichSpecWithCanonicalSchema", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () { return chunk6JWQVVL2_cjs.enrichSpecWithCanonicalSchema; }
|
|
15
|
-
});
|
|
16
|
-
Object.defineProperty(exports, "isGenericSchema", {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function () { return chunk6JWQVVL2_cjs.isGenericSchema; }
|
|
19
|
-
});
|
|
20
|
-
//# sourceMappingURL=canonicalCoreSchemas-K57HKGZJ.cjs.map
|
|
21
|
-
//# sourceMappingURL=canonicalCoreSchemas-K57HKGZJ.cjs.map
|