claude-permissions-manager 1.2.0 → 1.2.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 +15 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -134,11 +134,22 @@ All `--json` outputs share these conventions:
|
|
|
134
134
|
|
|
135
135
|
#### Per-command differences
|
|
136
136
|
|
|
137
|
-
|
|
137
|
+
**Command capability matrix:**
|
|
138
138
|
|
|
139
|
-
|
|
139
|
+
| Field | `list` | `show` | `export` | `audit` |
|
|
140
|
+
|-------|--------|--------|----------|---------|
|
|
141
|
+
| `mode` / `defaultMode` | `mode` (flat) | `effectivePermissions.defaultMode` (nested) | `mode` (flat) | — |
|
|
142
|
+
| `isBypassDisabled` | flat root | inside `effectivePermissions` | flat root | — |
|
|
143
|
+
| `envVarNames` / `additionalDirs` | flat root | inside `effectivePermissions` | flat root | — |
|
|
144
|
+
| `allow` / `deny` / `ask` | flat root | inside `effectivePermissions` | flat root | — |
|
|
145
|
+
| `mcpServers` | ✓ | ✓ | ✓ | — |
|
|
146
|
+
| `warnings` | `warningCount` (number) | `warnings` (array of objects) | `warningCount` (number) | `issues` (array) |
|
|
147
|
+
| `settingsFiles` | — | ✓ (incl. global) | ✓ (incl. global) | — |
|
|
148
|
+
| `claudeMdFiles` | — | ✓ (objects) | ✓ (objects) | — |
|
|
140
149
|
|
|
141
|
-
`cpm
|
|
150
|
+
`cpm show --json` is the **detail view** for a single project. It nests `defaultMode`, `allow`, `deny`, `ask`, `isBypassDisabled`, `envVarNames`, and `additionalDirs` under an `effectivePermissions` key. It emits `warnings` as a full array of objects.
|
|
151
|
+
|
|
152
|
+
`cpm list --json` is the **summary** format (compact, no `settingsFiles`/`claudeMdFiles`). Fields are flat at the project root. Use `cpm export --json` for the full data dump.
|
|
142
153
|
|
|
143
154
|
`cpm audit --json` output structure:
|
|
144
155
|
```json
|
|
@@ -151,7 +162,7 @@ All `--json` outputs share these conventions:
|
|
|
151
162
|
}
|
|
152
163
|
```
|
|
153
164
|
|
|
154
|
-
`cpm diff --json` wraps rule arrays into `onlyInA`, `onlyInB`, and `inBoth` sub-keys. `inBoth` entries are plain strings. Includes an `"identical": true/false` top-level key.
|
|
165
|
+
`cpm diff --json` wraps rule arrays into `onlyInA`, `onlyInB`, and `inBoth` sub-keys. `inBoth` entries are plain strings. Includes an `"identical": true/false` top-level key. Does not compare `claudeMdFiles` or `settingsFiles`.
|
|
155
166
|
|
|
156
167
|
## Shell completion
|
|
157
168
|
|