nimai-mcp 0.5.7 → 0.5.9
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/contract.d.ts.map +1 -1
- package/dist/contract.js +9 -7
- package/dist/contract.js.map +1 -1
- package/package.json +3 -3
package/dist/contract.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../src/contract.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAI5C,eAAO,MAAM,cAAc;;;;;;;;;EAGzB,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;EAE7B,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;EAM3B,CAAC;AAIH,MAAM,WAAW,eAAe;IAC9B,oFAAoF;IACpF,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,oDAAoD;IACpD,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,iBAAiB;IAChC,iEAAiE;IACjE,cAAc,EAAE,MAAM,CAAC;CACxB;AAID,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../src/contract.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAI5C,eAAO,MAAM,cAAc;;;;;;;;;EAGzB,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;EAE7B,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;EAM3B,CAAC;AAIH,MAAM,WAAW,eAAe;IAC9B,oFAAoF;IACpF,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,oDAAoD;IACpD,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,iBAAiB;IAChC,iEAAiE;IACjE,cAAc,EAAE,MAAM,CAAC;CACxB;AAID,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyCnB,CAAC"}
|
package/dist/contract.js
CHANGED
|
@@ -41,7 +41,7 @@ exports.TOOL_DESCRIPTORS = {
|
|
|
41
41
|
'PHASE 1: explore the repo with your own tools. ' +
|
|
42
42
|
'PHASE 2: ask the user 5–8 specific clarifying questions, then choose the tier (lite or full). ' +
|
|
43
43
|
'PHASE 3: fill the embedded tier template completely. ' +
|
|
44
|
-
'PHASE 4: run nimai_validate, then nimai_review with target "spec" in a
|
|
44
|
+
'PHASE 4: run nimai_validate, then nimai_review with target "spec" in a separate sub-agent (or fresh session if sub-agents are unavailable), iterate until verdict passes. ' +
|
|
45
45
|
'Scope boundary: Nimai defines spec quality contracts only — it does not orchestrate runtime execution, retries, or agent routing.',
|
|
46
46
|
inputSchema: exports.ForgeSpecInput,
|
|
47
47
|
},
|
|
@@ -50,9 +50,9 @@ exports.TOOL_DESCRIPTORS = {
|
|
|
50
50
|
description: 'Lints a spec file for structural issues: blank placeholders, missing required sections (tier-aware), ' +
|
|
51
51
|
'pre-checked acceptance criteria, and unresolved convergence. Returns structured issues and a pass/fail result. ' +
|
|
52
52
|
'Run this after filling a spec and again after every fix iteration. ' +
|
|
53
|
-
'When passed: true, proceed to nimai_review with target "spec"
|
|
54
|
-
'the drafter must not review its own spec. ' +
|
|
55
|
-
'When re-validating after reviewer feedback:
|
|
53
|
+
'When passed: true, proceed to nimai_review with target "spec" run as a separate sub-agent (or fresh session if sub-agents are unavailable) — ' +
|
|
54
|
+
'the drafter must not review its own spec in its own context. ' +
|
|
55
|
+
'When re-validating after reviewer feedback: run the re-review as a new sub-agent or fresh session; ' +
|
|
56
56
|
'do not continue the existing reviewer conversation.',
|
|
57
57
|
inputSchema: exports.ForgeValidateInput,
|
|
58
58
|
},
|
|
@@ -61,9 +61,11 @@ exports.TOOL_DESCRIPTORS = {
|
|
|
61
61
|
description: 'Returns a reviewer prompt for the spec at specPath. ' +
|
|
62
62
|
'target="spec": returns the Spec-Quality Reviewer (Prompt 1.5) — use BEFORE building to evaluate spec quality. ' +
|
|
63
63
|
'target="implementation": returns the Implementation Reviewer (Prompt 2) — use AFTER building to check whether the implementation satisfies the spec. ' +
|
|
64
|
-
'The returned prompt must be evaluated by an independent reviewer
|
|
65
|
-
'not the same agent that drafted the spec or built the implementation. ' +
|
|
66
|
-
'
|
|
64
|
+
'The returned prompt must be evaluated by an independent reviewer with a clean context — ' +
|
|
65
|
+
'not the same agent (or context) that drafted the spec or built the implementation. ' +
|
|
66
|
+
'If the host supports sub-agents (a Task/agent tool), run the review as a separate sub-agent given only the spec and this prompt — that is the required way to get an independent reviewer; otherwise ask the user for a fresh session. ' +
|
|
67
|
+
'A sub-agent shares the drafter’s model and blind spots, so prefer a different or more capable model for the review when one is reachable. ' +
|
|
68
|
+
'Every re-review is a fresh evaluation: new sub-agent or conversation, no reuse of prior verdict context.',
|
|
67
69
|
inputSchema: exports.ForgeReviewInput,
|
|
68
70
|
},
|
|
69
71
|
};
|
package/dist/contract.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract.js","sourceRoot":"","sources":["../src/contract.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;AAEH,6BAAwB;AAGxB,iFAAiF;AAEpE,QAAA,cAAc,GAAG,OAAC,CAAC,MAAM,CAAC;IACrC,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,s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AAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,wCAAwC,CAAC;CACxE,CAAC,CAAC;AAEU,QAAA,gBAAgB,GAAG,OAAC,CAAC,MAAM,CAAC;IACvC,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,gCAAgC,CAAC;IAC/D,MAAM,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC,CAAC,QAAQ,CACjD,uEAAuE;QACvE,oFAAoF,CACrF;CACF,CAAC,CAAC;AAoBH,iFAAiF;AAEpE,QAAA,gBAAgB,GAAG;IAC9B,UAAU,EAAE;QACV,IAAI,EAAE,YAAY;QAClB,WAAW,EACT,sGAAsG;YACtG,oFAAoF;YACpF,sGAAsG;YACtG,uJAAuJ;YACvJ,qEAAqE;YACrE,iDAAiD;YACjD,gGAAgG;YAChG,uDAAuD;YACvD,4KAA4K;YAC5K,mIAAmI;QACrI,WAAW,EAAE,sBAAc;KAC5B;IACD,cAAc,EAAE;QACd,IAAI,EAAE,gBAAgB;QACtB,WAAW,EACT,uGAAuG;YACvG,iHAAiH;YACjH,qEAAqE;YACrE,+IAA+I;YAC/I,+DAA+D;YAC/D,qGAAqG;YACrG,qDAAqD;QACvD,WAAW,EAAE,0BAAkB;KAChC;IACD,YAAY,EAAE;QACZ,IAAI,EAAE,cAAc;QACpB,WAAW,EACT,sDAAsD;YACtD,gHAAgH;YAChH,uJAAuJ;YACvJ,0FAA0F;YAC1F,qFAAqF;YACrF,yOAAyO;YACzO,4IAA4I;YAC5I,0GAA0G;QAC5G,WAAW,EAAE,wBAAgB;KAC9B;CACO,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nimai-mcp",
|
|
3
|
-
"version": "0.5.
|
|
4
|
-
"description": "Nimai MCP server — exposes nimai_spec, nimai_review, nimai_validate
|
|
3
|
+
"version": "0.5.9",
|
|
4
|
+
"description": "Nimai MCP server — exposes nimai_spec, nimai_review, and nimai_validate as tools. No internal LLM calls.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"nimai",
|
|
7
7
|
"forge",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
38
38
|
"zod": "^3.23.8",
|
|
39
|
-
"nimai-core": "0.5.
|
|
39
|
+
"nimai-core": "0.5.9"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"build": "tsc",
|