@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 +1 -1
- package/src/cli/index.ts +5 -3
- package/src/cli/preflight.ts +0 -15
package/package.json
CHANGED
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
|
-
|
|
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': {
|
package/src/cli/preflight.ts
CHANGED
|
@@ -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');
|