pi-permission-system-lean 41.0.0 → 42.0.0
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 +3 -3
- package/index.ts +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# pi-permission-system-lean
|
|
2
2
|
|
|
3
|
-
Based on [`@gotgenes/pi-permission-system`](https://github.com/gotgenes/pi-packages/tree/main/packages/pi-permission-system) by [Chris Lasher](https://github.com/gotgenes), MIT-licensed (see LICENSE). Upstream is pinned to `
|
|
3
|
+
Based on [`@gotgenes/pi-permission-system`](https://github.com/gotgenes/pi-packages/tree/main/packages/pi-permission-system) by [Chris Lasher](https://github.com/gotgenes), MIT-licensed (see LICENSE). Upstream is pinned to `42.0.0`.
|
|
4
4
|
|
|
5
5
|
A description-only lean wrapper: upstream registers one slash command and **zero tools**, so there are no tool schemas to trim. This package re-registers the same command with a shorter description; the name, handler, events, and the whole permission-enforcement engine (per-turn tool hiding, allow/ask/deny gates, subagent forwarding) run the original upstream code untouched.
|
|
6
6
|
|
|
@@ -29,8 +29,8 @@ Same command as upstream: `/permission-system` (configure logging and yolo mode,
|
|
|
29
29
|
|
|
30
30
|
## Versions
|
|
31
31
|
|
|
32
|
-
- Lean wrapper: `
|
|
33
|
-
- Upstream dependency is pinned to `@gotgenes/pi-permission-system@
|
|
32
|
+
- Lean wrapper: `42.0.0`
|
|
33
|
+
- Upstream dependency is pinned to `@gotgenes/pi-permission-system@42.0.0`.
|
|
34
34
|
|
|
35
35
|
## Development
|
|
36
36
|
|
package/index.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// pi-permission-system-lean — description-only facade over @gotgenes/pi-permission-system.
|
|
2
2
|
//
|
|
3
|
-
// Upstream
|
|
3
|
+
// Upstream 42.0.0 registers one slash command and zero tools, so there are no
|
|
4
4
|
// tool schemas to trim. The whole saving is in the command description:
|
|
5
5
|
// 61 chars upstream vs 39 here. The command name, handler, event
|
|
6
6
|
// subscriptions, and the entire permission-enforcement engine (per-turn tool
|
|
@@ -14,7 +14,7 @@ import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
|
|
|
14
14
|
// relative import stable.
|
|
15
15
|
import upstreamActivate from "./node_modules/@gotgenes/pi-permission-system/src/index.ts";
|
|
16
16
|
|
|
17
|
-
const UPSTREAM_VERSION = "
|
|
17
|
+
const UPSTREAM_VERSION = "42.0.0";
|
|
18
18
|
|
|
19
19
|
type RegisterCommandOptions = Parameters<ExtensionAPI["registerCommand"]>[1];
|
|
20
20
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-permission-system-lean",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "42.0.0",
|
|
4
4
|
"description": "Lean wrapper of @gotgenes/pi-permission-system: same permission-system command with trimmed startup description.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"check": "npm run typecheck && npm test"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@gotgenes/pi-permission-system": "
|
|
25
|
+
"@gotgenes/pi-permission-system": "42.0.0"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"@earendil-works/pi-coding-agent": "*",
|