From 1aaf629b73a36199b9eb8df788df48f928ee2c4b Mon Sep 17 00:00:00 2001 From: pybe Date: Thu, 22 Jan 2026 13:10:14 +0000 Subject: [PATCH] fix(PAIUpgrade): correct SKILL_DIR path from 'Upgrade' to 'PAIUpgrade' The Anthropic.ts tool was using an incorrect directory name 'Upgrade' instead of 'PAIUpgrade', causing ENOENT errors when trying to load sources.json and save state files. This fix updates the SKILL_DIR constant to use the correct path that matches the actual skill directory name. Fixes: - Failed to load sources.json (ENOENT) - Failed to save state to last-check.json (ENOENT) - Tool now runs successfully and monitors 30+ Anthropic sources --- Releases/v2.3/.claude/skills/PAIUpgrade/Tools/Anthropic.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Releases/v2.3/.claude/skills/PAIUpgrade/Tools/Anthropic.ts b/Releases/v2.3/.claude/skills/PAIUpgrade/Tools/Anthropic.ts index c9ed6f0b6..830f1a0a2 100755 --- a/Releases/v2.3/.claude/skills/PAIUpgrade/Tools/Anthropic.ts +++ b/Releases/v2.3/.claude/skills/PAIUpgrade/Tools/Anthropic.ts @@ -79,7 +79,7 @@ interface State { // Config const HOME = homedir(); -const SKILL_DIR = join(HOME, '.claude', 'skills', 'Upgrade'); +const SKILL_DIR = join(HOME, '.claude', 'skills', 'PAIUpgrade'); const STATE_DIR = join(SKILL_DIR, 'State'); const STATE_FILE = join(STATE_DIR, 'last-check.json'); const SOURCES_FILE = join(SKILL_DIR, 'sources.json');