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.
- package/package.json +1 -1
- package/server.js +2 -2
package/package.json
CHANGED
package/server.js
CHANGED
|
@@ -146,7 +146,7 @@ async function spawnProcess(mode) {
|
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
currentProcess = proc;
|
|
149
|
-
console.log(`[
|
|
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('✅
|
|
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}`);
|