@acedatacloud/skills 2026.706.1 → 2026.706.2
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/skills/x/SKILL.md +5 -4
- package/skills/x/scripts/x.py +4 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acedatacloud/skills",
|
|
3
|
-
"version": "2026.706.
|
|
3
|
+
"version": "2026.706.2",
|
|
4
4
|
"description": "Agent Skills for AceDataCloud AI services — music, image, video generation, LLM chat, web search. Compatible with Claude Code, GitHub Copilot, Gemini CLI, OpenAI Codex, and 30+ AI coding agents.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent-skills",
|
package/skills/x/SKILL.md
CHANGED
|
@@ -31,13 +31,14 @@ The connector injects the cookie jar as an env var:
|
|
|
31
31
|
- `X_COOKIES` — a JSON array of cookies (needs at least `auth_token` + `ct0`).
|
|
32
32
|
**Secret — full account access. Never echo or print it.**
|
|
33
33
|
|
|
34
|
-
## Setup —
|
|
34
|
+
## Setup — verify the shipped CLI
|
|
35
35
|
|
|
36
|
-
`twikit`
|
|
37
|
-
|
|
36
|
+
`twikit` is preinstalled in the hosted sandbox image. Do not `pip install` it at
|
|
37
|
+
runtime; if import fails, report that the sandbox image is missing the X skill
|
|
38
|
+
dependency and stop.
|
|
38
39
|
|
|
39
40
|
```sh
|
|
40
|
-
python3 -c "import twikit"
|
|
41
|
+
python3 -c "import twikit" || { echo "sandbox missing twikit; deploy the sandbox skill dependencies image" >&2; exit 1; }
|
|
41
42
|
# $SKILL_DIR can point at another skill loaded this turn — anchor on our own
|
|
42
43
|
# script (re-run this setup at the top of every fresh-shell Bash block below).
|
|
43
44
|
X="$SKILL_DIR/scripts/x.py"; [ -f "$X" ] || X=$(find /tmp -maxdepth 8 -path '*/skills/*/scripts/x.py' 2>/dev/null | head -1)
|
package/skills/x/scripts/x.py
CHANGED
|
@@ -385,8 +385,10 @@ def main() -> None:
|
|
|
385
385
|
AccountLocked, AccountSuspended, TwitterException,
|
|
386
386
|
)
|
|
387
387
|
except Exception as e: # twikit not importable
|
|
388
|
-
die(
|
|
389
|
-
f"
|
|
388
|
+
die(
|
|
389
|
+
f"twikit is not available in the sandbox image: {e}. "
|
|
390
|
+
"Deploy the sandbox skill dependencies image; do not pip-install it at runtime."
|
|
391
|
+
)
|
|
390
392
|
try:
|
|
391
393
|
asyncio.run(run(args))
|
|
392
394
|
except (Unauthorized,) as e:
|