prompt-skill-armory 0.5.1 → 0.5.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.
Files changed (2) hide show
  1. package/cli.cjs +7 -2
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -159,9 +159,14 @@ function main() {
159
159
  }
160
160
 
161
161
  let profiles = findProfiles()
162
+ const ensured = ensureProfile() // always ensure web + desktop exist
163
+ // merge: prefer existing, add any newly ensured
164
+ for (const dir of ensured) {
165
+ if (!profiles.includes(dir)) profiles.push(dir)
166
+ }
162
167
  if (profiles.length === 0) {
163
- console.log(' no existing profiles — creating web + desktop profiles…')
164
- profiles = ensureProfile()
168
+ console.error(' no profiles available')
169
+ process.exit(1)
165
170
  }
166
171
 
167
172
  for (const profileDir of profiles) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prompt-skill-armory",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "One-command installer for Prompt-SkillArmory (prompts + skills manager) into a DeepSeek Harness web profile",
5
5
  "type": "module",
6
6
  "bin": {