Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
bump: patch
---

### Fixed

- The `check` line for an old Claude Code no longer prints a literal `<plugin root>` in the mods probe command. It now says to run `bash scripts/check-mod-load.sh` from the plugin root, the directory passed to `prerequisites.mjs check`, so the command runs as written.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
bump: patch
---

### Fixed

- The `check` line for a missing node no longer prints a literal `<plugin root>` in the registration probe command. It now says to run `bash scripts/check-hook-registration.sh` from the plugin root, the directory passed to `prerequisites.mjs check`, so the command runs as written.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
bump: patch
---

### Fixed

- The `check` line for a missing node no longer prints a literal `<plugin root>` in the registration probe command. It now says to run `bash scripts/check-hook-registration.sh` from the plugin root, the directory passed to `prerequisites.mjs check`, so the command runs as written.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
bump: patch
---

### Fixed

- The `check` line for an old Claude Code no longer prints a literal `<plugin root>` in the mods probe command. It now says to run `bash scripts/check-mod-load.sh` from the plugin root, the directory passed to `prerequisites.mjs check`, so the command runs as written.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
bump: patch
---

### Fixed

- The `check` line for a missing node no longer prints a literal `<plugin root>` in the registration probe command. It now says to run `bash scripts/check-hook-registration.sh` from the plugin root, the directory passed to `prerequisites.mjs check`, so the command runs as written.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ expected_outcome: "Runs the checker the notice names, read-only, then check-mod-

This showed up when the session started:

