@vibebrowser/cli 0.2.8

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/types.js ADDED
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Vibe MCP Server - Types
3
+ *
4
+ * Type definitions for the MCP server protocol and extension communication.
5
+ */
6
+ /**
7
+ * MCP Protocol version supported
8
+ */
9
+ export const MCP_PROTOCOL_VERSION = '2024-11-05';
10
+ /**
11
+ * Default WebSocket port for local relay (agent) connection
12
+ */
13
+ export const DEFAULT_WS_PORT = 19888;
14
+ /**
15
+ * Default HTTP port for streamable HTTP MCP transport
16
+ */
17
+ export const DEFAULT_HTTP_PORT = 8788;
18
+ /**
19
+ * Default HTTP path for streamable HTTP MCP transport
20
+ */
21
+ export const DEFAULT_HTTP_PATH = '/mcp';
22
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1,15 @@
1
+ import { readFileSync } from 'node:fs';
2
+ import { dirname, join } from 'node:path';
3
+ import { fileURLToPath } from 'node:url';
4
+ let cachedVersion = null;
5
+ export function getPackageVersion() {
6
+ if (cachedVersion) {
7
+ return cachedVersion;
8
+ }
9
+ const moduleDir = dirname(fileURLToPath(import.meta.url));
10
+ const packageJsonPath = join(moduleDir, '..', 'package.json');
11
+ const packageJson = JSON.parse(readFileSync(packageJsonPath, 'utf-8'));
12
+ cachedVersion = packageJson.version || '0.0.0';
13
+ return cachedVersion;
14
+ }
15
+ //# sourceMappingURL=version.js.map
package/package.json ADDED
@@ -0,0 +1,56 @@
1
+ {
2
+ "name": "@vibebrowser/cli",
3
+ "version": "0.2.8",
4
+ "type": "module",
5
+ "description": "Standalone Vibe Browser CLI for controlling a Vibe-connected browser session",
6
+ "bin": {
7
+ "vibebrowser-cli": "./dist/browser-main.js"
8
+ },
9
+ "publishConfig": {
10
+ "access": "public"
11
+ },
12
+ "scripts": {
13
+ "build": "node ../../scripts/prepare-cli-package.mjs",
14
+ "prepack": "npm --prefix ../.. run build"
15
+ },
16
+ "keywords": [
17
+ "browser-automation",
18
+ "ai-agent",
19
+ "browser-cli",
20
+ "vibebrowser",
21
+ "openclaw"
22
+ ],
23
+ "author": "Vibe Technologies",
24
+ "license": "Apache-2.0",
25
+ "repository": {
26
+ "type": "git",
27
+ "url": "https://github.com/VibeTechnologies/vibe-mcp.git",
28
+ "directory": "packages/cli"
29
+ },
30
+ "homepage": "https://vibebrowser.app",
31
+ "bugs": {
32
+ "url": "https://github.com/VibeTechnologies/vibe-mcp/issues"
33
+ },
34
+ "engines": {
35
+ "node": ">=18.0.0"
36
+ },
37
+ "dependencies": {
38
+ "@modelcontextprotocol/sdk": "^1.0.0",
39
+ "commander": "^12.0.0",
40
+ "ws": "^8.18.0"
41
+ },
42
+ "optionalDependencies": {
43
+ "chrome-devtools-mcp": "^0.21.0"
44
+ },
45
+ "files": [
46
+ "dist/browser-main.js",
47
+ "dist/browser-cli.js",
48
+ "dist/connection.js",
49
+ "dist/devtools-fallback.js",
50
+ "dist/relay-daemon.js",
51
+ "dist/relay.js",
52
+ "dist/types.js",
53
+ "dist/version.js",
54
+ "README.md"
55
+ ]
56
+ }