@delegance/claude-autopilot 1.2.3 → 1.2.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@delegance/claude-autopilot",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "type": "module",
5
5
  "description": "Claude Code automation pipeline: spec \u2192 plan \u2192 implement \u2192 validate \u2192 PR",
6
6
  "keywords": [
package/src/cli/index.ts CHANGED
@@ -10,7 +10,6 @@
10
10
  * autopilot watch re-run pipeline on every file save (debounced)
11
11
  * autopilot doctor check prerequisites (alias: preflight)
12
12
  */
13
- import { runInit } from './init.ts';
14
13
  import { runCommand } from './run.ts';
15
14
  import { runWatch } from './watch.ts';
16
15
  import { runSetup } from './setup.ts';
@@ -72,9 +71,12 @@ Options (autoregress):
72
71
  }
73
72
 
74
73
  switch (subcommand) {
75
- case 'init':
76
- await runInit(process.cwd());
74
+ case 'init': {
75
+ console.log('\x1b[33m[init] autopilot init is deprecated — use: npx autopilot setup\x1b[0m\n');
76
+ const force = args.includes('--force');
77
+ await runSetup({ force });
77
78
  break;
79
+ }
78
80
 
79
81
  case 'doctor':
80
82
  case 'preflight': {
@@ -120,21 +120,6 @@ export async function runDoctor(): Promise<DoctorResult> {
120
120
  : undefined,
121
121
  });
122
122
 
123
- // 9. superpowers plugin
124
- const home = process.env.HOME ?? '';
125
- const superpowersPaths = [
126
- path.join(home, '.claude', 'plugins', 'cache', 'claude-plugins-official', 'superpowers'),
127
- path.join(home, '.claude', 'plugins', 'cache', 'superpowers-marketplace', 'superpowers'),
128
- path.join(home, '.claude', 'plugins', 'superpowers'),
129
- ];
130
- const superpowersOk = superpowersPaths.some(p => fs.existsSync(p));
131
- checks.push({
132
- name: 'superpowers plugin',
133
- result: superpowersOk ? 'pass' : 'warn',
134
- message: !superpowersOk
135
- ? 'superpowers plugin not detected — install: /plugin install superpowers@claude-plugins-official'
136
- : undefined,
137
- });
138
123
 
139
124
  // Print results
140
125
  console.log('\n\x1b[1m[doctor] Autopilot prerequisite check\x1b[0m\n');