@acedatacloud/skills 2026.716.5 → 2026.718.0
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.
|
|
3
|
+
"version": "2026.718.0",
|
|
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/reddit/SKILL.md
CHANGED
|
@@ -13,6 +13,8 @@ license: Apache-2.0
|
|
|
13
13
|
metadata:
|
|
14
14
|
author: acedatacloud
|
|
15
15
|
version: "2.0"
|
|
16
|
+
connection_method_preferences:
|
|
17
|
+
reddit/reddit: [oauth, cookie]
|
|
16
18
|
---
|
|
17
19
|
|
|
18
20
|
# Reddit — OAuth or login-cookie access
|
|
@@ -24,7 +26,7 @@ The connector injects exactly one of these credentials:
|
|
|
24
26
|
echo, print, log or return it.**
|
|
25
27
|
- `REDDIT_TOKEN`: official OAuth bearer token (`identity read submit`).
|
|
26
28
|
|
|
27
|
-
The helper automatically prefers
|
|
29
|
+
The helper automatically prefers official OAuth when present and otherwise uses Cookie.
|
|
28
30
|
It sends Reddit's required descriptive User-Agent and never forwards cookies
|
|
29
31
|
outside `reddit.com`.
|
|
30
32
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
Cookie mode uses Reddit's first-party web JSON endpoints and the ``modhash``
|
|
5
5
|
returned by ``/api/me.json``. OAuth mode uses ``oauth.reddit.com``. The helper
|
|
6
|
-
automatically selects ``
|
|
6
|
+
automatically selects ``REDDIT_TOKEN`` first, then ``REDDIT_COOKIES``.
|
|
7
7
|
|
|
8
8
|
State-changing commands are dry-runs unless ``--confirm`` is the final argv
|
|
9
9
|
token. Credentials, cookie values and modhashes are never emitted.
|
|
@@ -241,14 +241,14 @@ class RedditClient:
|
|
|
241
241
|
|
|
242
242
|
@classmethod
|
|
243
243
|
def from_environment(cls) -> "RedditClient":
|
|
244
|
-
raw_cookies = os.environ.get("REDDIT_COOKIES", "").strip()
|
|
245
|
-
if raw_cookies:
|
|
246
|
-
return cls("cookie", cookies=parse_cookie_jar(raw_cookies))
|
|
247
244
|
token = os.environ.get("REDDIT_TOKEN", "").strip()
|
|
248
245
|
if token:
|
|
249
246
|
if "\r" in token or "\n" in token:
|
|
250
247
|
die("REDDIT_TOKEN contains invalid characters")
|
|
251
248
|
return cls("oauth", token=token)
|
|
249
|
+
raw_cookies = os.environ.get("REDDIT_COOKIES", "").strip()
|
|
250
|
+
if raw_cookies:
|
|
251
|
+
return cls("cookie", cookies=parse_cookie_jar(raw_cookies))
|
|
252
252
|
die(
|
|
253
253
|
"No Reddit credential is available — connect Reddit with Cookie or OAuth at "
|
|
254
254
|
"https://auth.acedata.cloud/user/connections."
|
package/skills/weibo/SKILL.md
CHANGED
|
@@ -62,6 +62,7 @@ def test_browser_execution_frontmatter_contract() -> None:
|
|
|
62
62
|
)
|
|
63
63
|
assert " Use the user's locally connected browser for complete Xiaohongshu / RED workflows:" in frontmatter
|
|
64
64
|
assert re.search(r"^execution:\n browser:\n", frontmatter, re.MULTILINE)
|
|
65
|
+
assert re.search(r"^ provider: xiaohongshu/xiaohongshu$", frontmatter, re.MULTILINE)
|
|
65
66
|
assert _nested_list(frontmatter, "origins") == EXPECTED_ORIGINS
|
|
66
67
|
assert _nested_list(frontmatter, "capabilities") == EXPECTED_CAPABILITIES
|
|
67
68
|
assert not re.search(r"^allowed_tools:.*\bBash\b", frontmatter, re.MULTILINE)
|