nimai-mcp 0.3.0 → 0.3.2
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/LICENSE +21 -0
- package/dist/contract.d.ts.map +1 -1
- package/dist/contract.js +4 -2
- package/dist/contract.js.map +1 -1
- package/package.json +25 -12
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Balagopalaji
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/dist/contract.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../src/contract.ts"],"names":[],"mappings":"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,MAAM,YAAY,CAAC;AAIzD,eAAO,MAAM,cAAc;;;;;;;;;EAGzB,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;EAE3B,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;EAE7B,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;;EAExB,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;EAE/B,CAAC;AAIH,MAAM,WAAW,eAAe;IAC9B,+EAA+E;IAC/E,MAAM,EAAE,MAAM,CAAC;IACf,mDAAmD;IACnD,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,MAAM,EAAE,CAAC;CAClC;AAED,MAAM,WAAW,iBAAiB;IAChC,+EAA+E;IAC/E,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,cAAc;IAC7B,oDAAoD;IACpD,IAAI,EAAE,MAAM,CAAC;IACb,kCAAkC;IAClC,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,qBAAqB;IACpC;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAID,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwCnB,CAAC"}
|
package/dist/contract.js
CHANGED
|
@@ -51,7 +51,8 @@ exports.TOOL_DESCRIPTORS = {
|
|
|
51
51
|
nimai_validate: {
|
|
52
52
|
name: 'nimai_validate',
|
|
53
53
|
description: 'Lints a spec file for unresolved placeholder fields (___), [NEEDS HUMAN INPUT] flags, ' +
|
|
54
|
-
'
|
|
54
|
+
'missing required sections, and pre-checked acceptance criteria. Returns structured issues and a pass/fail result. ' +
|
|
55
|
+
'Run this after filling a spec and again after every fix — before calling nimai_spec_review.',
|
|
55
56
|
inputSchema: exports.ForgeValidateInput,
|
|
56
57
|
},
|
|
57
58
|
nimai_new: {
|
|
@@ -63,7 +64,8 @@ exports.TOOL_DESCRIPTORS = {
|
|
|
63
64
|
name: 'nimai_spec_review',
|
|
64
65
|
description: 'USE THIS BEFORE BUILDING: evaluates whether a draft spec is ready to hand to a builder. ' +
|
|
65
66
|
'Returns a Prompt 1.5 (spec-quality reviewer) — pass it to an LLM to get a {passed, issues} verdict. ' +
|
|
66
|
-
'
|
|
67
|
+
'Only call this after nimai_validate passes. ' +
|
|
68
|
+
'If passed=false, fix the spec directly using the issues list, re-run nimai_validate, then call this again — do NOT re-call nimai_spec. ' +
|
|
67
69
|
'For reviewing an implementation against an approved spec, use nimai_review instead.',
|
|
68
70
|
inputSchema: exports.ForgeSpecReviewInput,
|
|
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,sCAAsC,CAAC;IACrE,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,8CAA8C,CAAC;CACpF,CAAC,CAAC;AAEU,QAAA,gBAAgB,GAAG,OAAC,CAAC,MAAM,CAAC;IACvC,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,yCAAyC,CAAC;CACzE,CAAC,CAAC;AAEU,QAAA,kBAAkB,GAAG,OAAC,CAAC,MAAM,CAAC;IACzC,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,wCAAwC,CAAC;CACxE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p",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "Nimai MCP server — exposes nimai_spec, nimai_review, nimai_validate, nimai_new as tools. No internal LLM calls.",
|
|
5
|
-
"keywords": [
|
|
5
|
+
"keywords": [
|
|
6
|
+
"nimai",
|
|
7
|
+
"forge",
|
|
8
|
+
"mcp",
|
|
9
|
+
"model-context-protocol",
|
|
10
|
+
"ai",
|
|
11
|
+
"llm",
|
|
12
|
+
"specification",
|
|
13
|
+
"claude",
|
|
14
|
+
"codex"
|
|
15
|
+
],
|
|
6
16
|
"license": "MIT",
|
|
7
17
|
"repository": {
|
|
8
18
|
"type": "git",
|
|
9
19
|
"url": "https://github.com/Balagopalaji/nimai.git",
|
|
10
20
|
"directory": "packages/mcp"
|
|
11
21
|
},
|
|
12
|
-
"files": [
|
|
22
|
+
"files": [
|
|
23
|
+
"dist/",
|
|
24
|
+
"data/"
|
|
25
|
+
],
|
|
13
26
|
"main": "dist/index.js",
|
|
14
27
|
"types": "dist/index.d.ts",
|
|
15
28
|
"bin": {
|
|
16
29
|
"nimai-mcp": "dist/index.js"
|
|
17
30
|
},
|
|
18
|
-
"scripts": {
|
|
19
|
-
"build": "tsc",
|
|
20
|
-
"test": "vitest run",
|
|
21
|
-
"dev": "tsc --watch",
|
|
22
|
-
"clean": "rm -rf dist"
|
|
23
|
-
},
|
|
24
31
|
"devDependencies": {
|
|
25
32
|
"@types/node": "^22.0.0",
|
|
26
33
|
"typescript": "^5.4.5",
|
|
27
34
|
"vitest": "^1.6.0"
|
|
28
35
|
},
|
|
29
36
|
"dependencies": {
|
|
30
|
-
"nimai-core": "workspace:*",
|
|
31
37
|
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
32
|
-
"zod": "^3.23.8"
|
|
38
|
+
"zod": "^3.23.8",
|
|
39
|
+
"nimai-core": "0.3.2"
|
|
40
|
+
},
|
|
41
|
+
"scripts": {
|
|
42
|
+
"build": "tsc",
|
|
43
|
+
"test": "vitest run",
|
|
44
|
+
"dev": "tsc --watch",
|
|
45
|
+
"clean": "rm -rf dist"
|
|
33
46
|
}
|
|
34
|
-
}
|
|
47
|
+
}
|