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.
- package/package.json +1 -1
- package/server.js +1 -1
package/package.json
CHANGED
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)
|