claude-opencode-viewer 2.1.2 → 2.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/server.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-opencode-viewer",
3
- "version": "2.1.2",
3
+ "version": "2.1.3",
4
4
  "description": "A unified terminal viewer for Claude Code and OpenCode with seamless switching",
5
5
  "type": "module",
6
6
  "main": "server.js",
package/server.js CHANGED
@@ -146,7 +146,7 @@ async function spawnProcess(mode) {
146
146
  }
147
147
 
148
148
  currentProcess = proc;
149
- console.log(`[CombinedV2] ${mode === 'claude' ? 'Claude Code' : 'OpenCode'} 已启动 (PID: ${proc.pid})`);
149
+ console.log(`[claude-opencode-viewer] ${mode === 'claude' ? 'Claude Code' : 'OpenCode'} 已启动 (PID: ${proc.pid})`);
150
150
  return proc;
151
151
  }
152
152
 
@@ -301,7 +301,7 @@ wss.on('connection', (ws, req) => {
301
301
  server.listen(PORT, '0.0.0.0', async () => {
302
302
  const ip = getLocalIp();
303
303
  console.log('\n' + '='.repeat(50));
304
- console.log('✅ Combined Viewer V2 已启动 (丝滑切换版)');
304
+ console.log('✅ Claude OpenCode Viewer 已启动');
305
305
  console.log('='.repeat(50));
306
306
  console.log(`🖥️ 本地访问:http://127.0.0.1:${PORT}`);
307
307
  console.log(`📱 手机访问:http://${ip}:${PORT}`);