@threadbase-sh/streamer 1.91.0 → 1.91.1
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 +11 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -33,6 +33,15 @@ npm run build
|
|
|
33
33
|
node dist/cli.cjs serve --verbose --local-no-auth
|
|
34
34
|
```
|
|
35
35
|
|
|
36
|
+
That is the interactive path: same `~/.threadbase/` as a supervised install (`server.yaml`, cache, `runtime.db`), but it will prompt if port 8766 is already taken. `--prod` skips those prompts and the prod-takeover flow; it is not a separate environment. To run the checkout as launchd would:
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
tb-streamer prod stop
|
|
40
|
+
node dist/cli.cjs serve --port 8766 --verbose --prod
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
Restore the supervised instance with `tb-streamer prod start`. Detail: [docs/guides/prod-dev-lifecycle.md](docs/guides/prod-dev-lifecycle.md).
|
|
44
|
+
|
|
36
45
|
#### Server address
|
|
37
46
|
|
|
38
47
|
By default, the server listens on port `8766` on all interfaces (WebSocket path: `/ws`).
|
|
@@ -61,7 +70,8 @@ npm test # run tests
|
|
|
61
70
|
npm run lint # type-check + lint
|
|
62
71
|
npm run format # auto-format
|
|
63
72
|
npm run build # build ESM/CJS + copy migrations
|
|
64
|
-
npm run dev # watch
|
|
73
|
+
npm run dev # tsup watch only — does not start the server
|
|
74
|
+
npm run dev:verbose # build + serve without --prod; tee to ~/.threadbase/logs/dev.log
|
|
65
75
|
npm run migrate # apply SQLite migrations
|
|
66
76
|
npm run db:validate # check for missing/duplicate/orphaned project_id data
|
|
67
77
|
```
|
package/package.json
CHANGED