mirror of
https://github.com/SikongJueluo/pi-extensions.git
synced 2026-10-05 11:52:55 +08:00
build(packages): prepare both packages for standalone npm publishing
- unify dependency strategy: @gotgenes/pi-permission-system moves from dependencies+bundledDependencies (inner-cmd) to peerDependencies in both packages, so git/npm consumption share a single service instance - add description/license/author/repository(directory)/publishConfig/files - copy GPL-3.0 LICENSE into both packages, add inner-cmd README - ai-judge: ship models-catalog.json; exclude test/tools/reports from tarball - README install sections now show npm source (prereq aligned to >=32)
This commit is contained in:
@@ -11,11 +11,17 @@ enforce 是自担风险的便利模式:模型误判,危险命令可能在无
|
||||
|
||||
## 安装
|
||||
|
||||
```bash
|
||||
pi install npm:@sikongjueluo/pi-permission-ai-judge
|
||||
```
|
||||
|
||||
或从仓库安装:
|
||||
|
||||
```bash
|
||||
pi install github.com/SikongJueluo/pi-extensions
|
||||
```
|
||||
|
||||
前提:项目启用 [`@gotgenes/pi-permission-system`](https://github.com/gotgenes/pi-permission-system) ≥ 25.4,并把判官挂进授权链(链按书写顺序依次咨询,仅 UI 会话生效):
|
||||
前提:项目启用 [`@gotgenes/pi-permission-system`](https://github.com/gotgenes/pi-permission-system) ≥ 32,并把判官挂进授权链(链按书写顺序依次咨询,仅 UI 会话生效):
|
||||
|
||||
```json
|
||||
// .pi/extensions/pi-permission-system/config.json
|
||||
|
||||
Reference in New Issue
Block a user