@tina_summer/codepocket 2.6.3 → 2.6.4
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/bin/codepocket.js +3 -1
- package/package.json +5 -5
package/bin/codepocket.js
CHANGED
|
@@ -337,7 +337,9 @@ const CONNECT_ONLY = ['connect', 'c'].includes(args[0])
|
|
|
337
337
|
const filteredArgs = CONNECT_ONLY ? args.slice(1) : args
|
|
338
338
|
|
|
339
339
|
let hubUrl = process.env.CPKT_HUB_URL || process.env.HAPI_HUB_URL || 'http://127.0.0.1:3006'
|
|
340
|
-
|
|
340
|
+
// Must match miniprogram/utils/config.local.js default — otherwise new users running
|
|
341
|
+
// `codepocket --key XXX` (no --relay) silently fail to connect.
|
|
342
|
+
const DEFAULT_RELAY_URL = 'wss://bkstory.cn/ws'
|
|
341
343
|
let relayUrl = process.env.RELAY_WS_URL || process.env.RELAY_URL || DEFAULT_RELAY_URL
|
|
342
344
|
let relayKey = process.env.RELAY_KEY || ''
|
|
343
345
|
let noHub = false
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tina_summer/codepocket",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.4",
|
|
4
4
|
"description": "CodePocket — 基于ClaudeCode的微信小程序工作台",
|
|
5
5
|
"bin": {
|
|
6
6
|
"codepocket": "bin/codepocket.js",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"ws": "^8.18.0"
|
|
21
21
|
},
|
|
22
22
|
"optionalDependencies": {
|
|
23
|
-
"@tina_summer/codepocket-darwin-arm64": "2.6.
|
|
24
|
-
"@tina_summer/codepocket-darwin-x64": "2.6.
|
|
25
|
-
"@tina_summer/codepocket-linux-x64": "2.6.
|
|
26
|
-
"@tina_summer/codepocket-win32-x64": "2.6.
|
|
23
|
+
"@tina_summer/codepocket-darwin-arm64": "2.6.4",
|
|
24
|
+
"@tina_summer/codepocket-darwin-x64": "2.6.4",
|
|
25
|
+
"@tina_summer/codepocket-linux-x64": "2.6.4",
|
|
26
|
+
"@tina_summer/codepocket-win32-x64": "2.6.4"
|
|
27
27
|
},
|
|
28
28
|
"engines": {
|
|
29
29
|
"node": ">=18"
|