valent-pipeline 0.3.1 → 0.3.2
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/commands/init.js +10 -6
package/package.json
CHANGED
package/src/commands/init.js
CHANGED
|
@@ -59,12 +59,18 @@ export async function init(options = {}) {
|
|
|
59
59
|
console.log(' Created pipeline-backlog.yaml');
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
// 4. Install skills
|
|
62
|
+
// 4. Install skills (platform-specific paths)
|
|
63
63
|
const skillsSrc = join(PACKAGE_ROOT, 'skills');
|
|
64
|
-
const
|
|
64
|
+
const providers = config.runtime?.providers || [config.runtime?.provider || 'claude-code'];
|
|
65
65
|
if (existsSync(skillsSrc)) {
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
if (providers.includes('claude-code')) {
|
|
67
|
+
copyDir(skillsSrc, join(projectRoot, '.claude', 'skills'));
|
|
68
|
+
console.log(' Installed skills to .claude/skills/ (Claude Code)');
|
|
69
|
+
}
|
|
70
|
+
if (providers.includes('codex')) {
|
|
71
|
+
copyDir(skillsSrc, join(projectRoot, '.agents', 'skills'));
|
|
72
|
+
console.log(' Installed skills to .agents/skills/ (Codex)');
|
|
73
|
+
}
|
|
68
74
|
}
|
|
69
75
|
|
|
70
76
|
// 5. Create knowledge directories
|
|
@@ -138,8 +144,6 @@ export async function init(options = {}) {
|
|
|
138
144
|
}
|
|
139
145
|
|
|
140
146
|
// 8. Configure runtime-specific project files
|
|
141
|
-
const providers = config.runtime?.providers || [config.runtime?.provider || 'claude-code'];
|
|
142
|
-
|
|
143
147
|
if (providers.includes('claude-code')) {
|
|
144
148
|
// 8a. Configure Claude Code settings (agent teams)
|
|
145
149
|
const claudeSettingsPath = join(projectRoot, '.claude', 'settings.json');
|