@luffysolution/omnischolar-pi 0.1.3 → 0.1.4
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 +1 -1
- package/README.zh-CN.md +1 -1
- package/docs/CONFIGURATION.en.md +2 -2
- package/docs/CONFIGURATION.md +2 -2
- package/docs/INSTALLATION.en.md +2 -2
- package/docs/INSTALLATION.md +2 -2
- package/package.json +1 -1
- package/pi-extension/dist/index.js +2 -2
package/README.md
CHANGED
|
@@ -60,7 +60,7 @@ In the ChatGPT desktop app, restart the app, open **Plugins**, select the **Omni
|
|
|
60
60
|
The plugin bundles all eight Skills and starts its local MCP server with the pinned PyPI release:
|
|
61
61
|
|
|
62
62
|
```sh
|
|
63
|
-
uvx --from luffysolution-omnischolar==0.1.
|
|
63
|
+
uvx --from luffysolution-omnischolar==0.1.4 omnischolar mcp
|
|
64
64
|
```
|
|
65
65
|
|
|
66
66
|
No separate `pip install` is required for this plugin path. The first MCP start needs network access so `uvx` can download and cache the package. Provider credentials and optional service settings remain in your OmniScholar configuration; plugin installation does not collect them.
|
package/README.zh-CN.md
CHANGED
|
@@ -58,7 +58,7 @@ codex plugin add omnischolar@omnischolar
|
|
|
58
58
|
插件会同时安装 8 个 Skills,并使用固定的 PyPI 版本启动本地 MCP:
|
|
59
59
|
|
|
60
60
|
```sh
|
|
61
|
-
uvx --from luffysolution-omnischolar==0.1.
|
|
61
|
+
uvx --from luffysolution-omnischolar==0.1.4 omnischolar mcp
|
|
62
62
|
```
|
|
63
63
|
|
|
64
64
|
采用插件安装方式时无需另外执行 `pip install`。第一次启动 MCP 需要联网,以便 `uvx` 下载并缓存包。各服务的凭据与可选配置仍保存在 OmniScholar 配置中,插件安装不会收集这些信息。
|
package/docs/CONFIGURATION.en.md
CHANGED
|
@@ -11,12 +11,12 @@ The first matching file is used; files are not merged:
|
|
|
11
11
|
1. the path passed with `--config PATH`
|
|
12
12
|
2. the file named by `OMNISCHOLAR_CONFIG`
|
|
13
13
|
3. `omnischolar.config.json` in the current project
|
|
14
|
-
4. `omnischolar
|
|
14
|
+
4. `omnischolar.config.json` in the user config directory
|
|
15
15
|
5. built-in defaults
|
|
16
16
|
|
|
17
17
|
Relative paths resolve from the config file. Misspelled fields and invalid values are rejected.
|
|
18
18
|
|
|
19
|
-
If none of the first four sources exists, the first MCP start or installer run creates one user-level configuration file. On Windows this is normally `%LOCALAPPDATA%\\omnischolar\\omnischolar.config.json
|
|
19
|
+
If none of the first four sources exists, the first MCP start or installer run creates one user-level configuration file. On Windows this is normally `%LOCALAPPDATA%\\omnischolar\\omnischolar.config.json`, on Linux `~/.config/omnischolar/omnischolar.config.json`, and on macOS `~/Library/Application Support/omnischolar/omnischolar.config.json`. You can also run `omnischolar config init`. Existing configuration is never overwritten. Nested files created by older versions are not migrated or read automatically; copy settings manually if needed.
|
|
20
20
|
|
|
21
21
|
## Minimal config
|
|
22
22
|
|
package/docs/CONFIGURATION.md
CHANGED
|
@@ -11,12 +11,12 @@ OmniScholar 使用 `schemaVersion: 1` 的 JSON 配置。可直接复制根目录
|
|
|
11
11
|
1. `--config PATH` 指定的文件
|
|
12
12
|
2. `OMNISCHOLAR_CONFIG` 指向的文件
|
|
13
13
|
3. 当前项目的 `omnischolar.config.json`
|
|
14
|
-
4. 用户配置目录中的 `omnischolar
|
|
14
|
+
4. 用户配置目录中的 `omnischolar.config.json`
|
|
15
15
|
5. 内置默认值
|
|
16
16
|
|
|
17
17
|
相对路径以配置文件所在目录为基准。拼错字段名或填写不合法的值时,程序会直接报错。
|
|
18
18
|
|
|
19
|
-
如果前四项都不存在,第一次启动 MCP 或执行安装命令时会自动创建用户级配置文件。Windows 通常位于 `%LOCALAPPDATA%\omnischolar\omnischolar.config.json
|
|
19
|
+
如果前四项都不存在,第一次启动 MCP 或执行安装命令时会自动创建用户级配置文件。Windows 通常位于 `%LOCALAPPDATA%\omnischolar\omnischolar.config.json`,Linux 通常位于 `~/.config/omnischolar/omnischolar.config.json`,macOS 通常位于 `~/Library/Application Support/omnischolar/omnischolar.config.json`。也可以运行 `omnischolar config init` 主动创建;程序不会覆盖已有配置。旧版本生成的嵌套目录文件不会自动迁移或读取,请按需手动复制设置。
|
|
20
20
|
|
|
21
21
|
## 最小配置
|
|
22
22
|
|
package/docs/INSTALLATION.en.md
CHANGED
|
@@ -44,7 +44,7 @@ Restart the ChatGPT desktop app after adding the marketplace. Open **Plugins**,
|
|
|
44
44
|
The installed plugin contains `plugin.json`, `skills/`, and `mcp.json`. Its MCP entry executes:
|
|
45
45
|
|
|
46
46
|
```sh
|
|
47
|
-
uvx --from luffysolution-omnischolar==0.1.
|
|
47
|
+
uvx --from luffysolution-omnischolar==0.1.4 omnischolar mcp
|
|
48
48
|
```
|
|
49
49
|
|
|
50
50
|
`uvx` creates an isolated environment and caches the exact release, so this route does not require a separate `pip install`. The first start requires package-index access. To fetch updates to the Git marketplace, run:
|
|
@@ -83,7 +83,7 @@ Choose `--scope project` to share the enabled plugin through repository settings
|
|
|
83
83
|
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 is pinned to:
|
|
84
84
|
|
|
85
85
|
```sh
|
|
86
|
-
uvx --from luffysolution-omnischolar==0.1.
|
|
86
|
+
uvx --from luffysolution-omnischolar==0.1.4 omnischolar mcp
|
|
87
87
|
```
|
|
88
88
|
|
|
89
89
|
The first MCP start needs package-index access. Skills are namespaced with `omnischolar`, for example `/omnischolar:scholar-search` and `/omnischolar:zotero-research`.
|
package/docs/INSTALLATION.md
CHANGED
|
@@ -44,7 +44,7 @@ codex plugin add omnischolar@omnischolar
|
|
|
44
44
|
安装后的插件包含 `plugin.json`、`skills/` 和 `mcp.json`。其 MCP 配置执行:
|
|
45
45
|
|
|
46
46
|
```sh
|
|
47
|
-
uvx --from luffysolution-omnischolar==0.1.
|
|
47
|
+
uvx --from luffysolution-omnischolar==0.1.4 omnischolar mcp
|
|
48
48
|
```
|
|
49
49
|
|
|
50
50
|
`uvx` 会创建隔离环境并缓存该精确版本,因此无需另行运行 `pip install`。第一次启动需要能够访问 Python 包索引。若要更新 Git Marketplace:
|
|
@@ -83,7 +83,7 @@ claude plugin install omnischolar@omnischolar --scope user
|
|
|
83
83
|
Claude Code 会把仓库根插件复制到版本化缓存,发现 `skills/` 下的 8 个 Skills,并在插件启用时自动启动 `.mcp.json`。MCP 命令固定为:
|
|
84
84
|
|
|
85
85
|
```sh
|
|
86
|
-
uvx --from luffysolution-omnischolar==0.1.
|
|
86
|
+
uvx --from luffysolution-omnischolar==0.1.4 omnischolar mcp
|
|
87
87
|
```
|
|
88
88
|
|
|
89
89
|
第一次启动 MCP 需要能够访问 Python 包索引。Skills 使用 `omnischolar` 命名空间,例如 `/omnischolar:scholar-search` 和 `/omnischolar:zotero-research`。
|
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.4" };
|
|
5
5
|
export function resultText(result) {
|
|
6
6
|
return result.content
|
|
7
7
|
.map((item) => {
|
|
@@ -39,7 +39,7 @@ export default function omnischolarExtension(pi) {
|
|
|
39
39
|
connection = (async () => {
|
|
40
40
|
transport = new StdioClientTransport({
|
|
41
41
|
command: "uvx",
|
|
42
|
-
args: ["--from", "luffysolution-omnischolar==0.1.
|
|
42
|
+
args: ["--from", "luffysolution-omnischolar==0.1.4", "omnischolar", "mcp"],
|
|
43
43
|
stderr: "pipe",
|
|
44
44
|
});
|
|
45
45
|
client = new Client(CLIENT_INFO);
|