@vibes.diy/api-pkg 2.0.0-dev-cli-j → 2.0.0-dev-cli-k

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.
Files changed (2) hide show
  1. package/README.md +20 -5
  2. package/package.json +11 -11
package/README.md CHANGED
@@ -162,11 +162,26 @@ The API is bundled into the main vibes.diy Cloudflare Worker (not a separate dep
162
162
 
163
163
  ### Environments
164
164
 
165
- | Trigger | Environment | Domain |
166
- | ----------------------- | ----------- | ------------------------ |
167
- | Tag `vibes-diy@s*` | staging | `*.dev-v2.vibesdiy.net` |
168
- | Tag `vibes-diy@p*` | production | `*.prod-v2.vibesdiy.net` |
169
- | Path push or other tags | dev | `*.dev-v2.vibesdiy.net` |
165
+ | Trigger | GH Environment | CF Env | Domain |
166
+ | ----------------------- | -------------- | ------ | ------------------------ |
167
+ | Tag `vibes-diy@p*` | prodv2 | prod | `*.prod-v2.vibesdiy.net` |
168
+ | Tag `vibes-diy@c*` | cli | cli | `*.cli-v2.vibesdiy.net` |
169
+ | Tag `vibes-diy@s*` | staging | dev | `*.dev-v2.vibesdiy.net` |
170
+ | Path push or other tags | dev | dev | `*.dev-v2.vibesdiy.net` |
171
+
172
+ CLI shares prodv2's D1 database and Neon DB but has its own worker, queue, and routes.
173
+
174
+ ### Secret Rotation
175
+
176
+ To rotate session tokens and CA certs for prodv2/cli:
177
+
178
+ ```bash
179
+ ./vibes.diy/actions/deploy/gen-prod-secrets.sh
180
+ ```
181
+
182
+ This regenerates keys, updates `.prod.vars`, and sets GH secrets — without exposing values in terminal output.
183
+
184
+ For the remaining manual secrets (`LLM_BACKEND_API_KEY`, `RESEND_API_KEY`, `NEON_DATABASE_URL`), edit `.prod.vars` directly and run `gh secret set` from the repo root.
170
185
 
171
186
  ### Deploy Steps
172
187
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibes.diy/api-pkg",
3
- "version": "2.0.0-dev-cli-j",
3
+ "version": "2.0.0-dev-cli-k",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "scripts": {
@@ -8,21 +8,21 @@
8
8
  },
9
9
  "dependencies": {
10
10
  "@adviser/cement": "~0.5.34",
11
- "@fireproof/core-device-id": "~0.24.15",
12
- "@fireproof/core-protocols-dashboard": "~0.24.15",
13
- "@fireproof/core-runtime": "~0.24.15",
14
- "@fireproof/core-types-base": "~0.24.15",
15
- "@fireproof/core-types-device-id": "~0.24.15",
16
- "@fireproof/core-types-protocols-cloud": "~0.24.15",
17
- "@fireproof/core-types-protocols-dashboard": "~0.24.15",
11
+ "@fireproof/core-device-id": "~0.24.16",
12
+ "@fireproof/core-protocols-dashboard": "~0.24.16",
13
+ "@fireproof/core-runtime": "~0.24.16",
14
+ "@fireproof/core-types-base": "~0.24.16",
15
+ "@fireproof/core-types-device-id": "~0.24.16",
16
+ "@fireproof/core-types-protocols-cloud": "~0.24.16",
17
+ "@fireproof/core-types-protocols-dashboard": "~0.24.16",
18
18
  "@noble/hashes": "~2.0.1",
19
- "@vibes.diy/api-types": "2.0.0-dev-cli-j",
19
+ "@vibes.diy/api-types": "2.0.0-dev-cli-k",
20
20
  "acorn": "~8.16.0",
21
21
  "arktype": "~2.2.0",
22
22
  "multiformats": "~13.4.2",
23
23
  "random-words": "~2.0.1",
24
- "react": "~19.2.4",
25
- "react-dom": "~19.2.4"
24
+ "react": "~19.2.5",
25
+ "react-dom": "~19.2.5"
26
26
  },
27
27
  "repository": {
28
28
  "type": "git",