@ratifia/mcp 0.10.0 → 0.10.1
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/index.js +4 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -455,7 +455,10 @@ if (process.argv[2] === 'gate') {
|
|
|
455
455
|
await runGate();
|
|
456
456
|
process.exit(0);
|
|
457
457
|
}
|
|
458
|
-
|
|
458
|
+
/** The published version, read from package.json so the handshake can't drift
|
|
459
|
+
* from npm again (it reported 0.6.0/0.7.0 through several releases). */
|
|
460
|
+
const VERSION = JSON.parse(readFileSync(new URL('../package.json', import.meta.url), 'utf8')).version;
|
|
461
|
+
const server = new McpServer({ name: 'ratifia', version: VERSION }, {
|
|
459
462
|
instructions: [
|
|
460
463
|
'Ratifia lets you request a HUMAN decision or input mid-task (human-in-the-loop) and resume once it is answered.',
|
|
461
464
|
'',
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ratifia/mcp",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.1",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"description": "Ratifia MCP server
|
|
5
|
+
"description": "Ratifia MCP server — let an AI agent request a human decision/approval (HITL) mid-task and resume once it's answered. The agent becomes a Ratifia 'engine'.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"mcp",
|
|
8
8
|
"model-context-protocol",
|