@dypai-ai/mcp 1.7.7 → 1.7.8

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@dypai-ai/mcp",
3
- "version": "1.7.7",
3
+ "version": "1.7.8",
4
4
  "description": "DYPAI MCP Server — AI agent toolkit for building and deploying full-stack apps",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -98,6 +98,16 @@ const BLOCKED = new Set([
98
98
 
99
99
  const ROOT_CONFIG_RE = /^(package\.json|package-lock\.json|pnpm-lock\.yaml|bun\.lockb|yarn\.lock|vite\.config|vitest\.config|tsconfig|tailwind\.config|postcss\.config|next\.config|vinext\.config|astro\.config|nuxt\.config|svelte\.config|remix\.config|gatsby-config|angular\.json|docusaurus\.config|wrangler\.toml|wrangler\.json|vercel\.json|netlify\.toml|turbo\.json|components\.json|uno\.config|eslint\.config|prettier\.config|jest\.config|playwright\.config|\.prettierrc|\.eslintrc|\.browserslistrc|\.nvmrc|\.node-version|index\.html)/
100
100
 
101
+ const ROOT_DYPAI_FILES = new Set([
102
+ "dypai/schema.sql",
103
+ "dypai/realtime.yaml",
104
+ "dypai/dypai.config.yaml",
105
+ "dypai/capability-catalog.json",
106
+ "dypai/capability-brief.md",
107
+ "dypai/node-catalog.json",
108
+ "dypai/README.md",
109
+ ])
110
+
101
111
  // ─── Helpers ────────────────────────────────────────────────────────────────
102
112
 
103
113
  function extOf(entry) {
@@ -203,12 +213,16 @@ function isAllowedRootDypaiSourcePath(path) {
203
213
  if (!path.startsWith("dypai/")) return true
204
214
  if (
205
215
  path.startsWith("dypai/flows/")
216
+ || path.startsWith("dypai/automations/")
206
217
  || path.startsWith("dypai/endpoints/")
207
218
  || path.startsWith("dypai/migrations/")
219
+ || path.startsWith("dypai/prompts/")
220
+ || path.startsWith("dypai/code/")
221
+ || path.startsWith("dypai/sql/")
208
222
  || path.startsWith("dypai/types/")
209
223
  || path.startsWith("dypai/lib/")
210
224
  ) return true
211
- return path === "dypai/schema.sql" || path === "dypai/realtime.yaml"
225
+ return ROOT_DYPAI_FILES.has(path)
212
226
  }
213
227
 
214
228
  function isSkippedRootDypaiDirectory(path) {