@swell/cli 2.6.0 → 2.7.1

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 (46) hide show
  1. package/dist/commands/app/frontend/dev.js +18 -0
  2. package/dist/commands/inspect/content.d.ts +25 -14
  3. package/dist/commands/inspect/content.js +34 -144
  4. package/dist/commands/inspect/extensions.d.ts +49 -0
  5. package/dist/commands/inspect/extensions.js +424 -0
  6. package/dist/commands/inspect/functions.d.ts +48 -0
  7. package/dist/commands/inspect/functions.js +83 -0
  8. package/dist/commands/inspect/index.js +8 -7
  9. package/dist/commands/inspect/models.d.ts +17 -2
  10. package/dist/commands/inspect/models.js +114 -47
  11. package/dist/commands/inspect/notifications.d.ts +31 -0
  12. package/dist/commands/inspect/notifications.js +125 -0
  13. package/dist/commands/inspect/settings.d.ts +28 -0
  14. package/dist/commands/inspect/settings.js +82 -0
  15. package/dist/commands/inspect/webhooks.d.ts +34 -0
  16. package/dist/commands/inspect/webhooks.js +61 -0
  17. package/dist/create-app-command.d.ts +7 -0
  18. package/dist/create-app-command.js +80 -9
  19. package/dist/inspect-resource-command.d.ts +91 -0
  20. package/dist/inspect-resource-command.js +232 -0
  21. package/dist/lib/apps/index.d.ts +2 -1
  22. package/dist/lib/apps/index.js +43 -6
  23. package/dist/lib/apps/inspect-scope.d.ts +58 -0
  24. package/dist/lib/apps/inspect-scope.js +60 -0
  25. package/dist/lib/apps/object-id.d.ts +7 -0
  26. package/dist/lib/apps/object-id.js +9 -0
  27. package/dist/lib/apps/paths.js +8 -1
  28. package/dist/lib/apps/resolve.d.ts +16 -0
  29. package/dist/lib/apps/resolve.js +39 -0
  30. package/dist/lib/apps/slug.d.ts +29 -0
  31. package/dist/lib/apps/slug.js +12 -0
  32. package/dist/lib/inspect/content.d.ts +39 -0
  33. package/dist/lib/inspect/content.js +76 -0
  34. package/dist/lib/inspect/extensions.d.ts +267 -0
  35. package/dist/lib/inspect/extensions.js +690 -0
  36. package/dist/lib/inspect/notifications.d.ts +115 -0
  37. package/dist/lib/inspect/notifications.js +173 -0
  38. package/dist/lib/inspect/settings.d.ts +61 -0
  39. package/dist/lib/inspect/settings.js +56 -0
  40. package/dist/lib/inspect/table.d.ts +29 -0
  41. package/dist/lib/inspect/table.js +61 -0
  42. package/dist/push-app-command.js +3 -2
  43. package/dist/swell-api-command.d.ts +0 -4
  44. package/dist/swell-api-command.js +2 -18
  45. package/oclif.manifest.json +392 -35
  46. package/package.json +1 -1
@@ -858,16 +858,18 @@
858
858
  ],
