Skip to content
Closed
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
7 changes: 7 additions & 0 deletions .changes/knowledge/fix-knowledge-node-22-floor-3c9a1e7d.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
bump: patch
---

### Fixed

- The prerequisites check now requires Node 22 or newer, so Node 21.0 and 21.1, which lack `import.meta.dirname`, no longer pass; Node 20 and 21 are past end of life ([#6922](https://github.com/melodic-software/claude-code-plugins/issues/6922)).
4 changes: 2 additions & 2 deletions plugins/knowledge/prerequisites.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
"--version"
],
"pattern": "v([0-9.]+)",
"min": "20.11"
"min": "22"
}
},
"degrade": "Without node 20.11 or newer, the digest skills cannot run their extraction scripts and stop; the video-digest runner and the setup-deps.mjs that /knowledge:setup runs read import.meta.dirname, which older node lacks.",
"degrade": "Without node 22 or newer, the digest skills cannot run their extraction scripts and stop; the video-digest runner and the setup-deps.mjs that /knowledge:setup runs read import.meta.dirname, which older node lacks.",
"install": {
"docs": "https://nodejs.org/en/download",
"brew": "node",
Expand Down
4 changes: 2 additions & 2 deletions plugins/knowledge/skills/video-digest/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,8 @@ patterns live in the source spokes.
## Prerequisites

The skill needs **Git Bash on Windows** (its `shell: bash` invocation fails before any command
runs without bash) and **Node 20.11 or newer**, or 21.2+ on the 21 line (the runner reads
`import.meta.dirname`). Pointers:
runs without bash) and **Node 22 or newer** (the runner reads
`import.meta.dirname`; Node 20 and 21 are past end of life). Pointers:
[skills, injected commands](https://code.claude.com/docs/en/skills#how-injected-commands-run) and
[Node `import.meta.dirname`](https://github.com/nodejs/node/blob/main/doc/api/esm.md#importmetadirname),
as of 2026-10-10; recheck when either section changes.
Expand Down
Loading