@orchestra-research/ai-research-skills 1.4.2 → 1.5.0
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/src/installer.js +7 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orchestra-research/ai-research-skills",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"description": "Install AI research engineering skills to your coding agents (Claude Code, OpenCode, Cursor, Gemini CLI, and more)",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"bin": {
|
package/src/installer.js
CHANGED
|
@@ -156,7 +156,13 @@ function createSymlinks(agent, skills, spinner) {
|
|
|
156
156
|
symlinkSync(sourcePath, linkPath);
|
|
157
157
|
linkedCount++;
|
|
158
158
|
} catch (error) {
|
|
159
|
-
//
|
|
159
|
+
// Symlink failed (e.g., Windows without Developer Mode) — fall back to copy
|
|
160
|
+
try {
|
|
161
|
+
cpSync(sourcePath, linkPath, { recursive: true });
|
|
162
|
+
linkedCount++;
|
|
163
|
+
} catch (copyError) {
|
|
164
|
+
// Skip if both fail
|
|
165
|
+
}
|
|
160
166
|
}
|
|
161
167
|
}
|
|
162
168
|
|