akili-specs 2.2.1 → 2.2.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/CHANGELOG.md CHANGED
@@ -6,10 +6,13 @@ The format is inspired by Keep a Changelog and the repository follows semantic v
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
- ### Notes
9
+ ### Fixed
10
+ - Changed the CLI behavior so that running `akili` with no arguments defaults to showing the `help` menu instead of launching the interactive `init` wizard. The wizard must now be explicitly invoked via `akili init` (or `npx akili-specs init`).
10
11
 
11
- - No unreleased changes yet.
12
+ ## [2.2.2] - 2026-07-19
12
13
 
14
+ ### Fixed
15
+ - Replaced `pnpm add -g` with the classic `npm install -g` in the global installation documentation to prevent the `ERR_PNPM_NO_GLOBAL_BIN_DIR` error that occurs in environments without a pre-configured PNPM home directory.
13
16
  ## [2.2.1] - 2026-07-19
14
17
 
15
18
  ### Fixed
package/README.md CHANGED
@@ -131,12 +131,10 @@ Install the methodology with the bundled CLI. The installer can target Claude, O
131
131
  ### Step 2: Install
132
132
 
133
133
  **Interactive Installation (Recommended):**
134
- Simply run the CLI without arguments to launch the interactive setup wizard, which will ask you about the tool and whether you want a global or local installation:
134
+ Run the `init` command to launch the interactive setup wizard, which will ask you about the tool and whether you want a global or local installation:
135
135
 
136
136
  ```bash
137
- pnpm dlx akili-specs
138
- # or
139
- pnpm dlx akili-specs init
137
+ npx akili-specs init
140
138
  ```
141
139
 
142
140
  **Manual Installation via Flags:**
@@ -144,19 +142,19 @@ pnpm dlx akili-specs init
144
142
  Install globally for Claude (default):
145
143
 
146
144
  ```bash
147
- pnpm dlx akili-specs install
145
+ npx akili-specs install
148
146
  ```
149
147
 
150
148
  Install globally for OpenCode:
151
149
 
152
150
  ```bash
153
- pnpm dlx akili-specs install --tool opencode
151
+ npx akili-specs install --tool opencode
154
152
  ```
155
153
 
156
154
  Install locally to the current project workspace:
157
155
 
158
156
  ```bash
159
- pnpm dlx akili-specs install --tool both --local
157
+ npx akili-specs install --tool both --local
160
158
  ```
161
159
 
162
160
  ### Step 3: Verify The Installation
@@ -164,25 +162,25 @@ pnpm dlx akili-specs install --tool both --local
164
162
  Check Claude installation:
165
163
 
166
164
  ```bash
167
- pnpm dlx akili-specs doctor --tool claude
165
+ npx akili-specs doctor --tool claude
168
166
  ```
169
167
 
170
168
  Check OpenCode installation:
171
169
 
172
170
  ```bash
173
- pnpm dlx akili-specs doctor --tool opencode
171
+ npx akili-specs doctor --tool opencode
174
172
  ```
175
173
 
176
174
  Check Antigravity installation:
177
175
 
178
176
  ```bash
179
- pnpm dlx akili-specs doctor --tool antigravity
177
+ npx akili-specs doctor --tool antigravity
180
178
  ```
181
179
 
182
180
  Check all:
183
181
 
184
182
  ```bash
185
- pnpm dlx akili-specs doctor --tool all
183
+ npx akili-specs doctor --tool all
186
184
  ```
187
185
 
188
186
  Expected result: every command, skill, and helper resource shows `OK`.
@@ -239,7 +237,7 @@ node bin/akili.js doctor --tool both
239
237
  If you prefer a persistent global CLI:
240
238
 
241
239
  ```bash
242
- pnpm add -g akili-specs
240
+ npm install -g akili-specs
243
241
  akili install
244
242
  akili install --tool opencode
245
243
  akili doctor --tool opencode
@@ -281,19 +279,19 @@ OpenCode loads global command markdown files from `~/.config/opencode/commands/`
281
279
  Update Claude:
282
280
 
283
281
  ```bash
