@acedatacloud/skills 2026.705.3 → 2026.706.1

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acedatacloud/skills",
3
- "version": "2026.705.3",
3
+ "version": "2026.706.1",
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
@@ -9,7 +9,7 @@ when_to_use: |
9
9
  as the user's REAL account, so every write is gated behind an explicit
10
10
  confirmation.
11
11
  connections: [x]
12
- allowed_tools: [Bash]
12
+ allowed_tools: [Bash, publish_artifact]
13
13
  license: Apache-2.0
14
14
  metadata:
15
15
  author: acedatacloud
@@ -103,8 +103,9 @@ python3 $X delete --id 123456 --confirm # delete one of M
103
103
  - **Not E2E-verified** (see the warning above) — expect to validate the first run.
104
104
  - **twikit is a scraper of X's non-public API.** It can break when X changes its
105
105
  internal endpoints. A `Couldn't get KEY_BYTE indices` / transaction-id error
106
- means twikit needs upgrading: `pip install --user -U twikit`. An auth error
107
- means the cookie expired reconnect.
106
+ means twikit's transaction-id bootstrap is currently broken against X; do NOT
107
+ ask the user to reconnect cookies for that error. Report it as upstream drift
108
+ and retry only after the twikit/X compatibility issue is fixed.
108
109
  - **ToS / rate-limit / ban risk.** This acts through the web API, not the
109
110
  official API — high-frequency automation can get the account rate-limited or
110
111
  suspended. Keep volume human-like.
@@ -405,12 +405,17 @@ def main() -> None:
405
405
  except Exception as e:
406
406
  # twikit scrapes X's non-public API; a bare error here usually means an
407
407
  # expired cookie OR that X changed its internal endpoints and twikit
408
- # needs upgrading (e.g. "Couldn't get KEY_BYTE indices" = transaction-id
409
- # bootstrap drift `pip install --user -U twikit`).
408
+ # needs a compatibility fix.
409
+ if "Couldn't get KEY_BYTE indices" in str(e):
410
+ die(
411
+ "X request failed because twikit cannot derive X's current "
412
+ "transaction-id keys (`Couldn't get KEY_BYTE indices`). This is "
413
+ "upstream drift in X's internal web API, not a missing/expired "
414
+ "cookie. Retry after twikit/X compatibility is fixed."
415
+ )
410
416
  die(f"X request failed ({type(e).__name__}: {e}). Likely an expired "
411
417
  f"cookie — reconnect at https://auth.acedata.cloud/user/connections "
412
- f"— or twikit drift vs X's internal API (try `pip install --user -U "
413
- f"twikit`).")
418
+ f"— or twikit drift vs X's internal API.")
414
419
 
415
420
 
416
421
  if __name__ == "__main__":