@vatio-ai/cli 0.64.0 → 0.65.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 +3 -3
- package/lib/commands/identity-key.mjs +2 -2
- package/lib/commands/misc.mjs +1 -1
- package/lib/commands/supabase-auth.mjs +1 -1
- package/lib/config.mjs +1 -1
- package/lib/help.mjs +2 -2
- package/lib/telemetry.mjs +1 -1
- package/lib/update-notice.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -23,7 +23,7 @@ vatio docs --save # the whole developer contract as markdown, live from Vatio
|
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
`vatio docs` prints the same contract that
|
|
26
|
-
[
|
|
26
|
+
[vatio.ai/docs/docs.md](https://vatio.ai/docs/docs.md) serves, and
|
|
27
27
|
`vatio docs --save` writes it next to the workspace.
|
|
28
28
|
|
|
29
29
|
Don't guess `vatio.yml` keys. Unknown root keys fail validation, and the rules
|
|
@@ -82,7 +82,7 @@ config show|set|unset base_url and token, per developer
|
|
|
82
82
|
`pr-42`.
|
|
83
83
|
|
|
84
84
|
Run `npx @vatio-ai/cli help` for the whole surface, and see
|
|
85
|
-
[
|
|
85
|
+
[vatio.ai/docs](https://vatio.ai/docs) for the platform.
|
|
86
86
|
|
|
87
87
|
## Where your credentials live
|
|
88
88
|
|
|
@@ -102,4 +102,4 @@ upgraded to understand a new one.
|
|
|
102
102
|
Bugs and questions go to [issues](https://github.com/vatio-ai/cli/issues). This repository is a read-only mirror of
|
|
103
103
|
the CLI as it ships inside Vatio, so a pull request cannot be merged here: open
|
|
104
104
|
an issue describing the change instead. Release notes live in the
|
|
105
|
-
[changelog](https://
|
|
105
|
+
[changelog](https://vatio.ai/docs/changelog).
|
|
@@ -87,8 +87,8 @@ export async function auth(config, args) {
|
|
|
87
87
|
console.log(" }");
|
|
88
88
|
console.log("");
|
|
89
89
|
console.log("Put it on the widget as data-visitor-token, and push.");
|
|
90
|
-
console.log("Full examples: https://
|
|
91
|
-
console.log("Inbox metadata: https://
|
|
90
|
+
console.log("Full examples: https://vatio.ai/docs/authentication/");
|
|
91
|
+
console.log("Inbox metadata: https://vatio.ai/docs/authentication/#enrich-the-inbox");
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
function ignorePrivateKey(root) {
|
package/lib/commands/misc.mjs
CHANGED
|
@@ -9,7 +9,7 @@ import { VERSION } from "../version.mjs";
|
|
|
9
9
|
import { fail, takeValue } from "../support.mjs";
|
|
10
10
|
import { workspacesClient } from "./deploy.mjs";
|
|
11
11
|
|
|
12
|
-
export const DOCS_URL = "https://
|
|
12
|
+
export const DOCS_URL = "https://vatio.ai/docs";
|
|
13
13
|
|
|
14
14
|
export function version() {
|
|
15
15
|
console.log(`Vatio CLI ${VERSION} (node)`);
|
|
@@ -94,7 +94,7 @@ export async function supabaseAuth(config, args) {
|
|
|
94
94
|
console.log(" data: { orders: \"$\" }");
|
|
95
95
|
console.log(" message: { when_empty: No orders yet., default: \"Found {{count}} orders.\" }");
|
|
96
96
|
console.log("");
|
|
97
|
-
console.log("Docs: https://
|
|
97
|
+
console.log("Docs: https://vatio.ai/docs/authentication/supabase");
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
async function connectedProject(config, workspace) {
|
package/lib/config.mjs
CHANGED
|
@@ -204,7 +204,7 @@ export class Config {
|
|
|
204
204
|
const normalized = String(key ?? "").trim();
|
|
205
205
|
if (normalized === "assistants") {
|
|
206
206
|
throw new ConfigError(
|
|
207
|
-
'config key "assistants" was removed — Vatio no longer installs local skills; see https://
|
|
207
|
+
'config key "assistants" was removed — Vatio no longer installs local skills; see https://vatio.ai/docs'
|
|
208
208
|
);
|
|
209
209
|
}
|
|
210
210
|
if (normalized === "workspace") {
|
package/lib/help.mjs
CHANGED
|
@@ -127,8 +127,8 @@ and the one its pull request deploys to. Elsewhere commands default as listed.
|
|
|
127
127
|
Keys: base_url, token
|
|
128
128
|
|
|
129
129
|
Environment: VATIO_BASE_URL, VATIO_TOKEN, VATIO_HOME, VATIO_NO_UPDATE_NOTIFIER,
|
|
130
|
-
VATIO_TELEMETRY=0 (see
|
|
130
|
+
VATIO_TELEMETRY=0 (see vatio.ai/docs/cli/workspace#telemetry)
|
|
131
131
|
|
|
132
|
-
Docs: https://
|
|
132
|
+
Docs: https://vatio.ai/docs
|
|
133
133
|
`;
|
|
134
134
|
}
|
package/lib/telemetry.mjs
CHANGED
|
@@ -80,7 +80,7 @@ function noticeOnce() {
|
|
|
80
80
|
process.stderr.write(
|
|
81
81
|
"vatio: the CLI tells Vatio how each command ended (never arguments, files or secrets),\n" +
|
|
82
82
|
"so we can see where coding agents get stuck. Turn it off with VATIO_TELEMETRY=0.\n" +
|
|
83
|
-
"Details: https://
|
|
83
|
+
"Details: https://vatio.ai/docs/cli/workspace#telemetry\n\n"
|
|
84
84
|
);
|
|
85
85
|
safely(() => {
|
|
86
86
|
mkdirSync(dirname(path), { recursive: true });
|
package/lib/update-notice.mjs
CHANGED
|
@@ -44,7 +44,7 @@ export async function printUpdateNotice(check) {
|
|
|
44
44
|
process.stderr.write(
|
|
45
45
|
`\n${paint("yellow", `A new release of vatio is available: ${VERSION} → ${latest}`)}\n` +
|
|
46
46
|
`To upgrade, run: ${upgrade}\n` +
|
|
47
|
-
`${paint("cyan", "https://
|
|
47
|
+
`${paint("cyan", "https://vatio.ai/docs/changelog")}\n`
|
|
48
48
|
);
|
|
49
49
|
}
|
|
50
50
|
|