859
859
  "flags": {
860
860
  "frontend": {
861
- "description": "Framework: astro | angular | hono | nuxt | nextjs | none",
861
+ "description": "Framework: nextjs | astro | nuxt | react | hono | angular | react-storefront | none",
862
862
  "name": "frontend",
863
863
  "hasDynamicHelp": false,
864
864
  "multiple": false,
865
865
  "options": [
866
+ "nextjs",
866
867
  "astro",
867
- "angular",
868
- "hono",
869
868
  "nuxt",
870
- "nextjs",
869
+ "react",
870
+ "hono",
871
+ "angular",
872
+ "react-storefront",
871
873
  "none"
872
874
  ],
873
875
  "type": "option"
@@ -1416,16 +1418,18 @@
1416
1418
  ],
1417
1419
  "flags": {
1418
1420
  "frontend": {
1419
- "description": "Framework: astro | angular | hono | nuxt | nextjs | none",
1421
+ "description": "Framework: nextjs | astro | nuxt | react | hono | angular | react-storefront | none",
1420
1422
  "name": "frontend",
1421
1423
  "hasDynamicHelp": false,
1422
1424
  "multiple": false,
1423
1425
  "options": [
1426
+ "nextjs",
1424
1427
  "astro",
1425
- "angular",
1426
- "hono",
1427
1428
  "nuxt",
1428
- "nextjs",
1429
+ "react",
1430
+ "hono",
1431
+ "angular",
1432
+ "react-storefront",
1429
1433
  "none"
1430
1434
  ],
1431
1435
  "type": "option"
@@ -1685,16 +1689,18 @@
1685
1689
  ],
1686
1690
  "flags": {
1687
1691
  "frontend": {
1688
- "description": "Framework: astro | angular | hono | nuxt | nextjs | none",
1692
+ "description": "Framework: nextjs | astro | nuxt | react | hono | angular | react-storefront | none",
1689
1693
  "name": "frontend",
1690
1694
  "hasDynamicHelp": false,
1691
1695
  "multiple": false,
1692
1696
  "options": [
1697
+ "nextjs",
1693
1698
  "astro",
1694
- "angular",
1695
- "hono",
1696
1699
  "nuxt",
1697
- "nextjs",
1700
+ "react",
1701
+ "hono",
1702
+ "angular",
1703
+ "react-storefront",
1698
1704
  "none"
1699
1705
  ],
1700
1706
  "type": "option"
@@ -2343,29 +2349,45 @@
2343
2349
  "inspect:content": {
2344
2350
  "aliases": [],
2345
2351
  "args": {
2346
- "content-id": {
2347
- "description": "Optional content view ID. Example: custom.admin.products, app.myapp.products",
2348
- "name": "content-id",
2352
+ "identifier": {
2353
+ "description": "Resource identifier see \"Identifier forms\" below.",
2354
+ "name": "identifier",
2349
2355
  "required": false
2350
2356
  }
2351
2357
  },
2352
- "description": "\nView content view extensions available in your Swell store.\n\nWithout a content ID, this command lists all available content views.\nWith a content ID, it retrieves the configuration for that specific content view in JSON format.\n",
2358
+ "description": "Lists content view extensions across all apps plus platform 'custom' sources, grouped by owner. Pass --app=<slug> or --app=. (current swell.json) to scope.\n\nPass an identifier to view a single record as JSON.\n\nIdentifier forms:\n app.<app>.<name> — app-owned view (list column 1)\n custom.<source>.<name> — platform custom view (e.g. custom.admin.products)\n <name> — requires --app= scope\n",
2353
2359
  "examples": [
2354
2360
  "swell inspect content",
2355
- "swell inspect content custom.admin.products",
2361
+ "swell inspect content --app=my-app",
2356
2362
  "swell inspect content app.honest_reviews.reviews",
2357
- "swell inspect content app.myapp.products --live"
2363
+ "swell inspect content custom.admin.products",
2364
+ "swell inspect content reviews --app=honest_reviews",
2365
+ "swell inspect content --live"
2358
2366
  ],
2359
2367
  "flags": {
2368
+ "app": {
2369
+ "description": "Filter by app slug, or \".\" for current swell.json.",
2370
+ "name": "app",
2371
+ "hasDynamicHelp": false,
2372
+ "multiple": false,
2373
+ "type": "option"
2374
+ },
2360
2375
  "live": {
2361
- "description": "Use the live environment instead of test (default: test).",
2376
+ "description": "Use live environment (default: test).",
2362
2377
  "name": "live",
2363
2378
  "allowNo": false,
2364
2379
  "type": "boolean"
2365
2380
  },
2381
+ "json": {
2382
+ "description": "Emit pure JSON without the \"Next steps\" footer. Detail mode only.",
2383
+ "name": "json",
2384
+ "allowNo": false,
2385
+ "type": "boolean"
2386
+ },
2366
2387
  "yes": {
2367
2388
  "char": "y",
2368
- "description": "Accept all prompts automatically (for agent compatibility; no functional effect).",
2389
+ "description": "No-op; accepted for agent compatibility.",
2390
+ "hidden": true,
2369
2391
  "name": "yes",
2370
2392
  "allowNo": false,
2371
2393
  "type": "boolean"
@@ -2378,8 +2400,7 @@
2378
2400
  "pluginName": "@swell/cli",
2379
2401
  "pluginType": "core",
2380
2402
  "strict": true,
2381
- "summary": "Inspect content view extensions deployed in your store.",
2382
- "enableJsonFlag": false,
2403
+ "summary": "App and platform content views.",
2383
2404
  "isESM": true,
2384
2405
  "relativePath": [
2385
2406
  "dist",
@@ -2388,14 +2409,143 @@
2388
2409
  "content.js"
2389
2410
  ]
2390
2411
  },
2412
+ "inspect:extensions": {
2413
+ "aliases": [],
2414
+ "args": {
2415
+ "identifier": {
2416
+ "description": "Resource identifier — see \"Identifier forms\" below.",
2417
+ "name": "identifier",
2418
+ "required": false
2419
+ }
2420
+ },
2421
+ "description": "Lists declared payment, shipping, and tax extensions across deployed apps, with status (activated, not activated, gateway missing, etc.) and bound function/component counts. Pass --app=<slug> or --app=. (current swell.json) to scope.\n\nPass an identifier to view a single extension as a synthesized JSON envelope (manifest + native_bindings + bound functions/components + required vs missing events), followed by a \"Next steps\" footer mixing runnable commands and merchant-UI instructions (prefixed \"(merchant)\").\n\nIdentifier forms:\n app.<app>.<extId> — full paste-back key (list column 1)\n <extId> — requires --app= scope\n\n24-char hex id is not accepted: extensions are a synthesized resource with no canonical record id.\n",
2422
+ "examples": [
2423
+ "swell inspect extensions",
2424
+ "swell inspect extensions --app=my-app",
2425
+ "swell inspect extensions app.my-app.revolut",
2426
+ "swell inspect extensions revolut --app=my-app",
2427
+ "swell inspect extensions app.my-app.revolut --json",
2428
+ "swell inspect extensions --live"
2429
+ ],
2430
+ "flags": {
2431
+ "app": {
2432
+ "description": "Filter by app slug, or \".\" for current swell.json.",
2433
+ "name": "app",
2434
+ "hasDynamicHelp": false,
2435
+ "multiple": false,
2436
+ "type": "option"
2437
+ },
2438
+ "live": {
2439
+ "description": "Use live environment (default: test).",
2440
+ "name": "live",
2441
+ "allowNo": false,
2442
+ "type": "boolean"
2443
+ },
2444
+ "json": {
2445
+ "description": "Emit pure JSON without the \"Next steps\" footer. Detail mode only.",
2446
+ "name": "json",
2447
+ "allowNo": false,
2448
+ "type": "boolean"
2449
+ },
2450
+ "yes": {
2451
+ "char": "y",
2452
+ "description": "No-op; accepted for agent compatibility.",
2453
+ "hidden": true,
2454
+ "name": "yes",
2455
+ "allowNo": false,
2456
+ "type": "boolean"
2457
+ }
2458
+ },
2459
+ "hasDynamicHelp": false,
2460
+ "hiddenAliases": [],
2461
+ "id": "inspect:extensions",
2462
+ "pluginAlias": "@swell/cli",
2463
+ "pluginName": "@swell/cli",
2464
+ "pluginType": "core",
2465
+ "strict": true,
2466
+ "summary": "Platform extensions with activation chain.",
2467
+ "enableJsonFlag": false,
2468
+ "isESM": true,
2469
+ "relativePath": [
2470
+ "dist",
2471
+ "commands",
2472
+ "inspect",
2473
+ "extensions.js"
2474
+ ]
2475
+ },
2476
+ "inspect:functions": {
2477
+ "aliases": [],
2478
+ "args": {
2479
+ "identifier": {
2480
+ "description": "Resource identifier — see \"Identifier forms\" below.",
2481
+ "name": "identifier",
2482
+ "required": false
2483
+ }
2484
+ },
2485
+ "description": "Lists functions across all apps, grouped by app. Pass --app=<slug> or --app=. (current swell.json) to scope.\n\nList output: paste-back key + status (disabled, trigger, next cron run, last failure).\n\nPass an identifier to view a single record as JSON.\n\nIdentifier forms:\n app.<app>.<name> — full paste-back key (list column 1)\n <name> — requires --app= scope\n <24-char id> — any scope\n",
2486
+ "examples": [
2487
+ "swell inspect functions",
2488
+ "swell inspect functions --app=my-app",
2489
+ "swell inspect functions app.my-app.payment-sync",
2490
+ "swell inspect functions payment-sync --app=my-app",
2491
+ "swell inspect functions --live"
2492
+ ],
2493
+ "flags": {
2494
+ "app": {
2495
+ "description": "Filter by app slug, or \".\" for current swell.json.",
2496
+ "name": "app",
2497
+ "hasDynamicHelp": false,
2498
+ "multiple": false,
2499
+ "type": "option"
2500
+ },
2501
+ "live": {
2502
+ "description": "Use live environment (default: test).",
2503
+ "name": "live",
2504
+ "allowNo": false,
2505
+ "type": "boolean"
2506
+ },
2507
+ "json": {
2508
+ "description": "Emit pure JSON without the \"Next steps\" footer. Detail mode only.",
2509
+ "name": "json",
2510
+ "allowNo": false,
2511
+ "type": "boolean"
2512
+ },
2513
+ "yes": {
2514
+ "char": "y",
2515
+ "description": "No-op; accepted for agent compatibility.",
2516
+ "hidden": true,
2517
+ "name": "yes",
2518
+ "allowNo": false,
2519
+ "type": "boolean"
2520
+ }
2521
+ },
2522
+ "hasDynamicHelp": false,
2523
+ "hiddenAliases": [],
2524
+ "id": "inspect:functions",
2525
+ "pluginAlias": "@swell/cli",
2526
+ "pluginName": "@swell/cli",
2527
+ "pluginType": "core",
2528
+ "strict": true,
2529
+ "summary": "Functions with scheduling and trigger state.",
2530
+ "isESM": true,
2531
+ "relativePath": [
2532
+ "dist",
2533
+ "commands",
2534
+ "inspect",
2535
+ "functions.js"
2536
+ ]
2537
+ },
2391
2538
  "inspect": {
2392
2539
  "aliases": [],
2393
2540
  "args": {},
2394
- "description": "View configuration and data for deployed resources.\n\nInspect models, content views, and other deployed artifacts in your Swell store.",
2541
+ "description": "Subcommands list globally and group by app. Pass --app=<slug> or --app=. (current swell.json) to scope. Pass an identifier to print the full record as JSON, followed by a \"Next steps\" footer of related commands. Use --json to omit the footer for piping.\n",
2395
2542
  "examples": [
2396
- "swell inspect models",
2397
2543
  "swell inspect models /products",
2398
- "swell inspect models /apps/myapp/orders"
2544
+ "swell inspect content app.honest_reviews.reviews",
2545
+ "swell inspect webhooks --app=my-app",
2546
+ "swell inspect functions app.my-app.payment-sync",
2547
+ "swell inspect notifications com.orders.receipt.v2",
2548
+ "swell inspect settings app.my-app"
2399
2549
  ],
2400
2550
  "flags": {},
2401
2551
  "hasDynamicHelp": false,
@@ -2424,24 +2574,40 @@
2424
2574
  "required": false
2425
2575
  }
2426
2576
  },
2427
- "description": "\nView models for collections available in your Swell store.\n\nWithout a collection path, this command lists all available collections grouped by type.\nWith a collection path, it retrieves the model for that specific collection in JSON format.\n",
2577
+ "description": "Lists all collections grouped by type. Pass --app=<slug> or --app=. (current swell.json) to filter to one app's models.\n\nPass a collection path to view a single model as JSON. Paths are fully qualified, so --app is ignored in detail mode.\n",
2428
2578
  "examples": [
2429
2579
  "swell inspect models",
2580
+ "swell inspect models --app=my-app",
2581
+ "swell inspect models --live",
2430
2582
  "swell inspect models /products",
2431
2583
  "swell inspect models /content/blogs",
2432
2584
  "swell inspect models /apps/myapp/orders",
2433
- "swell inspect models /orders --live"
2585
+ "swell inspect models /products --json"
2434
2586
  ],
2435
2587
  "flags": {
2588
+ "app": {
2589
+ "description": "Filter by app slug, or \".\" for current swell.json.",
2590
+ "name": "app",
2591
+ "hasDynamicHelp": false,
2592
+ "multiple": false,
2593
+ "type": "option"
2594
+ },
2436
2595
  "live": {
2437
- "description": "Use the live environment instead of test (default: test).",
2596
+ "description": "Use live environment (default: test).",
2438
2597
  "name": "live",
2439
2598
  "allowNo": false,
2440
2599
  "type": "boolean"
2441
2600
  },
2601
+ "json": {
2602
+ "description": "Emit pure JSON without the \"Next steps\" footer. Detail mode only.",
2603
+ "name": "json",
2604
+ "allowNo": false,
2605
+ "type": "boolean"
2606
+ },
2442
2607
  "yes": {
2443
2608
  "char": "y",
2444
- "description": "Accept all prompts automatically (for agent compatibility; no functional effect).",
2609
+ "description": "No-op; accepted for agent compatibility.",
2610
+ "hidden": true,
2445
2611
  "name": "yes",
2446
2612
  "allowNo": false,
2447
2613
  "type": "boolean"
@@ -2454,7 +2620,7 @@
2454
2620
  "pluginName": "@swell/cli",
2455
2621
  "pluginType": "core",
2456
2622
  "strict": true,
2457
- "summary": "Inspect models for collections deployed in your store.",
2623
+ "summary": "Collection models and fields (hierarchical).",
2458
2624
  "enableJsonFlag": false,
2459
2625
  "isESM": true,
2460
2626
  "relativePath": [
@@ -2464,6 +2630,195 @@
2464
2630
  "models.js"
2465
2631
  ]
2466
2632
  },
2633
+ "inspect:notifications": {
2634
+ "aliases": [],
2635
+ "args": {
2636
+ "identifier": {
2637
+ "description": "Resource identifier — see \"Identifier forms\" below.",
2638
+ "name": "identifier",
2639
+ "required": false
2640
+ }
2641
+ },
2642
+ "description": "Lists notifications across all apps plus platform 'com.*' system records, grouped by owner. Pass --app=<slug> or --app=. (current swell.json) to scope.\n\nApp keys include the model (app.<slug>.<model>.<name>) since identity is (api, model, name, app_id?) — two notifications in one app can share a name on different models. Own-app prefix apps/<own>/... is stripped in display.\n\nPass an identifier to view a single record as JSON.\n\nIdentifier forms:\n com.<model>.<name> — platform record\n app.<app>.<model>.<name> — app record (full key)\n app.<app>.<name> — legacy; ambiguous → errors with candidates\n <name> — requires --app= scope\n <24-char id> — any scope\n",
2643
+ "examples": [
2644
+ "swell inspect notifications",
2645
+ "swell inspect notifications --app=my-app",
2646
+ "swell inspect notifications com.orders.receipt.v2",
2647
+ "swell inspect notifications app.notify_me.subscriptions.back-in-stock",
2648
+ "swell inspect notifications back-in-stock --app=notify_me",
2649
+ "swell inspect notifications --live"
2650
+ ],
2651
+ "flags": {
2652
+ "app": {
2653
+ "description": "Filter by app slug, or \".\" for current swell.json.",
2654
+ "name": "app",
2655
+ "hasDynamicHelp": false,
2656
+ "multiple": false,
2657
+ "type": "option"
2658
+ },
2659
+ "live": {
2660
+ "description": "Use live environment (default: test).",
2661
+ "name": "live",
2662
+ "allowNo": false,
2663
+ "type": "boolean"
2664
+ },
2665
+ "json": {
2666
+ "description": "Emit pure JSON without the \"Next steps\" footer. Detail mode only.",
2667
+ "name": "json",
2668
+ "allowNo": false,
2669
+ "type": "boolean"
2670
+ },
2671
+ "yes": {
2672
+ "char": "y",
2673
+ "description": "No-op; accepted for agent compatibility.",
2674
+ "hidden": true,
2675
+ "name": "yes",
2676
+ "allowNo": false,
2677
+ "type": "boolean"
2678
+ }
2679
+ },
2680
+ "hasDynamicHelp": false,
2681
+ "hiddenAliases": [],
2682
+ "id": "inspect:notifications",
2683
+ "pluginAlias": "@swell/cli",
2684
+ "pluginName": "@swell/cli",
2685
+ "pluginType": "core",
2686
+ "strict": true,
2687
+ "summary": "Notifications across apps and platform.",
2688
+ "isESM": true,
2689
+ "relativePath": [
2690
+ "dist",
2691
+ "commands",
2692
+ "inspect",
2693
+ "notifications.js"
2694
+ ]
2695
+ },
2696
+ "inspect:settings": {
2697
+ "aliases": [],
2698
+ "args": {
2699
+ "identifier": {
2700
+ "description": "Resource identifier — see \"Identifier forms\" below.",
2701
+ "name": "identifier",
2702
+ "required": false
2703
+ }
2704
+ },
2705
+ "description": "Lists app settings records plus platform 'com.*' system records, grouped by owner. Pass --app=<slug> or --app=. (current swell.json) to scope.\n\nEach app collapses to one settings record at push time, so the list shows one row per app.\n\nPass an identifier to view a single record as JSON.\n\nIdentifier forms:\n <name> — system record (e.g. taxes, payments)\n app.<slug> — app record\n com.<name> — full system id\n <24-char id> — direct fetch\n\nDeprecated records (general, admin) are filtered from the list but remain reachable by name.\n",
2706
+ "examples": [
2707
+ "swell inspect settings",
2708
+ "swell inspect settings --app=my-app",
2709
+ "swell inspect settings taxes",
2710
+ "swell inspect settings app.notify_me",
2711
+ "swell inspect settings com.payments",
2712
+ "swell inspect settings --live",
2713
+ "swell inspect settings taxes --json"
2714
+ ],
2715
+ "flags": {
2716
+ "app": {
2717
+ "description": "Filter by app slug, or \".\" for current swell.json.",
2718
+ "name": "app",
2719
+ "hasDynamicHelp": false,
2720
+ "multiple": false,
2721
+ "type": "option"
2722
+ },
2723
+ "live": {
2724
+ "description": "Use live environment (default: test).",
2725
+ "name": "live",
2726
+ "allowNo": false,
2727
+ "type": "boolean"
2728
+ },
2729
+ "json": {
2730
+ "description": "Emit pure JSON without the \"Next steps\" footer. Detail mode only.",
2731
+ "name": "json",
2732
+ "allowNo": false,
2733
+ "type": "boolean"
2734
+ },
2735
+ "yes": {
2736
+ "char": "y",
2737
+ "description": "No-op; accepted for agent compatibility.",
2738
+ "hidden": true,
2739
+ "name": "yes",
2740
+ "allowNo": false,
2741
+ "type": "boolean"
2742
+ }
2743
+ },
2744
+ "hasDynamicHelp": false,
2745
+ "hiddenAliases": [],
2746
+ "id": "inspect:settings",
2747
+ "pluginAlias": "@swell/cli",
2748
+ "pluginName": "@swell/cli",
2749
+ "pluginType": "core",
2750
+ "strict": true,
2751
+ "summary": "App and platform settings records.",
2752
+ "isESM": true,
2753
+ "relativePath": [
2754
+ "dist",
2755
+ "commands",
2756
+ "inspect",
2757
+ "settings.js"
2758
+ ]
2759
+ },
2760
+ "inspect:webhooks": {
2761
+ "aliases": [],
2762
+ "args": {
2763
+ "identifier": {
2764
+ "description": "Resource identifier — see \"Identifier forms\" below.",
2765
+ "name": "identifier",
2766
+ "required": false
2767
+ }
2768
+ },
2769
+ "description": "Lists webhooks across all apps, grouped by app. Pass --app=<slug> or --app=. (current swell.json) to scope.\n\nList output: paste-back key + status (disabled, events, failures since date).\n\nPass an identifier to view a single record as JSON.\n\nIdentifier forms:\n app.<app>.<alias> — full paste-back key (list column 1)\n <alias> — requires --app= scope\n <24-char id> — any scope\n",
2770
+ "examples": [
2771
+ "swell inspect webhooks",
2772
+ "swell inspect webhooks --app=my-app",
2773
+ "swell inspect webhooks app.my-app.order-sync",
2774
+ "swell inspect webhooks order-sync --app=my-app",
2775
+ "swell inspect webhooks --live"
2776
+ ],
2777
+ "flags": {
2778
+ "app": {
2779
+ "description": "Filter by app slug, or \".\" for current swell.json.",
2780
+ "name": "app",
2781
+ "hasDynamicHelp": false,
2782
+ "multiple": false,
2783
+ "type": "option"
2784
+ },
2785
+ "live": {
2786
+ "description": "Use live environment (default: test).",
2787
+ "name": "live",
2788
+ "allowNo": false,
2789
+ "type": "boolean"
2790
+ },
2791
+ "json": {
2792
+ "description": "Emit pure JSON without the \"Next steps\" footer. Detail mode only.",
2793
+ "name": "json",
2794
+ "allowNo": false,
2795
+ "type": "boolean"
2796
+ },
2797
+ "yes": {
2798
+ "char": "y",
2799
+ "description": "No-op; accepted for agent compatibility.",
2800
+ "hidden": true,
2801
+ "name": "yes",
2802
+ "allowNo": false,
2803
+ "type": "boolean"
2804
+ }
2805
+ },
2806
+ "hasDynamicHelp": false,
2807
+ "hiddenAliases": [],
2808
+ "id": "inspect:webhooks",
2809
+ "pluginAlias": "@swell/cli",
2810
+ "pluginName": "@swell/cli",
2811
+ "pluginType": "core",
2812
+ "strict": true,
2813
+ "summary": "Webhooks with delivery state.",
2814
+ "isESM": true,
2815
+ "relativePath": [
2816
+ "dist",
2817
+ "commands",
2818
+ "inspect",
2819
+ "webhooks.js"
2820
+ ]
2821
+ },
2467
2822
  "theme:dev": {
2468
2823
  "aliases": [],
2469
2824
  "args": {},
@@ -2570,16 +2925,18 @@
2570
2925
  ],
2571
2926
  "flags": {
2572
2927
  "frontend": {
2573
- "description": "Framework: astro | angular | hono | nuxt | nextjs | none",
2928
+ "description": "Framework: nextjs | astro | nuxt | react | hono | angular | react-storefront | none",
2574
2929
  "name": "frontend",
2575
2930
  "hasDynamicHelp": false,
2576
2931
  "multiple": false,
2577
2932
  "options": [
2933
+ "nextjs",
2578
2934
  "astro",
2579
- "angular",
2580
- "hono",
2581
2935
  "nuxt",
2582
- "nextjs",
2936
+ "react",
2937
+ "hono",
2938
+ "angular",
2939
+ "react-storefront",
2583
2940
  "none"
2584
2941
  ],
2585
2942
  "type": "option"
@@ -3005,5 +3362,5 @@
3005
3362
  ]
3006
3363
  }
3007
3364
  },
3008
- "version": "2.6.0"
3365
+ "version": "2.7.1"
3009
3366
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swell/cli",
3
- "version": "2.6.0",
3
+ "version": "2.7.1",
4
4
  "type": "module",
5
5
  "description": "Swell's command line interface/utility",
6
6
  "keywords": [