From e51a7ba1b5106066dab687c054ac6630a4027b14 Mon Sep 17 00:00:00 2001 From: mawkone Date: Tue, 2 Jun 2026 12:53:45 -0700 Subject: [PATCH] docs: proactively document the auto-surfaced 'logs' property inside the dev_server_start schema description --- vibn-frontend/lib/ai/vibn-tools.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vibn-frontend/lib/ai/vibn-tools.ts b/vibn-frontend/lib/ai/vibn-tools.ts index e90f061..e7cad6e 100644 --- a/vibn-frontend/lib/ai/vibn-tools.ts +++ b/vibn-frontend/lib/ai/vibn-tools.ts @@ -1397,7 +1397,8 @@ After this returns, ALWAYS call apps_deploy { uuid } to regenerate the live Trae name: "dev_server_start", description: "Launch a long-running process inside the dev container (e.g. `npm run dev`, `python -m http.server`). " + - "Returns a preview URL the user can open in a browser. The process keeps running across shell.exec calls. " + + "Returns a preview URL the user can open in a browser. On failure (ok=false), the tool automatically returns the latest 50 lines of server logs in the 'logs' field - read this field immediately to locate compilation or type errors. " + + "The process keeps running across shell.exec calls. " + "IMPORTANT: bind your server to 0.0.0.0 — we set HOST=0.0.0.0 + PORT= automatically, but verify the framework respects them.", parameters: { type: "OBJECT",