@luffysolution/omnischolar-pi 0.1.15 → 0.1.17
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 +7 -1
- package/README.md +6 -2
- package/docs/INSTALLATION.en.md +5 -8
- package/docs/INSTALLATION.md +5 -8
- package/package.json +1 -1
- package/pi-extension/dist/index.js +9 -2
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:
|
|
@@ -78,7 +84,7 @@ npx skills remove --skill '*' --agent codex --global --yes
|
|
|
78
84
|
The plugin and host configurations start the latest PyPI MCP with:
|
|
79
85
|
|
|
80
86
|
```sh
|
|
81
|
-
uvx --from luffysolution-omnischolar@latest omnischolar mcp
|
|
87
|
+
uvx --refresh-package luffysolution-omnischolar --from luffysolution-omnischolar@latest omnischolar mcp
|
|
82
88
|
```
|
|
83
89
|
|
|
84
90
|
</details>
|
package/README.md
CHANGED
|
@@ -59,13 +59,17 @@ 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:
|
|
66
70
|
|
|
67
71
|
```sh
|
|
68
|
-
uvx --from luffysolution-omnischolar@latest omnischolar mcp
|
|
72
|
+
uvx --refresh-package luffysolution-omnischolar --from luffysolution-omnischolar@latest omnischolar mcp
|
|
69
73
|
```
|
|
70
74
|
|
|
71
75
|
### Claude Code 插件
|
|
@@ -136,7 +140,7 @@ npx skills remove --skill '*' --agent codex --global --yes
|
|
|
136
140
|
"omnischolar": {
|
|
137
141
|
"type": "stdio",
|
|
138
142
|
"command": "uvx",
|
|
139
|
-
"args": ["--from", "luffysolution-omnischolar@latest", "omnischolar", "mcp"]
|
|
143
|
+
"args": ["--refresh-package", "luffysolution-omnischolar", "--from", "luffysolution-omnischolar@latest", "omnischolar", "mcp"]
|
|
140
144
|
}
|
|
141
145
|
}
|
|
142
146
|
}
|
package/docs/INSTALLATION.en.md
CHANGED
|
@@ -71,20 +71,17 @@ Restart the ChatGPT desktop app after adding the marketplace. Open **Plugins**,
|
|
|
71
71
|
|
|
72
72
|
The installed plugin contains `plugin.json`, `skills/`, and `mcp.json`. Its MCP entry executes:
|
|
73
73
|
|
|
74
|
-
```sh
|
|
75
|
-
uvx --from luffysolution-omnischolar@latest omnischolar mcp
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
`uvx` creates an isolated environment and runs the latest package requested by `@latest`, so this route does not require a separate `pip install`. To force a package-cache refresh, run:
|
|
79
|
-
|
|
80
74
|
```sh
|
|
81
75
|
uvx --refresh-package luffysolution-omnischolar --from luffysolution-omnischolar@latest omnischolar mcp
|
|
82
76
|
```
|
|
83
77
|
|
|
78
|
+
`uvx` creates an isolated environment, refreshes the package cache on every start, and runs the latest PyPI package, so this route does not require a separate `pip install`.
|
|
79
|
+
|
|
84
80
|
To update the Codex Git marketplace and plugin, run:
|
|
85
81
|
|
|
86
82
|
```sh
|
|
87
83
|
codex plugin marketplace upgrade omnischolar
|
|
84
|
+
codex plugin remove omnischolar@omnischolar
|
|
88
85
|
codex plugin add omnischolar@omnischolar
|
|
89
86
|
```
|
|
90
87
|
|
|
@@ -118,7 +115,7 @@ Choose `--scope project` to share the enabled plugin through repository settings
|
|
|
118
115
|
Claude Code copies the repository-root plugin into its versioned cache, discovers the eight folders under `skills/`, and starts `.mcp.json` automatically when the plugin is enabled. The MCP command uses the latest PyPI package:
|
|
119
116
|
|
|
120
117
|
```sh
|
|
121
|
-
uvx --from luffysolution-omnischolar@latest omnischolar mcp
|
|
118
|
+
uvx --refresh-package luffysolution-omnischolar --from luffysolution-omnischolar@latest omnischolar mcp
|
|
122
119
|
```
|
|
123
120
|
|
|
124
121
|
The first MCP start needs package-index access. Skills are namespaced with `omnischolar`, for example `/omnischolar:scholar-search` and `/omnischolar:zotero-research`.
|
|
@@ -228,5 +225,5 @@ These commands install Skills only; they do not install the `omnischolar` Python
|
|
|
228
225
|
The only MCP server entry in this release is local stdio:
|
|
229
226
|
|
|
230
227
|
```sh
|
|
231
|
-
uvx --from luffysolution-omnischolar@latest omnischolar mcp
|
|
228
|
+
uvx --refresh-package luffysolution-omnischolar --from luffysolution-omnischolar@latest omnischolar mcp
|
|
232
229
|
```
|
package/docs/INSTALLATION.md
CHANGED
|
@@ -71,20 +71,17 @@ codex plugin add omnischolar@omnischolar
|
|
|
71
71
|
|
|
72
72
|
安装后的插件包含 `plugin.json`、`skills/` 和 `mcp.json`。其 MCP 配置执行:
|
|
73
73
|
|
|
74
|
-
```sh
|
|
75
|
-
uvx --from luffysolution-omnischolar@latest omnischolar mcp
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
`uvx` 会创建隔离环境并运行 `@latest` 指定的最新包,无需另行运行 `pip install`。若需强制刷新包缓存,可运行:
|
|
79
|
-
|
|
80
74
|
```sh
|
|
81
75
|
uvx --refresh-package luffysolution-omnischolar --from luffysolution-omnischolar@latest omnischolar mcp
|
|
82
76
|
```
|
|
83
77
|
|
|
78
|
+
`uvx` 会创建隔离环境,并在每次启动时刷新包缓存后运行 PyPI 最新包,无需另行运行 `pip install`。
|
|
79
|
+
|
|
84
80
|
若要更新 Codex Git Marketplace 和插件:
|
|
85
81
|
|
|
86
82
|
```sh
|
|
87
83
|
codex plugin marketplace upgrade omnischolar
|
|
84
|
+
codex plugin remove omnischolar@omnischolar
|
|
88
85
|
codex plugin add omnischolar@omnischolar
|
|
89
86
|
```
|
|
90
87
|
|
|
@@ -118,7 +115,7 @@ claude plugin install omnischolar@omnischolar --scope user
|
|
|
118
115
|
Claude Code 会把仓库根插件复制到版本化缓存,发现 `skills/` 下的 8 个 Skills,并在插件启用时自动启动 `.mcp.json`。MCP 命令使用 PyPI 最新包:
|
|
119
116
|
|
|
120
117
|
```sh
|
|
121
|
-
uvx --from luffysolution-omnischolar@latest omnischolar mcp
|
|
118
|
+
uvx --refresh-package luffysolution-omnischolar --from luffysolution-omnischolar@latest omnischolar mcp
|
|
122
119
|
```
|
|
123
120
|
|
|
124
121
|
第一次启动 MCP 需要能够访问 Python 包索引。Skills 使用 `omnischolar` 命名空间,例如 `/omnischolar:scholar-search` 和 `/omnischolar:zotero-research`。
|
|
@@ -236,5 +233,5 @@ npx skills remove --skill '*' -a codex -y
|
|
|
236
233
|
OmniScholar 的 MCP 入口只有本地 stdio:
|
|
237
234
|
|
|
238
235
|
```sh
|
|
239
|
-
uvx --from luffysolution-omnischolar@latest omnischolar mcp
|
|
236
|
+
uvx --refresh-package luffysolution-omnischolar --from luffysolution-omnischolar@latest omnischolar mcp
|
|
240
237
|
```
|
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.17" };
|
|
5
5
|
export function resultText(result) {
|
|
6
6
|
return result.content
|
|
7
7
|
.map((item) => {
|
|
@@ -39,7 +39,14 @@ export default function omnischolarExtension(pi) {
|
|
|
39
39
|
connection = (async () => {
|
|
40
40
|
transport = new StdioClientTransport({
|
|
41
41
|
command: "uvx",
|
|
42
|
-
args: [
|
|
42
|
+
args: [
|
|
43
|
+
"--refresh-package",
|
|
44
|
+
"luffysolution-omnischolar",
|
|
45
|
+
"--from",
|
|
46
|
+
"luffysolution-omnischolar@latest",
|
|
47
|
+
"omnischolar",
|
|
48
|
+
"mcp",
|
|
49
|
+
],
|
|
43
50
|
stderr: "pipe",
|
|
44
51
|
});
|
|
45
52
|
client = new Client(CLIENT_INFO);
|