@hamedb89/localghost 0.1.13 → 0.1.15

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
@@ -79,6 +79,8 @@ Localghost detects the package manager, prefers a non-recursive `dev:raw` script
79
79
  npm exec localghost -- --dry-run
80
80
  ```
81
81
 
82
+ Supported runtime flags such as `--https`, `--clean-caddy`, `--auto-repair`, and `--dynamic-port` are forwarded by the bare command to the underlying run lifecycle.
83
+
82
84
  Create the repo-local hostname contract:
83
85
 
84
86
  ```sh
@@ -140,6 +142,15 @@ localghost ps
140
142
  localghost ps --json
141
143
  ```
142
144
 
145
+ Give coding agents the supported workflow and repository conventions:
146
+
147
+ ```sh
148
+ localghost guide --agent
149
+ localghost guide --agent --json
150
+ ```
151
+
152
+ Localghost remembers project and instance port assignments in user-level state under `~/.localghost`. The registry is used only for Localghost-managed processes; the operating-system port check remains authoritative for unrelated processes.
153
+
143
154
  Check for updates:
144
155
 
145
156
  ```sh
@@ -417,7 +428,10 @@ export default defineLocalghostConfig({
417
428
  });
418
429
  ```
419
430
 
420
- ### Public Ghost Tunnel
431
+ ### Public Ghost Tunnel (Experimental)
432
+
433
+ > [!WARNING]
434
+ > Ghost Tunnel is experimental. Its configuration, transport protocol, and public APIs may change between releases. Do not rely on it for production-critical access, and review its authentication and network exposure before sharing a tunnel.
421
435
 
422
436
  `ghostTunnel` is an opt-in production URL shape for deployed wildcard endpoints. It does not change local Caddy or `/etc/hosts` setup.
423
437
 
@@ -579,6 +593,7 @@ localghost teardown [--project name] [--remove-caddyfile]
579
593
  localghost status [--ready] [--json]
580
594
  localghost ps [--json]
581
595
  localghost update [--json]
596
+ localghost release <patch|minor|major>
582
597
  localghost dev [--config file] [--config-pattern regex] [--https|--ssl] [--auto-repair yes|no] [--trust]
583
598
  localghost run [--config file] [--config-pattern regex] [--https|--ssl] [--auto-repair yes|no] [--trust] [--dynamic-port] -- command
584
599
  localghost routes [--https|--ssl]
@@ -614,6 +629,7 @@ import { localGhostPlugin } from "@hamedb89/localghost/vite";
614
629
  - GitHub Pages is deployed by Actions from the checked-in `site/`, `docs/`, and `assets/` sources.
615
630
  - Preview the exact Pages artifact locally with `npm run site:serve`, then open `http://127.0.0.1:4173/`.
616
631
  - npm publish is guarded by `prepublishOnly` and the release workflow publishes with npm provenance.
632
+ - To release the CLI, run `localghost release patch`, `localghost release minor`, or `localghost release major`. The command dispatches the **Release** workflow from `main`; it synchronizes version metadata, verifies the package and runtime matrix, commits and tags the bump, publishes npm, and creates a GitHub Release with generated notes. GitHub CLI must be installed and authenticated.
617
633
  - Runtime dependencies are intentionally small: `commander` and `execa`. Vite is an optional peer dependency.
618
634
  - No postinstall scripts, hidden Homebrew installs, surprise browser tabs, or broad hosts-file rewrites.
619
635
  - Update checks are best-effort, cached for 24 hours, and can be disabled with `LOCALGHOST_NO_UPDATE_CHECK=1` or `--no-update-check`.
@@ -624,7 +640,7 @@ import { localGhostPlugin } from "@hamedb89/localghost/vite";
624
640
  - [Rendered docs](https://hamedb89.github.io/localghost/docs/)
625
641
  - [User flows](./docs/flows.md)
626
642
  - [CLI reference](./docs/localghost.1.md)
627
- - [Ghost Tunnel guide](./docs/ghost-tunnel.md)
643
+ - [Ghost Tunnel guide (experimental)](./docs/ghost-tunnel.md)
628
644
  - [macOS widget notes](./docs/macos-widget.md)
629
645
  - [Brand guidelines](./docs/brand.md)
630
646