@dedesfr/prompter 0.8.17 → 0.8.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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## [0.8.18] - 2026-05-06
4
+
5
+ ### 🔄 Changed
6
+ - **project-orchestrator Skill**: Added self-hosted Convex storage backend guidance for SQLite vs Postgres
7
+ - Clarifies when to use SQLite for dev or hobby deployments and when to use Postgres for production
8
+ - Frames Postgres as Convex's storage engine for self-hosted setups, with backup and scaling guidance
9
+ - **Plan Summary Template**: Added a dedicated Convex storage backend row for self-hosted deployments
10
+ - Captures the SQLite or PostgreSQL choice directly in the generated project summary
11
+
3
12
  ## [0.8.17] - 2026-05-05
4
13
 
5
14
  ### 🔄 Changed
package/dist/cli/index.js CHANGED
@@ -16,7 +16,7 @@ const program = new Command();
16
16
  program
17
17
  .name('prompter')
18
18
  .description('Enhance prompts directly in your AI coding workflow')
19
- .version('0.8.17');
19
+ .version('0.8.18');
20
20
  program
21
21
  .command('init')
22
22
  .description('Initialize Prompter in your project')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dedesfr/prompter",
3
- "version": "0.8.17",
3
+ "version": "0.8.18",
4
4
  "description": "Enhance prompts directly in your AI coding workflow",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -264,6 +264,11 @@ After the user picks a bundle, ask ONLY the necessary sub-choices:
264
264
  - Next.js vs React (Vite)? (Recommend Next.js if SEO matters; Vite if it's a dashboard or real-time app where SSR isn't needed)
265
265
  - No database sub-choice needed -- Convex includes a built-in document database with real-time sync.
266
266
  - **Convex hosting**: Convex Cloud (managed, easiest) vs Self-Hosted (Docker, full control)? (Recommend Convex Cloud for most projects -- zero infrastructure overhead. Recommend Self-Hosted if the user needs data sovereignty, air-gapped environments, or wants to avoid vendor lock-in.)
267
+ - **Convex storage backend** (Self-Hosted only): SQLite vs Postgres?
268
+ - **SQLite** — single file on disk, zero config. Fine for dev/hobby projects up to ~1–2 GB data on a single server. Back up by copying the file.
269
+ - **Postgres** — networked database. Required for production: handles concurrent connections, proper backups (`pg_dump` to S3/R2), point-in-time recovery, and horizontal scaling. Add a `postgres` service to `docker-compose.yml` and pass `DATABASE_URL` to Convex.
270
+ - **Important framing**: Postgres is Convex's *storage engine*, not your application database. You never write SQL or query Postgres directly — Convex reads/writes its own internal format there. You only touch Postgres for ops: running the container and taking backups.
271
+ - Recommend Postgres for any self-hosted project with real users. Recommend SQLite only for solo dev environments or throwaway prototypes.
267
272
 
268
273
  **Bundle 3 sub-choices:**
269
274
  - MySQL vs PostgreSQL? (Same guidance as above)
@@ -315,6 +320,9 @@ When the user chooses a Laravel stack (Bundle 3, 4, or 5) with Docker:
315
320
 
316
321
  When the user chooses React + Convex (Bundle 2) with **self-hosted** deployment:
317
322
 
323
+ - **Storage backend**: Include in `docker-compose.yml` based on what the user chose:
324
+ - **SQLite** (dev/hobby): No extra service needed — Convex stores data in a local SQLite file inside the container. Mount a volume to persist it across restarts.
325
+ - **Postgres** (production): Add a `postgres` service (e.g., `postgres:16`) and pass `DATABASE_URL` to the Convex container. Postgres is Convex's internal filing cabinet — the user's data lives in `document_json` columns managed by Convex, not in SQL tables they'd recognize. The user never writes SQL; they only run `pg_dump` for backups.
318
326
  - **Use Docker Compose** with two Convex services:
319
327
  - `convex` — backend image `ghcr.io/get-convex/convex-backend:latest`
320
328
  - `convex-dashboard` — dashboard image `ghcr.io/get-convex/convex-dashboard:latest`
@@ -72,6 +72,7 @@
72
72
  | ORM / DB Layer | [e.g., Drizzle / Convex built-in] | [Why] |
73
73
  | Database | [e.g., PostgreSQL / Convex document DB] | [Why] |
74
74
  | Convex Hosting | [Cloud / Self-Hosted] | [Why -- only include if using Convex] |
75
+ | Convex Storage Backend | [SQLite / PostgreSQL -- only include if self-hosted Convex] | [Why -- SQLite for dev/hobby; Postgres for production] |
75
76
  | Styling | [e.g., Tailwind CSS] | [Why] |
76
77
  | Web Server | [e.g., Caddy] | [Why -- include when Docker is used] |
77
78
  | Docker | Yes/No | [Why] |
package/src/cli/index.ts CHANGED
@@ -18,7 +18,7 @@ const program = new Command();
18
18
  program
19
19
  .name('prompter')
20
20
  .description('Enhance prompts directly in your AI coding workflow')
21
- .version('0.8.17');
21
+ .version('0.8.18');
22
22
 
23
23
  program
24
24
  .command('init')