decoupled-cli 2.9.2 → 2.9.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.
Files changed (2) hide show
  1. package/README.md +0 -101
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -8,7 +8,6 @@ A command-line interface for managing Decoupled Drupal spaces, monitoring usage,
8
8
  - 🤖 **AI Integration** - Model Context Protocol support for Claude Code and Cursor
9
9
  - 📦 **Space Management** - Create, clone, delete, and monitor Drupal spaces
10
10
  - 📊 **Usage Monitoring** - Track storage, bandwidth, and API requests
11
- - 🚀 **Quick Start** - AI-powered space creation with generated content
12
11
  - 📥 **Content Import** - Import content models and data to Drupal
13
12
 
14
13
  ## Installation
@@ -35,13 +34,6 @@ npx decoupled-cli@latest mcp configure
35
34
  - ✅ Perfect for quick setup or one-time use
36
35
  - ✅ Works great in CI/CD environments
37
36
 
38
- **Quick Start Example:**
39
- ```bash
40
- # Authenticate and configure MCP in two commands
41
- npx decoupled-cli@latest auth login
42
- npx decoupled-cli@latest mcp configure --ide claude-code
43
- ```
44
-
45
37
  ## Authentication
46
38
 
47
39
  ### Initial Setup
@@ -226,28 +218,6 @@ AI: Shows organization-wide usage statistics
226
218
 
227
219
  You: "Clone space 5 and name it Staging"
228
220
  AI: Clones the space with all content
229
-
230
- You: "Quick-start a coffee blog with some sample posts"
231
- AI: Generates content types, creates space, imports content - all in one go! 🚀
232
- ```
233
-
234
- **Quick-start with AI (New!):**
235
-
236
- The MCP integration now supports the same AI-powered quick-start feature as the CLI:
237
-
238
- ```
239
- You: "Create a quick-start space for an e-commerce shoe store"
240
- AI: 1. Generates product content types with fields
241
- 2. Creates sample products
242
- 3. Creates and provisions the space
243
- 4. Imports all content
244
- 5. Returns admin login URL and GraphQL endpoint
245
-
246
- You: "Preview what would be generated for a photography portfolio"
247
- AI: Shows the content structure without creating the space
248
-
249
- You: "Add AI-generated blog content to space 123"
250
- AI: Generates and imports content to existing space
251
221
  ```
252
222
 
253
223
  ### Available MCP Commands
@@ -279,12 +249,6 @@ decoupled-cli mcp configure --show-only
279
249
  - Clone existing spaces
280
250
  - Delete spaces
281
251
  - Import content models and data
282
- - **Quick-start spaces with AI-generated content** 🎉
283
-
284
- - **AI-Powered Features:**
285
- - Generate content types and sample data from natural language prompts
286
- - One-shot space creation with complete content structure
287
- - Perfect for prototyping and demos
288
252
 
289
253
  All operations use your existing authentication and permissions.
290
254
 
@@ -336,70 +300,6 @@ decoupled-cli spaces create "E-commerce Site" \
336
300
  --description "New e-commerce platform"
337
301
  ```
338
302
 
339
- #### Quick Start (AI-Powered) ⚡
340
-
341
- Create a fully-functional Drupal space with AI-generated content types and sample data from a single prompt. Perfect for prototyping, demos, and getting started quickly.
342
-
343
- ```bash
344
- # One-shot space creation with AI-generated content
345
- decoupled-cli spaces quick-start "blog about coffee"
346
-
347
- # Preview generated content without creating space
348
- decoupled-cli spaces quick-start "e-commerce store" --preview
349
-
350
- # Custom space configuration
351
- decoupled-cli spaces quick-start "portfolio site" \
352
- --name "my-portfolio" \
353
- --type premium \
354
- --environment sfo1
355
-
356
- # Add AI-generated content to existing space
357
- decoupled-cli spaces quick-start "add products" --space-id 123
358
- ```
359
-
360
- **How it works:**
361
- 1. 🤖 AI generates content type schema and sample data from your prompt
362
- 2. 🚀 Creates a new space (or uses existing with `--space-id`)
363
- 3. ⏳ Waits for the space to be ready
364
- 4. 📥 Imports the AI-generated content
365
- 5. 🎉 Provides GraphQL endpoint and next steps
366
-
367
- **Example output:**
368
- ```
369
- 🤖 Generating content with AI...
370
- ✅ Content generated successfully
371
- Content types: 1 (post)
372
- Sample nodes: 3
373
- Tokens used: 542
374
-
375
- 🚀 Creating new space...
376
- ✅ Space created: blog-about-coffee (ID: 123)
377
-
378
- ⏳ Waiting for space to be ready............✅
379
-
380
- 📥 Importing content to space...
381
- ✅ Content imported successfully!
382
-
383
- 🎉 Quick Start Complete!
384
- Space: blog-about-coffee (ID: 123)
385
- URL: https://abc123.decoupled.website
386
- GraphQL: https://abc123.decoupled.website/graphql
387
-
388
- 📋 Next Steps:
389
- 1. Visit your space: https://abc123.decoupled.website
390
- 2. Login to Drupal admin: decoupled-cli spaces login 123
391
- 3. Create Next.js frontend: npx create-next-app...
392
- ```
393
-
394
- **Options:**
395
- - `--preview` - See generated JSON without creating space
396
- - `--name <name>` - Custom space name (auto-generated from prompt if not provided)
397
- - `--type <type>` - Space type: starter, pro, premium (default: starter)
398
- - `--environment <env>` - Server environment: nyc1, sfo1, lon1, etc. (default: nyc1)
399
- - `--space-id <id>` - Use existing space instead of creating new one
400
-
401
- **Note:** This feature uses centrally-managed AI (Groq) - no API keys needed! Requires PAT authentication.
402
-
403
303
  #### Update Space
404
304
  ```bash
405
305
  # Update space name
@@ -818,7 +718,6 @@ npm view decoupled-cli versions
818
718
  **Current Version:** 2.7.6
819
719
 
820
720
  **Recent Changes:**
821
- - **NEW:** MCP quick-start tool - create spaces with AI-generated content from natural language prompts! 🎉
822
721
  - Fixed MCP tool schema inconsistencies (delete_space, create_space parameters)
823
722
  - Fixed Cursor MCP config path (now uses ~/.cursor/mcp.json)
824
723
  - MCP endpoint moved to `https://mcp.decoupled.io` (Contabo proxy for better AI compatibility)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "decoupled-cli",
3
- "version": "2.9.2",
3
+ "version": "2.9.4",
4
4
  "description": "Command-line interface for managing Decoupled Drupal spaces, deploying content, and automating workflows. Features content import, space management, and CI/CD integration.",
5
5
  "main": "dist/index.js",
6
6
  "bin": {