@easynet/agent-tool 1.0.91 → 1.0.92

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.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"log.d.ts","sourceRoot":"","sources":["../../src/utils/log.ts"],"names":[],"mappings":"AAAA,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,SAAM,GAAG,MAAM,CAiBpE"}
@@ -1,2 +1,11 @@
1
- export { ensurePackageInCache, getPackageEntryPath, importFromCache, resolveLatestVersionFromRegistry, type EnsurePackageInCacheOptions, } from "@easynet/agent-common/npm";
1
+ import { resolveLatestVersionFromRegistry } from "./npmVersion.js";
2
+ export interface EnsurePackageInCacheOptions {
3
+ cacheBase?: string;
4
+ cwd?: string;
5
+ afterInstall?: (cacheDir: string, packageName: string) => void;
6
+ }
7
+ export declare function ensurePackageInCache(packageName: string, version?: string, options?: EnsurePackageInCacheOptions): string;
8
+ export declare function getPackageEntryPath(packageRoot: string): string;
9
+ export declare function importFromCache(packageRoot: string): Promise<unknown>;
10
+ export { resolveLatestVersionFromRegistry };
2
11
  //# sourceMappingURL=npmCache.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"npmCache.d.ts","sourceRoot":"","sources":["../../src/utils/npmCache.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,mBAAmB,EACnB,eAAe,EACf,gCAAgC,EAChC,KAAK,2BAA2B,GACjC,MAAM,2BAA2B,CAAC"}
1
+ {"version":3,"file":"npmCache.d.ts","sourceRoot":"","sources":["../../src/utils/npmCache.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,gCAAgC,EAAE,MAAM,iBAAiB,CAAC;AAEnE,MAAM,WAAW,2BAA2B;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;CAChE;AA+BD,wBAAgB,oBAAoB,CAClC,WAAW,EAAE,MAAM,EACnB,OAAO,SAAW,EAClB,OAAO,GAAE,2BAAgC,GACxC,MAAM,CA+ER;AAED,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAQ/D;AAED,wBAAsB,eAAe,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAI3E;AAED,OAAO,EAAE,gCAAgC,EAAE,CAAC"}
@@ -0,0 +1,10 @@
1
+ export interface ResolveNpmVersionOptions {
2
+ cwd?: string;
3
+ timeoutMs?: number;
4
+ }
5
+ export declare function resolveNpmPackageVersion(packageName: string, tag?: string, options?: ResolveNpmVersionOptions): string | null;
6
+ export declare function resolveLatestVersionFromRegistry(packageName: string, options?: ResolveNpmVersionOptions): string;
7
+ export declare function getInstalledVersion(packageName: string, options?: {
8
+ cwd?: string;
9
+ }): string | null;
10
+ //# sourceMappingURL=npmVersion.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"npmVersion.d.ts","sourceRoot":"","sources":["../../src/utils/npmVersion.ts"],"names":[],"mappings":"AAYA,MAAM,WAAW,wBAAwB;IACvC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,wBAAwB,CACtC,WAAW,EAAE,MAAM,EACnB,GAAG,CAAC,EAAE,MAAM,EACZ,OAAO,GAAE,wBAA6B,GACrC,MAAM,GAAG,IAAI,CAuBf;AAED,wBAAgB,gCAAgC,CAC9C,WAAW,EAAE,MAAM,EACnB,OAAO,GAAE,wBAA6B,GACrC,MAAM,CAMR;AAED,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,GAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAO,GAAG,MAAM,GAAG,IAAI,CAmBtG"}
@@ -0,0 +1,2 @@
1
+ export declare function overrideWithConfig<T extends Record<string, unknown>>(defaults: T, config: unknown): T;
2
+ //# sourceMappingURL=overrideWithConfig.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"overrideWithConfig.d.ts","sourceRoot":"","sources":["../../src/utils/overrideWithConfig.ts"],"names":[],"mappings":"AAAA,wBAAgB,kBAAkB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAClE,QAAQ,EAAE,CAAC,EACX,MAAM,EAAE,OAAO,GACd,CAAC,CAcH"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easynet/agent-tool",
3
- "version": "1.0.91",
3
+ "version": "1.0.92",
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",