claude-opencode-viewer 2.6.53 → 2.6.54

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 +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-opencode-viewer",
3
- "version": "2.6.53",
3
+ "version": "2.6.54",
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
@@ -19,7 +19,7 @@ const IS_PC = process.argv.includes('--pc');
19
19
  const PORT = parseInt(process.argv[2]) || 7008;
20
20
  const USE_HTTPS = process.argv.includes('--https');
21
21
  const JSON_OUTPUT = process.argv.includes('--json');
22
- const INIT_SHELL = process.argv.includes('--shell');
22
+ const INIT_SHELL = IS_PC || process.argv.includes('--shell');
23
23
  const LOG = JSON_OUTPUT ? console.log.bind(console) : () => {};
24
24
 
25
25
  // 自签名证书生成(使用 selfsigned 库,不依赖 openssl)