@luffysolution/pi-scholar 0.1.0 → 0.1.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 +2 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -20,6 +20,8 @@ Restart Pi or run `/reload`. Verify `zotero_collections`, `zotero_search`, `zote
|
|
|
20
20
|
|
|
21
21
|
Installing the package already supplies its pinned/tested `pi-ai4scholar` dependency. The upstream extension is imported exactly once; no Ai4Scholar client source is copied or reimplemented.
|
|
22
22
|
|
|
23
|
+
**If `pi-ai4scholar` is already installed as its own top-level Pi extension**, remove it first with `pi remove npm:pi-ai4scholar` (or the `git:`/local source you used). Pi loads every installed extension independently, so a standalone `pi-ai4scholar` install and the copy bundled inside `pi-scholar` would both try to register the same `ai4scholar_*` tool names, and Pi refuses to load `pi-scholar` at all until the duplicate is removed.
|
|
24
|
+
|
|
23
25
|
### `/pi-scholar` command
|
|
24
26
|
|
|
25
27
|
Once installed, type `/pi-scholar` inside Pi's chat. With no arguments it opens a one-line input dialog ("Pi Scholar:你想研究什么?"); with arguments (e.g. `/pi-scholar 查找光热催化论文,并匹配本地 Zotero`) it skips the dialog. Either way it hands your request to the `pi-scholar` skill (`/skill:pi-scholar ...`) through Pi's normal prompt-template expansion, so the model plans and calls `zotero_*`/`ai4scholar_*`/`pi_scholar_parse` under Pi's usual tool-permission flow — the command itself never calls Zotero or MinerU directly. In print/JSON/non-interactive Pi modes (`ctx.hasUI === false`), you must pass the request inline as an argument; there is no dialog to fall back on.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luffysolution/pi-scholar",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Pi-native scholarly workflow for read-only Zotero and MinerU, with Ai4Scholar reuse",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"exports": "./src/index.ts",
|
|
27
27
|
"bin": {
|
|
28
|
-
"pi-scholar": "
|
|
28
|
+
"pi-scholar": "bin/pi-scholar.mjs"
|
|
29
29
|
},
|
|
30
30
|
"publishConfig": {
|
|
31
31
|
"access": "public"
|