citeclaw 2.0.0 → 2.0.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/README.md +21 -21
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -19,22 +19,22 @@ It is designed for two related jobs:
|
|
|
19
19
|
|
|
20
20
|
## Fast Start
|
|
21
21
|
|
|
22
|
-
Run
|
|
22
|
+
Run from npm:
|
|
23
23
|
|
|
24
24
|
```bash
|
|
25
|
-
npx
|
|
26
|
-
npx
|
|
27
|
-
npx
|
|
28
|
-
npx
|
|
25
|
+
npx citeclaw --help
|
|
26
|
+
npx citeclaw citoid formats
|
|
27
|
+
npx citeclaw cite bibtex 10.48550/arXiv.1706.03762
|
|
28
|
+
npx citeclaw crossref "10.1021/acsomega.2c05310"
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
Typical resolution flows:
|
|
32
32
|
|
|
33
33
|
```bash
|
|
34
|
-
npx
|
|
35
|
-
npx
|
|
36
|
-
npx
|
|
37
|
-
npx
|
|
34
|
+
npx citeclaw citoid bibtex "10.1145/3589334.3648158"
|
|
35
|
+
npx citeclaw citoid bibtex "https://arxiv.org/abs/2305.19860"
|
|
36
|
+
npx citeclaw citoid bibtex "https://aclanthology.org/2023.emnlp-main.398/"
|
|
37
|
+
npx citeclaw cite mediawiki "https://arxiv.org/abs/1706.03762"
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
## Local Service
|
|
@@ -62,7 +62,7 @@ The service layer is still based on the Wikimedia Citoid architecture:
|
|
|
62
62
|
Start the MCP server over stdio:
|
|
63
63
|
|
|
64
64
|
```bash
|
|
65
|
-
npx
|
|
65
|
+
npx citeclaw mcp
|
|
66
66
|
```
|
|
67
67
|
|
|
68
68
|
Implemented methods:
|
|
@@ -88,26 +88,26 @@ Exposed tools:
|
|
|
88
88
|
Identity and login:
|
|
89
89
|
|
|
90
90
|
```bash
|
|
91
|
-
npx
|
|
92
|
-
npx
|
|
91
|
+
npx citeclaw zotero whoami --api-key <zotero_api_key>
|
|
92
|
+
npx citeclaw zotero login --api-key <zotero_api_key>
|
|
93
93
|
```
|
|
94
94
|
|
|
95
95
|
Core item operations:
|
|
96
96
|
|
|
97
97
|
```bash
|
|
98
|
-
npx
|
|
99
|
-
npx
|
|
100
|
-
npx
|
|
101
|
-
npx
|
|
98
|
+
npx citeclaw zotero query "transformer" --limit 20
|
|
99
|
+
npx citeclaw zotero cite AB12CD34
|
|
100
|
+
npx citeclaw zotero add '{"itemType":"journalArticle","title":"Demo"}'
|
|
101
|
+
npx citeclaw zotero update AB12CD34 '{"title":"Updated title"}'
|
|
102
102
|
```
|
|
103
103
|
|
|
104
104
|
Note and maintenance operations:
|
|
105
105
|
|
|
106
106
|
```bash
|
|
107
|
-
npx
|
|
108
|
-
npx
|
|
109
|
-
npx
|
|
110
|
-
npx
|
|
107
|
+
npx citeclaw zotero note add AB12CD34 "<p>Key takeaway: ...</p>"
|
|
108
|
+
npx citeclaw zotero dedup --limit 300
|
|
109
|
+
npx citeclaw zotero enrich --apply
|
|
110
|
+
npx citeclaw zotero export md --out ./library.md
|
|
111
111
|
```
|
|
112
112
|
|
|
113
113
|
Safety defaults:
|
|
@@ -149,4 +149,4 @@ Current package metadata and entrypoints live in:
|
|
|
149
149
|
## Notes
|
|
150
150
|
|
|
151
151
|
- The npm package name and primary CLI are `citeclaw`.
|
|
152
|
-
-
|
|
152
|
+
- Primary install/run path is `npx citeclaw ...`.
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "citeclaw",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "Citation and bibliography toolkit for DOI, URL, arXiv, PDF, Zotero, and MCP workflows.",
|
|
5
5
|
"homepage": "https://github.com/trotsky1997/citeclaw",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"main": "./app.js",
|
|
8
8
|
"bin": {
|
|
9
|
-
"citeclaw": "
|
|
9
|
+
"citeclaw": "scripts/citeclaw.js"
|
|
10
10
|
},
|
|
11
11
|
"files": [
|
|
12
12
|
"app.js",
|