@miraigent/free-ai-ops-mcp 0.1.45 → 0.1.46
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 +11 -0
- package/package.json +1 -1
- package/scripts/smoke-test.mjs +5 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.1.46] - 2026-07-22
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- Added a README field map for each public MCP tool so users know which returned
|
|
8
|
+
status field to inspect before changing MCP client configuration or sharing a
|
|
9
|
+
public-safe issue.
|
|
10
|
+
|
|
3
11
|
## [0.1.45] - 2026-07-21
|
|
4
12
|
|
|
5
13
|
### Changed
|
package/README.md
CHANGED
|
@@ -194,6 +194,17 @@ files.
|
|
|
194
194
|
After the smoke test runs, look for the status field from the tool you called
|
|
195
195
|
before changing client configuration or private workflows.
|
|
196
196
|
|
|
197
|
+
Quick field map:
|
|
198
|
+
|
|
199
|
+
- `human_review_gate`: read `gateStatus`.
|
|
200
|
+
- `faq_candidate_review`: read `recommendedStatus`.
|
|
201
|
+
- `ai_safe_crm_note`: read `crmNote.nextAction` and the `maskingChecklist`.
|
|
202
|
+
- `prompt_risk_review`: read `recommendation` and `riskFlags`.
|
|
203
|
+
|
|
204
|
+
Those fields are returned inside MCP `content[0].text`, so parse that wrapped
|
|
205
|
+
text as JSON before deciding whether the next action is proceed, review, or
|
|
206
|
+
stop.
|
|
207
|
+
|
|
197
208
|
In raw JSON-RPC output, MCP wraps each tool result inside `content[0].text`.
|
|
198
209
|
Parse that text value as JSON before you check the returned decision:
|
|
199
210
|
|
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.46",
|
|
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
|
@@ -30,6 +30,11 @@ assert.match(helpStdout, /private memory behavior/);
|
|
|
30
30
|
assert.match(helpStdout, /github\.com\/Miraigent\/miraigent-free-ai-ops-mcp\/issues\/new\/choose/);
|
|
31
31
|
assert.match(rootReadme, /tail -n 1 \| node -e/);
|
|
32
32
|
assert.match(rootReadme, /console\.log\(JSON\.parse\(r\.result\.content\[0\]\.text\)\.gateStatus\)/);
|
|
33
|
+
assert.match(rootReadme, /Quick field map:/);
|
|
34
|
+
assert.match(rootReadme, /`human_review_gate`: read `gateStatus`/);
|
|
35
|
+
assert.match(rootReadme, /`faq_candidate_review`: read `recommendedStatus`/);
|
|
36
|
+
assert.match(rootReadme, /`ai_safe_crm_note`: read `crmNote\.nextAction` and the `maskingChecklist`/);
|
|
37
|
+
assert.match(rootReadme, /`prompt_risk_review`: read `recommendation` and `riskFlags`/);
|
|
33
38
|
|
|
34
39
|
const requests = [
|
|
35
40
|
{ jsonrpc: '2.0', id: 1, method: 'initialize', params: {} },
|