@wong2kim/wmux 1.1.0 → 1.1.2

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.
@@ -45,6 +45,9 @@ exports.IPC = {
45
45
  FS_WATCH: 'fs:watch',
46
46
  FS_UNWATCH: 'fs:unwatch',
47
47
  FS_CHANGED: 'fs:changed',
48
+ // Scrollback persistence
49
+ SCROLLBACK_DUMP: 'scrollback:dump',
50
+ SCROLLBACK_LOAD: 'scrollback:load',
48
51
  };
49
52
  // Named Pipe / Unix socket path for wmux API
50
53
  // Fixed name so MCP clients (e.g. Claude Code) can reconnect across wmux restarts
@@ -25,9 +25,20 @@ exports.ALL_RPC_METHODS = [
25
25
  'system.identify',
26
26
  'system.capabilities',
27
27
  'browser.open',
28
- 'browser.snapshot',
29
- 'browser.click',
30
- 'browser.fill',
31
- 'browser.eval',
32
28
  'browser.navigate',
29
+ 'browser.close',
30
+ 'browser.session.start',
31
+ 'browser.session.stop',
32
+ 'browser.session.status',
33
+ 'browser.session.list',
34
+ 'browser.type.humanlike',
35
+ 'browser.cdp.target',
36
+ 'browser.cdp.info',
37
+ 'daemon.createSession',
38
+ 'daemon.destroySession',
39
+ 'daemon.attachSession',
40
+ 'daemon.detachSession',
41
+ 'daemon.resizeSession',
42
+ 'daemon.listSessions',
43
+ 'daemon.ping',
33
44
  ];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wong2kim/wmux",
3
3
  "productName": "wmux",
4
- "version": "1.1.0",
4
+ "version": "1.1.2",
5
5
  "description": "Windows terminal multiplexer with MCP server for AI agents - run multiple CLI sessions in parallel, control via Claude Code and other AI tools",
6
6
  "main": ".vite/build/index.js",
7
7
  "scripts": {
@@ -12,10 +12,11 @@
12
12
  "forge-publish": "electron-forge publish",
13
13
  "lint": "eslint --ext .ts,.tsx .",
14
14
  "build:cli": "tsc -p tsconfig.cli.json",
15
- "build:mcp": "tsc -p tsconfig.mcp.json",
15
+ "build:mcp": "tsc -p tsconfig.mcp.json && esbuild dist/mcp/mcp/index.js --bundle --platform=node --outfile=dist/mcp-bundle/index.js --external:electron --external:playwright-core",
16
16
  "cli": "node dist/cli/cli/index.js",
17
17
  "mcp": "node dist/mcp/mcp/index.js",
18
- "prepublishOnly": "npm run build:cli && npm run build:mcp"
18
+ "prepublishOnly": "npm run build:cli && npm run build:mcp",
19
+ "test": "vitest run"
19
20
  },
20
21
  "bin": {
21
22
  "wmux": "dist/cli/cli/index.js",
@@ -76,7 +77,8 @@
76
77
  "postcss": "^8.5.8",
77
78
  "tailwindcss": "^3.4.19",
78
79
  "typescript": "^5.9.3",
79
- "vite": "^5.4.21"
80
+ "vite": "^5.4.21",
81
+ "vitest": "^4.1.0"
80
82
  },
81
83
  "dependencies": {
82
84
  "@modelcontextprotocol/sdk": "^1.27.1",
@@ -87,6 +89,7 @@
87
89
  "electron-squirrel-startup": "^1.0.1",
88
90
  "immer": "^11.1.4",
89
91
  "node-pty": "^1.1.0",
92
+ "playwright-core": "^1.58.2",
90
93
  "react": "^19.2.4",
91
94
  "react-dom": "^19.2.4",
92
95
  "react-resizable-panels": "^4.7.3",