> context-guard: /usr/local/bin/claude is 2.1.100; 2.1.287 or newer is needed. Claude Code older than 2.1.287 is unsupported: the module that sends zone lines, draws the band row, serves the status tool and writes the snapshot does not load there. Run `bash <plugin root>/scripts/check-mod-load.sh`: it reports the floor and how to tell whether the mod runs in this session. Install (docs: https://code.claude.com/docs/en/setup#update-claude-code). Hooks read Claude Code's PATH, not your shell profile. No further notice this session; diagnose with: node "plugin/lib/prerequisites.mjs" check "plugin"
> context-guard: /usr/local/bin/claude is 2.1.100; 2.1.287 or newer is needed. Claude Code older than 2.1.287 is unsupported: the module that sends zone lines, draws the band row, serves the status tool and writes the snapshot does not load there. Run `bash scripts/check-mod-load.sh` from the plugin root, the directory passed to `prerequisites.mjs check`. It reports the floor and how to tell whether the mod runs in this session. Install (docs: https://code.claude.com/docs/en/setup#update-claude-code). Hooks read Claude Code's PATH, not your shell profile. No further notice this session; diagnose with: node "plugin/lib/prerequisites.mjs" check "plugin"

Is that right, and can the mod load?
2 changes: 1 addition & 1 deletion plugins/context-guard/prerequisites.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"min": "2.1.287"
}
},
"degrade": "Claude Code older than 2.1.287 is unsupported: the module that sends zone lines, draws the band row, serves the status tool and writes the snapshot does not load there. Run `bash <plugin root>/scripts/check-mod-load.sh`: it reports the floor and how to tell whether the mod runs in this session.",
"degrade": "Claude Code older than 2.1.287 is unsupported: the module that sends zone lines, draws the band row, serves the status tool and writes the snapshot does not load there. Run `bash scripts/check-mod-load.sh` from the plugin root, the directory passed to `prerequisites.mjs check`. It reports the floor and how to tell whether the mod runs in this session.",
"install": {
"docs": "https://code.claude.com/docs/en/setup#update-claude-code"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ expected_outcome: 'The run executes the checker and scripts/check-hook-registrat
context:
scaffold_script: scaffold.sh
execution:
prompt: 'This showed up when the session started: discovery: node not on the hook PATH. Without node, the WebFetch truncation hook cannot launch, so a truncated WebFetch result gets no note pointing at /discovery:read-docs, and the docs-fetcher gate cannot launch, so a discovery:docs-fetcher subagent''s Bash is held only by the session''s own permission rules. After node resolves, run `bash <plugin root>/scripts/check-hook-registration.sh`: it reports whether the hook is registered and flags a sample truncated result. Install (docs: https://nodejs.org/en/download). Hooks read Claude Code''s PATH, not your shell profile. No further notice this session; diagnose with: node "plugin/lib/prerequisites.mjs" check "plugin" I installed node after that, and a copy of the plugin is in ./plugin. Give me PASS or FAIL for each row.'
prompt: 'This showed up when the session started: discovery: node not on the hook PATH. Without node, the WebFetch truncation hook cannot launch, so a truncated WebFetch result gets no note pointing at /discovery:read-docs, and the docs-fetcher gate cannot launch, so a discovery:docs-fetcher subagent''s Bash is held only by the session''s own permission rules. After node resolves, run `bash scripts/check-hook-registration.sh` from the plugin root, the directory passed to `prerequisites.mjs check`. It reports whether the hook is registered and flags a sample truncated result. Install (docs: https://nodejs.org/en/download). Hooks read Claude Code''s PATH, not your shell profile. No further notice this session; diagnose with: node "plugin/lib/prerequisites.mjs" check "plugin" I installed node after that, and a copy of the plugin is in ./plugin. Give me PASS or FAIL for each row.'
allowed_tools: [Bash, Read, Write, Edit, Glob, Grep, Skill]
max_turns: 12
timeout_seconds: 300
Expand Down
2 changes: 1 addition & 1 deletion plugins/discovery/prerequisites.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"node"
]
},
"degrade": "Without node, the WebFetch truncation hook cannot launch, so a truncated WebFetch result gets no note pointing at /discovery:read-docs, and the docs-fetcher gate cannot launch, so a discovery:docs-fetcher subagent's Bash is held only by the session's own permission rules. After node resolves, run `bash <plugin root>/scripts/check-hook-registration.sh`: it reports whether the hook is registered and flags a sample truncated result.",
"degrade": "Without node, the WebFetch truncation hook cannot launch, so a truncated WebFetch result gets no note pointing at /discovery:read-docs, and the docs-fetcher gate cannot launch, so a discovery:docs-fetcher subagent's Bash is held only by the session's own permission rules. After node resolves, run `bash scripts/check-hook-registration.sh` from the plugin root, the directory passed to `prerequisites.mjs check`. It reports whether the hook is registered and flags a sample truncated result.",
"install": {
"docs": "https://nodejs.org/en/download"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ expected_outcome: "Runs the checker the notice names, read-only, then check-hook

This showed up when the session started:

> multi-agent: node not on the hook PATH. Without node, the multi-agent hooks cannot launch, so they do nothing. After node resolves, run `bash <plugin root>/scripts/check-hook-registration.sh`: it reports whether the fetch gate is registered and denies a sample off-host fetch. Install (docs: https://nodejs.org/en/download). Hooks read Claude Code's PATH, not your shell profile. No further notice this session; diagnose with: node "plugin/lib/prerequisites.mjs" check "plugin"
> multi-agent: node not on the hook PATH. Without node, the multi-agent hooks cannot launch, so they do nothing. After node resolves, run `bash scripts/check-hook-registration.sh` from the plugin root, the directory passed to `prerequisites.mjs check`. It reports whether the fetch gate is registered and denies a sample off-host fetch. Install (docs: https://nodejs.org/en/download). Hooks read Claude Code's PATH, not your shell profile. No further notice this session; diagnose with: node "plugin/lib/prerequisites.mjs" check "plugin"

I installed node after that, and a copy of the plugin is in ./plugin. Does it check out now?
2 changes: 1 addition & 1 deletion plugins/multi-agent/prerequisites.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"node"
]
},
"degrade": "Without node, the multi-agent hooks cannot launch, so they do nothing. After node resolves, run `bash <plugin root>/scripts/check-hook-registration.sh`: it reports whether the fetch gate is registered and denies a sample off-host fetch.",
"degrade": "Without node, the multi-agent hooks cannot launch, so they do nothing. After node resolves, run `bash scripts/check-hook-registration.sh` from the plugin root, the directory passed to `prerequisites.mjs check`. It reports whether the fetch gate is registered and denies a sample off-host fetch.",
"install": {
"docs": "https://nodejs.org/en/download"
}
Expand Down
2 changes: 1 addition & 1 deletion plugins/rate-limit-guard/prerequisites.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"min": "2.1.287"
}
},
"degrade": "Claude Code older than 2.1.287 is unsupported: the module that sends rate-limit lines, draws the band row, serves the status tool and writes the snapshot does not load there. Run `bash <plugin root>/scripts/check-mod-load.sh`: it reports the floor and how to tell whether the mod runs in this session.",
"degrade": "Claude Code older than 2.1.287 is unsupported: the module that sends rate-limit lines, draws the band row, serves the status tool and writes the snapshot does not load there. Run `bash scripts/check-mod-load.sh` from the plugin root, the directory passed to `prerequisites.mjs check`. It reports the floor and how to tell whether the mod runs in this session.",
"install": {
"docs": "https://code.claude.com/docs/en/setup#update-claude-code"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ expected_outcome: "Runs the checker the notice names, read-only, then check-hook

This showed up when the session started:

> review: node not on the hook PATH. Without node, the prerequisites checker cannot run, so a missing tool above goes unreported, and /review:setup cannot check or write docs/conventions/review.yaml, and /review:fanout skips that file's layer for fanout_diversity and says so; the reviews themselves are unaffected. After node resolves, run `bash <plugin root>/scripts/check-hook-registration.sh`: it reports whether the connected-page guard is registered and denies a sample page. Install (docs: https://nodejs.org/en/download; brew: node; winget: OpenJS.NodeJS.LTS; apt: nodejs). Hooks read Claude Code's PATH, not your shell profile. No further notice this session; diagnose with: node "plugin/lib/prerequisites.mjs" check "plugin"
> review: node not on the hook PATH. Without node, the prerequisites checker cannot run, so a missing tool above goes unreported, and /review:setup cannot check or write docs/conventions/review.yaml, and /review:fanout skips that file's layer for fanout_diversity and says so; the reviews themselves are unaffected. After node resolves, run `bash scripts/check-hook-registration.sh` from the plugin root, the directory passed to `prerequisites.mjs check`. It reports whether the connected-page guard is registered and denies a sample page. Install (docs: https://nodejs.org/en/download; brew: node; winget: OpenJS.NodeJS.LTS; apt: nodejs). Hooks read Claude Code's PATH, not your shell profile. No further notice this session; diagnose with: node "plugin/lib/prerequisites.mjs" check "plugin"

I installed node after that, and a copy of the plugin is in ./plugin. Does it check out now?
2 changes: 1 addition & 1 deletion plugins/review/prerequisites.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"node"
]
},
"degrade": "Without node, the prerequisites checker cannot run, so a missing tool above goes unreported, and /review:setup cannot check or write docs/conventions/review.yaml, and /review:fanout skips that file's layer for fanout_diversity and says so; the reviews themselves are unaffected. After node resolves, run `bash <plugin root>/scripts/check-hook-registration.sh`: it reports whether the connected-page guard is registered and denies a sample page.",
"degrade": "Without node, the prerequisites checker cannot run, so a missing tool above goes unreported, and /review:setup cannot check or write docs/conventions/review.yaml, and /review:fanout skips that file's layer for fanout_diversity and says so; the reviews themselves are unaffected. After node resolves, run `bash scripts/check-hook-registration.sh` from the plugin root, the directory passed to `prerequisites.mjs check`. It reports whether the connected-page guard is registered and denies a sample page.",
"install": {
"docs": "https://nodejs.org/en/download",
"brew": "node",
Expand Down
Loading