@dypai-ai/mcp 1.0.4 → 1.0.5

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/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@dypai-ai/mcp",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "DYPAI MCP Server — AI agent toolkit for building and deploying full-stack apps",
5
5
  "type": "module",
6
+ "main": "src/index.js",
6
7
  "bin": {
7
- "dypai-mcp": "./bin/cli.js"
8
+ "dypai-mcp": "src/index.js"
8
9
  },
9
10
  "files": [
10
- "bin/",
11
11
  "src/"
12
12
  ],
13
13
  "keywords": [
@@ -20,12 +20,12 @@
20
20
  */
21
21
 
22
22
  import { createInterface } from "readline"
23
- import { deployTool } from "./tools/deploy.mjs"
24
- import { scaffoldTool } from "./tools/scaffold.mjs"
25
- import { addDomainTool, listDomainsTool, removeDomainTool } from "./tools/domains.mjs"
26
- import { frontendStatusTool, buildStatusTool, listDeploymentsTool, getDeploymentLogsTool } from "./tools/status.mjs"
27
- import { bulkUpsertTool } from "./tools/bulk-upsert.mjs"
28
- import { proxyToolCall } from "./tools/proxy.mjs"
23
+ import { deployTool } from "./tools/deploy.js"
24
+ import { scaffoldTool } from "./tools/scaffold.js"
25
+ import { addDomainTool, listDomainsTool, removeDomainTool } from "./tools/domains.js"
26
+ import { frontendStatusTool, buildStatusTool, listDeploymentsTool, getDeploymentLogsTool } from "./tools/status.js"
27
+ import { bulkUpsertTool } from "./tools/bulk-upsert.js"
28
+ import { proxyToolCall } from "./tools/proxy.js"
29
29
 
30
30
  // ── Local tools (filesystem access) ─────────────────────────────────────────
31
31
 
@@ -9,7 +9,7 @@
9
9
 
10
10
  import { readFileSync, existsSync } from "fs"
11
11
  import { basename } from "path"
12
- import { proxyToolCall } from "./proxy.mjs"
12
+ import { proxyToolCall } from "./proxy.js"
13
13
 
14
14
  export const bulkUpsertTool = {
15
15
  name: "bulk_upsert",
@@ -8,11 +8,11 @@
8
8
 
9
9
  import { readFileSync, readdirSync, statSync, existsSync } from "fs"
10
10
  import { join, relative } from "path"
11
- import { api } from "../api.mjs"
11
+ import { api } from "../api.js"
12
12
 
13
13
  const MAX_SOURCE_SIZE = 50 * 1024 * 1024
14
14
  const IGNORE_DIRS = new Set(["node_modules", "dist", "build", "out", ".git", ".next", ".cache", ".turbo", ".vercel", ".output", "coverage"])
15
- const SOURCE_EXTS = new Set([".ts", ".tsx", ".js", ".jsx", ".mjs", ".cjs", ".css", ".scss", ".less", ".html", ".json", ".toml", ".yaml", ".yml", ".md", ".mdx", ".txt", ".svg", ".ico", ".webmanifest"])
15
+ const SOURCE_EXTS = new Set([".ts", ".tsx", ".js", ".jsx", ".js", ".cjs", ".css", ".scss", ".less", ".html", ".json", ".toml", ".yaml", ".yml", ".md", ".mdx", ".txt", ".svg", ".ico", ".webmanifest"])
16
16
  const IMAGE_EXTS = new Set([".png", ".jpg", ".jpeg", ".gif", ".webp", ".avif", ".ico", ".svg"])
17
17
  const BLOCKED = new Set([".env", ".env.local", ".env.production", ".env.development", ".DS_Store", "Thumbs.db"])
18
18
  const MAX_IMAGE = 2 * 1024 * 1024
@@ -2,7 +2,7 @@
2
2
  * Domain management tools — add, list, remove custom domains.
3
3
  */
4
4
 
5
- import { api } from "../api.mjs"
5
+ import { api } from "../api.js"
6
6
 
7
7
  export const addDomainTool = {
8
8
  name: "add_domain",
@@ -7,7 +7,7 @@
7
7
 
8
8
  import { writeFileSync, mkdirSync, existsSync } from "fs"
9
9
  import { join } from "path"
10
- import { api } from "../api.mjs"
10
+ import { api } from "../api.js"
11
11
 
12
12
  export const scaffoldTool = {
13
13
  name: "download_template",
@@ -2,7 +2,7 @@
2
2
  * Frontend status + build status tools.
3
3
  */
4
4
 
5
- import { api } from "../api.mjs"
5
+ import { api } from "../api.js"
6
6
 
7
7
  export const listDeploymentsTool = {
8
8
  name: "list_deployments",
package/bin/cli.js DELETED
@@ -1,2 +0,0 @@
1
- #!/usr/bin/env node
2
- import("../src/index.mjs");
File without changes
File without changes