nimai-cli 0.3.5 → 0.3.6
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spec-review.d.ts","sourceRoot":"","sources":["../../src/commands/spec-review.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,iBAAiB;IAChC,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,wBAAgB,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"spec-review.d.ts","sourceRoot":"","sources":["../../src/commands/spec-review.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,iBAAiB;IAChC,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,wBAAgB,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,GAAG,IAAI,CA4ChF"}
|
|
@@ -55,17 +55,31 @@ function runSpecReview(specPath, options) {
|
|
|
55
55
|
fs.mkdirSync(dir, { recursive: true });
|
|
56
56
|
fs.writeFileSync(outPath, specReviewerPrompt, 'utf-8');
|
|
57
57
|
console.log(`Spec reviewer prompt written to ${outPath}`);
|
|
58
|
+
console.log('');
|
|
59
|
+
console.log('⚠ INDEPENDENT REVIEW REQUIRED');
|
|
60
|
+
console.log('Paste the contents of that file into a fresh session with a different model.');
|
|
61
|
+
console.log('The reviewer must not be the same agent that created this spec.');
|
|
58
62
|
}
|
|
59
63
|
else {
|
|
60
64
|
console.log('=== NIMAI SPEC REVIEW PROMPT ===');
|
|
61
65
|
console.log('');
|
|
62
|
-
console.log('
|
|
63
|
-
console.log('The
|
|
66
|
+
console.log('⚠ INDEPENDENT REVIEW REQUIRED');
|
|
67
|
+
console.log('The agent that built this spec must NOT be its own reviewer.');
|
|
68
|
+
console.log('');
|
|
69
|
+
console.log('Steps:');
|
|
70
|
+
console.log('1. Copy the prompt below.');
|
|
71
|
+
console.log('2. Open a fresh session with a different model or agent.');
|
|
72
|
+
console.log('3. Paste the prompt — the reviewer will evaluate and end with:');
|
|
73
|
+
console.log(' {"passed": true/false, "schema_version": "2", "issues": [...]}');
|
|
74
|
+
console.log('4. Bring the verdict back to this session.');
|
|
75
|
+
console.log('');
|
|
76
|
+
console.log('--- PROMPT (copy everything below this line) ---');
|
|
64
77
|
console.log('');
|
|
65
|
-
console.log('--- PROMPT ---');
|
|
66
78
|
console.log(specReviewerPrompt);
|
|
67
79
|
console.log('');
|
|
68
|
-
console.log('
|
|
80
|
+
console.log('--- END PROMPT ---');
|
|
81
|
+
console.log('');
|
|
82
|
+
console.log('Tip: use --out <file> to save this prompt to a file instead.');
|
|
69
83
|
}
|
|
70
84
|
}
|
|
71
85
|
//# sourceMappingURL=spec-review.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spec-review.js","sourceRoot":"","sources":["../../src/commands/spec-review.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,
|
|
1
|
+
{"version":3,"file":"spec-review.js","sourceRoot":"","sources":["../../src/commands/spec-review.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,sCA4CC;AApDD,uCAAyB;AACzB,2CAA6B;AAC7B,2CAA2C;AAM3C,SAAgB,aAAa,CAAC,QAAgB,EAAE,OAA0B;IACxE,MAAM,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;IAExC,IAAI,WAAmB,CAAC;IACxB,IAAI,CAAC;QACH,WAAW,GAAG,EAAE,CAAC,YAAY,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IACnD,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,CAAC,KAAK,CAAC,+BAA+B,QAAQ,GAAG,CAAC,CAAC;QAC1D,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC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AAC,mEAAmE,CAAC,CAAC;QACjF,OAAO,CAAC,GAAG,CAAC,4CAA4C,CAAC,CAAC;QAC1D,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QAChB,OAAO,CAAC,GAAG,CAAC,kDAAkD,CAAC,CAAC;QAChE,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QAChB,OAAO,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC;QAChC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QAChB,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;QAClC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QAChB,OAAO,CAAC,GAAG,CAAC,8DAA8D,CAAC,CAAC;IAC9E,CAAC;AACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nimai-cli",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.6",
|
|
4
4
|
"description": "Nimai CLI — spec ops for AI work. nimai spec, review, validate, and new.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"nimai",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"commander": "^12.1.0",
|
|
41
41
|
"js-yaml": "^4.1.1",
|
|
42
42
|
"zod": "^3.25.76",
|
|
43
|
-
"nimai-core": "0.3.
|
|
44
|
-
"nimai-mcp": "0.3.
|
|
43
|
+
"nimai-core": "0.3.6",
|
|
44
|
+
"nimai-mcp": "0.3.6"
|
|
45
45
|
},
|
|
46
46
|
"scripts": {
|
|
47
47
|
"build": "tsc",
|