@vibiz/cli 0.3.16 → 0.3.17
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/dist/vibiz.js
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
formatUsd,
|
|
12
12
|
mergeEnvFile,
|
|
13
13
|
oneKeyMessage
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ASFD5YOR.js";
|
|
15
15
|
|
|
16
16
|
// packages/cli/src/main.ts
|
|
17
17
|
import { spawn } from "node:child_process";
|
|
@@ -26,7 +26,7 @@ import { parseArgs } from "node:util";
|
|
|
26
26
|
|
|
27
27
|
// packages/app/src/index.ts
|
|
28
28
|
var runtimeEnv = () => globalThis.process?.env ?? {};
|
|
29
|
-
var DEFAULT_URL = "https://
|
|
29
|
+
var DEFAULT_URL = "https://thelastapi.dev";
|
|
30
30
|
var VibizAppError = class extends Error {
|
|
31
31
|
status;
|
|
32
32
|
code;
|
|
@@ -969,7 +969,7 @@ var ONE_KEY_PATHS = ` Then the app loads the rest at start:
|
|
|
969
969
|
Node, Bun, Deno import { vibiz } from '@vibiz/app'; await vibiz.loadEnv();
|
|
970
970
|
any language npx @vibiz/cli run -- <your start command>
|
|
971
971
|
Docker / shell eval "$(curl -fsS -H "Authorization: Bearer $VIBIZ_APP_KEY" \\
|
|
972
|
-
https://
|
|
972
|
+
https://thelastapi.dev/v1/app/env?format=shell)" && exec <your server>
|
|
973
973
|
CI / build step npx @vibiz/cli env pull --format dotenv -o .env.production`;
|
|
974
974
|
|
|
975
975
|
// packages/cli/src/dns-records.ts
|
|
@@ -1883,7 +1883,7 @@ function cliVersion() {
|
|
|
1883
1883
|
}
|
|
1884
1884
|
|
|
1885
1885
|
// packages/cli/src/login.ts
|
|
1886
|
-
var DEFAULT_API_URL = "https://
|
|
1886
|
+
var DEFAULT_API_URL = "https://thelastapi.dev";
|
|
1887
1887
|
var pendingFile = (dir) => join4(dir, "pending-login.json");
|
|
1888
1888
|
var configFile = (dir) => join4(dir, "config.json");
|
|
1889
1889
|
async function readJson(io, path) {
|
|
@@ -3574,7 +3574,7 @@ var HELP = `vibiz \u2014 website, database and sign-in for a new business, in on
|
|
|
3574
3574
|
vibiz email automation create --file automation.json {name, trigger, steps, exit_event}
|
|
3575
3575
|
vibiz ai "<prompt>" [--model m] [--system s] stream an answer from a language model (metered)
|
|
3576
3576
|
--model: a thelastapi model (vibiz/smart) or any lab model
|
|
3577
|
-
(anthropic/claude-sonnet-5.5):
|
|
3577
|
+
(anthropic/claude-sonnet-5.5): thelastapi.dev/docs/ai
|
|
3578
3578
|
vibiz ai models [search\u2026] [--all] [--json] the thelastapi models and the model each runs, with prices;
|
|
3579
3579
|
--all (or a search) lists every model you can call
|
|
3580
3580
|
vibiz ai budget [<dollars>] [--project id | --all] a project's daily AI budget: show it, or set it
|
|
@@ -6275,7 +6275,7 @@ ${await oneKeyLines(vibiz2, id)}`);
|
|
|
6275
6275
|
}
|
|
6276
6276
|
const key = io.env.VIBIZ_APP_KEY;
|
|
6277
6277
|
if (!key) throw new Error("vibiz env pull needs VIBIZ_APP_KEY (the app\u2019s own key).");
|
|
6278
|
-
const base = (io.env.VIBIZ_API_URL ??
|
|
6278
|
+
const base = (io.env.VIBIZ_API_URL ?? DEFAULT_API_URL).replace(/\/$/, "");
|
|
6279
6279
|
const res = await fetch(`${base}/v1/app/env?format=${format2}`, {
|
|
6280
6280
|
headers: { authorization: `Bearer ${key}` }
|
|
6281
6281
|
});
|
|
@@ -6970,7 +6970,7 @@ Store the key now: it is not shown again.`
|
|
|
6970
6970
|
return;
|
|
6971
6971
|
}
|
|
6972
6972
|
case "docs": {
|
|
6973
|
-
const { DOC_TOPICS, DOCS } = await import("./src-
|
|
6973
|
+
const { DOC_TOPICS, DOCS } = await import("./src-DCZC2YTT.js");
|
|
6974
6974
|
const topic = positionals[0];
|
|
6975
6975
|
if (!topic || !DOC_TOPICS.includes(topic)) {
|
|
6976
6976
|
for (const t of DOC_TOPICS) io.log(` vibiz docs ${t.padEnd(13)} ${DOCS[t].title}`);
|
|
@@ -6995,7 +6995,7 @@ ${DOCS[topic].body}`);
|
|
|
6995
6995
|
if (positionals[0])
|
|
6996
6996
|
throw new Error('usage: vibiz mcp (serve over stdio) | vibiz mcp add --clients "<client>"');
|
|
6997
6997
|
io.local();
|
|
6998
|
-
const { serveStdio } = await import("./src-
|
|
6998
|
+
const { serveStdio } = await import("./src-DCZC2YTT.js");
|
|
6999
6999
|
await serveStdio({ version: cliVersion() });
|
|
7000
7000
|
return;
|
|
7001
7001
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibiz/cli",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.17",
|
|
4
4
|
"description": "The thelastapi CLI and MCP server: website, database, sign-in, email and AI for a new business, from your terminal or your AI agent.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vibiz",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"deploy",
|
|
10
10
|
"hosting"
|
|
11
11
|
],
|
|
12
|
-
"homepage": "https://
|
|
12
|
+
"homepage": "https://thelastapi.dev/docs",
|
|
13
13
|
"repository": {
|
|
14
14
|
"type": "git",
|
|
15
15
|
"url": "git+https://github.com/Vibiz-ai/vibiz-stack.git",
|