@miraigent/free-ai-ops-mcp 0.1.42 → 0.1.43
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/CHANGELOG.md +8 -0
- package/README.md +9 -0
- package/package.json +1 -1
- package/scripts/smoke-test.mjs +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.1.43] - 2026-07-19
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- Added a README command that extracts and parses the bundled JSON-RPC smoke-test
|
|
8
|
+
result without copy-pasting response lines, plus smoke-test coverage so the
|
|
9
|
+
public proof path stays visible for npm users.
|
|
10
|
+
|
|
3
11
|
## [0.1.42] - 2026-07-18
|
|
4
12
|
|
|
5
13
|
### Changed
|
package/README.md
CHANGED
|
@@ -200,6 +200,15 @@ smoke-test output and inspect the wrapped text field with Node:
|
|
|
200
200
|
|
|
201
201
|
node -e 'const r=JSON.parse(process.argv[1]); console.log(JSON.parse(r.result.content[0].text));' '<paste one response line here>'
|
|
202
202
|
|
|
203
|
+
To avoid copying any response text at all, run the bundled public sample and
|
|
204
|
+
parse only its final synthetic tool-call response:
|
|
205
|
+
|
|
206
|
+
npx -y free-ai-ops-mcp@npm:@miraigent/free-ai-ops-mcp < examples/mcp-json-rpc-session/sample-session.jsonl | tail -n 1 | node -e 'process.stdin.on("data", c => { const r = JSON.parse(c); console.log(JSON.parse(r.result.content[0].text).gateStatus); })'
|
|
207
|
+
|
|
208
|
+
That prints `stop` for the bundled support-reply example. If it does, the
|
|
209
|
+
package is returning the expected MCP result shape and you can debug client
|
|
210
|
+
configuration separately from tool behavior.
|
|
211
|
+
|
|
203
212
|
Paste only the synthetic response from the public example. Do not paste private
|
|
204
213
|
customer records or desktop client logs into shell history, screenshots, or
|
|
205
214
|
GitHub issues.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@miraigent/free-ai-ops-mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.43",
|
|
4
4
|
"description": "Free MCP server for developers adding human review gates, prompt risk checks, FAQ review, and CRM note safety to AI tools.",
|
|
5
5
|
"homepage": "https://github.com/Miraigent/miraigent-free-ai-ops-mcp",
|
|
6
6
|
"type": "module",
|
package/scripts/smoke-test.mjs
CHANGED
|
@@ -3,6 +3,7 @@ import assert from 'node:assert';
|
|
|
3
3
|
import { readFile } from 'node:fs/promises';
|
|
4
4
|
|
|
5
5
|
const packageJson = JSON.parse(await readFile(new URL('../package.json', import.meta.url), 'utf8'));
|
|
6
|
+
const rootReadme = await readFile(new URL('../README.md', import.meta.url), 'utf8');
|
|
6
7
|
|
|
7
8
|
const helpChild = spawn(process.execPath, ['mcp/free-ai-ops-server.mjs', '--help'], {
|
|
8
9
|
stdio: ['ignore', 'pipe', 'inherit']
|
|
@@ -27,6 +28,8 @@ assert.match(helpStdout, /human_review_gate/);
|
|
|
27
28
|
assert.match(helpStdout, /Do not paste secrets/);
|
|
28
29
|
assert.match(helpStdout, /private memory behavior/);
|
|
29
30
|
assert.match(helpStdout, /github\.com\/Miraigent\/miraigent-free-ai-ops-mcp\/issues\/new\/choose/);
|
|
31
|
+
assert.match(rootReadme, /tail -n 1 \| node -e/);
|
|
32
|
+
assert.match(rootReadme, /console\.log\(JSON\.parse\(r\.result\.content\[0\]\.text\)\.gateStatus\)/);
|
|
30
33
|
|
|
31
34
|
const requests = [
|
|
32
35
|
{ jsonrpc: '2.0', id: 1, method: 'initialize', params: {} },
|