@easynet/agent-tool 1.0.89 → 1.0.91

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.
Files changed (1) hide show
  1. package/package.json +6 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easynet/agent-tool",
3
- "version": "1.0.89",
3
+ "version": "1.0.91",
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",
@@ -13,12 +13,14 @@
13
13
  ".": {
14
14
  "types": "./dist/index.d.ts",
15
15
  "import": "./dist/index.js",
16
- "require": "./dist/index.cjs"
16
+ "require": "./dist/index.cjs",
17
+ "default": "./dist/index.js"
17
18
  },
18
19
  "./sdk": {
19
20
  "types": "./dist/sdk.d.ts",
20
21
  "import": "./dist/sdk.js",
21
- "require": "./dist/sdk.cjs"
22
+ "require": "./dist/sdk.cjs",
23
+ "default": "./dist/sdk.js"
22
24
  }
23
25
  },
24
26
  "files": [
@@ -31,7 +33,7 @@
31
33
  },
32
34
  "scripts": {
33
35
  "preinstall": "node -e \"const fs=require('fs'); const {execSync}=require('child_process'); if (fs.existsSync('scripts/resolve-deps.js')) { execSync('node scripts/resolve-deps.js', { stdio: 'inherit' }); } else { console.log('Skipping resolve-deps for published package'); }\"",
34
- "build": "npx tsup && npx tsc -p tsconfig.dts.json && (mkdir -p dist/templates && cp src/api/expose/mcp-build/templates/*.js dist/templates/ 2>/dev/null || true)",
36
+ "build": "npm run clean && npx tsup && npx tsc -p tsconfig.dts.json && (mkdir -p dist/templates && cp src/api/expose/mcp-build/templates/*.js dist/templates/ 2>/dev/null || true)",
35
37
  "build:ext": "node scripts/build-ext.mjs",
36
38
  "dev": "npx tsup --watch",
37
39
  "test": "npm run build && vitest run",