@stackwright-pro/mcp 0.2.0-alpha.79 → 0.2.0-alpha.80

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/server.mjs CHANGED
@@ -2339,6 +2339,8 @@ import { WorkflowFileSchema, authConfigSchema } from "@stackwright-pro/types";
2339
2339
  var PHASE_ORDER = [
2340
2340
  "designer",
2341
2341
  "theme",
2342
+ "scaffold",
2343
+ // generates app/ directory from config
2342
2344
  "api",
2343
2345
  "data",
2344
2346
  "geo",
@@ -2352,6 +2354,8 @@ var PHASE_ORDER = [
2352
2354
  var PHASE_DEPENDENCIES = {
2353
2355
  designer: [],
2354
2356
  theme: ["designer"],
2357
+ scaffold: ["designer", "theme"],
2358
+ // needs stackwright.yml + theme-tokens
2355
2359
  api: [],
2356
2360
  data: ["api"],
2357
2361
  geo: ["data"],
@@ -2367,8 +2371,8 @@ var PHASE_DEPENDENCIES = {
2367
2371
  // — page/dashboard otters see which page slugs are already claimed and
2368
2372
  // won't attempt to overwrite them (swp-73c). 'api' is still transitive
2369
2373
  // through 'data'; auth removed — page-otter has graceful fallback.
2370
- pages: ["designer", "theme", "data", "services", "geo"],
2371
- dashboard: ["designer", "theme", "data", "services", "geo"],
2374
+ pages: ["designer", "theme", "data", "services", "geo", "scaffold"],
2375
+ dashboard: ["designer", "theme", "data", "services", "geo", "scaffold"],
2372
2376
  // auth is the penultimate phase — runs after all content-producing phases
2373
2377
  // so it can read pages, dashboard, workflow, and geo artifacts for route
2374
2378
  // protection and RBAC wiring. Skipped upstream phases still satisfy deps
@@ -2381,6 +2385,7 @@ var PHASE_DEPENDENCIES = {
2381
2385
  var PHASE_ARTIFACT = {
2382
2386
  designer: "design-language.json",
2383
2387
  theme: "theme-tokens.json",
2388
+ scaffold: "scaffold-manifest.json",
2384
2389
  api: "api-config.json",
2385
2390
  auth: "auth-config.json",
2386
2391
  data: "data-config.json",
@@ -2394,6 +2399,7 @@ var PHASE_ARTIFACT = {
2394
2399
  var PHASE_TO_OTTER2 = {
2395
2400
  designer: "stackwright-pro-designer-otter",
2396
2401
  theme: "stackwright-pro-theme-otter",
2402
+ scaffold: "stackwright-pro-scaffold-otter",
2397
2403
  api: "stackwright-pro-api-otter",
2398
2404
  auth: "stackwright-pro-auth-otter",
2399
2405
  data: "stackwright-pro-data-otter",
@@ -3530,6 +3536,14 @@ var OTTER_WRITE_ALLOWLISTS = {
3530
3536
  { prefix: "workflows/", suffix: ".yaml", description: "Workflow definition" },
3531
3537
  { prefix: ".stackwright/artifacts/", suffix: ".json", description: "Workflow config" }
3532
3538
  ],
3539
+ "stackwright-pro-scaffold-otter": [
3540
+ { prefix: "app/", suffix: ".tsx", description: "Next.js App Router shell files" },
3541
+ {
3542
+ prefix: ".stackwright/artifacts/",
3543
+ suffix: ".json",
3544
+ description: "Scaffold manifest artifact"
3545
+ }
3546
+ ],
3533
3547
  "stackwright-pro-api-otter": [
3534
3548
  { prefix: ".stackwright/artifacts/", suffix: ".json", description: "API config artifact" }
3535
3549
  ],
@@ -4845,6 +4859,10 @@ var _checksums = /* @__PURE__ */ new Map([
4845
4859
  "stackwright-pro-polish-otter.json",
4846
4860
  "e5f88d054dd536646f48e5d47cbd64f825f493100002309b90c912fa69ef279e"
4847
4861
  ],
4862
+ [
4863
+ "stackwright-pro-scaffold-otter.json",
4864
+ "c9950a34cc6a729a2ad22a4052afc3d7f9b033fe390d9edba4014b76e1d076b6"
4865
+ ],
4848
4866
  [
4849
4867
  "stackwright-pro-theme-otter.json",
4850
4868
  "532d9ca7db6911a09ce5029a8c74c89360bdf6cb8ede8c2636866b509cbe06f9"
@@ -6012,7 +6030,7 @@ var package_default = {
6012
6030
  "test:coverage": "vitest run --coverage"
6013
6031
  },
6014
6032
  name: "@stackwright-pro/mcp",
6015
- version: "0.2.0-alpha.79",
6033
+ version: "0.2.0-alpha.80",
6016
6034
  description: "MCP tools for Stackwright Pro - Data Explorer, Security, ISR, and Dashboard generation",
6017
6035
  license: "SEE LICENSE IN LICENSE",
6018
6036
  main: "./dist/server.js",