@rex_koh/subagent-budget-guard 0.1.6 → 0.1.7
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/.claude-plugin/plugin.json +1 -1
- package/README.md +2 -2
- package/lib/verifier.js +1 -1
- package/package.json +1 -1
- package/skills/setup/SKILL.md +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "subagent-budget-guard",
|
|
3
3
|
"displayName": "Subagent Budget Guard",
|
|
4
4
|
"description": "Hard-deny subagent launches, record verified subagent usage, and enforce a session budget against Claude Code's 5-hour rate-limit percentage.",
|
|
5
|
-
"version": "0.1.
|
|
5
|
+
"version": "0.1.7",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "ClaudeSubAgentSuppressor"
|
|
8
8
|
},
|
package/README.md
CHANGED
|
@@ -9,12 +9,12 @@ Recommended Claude Code install:
|
|
|
9
9
|
```text
|
|
10
10
|
/plugin marketplace add rexkoh425/ClaudeSubAgentSuppressor
|
|
11
11
|
/plugin install subagent-budget-guard@subagent-budget-tools
|
|
12
|
-
/reload-plugins
|
|
13
12
|
/subagent-budget-guard:setup
|
|
14
|
-
/reload-plugins
|
|
15
13
|
/subagent-budget-guard:verify
|
|
16
14
|
```
|
|
17
15
|
|
|
16
|
+
After `/subagent-budget-guard:setup`, fully exit and reopen Claude Code before verification so the statusLine bridge from `settings.json` is active. Some Claude Code builds do not provide an in-session plugin reload command.
|
|
17
|
+
|
|
18
18
|
Useful after install:
|
|
19
19
|
|
|
20
20
|
```text
|
package/lib/verifier.js
CHANGED
|
@@ -90,7 +90,7 @@ export async function runOfflineVerification({
|
|
|
90
90
|
entry.source?.package === '@rex_koh/subagent-budget-guard',
|
|
91
91
|
'marketplace npm package mismatch'
|
|
92
92
|
);
|
|
93
|
-
assert(entry.source?.version === '0.1.
|
|
93
|
+
assert(entry.source?.version === '0.1.7', 'marketplace npm version mismatch');
|
|
94
94
|
return marketplacePath;
|
|
95
95
|
});
|
|
96
96
|
} else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rex_koh/subagent-budget-guard",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"description": "Claude Code plugin that blocks subagents by default, records verified subagent usage, and enforces 5-hour usage budgets.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "ClaudeSubAgentSuppressor",
|
package/skills/setup/SKILL.md
CHANGED
|
@@ -22,7 +22,7 @@ absolute_five_hour_ceiling_percent=95
|
|
|
22
22
|
enforcement_enabled=true
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
-
Then tell the user to
|
|
25
|
+
Then tell the user to fully exit and reopen Claude Code, interact once so the statusLine bridge receives fresh session JSON, and run:
|
|
26
26
|
|
|
27
27
|
```bash
|
|
28
28
|
node "${CLAUDE_PLUGIN_ROOT}/bin/verify.js" --live
|