claude-recall 0.8.25 → 0.8.26
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/package.json +1 -1
- package/scripts/postinstall.js +9 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-recall",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.26",
|
|
4
4
|
"description": "Persistent memory for Claude Code with fire-and-forget PubNub architecture, automatic capture, failure learning, and project scoping via MCP server",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
package/scripts/postinstall.js
CHANGED
|
@@ -155,6 +155,15 @@ try {
|
|
|
155
155
|
|
|
156
156
|
console.log('✅ Installed hook scripts to .claude/hooks/');
|
|
157
157
|
|
|
158
|
+
// Copy skills directory (always, not just on version update)
|
|
159
|
+
if (fs.existsSync(packageSkillsDir)) {
|
|
160
|
+
const skillsDir = path.join(claudeDir, 'skills');
|
|
161
|
+
copyDirRecursive(packageSkillsDir, skillsDir);
|
|
162
|
+
console.log('✅ Installed skills to .claude/skills/');
|
|
163
|
+
} else {
|
|
164
|
+
console.log(`⚠️ Skills source not found at: ${packageSkillsDir}`);
|
|
165
|
+
}
|
|
166
|
+
|
|
158
167
|
// Create or update .claude/settings.json with hook configuration
|
|
159
168
|
const settingsPath = path.join(claudeDir, 'settings.json');
|
|
160
169
|
let settings = {};
|
|
@@ -226,15 +235,6 @@ try {
|
|
|
226
235
|
} else {
|
|
227
236
|
console.log(`ℹ️ Hooks already at version ${CURRENT_HOOKS_VERSION} (skipped)`);
|
|
228
237
|
}
|
|
229
|
-
|
|
230
|
-
// Copy skills directory (packageSkillsDir defined above)
|
|
231
|
-
if (fs.existsSync(packageSkillsDir)) {
|
|
232
|
-
const skillsDir = path.join(claudeDir, 'skills');
|
|
233
|
-
copyDirRecursive(packageSkillsDir, skillsDir);
|
|
234
|
-
console.log('✅ Installed skills to .claude/skills/');
|
|
235
|
-
} else {
|
|
236
|
-
console.log(`⚠️ Skills source not found at: ${packageSkillsDir}`);
|
|
237
|
-
}
|
|
238
238
|
}
|
|
239
239
|
} catch (error) {
|
|
240
240
|
// Don't fail installation if hook/skill setup fails
|