You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Audited every markdown file against everything that landed today, including the
work that was not mine.
`docs/coworkers.md` still told people to point `MANAGED_AGENT_AG_UI_URL` at
`4200`. #33 made `agent-langgraph` on `4201` the default precisely because the
proof-of-concept hand-writes the protocol and leaves the tool loop to whatever is
watching, so following that page produced the shape the change moved away from.
Three environment variables the server reads were in `.env.example` and nowhere
in the configuration reference: `AGENT_STALL_TIMEOUT_MS` from #19, which is the
only thing that notices a Bot's stream going silent; `AGENT_TOOL_TOKEN` from #34,
without which no framework Bot may call a granted tool back; and `APP_DIST_DIR`,
which the container sets so one process serves both halves.
Both documentation indexes had fallen behind their own directory and listed
neither `deployment.md` nor `releasing.md`.
`docs/development.md` gains the migration workflow the checks in #64 now enforce:
never hand-edit a generated migration, write a data step with `--custom`, and
what to do when `drizzle-kit migrate` hangs and exits non-zero with nothing
printed, which is the journal naming a file a rebase renamed. `drizzle-kit check`
calls that state fine, because it compares schemas rather than asking whether the
journal and the directory agree.
The README keeps its shape: what this is, how to run it, how to deploy it, and
where to read the rest.
Copy file name to clipboardExpand all lines: docs/configuration.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,20 @@ All four Intelligence values are required together. Missing any of them stops se
46
46
|`GOOGLE_GENERATIVE_AI_BASE_URL`| unset | Google-compatible endpoint that key is spent against. |
47
47
|`BOT_MODEL`| provider default from Bot code/env | Model used by the shipped Bots. |
48
48
|`BOT_RESPONSES_API`|`false`| Makes `agent-langgraph` use the OpenAI Responses API. |
49
+
|`AGENT_STALL_TIMEOUT_MS`| unset (off) | How long a Bot's stream may produce nothing before the turn is ended for it. |
50
+
|`AGENT_TOOL_TOKEN`| unset | The secret a framework Bot presents when it calls a granted tool back through this server. |
51
+
|`APP_DIST_DIR`| unset | Where the built app is, when this process serves it. Set inside the container image; unset in development, where Vite serves the app. |
52
+
53
+
**`AGENT_STALL_TIMEOUT_MS`** watches for the failure a Bot has that nothing else in the trail can
54
+
show: a stream that stops producing anything. Every other audit row is something that happened, and
55
+
this one is the absence of anything happening, which leaves no trace of its own. Ending the turn
56
+
writes `agent.stream_stalled`. Unset or `0` switches it off and nothing is watched. `.env.example`
57
+
ships `60000`, so a new clone has it on and an upgraded deployment does not acquire it unasked.
58
+
59
+
**`AGENT_TOOL_TOKEN`** exists because a framework Bot runs its own loop in its own process and still
60
+
may not reach a vendor directly. It calls the deployment that granted the tool, which is where the
61
+
grant, the policy and the audit row live. Absent, no Bot may call tools back, and it is told so
0 commit comments