@vatio-ai/cli 0.104.0 → 0.106.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 CHANGED
@@ -17,8 +17,8 @@ npx @vatio-ai/skills
17
17
 
18
18
  Then, in Claude Code, run `/vatio-init` (in Cursor or Codex, ask it to use
19
19
  vatio-init). It reads your app, asks only what the code can't answer, and
20
- pushes a preview for you to try. Then `/vatio-add-to-app` puts the agent in
21
- your web, iOS, Android or Flutter app. See the [docs](https://vatio.ai/docs/).
20
+ pushes a preview for you to try. Then ask your coding agent to put the agent
21
+ in your web, iOS, Android or Flutter app. See the [docs](https://vatio.ai/docs/).
22
22
 
23
23
  ## By hand
24
24
 
@@ -23,6 +23,9 @@ const RETIRED = {
23
23
  destroy: "`vatio chat destroy` was removed.",
24
24
  delete: "`vatio chat delete` was removed."
25
25
  };
26
+ // Words a coding agent reaches for as subcommands. Alone, they are never what
27
+ // someone meant to say to their agent, and sending them starts a chat.
28
+ const NOT_SUBCOMMANDS = new Set(["list", "ls", "search", "find", "get", "read", "view", "open", "history", "status", "new", "start"]);
26
29
  const REMOVED_FLAGS = ["--channel", "--from", "--as", "--sandbox-url"];
27
30
 
28
31
  export async function chat(config, args) {
@@ -51,6 +54,13 @@ export async function chat(config, args) {
51
54
 
52
55
  const options = { environment, timeout, last, lastGiven: lastValue != null, json, apiUrl, token };
53
56
  if (args.length === 1 && RETIRED[args[0]]) fail(RETIRED[args[0]]);
57
+ if (args.length === 1 && NOT_SUBCOMMANDS.has(args[0].toLowerCase())) {
58
+ fail(
59
+ `\`vatio chat ${args[0]}\` is not a command, and nothing was sent. ` +
60
+ "`vatio chat show [CHAT_ID]` reads a conversation; `vatio chat export --from DATE` lists them with their ids. " +
61
+ "To say it to the agent, write a whole sentence."
62
+ );
63
+ }
54
64
  const sub = SUBCOMMANDS.has(args[0]) ? args.shift() : null;
55
65
 
56
66
  if (sub === "help") return console.log(chatHelp());
@@ -343,6 +353,8 @@ function safeguardLine(safeguard) {
343
353
  const what =
344
354
  safeguard.policy === "no_links"
345
355
  ? `a link that is not in links:, instructions or a tool result (${asList(detail.forbidden_urls)})`
356
+ : safeguard.policy === "no_invented_amounts"
357
+ ? `an amount no tool returned and no instruction gives (${asList(detail.invented_amounts)})`
346
358
  : safeguard.policy === "no_generated_media"
347
359
  ? `embedded media (${asList(detail.markers)})`
348
360
  : safeguard.policy === "no_empty_content"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vatio-ai/cli",
3
- "version": "0.104.0",
3
+ "version": "0.106.0",
4
4
  "description": "Vatio CLI — deploy and manage Vatio agent workspaces",
5
5
  "keywords": [
6
6
  "vatio",