@luffysolution/omnischolar-pi 0.1.16 → 0.1.18
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.en.md +6 -0
- package/README.md +4 -0
- package/docs/IMAGE_PROVIDERS.en.md +37 -8
- package/docs/IMAGE_PROVIDERS.md +37 -8
- package/docs/INSTALLATION.en.md +1 -0
- package/docs/INSTALLATION.md +1 -0
- package/docs/RESEARCH.en.md +2 -1
- package/docs/RESEARCH.md +2 -1
- package/docs/TOOLS.en.md +1 -0
- package/docs/TOOLS.md +1 -0
- package/omnischolar.config.example.json +16 -6
- package/package.json +1 -1
- package/pi-extension/dist/index.js +1 -1
package/README.en.md
CHANGED
|
@@ -48,8 +48,14 @@ Codex plugin:
|
|
|
48
48
|
```sh
|
|
49
49
|
codex plugin marketplace add luffysolution-svg/omnischolar --ref main
|
|
50
50
|
codex plugin add omnischolar@omnischolar
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
Update the installed Codex plugin:
|
|
54
|
+
|
|
55
|
+
```sh
|
|
51
56
|
codex plugin marketplace upgrade omnischolar
|
|
52
57
|
codex plugin remove omnischolar@omnischolar
|
|
58
|
+
codex plugin add omnischolar@omnischolar
|
|
53
59
|
```
|
|
54
60
|
|
|
55
61
|
Claude Code plugin:
|
package/README.md
CHANGED
|
@@ -59,7 +59,11 @@ uv tool install --reinstall luffysolution-omnischolar
|
|
|
59
59
|
```sh
|
|
60
60
|
codex plugin marketplace add luffysolution-svg/omnischolar --ref main
|
|
61
61
|
codex plugin add omnischolar@omnischolar
|
|
62
|
+
|
|
63
|
+
# 更新已安装的 Codex 插件
|
|
62
64
|
codex plugin marketplace upgrade omnischolar
|
|
65
|
+
codex plugin remove omnischolar@omnischolar
|
|
66
|
+
codex plugin add omnischolar@omnischolar
|
|
63
67
|
```
|
|
64
68
|
|
|
65
69
|
ChatGPT 桌面应用中重启应用后打开 **Plugins**,选择 **OmniScholar** 并安装或启用;Codex CLI 可运行 `/plugins` 浏览插件。插件已经包含 Skills,并通过下面的命令启动 PyPI 最新 MCP:
|
|
@@ -8,13 +8,15 @@ OmniScholar can connect to OpenAI, xAI, Gemini, Vertex AI, fal.ai, DashScope/Qwe
|
|
|
8
8
|
|
|
9
9
|
| Tool | Use |
|
|
10
10
|
|---|---|
|
|
11
|
-
| `omnischolar_image_models` |
|
|
11
|
+
| `omnischolar_image_models` | Discover and show models available with the current credentials |
|
|
12
12
|
| `omnischolar_image_generate` | Text-to-image, image-to-image, or multi-reference generation |
|
|
13
13
|
| `omnischolar_image_edit` | Edit an existing image |
|
|
14
14
|
| `omnischolar_image_service` | Run supported provider status, model, or task operations |
|
|
15
15
|
| `ai4scholar_figure` | Generate, edit, or vectorize through Ai4Scholar |
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
Model selection uses the user's explicit model first, then catalog models with confirmed capabilities, then official-documentation-verified built-in models, then explicitly configured model contracts. If the model is omitted, the tool discovers and selects the newest usable model. Providers without a model catalog use a small verified built-in set and still allow `models` to override or extend the declarations.
|
|
18
|
+
|
|
19
|
+
Common tool parameters include `size`, `aspectRatio`, `resolution`, `background`, `outputFormat`, `quality`, `n`, `negativePrompt`, and `seed`. The tool maps them to each provider's protocol and returns `parameter_unsupported` before submission when a combination is not supported.
|
|
18
20
|
|
|
19
21
|
## Example config
|
|
20
22
|
|
|
@@ -29,7 +31,7 @@ Each model must explicitly declare the operation it supports. A model name appea
|
|
|
29
31
|
"fal": {
|
|
30
32
|
"enabled": true,
|
|
31
33
|
"apiKeyEnv": "OMNISCHOLAR_FAL_API_KEY",
|
|
32
|
-
"baseUrl": "https://fal.run",
|
|
34
|
+
"baseUrl": "https://queue.fal.run",
|
|
33
35
|
"models": {},
|
|
34
36
|
"options": {}
|
|
35
37
|
},
|
|
@@ -39,7 +41,9 @@ Each model must explicitly declare the operation it supports. A model name appea
|
|
|
39
41
|
"baseUrl": "https://your-workspace.cn-beijing.maas.aliyuncs.com/api/v1",
|
|
40
42
|
"models": {},
|
|
41
43
|
"options": {
|
|
42
|
-
"workspace": "your-workspace"
|
|
44
|
+
"workspace": "your-workspace",
|
|
45
|
+
"region": "cn-beijing",
|
|
46
|
+
"protocol": "native"
|
|
43
47
|
}
|
|
44
48
|
},
|
|
45
49
|
"qwen-cloud": {
|
|
@@ -48,7 +52,9 @@ Each model must explicitly declare the operation it supports. A model name appea
|
|
|
48
52
|
"baseUrl": "https://your-workspace.ap-southeast-1.maas.aliyuncs.com/api/v1",
|
|
49
53
|
"models": {},
|
|
50
54
|
"options": {
|
|
51
|
-
"workspace": "your-workspace"
|
|
55
|
+
"workspace": "your-workspace",
|
|
56
|
+
"region": "ap-southeast-1",
|
|
57
|
+
"protocol": "native"
|
|
52
58
|
}
|
|
53
59
|
}
|
|
54
60
|
}
|
|
@@ -56,7 +62,29 @@ Each model must explicitly declare the operation it supports. A model name appea
|
|
|
56
62
|
}
|
|
57
63
|
```
|
|
58
64
|
|
|
59
|
-
|
|
65
|
+
Qwen AI Platform image models use the native DashScope API. Set `region` to `cn-beijing` for China (Beijing) or `ap-southeast-1` for Singapore, or provide the matching `baseUrl` directly. `protocol` defaults to `native`; set it to `openai-compatible` only when that protocol is explicitly supported. The built-in set includes `qwen-image-3.0-pro`, `qwen-image-3.0`, `wan2.7-image-pro`, `wan2.7-image`, and `z-image-turbo`; the current Qwen Image 3.0 recommendation is `qwen-image-3.0-pro`, while actual entitlement remains account- and region-dependent.
|
|
66
|
+
|
|
67
|
+
Vertex AI can use a service-account JSON file:
|
|
68
|
+
|
|
69
|
+
```json
|
|
70
|
+
{
|
|
71
|
+
"vertex": {
|
|
72
|
+
"enabled": true,
|
|
73
|
+
"credentialsFile": "F:/path/to/service-account.json",
|
|
74
|
+
"project": "your-project",
|
|
75
|
+
"location": "global",
|
|
76
|
+
"models": {
|
|
77
|
+
"imagen-3.0-capability-001": {
|
|
78
|
+
"capabilities": ["text-to-image", "image-to-image", "edit"]
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
The service-account file is used locally to obtain an OAuth token and is never written to output artifacts. Model availability depends on project permissions, location, and model publication status.
|
|
86
|
+
|
|
87
|
+
Atlas, fal, Vertex, and DashScope/Qwen expose different catalog capabilities. Atlas, fal, Vertex, and DashScope/Qwen have small built-in model sets checked against official documentation; custom services still need an exact `baseUrl`, model ID, capability list, and generation or edit endpoint. Do not infer capabilities from the model name or treat a built-in model as an entitlement guarantee.
|
|
60
88
|
|
|
61
89
|
## Generate and edit
|
|
62
90
|
|
|
@@ -67,8 +95,9 @@ Upload only images you may share with the selected service. After files are save
|
|
|
67
95
|
## Current provider notes
|
|
68
96
|
|
|
69
97
|
- fal has been tested for queue submission, polling, data-URI results, text-to-image, and two-reference editing. If the local machine cannot resolve the fal CDN, a data-URI result can still be saved.
|
|
70
|
-
- DashScope/Qwen
|
|
98
|
+
- DashScope/Qwen supports the Qwen AI Platform native endpoint `https://dashscope.aliyuncs.com/api/v1` and regional Bailian workspace endpoints such as `https://<workspace>.cn-beijing.maas.aliyuncs.com/api/v1`. When `workspace` and `region` are supplied, the tool can derive the regional endpoint.
|
|
71
99
|
- Gemini's `apiKeyEnv` must name an environment variable that exists.
|
|
72
|
-
- Atlas and
|
|
100
|
+
- Atlas Cloud uses `https://api.atlascloud.ai/api/v1`, submits to `model/generateImage`, and polls `model/prediction/{id}`. The built-in set includes official Nano Banana 2, GPT Image 2, and GPT Image 2.5 Flare/Sunburst IDs. Atlas image tasks are asynchronous and their `outputs` are saved locally.
|
|
101
|
+
- Custom services need a working endpoint and model description.
|
|
73
102
|
|
|
74
103
|
Review text, structures, mechanisms, scale, and quantitative labels after generation. **AI images are illustrative drafts, not experimental data, real measurements, or scientific conclusions.**
|
package/docs/IMAGE_PROVIDERS.md
CHANGED
|
@@ -8,13 +8,15 @@ OmniScholar 可连接 OpenAI、xAI、Gemini、Vertex AI、fal.ai、DashScope/Qwe
|
|
|
8
8
|
|
|
9
9
|
| 工具 | 用途 |
|
|
10
10
|
|---|---|
|
|
11
|
-
| `omnischolar_image_models` |
|
|
11
|
+
| `omnischolar_image_models` | 发现并查看当前凭据可用模型及其功能 |
|
|
12
12
|
| `omnischolar_image_generate` | 文生图、图生图或多参考图生成 |
|
|
13
13
|
| `omnischolar_image_edit` | 编辑已有图片 |
|
|
14
14
|
| `omnischolar_image_service` | 调用服务商已经支持的状态、模型或任务操作 |
|
|
15
15
|
| `ai4scholar_figure` | 使用 Ai4Scholar 生成、编辑或矢量化图片 |
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
模型选择顺序是:用户显式指定的模型、当前服务商目录中已确认能力的模型、经过官方文档核对的内置模型、显式配置的模型合同。省略模型时,工具会发现并选择最新的可用模型;没有模型目录的服务商使用内置的已核对模型,同时仍允许在 `models` 中显式覆盖或补充模型和能力。
|
|
18
|
+
|
|
19
|
+
常用工具参数包括 `size`、`aspectRatio`、`resolution`、`background`、`outputFormat`、`quality`、`n`、`negativePrompt` 和 `seed`。工具会按服务商协议转换参数;不支持的参数组合会在提交请求前返回 `parameter_unsupported`。
|
|
18
20
|
|
|
19
21
|
## 配置示例
|
|
20
22
|
|
|
@@ -29,7 +31,7 @@ OmniScholar 可连接 OpenAI、xAI、Gemini、Vertex AI、fal.ai、DashScope/Qwe
|
|
|
29
31
|
"fal": {
|
|
30
32
|
"enabled": true,
|
|
31
33
|
"apiKeyEnv": "OMNISCHOLAR_FAL_API_KEY",
|
|
32
|
-
"baseUrl": "https://fal.run",
|
|
34
|
+
"baseUrl": "https://queue.fal.run",
|
|
33
35
|
"models": {},
|
|
34
36
|
"options": {}
|
|
35
37
|
},
|
|
@@ -39,7 +41,9 @@ OmniScholar 可连接 OpenAI、xAI、Gemini、Vertex AI、fal.ai、DashScope/Qwe
|
|
|
39
41
|
"baseUrl": "https://your-workspace.cn-beijing.maas.aliyuncs.com/api/v1",
|
|
40
42
|
"models": {},
|
|
41
43
|
"options": {
|
|
42
|
-
"workspace": "your-workspace"
|
|
44
|
+
"workspace": "your-workspace",
|
|
45
|
+
"region": "cn-beijing",
|
|
46
|
+
"protocol": "native"
|
|
43
47
|
}
|
|
44
48
|
},
|
|
45
49
|
"qwen-cloud": {
|
|
@@ -48,7 +52,9 @@ OmniScholar 可连接 OpenAI、xAI、Gemini、Vertex AI、fal.ai、DashScope/Qwe
|
|
|
48
52
|
"baseUrl": "https://your-workspace.ap-southeast-1.maas.aliyuncs.com/api/v1",
|
|
49
53
|
"models": {},
|
|
50
54
|
"options": {
|
|
51
|
-
"workspace": "your-workspace"
|
|
55
|
+
"workspace": "your-workspace",
|
|
56
|
+
"region": "ap-southeast-1",
|
|
57
|
+
"protocol": "native"
|
|
52
58
|
}
|
|
53
59
|
}
|
|
54
60
|
}
|
|
@@ -56,7 +62,29 @@ OmniScholar 可连接 OpenAI、xAI、Gemini、Vertex AI、fal.ai、DashScope/Qwe
|
|
|
56
62
|
}
|
|
57
63
|
```
|
|
58
64
|
|
|
59
|
-
|
|
65
|
+
千问 AI 平台图片模型使用 DashScope 原生接口。华北 2(北京)可填写 `region: "cn-beijing"`,新加坡可填写 `region: "ap-southeast-1"`;也可以直接填写对应的 `baseUrl`。`protocol` 默认是 `native`,只有明确配置为 `openai-compatible` 时才使用兼容端点。内置模型包括 `qwen-image-3.0-pro`、`qwen-image-3.0`、`wan2.7-image-pro`、`wan2.7-image` 和 `z-image-turbo`;其中当前 Qwen Image 3.0 推荐模型为 `qwen-image-3.0-pro`,具体生成权限仍以账号和地域为准。
|
|
66
|
+
|
|
67
|
+
Vertex AI 可使用 service-account JSON:
|
|
68
|
+
|
|
69
|
+
```json
|
|
70
|
+
{
|
|
71
|
+
"vertex": {
|
|
72
|
+
"enabled": true,
|
|
73
|
+
"credentialsFile": "F:/path/to/service-account.json",
|
|
74
|
+
"project": "your-project",
|
|
75
|
+
"location": "global",
|
|
76
|
+
"models": {
|
|
77
|
+
"imagen-3.0-capability-001": {
|
|
78
|
+
"capabilities": ["text-to-image", "image-to-image", "edit"]
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
服务账号文件只用于本地换取 OAuth token,不会写入输出结果。模型是否可用取决于项目授权、区域和模型发布状态。
|
|
86
|
+
|
|
87
|
+
Atlas、fal、Vertex、DashScope/Qwen 和自定义服务的模型目录能力不同。Atlas、fal、Vertex、DashScope/Qwen 已提供少量基于官方文档核对的内置模型;自定义服务仍需要准确的 `baseUrl`、模型 ID、功能列表,以及生成或编辑接口。不要只凭模型名填写功能,也不要把内置模型视为账号已开通的保证。
|
|
60
88
|
|
|
61
89
|
## 生成与编辑
|
|
62
90
|
|
|
@@ -67,8 +95,9 @@ OmniScholar 可连接 OpenAI、xAI、Gemini、Vertex AI、fal.ai、DashScope/Qwe
|
|
|
67
95
|
## 当前服务说明
|
|
68
96
|
|
|
69
97
|
- fal 已验证队列提交、轮询、data URI 结果、文生图和双参考图编辑。本机若无法解析 fal CDN,data URI 结果仍可保存。
|
|
70
|
-
- DashScope/Qwen
|
|
98
|
+
- DashScope/Qwen 支持千问 AI 平台的通用原生地址 `https://dashscope.aliyuncs.com/api/v1`,也支持百炼按地域的 workspace 地址,例如 `https://<workspace>.cn-beijing.maas.aliyuncs.com/api/v1`。当填写 `workspace` 和 `region` 时,工具可以自动拼接地域地址。
|
|
71
99
|
- Gemini 配置中的 `apiKeyEnv` 必须指向已存在的环境变量。
|
|
72
|
-
- Atlas
|
|
100
|
+
- Atlas Cloud 使用 `https://api.atlascloud.ai/api/v1`、`model/generateImage` 提交和 `model/prediction/{id}` 轮询;默认内置 Nano Banana 2、GPT Image 2、GPT Image 2.5 Flare/Sunburst 的官方模型 ID。Atlas 的图片任务是异步的,结果中的 `outputs` 会保存到本地。
|
|
101
|
+
- 自定义服务必须给出可用的服务地址与模型说明。
|
|
73
102
|
|
|
74
103
|
生成后仍需人工检查文字、结构、机制、比例和定量描述。**AI 图片是示意草稿,不是实验数据、真实测量或科研结论。**
|
package/docs/INSTALLATION.en.md
CHANGED
package/docs/INSTALLATION.md
CHANGED
package/docs/RESEARCH.en.md
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
| `research_sources` | Show enabled sources and available operations |
|
|
10
10
|
| `literature_search` | Search papers by year, type, or open-access status |
|
|
11
11
|
| `literature_get` | Retrieve details by DOI, PMID/PMCID, arXiv ID, or source ID |
|
|
12
|
+
| `literature_author` | Search Semantic Scholar authors, author details, or an author's papers |
|
|
12
13
|
| `literature_graph` | Find references, citations, or recommendations |
|
|
13
14
|
| `journal_metrics` | Retrieve supported journal metrics |
|
|
14
15
|
| `literature_fulltext` | Find lawful full-text locations or save an accessible file under the output directory |
|
|
@@ -25,7 +26,7 @@ The sources serve different purposes:
|
|
|
25
26
|
|
|
26
27
|
Start with a small `limit`. Deduplicate by DOI when possible; otherwise compare normalized title, year, and first author. Title similarity can shortlist a paper but cannot establish that it supports a claim.
|
|
27
28
|
|
|
28
|
-
On HTTP 429, OmniScholar
|
|
29
|
+
On HTTP 429, OmniScholar reads `Retry-After` when provided and applies bounded backoff plus optional `rateLimitPerSecond` throttling for Semantic Scholar. Do not submit the same request in a tight loop.
|
|
29
30
|
|
|
30
31
|
## Zotero
|
|
31
32
|
|
package/docs/RESEARCH.md
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
| `research_sources` | 查看已启用的数据源和可用功能 |
|
|
10
10
|
| `literature_search` | 检索论文,可限制年份、类型和开放获取状态 |
|
|
11
11
|
| `literature_get` | 按 DOI、PMID/PMCID、arXiv ID 或数据源 ID 获取详情 |
|
|
12
|
+
| `literature_author` | 查询 Semantic Scholar 作者、作者详情或作者论文列表 |
|
|
12
13
|
| `literature_graph` | 查询参考文献、施引文献或推荐论文 |
|
|
13
14
|
| `journal_metrics` | 查询已支持的期刊指标 |
|
|
14
15
|
| `literature_fulltext` | 查找合法全文地址,或将允许访问的文件保存到输出目录 |
|
|
@@ -25,7 +26,7 @@
|
|
|
25
26
|
|
|
26
27
|
检索时先用较小的 `limit`。优先按 DOI 去重;没有 DOI 时,再比较标题、年份和第一作者。标题相似只能用于筛选,不能代替正文证据。
|
|
27
28
|
|
|
28
|
-
遇到 HTTP 429 时,OmniScholar
|
|
29
|
+
遇到 HTTP 429 时,OmniScholar 会读取 `Retry-After`(若服务商提供),并对 Semantic Scholar 使用有界退避和可选的 `rateLimitPerSecond`。仍应避免连续提交相同请求。
|
|
29
30
|
|
|
30
31
|
## Zotero
|
|
31
32
|
|
package/docs/TOOLS.en.md
CHANGED
|
@@ -11,6 +11,7 @@ Tool and capability names match the values returned to agents.
|
|
|
11
11
|
| `research_sources` | literature | `literature.sources` | none | no | none | free |
|
|
12
12
|
| `literature_search` | literature | `literature.search` | none | yes | none | free |
|
|
13
13
|
| `literature_get` | literature | `literature.lookup` | none | yes | none | free |
|
|
14
|
+
| `literature_author` | literature | `literature.lookup` | none | yes | none | free |
|
|
14
15
|
| `literature_graph` | literature | `literature.references`, `literature.citations`, `literature.recommendations` | none | yes | none | free |
|
|
15
16
|
| `journal_metrics` | literature | `journal.metrics` | none | yes | none | free |
|
|
16
17
|
| `literature_fulltext` | literature | `fulltext.resolve`, `fulltext.fetch` | filesystem | yes | none | free |
|
package/docs/TOOLS.md
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
| `research_sources` | literature | `literature.sources` | none | no | none | free |
|
|
12
12
|
| `literature_search` | literature | `literature.search` | none | yes | none | free |
|
|
13
13
|
| `literature_get` | literature | `literature.lookup` | none | yes | none | free |
|
|
14
|
+
| `literature_author` | literature | `literature.lookup` | none | yes | none | free |
|
|
14
15
|
| `literature_graph` | literature | `literature.references`, `literature.citations`, `literature.recommendations` | none | yes | none | free |
|
|
15
16
|
| `journal_metrics` | literature | `journal.metrics` | none | yes | none | free |
|
|
16
17
|
| `literature_fulltext` | literature | `fulltext.resolve`, `fulltext.fetch` | filesystem | yes | none | free |
|
|
@@ -151,8 +151,9 @@
|
|
|
151
151
|
"enabled": true,
|
|
152
152
|
"apiKey": "",
|
|
153
153
|
"apiKeyEnv": null,
|
|
154
|
+
"credentialsFile": null,
|
|
154
155
|
"project": "your-project",
|
|
155
|
-
"location": "
|
|
156
|
+
"location": "global",
|
|
156
157
|
"models": {},
|
|
157
158
|
"options": {}
|
|
158
159
|
},
|
|
@@ -168,7 +169,7 @@
|
|
|
168
169
|
"enabled": true,
|
|
169
170
|
"apiKey": "",
|
|
170
171
|
"apiKeyEnv": null,
|
|
171
|
-
"baseUrl": "https://fal.run",
|
|
172
|
+
"baseUrl": "https://queue.fal.run",
|
|
172
173
|
"models": {},
|
|
173
174
|
"options": {}
|
|
174
175
|
},
|
|
@@ -179,7 +180,9 @@
|
|
|
179
180
|
"baseUrl": "https://your-workspace.cn-beijing.maas.aliyuncs.com/api/v1",
|
|
180
181
|
"models": {},
|
|
181
182
|
"options": {
|
|
182
|
-
"workspace": "your-workspace"
|
|
183
|
+
"workspace": "your-workspace",
|
|
184
|
+
"region": "cn-beijing",
|
|
185
|
+
"protocol": "native"
|
|
183
186
|
}
|
|
184
187
|
},
|
|
185
188
|
"qwen-cloud": {
|
|
@@ -189,16 +192,23 @@
|
|
|
189
192
|
"baseUrl": "https://your-workspace.ap-southeast-1.maas.aliyuncs.com/api/v1",
|
|
190
193
|
"models": {},
|
|
191
194
|
"options": {
|
|
192
|
-
"workspace": "your-workspace"
|
|
195
|
+
"workspace": "your-workspace",
|
|
196
|
+
"region": "ap-southeast-1",
|
|
197
|
+
"protocol": "native"
|
|
193
198
|
}
|
|
194
199
|
},
|
|
195
200
|
"atlas": {
|
|
196
201
|
"enabled": true,
|
|
197
202
|
"apiKey": "",
|
|
198
203
|
"apiKeyEnv": null,
|
|
199
|
-
"baseUrl": "https://
|
|
204
|
+
"baseUrl": "https://api.atlascloud.ai/api/v1",
|
|
200
205
|
"models": {},
|
|
201
|
-
"options": {
|
|
206
|
+
"options": {
|
|
207
|
+
"generationEndpoint": "model/generateImage",
|
|
208
|
+
"pollEndpoint": "model/prediction",
|
|
209
|
+
"pollIntervalSeconds": 2,
|
|
210
|
+
"pollTimeoutSeconds": 600
|
|
211
|
+
}
|
|
202
212
|
},
|
|
203
213
|
"custom": {
|
|
204
214
|
"enabled": true,
|
package/package.json
CHANGED
|
@@ -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.
|
|
4
|
+
const CLIENT_INFO = { name: "omnischolar-pi", version: "0.1.18" };
|
|
5
5
|
export function resultText(result) {
|
|
6
6
|
return result.content
|
|
7
7
|
.map((item) => {
|