@zenalexa/unicli 0.221.0 → 0.221.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/AGENTS.md +12 -12
- package/README.md +13 -11
- package/README.zh-CN.md +13 -11
- package/dist/adapters/acl-anthology/papers.d.ts +16 -0
- package/dist/adapters/acl-anthology/papers.d.ts.map +1 -0
- package/dist/adapters/acl-anthology/papers.js +135 -0
- package/dist/adapters/acl-anthology/papers.js.map +1 -0
- package/dist/adapters/arxiv/papers.js +2 -0
- package/dist/adapters/arxiv/papers.js.map +1 -1
- package/dist/adapters/baidu-scholar/search.js +5 -0
- package/dist/adapters/baidu-scholar/search.js.map +1 -1
- package/dist/adapters/crossref/works.d.ts +42 -0
- package/dist/adapters/crossref/works.d.ts.map +1 -0
- package/dist/adapters/crossref/works.js +157 -0
- package/dist/adapters/crossref/works.js.map +1 -0
- package/dist/adapters/cvf/papers.d.ts +17 -0
- package/dist/adapters/cvf/papers.d.ts.map +1 -0
- package/dist/adapters/cvf/papers.js +124 -0
- package/dist/adapters/cvf/papers.js.map +1 -0
- package/dist/adapters/dblp/publications.js +4 -0
- package/dist/adapters/dblp/publications.js.map +1 -1
- package/dist/adapters/google-scholar/cite.js +1 -0
- package/dist/adapters/google-scholar/cite.js.map +1 -1
- package/dist/adapters/google-scholar/profile.js +5 -0
- package/dist/adapters/google-scholar/profile.js.map +1 -1
- package/dist/adapters/google-scholar/search.js +5 -0
- package/dist/adapters/google-scholar/search.js.map +1 -1
- package/dist/adapters/hf/paper.js +1 -0
- package/dist/adapters/hf/paper.js.map +1 -1
- package/dist/adapters/neurips/proceedings.d.ts +17 -0
- package/dist/adapters/neurips/proceedings.d.ts.map +1 -0
- package/dist/adapters/neurips/proceedings.js +112 -0
- package/dist/adapters/neurips/proceedings.js.map +1 -0
- package/dist/adapters/openalex/works.d.ts.map +1 -1
- package/dist/adapters/openalex/works.js +32 -0
- package/dist/adapters/openalex/works.js.map +1 -1
- package/dist/adapters/openreview/papers.js +5 -0
- package/dist/adapters/openreview/papers.js.map +1 -1
- package/dist/adapters/pmlr/proceedings.d.ts +35 -0
- package/dist/adapters/pmlr/proceedings.d.ts.map +1 -0
- package/dist/adapters/pmlr/proceedings.js +139 -0
- package/dist/adapters/pmlr/proceedings.js.map +1 -0
- package/dist/adapters/pubmed/articles.js +5 -0
- package/dist/adapters/pubmed/articles.js.map +1 -1
- package/dist/adapters/semantic-scholar/papers.d.ts +36 -0
- package/dist/adapters/semantic-scholar/papers.d.ts.map +1 -0
- package/dist/adapters/semantic-scholar/papers.js +214 -0
- package/dist/adapters/semantic-scholar/papers.js.map +1 -0
- package/dist/adapters/unpaywall/works.d.ts +33 -0
- package/dist/adapters/unpaywall/works.d.ts.map +1 -0
- package/dist/adapters/unpaywall/works.js +101 -0
- package/dist/adapters/unpaywall/works.js.map +1 -0
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +15 -1
- package/dist/cli.js.map +1 -1
- package/dist/commands/do.d.ts +30 -0
- package/dist/commands/do.d.ts.map +1 -0
- package/dist/commands/do.js +248 -0
- package/dist/commands/do.js.map +1 -0
- package/dist/commands/extract.d.ts +34 -0
- package/dist/commands/extract.d.ts.map +1 -0
- package/dist/commands/extract.js +316 -0
- package/dist/commands/extract.js.map +1 -0
- package/dist/commands/scholar.d.ts +33 -0
- package/dist/commands/scholar.d.ts.map +1 -0
- package/dist/commands/scholar.js +494 -0
- package/dist/commands/scholar.js.map +1 -0
- package/dist/commands/search.d.ts.map +1 -1
- package/dist/commands/search.js +2 -5
- package/dist/commands/search.js.map +1 -1
- package/dist/discovery/aliases.d.ts +2 -2
- package/dist/discovery/aliases.d.ts.map +1 -1
- package/dist/discovery/aliases.js +182 -11
- package/dist/discovery/aliases.js.map +1 -1
- package/dist/discovery/intents.d.ts +10 -0
- package/dist/discovery/intents.d.ts.map +1 -0
- package/dist/discovery/intents.js +255 -0
- package/dist/discovery/intents.js.map +1 -0
- package/dist/discovery/search.d.ts +4 -1
- package/dist/discovery/search.d.ts.map +1 -1
- package/dist/discovery/search.js +28 -140
- package/dist/discovery/search.js.map +1 -1
- package/dist/fast-path/handlers/discovery.d.ts.map +1 -1
- package/dist/fast-path/handlers/discovery.js +17 -3
- package/dist/fast-path/handlers/discovery.js.map +1 -1
- package/dist/manifest-compact.txt +13 -11
- package/dist/manifest-search.json +1 -1
- package/dist/manifest.json +462 -68
- package/dist/mcp/handler.d.ts.map +1 -1
- package/dist/mcp/handler.js +14 -2
- package/dist/mcp/handler.js.map +1 -1
- package/dist/mcp/tools.d.ts.map +1 -1
- package/dist/mcp/tools.js +11 -3
- package/dist/mcp/tools.js.map +1 -1
- package/dist/registry.d.ts +1 -0
- package/dist/registry.d.ts.map +1 -1
- package/dist/registry.js +5 -0
- package/dist/registry.js.map +1 -1
- package/dist/types/scholarly.d.ts +49 -0
- package/dist/types/scholarly.d.ts.map +1 -0
- package/dist/types/scholarly.js +16 -0
- package/dist/types/scholarly.js.map +1 -0
- package/package.json +1 -1
- package/server.json +2 -2
- package/skills/unicli/SKILL.md +1 -1
- package/skills/unicli-claude-code/SKILL.md +1 -1
- package/skills/unicli-hermes/SKILL.md +1 -1
- package/src/adapters/acl-anthology/papers.ts +157 -0
- package/src/adapters/arxiv/download.yaml +1 -1
- package/src/adapters/arxiv/paper.yaml +1 -1
- package/src/adapters/arxiv/papers.ts +2 -0
- package/src/adapters/arxiv/search.yaml +1 -1
- package/src/adapters/arxiv/trending.yaml +1 -1
- package/src/adapters/baidu-scholar/search.ts +5 -0
- package/src/adapters/crossref/works.ts +209 -0
- package/src/adapters/cvf/papers.ts +136 -0
- package/src/adapters/dblp/publications.ts +4 -0
- package/src/adapters/google-scholar/cite.ts +1 -0
- package/src/adapters/google-scholar/profile.ts +5 -0
- package/src/adapters/google-scholar/search.ts +5 -0
- package/src/adapters/hf/paper.test.ts +10 -0
- package/src/adapters/hf/paper.ts +1 -0
- package/src/adapters/hf/top.yaml +1 -1
- package/src/adapters/huggingface-papers/daily.yaml +1 -1
- package/src/adapters/huggingface-papers/search.yaml +1 -1
- package/src/adapters/neurips/proceedings.ts +126 -0
- package/src/adapters/openalex/works.ts +33 -0
- package/src/adapters/openreview/papers.ts +5 -0
- package/src/adapters/pmlr/proceedings.ts +167 -0
- package/src/adapters/pubmed/articles.ts +5 -0
- package/src/adapters/semantic-scholar/papers.ts +268 -0
- package/src/adapters/unpaywall/works.ts +138 -0
- package/src/adapters/zotero/search.yaml +1 -1
package/AGENTS.md
CHANGED
|
@@ -13,7 +13,7 @@ self-repairing — agents can fix them by editing one file. See
|
|
|
13
13
|
|
|
14
14
|
<!-- BEGIN COUNTS -->
|
|
15
15
|
|
|
16
|
-
> <!-- STATS:site_count -->
|
|
16
|
+
> <!-- STATS:site_count -->312<!-- /STATS --> sites, <!-- STATS:command_count -->1753<!-- /STATS --> commands, <!-- STATS:pipeline_step_count -->101<!-- /STATS --> pipeline steps, BM25 bilingual search. `npm install -g @zenalexa/unicli`
|
|
17
17
|
|
|
18
18
|
<!-- END COUNTS -->
|
|
19
19
|
|
|
@@ -21,21 +21,21 @@ self-repairing — agents can fix them by editing one file. See
|
|
|
21
21
|
|
|
22
22
|
## What You Can Do
|
|
23
23
|
|
|
24
|
-
### Web (
|
|
24
|
+
### Web (181+ sites)
|
|
25
25
|
|
|
26
|
-
**Chinese**: zhihu (27), xiaohongshu (22), bilibili (20), douyin (13), douban (12), v2ex (12), weibo (12), linux-do (11), +
|
|
26
|
+
**Chinese**: zhihu (27), xiaohongshu (22), bilibili (20), douyin (13), douban (12), v2ex (12), weibo (12), linux-do (11), +29 more (`unicli list`)
|
|
27
27
|
|
|
28
|
-
**International**: twitter (44), instagram (29), reddit (24), tiktok (18), youtube (17), nowcoder (16), discord-app (15), facebook (15), +
|
|
28
|
+
**International**: twitter (44), instagram (29), reddit (24), tiktok (18), youtube (17), nowcoder (16), discord-app (15), facebook (15), +73 more (`unicli list`)
|
|
29
29
|
|
|
30
|
-
**AI / ML**: chatgpt (17), antigravity (16), chatwise (16), notebooklm (15), claude (14), doubao-app (13),
|
|
30
|
+
**AI / ML**: chatgpt (17), antigravity (16), chatwise (16), notebooklm (15), claude (14), doubao-app (13), yollomi (12), deepseek (9), +16 more (`unicli list`)
|
|
31
31
|
|
|
32
|
-
**Finance**: eastmoney (18), xueqiu (14), binance (13), sinafinance (5), barchart (4), yahoo-finance (3), coinbase (2),
|
|
32
|
+
**Finance**: eastmoney (18), xueqiu (14), binance (13), coingecko (7), sinafinance (5), barchart (4), yahoo-finance (3), coinbase (2), +2 more (`unicli list`)
|
|
33
33
|
|
|
34
|
-
**Developer**: codex (18), cursor (18), stackoverflow (10), vscode (10), docker-desktop (7), github-desktop (7), gitkraken (7), insomnia (7), +
|
|
34
|
+
**Developer**: codex (18), cursor (18), stackoverflow (10), vscode (10), docker-desktop (7), github-desktop (7), gitkraken (7), insomnia (7), +29 more (`unicli list`)
|
|
35
35
|
|
|
36
36
|
**News**: hackernews (11), bloomberg (10), 36kr (5), bbc (5), reuters (5), ithome (3), cnn (2), infoq (2), +3 more (`unicli list`)
|
|
37
37
|
|
|
38
|
-
**Reference**: spotify (23), netease-music (17), linear (10), imdb (7), bitwarden (7), todoist (7),
|
|
38
|
+
**Reference**: spotify (23), netease-music (17), linear (10), imdb (7), bitwarden (7), todoist (7), wikipedia (6), anilist (5), +14 more (`unicli list`)
|
|
39
39
|
|
|
40
40
|
### macOS (60 cmds)
|
|
41
41
|
|
|
@@ -43,11 +43,11 @@ active-app, app-actions, apps, apps-list, automation-smoke, battery, bluetooth,
|
|
|
43
43
|
|
|
44
44
|
### Desktop (28 apps)
|
|
45
45
|
|
|
46
|
-
freecad (15 cmds), blender (13 cmds), gimp (12 cmds), ffmpeg (11 cmds), audacity (8 cmds), figma (8 cmds),
|
|
46
|
+
freecad (15 cmds), blender (13 cmds), gimp (12 cmds), ffmpeg (11 cmds), audacity (8 cmds), figma (8 cmds), obs (8 cmds), docker (7 cmds), +20 more (`unicli list --category desktop`)
|
|
47
47
|
|
|
48
|
-
### Bridge (
|
|
48
|
+
### Bridge (1 CLIs)
|
|
49
49
|
|
|
50
|
-
|
|
50
|
+
jq (2 cmds)
|
|
51
51
|
|
|
52
52
|
<!-- END ADAPTERS -->
|
|
53
53
|
|
|
@@ -105,7 +105,7 @@ allowlist entry without a one-line `// REASON:` justification in
|
|
|
105
105
|
|
|
106
106
|
## Version
|
|
107
107
|
|
|
108
|
-
0.221.
|
|
108
|
+
0.221.1 — Apollo · Anders
|
|
109
109
|
|
|
110
110
|
## MCP one-liner (Claude Desktop / Cursor / Continue)
|
|
111
111
|
|
package/README.md
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
</p>
|
|
29
29
|
|
|
30
30
|
<p align="center">
|
|
31
|
-
<sub><!-- STATS:site_count -->
|
|
31
|
+
<sub><!-- STATS:site_count -->312<!-- /STATS --> sites · <!-- STATS:command_count -->1753<!-- /STATS --> commands · <!-- STATS:pipeline_step_count -->101<!-- /STATS --> pipeline steps · <!-- STATS:test_count -->8853<!-- /STATS --> tests</sub>
|
|
32
32
|
</p>
|
|
33
33
|
|
|
34
34
|
## Start In 30 Seconds
|
|
@@ -163,6 +163,7 @@ The wall below is generated from active manifest sites with real logo support. B
|
|
|
163
163
|
<a data-site="whatsapp" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="whatsapp: 7 commands"><img alt="whatsapp" src="https://img.shields.io/static/v1?label=whatsapp&message=7+cmds&color=2563eb&style=flat-square&logo=whatsapp&logoColor=white"></a>
|
|
164
164
|
<a data-site="xiaohongshu" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="xiaohongshu: 22 commands"><img alt="xiaohongshu" src="https://img.shields.io/static/v1?label=xiaohongshu&message=22+cmds&color=2563eb&style=flat-square&logo=xiaohongshu&logoColor=white"></a>
|
|
165
165
|
<a data-site="zhihu" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="zhihu: 27 commands"><img alt="zhihu" src="https://img.shields.io/static/v1?label=zhihu&message=27+cmds&color=2563eb&style=flat-square&logo=zhihu&logoColor=white"></a>
|
|
166
|
+
<a data-site="zoom" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="zoom: 2 commands"><img alt="zoom" src="https://img.shields.io/static/v1?label=zoom&message=2+cmds&color=2563eb&style=flat-square&logo=zoom&logoColor=white"></a>
|
|
166
167
|
<a data-site="zoom-app" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="zoom-app: 7 commands"><img alt="zoom-app" src="https://img.shields.io/static/v1?label=zoom-app&message=7+cmds&color=2563eb&style=flat-square&logo=zoom&logoColor=white"></a>
|
|
167
168
|
</p>
|
|
168
169
|
<p><strong>video</strong><br>
|
|
@@ -171,6 +172,7 @@ The wall below is generated from active manifest sites with real logo support. B
|
|
|
171
172
|
<a data-site="tiktok" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="tiktok: 18 commands"><img alt="tiktok" src="https://img.shields.io/static/v1?label=tiktok&message=18+cmds&color=dc2626&style=flat-square&logo=tiktok&logoColor=white"></a>
|
|
172
173
|
<a data-site="twitch" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="twitch: 4 commands"><img alt="twitch" src="https://img.shields.io/static/v1?label=twitch&message=4+cmds&color=dc2626&style=flat-square&logo=twitch&logoColor=white"></a>
|
|
173
174
|
<a data-site="youtube" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="youtube: 17 commands"><img alt="youtube" src="https://img.shields.io/static/v1?label=youtube&message=17+cmds&color=dc2626&style=flat-square&logo=youtube&logoColor=white"></a>
|
|
175
|
+
<a data-site="yt-dlp" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="yt-dlp: 5 commands"><img alt="yt-dlp" src="https://img.shields.io/static/v1?label=yt-dlp&message=5+cmds&color=dc2626&style=flat-square&logo=youtube&logoColor=white"></a>
|
|
174
176
|
</p>
|
|
175
177
|
<p><strong>news</strong><br>
|
|
176
178
|
<a data-site="bbc" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="bbc: 5 commands"><img alt="bbc" src="https://img.shields.io/static/v1?label=bbc&message=5+cmds&color=b45309&style=flat-square&logo=bbc&logoColor=white"></a>
|
|
@@ -200,6 +202,7 @@ The wall below is generated from active manifest sites with real logo support. B
|
|
|
200
202
|
<a data-site="cursor" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="cursor: 18 commands"><img alt="cursor" src="https://img.shields.io/static/v1?label=cursor&message=18+cmds&color=4f46e5&style=flat-square&logo=cursor&logoColor=white"></a>
|
|
201
203
|
<a data-site="docker-desktop" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="docker-desktop: 7 commands"><img alt="docker-desktop" src="https://img.shields.io/static/v1?label=docker-desktop&message=7+cmds&color=4f46e5&style=flat-square&logo=docker&logoColor=white"></a>
|
|
202
204
|
<a data-site="docker-hub" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="docker-hub: 3 commands"><img alt="docker-hub" src="https://img.shields.io/static/v1?label=docker-hub&message=3+cmds&color=4f46e5&style=flat-square&logo=docker&logoColor=white"></a>
|
|
205
|
+
<a data-site="gh" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="gh: 6 commands"><img alt="gh" src="https://img.shields.io/static/v1?label=gh&message=6+cmds&color=4f46e5&style=flat-square&logo=github&logoColor=white"></a>
|
|
203
206
|
<a data-site="github-desktop" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="github-desktop: 7 commands"><img alt="github-desktop" src="https://img.shields.io/static/v1?label=github-desktop&message=7+cmds&color=4f46e5&style=flat-square&logo=github&logoColor=white"></a>
|
|
204
207
|
<a data-site="github-trending" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="github-trending: 1 command"><img alt="github-trending" src="https://img.shields.io/static/v1?label=github-trending&message=1+cmds&color=4f46e5&style=flat-square&logo=github&logoColor=white"></a>
|
|
205
208
|
<a data-site="gitkraken" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="gitkraken: 7 commands"><img alt="gitkraken" src="https://img.shields.io/static/v1?label=gitkraken&message=7+cmds&color=4f46e5&style=flat-square&logo=gitkraken&logoColor=white"></a>
|
|
@@ -226,13 +229,18 @@ The wall below is generated from active manifest sites with real logo support. B
|
|
|
226
229
|
<a data-site="deepseek" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="deepseek: 9 commands"><img alt="deepseek" src="https://img.shields.io/static/v1?label=deepseek&message=9+cmds&color=7c3aed&style=flat-square&logo=deepseek&logoColor=white"></a>
|
|
227
230
|
<a data-site="gemini" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="gemini: 5 commands"><img alt="gemini" src="https://img.shields.io/static/v1?label=gemini&message=5+cmds&color=7c3aed&style=flat-square&logo=googlegemini&logoColor=white"></a>
|
|
228
231
|
<a data-site="hf" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="hf: 5 commands"><img alt="hf" src="https://img.shields.io/static/v1?label=hf&message=5+cmds&color=7c3aed&style=flat-square&logo=huggingface&logoColor=white"></a>
|
|
229
|
-
<a data-site="huggingface-papers" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="huggingface-papers: 2 commands"><img alt="huggingface-papers" src="https://img.shields.io/static/v1?label=huggingface-papers&message=2+cmds&color=7c3aed&style=flat-square&logo=huggingface&logoColor=white"></a>
|
|
230
232
|
<a data-site="lm-studio" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="lm-studio: 7 commands"><img alt="lm-studio" src="https://img.shields.io/static/v1?label=lm-studio&message=7+cmds&color=7c3aed&style=flat-square&logo=lmstudio&logoColor=white"></a>
|
|
231
233
|
<a data-site="openrouter" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="openrouter: 2 commands"><img alt="openrouter" src="https://img.shields.io/static/v1?label=openrouter&message=2+cmds&color=7c3aed&style=flat-square&logo=openai&logoColor=white"></a>
|
|
234
|
+
<a data-site="qwen" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="qwen: 8 commands"><img alt="qwen" src="https://img.shields.io/static/v1?label=qwen&message=8+cmds&color=7c3aed&style=flat-square&logo=alibabacloud&logoColor=white"></a>
|
|
232
235
|
<a data-site="replicate" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="replicate: 2 commands"><img alt="replicate" src="https://img.shields.io/static/v1?label=replicate&message=2+cmds&color=7c3aed&style=flat-square&logo=replicate&logoColor=white"></a>
|
|
233
236
|
</p>
|
|
234
|
-
<p><strong>
|
|
237
|
+
<p><strong>scholarly</strong><br>
|
|
235
238
|
<a data-site="arxiv" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="arxiv: 5 commands"><img alt="arxiv" src="https://img.shields.io/static/v1?label=arxiv&message=5+cmds&color=0f766e&style=flat-square&logo=arxiv&logoColor=white"></a>
|
|
239
|
+
<a data-site="google-scholar" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="google-scholar: 3 commands"><img alt="google-scholar" src="https://img.shields.io/static/v1?label=google-scholar&message=3+cmds&color=0f766e&style=flat-square&logo=google&logoColor=white"></a>
|
|
240
|
+
<a data-site="huggingface-papers" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="huggingface-papers: 2 commands"><img alt="huggingface-papers" src="https://img.shields.io/static/v1?label=huggingface-papers&message=2+cmds&color=0f766e&style=flat-square&logo=huggingface&logoColor=white"></a>
|
|
241
|
+
<a data-site="zotero" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="zotero: 8 commands"><img alt="zotero" src="https://img.shields.io/static/v1?label=zotero&message=8+cmds&color=0f766e&style=flat-square&logo=zotero&logoColor=white"></a>
|
|
242
|
+
</p>
|
|
243
|
+
<p><strong>reference</strong><br>
|
|
236
244
|
<a data-site="google" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="google: 4 commands"><img alt="google" src="https://img.shields.io/static/v1?label=google&message=4+cmds&color=0f766e&style=flat-square&logo=google&logoColor=white"></a>
|
|
237
245
|
<a data-site="wikipedia" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="wikipedia: 5 commands"><img alt="wikipedia" src="https://img.shields.io/static/v1?label=wikipedia&message=5+cmds&color=0f766e&style=flat-square&logo=wikipedia&logoColor=white"></a>
|
|
238
246
|
</p>
|
|
@@ -252,6 +260,7 @@ The wall below is generated from active manifest sites with real logo support. B
|
|
|
252
260
|
</p>
|
|
253
261
|
<p><strong>desktop</strong><br>
|
|
254
262
|
<a data-site="blender" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="blender: 13 commands"><img alt="blender" src="https://img.shields.io/static/v1?label=blender&message=13+cmds&color=334155&style=flat-square&logo=blender&logoColor=white"></a>
|
|
263
|
+
<a data-site="cloudcompare" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="cloudcompare: 4 commands"><img alt="cloudcompare" src="https://img.shields.io/static/v1?label=cloudcompare&message=4+cmds&color=334155&style=flat-square&logo=cloudinary&logoColor=white"></a>
|
|
255
264
|
<a data-site="docker" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="docker: 7 commands"><img alt="docker" src="https://img.shields.io/static/v1?label=docker&message=7+cmds&color=334155&style=flat-square&logo=docker&logoColor=white"></a>
|
|
256
265
|
<a data-site="ffmpeg" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="ffmpeg: 11 commands"><img alt="ffmpeg" src="https://img.shields.io/static/v1?label=ffmpeg&message=11+cmds&color=334155&style=flat-square&logo=ffmpeg&logoColor=white"></a>
|
|
257
266
|
<a data-site="figma" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="figma: 7 commands"><img alt="figma" src="https://img.shields.io/static/v1?label=figma&message=7+cmds&color=334155&style=flat-square&logo=figma&logoColor=white"></a>
|
|
@@ -275,21 +284,14 @@ The wall below is generated from active manifest sites with real logo support. B
|
|
|
275
284
|
<p><strong>other</strong><br>
|
|
276
285
|
<a data-site="aws" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="aws: 1 command"><img alt="aws" src="https://img.shields.io/static/v1?label=aws&message=1+cmds&color=64748b&style=flat-square&logo=amazonaws&logoColor=white"></a>
|
|
277
286
|
<a data-site="chrome" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="chrome: 2 commands"><img alt="chrome" src="https://img.shields.io/static/v1?label=chrome&message=2+cmds&color=64748b&style=flat-square&logo=googlechrome&logoColor=white"></a>
|
|
278
|
-
<a data-site="cloudcompare" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="cloudcompare: 4 commands"><img alt="cloudcompare" src="https://img.shields.io/static/v1?label=cloudcompare&message=4+cmds&color=64748b&style=flat-square&logo=cloudinary&logoColor=white"></a>
|
|
279
|
-
<a data-site="gh" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="gh: 6 commands"><img alt="gh" src="https://img.shields.io/static/v1?label=gh&message=6+cmds&color=64748b&style=flat-square&logo=github&logoColor=white"></a>
|
|
280
|
-
<a data-site="google-scholar" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="google-scholar: 3 commands"><img alt="google-scholar" src="https://img.shields.io/static/v1?label=google-scholar&message=3+cmds&color=64748b&style=flat-square&logo=google&logoColor=white"></a>
|
|
281
287
|
<a data-site="jq" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="jq: 2 commands"><img alt="jq" src="https://img.shields.io/static/v1?label=jq&message=2+cmds&color=64748b&style=flat-square&logo=json&logoColor=white"></a>
|
|
282
288
|
<a data-site="netlify" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="netlify: 1 command"><img alt="netlify" src="https://img.shields.io/static/v1?label=netlify&message=1+cmds&color=64748b&style=flat-square&logo=netlify&logoColor=white"></a>
|
|
283
289
|
<a data-site="pexels" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="pexels: 2 commands"><img alt="pexels" src="https://img.shields.io/static/v1?label=pexels&message=2+cmds&color=64748b&style=flat-square&logo=pexels&logoColor=white"></a>
|
|
284
|
-
<a data-site="qwen" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="qwen: 8 commands"><img alt="qwen" src="https://img.shields.io/static/v1?label=qwen&message=8+cmds&color=64748b&style=flat-square&logo=alibabacloud&logoColor=white"></a>
|
|
285
290
|
<a data-site="slay-the-spire-ii" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="slay-the-spire-ii: 6 commands"><img alt="slay-the-spire-ii" src="https://img.shields.io/static/v1?label=slay-the-spire-ii&message=6+cmds&color=64748b&style=flat-square&logo=steam&logoColor=white"></a>
|
|
286
291
|
<a data-site="supabase" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="supabase: 1 command"><img alt="supabase" src="https://img.shields.io/static/v1?label=supabase&message=1+cmds&color=64748b&style=flat-square&logo=supabase&logoColor=white"></a>
|
|
287
292
|
<a data-site="unsplash" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="unsplash: 2 commands"><img alt="unsplash" src="https://img.shields.io/static/v1?label=unsplash&message=2+cmds&color=64748b&style=flat-square&logo=unsplash&logoColor=white"></a>
|
|
288
293
|
<a data-site="vercel" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="vercel: 1 command"><img alt="vercel" src="https://img.shields.io/static/v1?label=vercel&message=1+cmds&color=64748b&style=flat-square&logo=vercel&logoColor=white"></a>
|
|
289
294
|
<a data-site="wechat-channels" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="wechat-channels: 2 commands"><img alt="wechat-channels" src="https://img.shields.io/static/v1?label=wechat-channels&message=2+cmds&color=64748b&style=flat-square&logo=wechat&logoColor=white"></a>
|
|
290
|
-
<a data-site="yt-dlp" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="yt-dlp: 5 commands"><img alt="yt-dlp" src="https://img.shields.io/static/v1?label=yt-dlp&message=5+cmds&color=64748b&style=flat-square&logo=youtube&logoColor=white"></a>
|
|
291
|
-
<a data-site="zoom" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="zoom: 2 commands"><img alt="zoom" src="https://img.shields.io/static/v1?label=zoom&message=2+cmds&color=64748b&style=flat-square&logo=zoom&logoColor=white"></a>
|
|
292
|
-
<a data-site="zotero" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="zotero: 8 commands"><img alt="zotero" src="https://img.shields.io/static/v1?label=zotero&message=8+cmds&color=64748b&style=flat-square&logo=zotero&logoColor=white"></a>
|
|
293
295
|
</p>
|
|
294
296
|
</div>
|
|
295
297
|
<!-- END README_SITE_GRID -->
|
|
@@ -434,5 +436,5 @@ npm run verify
|
|
|
434
436
|
[Apache-2.0](./LICENSE)
|
|
435
437
|
|
|
436
438
|
<p align="center">
|
|
437
|
-
<sub>v0.221.
|
|
439
|
+
<sub>v0.221.1 — Apollo · Anders</sub>
|
|
438
440
|
</p>
|
package/README.zh-CN.md
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
</p>
|
|
29
29
|
|
|
30
30
|
<p align="center">
|
|
31
|
-
<sub><!-- STATS:site_count -->
|
|
31
|
+
<sub><!-- STATS:site_count -->312<!-- /STATS --> 个站点 · <!-- STATS:command_count -->1753<!-- /STATS --> 条命令 · <!-- STATS:pipeline_step_count -->101<!-- /STATS --> 个 pipeline step · <!-- STATS:test_count -->8853<!-- /STATS --> 个测试</sub>
|
|
32
32
|
</p>
|
|
33
33
|
|
|
34
34
|
## 30 秒开始
|
|
@@ -147,6 +147,7 @@ ACP 作为编辑器和桥接兼容层保留。真正跑任务时,优先 native
|
|
|
147
147
|
<a data-site="whatsapp" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="whatsapp: 7 commands"><img alt="whatsapp" src="https://img.shields.io/static/v1?label=whatsapp&message=7+cmds&color=2563eb&style=flat-square&logo=whatsapp&logoColor=white"></a>
|
|
148
148
|
<a data-site="xiaohongshu" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="xiaohongshu: 22 commands"><img alt="xiaohongshu" src="https://img.shields.io/static/v1?label=xiaohongshu&message=22+cmds&color=2563eb&style=flat-square&logo=xiaohongshu&logoColor=white"></a>
|
|
149
149
|
<a data-site="zhihu" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="zhihu: 27 commands"><img alt="zhihu" src="https://img.shields.io/static/v1?label=zhihu&message=27+cmds&color=2563eb&style=flat-square&logo=zhihu&logoColor=white"></a>
|
|
150
|
+
<a data-site="zoom" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="zoom: 2 commands"><img alt="zoom" src="https://img.shields.io/static/v1?label=zoom&message=2+cmds&color=2563eb&style=flat-square&logo=zoom&logoColor=white"></a>
|
|
150
151
|
<a data-site="zoom-app" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="zoom-app: 7 commands"><img alt="zoom-app" src="https://img.shields.io/static/v1?label=zoom-app&message=7+cmds&color=2563eb&style=flat-square&logo=zoom&logoColor=white"></a>
|
|
151
152
|
</p>
|
|
152
153
|
<p><strong>视频</strong><br>
|
|
@@ -155,6 +156,7 @@ ACP 作为编辑器和桥接兼容层保留。真正跑任务时,优先 native
|
|
|
155
156
|
<a data-site="tiktok" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="tiktok: 18 commands"><img alt="tiktok" src="https://img.shields.io/static/v1?label=tiktok&message=18+cmds&color=dc2626&style=flat-square&logo=tiktok&logoColor=white"></a>
|
|
156
157
|
<a data-site="twitch" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="twitch: 4 commands"><img alt="twitch" src="https://img.shields.io/static/v1?label=twitch&message=4+cmds&color=dc2626&style=flat-square&logo=twitch&logoColor=white"></a>
|
|
157
158
|
<a data-site="youtube" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="youtube: 17 commands"><img alt="youtube" src="https://img.shields.io/static/v1?label=youtube&message=17+cmds&color=dc2626&style=flat-square&logo=youtube&logoColor=white"></a>
|
|
159
|
+
<a data-site="yt-dlp" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="yt-dlp: 5 commands"><img alt="yt-dlp" src="https://img.shields.io/static/v1?label=yt-dlp&message=5+cmds&color=dc2626&style=flat-square&logo=youtube&logoColor=white"></a>
|
|
158
160
|
</p>
|
|
159
161
|
<p><strong>新闻</strong><br>
|
|
160
162
|
<a data-site="bbc" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="bbc: 5 commands"><img alt="bbc" src="https://img.shields.io/static/v1?label=bbc&message=5+cmds&color=b45309&style=flat-square&logo=bbc&logoColor=white"></a>
|
|
@@ -184,6 +186,7 @@ ACP 作为编辑器和桥接兼容层保留。真正跑任务时,优先 native
|
|
|
184
186
|
<a data-site="cursor" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="cursor: 18 commands"><img alt="cursor" src="https://img.shields.io/static/v1?label=cursor&message=18+cmds&color=4f46e5&style=flat-square&logo=cursor&logoColor=white"></a>
|
|
185
187
|
<a data-site="docker-desktop" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="docker-desktop: 7 commands"><img alt="docker-desktop" src="https://img.shields.io/static/v1?label=docker-desktop&message=7+cmds&color=4f46e5&style=flat-square&logo=docker&logoColor=white"></a>
|
|
186
188
|
<a data-site="docker-hub" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="docker-hub: 3 commands"><img alt="docker-hub" src="https://img.shields.io/static/v1?label=docker-hub&message=3+cmds&color=4f46e5&style=flat-square&logo=docker&logoColor=white"></a>
|
|
189
|
+
<a data-site="gh" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="gh: 6 commands"><img alt="gh" src="https://img.shields.io/static/v1?label=gh&message=6+cmds&color=4f46e5&style=flat-square&logo=github&logoColor=white"></a>
|
|
187
190
|
<a data-site="github-desktop" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="github-desktop: 7 commands"><img alt="github-desktop" src="https://img.shields.io/static/v1?label=github-desktop&message=7+cmds&color=4f46e5&style=flat-square&logo=github&logoColor=white"></a>
|
|
188
191
|
<a data-site="github-trending" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="github-trending: 1 command"><img alt="github-trending" src="https://img.shields.io/static/v1?label=github-trending&message=1+cmds&color=4f46e5&style=flat-square&logo=github&logoColor=white"></a>
|
|
189
192
|
<a data-site="gitkraken" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="gitkraken: 7 commands"><img alt="gitkraken" src="https://img.shields.io/static/v1?label=gitkraken&message=7+cmds&color=4f46e5&style=flat-square&logo=gitkraken&logoColor=white"></a>
|
|
@@ -210,13 +213,18 @@ ACP 作为编辑器和桥接兼容层保留。真正跑任务时,优先 native
|
|
|
210
213
|
<a data-site="deepseek" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="deepseek: 9 commands"><img alt="deepseek" src="https://img.shields.io/static/v1?label=deepseek&message=9+cmds&color=7c3aed&style=flat-square&logo=deepseek&logoColor=white"></a>
|
|
211
214
|
<a data-site="gemini" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="gemini: 5 commands"><img alt="gemini" src="https://img.shields.io/static/v1?label=gemini&message=5+cmds&color=7c3aed&style=flat-square&logo=googlegemini&logoColor=white"></a>
|
|
212
215
|
<a data-site="hf" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="hf: 5 commands"><img alt="hf" src="https://img.shields.io/static/v1?label=hf&message=5+cmds&color=7c3aed&style=flat-square&logo=huggingface&logoColor=white"></a>
|
|
213
|
-
<a data-site="huggingface-papers" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="huggingface-papers: 2 commands"><img alt="huggingface-papers" src="https://img.shields.io/static/v1?label=huggingface-papers&message=2+cmds&color=7c3aed&style=flat-square&logo=huggingface&logoColor=white"></a>
|
|
214
216
|
<a data-site="lm-studio" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="lm-studio: 7 commands"><img alt="lm-studio" src="https://img.shields.io/static/v1?label=lm-studio&message=7+cmds&color=7c3aed&style=flat-square&logo=lmstudio&logoColor=white"></a>
|
|
215
217
|
<a data-site="openrouter" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="openrouter: 2 commands"><img alt="openrouter" src="https://img.shields.io/static/v1?label=openrouter&message=2+cmds&color=7c3aed&style=flat-square&logo=openai&logoColor=white"></a>
|
|
218
|
+
<a data-site="qwen" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="qwen: 8 commands"><img alt="qwen" src="https://img.shields.io/static/v1?label=qwen&message=8+cmds&color=7c3aed&style=flat-square&logo=alibabacloud&logoColor=white"></a>
|
|
216
219
|
<a data-site="replicate" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="replicate: 2 commands"><img alt="replicate" src="https://img.shields.io/static/v1?label=replicate&message=2+cmds&color=7c3aed&style=flat-square&logo=replicate&logoColor=white"></a>
|
|
217
220
|
</p>
|
|
218
|
-
<p><strong
|
|
221
|
+
<p><strong>学术</strong><br>
|
|
219
222
|
<a data-site="arxiv" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="arxiv: 5 commands"><img alt="arxiv" src="https://img.shields.io/static/v1?label=arxiv&message=5+cmds&color=0f766e&style=flat-square&logo=arxiv&logoColor=white"></a>
|
|
223
|
+
<a data-site="google-scholar" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="google-scholar: 3 commands"><img alt="google-scholar" src="https://img.shields.io/static/v1?label=google-scholar&message=3+cmds&color=0f766e&style=flat-square&logo=google&logoColor=white"></a>
|
|
224
|
+
<a data-site="huggingface-papers" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="huggingface-papers: 2 commands"><img alt="huggingface-papers" src="https://img.shields.io/static/v1?label=huggingface-papers&message=2+cmds&color=0f766e&style=flat-square&logo=huggingface&logoColor=white"></a>
|
|
225
|
+
<a data-site="zotero" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="zotero: 8 commands"><img alt="zotero" src="https://img.shields.io/static/v1?label=zotero&message=8+cmds&color=0f766e&style=flat-square&logo=zotero&logoColor=white"></a>
|
|
226
|
+
</p>
|
|
227
|
+
<p><strong>知识</strong><br>
|
|
220
228
|
<a data-site="google" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="google: 4 commands"><img alt="google" src="https://img.shields.io/static/v1?label=google&message=4+cmds&color=0f766e&style=flat-square&logo=google&logoColor=white"></a>
|
|
221
229
|
<a data-site="wikipedia" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="wikipedia: 5 commands"><img alt="wikipedia" src="https://img.shields.io/static/v1?label=wikipedia&message=5+cmds&color=0f766e&style=flat-square&logo=wikipedia&logoColor=white"></a>
|
|
222
230
|
</p>
|
|
@@ -236,6 +244,7 @@ ACP 作为编辑器和桥接兼容层保留。真正跑任务时,优先 native
|
|
|
236
244
|
</p>
|
|
237
245
|
<p><strong>桌面</strong><br>
|
|
238
246
|
<a data-site="blender" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="blender: 13 commands"><img alt="blender" src="https://img.shields.io/static/v1?label=blender&message=13+cmds&color=334155&style=flat-square&logo=blender&logoColor=white"></a>
|
|
247
|
+
<a data-site="cloudcompare" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="cloudcompare: 4 commands"><img alt="cloudcompare" src="https://img.shields.io/static/v1?label=cloudcompare&message=4+cmds&color=334155&style=flat-square&logo=cloudinary&logoColor=white"></a>
|
|
239
248
|
<a data-site="docker" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="docker: 7 commands"><img alt="docker" src="https://img.shields.io/static/v1?label=docker&message=7+cmds&color=334155&style=flat-square&logo=docker&logoColor=white"></a>
|
|
240
249
|
<a data-site="ffmpeg" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="ffmpeg: 11 commands"><img alt="ffmpeg" src="https://img.shields.io/static/v1?label=ffmpeg&message=11+cmds&color=334155&style=flat-square&logo=ffmpeg&logoColor=white"></a>
|
|
241
250
|
<a data-site="figma" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="figma: 7 commands"><img alt="figma" src="https://img.shields.io/static/v1?label=figma&message=7+cmds&color=334155&style=flat-square&logo=figma&logoColor=white"></a>
|
|
@@ -259,21 +268,14 @@ ACP 作为编辑器和桥接兼容层保留。真正跑任务时,优先 native
|
|
|
259
268
|
<p><strong>其他</strong><br>
|
|
260
269
|
<a data-site="aws" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="aws: 1 command"><img alt="aws" src="https://img.shields.io/static/v1?label=aws&message=1+cmds&color=64748b&style=flat-square&logo=amazonaws&logoColor=white"></a>
|
|
261
270
|
<a data-site="chrome" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="chrome: 2 commands"><img alt="chrome" src="https://img.shields.io/static/v1?label=chrome&message=2+cmds&color=64748b&style=flat-square&logo=googlechrome&logoColor=white"></a>
|
|
262
|
-
<a data-site="cloudcompare" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="cloudcompare: 4 commands"><img alt="cloudcompare" src="https://img.shields.io/static/v1?label=cloudcompare&message=4+cmds&color=64748b&style=flat-square&logo=cloudinary&logoColor=white"></a>
|
|
263
|
-
<a data-site="gh" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="gh: 6 commands"><img alt="gh" src="https://img.shields.io/static/v1?label=gh&message=6+cmds&color=64748b&style=flat-square&logo=github&logoColor=white"></a>
|
|
264
|
-
<a data-site="google-scholar" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="google-scholar: 3 commands"><img alt="google-scholar" src="https://img.shields.io/static/v1?label=google-scholar&message=3+cmds&color=64748b&style=flat-square&logo=google&logoColor=white"></a>
|
|
265
271
|
<a data-site="jq" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="jq: 2 commands"><img alt="jq" src="https://img.shields.io/static/v1?label=jq&message=2+cmds&color=64748b&style=flat-square&logo=json&logoColor=white"></a>
|
|
266
272
|
<a data-site="netlify" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="netlify: 1 command"><img alt="netlify" src="https://img.shields.io/static/v1?label=netlify&message=1+cmds&color=64748b&style=flat-square&logo=netlify&logoColor=white"></a>
|
|
267
273
|
<a data-site="pexels" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="pexels: 2 commands"><img alt="pexels" src="https://img.shields.io/static/v1?label=pexels&message=2+cmds&color=64748b&style=flat-square&logo=pexels&logoColor=white"></a>
|
|
268
|
-
<a data-site="qwen" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="qwen: 8 commands"><img alt="qwen" src="https://img.shields.io/static/v1?label=qwen&message=8+cmds&color=64748b&style=flat-square&logo=alibabacloud&logoColor=white"></a>
|
|
269
274
|
<a data-site="slay-the-spire-ii" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="slay-the-spire-ii: 6 commands"><img alt="slay-the-spire-ii" src="https://img.shields.io/static/v1?label=slay-the-spire-ii&message=6+cmds&color=64748b&style=flat-square&logo=steam&logoColor=white"></a>
|
|
270
275
|
<a data-site="supabase" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="supabase: 1 command"><img alt="supabase" src="https://img.shields.io/static/v1?label=supabase&message=1+cmds&color=64748b&style=flat-square&logo=supabase&logoColor=white"></a>
|
|
271
276
|
<a data-site="unsplash" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="unsplash: 2 commands"><img alt="unsplash" src="https://img.shields.io/static/v1?label=unsplash&message=2+cmds&color=64748b&style=flat-square&logo=unsplash&logoColor=white"></a>
|
|
272
277
|
<a data-site="vercel" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="vercel: 1 command"><img alt="vercel" src="https://img.shields.io/static/v1?label=vercel&message=1+cmds&color=64748b&style=flat-square&logo=vercel&logoColor=white"></a>
|
|
273
278
|
<a data-site="wechat-channels" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="wechat-channels: 2 commands"><img alt="wechat-channels" src="https://img.shields.io/static/v1?label=wechat-channels&message=2+cmds&color=64748b&style=flat-square&logo=wechat&logoColor=white"></a>
|
|
274
|
-
<a data-site="yt-dlp" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="yt-dlp: 5 commands"><img alt="yt-dlp" src="https://img.shields.io/static/v1?label=yt-dlp&message=5+cmds&color=64748b&style=flat-square&logo=youtube&logoColor=white"></a>
|
|
275
|
-
<a data-site="zoom" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="zoom: 2 commands"><img alt="zoom" src="https://img.shields.io/static/v1?label=zoom&message=2+cmds&color=64748b&style=flat-square&logo=zoom&logoColor=white"></a>
|
|
276
|
-
<a data-site="zotero" href="https://olo-dot-io.github.io/Uni-CLI/reference/sites" title="zotero: 8 commands"><img alt="zotero" src="https://img.shields.io/static/v1?label=zotero&message=8+cmds&color=64748b&style=flat-square&logo=zotero&logoColor=white"></a>
|
|
277
279
|
</p>
|
|
278
280
|
</div>
|
|
279
281
|
<!-- END README_SITE_GRID -->
|
|
@@ -414,5 +416,5 @@ npm run verify
|
|
|
414
416
|
[Apache-2.0](./LICENSE)
|
|
415
417
|
|
|
416
418
|
<p align="center">
|
|
417
|
-
<sub>v0.221.
|
|
419
|
+
<sub>v0.221.1 — Apollo · Anders</sub>
|
|
418
420
|
</p>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @owner src::adapters::acl-anthology::papers
|
|
3
|
+
* @does Registers ACL Anthology paper search and event proceedings listing from official Anthology pages.
|
|
4
|
+
* @needs aclanthology.org static search/event HTML, src/registry.ts
|
|
5
|
+
* @feeds src/commands/scholar.ts via scholar.search, scholar.get, scholar.pdf, and scholar.venue
|
|
6
|
+
* @breaks ACL Anthology markup drift surfaces as empty parse output; no browser workaround is used.
|
|
7
|
+
* @invariants Paper URLs/PDF URLs are absolutized against aclanthology.org; event keys are explicit.
|
|
8
|
+
* @side-effects HTTPS egress to aclanthology.org only
|
|
9
|
+
* @perf O(N) over one HTML response
|
|
10
|
+
* @concurrency safe
|
|
11
|
+
* @test covered by scholar command discovery and parser style tests for sibling proceedings sources
|
|
12
|
+
* @stability experimental
|
|
13
|
+
* @since 2026-05-19
|
|
14
|
+
*/
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=papers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"papers.d.ts","sourceRoot":"","sources":["../../../src/adapters/acl-anthology/papers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG"}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @owner src::adapters::acl-anthology::papers
|
|
3
|
+
* @does Registers ACL Anthology paper search and event proceedings listing from official Anthology pages.
|
|
4
|
+
* @needs aclanthology.org static search/event HTML, src/registry.ts
|
|
5
|
+
* @feeds src/commands/scholar.ts via scholar.search, scholar.get, scholar.pdf, and scholar.venue
|
|
6
|
+
* @breaks ACL Anthology markup drift surfaces as empty parse output; no browser workaround is used.
|
|
7
|
+
* @invariants Paper URLs/PDF URLs are absolutized against aclanthology.org; event keys are explicit.
|
|
8
|
+
* @side-effects HTTPS egress to aclanthology.org only
|
|
9
|
+
* @perf O(N) over one HTML response
|
|
10
|
+
* @concurrency safe
|
|
11
|
+
* @test covered by scholar command discovery and parser style tests for sibling proceedings sources
|
|
12
|
+
* @stability experimental
|
|
13
|
+
* @since 2026-05-19
|
|
14
|
+
*/
|
|
15
|
+
import { cli, Strategy } from "../../registry.js";
|
|
16
|
+
const ORIGIN = "https://aclanthology.org";
|
|
17
|
+
function decode(value) {
|
|
18
|
+
return value
|
|
19
|
+
.replace(/&/g, "&")
|
|
20
|
+
.replace(/</g, "<")
|
|
21
|
+
.replace(/>/g, ">")
|
|
22
|
+
.replace(/"/g, '"')
|
|
23
|
+
.replace(/'/g, "'")
|
|
24
|
+
.replace(/\s+/g, " ")
|
|
25
|
+
.trim();
|
|
26
|
+
}
|
|
27
|
+
function absolute(path) {
|
|
28
|
+
return /^https?:\/\//i.test(path)
|
|
29
|
+
? path
|
|
30
|
+
: `${ORIGIN}${path.startsWith("/") ? "" : "/"}${path}`;
|
|
31
|
+
}
|
|
32
|
+
function normalizeId(value) {
|
|
33
|
+
const raw = String(value ?? "").trim();
|
|
34
|
+
if (!/^[A-Za-z0-9.-]+$/.test(raw)) {
|
|
35
|
+
throw new Error(`ACL Anthology id "${raw}" is not valid.`);
|
|
36
|
+
}
|
|
37
|
+
return raw.replace(/\.$/, "");
|
|
38
|
+
}
|
|
39
|
+
function parseRows(html, source = "acl-anthology") {
|
|
40
|
+
const out = [];
|
|
41
|
+
const re = /<p class="d-sm-flex[^"]*">[\s\S]*?<a[^>]+href="([^"]+)"[^>]*>([\s\S]*?)<\/a>([\s\S]*?)(?=<p class="d-sm-flex|$)/g;
|
|
42
|
+
let match;
|
|
43
|
+
while ((match = re.exec(html)) !== null) {
|
|
44
|
+
const sourceUrl = absolute(match[1]);
|
|
45
|
+
const id = sourceUrl.replace(`${ORIGIN}/`, "").replace(/\/$/, "");
|
|
46
|
+
const block = match[3];
|
|
47
|
+
const pdf = block.match(/href="([^"]+\.pdf)"/i)?.[1] ?? "";
|
|
48
|
+
const authorText = block
|
|
49
|
+
.replace(/<span class="d-block">[\s\S]*?<\/span>/g, " ")
|
|
50
|
+
.replace(/<[^>]+>/g, " ");
|
|
51
|
+
const authors = decode(authorText)
|
|
52
|
+
.split(/,\s*/)
|
|
53
|
+
.map((author) => author.trim())
|
|
54
|
+
.filter(Boolean)
|
|
55
|
+
.slice(0, 20);
|
|
56
|
+
out.push({
|
|
57
|
+
id,
|
|
58
|
+
title: decode(match[2].replace(/<[^>]+>/g, " ")),
|
|
59
|
+
authors: authors.length > 0 ? authors : undefined,
|
|
60
|
+
year: Number(id.slice(0, 4)) || undefined,
|
|
61
|
+
venue: "ACL Anthology",
|
|
62
|
+
pdf_url: pdf ? absolute(pdf) : `${sourceUrl}.pdf`,
|
|
63
|
+
source_adapter: source,
|
|
64
|
+
source_url: sourceUrl,
|
|
65
|
+
retrieved_at: new Date().toISOString(),
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
return out;
|
|
69
|
+
}
|
|
70
|
+
async function fetchHtml(url, label) {
|
|
71
|
+
const response = await fetch(url, {
|
|
72
|
+
headers: {
|
|
73
|
+
Accept: "text/html",
|
|
74
|
+
"User-Agent": "unicli-acl-anthology/1.0 (https://github.com/olo-dot-io/Uni-CLI)",
|
|
75
|
+
},
|
|
76
|
+
});
|
|
77
|
+
if (response.status === 404)
|
|
78
|
+
throw new Error(`${label} returned no result.`);
|
|
79
|
+
if (!response.ok)
|
|
80
|
+
throw new Error(`${label} returned HTTP ${response.status}.`);
|
|
81
|
+
return response.text();
|
|
82
|
+
}
|
|
83
|
+
cli({
|
|
84
|
+
site: "acl-anthology",
|
|
85
|
+
name: "search",
|
|
86
|
+
description: "Search ACL Anthology papers",
|
|
87
|
+
domain: "aclanthology.org",
|
|
88
|
+
strategy: Strategy.PUBLIC,
|
|
89
|
+
args: [
|
|
90
|
+
{ name: "query", type: "str", required: true, positional: true },
|
|
91
|
+
{ name: "limit", type: "int", default: 20 },
|
|
92
|
+
],
|
|
93
|
+
columns: ["id", "title", "authors", "year", "venue", "pdf_url", "source_url"],
|
|
94
|
+
capabilities: ["http.fetch", "scholar.search", "scholar.pdf"],
|
|
95
|
+
func: async (_page, kwargs) => {
|
|
96
|
+
const query = String(kwargs.query ?? "").trim();
|
|
97
|
+
if (!query)
|
|
98
|
+
throw new Error("acl-anthology search query cannot be empty.");
|
|
99
|
+
const limit = Math.min(Math.max(Number(kwargs.limit ?? 20), 1), 100);
|
|
100
|
+
const rows = parseRows(await fetchHtml(`${ORIGIN}/search/?q=${encodeURIComponent(query)}`, "acl-anthology search")).slice(0, limit);
|
|
101
|
+
if (rows.length === 0)
|
|
102
|
+
throw new Error(`No ACL Anthology papers matched "${query}".`);
|
|
103
|
+
return rows;
|
|
104
|
+
},
|
|
105
|
+
});
|
|
106
|
+
cli({
|
|
107
|
+
site: "acl-anthology",
|
|
108
|
+
name: "paper",
|
|
109
|
+
description: "Fetch an ACL Anthology paper by anthology id",
|
|
110
|
+
domain: "aclanthology.org",
|
|
111
|
+
strategy: Strategy.PUBLIC,
|
|
112
|
+
args: [{ name: "id", type: "str", required: true, positional: true }],
|
|
113
|
+
columns: ["id", "title", "authors", "year", "venue", "pdf_url", "source_url"],
|
|
114
|
+
capabilities: ["http.fetch", "scholar.get", "scholar.pdf"],
|
|
115
|
+
func: async (_page, kwargs) => {
|
|
116
|
+
const id = normalizeId(kwargs.id ?? kwargs.ref);
|
|
117
|
+
const html = await fetchHtml(`${ORIGIN}/${id}/`, `acl-anthology paper ${id}`);
|
|
118
|
+
const title = decode(html.match(/<h2[^>]*id=title[^>]*>([\s\S]*?)<\/h2>/)?.[1] ?? "");
|
|
119
|
+
if (!title)
|
|
120
|
+
throw new Error(`ACL Anthology paper ${id} did not expose a title.`);
|
|
121
|
+
return [
|
|
122
|
+
{
|
|
123
|
+
id,
|
|
124
|
+
title,
|
|
125
|
+
year: Number(id.slice(0, 4)) || undefined,
|
|
126
|
+
venue: "ACL Anthology",
|
|
127
|
+
pdf_url: `${ORIGIN}/${id}.pdf`,
|
|
128
|
+
source_adapter: "acl-anthology",
|
|
129
|
+
source_url: `${ORIGIN}/${id}/`,
|
|
130
|
+
retrieved_at: new Date().toISOString(),
|
|
131
|
+
},
|
|
132
|
+
];
|
|
133
|
+
},
|
|
134
|
+
});
|
|
135
|
+
//# sourceMappingURL=papers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"papers.js","sourceRoot":"","sources":["../../../src/adapters/acl-anthology/papers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAGlD,MAAM,MAAM,GAAG,0BAA0B,CAAC;AAE1C,SAAS,MAAM,CAAC,KAAa;IAC3B,OAAO,KAAK;SACT,OAAO,CAAC,QAAQ,EAAE,GAAG,CAAC;SACtB,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC;SACrB,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC;SACrB,OAA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C,IAAI,EAAE,CAChE,CAAC;QACF,IAAI,CAAC,KAAK;YACR,MAAM,IAAI,KAAK,CAAC,uBAAuB,EAAE,0BAA0B,CAAC,CAAC;QACvE,OAAO;YACL;gBACE,EAAE;gBACF,KAAK;gBACL,IAAI,EAAE,MAAM,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,SAAS;gBACzC,KAAK,EAAE,eAAe;gBACtB,OAAO,EAAE,GAAG,MAAM,IAAI,EAAE,MAAM;gBAC9B,cAAc,EAAE,eAAe;gBAC/B,UAAU,EAAE,GAAG,MAAM,IAAI,EAAE,GAAG;gBAC9B,YAAY,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;aACT;SAChC,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"}
|
|
@@ -141,6 +141,7 @@ cli({
|
|
|
141
141
|
{ name: "limit", type: "int", default: 20, description: "Max papers" },
|
|
142
142
|
],
|
|
143
143
|
columns: ["id", "title", "authors", "published", "primary_category", "url"],
|
|
144
|
+
capabilities: ["http.fetch", "scholar.author", "scholar.search"],
|
|
144
145
|
func: async (_page, kwargs) => {
|
|
145
146
|
const author = requireArxivAuthor(kwargs.author);
|
|
146
147
|
const limit = requireArxivLimit(kwargs.limit, 20);
|
|
@@ -174,6 +175,7 @@ cli({
|
|
|
174
175
|
{ name: "limit", type: "int", default: 10, description: "Max papers" },
|
|
175
176
|
],
|
|
176
177
|
columns: ["id", "title", "authors", "published", "primary_category", "url"],
|
|
178
|
+
capabilities: ["http.fetch", "scholar.search", "scholar.venue"],
|
|
177
179
|
func: async (_page, kwargs) => {
|
|
178
180
|
const category = requireArxivCategory(kwargs.category);
|
|
179
181
|
const limit = requireArxivLimit(kwargs.limit, 10);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"papers.js","sourceRoot":"","sources":["../../../src/adapters/arxiv/papers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EA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GAAG,IAAI,eAAe,CAAC;YACjC,YAAY,EAAE,OAAO,QAAQ,EAAE;YAC/B,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC;YAC1B,MAAM,EAAE,eAAe;YACvB,SAAS,EAAE,YAAY;SACxB,CAAC,CAAC;QACH,MAAM,IAAI,GAAG,WAAW,CAAC,iBAAiB,CAAC,MAAM,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;QACtE,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACtB,MAAM,IAAI,KAAK,CAAC,mCAAmC,QAAQ,GAAG,CAAC,CAAC;QAClE,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;CACF,CAAC,CAAC"}
|
|
@@ -12,6 +12,11 @@ cli({
|
|
|
12
12
|
{ name: "limit", type: "int", default: 10 },
|
|
13
13
|
],
|
|
14
14
|
columns: ["title", "authors", "source", "url"],
|
|
15
|
+
capabilities: [
|
|
16
|
+
"mcp-browser.navigate",
|
|
17
|
+
"mcp-browser.evaluate",
|
|
18
|
+
"scholar.search",
|
|
19
|
+
],
|
|
15
20
|
func: async (page, kwargs) => {
|
|
16
21
|
const p = page;
|
|
17
22
|
const limit = intArg(kwargs.limit, 10, 50);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.js","sourceRoot":"","sources":["../../../src/adapters/baidu-scholar/search.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAElD,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE,GAAG,EAAE,MAAM,6BAA6B,CAAC;AAE9D,GAAG,CAAC;IACF,IAAI,EAAE,eAAe;IACrB,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,6BAA6B;IAC1C,MAAM,EAAE,kBAAkB;IAC1B,QAAQ,EAAE,QAAQ,CAAC,MAAM;IACzB,OAAO,EAAE,IAAI;IACb,IAAI,EAAE;QACJ,EAAE,IAA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AM;IACzB,OAAO,EAAE,IAAI;IACb,IAAI,EAAE;QACJ,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE;QAChE,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE;KAC5C;IACD,OAAO,EAAE,CAAC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,CAAC;IAC9C,YAAY,EAAE;QACZ,sBAAsB;QACtB,sBAAsB;QACtB,gBAAgB;KACjB;IACD,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;QAC3B,MAAM,CAAC,GAAG,IAAa,CAAC;QACxB,MAAM,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;QAC3C,MAAM,CAAC,CAAC,IAAI,CACV,iCAAiC,kBAAkB,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE,EACxE,EAAE,QAAQ,EAAE,IAAI,EAAE,CACnB,CAAC;QACF,MAAM,IAAI,GAAG,MAAM,CAAC,CAAC,QAAQ,CAAC;;;;;;;;;;+CAUa,EAAE,CAAC,KAAK,CAAC;SAC/C,CAAC,CAAC;QACP,OAAO,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAE,IAAkC,CAAC,CAAC,CAAC,EAAE,CAAC;IACxE,CAAC;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @owner src::adapters::crossref::works
|
|
3
|
+
* @does Registers Crossref REST work search and DOI lookup commands for publisher metadata.
|
|
4
|
+
* @needs api.crossref.org REST API, optional CROSSREF_MAILTO, src/registry.ts
|
|
5
|
+
* @feeds src/commands/scholar.ts via scholar.search and scholar.get
|
|
6
|
+
* @breaks Crossref response-shape drift or rate limiting surfaces as explicit adapter errors.
|
|
7
|
+
* @invariants DOI lookup accepts only DOI-shaped references; output maps to ScholarlyWorkRecord.
|
|
8
|
+
* @side-effects HTTPS egress to api.crossref.org only
|
|
9
|
+
* @perf O(limit) JSON mapping
|
|
10
|
+
* @concurrency safe
|
|
11
|
+
* @test tests/unit/adapters/scholar-sources.test.ts
|
|
12
|
+
* @stability experimental
|
|
13
|
+
* @since 2026-05-19
|
|
14
|
+
*/
|
|
15
|
+
import type { ScholarlyWorkRecord } from "../../types/scholarly.js";
|
|
16
|
+
interface CrossrefPerson {
|
|
17
|
+
given?: unknown;
|
|
18
|
+
family?: unknown;
|
|
19
|
+
name?: unknown;
|
|
20
|
+
}
|
|
21
|
+
interface CrossrefItem {
|
|
22
|
+
DOI?: unknown;
|
|
23
|
+
title?: unknown[];
|
|
24
|
+
subtitle?: unknown[];
|
|
25
|
+
author?: CrossrefPerson[];
|
|
26
|
+
"container-title"?: unknown[];
|
|
27
|
+
issued?: {
|
|
28
|
+
"date-parts"?: unknown[][];
|
|
29
|
+
};
|
|
30
|
+
published?: {
|
|
31
|
+
"date-parts"?: unknown[][];
|
|
32
|
+
};
|
|
33
|
+
"is-referenced-by-count"?: unknown;
|
|
34
|
+
reference?: unknown[];
|
|
35
|
+
URL?: unknown;
|
|
36
|
+
type?: unknown;
|
|
37
|
+
abstract?: unknown;
|
|
38
|
+
}
|
|
39
|
+
export declare function requireCrossrefDoi(value: unknown): string;
|
|
40
|
+
export declare function mapCrossrefItem(item: CrossrefItem, source: string): ScholarlyWorkRecord;
|
|
41
|
+
export {};
|
|
42
|
+
//# sourceMappingURL=works.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"works.d.ts","sourceRoot":"","sources":["../../../src/adapters/crossref/works.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAIpE,UAAU,cAAc;IACtB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,UAAU,YAAY;IACpB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,KAAK,CAAC,EAAE,OAAO,EAAE,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;IACrB,MAAM,CAAC,EAAE,cAAc,EAAE,CAAC;IAC1B,iBAAiB,CAAC,EAAE,OAAO,EAAE,CAAC;IAC9B,MAAM,CAAC,EAAE;QAAE,YAAY,CAAC,EAAE,OAAO,EAAE,EAAE,CAAA;KAAE,CAAC;IACxC,SAAS,CAAC,EAAE;QAAE,YAAY,CAAC,EAAE,OAAO,EAAE,EAAE,CAAA;KAAE,CAAC;IAC3C,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,SAAS,CAAC,EAAE,OAAO,EAAE,CAAC;IACtB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AA6DD,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAMzD;AAsBD,wBAAgB,eAAe,CAC7B,IAAI,EAAE,YAAY,EAClB,MAAM,EAAE,MAAM,GACb,mBAAmB,CAoBrB"}
|