@vatio-ai/cli 0.47.0 → 0.47.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.
- package/README.md +57 -15
- package/package.json +8 -2
package/README.md
CHANGED
|
@@ -1,44 +1,86 @@
|
|
|
1
1
|
# @vatio-ai/cli
|
|
2
2
|
|
|
3
|
-
The CLI for [Vatio](https://vatio.ai) —
|
|
3
|
+
The CLI for [Vatio](https://vatio.ai) — a production runtime for
|
|
4
|
+
customer-facing AI agents. Describe an agent in one `vatio.yml` and deploy it to
|
|
5
|
+
web chat, WhatsApp and Instagram; Vatio runs the conversation, the contacts, the
|
|
6
|
+
identity, the safeguards and the handoff to a human.
|
|
4
7
|
|
|
5
8
|
```bash
|
|
6
9
|
npx @vatio-ai/cli init my-agent
|
|
7
10
|
npx @vatio-ai/cli push
|
|
8
11
|
```
|
|
9
12
|
|
|
10
|
-
No runtime to install first: if you have Node, you have this.
|
|
13
|
+
No runtime to install first: if you have Node 20 or newer, you have this.
|
|
11
14
|
|
|
12
15
|
The package is `@vatio-ai/cli`; the command it installs is `vatio`. So
|
|
13
16
|
`npm install -g @vatio-ai/cli` gives you `vatio push`, and `npx @vatio-ai/cli push`
|
|
14
17
|
is the same thing without installing anything.
|
|
15
18
|
|
|
19
|
+
## If you are a coding agent
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
vatio mcp # MCP over stdio
|
|
23
|
+
vatio docs # the whole developer contract as markdown, live from Vatio
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
`vatio mcp` is the short path: it hands you the contract and the deploy commands
|
|
27
|
+
over MCP, with no browser step. Failing that, `vatio docs` prints the same
|
|
28
|
+
contract that [docs.vatio.ai/docs.md](https://docs.vatio.ai/docs.md) serves, and
|
|
29
|
+
`vatio docs --save` writes it next to the workspace.
|
|
30
|
+
|
|
31
|
+
Don't guess `vatio.yml` keys. Unknown root keys fail validation, and the rules
|
|
32
|
+
that judge a workspace live on the server — so the printed contract is the
|
|
33
|
+
current one by construction.
|
|
34
|
+
|
|
16
35
|
## What a workspace is
|
|
17
36
|
|
|
18
|
-
A directory with a `vatio.yml` in it
|
|
19
|
-
|
|
20
|
-
|
|
37
|
+
A directory with a `vatio.yml` in it:
|
|
38
|
+
|
|
39
|
+
```text
|
|
40
|
+
support-agent/
|
|
41
|
+
vatio.yml # required: the agent, its tools, its knowledge
|
|
42
|
+
tools/*.yml # one HTTP request each, described in YAML
|
|
43
|
+
identity.pub # public key that verifies the JWT saying who a visitor is
|
|
44
|
+
```
|
|
21
45
|
|
|
22
|
-
Nothing constrains where that directory lives —
|
|
23
|
-
repository of the backend it calls, and every
|
|
24
|
-
walking up from the current directory. There
|
|
46
|
+
Only create the files you need. Nothing constrains where that directory lives —
|
|
47
|
+
an agent can sit inside the repository of the backend it calls, and every
|
|
48
|
+
command except `init` finds it by walking up from the current directory. There
|
|
49
|
+
is no `--workspace` flag.
|
|
25
50
|
|
|
26
51
|
## Commands
|
|
27
52
|
|
|
28
53
|
```
|
|
29
|
-
init [SLUG]
|
|
30
|
-
login
|
|
54
|
+
init [SLUG] Create vatio.yml here, and the remote to match
|
|
55
|
+
login | logout Authorize this machine in a browser, or forget it
|
|
56
|
+
doctor Node, config, workspace and token status
|
|
57
|
+
|
|
31
58
|
push [--env NAME] Validate the workspace, then update a preview
|
|
32
59
|
publish [--env NAME] Promote a preview to live
|
|
33
60
|
diff [--env NAME] What this directory would change
|
|
34
61
|
status Preview and live deployment state
|
|
35
62
|
rollback Restore the previous live deployment
|
|
36
63
|
tools check Validate the workspace against Vatio's contracts
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
64
|
+
|
|
65
|
+
chat "message" [--env NAME] Talk to your own agent; the token is the identity
|
|
66
|
+
chat transcript|debug|reset|destroy
|
|
67
|
+
|
|
68
|
+
kb list|show|create|rm Knowledge bases
|
|
69
|
+
kb write|cat|rm-entry Entries, from a file or stdin
|
|
70
|
+
kb follow|unfollow|refresh Read a site into a base, nightly
|
|
71
|
+
|
|
72
|
+
secrets list|set|rm Credentials your tools read
|
|
73
|
+
tokens list|create|revoke Publishable tokens for the widget and the SDK
|
|
74
|
+
widget [--env NAME] What the platform enforces, and the tokens there are
|
|
75
|
+
auth --new-key Keypair that signs the visitor's JWT
|
|
76
|
+
|
|
77
|
+
whatsapp ... Shared preview number, or your own business number
|
|
78
|
+
instagram ... Shared sandbox, or your own account
|
|
79
|
+
|
|
80
|
+
docs [--save [PATH]] The whole developer contract
|
|
81
|
+
mcp Speak MCP over stdio, for a coding agent
|
|
82
|
+
issue "what should change" Send a change request, workspace attached
|
|
83
|
+
config show|set|unset base_url and token, per developer
|
|
42
84
|
```
|
|
43
85
|
|
|
44
86
|
`--env NAME` targets a deployment: `live`, `preview`, or a named preview like
|
package/package.json
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vatio-ai/cli",
|
|
3
|
-
"version": "0.47.
|
|
3
|
+
"version": "0.47.1",
|
|
4
4
|
"description": "Vatio CLI — deploy and manage Vatio agent workspaces",
|
|
5
|
-
"keywords": [
|
|
5
|
+
"keywords": [
|
|
6
|
+
"vatio",
|
|
7
|
+
"agent",
|
|
8
|
+
"ai",
|
|
9
|
+
"cli",
|
|
10
|
+
"deploy"
|
|
11
|
+
],
|
|
6
12
|
"homepage": "https://vatio.ai",
|
|
7
13
|
"bugs": "https://docs.vatio.ai",
|
|
8
14
|
"license": "SEE LICENSE IN LICENSE.txt",
|