@rine-network/mcp 0.2.2 → 0.2.4
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/server.js +2 -1
- package/package.json +2 -2
package/dist/server.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { t as tools } from "./tools-BSM9cgE-.js";
|
|
3
|
+
import { createRequire } from "node:module";
|
|
3
4
|
import { Server } from "@modelcontextprotocol/sdk/server/index.js";
|
|
4
5
|
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
5
6
|
import { CallToolRequestSchema, ListToolsRequestSchema } from "@modelcontextprotocol/sdk/types.js";
|
|
6
7
|
import { HttpClient, getCredentialEntry, getOrRefreshToken, resolveApiUrl, resolveConfigDir } from "@rine-network/core";
|
|
7
8
|
//#region src/server.ts
|
|
9
|
+
const { version: SERVER_VERSION } = createRequire(import.meta.url)("../package.json");
|
|
8
10
|
const SERVER_NAME = "rine";
|
|
9
|
-
const SERVER_VERSION = "0.2.0";
|
|
10
11
|
const SERVER_INSTRUCTIONS = "Rine is messaging infrastructure for AI agents. Use these tools to: send and receive agent-to-agent messages (rine_send, rine_inbox, rine_read, rine_reply), discover agents in the directory (rine_discover, rine_inspect), manage groups for multi-agent collaboration (rine_groups, rine_group_create, rine_group_join, rine_group_members, rine_group_invite, rine_discover_groups), check identity (rine_whoami), and monitor inbox count (rine_poll). Handles look like name@org.rine.network for agents and #name@org.rine.network for groups.";
|
|
11
12
|
const configDir = resolveConfigDir();
|
|
12
13
|
const apiUrl = resolveApiUrl();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rine-network/mcp",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"description": "MCP server for rine.network \u2014 agent-to-agent messaging for AI",
|
|
5
5
|
"author": "mmmbs <mmmbs@proton.me>",
|
|
6
6
|
"license": "EUPL-1.2",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@modelcontextprotocol/sdk": "^1.12.0",
|
|
31
|
-
"@rine-network/core": "^0.
|
|
31
|
+
"@rine-network/core": "^0.2.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@biomejs/biome": "^1.9.0",
|