@whoz-oss/coday-web 0.0.0-workstream-setup.3 → 0.0.0-workstream-setup.4
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 +10 -3
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -63,7 +63,7 @@ otherwise the app opens directly.
|
|
|
63
63
|
(`AGENTOS_URL`) it probes that URL's `/management/health`, which is what the proxy targets.
|
|
64
64
|
- **The `status` pane.** The Nx TUI has no status bar, so a small dedicated task reads `runtime/state.json` and probes
|
|
65
65
|
the health URLs every second. It prints one line per meaningful change only: `agentos download 42%` (one line per
|
|
66
|
-
10%), `java ok` or the install hint, `agentos healthy :
|
|
66
|
+
10%), `java ok` or the install hint, `agentos healthy :8224`, `factory healthy :8241`, `agentos external <origin>`
|
|
67
67
|
for an `AGENTOS_URL`/`FACTORY_URL`, and `Open -> http://localhost:3000/welcome` on a first run (`/` once the setup is
|
|
68
68
|
done; then the line says `(once agentos is healthy)` and is repeated without that note when it is: same rule as
|
|
69
69
|
the browser). In the
|
|
@@ -81,6 +81,13 @@ otherwise the app opens directly.
|
|
|
81
81
|
All the logic lives in the server package (`apps/server/src/lib/runtime`, `lib/setup`); the Nx workspace is only a
|
|
82
82
|
manifest calling `coday-server provision|agentos|factory|server|status`.
|
|
83
83
|
|
|
84
|
+
### Ports
|
|
85
|
+
|
|
86
|
+
The packaged stack prefers its own ports: **AgentOS 8224, Factory 8241, AgentOS embedded Neo4j Bolt 7788** (each falls
|
|
87
|
+
back to the next free port, the choice is written to `runtime/state.json`). The dev ports **8124 (AgentOS), 8141
|
|
88
|
+
(Factory) and 7688 (Bolt) are reserved for dev mode** (`pnpm web:serve:dev`, `bootRun`), so a packaged instance and a
|
|
89
|
+
dev stack run side by side without colliding or picking up each other's services.
|
|
90
|
+
|
|
84
91
|
### Logs
|
|
85
92
|
|
|
86
93
|
Each process writes to its own file, in addition to its pane / the console:
|
|
@@ -180,8 +187,8 @@ pnpm server # Express with tsx watch only (4100)
|
|
|
180
187
|
|
|
181
188
|
`web:serve:dev` is a set of continuous Nx tasks: `client:serve` (4200), `factory-cockpit:serve` (4300),
|
|
182
189
|
`web:dev-server` (Express, 4100), `web:dev-agentos` (`agentos-service:bootRun`, 8124) and `web:dev-factory`
|
|
183
|
-
(`factory-service:bootRun`, 8141).
|
|
184
|
-
wizard is not shown: use `web:local -- --fresh` to test it.
|
|
190
|
+
(`factory-service:bootRun`, 8141). These are the dev-only ports; the packaged stack uses 8224 / 8241 (see *Ports*). The dev server uses the
|
|
191
|
+
external-service mode (`AGENTOS_URL`/`FACTORY_URL`), so the wizard is not shown: use `web:local -- --fresh` to test it.
|
|
185
192
|
|
|
186
193
|
### Building and testing
|
|
187
194
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@whoz-oss/coday-web",
|
|
3
|
-
"version": "0.0.0-workstream-setup.
|
|
3
|
+
"version": "0.0.0-workstream-setup.4",
|
|
4
4
|
"repository": "https://github.com/whoz-oss/coday",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
],
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"nx": "23.1.1",
|
|
16
|
-
"@whoz-oss/coday-
|
|
17
|
-
"@whoz-oss/coday-
|
|
18
|
-
"@whoz-oss/coday-server": "0.0.0-workstream-setup.
|
|
16
|
+
"@whoz-oss/coday-client": "0.0.0-workstream-setup.4",
|
|
17
|
+
"@whoz-oss/coday-factory-cockpit": "0.0.0-workstream-setup.4",
|
|
18
|
+
"@whoz-oss/coday-server": "0.0.0-workstream-setup.4"
|
|
19
19
|
},
|
|
20
20
|
"publishConfig": {
|
|
21
21
|
"access": "public"
|