nimai-cli 0.2.1 → 0.3.0
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/commands/resolve-spec.d.ts +8 -0
- package/dist/commands/resolve-spec.d.ts.map +1 -0
- package/dist/commands/resolve-spec.js +88 -0
- package/dist/commands/resolve-spec.js.map +1 -0
- package/dist/index.js +13 -9
- package/dist/index.js.map +1 -1
- package/package.json +13 -27
- package/LICENSE +0 -21
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Resolve a spec path: use provided path, or auto-discover from cwd.
|
|
3
|
+
* - 1 spec found → use it automatically (print which file)
|
|
4
|
+
* - Multiple found → prompt user to pick (TTY) or error (non-TTY)
|
|
5
|
+
* - 0 found → error
|
|
6
|
+
*/
|
|
7
|
+
export declare function resolveSpecPath(provided: string | undefined): Promise<string>;
|
|
8
|
+
//# sourceMappingURL=resolve-spec.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolve-spec.d.ts","sourceRoot":"","sources":["../../src/commands/resolve-spec.ts"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,wBAAsB,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC,MAAM,CAAC,CA+BnF"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.resolveSpecPath = resolveSpecPath;
|
|
37
|
+
const readline = __importStar(require("readline"));
|
|
38
|
+
const nimai_core_1 = require("nimai-core");
|
|
39
|
+
/**
|
|
40
|
+
* Resolve a spec path: use provided path, or auto-discover from cwd.
|
|
41
|
+
* - 1 spec found → use it automatically (print which file)
|
|
42
|
+
* - Multiple found → prompt user to pick (TTY) or error (non-TTY)
|
|
43
|
+
* - 0 found → error
|
|
44
|
+
*/
|
|
45
|
+
async function resolveSpecPath(provided) {
|
|
46
|
+
if (provided)
|
|
47
|
+
return provided;
|
|
48
|
+
const specs = (0, nimai_core_1.findNimaiSpecs)(process.cwd());
|
|
49
|
+
if (specs.length === 0) {
|
|
50
|
+
console.error('Error: no spec file specified and no nimai specs found in this directory.\n' +
|
|
51
|
+
'Pass a spec path directly, or create one with: nimai new <output.md>');
|
|
52
|
+
process.exit(1);
|
|
53
|
+
}
|
|
54
|
+
if (specs.length === 1) {
|
|
55
|
+
console.error(`Using spec: ${specs[0].filePath}${specs[0].date ? ` (${specs[0].date})` : ''}`);
|
|
56
|
+
return specs[0].filePath;
|
|
57
|
+
}
|
|
58
|
+
// Multiple specs — prompt if TTY, error if not
|
|
59
|
+
if (!process.stdin.isTTY) {
|
|
60
|
+
console.error('Error: multiple nimai specs found — pass a path explicitly:\n' +
|
|
61
|
+
specs.map(s => ` ${s.filePath}${s.date ? ` (${s.date})` : ''}`).join('\n'));
|
|
62
|
+
process.exit(1);
|
|
63
|
+
}
|
|
64
|
+
return promptPick(specs.map(s => ({
|
|
65
|
+
label: `${s.filePath}${s.date ? ` (${s.date})` : ''}`,
|
|
66
|
+
value: s.filePath,
|
|
67
|
+
})));
|
|
68
|
+
}
|
|
69
|
+
async function promptPick(options) {
|
|
70
|
+
console.error('\nMultiple nimai specs found — pick one:\n');
|
|
71
|
+
options.forEach((o, i) => console.error(` ${i + 1}. ${o.label}`));
|
|
72
|
+
console.error('');
|
|
73
|
+
const rl = readline.createInterface({ input: process.stdin, output: process.stderr });
|
|
74
|
+
return new Promise(resolve => {
|
|
75
|
+
rl.question('Enter number: ', answer => {
|
|
76
|
+
rl.close();
|
|
77
|
+
const idx = parseInt(answer.trim(), 10) - 1;
|
|
78
|
+
if (idx >= 0 && idx < options.length) {
|
|
79
|
+
resolve(options[idx].value);
|
|
80
|
+
}
|
|
81
|
+
else {
|
|
82
|
+
console.error('Invalid selection.');
|
|
83
|
+
process.exit(1);
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
//# sourceMappingURL=resolve-spec.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolve-spec.js","sourceRoot":"","sources":["../../src/commands/resolve-spec.ts"],"names":[],"mappings":";;;;;;;;;;;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C,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -7,6 +7,7 @@ const validate_1 = require("./commands/validate");
|
|
|
7
7
|
const review_1 = require("./commands/review");
|
|
8
8
|
const new_1 = require("./commands/new");
|
|
9
9
|
const spec_review_1 = require("./commands/spec-review");
|
|
10
|
+
const resolve_spec_1 = require("./commands/resolve-spec");
|
|
10
11
|
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
11
12
|
const { version } = require('../package.json');
|
|
12
13
|
const program = new commander_1.Command();
|
|
@@ -39,25 +40,28 @@ program
|
|
|
39
40
|
});
|
|
40
41
|
});
|
|
41
42
|
program
|
|
42
|
-
.command('validate
|
|
43
|
+
.command('validate [specPath]')
|
|
43
44
|
.description('Lint a spec file for unresolved fields, NHFI flags, and missing sections')
|
|
44
45
|
.option('--strict-architecture', 'Treat advisory architecture warnings as errors (exits 1)')
|
|
45
|
-
.action((specPath, options) => {
|
|
46
|
-
(0,
|
|
46
|
+
.action(async (specPath, options) => {
|
|
47
|
+
const resolved = await (0, resolve_spec_1.resolveSpecPath)(specPath);
|
|
48
|
+
(0, validate_1.runValidate)(resolved, { strictArchitecture: !!options.strictArchitecture });
|
|
47
49
|
});
|
|
48
50
|
program
|
|
49
|
-
.command('review
|
|
51
|
+
.command('review [specPath]')
|
|
50
52
|
.description('Generate a FORGE reviewer/validator prompt from an approved spec')
|
|
51
53
|
.option('--out <file>', 'Write reviewer prompt to file instead of stdout')
|
|
52
|
-
.action((specPath, options) => {
|
|
53
|
-
(0,
|
|
54
|
+
.action(async (specPath, options) => {
|
|
55
|
+
const resolved = await (0, resolve_spec_1.resolveSpecPath)(specPath);
|
|
56
|
+
(0, review_1.runReview)(resolved, { out: options.out });
|
|
54
57
|
});
|
|
55
58
|
program
|
|
56
|
-
.command('spec-review
|
|
59
|
+
.command('spec-review [specPath]')
|
|
57
60
|
.description('Generate a FORGE Prompt 1.5 (Spec-Quality Reviewer) for a draft spec')
|
|
58
61
|
.option('--out <file>', 'Write reviewer prompt to file instead of stdout')
|
|
59
|
-
.action((specPath, options) => {
|
|
60
|
-
(0,
|
|
62
|
+
.action(async (specPath, options) => {
|
|
63
|
+
const resolved = await (0, resolve_spec_1.resolveSpecPath)(specPath);
|
|
64
|
+
(0, spec_review_1.runSpecReview)(resolved, { out: options.out });
|
|
61
65
|
});
|
|
62
66
|
program
|
|
63
67
|
.command('new <outputPath>')
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AACA,yCAAoC;AACpC,0CAA0C;AAC1C,kDAAkD;AAClD,8CAA8C;AAC9C,wCAAwC;AACxC,wDAAuD;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AACA,yCAAoC;AACpC,0CAA0C;AAC1C,kDAAkD;AAClD,8CAA8C;AAC9C,wCAAwC;AACxC,wDAAuD;AACvD,0DAA0D;AAE1D,iEAAiE;AACjE,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,iBAAiB,CAAwB,CAAC;AAEtE,MAAM,OAAO,GAAG,IAAI,mBAAO,EAAE,CAAC;AAE9B,OAAO;KACJ,IAAI,CAAC,OAAO,CAAC;KACb,WAAW,CAAC,4KAA4K,CAAC;KACzL,OAAO,CAAC,OAAO,EAAE,eAAe,CAAC,CAAC;AAErC,OAAO;KACJ,OAAO,CAAC,gBAAgB,CAAC;KACzB,WAAW,CAAC,4CAA4C,CAAC;KACzD,MAAM,CAAC,UAAU,EAAE,kEAAkE,CAAC;KACtF,MAAM,CAAC,cAAc,EAAE,oDAAoD,CAAC;KAC5E,MAAM,CAAC,eAAe,EAAE,oDAAoD,EAAE,OAAO,CAAC,GAAG,EAAE,CAAC;KAC5F,MAAM,CAAC,cAAc,EAAE,wCAAwC,CAAC;KAChE,MAAM,CAAC,YAAY,EAAE,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AC;KACzE,MAAM,CAAC,KAAK,EAAE,QAA4B,EAAE,OAAyB,EAAE,EAAE;IACxE,MAAM,QAAQ,GAAG,MAAM,IAAA,8BAAe,EAAC,QAAQ,CAAC,CAAC;IACjD,IAAA,kBAAS,EAAC,QAAQ,EAAE,EAAE,GAAG,EAAE,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC;AAC5C,CAAC,CAAC,CAAC;AAEL,OAAO;KACJ,OAAO,CAAC,wBAAwB,CAAC;KACjC,WAAW,CAAC,sEAAsE,CAAC;KACnF,MAAM,CAAC,cAAc,EAAE,iDAAiD,CAAC;KACzE,MAAM,CAAC,KAAK,EAAE,QAA4B,EAAE,OAAyB,EAAE,EAAE;IACxE,MAAM,QAAQ,GAAG,MAAM,IAAA,8BAAe,EAAC,QAAQ,CAAC,CAAC;IACjD,IAAA,2BAAa,EAAC,QAAQ,EAAE,EAAE,GAAG,EAAE,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC;AAEL,OAAO;KACJ,OAAO,CAAC,kBAAkB,CAAC;KAC3B,WAAW,CAAC,4DAA4D,CAAC;KACzE,MAAM,CAAC,SAAS,EAAE,kCAAkC,CAAC;KACrD,MAAM,CAAC,CAAC,UAAkB,EAAE,OAA4B,EAAE,EAAE;IAC3D,IAAA,YAAM,EAAC,UAAU,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC;AACjD,CAAC,CAAC,CAAC;AAEL,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,34 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nimai-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Nimai CLI — spec ops for AI work. nimai spec, review, validate, and new.",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"nimai",
|
|
7
|
-
"forge",
|
|
8
|
-
"cli",
|
|
9
|
-
"spec",
|
|
10
|
-
"ai",
|
|
11
|
-
"llm",
|
|
12
|
-
"specification",
|
|
13
|
-
"mcp",
|
|
14
|
-
"anthropic",
|
|
15
|
-
"openai",
|
|
16
|
-
"ollama"
|
|
17
|
-
],
|
|
5
|
+
"keywords": ["nimai", "forge", "cli", "spec", "ai", "llm", "specification", "mcp", "anthropic", "openai", "ollama"],
|
|
18
6
|
"license": "MIT",
|
|
19
7
|
"repository": {
|
|
20
8
|
"type": "git",
|
|
21
9
|
"url": "https://github.com/Balagopalaji/nimai.git",
|
|
22
10
|
"directory": "packages/cli"
|
|
23
11
|
},
|
|
24
|
-
"files": [
|
|
25
|
-
"dist/"
|
|
26
|
-
],
|
|
12
|
+
"files": ["dist/"],
|
|
27
13
|
"main": "dist/index.js",
|
|
28
14
|
"types": "dist/index.d.ts",
|
|
29
15
|
"bin": {
|
|
30
16
|
"nimai": "dist/index.js"
|
|
31
17
|
},
|
|
18
|
+
"scripts": {
|
|
19
|
+
"build": "tsc",
|
|
20
|
+
"test": "vitest run",
|
|
21
|
+
"dev": "tsc --watch",
|
|
22
|
+
"clean": "rm -rf dist"
|
|
23
|
+
},
|
|
32
24
|
"devDependencies": {
|
|
33
25
|
"@types/js-yaml": "^4.0.9",
|
|
34
26
|
"@types/node": "^22.0.0",
|
|
@@ -37,16 +29,10 @@
|
|
|
37
29
|
},
|
|
38
30
|
"dependencies": {
|
|
39
31
|
"@anthropic-ai/sdk": "^0.78.0",
|
|
32
|
+
"nimai-core": "workspace:*",
|
|
33
|
+
"nimai-mcp": "workspace:*",
|
|
40
34
|
"commander": "^12.1.0",
|
|
41
35
|
"js-yaml": "^4.1.1",
|
|
42
|
-
"zod": "^3.25.76"
|
|
43
|
-
"nimai-core": "0.2.0",
|
|
44
|
-
"nimai-mcp": "0.2.0"
|
|
45
|
-
},
|
|
46
|
-
"scripts": {
|
|
47
|
-
"build": "tsc",
|
|
48
|
-
"test": "vitest run",
|
|
49
|
-
"dev": "tsc --watch",
|
|
50
|
-
"clean": "rm -rf dist"
|
|
36
|
+
"zod": "^3.25.76"
|
|
51
37
|
}
|
|
52
|
-
}
|
|
38
|
+
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
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.
|