@delt/claude-jev-advisor 0.1.1 → 0.1.2
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 +14 -0
- package/mod/.claude-plugin/plugin.json +14 -14
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -99,6 +99,20 @@ A target cannot be worked out when it uses:
|
|
|
99
99
|
- a wildcard in a folder name
|
|
100
100
|
- a `cd` to such a path earlier in the command
|
|
101
101
|
|
|
102
|
+
It does not see deletions made any other way:
|
|
103
|
+
|
|
104
|
+
- through the PowerShell tool (`Remove-Item` and its aliases). On Windows with Git Bash installed, Claude Code turns this tool on by default for claude.ai and Console accounts and uses PowerShell as its main shell, so many deletions go through it.
|
|
105
|
+
- through a nested shell: `sh -c`, `bash -c`, `powershell -Command`, `pwsh -c`, `cmd /c del`
|
|
106
|
+
- with other commands or programs, such as `find -delete`, `git clean` or a script that deletes files
|
|
107
|
+
|
|
108
|
+
What its decisions do depends on Claude Code's permission mode:
|
|
109
|
+
|
|
110
|
+
| Mode | `ask` | `deny` | No decision |
|
|
111
|
+
|---|---|---|---|
|
|
112
|
+
| `auto` | A prompt. The auto mode classifier can still block the call but cannot approve it on its own (Claude Code 2.1.211 or later). | Blocked | The classifier decides |
|
|
113
|
+
| `bypassPermissions` | A prompt. Claude Code's documentation does not say this; it was seen in a test on 2026-10-03. | Blocked | Runs |
|
|
114
|
+
| Other modes | A prompt (`dontAsk` refuses the call instead) | Blocked | Claude Code's normal permission handling |
|
|
115
|
+
|
|
102
116
|
`install rm` also replaces an older personal hook at `~/.claude/hooks/rm-guard/rm-guard.mjs` if one is registered. Its files are left in place.
|
|
103
117
|
|
|
104
118
|
If a hook of this package fails in any way, it prints nothing and exits 0, so it never blocks Claude Code.
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "jev-advisor",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Bottom-row compact/clear advice from @delt/claude-jev-advisor (unofficial)",
|
|
5
|
-
"author": { "name": "delt96" },
|
|
6
|
-
"userConfig": {
|
|
7
|
-
"dataDir": {
|
|
8
|
-
"type": "string",
|
|
9
|
-
"title": "Data folder",
|
|
10
|
-
"description": "The claude-jev-advisor data folder holding config.json and state/. Set by claude-jev-advisor install.",
|
|
11
|
-
"default": ""
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "jev-advisor",
|
|
3
|
+
"version": "0.1.2",
|
|
4
|
+
"description": "Bottom-row compact/clear advice from @delt/claude-jev-advisor (unofficial)",
|
|
5
|
+
"author": { "name": "delt96" },
|
|
6
|
+
"userConfig": {
|
|
7
|
+
"dataDir": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"title": "Data folder",
|
|
10
|
+
"description": "The claude-jev-advisor data folder holding config.json and state/. Set by claude-jev-advisor install.",
|
|
11
|
+
"default": ""
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|