@runtypelabs/cli 2.4.0 → 2.6.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 +15 -0
- package/dist/index.js +743 -57
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -512,6 +512,21 @@ Manage agents.
|
|
|
512
512
|
| `agents task <agent> -g <goal>` | Run a multi-session task (see Marathon section) |
|
|
513
513
|
| `agents delete <id>` | Delete an agent |
|
|
514
514
|
|
|
515
|
+
### `runtype persona`
|
|
516
|
+
|
|
517
|
+
Set up the [Persona](https://github.com/runtypelabs/persona) chat widget against Runtype: create an agent, create a client token, and output an embed snippet.
|
|
518
|
+
|
|
519
|
+
| Subcommand | Description |
|
|
520
|
+
| -------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
521
|
+
| `persona init` | One-step onboarding (`--agent-name`, `--token-name`, `--environment`, `--origins`, `--format`, `--print-snippet`, `--json`, `--api-url`, etc.) |
|
|
522
|
+
|
|
523
|
+
Example:
|
|
524
|
+
|
|
525
|
+
```bash
|
|
526
|
+
npx @runtypelabs/cli@latest persona init --agent-name "Support" --no-tty
|
|
527
|
+
npx @runtypelabs/cli@latest persona init --json --agent-name "Support" --token-name "Website"
|
|
528
|
+
```
|
|
529
|
+
|
|
515
530
|
### `runtype dispatch`
|
|
516
531
|
|
|
517
532
|
Execute a flow or agent via the dispatch API.
|