@nudge-ui/mcp 0.1.0 → 0.1.3
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/cli.mjs +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/server.js +1 -1
- package/package.json +10 -11
package/dist/cli.mjs
CHANGED
|
@@ -22285,7 +22285,7 @@ function createLoopbackBridge(options) {
|
|
|
22285
22285
|
|
|
22286
22286
|
// src/server.ts
|
|
22287
22287
|
var MCP_SERVER_NAME = "nudge-ui";
|
|
22288
|
-
var MCP_SERVER_VERSION = "0.1.
|
|
22288
|
+
var MCP_SERVER_VERSION = "0.1.2";
|
|
22289
22289
|
var MCP_SERVER_INSTRUCTIONS = [
|
|
22290
22290
|
"Nudge UI is a local browser companion for one project workspace.",
|
|
22291
22291
|
"Browser pairing requires the app origin to be configured explicitly with --origin or NUDGE_UI_ORIGIN; an unconfigured bridge accepts no HTTP pairing.",
|
package/dist/server.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import type { Transport } from "@modelcontextprotocol/sdk/shared/transport.js";
|
|
|
3
3
|
import type { AgentProjectIdentity } from "@nudge-ui/agent-protocol";
|
|
4
4
|
import { type BrowserBridge, type BrowserBridgeOptions, type BridgeAddress } from "./bridge.js";
|
|
5
5
|
export declare const MCP_SERVER_NAME = "nudge-ui";
|
|
6
|
-
export declare const MCP_SERVER_VERSION = "0.1.
|
|
6
|
+
export declare const MCP_SERVER_VERSION = "0.1.2";
|
|
7
7
|
/** Instructions are sent through MCP initialization for every host. */
|
|
8
8
|
export declare const MCP_SERVER_INSTRUCTIONS: string;
|
|
9
9
|
export interface AgentCompanionOptions extends BrowserBridgeOptions {
|
package/dist/server.js
CHANGED
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
import { validateRoutes } from "@nudge-ui/agent-protocol";
|
|
5
5
|
import { createLoopbackBridge, } from "./bridge.js";
|
|
6
6
|
export const MCP_SERVER_NAME = "nudge-ui";
|
|
7
|
-
export const MCP_SERVER_VERSION = "0.1.
|
|
7
|
+
export const MCP_SERVER_VERSION = "0.1.2";
|
|
8
8
|
/** Instructions are sent through MCP initialization for every host. */
|
|
9
9
|
export const MCP_SERVER_INSTRUCTIONS = [
|
|
10
10
|
"Nudge UI is a local browser companion for one project workspace.",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nudge-ui/mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Optional local MCP companion for pairing Nudge UI with coding agents.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -44,17 +44,10 @@
|
|
|
44
44
|
"default": "./dist/server.js"
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
|
-
"scripts": {
|
|
48
|
-
"build": "node ../../scripts/build-package.mjs && node scripts/build.mjs",
|
|
49
|
-
"prepack": "pnpm run build",
|
|
50
|
-
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
51
|
-
"test:unit": "vitest run",
|
|
52
|
-
"test:unit:watch": "vitest"
|
|
53
|
-
},
|
|
54
47
|
"dependencies": {
|
|
55
48
|
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
56
|
-
"
|
|
57
|
-
"
|
|
49
|
+
"zod": "^3.25.76",
|
|
50
|
+
"@nudge-ui/agent-protocol": "0.1.3"
|
|
58
51
|
},
|
|
59
52
|
"devDependencies": {
|
|
60
53
|
"@types/node": "^22.20.1",
|
|
@@ -67,5 +60,11 @@
|
|
|
67
60
|
},
|
|
68
61
|
"publishConfig": {
|
|
69
62
|
"access": "public"
|
|
63
|
+
},
|
|
64
|
+
"scripts": {
|
|
65
|
+
"build": "node ../../scripts/build-package.mjs && node scripts/build.mjs",
|
|
66
|
+
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
67
|
+
"test:unit": "vitest run",
|
|
68
|
+
"test:unit:watch": "vitest"
|
|
70
69
|
}
|
|
71
|
-
}
|
|
70
|
+
}
|