ccperm 1.10.0 → 1.10.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/dist/cli.js +9 -4
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -13,7 +13,7 @@ const aggregator_js_1 = require("./aggregator.js");
13
13
  const renderer_js_1 = require("./renderer.js");
14
14
  const interactive_js_1 = require("./interactive.js");
15
15
  const advisor_js_1 = require("./advisor.js");
16
- const KNOWN_FLAGS = new Set(['--cwd', '--verbose', '--static', '--update', '--fix', '--agent', '--debug', '--help', '-h', '--version', '-v']);
16
+ const KNOWN_FLAGS = new Set(['--cwd', '--verbose', '--static', '--update', '--fix', '--hey-claude-witness-me', '--debug', '--help', '-h', '--version', '-v']);
17
17
  const HELP = `${colors_js_1.CYAN}ccperm${colors_js_1.NC} — Audit Claude Code permissions across projects
18
18
 
19
19
  ${colors_js_1.YELLOW}Usage:${colors_js_1.NC}
@@ -25,9 +25,14 @@ ${colors_js_1.YELLOW}Options:${colors_js_1.NC}
25
25
  --verbose Show all permissions per project (static)
26
26
  --static Force static output (default in non-TTY)
27
27
  --update Update ccperm to latest version
28
- --agent Briefing for your AI overlord 🤖
28
+ --hey-claude-witness-me
29
+ Dump a markdown briefing so your AI can
30
+ judge your permission hygiene. It will.
29
31
  --help, -h Show this help
30
- --version, -v Show version`;
32
+ --version, -v Show version
33
+
34
+ ${colors_js_1.DIM}Pro tip: pipe --hey-claude-witness-me into Claude and watch it roast your settings.
35
+ $ ccperm --hey-claude-witness-me | pbcopy # then paste into your AI of choice${colors_js_1.NC}`;
31
36
  async function main() {
32
37
  const args = process.argv.slice(2);
33
38
  if (args.includes('--help') || args.includes('-h')) {
@@ -92,7 +97,7 @@ async function main() {
92
97
  const results = files.map(scanner_js_1.scanFile).filter((r) => r !== null);
93
98
  const entries = (0, aggregator_js_1.toFileEntries)(results);
94
99
  const summary = (0, aggregator_js_1.summarize)(results);
95
- if (args.includes('--agent')) {
100
+ if (args.includes('--hey-claude-witness-me')) {
96
101
  console.log((0, advisor_js_1.analyze)(results));
97
102
  return;
98
103
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ccperm",
3
- "version": "1.10.0",
3
+ "version": "1.10.1",
4
4
  "description": "Audit Claude Code permissions across all your projects",
5
5
  "bin": {
6
6
  "ccperm": "bin/ccperm.js"