@massu/core 1.5.4 → 1.5.6

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.
@@ -13309,6 +13309,24 @@ init_parse_guard();
13309
13309
  // src/detect/adapters/swift-swiftui.ts
13310
13310
  init_parse_guard();
13311
13311
 
13312
+ // src/detect/adapters/python-flask.ts
13313
+ init_parse_guard();
13314
+
13315
+ // src/detect/adapters/go-chi.ts
13316
+ init_parse_guard();
13317
+
13318
+ // src/detect/adapters/rails.ts
13319
+ init_parse_guard();
13320
+
13321
+ // src/detect/adapters/phoenix.ts
13322
+ init_parse_guard();
13323
+
13324
+ // src/detect/adapters/aspnet.ts
13325
+ init_parse_guard();
13326
+
13327
+ // src/detect/adapters/spring.ts
13328
+ init_parse_guard();
13329
+
13312
13330
  // src/detect/codebase-introspector.ts
13313
13331
  function introspect(detection, projectRoot) {
13314
13332
  const out2 = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@massu/core",
3
- "version": "1.5.4",
3
+ "version": "1.5.6",
4
4
  "type": "module",
5
5
  "description": "AI Engineering Governance MCP Server - Session memory, knowledge system, feature registry, code intelligence, rule enforcement, tiered tooling (12 free / 72 total), 55+ workflow commands, 11 agents, 20+ patterns",
6
6
  "main": "src/server.ts",
@@ -15,7 +15,7 @@
15
15
  "start": "npx tsx src/server.ts",
16
16
  "test": "vitest run",
17
17
  "build": "tsc --noEmit && npm run build:cli && npm run build:hooks",
18
- "build:cli": "esbuild --bundle --platform=node --format=esm --outfile=dist/cli.js src/cli.ts --external:better-sqlite3 --external:yaml --external:zod --external:chokidar --external:proper-lockfile --external:fsevents --banner:js='#!/usr/bin/env node\nimport{createRequire as __cr}from\"module\";const require=__cr(import.meta.url);'",
18
+ "build:cli": "esbuild --bundle --platform=node --format=esm --outfile=dist/cli.js src/cli.ts --external:better-sqlite3 --external:yaml --external:zod --external:chokidar --external:proper-lockfile --external:fsevents --external:web-tree-sitter --external:tweetnacl --external:tar --external:smol-toml --external:vscode-languageserver-protocol --banner:js='#!/usr/bin/env node\nimport{createRequire as __cr}from\"module\";const require=__cr(import.meta.url);'",
19
19
  "build:hooks": "esbuild --bundle --platform=node --format=esm --outdir=dist/hooks src/hooks/*.ts --external:better-sqlite3 --external:yaml --external:zod --external:chokidar --external:proper-lockfile --external:fsevents --banner:js='import{createRequire as __cr}from\"module\";const require=__cr(import.meta.url);'",
20
20
  "prepublishOnly": "bash ../../scripts/prepublish-check.sh && node ../../scripts/bundle-pubkey.mjs && npm run build",
21
21
  "bench:watch": "tsx test/perf/watch-benchmark.ts"
@@ -48,6 +48,19 @@ import { pythonFastApiAdapter } from './adapters/python-fastapi.ts';
48
48
  import { pythonDjangoAdapter } from './adapters/python-django.ts';
49
49
  import { nextjsTrpcAdapter } from './adapters/nextjs-trpc.ts';
50
50
  import { swiftSwiftUiAdapter } from './adapters/swift-swiftui.ts';
51
+ // Plan 1.5.4 R-011 discovery: Phase 7 adapters were committed but never
52
+ // added to FIRST_PARTY_ADAPTERS. The omission was masked pre-1.5.4 by
53
+ // sampleFiles=[] (every adapter returned 'none' anyway). Now that the
54
+ // sampler works, these 6 adapters MUST be in the dispatch list or
55
+ // `npx massu init` against a Phase 7 project produces no detected.<id>:
56
+ // block (verified via debug instrumentation 2026-05-08 against the
57
+ // 1.5.4 published bundle).
58
+ import { pythonFlaskAdapter } from './adapters/python-flask.ts';
59
+ import { goChiAdapter } from './adapters/go-chi.ts';
60
+ import { railsAdapter } from './adapters/rails.ts';
61
+ import { phoenixAdapter } from './adapters/phoenix.ts';
62
+ import { aspnetAdapter } from './adapters/aspnet.ts';
63
+ import { springAdapter } from './adapters/spring.ts';
51
64
  import type { CodebaseAdapter, AdapterResolved } from './adapters/types.ts';
52
65
 
53
66
  // ============================================================
@@ -75,8 +88,14 @@ export interface DetectedConventions {
75
88
  const FIRST_PARTY_ADAPTERS: CodebaseAdapter[] = [
76
89
  pythonFastApiAdapter,
77
90
  pythonDjangoAdapter,
91
+ pythonFlaskAdapter,
78
92
  nextjsTrpcAdapter,
79
93
  swiftSwiftUiAdapter,
94
+ goChiAdapter,
95
+ railsAdapter,
96
+ phoenixAdapter,
97
+ aspnetAdapter,
98
+ springAdapter,
80
99
  ];
81
100
 
82
101
  // ============================================================
@@ -1,4 +1,4 @@
1
- // AUTO-GENERATED by scripts/bundle-pubkey.mjs at 2026-05-08T20:46:40.928Z.
1
+ // AUTO-GENERATED by scripts/bundle-pubkey.mjs at 2026-05-08T20:54:45.683Z.
2
2
  // Source pem: packages/core/security/registry-pubkey.pem
3
3
  // RAW-bytes sha256: 3b6226d036c472e533110d11a7d0cd2773ce1d7d4f1003517d5bd69c5418ed4c
4
4
  // DO NOT EDIT — regenerate via `node scripts/bundle-pubkey.mjs` or