refacil-sdd-ai 4.5.1 → 4.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 (3) hide show
  1. package/README.md +12 -8
  2. package/bin/cli.js +2 -1
  3. package/package.json +2 -1
package/README.md CHANGED
@@ -38,6 +38,18 @@ refacil-sdd-ai init
38
38
  # Generates AGENTS.md and the .agents/ directory for the project
39
39
  ```
40
40
 
41
+ ### Adding a new IDE to an existing installation
42
+
43
+ If you already have the methodology installed for Claude Code or Cursor and want to add OpenCode (or any other IDE), just run `init` again from the repo root:
44
+
45
+ ```bash
46
+ refacil-sdd-ai init
47
+ ```
48
+
49
+ The selector will pre-select the IDEs whose folders already exist (`.claude/`, `.cursor/`). Check the new IDE you want to add (e.g. OpenCode), leave the existing ones checked, and confirm — only the newly selected IDE will receive files; existing installations are refreshed in place.
50
+
51
+ > **`update` does not add new IDEs** — it only updates IDEs already installed. Use `init` to add a new one.
52
+
41
53
  ### Update
42
54
 
43
55
  ```bash
@@ -54,14 +66,6 @@ refacil-sdd-ai clean # in the repo (removes skills + SDD-AI hooks for
54
66
  npm uninstall -g refacil-sdd-ai
55
67
  ```
56
68
 
57
- ### Legacy `openspec/` directory
58
-
59
- Older repos may still have **`openspec/changes/`**. The package **migrates automatically** to **`refacil-sdd/`** the first time you run any **`refacil-sdd-ai sdd …`** subcommand or when **`check-update`** runs at session start. After you confirm the tree under **`refacil-sdd/`**, you can remove the leftover **`openspec/`** folder.
60
-
61
- Some teams still install the **OpenSpec CLI** for **`opsx:*`** commands; those can coexist with SDD-AI. The **supported** path for changes, review markers, and archiving is **`refacil-sdd/`** plus **`refacil-sdd-ai sdd`** and **`/refacil:*`** skills.
62
-
63
- ---
64
-
65
69
  ## CLI Commands
66
70
 
67
71
  ### Package management
package/bin/cli.js CHANGED
@@ -207,7 +207,8 @@ async function selectIDEs() {
207
207
  const clack = require('@clack/prompts');
208
208
  const result = await clack.multiselect({
209
209
  message: 'Select IDEs to install refacil-sdd-ai into:',
210
- options: options.map((o) => ({ label: o.label, value: o.value, selected: o.selected })),
210
+ options: options.map((o) => ({ label: o.label, value: o.value })),
211
+ initialValues: options.filter((o) => o.selected).map((o) => o.value),
211
212
  required: false,
212
213
  });
213
214
  if (clack.isCancel(result)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "refacil-sdd-ai",
3
- "version": "4.5.1",
3
+ "version": "4.5.2",
4
4
  "description": "SDD-AI: Specification-Driven Development with AI — development methodology using AI with Claude Code, Cursor and OpenCode",
5
5
  "bin": {
6
6
  "refacil-sdd-ai": "./bin/cli.js"
@@ -21,6 +21,7 @@
21
21
  "methodology",
22
22
  "claude-code",
23
23
  "cursor",
24
+ "opencode",
24
25
  "sdd",
25
26
  "specification-driven",
26
27
  "testing",