@mkterswingman/5mghost-wonder 0.0.3 → 0.0.5
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
CHANGED
|
@@ -33,6 +33,8 @@ wonder --version
|
|
|
33
33
|
|
|
34
34
|
## Step 2 — mkterswingman Auth Login
|
|
35
35
|
|
|
36
|
+
**Only use the CLI to check login state. Do not read `~/.mkterswingman/auth.json` directly** — that file is the auth SDK's internal storage (format may change, and OAuth completion → disk flush has a brief window where naive reads misjudge expiry). `wonder auth status` handles this correctly. The same rule applies to `~/.mkterswingman/5mghost-wonder/cookies.json` and the local telemetry SQLite file: always go through the corresponding `wonder` CLI command.
|
|
37
|
+
|
|
36
38
|
Check current status:
|
|
37
39
|
|
|
38
40
|
```bash
|
|
@@ -73,7 +75,7 @@ If expired or missing, run:
|
|
|
73
75
|
wonder wecom cookie
|
|
74
76
|
```
|
|
75
77
|
|
|
76
|
-
This launches the local Chrome/Edge browser via CDP
|
|
78
|
+
This launches the local Chrome/Edge browser via CDP and blocks until the user scans the QR code in WeCom mobile (or the CDP wait times out). When the command returns, verify:
|
|
77
79
|
|
|
78
80
|
```bash
|
|
79
81
|
wonder wecom status
|
|
@@ -208,20 +208,6 @@ mkdir -p /tmp/wonder-pptx-unpack && cp <path> /tmp/wonder-pptx-unpack/slide.zip
|
|
|
208
208
|
|
|
209
209
|
Then use Read tool on files in `/tmp/wonder-pptx-unpack/ppt/media/`.
|
|
210
210
|
|
|
211
|
-
### ⚠️ Known issue: python-pptx slice crash
|
|
212
|
-
|
|
213
|
-
If you use python-pptx to process WeCom pptx files, **do not use slice syntax**:
|
|
214
|
-
|
|
215
|
-
```python
|
|
216
|
-
# ❌ This crashes on WeCom pptx
|
|
217
|
-
for slide in prs.slides[:5]:
|
|
218
|
-
...
|
|
219
|
-
|
|
220
|
-
# ✅ Use iteration instead
|
|
221
|
-
for slide in prs.slides:
|
|
222
|
-
...
|
|
223
|
-
```
|
|
224
|
-
|
|
225
211
|
---
|
|
226
212
|
|
|
227
213
|
## Unsupported types
|