openwrk 0.1.15 → 0.11.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 +24 -0
- package/dist/openwrk +0 -0
- package/package.json +6 -3
package/README.md
CHANGED
|
@@ -9,6 +9,13 @@ npm install -g openwrk
|
|
|
9
9
|
openwrk start --workspace /path/to/workspace --approval auto
|
|
10
10
|
```
|
|
11
11
|
|
|
12
|
+
When run in a TTY, `openwrk` shows an interactive status dashboard with service health, ports, and
|
|
13
|
+
connection details. Use `openwrk serve` or `--no-tui` for log-only mode.
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
openwrk serve --workspace /path/to/workspace
|
|
17
|
+
```
|
|
18
|
+
|
|
12
19
|
`openwrk` ships as a compiled binary, so Bun is not required at runtime.
|
|
13
20
|
|
|
14
21
|
`openwrk` downloads and caches the `openwork-server`, `owpenbot`, and `opencode` sidecars on
|
|
@@ -40,6 +47,23 @@ pnpm --filter openwrk dev -- \
|
|
|
40
47
|
|
|
41
48
|
The command prints pairing details (OpenWork server URL + token, OpenCode URL + auth) so remote OpenWork clients can connect.
|
|
42
49
|
|
|
50
|
+
Use `--detach` to keep services running and exit the dashboard. The detach summary includes the
|
|
51
|
+
OpenWork URL, tokens, and the `opencode attach` command.
|
|
52
|
+
|
|
53
|
+
## Logging
|
|
54
|
+
|
|
55
|
+
`openwrk` emits a unified log stream from OpenCode, OpenWork server, and Owpenbot. Use JSON format for
|
|
56
|
+
structured, OpenTelemetry-friendly logs and a stable run id for correlation.
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
OPENWRK_LOG_FORMAT=json openwrk start --workspace /path/to/workspace
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
Use `--run-id` or `OPENWRK_RUN_ID` to supply your own correlation id.
|
|
63
|
+
|
|
64
|
+
OpenWork server logs every request with method, path, status, and duration. Disable this when running
|
|
65
|
+
`openwork-server` directly by setting `OPENWORK_LOG_REQUESTS=0` or passing `--no-log-requests`.
|
|
66
|
+
|
|
43
67
|
## Router daemon (multi-workspace)
|
|
44
68
|
|
|
45
69
|
The router keeps a single OpenCode process alive and switches workspaces JIT using the `directory` parameter.
|
package/dist/openwrk
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openwrk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.15",
|
|
4
4
|
"description": "Headless OpenWork host orchestrator for OpenCode + OpenWork server + Owpenbot",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"opencodeVersion": "1.1.
|
|
6
|
+
"opencodeVersion": "1.1.51",
|
|
7
7
|
"bin": {
|
|
8
8
|
"openwrk": "dist/openwrk"
|
|
9
9
|
},
|
|
@@ -33,8 +33,11 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@opencode-ai/sdk": "^1.1.31",
|
|
36
|
+
"@opentui/core": "0.1.77",
|
|
37
|
+
"@opentui/solid": "0.1.77",
|
|
36
38
|
"openwork-server": "0.1.2",
|
|
37
|
-
"owpenwork": "0.1.19"
|
|
39
|
+
"owpenwork": "0.1.19",
|
|
40
|
+
"solid-js": "1.9.9"
|
|
38
41
|
},
|
|
39
42
|
"devDependencies": {
|
|
40
43
|
"@types/node": "^22.10.2",
|