@massu/core 1.15.3 → 1.15.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/CHANGELOG.md +81 -2
- package/commands/massu-golden-path.md +50 -7
- package/dist/cli.js +6093 -1722
- package/dist/embedder/MODEL-LICENSE +221 -0
- package/dist/embedder/model_quantized.onnx +0 -0
- package/dist/embedder/vocab.txt +30522 -0
- package/dist/hooks/auto-learning-pipeline.js +3145 -411
- package/dist/hooks/classify-failure.js +2399 -420
- package/dist/hooks/cost-tracker.js +2558 -410
- package/dist/hooks/fix-detector.js +3151 -417
- package/dist/hooks/incident-pipeline.js +2372 -420
- package/dist/hooks/intent-suggester.js +3318 -4
- package/dist/hooks/memory-recall.js +3889 -0
- package/dist/hooks/post-edit-context.js +3101 -401
- package/dist/hooks/post-tool-use.js +2802 -515
- package/dist/hooks/pre-compact.js +2401 -428
- package/dist/hooks/pre-delete-check.js +3106 -407
- package/dist/hooks/pre-tool-use-gate.js +3484 -702
- package/dist/hooks/quality-event.js +2558 -410
- package/dist/hooks/rule-enforcement-pipeline.js +3140 -406
- package/dist/hooks/security-gate.js +3377 -47
- package/dist/hooks/session-end.js +3402 -431
- package/dist/hooks/session-start.js +12572 -8985
- package/dist/hooks/user-prompt.js +2407 -444
- package/docs/AUTHORING-ADAPTERS.md +1 -1
- package/docs/SECURITY.md +2 -2
- package/package.json +7 -5
|
@@ -123,7 +123,7 @@ manifest entry.
|
|
|
123
123
|
## Submitting a REGISTRY-VERIFIED adapter
|
|
124
124
|
|
|
125
125
|
Adapter packages are added to the signed registry manifest by the Massu
|
|
126
|
-
maintainer
|
|
126
|
+
maintainer via PR review. The flow:
|
|
127
127
|
|
|
128
128
|
1. Author your package per the Quickstart above.
|
|
129
129
|
2. Publish to npm: `npm publish --access public`.
|
package/docs/SECURITY.md
CHANGED
|
@@ -96,7 +96,7 @@ signature. The PR-to-manifest flow is documented in
|
|
|
96
96
|
[`AUTHORING-ADAPTERS.md`](./AUTHORING-ADAPTERS.md) under "Submitting a
|
|
97
97
|
REGISTRY-VERIFIED adapter."
|
|
98
98
|
|
|
99
|
-
The maintainer
|
|
99
|
+
The maintainer holds the signing key in macOS
|
|
100
100
|
Keychain at `massu/registry/signing/private`. A backup maintainer
|
|
101
101
|
documented in this file's "Succession" section below is the single-
|
|
102
102
|
point-of-failure mitigation.
|
|
@@ -216,7 +216,7 @@ mid-flight stops both new records AND any pending replay.
|
|
|
216
216
|
|
|
217
217
|
## Succession
|
|
218
218
|
|
|
219
|
-
The npm `@massu` org is
|
|
219
|
+
The npm `@massu` org is owned by the maintainer. Backup
|
|
220
220
|
maintainer assignment (open action — required before Phase 9
|
|
221
221
|
publish per the canonical plan): a second account must hold
|
|
222
222
|
`Maintainer` role on the `@massu` org so deprecate / unpublish capability
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@massu/core",
|
|
3
|
-
"version": "1.15.
|
|
3
|
+
"version": "1.15.5",
|
|
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 / 73 total), 56 workflow commands, 11 agents, 20+ patterns",
|
|
6
6
|
"main": "./dist/cli.js",
|
|
@@ -23,13 +23,14 @@
|
|
|
23
23
|
"scripts": {
|
|
24
24
|
"start": "npx tsx src/server.ts",
|
|
25
25
|
"test": "vitest run",
|
|
26
|
-
"build": "tsc --noEmit && npm run build:cli && npm run build:hooks && npm run build:adapter-types && npm run build:adapter-subpath && npm run build:bundle-adapters",
|
|
26
|
+
"build": "tsc --noEmit && npm run build:cli && npm run build:hooks && npm run build:assets && npm run build:adapter-types && npm run build:adapter-subpath && npm run build:bundle-adapters",
|
|
27
|
+
"build:assets": "node scripts/copy-embedder-assets.mjs",
|
|
27
28
|
"build:adapter-types": "tsc -p tsconfig.adapter-types.json",
|
|
28
29
|
"build:adapter-subpath": "tsx scripts/bundle-adapters.ts --subpath-only",
|
|
29
30
|
"build:bundle-adapters": "tsx scripts/bundle-adapters.ts",
|
|
30
|
-
"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 --external:@massu/adapter-rails --external:@massu/adapter-spring --banner:js='#!/usr/bin/env node\nimport{createRequire as __cr}from\"module\";const require=__cr(import.meta.url);'",
|
|
31
|
-
"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 --external:web-tree-sitter --external:tweetnacl --external:tar --external:smol-toml --external:vscode-languageserver-protocol --external:@massu/adapter-rails --external:@massu/adapter-spring --banner:js='import{createRequire as __cr}from\"module\";const require=__cr(import.meta.url);'",
|
|
32
|
-
"prepublishOnly": "bash ../../scripts/prepublish-check.sh && node ../../scripts/bundle-pubkey.mjs && node ../../scripts/bundle-license-pubkey.mjs && node ../../scripts/bundle-promotion-pubkey.mjs && node ../../scripts/bundle-audit-export-pubkey.mjs && cp ../../CHANGELOG.md ./CHANGELOG.md && npm run build",
|
|
31
|
+
"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 --external:onnxruntime-web --external:@massu/adapter-rails --external:@massu/adapter-spring --banner:js='#!/usr/bin/env node\nimport{createRequire as __cr}from\"module\";const require=__cr(import.meta.url);'",
|
|
32
|
+
"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 --external:web-tree-sitter --external:tweetnacl --external:tar --external:smol-toml --external:vscode-languageserver-protocol --external:onnxruntime-web --external:@massu/adapter-rails --external:@massu/adapter-spring --banner:js='import{createRequire as __cr}from\"module\";const require=__cr(import.meta.url);'",
|
|
33
|
+
"prepublishOnly": "bash ../../scripts/prepublish-check.sh && node ../../scripts/bundle-pubkey.mjs && node ../../scripts/bundle-license-pubkey.mjs && node ../../scripts/bundle-promotion-pubkey.mjs && node ../../scripts/bundle-audit-export-pubkey.mjs && cp ../../CHANGELOG.md ./CHANGELOG.md && npm run build && bash ../../scripts/npm-publish-guard.sh",
|
|
33
34
|
"bench:watch": "tsx test/perf/watch-benchmark.ts"
|
|
34
35
|
},
|
|
35
36
|
"dependencies": {
|
|
@@ -40,6 +41,7 @@
|
|
|
40
41
|
"better-sqlite3": "^12.11.1",
|
|
41
42
|
"chokidar": "^3.6.0",
|
|
42
43
|
"fast-glob": "^3.3.0",
|
|
44
|
+
"onnxruntime-web": "^1.27.0",
|
|
43
45
|
"proper-lockfile": "^4.1.2",
|
|
44
46
|
"smol-toml": "^1.3.0",
|
|
45
47
|
"tar": "^7.4.3",
|