@skunkceo/cli 1.0.2 → 1.0.5

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/bin/setup.js +35 -19
  2. package/package.json +1 -1
package/bin/setup.js CHANGED
@@ -179,6 +179,29 @@ async function main() {
179
179
  process.exit(1);
180
180
  }
181
181
 
182
+ // OpenClaw
183
+ let openclawExists = commandExists('openclaw');
184
+
185
+ if (openclawExists) {
186
+ const openclawVersion = getVersion('openclaw');
187
+ success(`OpenClaw installed ${openclawVersion ? `(${openclawVersion})` : ''}`);
188
+ } else {
189
+ error('OpenClaw not found');
190
+ log('');
191
+ log(' OpenClaw is your AI assistant that uses these skills.');
192
+ log('');
193
+ log(' Follow the setup guide:');
194
+ log(` ${colors.cyan}https://skunkglobal.com/guides/openclaw-wordpress${colors.reset}`);
195
+ log('');
196
+
197
+ const proceed = await confirm('Continue installing skills anyway?', true);
198
+ if (!proceed) {
199
+ log('\n Run `skunk setup` again after installing OpenClaw.');
200
+ rl.close();
201
+ process.exit(0);
202
+ }
203
+ }
204
+
182
205
  // WordPress Studio
183
206
  let studioExists = commandExists('studio');
184
207
 
@@ -188,20 +211,14 @@ async function main() {
188
211
  } else {
189
212
  warn('WordPress Studio not found');
190
213
  log('');
191
- log(' WordPress Studio is needed to create and manage WordPress sites.');
214
+ log(' WordPress Studio is amazing for local WordPress development.');
215
+ log(' Your AI can create and manage sites through it.');
192
216
  log('');
193
217
  log(' Install it from: https://developer.wordpress.org/studio/');
194
218
  log('');
195
219
  log(' macOS: brew install --cask wordpress-studio');
196
220
  log(' Other: Download from the website');
197
221
  log('');
198
-
199
- const proceed = await confirm('Continue setup anyway?', true);
200
- if (!proceed) {
201
- log('\n Run `skunk setup` again after installing WordPress Studio.');
202
- rl.close();
203
- process.exit(0);
204
- }
205
222
  }
206
223
 
207
224
  // ─────────────────────────────────────────────────────────────────────────
@@ -239,23 +256,22 @@ async function main() {
239
256
  // ─────────────────────────────────────────────────────────────────────────
240
257
  step(3, totalSteps, 'Ready!');
241
258
  log('');
242
- log(` ${colors.green}Your AI assistant now knows WordPress and Skunk!${colors.reset}`);
243
- log('');
244
- log(' Next steps:');
259
+ log(` ${colors.green}Skills installed!${colors.reset}`);
245
260
  log('');
246
261
 
247
- if (studioExists) {
248
- log(' 1. Create a WordPress site:');
249
- log(` ${colors.cyan}studio create my-site${colors.reset}`);
262
+ if (openclawExists) {
263
+ log(` ${colors.yellow}Restart OpenClaw to load the new skills:${colors.reset}`);
264
+ log(` ${colors.cyan}openclaw gateway restart${colors.reset}`);
265
+ log('');
266
+ log(' Then start chatting:');
250
267
  log('');
251
- log(' 2. Start chatting with your AI:');
252
- log(` ${colors.cyan}"Install WooCommerce"${colors.reset}`);
268
+ log(` ${colors.cyan}"Create a new WordPress site called my-store"${colors.reset}`);
269
+ log(` ${colors.cyan}"Install WooCommerce and set up a UK store"${colors.reset}`);
253
270
  log(` ${colors.cyan}"Install SkunkCRM"${colors.reset}`);
254
271
  log(` ${colors.cyan}"Create a contact form"${colors.reset}`);
255
272
  } else {
256
- log(' 1. Install WordPress Studio');
257
- log(' 2. Create a site: studio create my-site');
258
- log(' 3. Chat with your AI to set up plugins');
273
+ log(' After installing OpenClaw, run `skunk setup` again');
274
+ log(' to verify everything is ready.');
259
275
  }
260
276
 
261
277
  log('');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skunkceo/cli",
3
- "version": "1.0.2",
3
+ "version": "1.0.5",
4
4
  "description": "Install and manage Skunk Global skills for OpenClaw",
5
5
  "bin": {
6
6
  "skunk": "./bin/skunk.js"