swytchcode 2.23.3 → 2.23.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.
package/README.md CHANGED
@@ -12,6 +12,8 @@ npx swytchcode stripe.create_payment
12
12
 
13
13
  No installation, no API keys, no project setup. Runs in demo mode and returns a real sandbox response from Stripe's test environment.
14
14
 
15
+ > `stripe.create_payment` is a demo-only ID. For real runs, the Stripe method is `stripe.payment_intent.create` - use `swytchcode discover "<what you want to do>"` to find the exact ID for any task.
16
+
15
17
  Not sure what a command does? Add `--explain`:
16
18
 
17
19
  ```bash
package/bin/swytchcode.js CHANGED
@@ -429,7 +429,7 @@ const isCanonicalDemoArg = userArgCount === 1 && /^[\w]+\.[\w.]+$/.test(original
429
429
  // the actual CLI like any other argument does.
430
430
  const isNpxBareWordArg = isNpx && userArgs.length === 1 && /^[\w]+$/.test(originalArg) &&
431
431
  !originalArg.startsWith('-') && !KNOWN_SUBCOMMANDS.has(originalArg);
432
- // Legacy support: npx swytchcode <canonical_id> → npx swytchcode exec <canonical_id>
432
+ // Legacy support: npx swytchcode <canonical_id> -> npx swytchcode exec <canonical_id>
433
433
  if (userArgs.length > 0 && /^[\w]+\.[\w.]+$/.test(userArgs[0]) && !userArgs[0].startsWith('-')) {
434
434
  userArgs.unshift('exec');
435
435
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "swytchcode",
3
- "version": "2.23.3",
3
+ "version": "2.23.5",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://gitlab.com/swytchcode/cli.git"
@@ -32,11 +32,11 @@
32
32
  "postinstall": "node ./scripts/postinstall.js"
33
33
  },
34
34
  "optionalDependencies": {
35
- "swytchcode-cli-darwin-arm64": "2.23.3",
36
- "swytchcode-cli-darwin-x64": "2.23.3",
37
- "swytchcode-cli-linux-arm64": "2.23.3",
38
- "swytchcode-cli-linux-x64": "2.23.3",
39
- "swytchcode-cli-win32-arm64": "2.23.3",
40
- "swytchcode-cli-win32-x64": "2.23.3"
35
+ "swytchcode-cli-darwin-arm64": "2.23.5",
36
+ "swytchcode-cli-darwin-x64": "2.23.5",
37
+ "swytchcode-cli-linux-arm64": "2.23.5",
38
+ "swytchcode-cli-linux-x64": "2.23.5",
39
+ "swytchcode-cli-win32-arm64": "2.23.5",
40
+ "swytchcode-cli-win32-x64": "2.23.5"
41
41
  }
42
42
  }