codex-to-im 1.0.28 → 1.0.30
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/dist/cli.mjs +261 -21
- package/dist/daemon.mjs +247 -57
- package/dist/ui-server.mjs +763 -105
- package/package.json +1 -1
- package/references/setup-guides.md +1 -1
- package/scripts/doctor.sh +9 -9
package/package.json
CHANGED
|
@@ -282,7 +282,7 @@ What happens next:
|
|
|
282
282
|
5. On success, the helper stores the linked account in:
|
|
283
283
|
`~/.codex-to-im/data/weixin-accounts.json`
|
|
284
284
|
|
|
285
|
-
The filename stays plural for backward compatibility
|
|
285
|
+
The filename stays plural for backward compatibility. Multiple linked Weixin accounts can coexist in the same store.
|
|
286
286
|
|
|
287
287
|
If the browser does not open automatically, open the HTML file manually.
|
|
288
288
|
|
package/scripts/doctor.sh
CHANGED
|
@@ -392,15 +392,15 @@ if [ -f "$CONFIG_FILE" ]; then
|
|
|
392
392
|
const enabled = accounts.filter((a) => a && a.enabled && a.token).length;
|
|
393
393
|
process.stdout.write(`${enabled}:${accounts.length}`);
|
|
394
394
|
' "$WX_ACCOUNTS_FILE" 2>/dev/null || echo "0:0")
|
|
395
|
-
WX_ENABLED="${WX_COUNTS%%:*}"
|
|
396
|
-
WX_TOTAL="${WX_COUNTS##*:}"
|
|
397
|
-
if [ "${WX_ENABLED:-0}" -ge 1 ] 2>/dev/null; then
|
|
398
|
-
if [ "${WX_TOTAL:-0}" -gt 1 ] 2>/dev/null; then
|
|
399
|
-
check "Weixin linked account store (
|
|
400
|
-
else
|
|
401
|
-
check "Weixin linked account store (
|
|
402
|
-
fi
|
|
403
|
-
else
|
|
395
|
+
WX_ENABLED="${WX_COUNTS%%:*}"
|
|
396
|
+
WX_TOTAL="${WX_COUNTS##*:}"
|
|
397
|
+
if [ "${WX_ENABLED:-0}" -ge 1 ] 2>/dev/null; then
|
|
398
|
+
if [ "${WX_TOTAL:-0}" -gt 1 ] 2>/dev/null; then
|
|
399
|
+
check "Weixin linked account store (${WX_TOTAL} linked accounts ready; assign each channel to a specific account)" 0
|
|
400
|
+
else
|
|
401
|
+
check "Weixin linked account store (1 linked account ready)" 0
|
|
402
|
+
fi
|
|
403
|
+
else
|
|
404
404
|
check "Weixin linked account store (found file, but no enabled linked account with token — run 'cd $SKILL_DIR && npm run weixin:login')" 1
|
|
405
405
|
fi
|
|
406
406
|
else
|