@vibiz/cli 0.3.16 → 0.3.18
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/dist/{chunk-4M6B5ZSL.js → chunk-LHRFNBS5.js} +16 -1
- package/dist/{src-E7DJTTI6.js → src-7A6SEUCX.js} +132 -34
- package/dist/vibiz.js +181 -48
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# vibiz
|
|
2
2
|
|
|
3
|
-
The [thelastapi](https://
|
|
3
|
+
The [thelastapi](https://thelastapi.dev/docs) CLI and MCP server: website, database, sign-in, email
|
|
4
4
|
and AI for a new business, from a terminal or an AI agent.
|
|
5
5
|
|
|
6
6
|
```bash
|
|
7
|
-
npx @vibiz/cli login --key vz_sk_… --api https://
|
|
7
|
+
npx @vibiz/cli login --key vz_sk_… --api https://thelastapi.dev
|
|
8
8
|
npx @vibiz/cli init "Acme Bakery" # a project, linked to this folder
|
|
9
9
|
npx @vibiz/cli deploy # put it online
|
|
10
10
|
npx @vibiz/cli --help # every command; `vibiz <command> --help` for one
|
|
@@ -34,4 +34,4 @@ claude mcp add vibiz --env VIBIZ_API_KEY=vz_sk_… -- npx -y @vibiz/cli mcp
|
|
|
34
34
|
```
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
Node 20+. Docs: https://
|
|
37
|
+
Node 20+. Docs: https://thelastapi.dev/docs
|
|
@@ -1508,6 +1508,21 @@ var Vibiz = class {
|
|
|
1508
1508
|
update: (input) => this.request("/inbox/settings", { method: "PATCH", body: input })
|
|
1509
1509
|
}
|
|
1510
1510
|
};
|
|
1511
|
+
/**
|
|
1512
|
+
* The account's public founder profile (docs: profiles) at thelastapi.dev/<username>.
|
|
1513
|
+
* Private by default: public only once turned on, then only listed businesses and
|
|
1514
|
+
* only the metrics turned on for each. Changing it takes a full-access key.
|
|
1515
|
+
*/
|
|
1516
|
+
profile = {
|
|
1517
|
+
get: () => this.request("/profile"),
|
|
1518
|
+
update: (input) => this.request("/profile", { method: "PATCH", body: input }),
|
|
1519
|
+
checkUsername: (username) => this.request(`/profile/username${qs({ u: username })}`),
|
|
1520
|
+
/** What one business shows: listed, tagline, logo, founded, and each metric. */
|
|
1521
|
+
business: (projectId, input) => this.request(`/projects/${encodeURIComponent(projectId)}/profile`, {
|
|
1522
|
+
method: "PATCH",
|
|
1523
|
+
body: input
|
|
1524
|
+
})
|
|
1525
|
+
};
|
|
1511
1526
|
/**
|
|
1512
1527
|
* The account's own credits (docs/BILLING.md): the balance, the card,
|
|
1513
1528
|
* auto-recharge and history. A top-up is a hosted page a person pays on.
|
|
@@ -2007,7 +2022,7 @@ function formatMinor(minor, currency) {
|
|
|
2007
2022
|
}
|
|
2008
2023
|
|
|
2009
2024
|
// packages/sdk/src/one-key.ts
|
|
2010
|
-
var APP_SDK_VERSION = "0.3.
|
|
2025
|
+
var APP_SDK_VERSION = "0.3.18";
|
|
2011
2026
|
var ONE_KEY_GIVES = "database, sign-in, email and inbox, AI models, files, payments, analytics with session replays, web data, social, phone and connectors";
|
|
2012
2027
|
function oneKeyMessage(url, host) {
|
|
2013
2028
|
const where = host ?? "your host";
|