@massu/core 1.9.2 → 1.9.3
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/cli.js +1 -1
- package/package.json +1 -1
- package/src/license.ts +5 -2
- package/src/security/registry-pubkey.generated.ts +1 -1
- package/src/tools.ts +1 -1
package/dist/cli.js
CHANGED
|
@@ -14069,7 +14069,7 @@ function annotateToolDefinitions(defs) {
|
|
|
14069
14069
|
const label = TIER_LABELS[tier];
|
|
14070
14070
|
return {
|
|
14071
14071
|
...def,
|
|
14072
|
-
tier,
|
|
14072
|
+
annotations: { ...def.annotations ?? {}, tier },
|
|
14073
14073
|
description: label ? `${label}${def.description}` : def.description
|
|
14074
14074
|
};
|
|
14075
14075
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@massu/core",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.3",
|
|
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",
|
package/src/license.ts
CHANGED
|
@@ -188,7 +188,10 @@ const TIER_LABELS: Record<ToolTier, string> = {
|
|
|
188
188
|
|
|
189
189
|
/**
|
|
190
190
|
* Annotate tool definitions with tier labels in descriptions.
|
|
191
|
-
*
|
|
191
|
+
* Stores the structured tier under `annotations.tier` (MCP-spec-sanctioned
|
|
192
|
+
* extension point) — never as a top-level field, which violates the
|
|
193
|
+
* canonical Tool schema (schema/2025-11-25/schema.ts line 1251) and is
|
|
194
|
+
* silently rejected by Claude Code 2.1.143+ (massu-ai/massu#4).
|
|
192
195
|
* Free tools get no label prefix.
|
|
193
196
|
*/
|
|
194
197
|
export function annotateToolDefinitions(defs: ToolDefinition[]): ToolDefinition[] {
|
|
@@ -197,7 +200,7 @@ export function annotateToolDefinitions(defs: ToolDefinition[]): ToolDefinition[
|
|
|
197
200
|
const label = TIER_LABELS[tier];
|
|
198
201
|
return {
|
|
199
202
|
...def,
|
|
200
|
-
tier,
|
|
203
|
+
annotations: { ...(def.annotations ?? {}), tier },
|
|
201
204
|
description: label ? `${label}${def.description}` : def.description,
|
|
202
205
|
};
|
|
203
206
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// AUTO-GENERATED by scripts/bundle-pubkey.mjs at 2026-05-
|
|
1
|
+
// AUTO-GENERATED by scripts/bundle-pubkey.mjs at 2026-05-16T02:54:04.271Z.
|
|
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
|
package/src/tools.ts
CHANGED