284
- pnpm dlx akili-specs update --tool claude --force
282
+ npx akili-specs update --tool claude --force
285
283
  ```
286
284
 
287
285
  Update OpenCode:
288
286
 
289
287
  ```bash
290
- pnpm dlx akili-specs update --tool opencode --force
288
+ npx akili-specs update --tool opencode --force
291
289
  ```
292
290
 
293
291
  Update both:
294
292
 
295
293
  ```bash
296
- pnpm dlx akili-specs update --tool both --force
294
+ npx akili-specs update --tool both --force
297
295
  ```
298
296
 
299
297
  Use `--force` when you want packaged files to replace older installed files. Without `--force`, existing files are skipped.
@@ -353,8 +351,8 @@ npm publish --access public --registry=https://registry.npmjs.org/
353
351
  After publish, smoke test:
354
352
 
355
353
  ```bash
356
- pnpm dlx akili-specs@X.Y.Z list
357
- pnpm dlx akili-specs@X.Y.Z install --tool both --dry-run
354
+ npx akili-specs@X.Y.Z list
355
+ npx akili-specs@X.Y.Z install --tool both --dry-run
358
356
  npm view akili-specs version --registry=https://registry.npmjs.org/
359
357
  npm run release:status
360
358
  ```
package/bin/akili.js CHANGED
@@ -593,7 +593,7 @@ async function main() {
593
593
  printBanner();
594
594
  }
595
595
 
596
- if (process.argv.length === 2 || args.command === "init") {
596
+ if (args.command === "init") {
597
597
  printBanner();
598
598
  await runInteractiveInit();
599
599
  return;
package/docs/cli.md CHANGED
@@ -6,11 +6,11 @@ The `akili` CLI installs the AKILI command prompts, skills, and helper resources
6
6
 
7
7
  ### Interactive Mode (Recommended)
8
8
 
9
- Run the CLI without arguments or use the `init` command to launch an interactive wizard. It will guide you through selecting the target tools and choosing between global or local installation:
9
+ Run the `init` command to launch an interactive wizard. It will guide you through selecting the target tools and choosing between global or local installation:
10
10
 
11
11
  ```bash
12
- pnpm dlx akili-specs
13
- # or
12
+ npx akili-specs init
13
+ # or, if installed globally
14
14
  akili init
15
15
  ```
16
16
 
@@ -19,23 +19,23 @@ akili init
19
19
  Run directly from npm:
20
20
 
21
21
  ```bash
22
- pnpm dlx akili-specs install --tool claude
23
- pnpm dlx akili-specs install --tool opencode
24
- pnpm dlx akili-specs install --tool antigravity
25
- pnpm dlx akili-specs install --tool both
26
- pnpm dlx akili-specs install --tool all
22
+ npx akili-specs install --tool claude
23
+ npx akili-specs install --tool opencode
24
+ npx akili-specs install --tool antigravity
25
+ npx akili-specs install --tool both
26
+ npx akili-specs install --tool all
27
27
  ```
28
28
 
29
29
  Claude is the default target:
30
30
 
31
31
  ```bash
32
- pnpm dlx akili-specs install
32
+ npx akili-specs install
33
33
  ```
34
34
 
35
35
  Use a persistent global install if preferred:
36
36
 
37
37
  ```bash
38
- pnpm add -g akili-specs
38
+ npm install -g akili-specs
39
39
  akili install --tool all
40
40
  ```
41
41
 
@@ -78,8 +78,8 @@ For private registry publishing, configure the registry first and publish using
78
78
  ## Post-Publish Smoke Test
79
79
 
80
80
  ```bash
81
- pnpm dlx akili-specs@<version> list
82
- pnpm dlx akili-specs@<version> install --tool both --dry-run
81
+ npx akili-specs@<version> list
82
+ npx akili-specs@<version> install --tool both --dry-run
83
83
  npm view akili-specs version --registry=https://registry.npmjs.org/
84
84
  npm run release:status
85
85
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "akili-specs",
3
- "version": "2.2.1",
3
+ "version": "2.2.2",
4
4
  "description": "Portable AKILI-SPECS methodology commands and skills for AI-assisted development.",
5
5
  "homepage": "https://github.com/JuankCadavid/akili-specs#readme",
6
6
  "repository": {