flow-cc 0.7.0 → 0.7.1

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/CHANGELOG.md CHANGED
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.7.1] - 2026-02-14
9
+
10
+ ### Fixed
11
+ - Installer now cleans stale skill files from previous versions (e.g., `milestone.md`, `init.md` left behind after removal)
12
+
8
13
  ## [0.7.0] - 2026-02-14
9
14
 
10
15
  ### Changed
package/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.0
1
+ 0.7.1
package/bin/install.js CHANGED
@@ -227,7 +227,18 @@ try {
227
227
  }
228
228
 
229
229
  // 2. Copy skills: skills/flow-*.md -> commands/flow/*.md (strip "flow-" prefix)
230
+ // Clean stale skill files first (from previous versions that removed skills)
230
231
  const skillFiles = fs.readdirSync(skillsDir).filter(f => f.startsWith('flow-') && f.endsWith('.md'));
232
+ const expectedSkills = new Set(skillFiles.map(f => f.replace(/^flow-/, '')));
233
+ if (fs.existsSync(commandsDir)) {
234
+ const existing = fs.readdirSync(commandsDir).filter(f => f.endsWith('.md'));
235
+ for (const file of existing) {
236
+ if (!expectedSkills.has(file)) {
237
+ fs.unlinkSync(path.join(commandsDir, file));
238
+ console.log(` Removed stale skill: ${file}`);
239
+ }
240
+ }
241
+ }
231
242
  for (const file of skillFiles) {
232
243
  const dest = file.replace(/^flow-/, '');
233
244
  const destPath = path.join(commandsDir, dest);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flow-cc",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "Structured workflow system for Claude Code — spec interviews, agent-team execution, session handoffs, compounding knowledge",
5
5
  "author": "Troy Hoffman",
6
6
  "license": "MIT",