@sandagent/daemon 0.9.8 → 0.9.9
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 +5 -1
- package/dist/bundle.mjs +1088 -1085
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -23,6 +23,10 @@ The same `@sandagent/daemon` package works in both modes — Next.js embed for l
|
|
|
23
23
|
|
|
24
24
|
The Dockerfiles under `docker/sandagent-claude/` (`Dockerfile`, `Dockerfile.local`, `Dockerfile.template`) install `@sandagent/daemon` and start **`sandagent-daemon`** in the background when the container starts (alongside the existing CDP / `sandagent` CLI setup). The HTTP API listens on **`0.0.0.0:3080`** by default (`EXPOSE 3080`). Override with `SANDAGENT_DAEMON_HOST`, `SANDAGENT_DAEMON_PORT`, and `SANDAGENT_ROOT` if needed.
|
|
25
25
|
|
|
26
|
+
### Runner environment
|
|
27
|
+
|
|
28
|
+
`POST /api/coding/run` starts the runner with the daemon process **`process.env`**. Configure API keys and runner settings on the daemon (or container image env), not via per-request HTTP headers from `@sandagent/manager`.
|
|
29
|
+
|
|
26
30
|
---
|
|
27
31
|
|
|
28
32
|
## Architecture
|
|
@@ -411,7 +415,7 @@ GET /healthz
|
|
|
411
415
|
| Variable | Default | Description |
|
|
412
416
|
|----------|---------|-------------|
|
|
413
417
|
| `SANDAGENT_DAEMON_PORT` | `3080` | Listen port |
|
|
414
|
-
| `SANDAGENT_ROOT` |
|
|
418
|
+
| `SANDAGENT_ROOT` | `./.sandagent-daemon` (under cwd) | Daemon filesystem root; Docker images set e.g. `/workspace` |
|
|
415
419
|
| `ANTHROPIC_API_KEY` | — | For claude runner |
|
|
416
420
|
| `GEMINI_API_KEY` | — | For gemini / pi runner |
|
|
417
421
|
| `OPENAI_API_KEY` | — | For codex runner |
|