srift-transfer 2.2.15 → 3.0.0
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/README.md +14 -0
- package/dist/daemon.js +5 -5
- package/dist/index.js +6 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
[](https://nodejs.org/)
|
|
6
6
|
[](https://modelcontextprotocol.io)
|
|
7
7
|
[](https://smithery.ai/servers/srift/srift)
|
|
8
|
+
[](https://glama.ai/mcp/connectors/app.srift/srift)
|
|
8
9
|
[](https://srift.app)
|
|
9
10
|
[](https://srift.app/privacy)
|
|
10
11
|
|
|
@@ -335,6 +336,19 @@ First-party, zero-dependency SDKs for accessing SRIFT from any programming langu
|
|
|
335
336
|
- **LLM Context (`llms.txt`)**: [https://srift.app/llms.txt](https://srift.app/llms.txt)
|
|
336
337
|
- **Bug Tracker & Issues**: [https://github.com/srivardhan113/SRIFT-Open_Source/issues](https://github.com/srivardhan113/SRIFT-Open_Source/issues)
|
|
337
338
|
|
|
339
|
+
### Official Listings
|
|
340
|
+
|
|
341
|
+
| Surface | Link |
|
|
342
|
+
|---|---|
|
|
343
|
+
| npm | [`srift-transfer`](https://www.npmjs.com/package/srift-transfer) |
|
|
344
|
+
| MCP Registry | [`app.srift/srift`](https://registry.modelcontextprotocol.io/v0/servers?search=srift) |
|
|
345
|
+
| Smithery | [`srift/srift`](https://smithery.ai/servers/srift/srift) |
|
|
346
|
+
| Glama (connector) | [`app.srift/srift`](https://glama.ai/mcp/connectors/app.srift/srift) |
|
|
347
|
+
| Glama (server) | [`SRIFT-Open_Source`](https://glama.ai/mcp/servers/srivardhan113/SRIFT-Open_Source) |
|
|
348
|
+
| GitHub | [`SRIFT-Open_Source`](https://github.com/srivardhan113/SRIFT-Open_Source) |
|
|
349
|
+
|
|
350
|
+
All resolve to the same product. Install `srift-transfer`; the command is `srift`.
|
|
351
|
+
|
|
338
352
|
---
|
|
339
353
|
|
|
340
354
|
## 📄 License
|
package/dist/daemon.js
CHANGED
|
@@ -650,7 +650,7 @@ var DAEMON_URL = `http://127.0.0.1:${DAEMON_PORT}`;
|
|
|
650
650
|
var SERVER_INFO = {
|
|
651
651
|
name: "srift-mcp-server",
|
|
652
652
|
title: "SRIFT Secure P2P File Transfer",
|
|
653
|
-
version: "
|
|
653
|
+
version: "3.0.0"
|
|
654
654
|
};
|
|
655
655
|
function callDaemon(endpoint, method, body) {
|
|
656
656
|
return new Promise((resolve, reject) => {
|
|
@@ -1540,7 +1540,7 @@ var app = express();
|
|
|
1540
1540
|
app.use(cors());
|
|
1541
1541
|
app.use(express.json());
|
|
1542
1542
|
var DAEMON_START_TIME = Date.now();
|
|
1543
|
-
var PACKAGE_VERSION = "
|
|
1543
|
+
var PACKAGE_VERSION = "3.0.0";
|
|
1544
1544
|
app.get("/health", (req, res) => {
|
|
1545
1545
|
res.json({
|
|
1546
1546
|
ok: true,
|
|
@@ -2249,7 +2249,7 @@ app.get("/.well-known/mcp/server-card.json", (req, res) => {
|
|
|
2249
2249
|
$schema: "https://static.modelcontextprotocol.io/schemas/mcp-server-card/v1.json",
|
|
2250
2250
|
version: "1.0",
|
|
2251
2251
|
protocolVersion: "2025-06-18",
|
|
2252
|
-
serverInfo: { name: "SRIFT MCP Server (local daemon)", version:
|
|
2252
|
+
serverInfo: { name: "SRIFT MCP Server (local daemon)", version: PACKAGE_VERSION },
|
|
2253
2253
|
capabilities: { tools: {}, resources: {}, prompts: {} },
|
|
2254
2254
|
transport: [
|
|
2255
2255
|
{ type: "streamable-http", url: `http://127.0.0.1:${PORT}/mcp` },
|
|
@@ -2280,7 +2280,7 @@ app.get("/.well-known/agent.json", (req, res) => {
|
|
|
2280
2280
|
name: "SRIFT",
|
|
2281
2281
|
description: "Zero-config P2P E2EE file transfer + chat for any AI agent or automation.",
|
|
2282
2282
|
url: `http://127.0.0.1:${PORT}`,
|
|
2283
|
-
version:
|
|
2283
|
+
version: PACKAGE_VERSION,
|
|
2284
2284
|
capabilities: {
|
|
2285
2285
|
streaming: true,
|
|
2286
2286
|
pushNotifications: false,
|
|
@@ -2294,7 +2294,7 @@ app.get("/.well-known/agent.json", (req, res) => {
|
|
|
2294
2294
|
app.get("/openapi.json", (req, res) => {
|
|
2295
2295
|
res.json({
|
|
2296
2296
|
openapi: "3.1.0",
|
|
2297
|
-
info: { title: "SRIFT Local Daemon API", version:
|
|
2297
|
+
info: { title: "SRIFT Local Daemon API", version: PACKAGE_VERSION, description: "Zero-auth REST API for AI agents to drive SRIFT P2P transfer." },
|
|
2298
2298
|
servers: [{ url: `http://127.0.0.1:${PORT}` }],
|
|
2299
2299
|
paths: {
|
|
2300
2300
|
"/health": { get: { summary: "Liveness probe", description: "Returns {ok,version,uptime_ms,mcp,webrtc,webtorrent}", responses: { "200": { description: "OK" } } } },
|
package/dist/index.js
CHANGED
|
@@ -814,7 +814,7 @@ var init_mcp = __esm({
|
|
|
814
814
|
SERVER_INFO = {
|
|
815
815
|
name: "srift-mcp-server",
|
|
816
816
|
title: "SRIFT Secure P2P File Transfer",
|
|
817
|
-
version: "
|
|
817
|
+
version: "3.0.0"
|
|
818
818
|
};
|
|
819
819
|
localDaemonBackend = { callTool, readResource };
|
|
820
820
|
handleMcpMessage = createMcpHandler({
|
|
@@ -1730,7 +1730,7 @@ var init_daemon = __esm({
|
|
|
1730
1730
|
app.use(cors());
|
|
1731
1731
|
app.use(express.json());
|
|
1732
1732
|
DAEMON_START_TIME = Date.now();
|
|
1733
|
-
PACKAGE_VERSION = "
|
|
1733
|
+
PACKAGE_VERSION = "3.0.0";
|
|
1734
1734
|
app.get("/health", (req, res) => {
|
|
1735
1735
|
res.json({
|
|
1736
1736
|
ok: true,
|
|
@@ -2296,7 +2296,7 @@ data: /mcp/messages
|
|
|
2296
2296
|
$schema: "https://static.modelcontextprotocol.io/schemas/mcp-server-card/v1.json",
|
|
2297
2297
|
version: "1.0",
|
|
2298
2298
|
protocolVersion: "2025-06-18",
|
|
2299
|
-
serverInfo: { name: "SRIFT MCP Server (local daemon)", version:
|
|
2299
|
+
serverInfo: { name: "SRIFT MCP Server (local daemon)", version: PACKAGE_VERSION },
|
|
2300
2300
|
capabilities: { tools: {}, resources: {}, prompts: {} },
|
|
2301
2301
|
transport: [
|
|
2302
2302
|
{ type: "streamable-http", url: `http://127.0.0.1:${PORT}/mcp` },
|
|
@@ -2327,7 +2327,7 @@ data: /mcp/messages
|
|
|
2327
2327
|
name: "SRIFT",
|
|
2328
2328
|
description: "Zero-config P2P E2EE file transfer + chat for any AI agent or automation.",
|
|
2329
2329
|
url: `http://127.0.0.1:${PORT}`,
|
|
2330
|
-
version:
|
|
2330
|
+
version: PACKAGE_VERSION,
|
|
2331
2331
|
capabilities: {
|
|
2332
2332
|
streaming: true,
|
|
2333
2333
|
pushNotifications: false,
|
|
@@ -2341,7 +2341,7 @@ data: /mcp/messages
|
|
|
2341
2341
|
app.get("/openapi.json", (req, res) => {
|
|
2342
2342
|
res.json({
|
|
2343
2343
|
openapi: "3.1.0",
|
|
2344
|
-
info: { title: "SRIFT Local Daemon API", version:
|
|
2344
|
+
info: { title: "SRIFT Local Daemon API", version: PACKAGE_VERSION, description: "Zero-auth REST API for AI agents to drive SRIFT P2P transfer." },
|
|
2345
2345
|
servers: [{ url: `http://127.0.0.1:${PORT}` }],
|
|
2346
2346
|
paths: {
|
|
2347
2347
|
"/health": { get: { summary: "Liveness probe", description: "Returns {ok,version,uptime_ms,mcp,webrtc,webtorrent}", responses: { "200": { description: "OK" } } } },
|
|
@@ -3171,7 +3171,7 @@ var __filename = fileURLToPath2(import.meta.url);
|
|
|
3171
3171
|
var __dirname = path3.dirname(__filename);
|
|
3172
3172
|
var DAEMON_PORT3 = parseInt(process.env.SRIFT_DAEMON_PORT || "3822", 10);
|
|
3173
3173
|
var DAEMON_URL3 = `http://127.0.0.1:${DAEMON_PORT3}`;
|
|
3174
|
-
var CLI_VERSION = "
|
|
3174
|
+
var CLI_VERSION = "3.0.0";
|
|
3175
3175
|
function parseDuration(s) {
|
|
3176
3176
|
if (!s) return 0;
|
|
3177
3177
|
const m = /^(\d+(?:\.\d+)?)\s*(ms|s|m|h|d)?$/i.exec(s.trim());
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "srift-transfer",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"mcpName": "app.srift/srift",
|
|
5
5
|
"description": "Zero-config, zero-token peer-to-peer secure file transfer, encrypted chat, and Model Context Protocol (MCP) server for AI coding agents (Claude, Cursor, Windsurf, Continue, Zed) and developers. End-to-end AES-256-GCM encrypted.",
|
|
6
6
|
"keywords": [
|