mirror of
https://github.com/aljazceru/dvmcp.git
synced 2025-12-17 05:14:24 +01:00
chore: bump v
This commit is contained in:
7
bun.lock
7
bun.lock
@@ -12,7 +12,7 @@
|
|||||||
},
|
},
|
||||||
"packages/dvmcp-bridge": {
|
"packages/dvmcp-bridge": {
|
||||||
"name": "@dvmcp/bridge",
|
"name": "@dvmcp/bridge",
|
||||||
"version": "0.1.19",
|
"version": "0.1.20",
|
||||||
"bin": {
|
"bin": {
|
||||||
"dvmcp-bridge": "./cli.ts",
|
"dvmcp-bridge": "./cli.ts",
|
||||||
},
|
},
|
||||||
@@ -43,14 +43,13 @@
|
|||||||
},
|
},
|
||||||
"packages/dvmcp-discovery": {
|
"packages/dvmcp-discovery": {
|
||||||
"name": "@dvmcp/discovery",
|
"name": "@dvmcp/discovery",
|
||||||
"version": "0.1.18",
|
"version": "0.1.19",
|
||||||
"bin": {
|
"bin": {
|
||||||
"dvmcp-discovery": "./cli.ts",
|
"dvmcp-discovery": "./cli.ts",
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@dvmcp/commons": "^0.1.2",
|
"@dvmcp/commons": "^0.1.3",
|
||||||
"@modelcontextprotocol/sdk": "^1.5.0",
|
"@modelcontextprotocol/sdk": "^1.5.0",
|
||||||
"debug": "^4.4.0",
|
|
||||||
"nostr-tools": "^2.10.4",
|
"nostr-tools": "^2.10.4",
|
||||||
"yaml": "^2.7.0",
|
"yaml": "^2.7.0",
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@dvmcp/bridge",
|
"name": "@dvmcp/bridge",
|
||||||
"version": "0.1.20",
|
"version": "0.1.21",
|
||||||
"description": "Bridge connecting MCP servers to Nostr's DVM ecosystem",
|
"description": "Bridge connecting MCP servers to Nostr's DVM ecosystem",
|
||||||
"module": "index.ts",
|
"module": "index.ts",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
@@ -35,7 +35,7 @@
|
|||||||
"dotenv": "^16.4.7",
|
"dotenv": "^16.4.7",
|
||||||
"nostr-tools": "^2.10.4",
|
"nostr-tools": "^2.10.4",
|
||||||
"yaml": "^2.7.0",
|
"yaml": "^2.7.0",
|
||||||
"@dvmcp/commons": "^0.1.3"
|
"@dvmcp/commons": "latest"
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import {
|
|||||||
TOOL_REQUEST_KIND,
|
TOOL_REQUEST_KIND,
|
||||||
TOOL_RESPONSE_KIND,
|
TOOL_RESPONSE_KIND,
|
||||||
} from '../constants';
|
} from '../constants';
|
||||||
|
import { logger } from '../logger';
|
||||||
|
|
||||||
useWebSocketImplementation(WebSocket);
|
useWebSocketImplementation(WebSocket);
|
||||||
|
|
||||||
@@ -47,9 +48,7 @@ export class RelayHandler {
|
|||||||
async publishEvent(event: Event): Promise<void> {
|
async publishEvent(event: Event): Promise<void> {
|
||||||
try {
|
try {
|
||||||
await Promise.any(this.pool.publish(this.relayUrls, event));
|
await Promise.any(this.pool.publish(this.relayUrls, event));
|
||||||
console.log(
|
logger(`Event published(${event.kind}), id: ${event.id.slice(0, 12)}`);
|
||||||
`Event published(${event.kind}), id: ${event.id.slice(0, 12)}`
|
|
||||||
);
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('Failed to publish event:', error);
|
console.error('Failed to publish event:', error);
|
||||||
throw error;
|
throw error;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@dvmcp/commons",
|
"name": "@dvmcp/commons",
|
||||||
"version": "0.1.3",
|
"version": "0.1.4",
|
||||||
"description": "Shared utilities for DVMCP packages",
|
"description": "Shared utilities for DVMCP packages",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"exports": {
|
"exports": {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@dvmcp/discovery",
|
"name": "@dvmcp/discovery",
|
||||||
"version": "0.1.19",
|
"version": "0.1.20",
|
||||||
"description": "Discovery service for MCP tools in the Nostr DVM ecosystem",
|
"description": "Discovery service for MCP tools in the Nostr DVM ecosystem",
|
||||||
"module": "index.ts",
|
"module": "index.ts",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
"@modelcontextprotocol/sdk": "^1.5.0",
|
"@modelcontextprotocol/sdk": "^1.5.0",
|
||||||
"nostr-tools": "^2.10.4",
|
"nostr-tools": "^2.10.4",
|
||||||
"yaml": "^2.7.0",
|
"yaml": "^2.7.0",
|
||||||
"@dvmcp/commons": "^0.1.3"
|
"@dvmcp/commons": "latest"
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
|
|||||||
Reference in New Issue
Block a user