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.
Files changed (2) hide show
  1. package/README.md +15 -4
  2. 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
- `cpm show --json` nests permissions under an `effectivePermissions` key and uses `defaultMode` as the mode field name. It also emits `warnings` as a full array of objects (`[{ "severity": "high", "message": "..." }]`).
137
+ **Command capability matrix:**
138
138
 
139
- `cpm list --json` and `cpm export --json` use a **flat** structure with `mode` at the root, and emit `warningCount` (a number) instead of the full warnings array. Use `cpm show --json` or `cpm audit --json` for full warning details.
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 list --json` is a **summary** format it omits `settingsFiles` and `claudeMdFiles` to keep output compact. Use `cpm export --json` for the full data dump.
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-permissions-manager",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Discover, analyze, and manage Claude Code permissions across all your projects",
5
5
  "license": "MIT",
6
6
  "author": "stofi",