@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.
Files changed (2) hide show
  1. package/README.md +57 -15
  2. 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) — deploy and manage AI agent workspaces.
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. That file says which Vatio workspace the
19
- directory deploys to, what the agent does, and how the widget looks; `tools/`,
20
- `lib/` and `auth/` next to it are plain JavaScript the agent runs.
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 — an agent can sit inside the
23
- repository of the backend it calls, and every command except `init` finds it by
24
- walking up from the current directory. There is no `--workspace` flag.
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] [--name NAME] Create vatio.yml here, and the remote to match
30
- login [--base-url URL] Authorize this machine in a browser
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
- secrets list|set|rm Credentials your tools read as ctx.env
38
- tokens list|create|revoke Publishable tokens for the widget and the SDK
39
- widget [--env NAME] What the platform enforces, and the tokens there are
40
- config show|set|unset base_url and token, per developer
41
- doctor Node, config, workspace and token status
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.0",
3
+ "version": "0.47.1",
4
4
  "description": "Vatio CLI — deploy and manage Vatio agent workspaces",
5
- "keywords": ["vatio", "agent", "ai", "cli", "deploy"],
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",