bokata 3.0.0-beta.7 → 3.0.0-beta.8

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/package.json +1 -1
  2. package/src/install.js +7 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bokata",
3
- "version": "3.0.0-beta.7",
3
+ "version": "3.0.0-beta.8",
4
4
  "description": "Bokata — skills and agents to shape, slice, plan and build in small TDD steps, for Claude Code, OpenCode, Cursor and Codex",
5
5
  "keywords": [
6
6
  "bokata",
package/src/install.js CHANGED
@@ -35,6 +35,9 @@ const ROLES = ['trio', 'executor', 'reviewer'];
35
35
  // Agents bokata used to install and no longer ships; install removes their generated files.
36
36
  const RETIRED_AGENTS = ['story-map-renderer'];
37
37
 
38
+ // Skills bokata used to install and no longer ships; install removes them (and their links).
39
+ const RETIRED_SKILLS = ['bokata-inc'];
40
+
38
41
  const HARNESS_KEYS = ['claude', 'cursor', 'opencode', 'codex'];
39
42
 
40
43
  // Every harness reads skills from .agents/skills except these, which get symlinks to it.
@@ -192,6 +195,10 @@ function removeLegacy(cwd) {
192
195
  }
193
196
 
194
197
  function installSkills(cwd, activeKeys) {
198
+ for (const skill of RETIRED_SKILLS) {
199
+ const dirs = [['.agents', 'skills'], ...Object.values(SKILL_LINK_DIRS)];
200
+ for (const parts of dirs) fs.rmSync(path.join(cwd, ...parts, skill), { recursive: true, force: true });
201
+ }
195
202
  for (const skill of SKILLS) {
196
203
  const dest = path.join(cwd, '.agents', 'skills', skill);
197
204
  fs.rmSync(dest, { recursive: true, force: true });