@luffysolution/omnischolar-pi 0.1.14 → 0.1.15

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.
@@ -41,6 +41,10 @@ If none of the first four sources exists, the first MCP start or installer run c
41
41
 
42
42
  `workspaceRoots` limits local file reads. `output.rootDirectory` limits file writes. To use Obsidian, set the output directory to a folder inside the vault.
43
43
 
44
+ The core services support Windows, Linux, and macOS. Zotero features require Zotero Desktop on the local machine; XRD calculation requires the optional `pymatgen` backend.
45
+
46
+ `omnischolar_status` does not display the absolute config path. Use `omnischolar config path` when the path is needed.
47
+
44
48
  The new-paper subfolder and file name can be customized as well:
45
49
 
46
50
  ```json
@@ -41,6 +41,10 @@ OmniScholar 使用 `schemaVersion: 1` 的 JSON 配置。可直接复制根目录
41
41
 
42
42
  `workspaceRoots` 限定可读取的本地文件,`output.rootDirectory` 限定写入位置。若要直接写入 Obsidian,可把输出目录设为 Vault 中的一个文件夹。
43
43
 
44
+ 核心服务支持 Windows、Linux 和 macOS。Zotero 功能需要本机运行 Zotero Desktop;XRD 计算需要可选的 `pymatgen` 后端。
45
+
46
+ `omnischolar_status` 不显示配置文件绝对路径;需要查看路径时使用 `omnischolar config path`。
47
+
44
48
  新文献的子文件夹和文件名可以继续细分:
45
49
 
46
50
  ```json
@@ -38,7 +38,7 @@
38
38
  "semantic-scholar": {
39
39
  "enabled": true,
40
40
  "apiKey": "",
41
- "apiKeyEnv": "OMNISCHOLAR_SEMANTIC_SCHOLAR_API_KEY",
41
+ "apiKeyEnv": null,
42
42
  "maxPages": 10
43
43
  },
44
44
  "openalex": {
@@ -50,7 +50,7 @@
50
50
  "pubmed": {
51
51
  "enabled": true,
52
52
  "apiKey": "",
53
- "apiKeyEnv": "OMNISCHOLAR_NCBI_API_KEY",
53
+ "apiKeyEnv": null,
54
54
  "email": "researcher@example.edu",
55
55
  "tool": "omnischolar",
56
56
  "maxPages": 10
@@ -75,7 +75,7 @@
75
75
  "easyscholar": {
76
76
  "enabled": true,
77
77
  "apiKey": "",
78
- "apiKeyEnv": "OMNISCHOLAR_EASYSCHOLAR_API_KEY",
78
+ "apiKeyEnv": null,
79
79
  "maxPages": 5
80
80
  }
81
81
  }
@@ -84,7 +84,7 @@
84
84
  "enabled": true,
85
85
  "baseUrl": "https://ai4scholar.net",
86
86
  "apiKey": "",
87
- "apiKeyEnv": "OMNISCHOLAR_AI4SCHOLAR_API_KEY",
87
+ "apiKeyEnv": null,
88
88
  "timeoutSeconds": 60,
89
89
  "maxResponseBytes": 16777216
90
90
  },
@@ -98,7 +98,7 @@
98
98
  "baseUrl": "https://mineru.net/api/v4",
99
99
  "lightweightBaseUrl": "https://mineru.net/api/v1/agent",
100
100
  "apiKey": "",
101
- "apiKeyEnv": "OMNISCHOLAR_MINERU_API_KEY",
101
+ "apiKeyEnv": null,
102
102
  "model": "pipeline",
103
103
  "cacheDirectory": ".omnischolar/mineru",
104
104
  "pollIntervalSeconds": 2,
@@ -111,13 +111,13 @@
111
111
  "enabled": true,
112
112
  "baseUrl": "https://api.materialsproject.org",
113
113
  "apiKey": "",
114
- "apiKeyEnv": "OMNISCHOLAR_MATERIALS_PROJECT_API_KEY",
114
+ "apiKeyEnv": null,
115
115
  "maxPages": 10
116
116
  },
117
117
  "casCommonChemistry": {
118
118
  "enabled": true,
119
119
  "apiKey": "",
120
- "apiKeyEnv": "OMNISCHOLAR_CAS_API_KEY",
120
+ "apiKeyEnv": null,
121
121
  "baseUrl": null,
122
122
  "contractFile": null
123
123
  }
