Skip to content

Commit b636200

Browse files
committed
style(kiloclaw/kilo-chat): oxfmt LOCAL_E2E.md
1 parent 5695d3a commit b636200

1 file changed

Lines changed: 13 additions & 11 deletions

File tree

services/kiloclaw/plugins/kilo-chat/LOCAL_E2E.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ createServer(async (req, res) => {
7070
const auth = req.headers['authorization'];
7171
const sandbox = req.headers['x-kilo-sandbox-id'];
7272
const body = await readBody(req);
73-
console.log(`[upstream] ${req.method} ${url.pathname} sandbox=${sandbox} auth=${auth} body=${body}`);
73+
console.log(
74+
`[upstream] ${req.method} ${url.pathname} sandbox=${sandbox} auth=${auth} body=${body}`
75+
);
7476

7577
if (auth !== `Bearer ${EXPECTED_BEARER}`) return j(res, 401, { error: 'bad token' });
7678

@@ -132,16 +134,16 @@ docker run -d --rm --name kiloclaw-test \
132134

133135
Required env, summarised:
134136

135-
| var | purpose |
136-
|---|---|
137-
| `OPENCLAW_GATEWAY_TOKEN` | auth for controller `/_kilo/*` routes |
138-
| `KILOCODE_API_KEY` | onboarded into kilocode auth profile; model calls use it |
139-
| `KILOCLAW_FRESH_INSTALL=true` | forces onboard even if `/root` is non-empty |
140-
| `KILOCODE_DEFAULT_MODEL` | default model; `kilocode/kilo-auto/free` is free-tier |
141-
| `REQUIRE_PROXY_TOKEN=false` | skip `x-kiloclaw-proxy-token` on the catch-all proxy so webhook curls don't need it |
142-
| `KILOCHAT_API_TOKEN` | controller → upstream Bearer |
143-
| `KILOCHAT_WEBHOOK_SECRET` | HMAC-SHA256 key for inbound webhooks |
144-
| `KILOCHAT_BASE_URL` | upstream for the controller's PATCH/POST/DELETE routes |
137+
| var | purpose |
138+
| ----------------------------- | ----------------------------------------------------------------------------------- |
139+
| `OPENCLAW_GATEWAY_TOKEN` | auth for controller `/_kilo/*` routes |
140+
| `KILOCODE_API_KEY` | onboarded into kilocode auth profile; model calls use it |
141+
| `KILOCLAW_FRESH_INSTALL=true` | forces onboard even if `/root` is non-empty |
142+
| `KILOCODE_DEFAULT_MODEL` | default model; `kilocode/kilo-auto/free` is free-tier |
143+
| `REQUIRE_PROXY_TOKEN=false` | skip `x-kiloclaw-proxy-token` on the catch-all proxy so webhook curls don't need it |
144+
| `KILOCHAT_API_TOKEN` | controller → upstream Bearer |
145+
| `KILOCHAT_WEBHOOK_SECRET` | HMAC-SHA256 key for inbound webhooks |
146+
| `KILOCHAT_BASE_URL` | upstream for the controller's PATCH/POST/DELETE routes |
145147

146148
Controller comes up in ~3s; the openclaw gateway inside the container can take
147149
another ~5–10s to finish plugin load. Poll until the webhook route is live (any

0 commit comments

Comments
 (0)