Skip to content

Commit d97a634

Browse files
committed
latest
1 parent 2882977 commit d97a634

21 files changed

Lines changed: 1567 additions & 685 deletions

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,9 @@ report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json
3232

3333
# Finder (MacOS) folder config
3434
.DS_Store
35+
36+
37+
SPECS/
38+
_DOCS
39+
TODO.md
40+
REVIEW.md

ARCHITECTURE.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,4 @@ flowchart LR
118118
- Docker Compose is the execution substrate for predictability and portability.
119119
- Caddy routes by container label so there is no per-repo reverse proxy config.
120120
- Logs default to `docker compose logs` for speed, with Loki for history and filtering.
121-
- Config lives alongside each repo in `.hack/` to keep repos isolated and portable.
122-
123-
## Extension points (future-friendly)
124-
125-
- Log backends could be abstracted (`compose` / `loki` today).
126-
- A structured JSON output mode would enable UI and MCP integration.
127-
- A lightweight daemon could subscribe to Docker events for near-real-time UI updates.
121+
- Config lives alongside each repo in `.hack/` to keep repos isolated and portable.

README.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -296,10 +296,6 @@ hack logs --project my-project --pretty
296296
hack up --project my-project
297297
```
298298

299-
300-
301-
302-
303299
## .hack and valid tld requirements
304300

305301
OAuth providers (notably Google) require `localhost` or a host that ends with a real public suffix.
@@ -329,6 +325,7 @@ outside of Caddy.
329325
- Other OS: run `hack global ca` to export the CA cert path, then add it to your OS/browser trust store.
330326
- If you need the PEM directly: `hack global ca --print`.
331327
- If you are running a local service outside of Caddy, use `hack global cert <host...>` (mkcert required) to generate a cert/key under `~/.hack/certs` and wire it into your service. This is only needed for non-Caddy services that still want trusted TLS.
328+
- macOS: `hack global install` can optionally install mkcert (needed for `hack global cert`).
332329

333330
Install mkcert if you don't already have it (macOS example):
334331

@@ -444,6 +441,13 @@ hack --help
444441
```
445442
This builds `dist/hack` via `bun build --compile` and installs it to `~/.hack/bin/hack`.
446443

444+
### Check which install is active
445+
446+
```bash
447+
bun run install:status
448+
```
449+
Reports whether `hack` is a dev shim or a compiled binary (and where it points).
450+
447451

448452
### Run in place
449453

@@ -464,6 +468,13 @@ bun run build
464468
./dist/hack --help
465469
```
466470

471+
### Build a release bundle
472+
473+
```bash
474+
bun run build:release
475+
```
476+
Produces `dist/release/hack-<version>/` with `install.sh`, assets, and checksums.
477+
467478
### Packaging note (gum)
468479

469480
The repo ships gum tarballs under `binaries/gum/`. In packaged builds, ship `binaries/` alongside the binary (or set `HACK_ASSETS_DIR`).

REVIEW.md

Lines changed: 0 additions & 43 deletions
This file was deleted.

SPECS/log-streaming.md

Lines changed: 0 additions & 146 deletions
This file was deleted.

SPECS/mac-app.md

Lines changed: 0 additions & 72 deletions
This file was deleted.

0 commit comments

Comments
 (0)