@dedesfr/prompter 0.8.20 → 0.8.22

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,24 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## [0.8.22] - 2026-05-08
4
+
5
+ ### 🔄 Changed
6
+ - **project-orchestrator Skill**: Added VPS Caddy existence check to deployment guidance
7
+ - During Step 9 (Deployment), now asks whether Caddy is already running on the VPS
8
+ - If Yes: skip Caddy install, just add domain block to existing Caddyfile and run `caddy reload`
9
+ - If No: include full Caddy install and setup in recommended next steps
10
+ - Updated final plan summary to reflect appropriate Caddy setup based on existing infrastructure
11
+
12
+ ## [0.8.21] - 2026-05-08
13
+
14
+ ### 🔄 Changed
15
+ - **project-orchestrator Skill**: Refined Caddy web server setup guidance for better multi-project support
16
+ - Changed from per-project embedded Caddy to standalone host-level Caddy recommendation
17
+ - Standalone Caddy owns ports 80/443 globally and terminates TLS for all domains
18
+ - Each project now exposes only internal ports (e.g., 3001, 3002) instead of forwarding 80/443
19
+ - Prevents port conflicts when users add more projects over time
20
+ - Updated plan summary and recommended next steps with proper Caddyfile routing examples
21
+
3
22
  ## [0.8.20] - 2026-05-08
4
23
 
5
24
  ### 🔄 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.20');
19
+ .version('0.8.22');
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.20",
3
+ "version": "0.8.22",
4
4
  "description": "Enhance prompts directly in your AI coding workflow",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -303,9 +303,33 @@ When Docker is used and a web server or reverse proxy is needed (e.g., for Larav
303
303
  - **Always use Caddy** as the web server and reverse proxy -- do NOT use or recommend Nginx or Apache.
304
304
  - Caddy automatically handles HTTPS (via Let's Encrypt or ZeroSSL) in production with zero extra configuration.
305
305
  - For local development, Caddy serves HTTP by default -- no certificate setup needed.
306
- - Add a `Caddyfile` at the project root and a `caddy` service in `docker-compose.yml`.
307
306
  - Mention Caddy in the final plan summary under the Docker/web server row and in the recommended next steps.
308
307
 
308
+ **Always use a standalone host-level Caddy** -- do NOT embed Caddy inside a project's `docker-compose.yml`. Even for a single project today, users commonly add more projects later, and a per-project Caddy would conflict on ports 80/443.
309
+
310
+ The correct setup:
311
+
312
+ 1. **One standalone Caddy on the host** (installed directly or in its own `docker-compose.yml` folder) owns ports 80/443 and terminates TLS for all domains.
313
+ 2. **Each project exposes only an internal port** (e.g., `3001`, `3002`) -- no `ports: - "80:80"` in their `docker-compose.yml`.
314
+ 3. The host Caddyfile routes by domain:
315
+
316
+ ```caddy
317
+ project-a.com {
318
+ reverse_proxy localhost:3001
319
+ }
320
+
321
+ project-b.com {
322
+ reverse_proxy localhost:3002
323
+ }
324
+ ```
325
+
326
+ During Step 9 (Deployment), ask whether Caddy is already running on the VPS:
327
+
328
+ - **Yes** -- skip installing Caddy. Just add a new block to the existing host Caddyfile for the new domain, then run `caddy reload`. Include only this step in the recommended next steps.
329
+ - **No** -- include the full Caddy install and Caddyfile setup in the recommended next steps.
330
+
331
+ Include the appropriate Caddy setup in the final plan summary and recommended next steps.
332
+
309
333
  ### Laravel + Docker Guidelines
310
334
 
311
335
  When the user chooses a Laravel stack (Bundle 3, 4, or 5) with Docker:
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.20');
21
+ .version('0.8.22');
22
22
 
23
23
  program
24
24
  .command('init')