@withone/cli 2.3.2 → 2.4.0
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 +22 -0
- package/dist/index.js +735 -177
- package/package.json +1 -1
- package/skills/one/SKILL.md +10 -0
package/package.json
CHANGED
package/skills/one/SKILL.md
CHANGED
|
@@ -357,6 +357,16 @@ One also supports more advanced patterns. Read the relevant reference file befor
|
|
|
357
357
|
- **Webhook Relay** — Receive webhooks from a platform and forward to another (e.g., Stripe event -> Slack message). Read `references/relay.md` in this skill's directory for the full workflow.
|
|
358
358
|
- **Multi-step Workflows** — Chain actions across platforms as JSON workflow files (like n8n/Zapier but file-based). Read `references/flows.md` in this skill's directory for the schema and examples. To debug: `flow execute <key> --dry-run` (resolve interpolations without running), `--stop-after <stepId>` (run up to a step then stop), and `flow inspect <runId>` (a past run's per-step outputs).
|
|
359
359
|
|
|
360
|
+
## Adding One Connect to an App
|
|
361
|
+
|
|
362
|
+
When the user is building an app whose own users should connect their tools (Gmail, Stripe, Slack...) to it, that is One Connect, not this CLI's connections. Install its skill inside the app, then follow it:
|
|
363
|
+
|
|
364
|
+
```bash
|
|
365
|
+
one --agent skills add connect # from the @withone/connect version the app installed; latest from npm otherwise
|
|
366
|
+
```
|
|
367
|
+
|
|
368
|
+
It lands in `.agents/skills/one-connect` (and `.claude/skills/one-connect`). The result's `next` array says what to do; the skill covers the button, the two routes, key mode vs token mode, and calling One with the grant. Never ask the user to paste the client secret or connect key into chat.
|
|
369
|
+
|
|
360
370
|
## Adding New Connections
|
|
361
371
|
|
|
362
372
|
If the user needs a platform that isn't connected yet, tell them to run:
|