@@ -129,7 +129,7 @@
129
129
  "openai": {
130
130
  "enabled": true,
131
131
  "apiKey": "",
132
- "apiKeyEnv": "OMNISCHOLAR_OPENAI_API_KEY",
132
+ "apiKeyEnv": null,
133
133
  "baseUrl": "https://api.openai.com/v1",
134
134
  "models": {
135
135
  "gpt-image-1": {
@@ -142,7 +142,7 @@
142
142
  "google": {
143
143
  "enabled": true,
144
144
  "apiKey": "",
145
- "apiKeyEnv": "OMNISCHOLAR_GEMINI_API_KEY",
145
+ "apiKeyEnv": null,
146
146
  "baseUrl": "https://generativelanguage.googleapis.com/v1beta",
147
147
  "models": {},
148
148
  "options": {}
@@ -150,7 +150,7 @@
150
150
  "vertex": {
151
151
  "enabled": true,
152
152
  "apiKey": "",
153
- "apiKeyEnv": "OMNISCHOLAR_VERTEX_ACCESS_TOKEN",
153
+ "apiKeyEnv": null,
154
154
  "project": "your-project",
155
155
  "location": "us-central1",
156
156
  "models": {},
@@ -159,7 +159,7 @@
159
159
  "xai": {
160
160
  "enabled": true,
161
161
  "apiKey": "",
162
- "apiKeyEnv": "OMNISCHOLAR_XAI_API_KEY",
162
+ "apiKeyEnv": null,
163
163
  "baseUrl": "https://api.x.ai/v1",
164
164
  "models": {},
165
165
  "options": {}
@@ -167,7 +167,7 @@
167
167
  "fal": {
168
168
  "enabled": true,
169
169
  "apiKey": "",
170
- "apiKeyEnv": "OMNISCHOLAR_FAL_API_KEY",
170
+ "apiKeyEnv": null,
171
171
  "baseUrl": "https://fal.run",
172
172
  "models": {},
173
173
  "options": {}
@@ -175,7 +175,7 @@
175
175
  "dashscope": {
176
176
  "enabled": true,
177
177
  "apiKey": "",
178
- "apiKeyEnv": "OMNISCHOLAR_DASHSCOPE_API_KEY",
178
+ "apiKeyEnv": null,
179
179
  "baseUrl": "https://your-workspace.cn-beijing.maas.aliyuncs.com/api/v1",
180
180
  "models": {},
181
181
  "options": {
@@ -185,7 +185,7 @@
185
185
  "qwen-cloud": {
186
186
  "enabled": true,
187
187
  "apiKey": "",
188
- "apiKeyEnv": "OMNISCHOLAR_QWEN_API_KEY",
188
+ "apiKeyEnv": null,
189
189
  "baseUrl": "https://your-workspace.ap-southeast-1.maas.aliyuncs.com/api/v1",
190
190
  "models": {},
191
191
  "options": {
@@ -195,7 +195,7 @@
195
195
  "atlas": {
196
196
  "enabled": true,
197
197
  "apiKey": "",
198
- "apiKeyEnv": "OMNISCHOLAR_ATLAS_API_KEY",
198
+ "apiKeyEnv": null,
199
199
  "baseUrl": "https://your-atlas-provider.example/v1",
200
200
  "models": {},
201
201
  "options": {}
@@ -203,7 +203,7 @@
203
203
  "custom": {
204
204
  "enabled": true,
205
205
  "apiKey": "",
206
- "apiKeyEnv": "OMNISCHOLAR_CUSTOM_IMAGE_API_KEY",
206
+ "apiKeyEnv": null,
207
207
  "baseUrl": "https://images.example.edu/v1",
208
208
  "models": {
209
209
  "explicit-model-id": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luffysolution/omnischolar-pi",
3
- "version": "0.1.14",
3
+ "version": "0.1.15",
4
4
  "description": "Pi MCP bridge for the OmniScholar research toolkit",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  import { Client } from "@modelcontextprotocol/sdk/client/index.js";
2
2
  import { StdioClientTransport } from "@modelcontextprotocol/sdk/client/stdio.js";
3
3
  import { Type } from "typebox";
4
- const CLIENT_INFO = { name: "omnischolar-pi", version: "0.1.14" };
4
+ const CLIENT_INFO = { name: "omnischolar-pi", version: "0.1.15" };
5
5
  export function resultText(result) {
6
6
  return result.content
7
7
  .map((item) => {