@vibiz/cli 0.3.15 → 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/README.md CHANGED
@@ -1,10 +1,10 @@
1
1
  # vibiz
2
2
 
3
- The [thelastapi](https://app.vibiz.app/docs) CLI and MCP server: website, database, sign-in, email
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://app.vibiz.app
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://app.vibiz.app/docs
37
+ Node 20+. Docs: https://thelastapi.dev/docs
@@ -621,6 +621,16 @@ var Vibiz = class {
621
621
  remove: (id, domain) => this.request(`/projects/${id}/domains/${encodeURIComponent(domain)}`, {
622
622
  method: "DELETE"
623
623
  }),
624
+ /**
625
+ * Moving to a new address (full-access keys): every URL on `domain`
626
+ * answers a permanent redirect to the same path on `to`, another live
627
+ * domain of the project, so search engines carry its pages over. `null`
628
+ * stops it. A redirecting domain is never the project's primary.
629
+ */
630
+ redirect: (id, domain, to) => this.request(`/projects/${id}/domains/${encodeURIComponent(domain)}`, {
631
+ method: "PATCH",
632
+ body: { redirect_to: to }
633
+ }),
624
634
  /**
625
635
  * Full-access keys: buy a domain from the account's credits; it serves on this
626
636
  * project once registered. A Limited key answers `owner_only` with the
@@ -1997,7 +2007,7 @@ function formatMinor(minor, currency) {
1997
2007
  }
1998
2008
 
1999
2009
  // packages/sdk/src/one-key.ts
2000
- var APP_SDK_VERSION = "0.3.15";
2010
+ var APP_SDK_VERSION = "0.3.17";
2001
2011
  var ONE_KEY_GIVES = "database, sign-in, email and inbox, AI models, files, payments, analytics with session replays, web data, social, phone and connectors";
2002
2012
  function oneKeyMessage(url, host) {
2003
2013
  const where = host ?? "your host";