@ijfw/install 1.3.2 → 1.4.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 +30 -0
- package/dist/ijfw.js +1124 -105
- package/dist/install.js +66 -11
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -49,6 +49,36 @@ iwr https://gitlab.com/therealseandonahoe/ijfw/-/raw/main/installer/src/install.
|
|
|
49
49
|
.\install.ps1 -Dir $env:USERPROFILE\.ijfw
|
|
50
50
|
```
|
|
51
51
|
|
|
52
|
+
## Extension CLI
|
|
53
|
+
|
|
54
|
+
IJFW ships a full extension system for installing and sandboxing third-party skills.
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
# Publisher key management
|
|
58
|
+
ijfw extension keygen <author> # Generate an Ed25519 publisher keypair
|
|
59
|
+
ijfw extension trust <keyId> <publicKey> # Add a publisher to your trusted store
|
|
60
|
+
ijfw extension trust-registry [<url>] # Pull + apply the hosted publisher registry
|
|
61
|
+
ijfw extension untrust <keyId> # Remove a publisher from your trusted store
|
|
62
|
+
ijfw extension trusted # List all trusted publishers
|
|
63
|
+
|
|
64
|
+
# Extension lifecycle
|
|
65
|
+
ijfw extension add <source> [flags] # Install an extension (npm name, local path, or https git URL)
|
|
66
|
+
--allow-unsigned # Accept extensions with no signature
|
|
67
|
+
--accept-untrusted # Accept extensions signed by an untrusted publisher (prompts on TTY)
|
|
68
|
+
--activate # Auto-activate after install
|
|
69
|
+
ijfw extension activate <name> # Activate an installed extension (enforces declared permissions)
|
|
70
|
+
ijfw extension deactivate # Deactivate the current extension
|
|
71
|
+
|
|
72
|
+
# Admin / registry maintainer (rare)
|
|
73
|
+
ijfw extension rotate-keys <oldKeyId> <newKeyId> # Produce a signed rotation token
|
|
74
|
+
ijfw extension keygen-meta <author> # Generate the registry meta-keypair
|
|
75
|
+
ijfw extension sign-registry <path> # Sign a registry JSON file in place
|
|
76
|
+
ijfw extension verify-registry <path> # Verify a registry JSON signature
|
|
77
|
+
ijfw extension registry-status # Show registry cache age + signature status
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
The rotation flow and registry maintainer docs live in `docs/REGISTRY-MAINTAINER.md`.
|
|
81
|
+
|
|
52
82
|
## Build (contributors)
|
|
53
83
|
|
|
54
84
|
```bash
|