@vibecloudtr/cli 0.2.0 → 0.3.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 +7 -6
- package/commands.json +45 -0
- package/dist/main.js +175 -175
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ Design docs and the decision log are in `../base/docs`.
|
|
|
20
20
|
|
|
21
21
|
## Releasing to npm — the checklist
|
|
22
22
|
|
|
23
|
-
🔴 **`@vibecloudtr/cli` 0.
|
|
23
|
+
🔴 **`@vibecloudtr/cli` 0.3.0 is on npm (2026-10-22)**; 0.0.1 shipped source maps and was
|
|
24
24
|
unpublished. Every page of the site, `llms.txt` and the three agent files instruct
|
|
25
25
|
`npx @vibecloudtr/cli …`, so each publish is the most-repeated promise on the site.
|
|
26
26
|
Publishing is done by hand from the owner's machine with an npm access token. There
|
|
@@ -326,10 +326,9 @@ deliberately.
|
|
|
326
326
|
without it answers `invalid_client`, which the preflight below catches before a
|
|
327
327
|
browser opens and reports by name; that is a louder failure than "client_id not
|
|
328
328
|
set", and it names the fix instead of sending someone to look up a value only
|
|
329
|
-
the deployment's operator knows.
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
out of band.
|
|
329
|
+
the deployment's operator knows. The API can offer RFC 7591 dynamic client registration
|
|
330
|
+
(`OAUTH_DYNAMIC_REGISTRATION`, off by default) for third-party MCP clients, but the
|
|
331
|
+
CLI never uses it: a compiled-in `vibe-cli` entry in `OAUTH_CLIENTS` is the point.
|
|
333
332
|
- **resource — defaulted to `https://api.vibecloud.tr` when `VIBECLOUD_API` is
|
|
334
333
|
unset (VIBEC-322), and NOT defaulted for any other deployment.** The public
|
|
335
334
|
API's audience is its own origin and is the one value this binary can know;
|
|
@@ -545,7 +544,9 @@ ISO times. Spec: `base/docs/cli-output-guidelines.md`.
|
|
|
545
544
|
| `vibe app list\|create\|config` | `Project.apps`, `createApp`, `setAppOutputMode` — every nullable field printed as its own "not yet" sentence; `firstLiveAt` is read, never derived from `phase`. `--output-mode static\|standalone` and `--output-dir <dir>` (static only) on `create` and `config` (VIBEC-478); omitted flags are not sent, so the server defaults apply (new app `STANDALONE`, directory `dist`). `config` reports acceptance only: if the app has been built before, the cell rebuilds the current commit with the new mode and the running version serves until that build is live; if it has never been built, nothing is rebuilt and the next `vibe deploy start` uses the new mode. Both cases are printed, since the API cannot tell which applies. An unreported mode prints as `bildirilmedi`, never as standalone |
|
|
546
545
|
| `vibe db connect\|introspect\|security\|migrate` | `Project.endpoints.db`, `Project.schema`, `Project.rlsAdvisor`, `applyMigration` |
|
|
547
546
|
| `vibe deploy start\|upload\|cancel\|rollback` | `deployApp`, `createSourceUpload` + `deployUpload` (`upload`: packs `--dir`, default `.`, and deploys an UPLOAD app, one with no git remote), `cancelBuild`, `rollbackApp`, `App.rollbackTargets` |
|
|
548
|
-
| `vibe domain add\|verify\|list\|release` | `addDomain` (with `--app`, or the project's only app; prints the DCV CNAME **and** the routing record — CNAME to `<app>.vibeapp.tr` for a subdomain, A to the cell's apps address for an apex, VIBEC-373), `verifyDomain`, `Project.domains` (`routingRecord` per row), `removeDomain` |
|
|
547
|
+
| `vibe domain add\|verify\|list\|release` | `addDomain` (with `--app`, or the project's only app; prints the DCV CNAME (none for a `HOSTED` domain inside an active zone) **and** the routing record — CNAME to `<app>.vibeapp.tr` for a subdomain, A to the cell's apps address for an apex, VIBEC-373), `verifyDomain`, `Project.domains` (`routingRecord` per row), `removeDomain` |
|
|
548
|
+
| `vibe zone add\|prove\|list\|verify\|remove`| `addDnsZone` (seeds records from `dnsZoneImport` unless `--no-import`; prints the claim's nameservers, dec. 235), `proveDnsZoneControl` (TXT proof that evicts another org's pending claim), `Project.dnsZones`, `verifyDnsZone`, `removeDnsZone`|
|
|
549
|
+
| `vibe record list\|set\|add\|rm`| `Project.dnsZones` (records), `setDnsRecords` (one zone's record set, upsert and remove; platform-managed rows are refused with `DNS_RECORD_RESERVED`)|
|
|
549
550
|
| `vibe branch create\|list\|extend\|delete` | `createBranch`, `Project.branches`, `extendBranch`, `deleteBranch` — a preview branch (VIBEC-72): its own database (shared pair on Luna/Terra/Sol, isolated instance on Pro), keys and `<slug>--<name>.api` hostname, TTL 3 d default / 5 d max from creation; `--mode clone` copies production rows and needs the org owner's toggle. `--branch <name>` on `deploy start`, `db migrate` and `db connect` targets it |
|
|
550
551
|
| `vibe config set\|secret\|list\|unset` | `setAppConfig`, `App.config` — `config secret --scope BUILD\|RUNTIME` says where the secret is read: `BUILD` mounts it for `next build` only (a `DATABASE_URL` a prerendered page queries at build time, a Sentry token for sourcemap upload) and turns off cache mounts for that build; `RUNTIME` gives it to the running app only. Without `--scope` nothing is sent and the API's documented default applies: `RUNTIME`. Any other value is refused before the secret is read. `config set --value-from projectEndpoint:api\|projectSecret:anonKey` writes a platform-derived source instead of a literal (VIBEC-469); exactly one of `--value`, `--file`, `--value-from` |
|
|
551
552
|
| `vibe backups` | `Project.backups`, `Project.caps` |
|
package/commands.json
CHANGED
|
@@ -153,6 +153,51 @@
|
|
|
153
153
|
"summary": "Alan adını bırakır ve yönlendirmeyi durdurur",
|
|
154
154
|
"kind": "runs"
|
|
155
155
|
},
|
|
156
|
+
{
|
|
157
|
+
"name": "zone add",
|
|
158
|
+
"summary": "Alan adını ad sunucularımıza alır",
|
|
159
|
+
"kind": "runs"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"name": "zone prove",
|
|
163
|
+
"summary": "Başka hesapta bekleyen taşımayı TXT kaydıyla devralır",
|
|
164
|
+
"kind": "runs"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"name": "zone list",
|
|
168
|
+
"summary": "Projenin ad sunucularımızdaki alanlarını listeler",
|
|
169
|
+
"kind": "runs"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"name": "zone verify",
|
|
173
|
+
"summary": "Ad sunucusu değişikliğini şimdi kontrol eder",
|
|
174
|
+
"kind": "runs"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"name": "zone remove",
|
|
178
|
+
"summary": "Alanı ad sunucularımızdan kaldırır",
|
|
179
|
+
"kind": "runs"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"name": "record list",
|
|
183
|
+
"summary": "Alanın kayıtlarını listeler",
|
|
184
|
+
"kind": "runs"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"name": "record set",
|
|
188
|
+
"summary": "Bir kaydı tek değerle ayarlar (aynı ad ve türdeki eski değerlerin yerine)",
|
|
189
|
+
"kind": "runs"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"name": "record add",
|
|
193
|
+
"summary": "Aynı ad ve türdeki kayda bir değer daha ekler",
|
|
194
|
+
"kind": "runs"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"name": "record rm",
|
|
198
|
+
"summary": "Bir kaydı siler (--value ile yalnızca o değeri)",
|
|
199
|
+
"kind": "runs"
|
|
200
|
+
},
|
|
156
201
|
{
|
|
157
202
|
"name": "branch create",
|
|
158
203
|
"summary": "Bir önizleme dalı açar",
|