Repository navigation
Finish PR72: MCP/agent tooling, painted-hall UI work, live Ollama+FastMCP fix - #73
Merged
Merged
Conversation
…d a live PGLite build fix Commits the accumulated working-tree changes for this branch (MCP server additions, ui-v2 gallery/keep-lib updates, docs, skills, farmer, schemas, CI workflow, misc repo housekeeping) plus fixes made while getting the live Keep app fully working end-to-end: - Fix Ollama endpoint box-local misconfiguration (was bound to the wrong loopback address; see AGENTS.md for the correct host on this box). - Point the FastMCP bridge at the already-running reclaw-platform-mcp service instead of leaving it unconfigured. - Add scripts/copy-pglite-assets.mjs and wire it into build/build:box: Nitro's server bundle was dropping PGLite's data/wasm files next to the bundled JS, so every DB-touching request threw ENOENT in a loop. Verified against a clean rebuild. Verified live via Playwright against the running ravenstack-keep-ui service: FastMCP badge connects, player movement + NPC dialogue work, and a live Ollama-generated reply came back grounded in the real room roster. No console/network errors on load or interaction. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
… first - Remove the HALL_LIGHTS pointlight sprites in the Great Hall scene. They rendered as flat, hard-edged color blobs overlapping the painted background instead of a soft torch glow — visually broken, not atmospheric. this.hallLights stays permanently empty; the existing flicker-update loop and pulseTorch() already no-op safely on an empty array, so nothing else needed changing. - diagnoseMechanicWorkbench (Valerie's Mechanic workbench) called Gemini directly, skipping the local-first Ollama path every other agent in the Keep uses. Now tries Ollama first and only falls through to Gemini (kept for its live googleSearch grounding, which Ollama can't do here) when the local model fails. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…l-calling loop Operator-approved 2026-09-22 (see catalog.ts): Corvid moves from draft to approved, gaining real external research tools his spec already described but never had wired up. - src/lib/keep/corvid-tools.ts (new): keyless web_search (DuckDuckGo HTML + Wikipedia opensearch, mirrors skills/lib/free_sources.py's proven approach rather than reinventing a weaker one) and browser_render (read-only page text via a standalone Playwright subprocess). - scripts/render-page.mjs (new): the browser_render backend. Deliberately a subprocess, not an import from src/ — keeps Playwright and its browser binary out of the Nitro server bundle entirely (the same class of bundler risk that broke PGLite). `browser-use` was tried first and dropped: it's a CDP *client* needing an already-running Chrome with a debug port, which nothing on this box provides; standing up a persistent Chrome+CDP service was a bigger, separate infra call than "wire up a tool". - src/lib/keep/ai.ts: talkCorvid() — a real Ollama tool-calling loop (qwen3:4b; the speced phi4-mini hint tested unreliable at actually invoking tools, verified live). Wires web_search, browser_render, query_knowledge, and oracle_verify as callable tools, loops on tool_calls up to 4 turns, and appends a Sources: line to the final reply. Every other persona's path (complete(): Ollama-first, Gemini fallback) is unchanged. - src/lib/keep/fastmcp.ts: added query_knowledge to the typed tool allowlist (it was already referenced in corvid's spec but not actually callable). - catalog.ts: corvid status draft -> approved, tools/gates updated to match what's now real, localHint corrected to qwen3:4b with the reason recorded. Also: public/hall/painted/talk-valerie.jpg replaced with the operator- supplied portrait (the placeholder looked wrong in her dialogue panel). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VGSarcwFyzfmiT46Cugans
…acle's talk scene - public/hall/portraits/valerie.jpg: replaced the low-res sprite crop (looked blocky/pixelated upscaled into the 112px dialogue portrait box) with the same operator-supplied portrait already used for her talk backdrop. - public/hall/painted/talk-oracle.webp (new) + world.ts: Oracle gets his own dedicated talk-scene backdrop and portrait, an operator-supplied green-eye-in-chains piece matching his existing in-scene palette (#39ff14). He was previously falling back to the shared generic talk-scene image (the one depicting Raziel) like every agent except Valerie — same root cause the operator flagged this session, now fixed for a second agent via the same talkScene mechanism Valerie already proved out. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VGSarcwFyzfmiT46Cugans
…as broken Applied the same fix from origin/main to finish-pr72 so PR #73 can deploy. 1. firebase was declared only in the root package.json, never in ui-v2's own. Vercel builds ui-v2 as its own project root, so firebase/app could not be resolved during the Vercel build. 2. ui-v2/package.json pinned @google/genai to ^0.2.0, whose GenerateContentConfig shape lacks the imageConfig field that ai.ts already uses. Bumped to ^2.18.0. Verified: npm install clean, typecheck passes, lint passes, ui-v2 vite build (Vercel preset) succeeds with firebase__auth.mjs and @google/genai.mjs present. Co-Authored-By: Claude Code <noreply@anthropic.com>
Keeps the npm lockfile aligned with ui-v2/package.json so CI's npm ci installs the same versions that now typecheck and build clean. Co-Authored-By: Claude Code <noreply@anthropic.com>
… bundle Vercel build was succeeding then failing with: Error: No Output Directory named "dist" found after the Build completed. Add ui-v2/vercel.json with framework=tanstack-start and outputDirectory=.vercel/output so Vercel picks up the Nitro Vercel preset output instead of defaulting to dist. Also update copy-pglite-assets.mjs to copy pglite.wasm / pglite.data / initdb.wasm into .vercel/output/functions/__server.func/_libs, which is where the bundled PGLite JS lands on Vercel. Previously it only copied to the local node-server preset path (.output/server/_libs) and silently skipped on Vercel. Verified: clean rm -rf .output .vercel/output && npm run build produces .vercel/output with the three PGLite assets next to electric-sql__pglite.mjs. Co-Authored-By: Claude Code <noreply@anthropic.com>
The Vercel project has rootDirectory=null, so it builds from the repository root. The previous ui-v2/vercel.json was ignored because Vercel reads vercel.json from the project root, not from a subdirectory. Move it to the repo root and point outputDirectory at ui-v2/.vercel/output where Nitro's Vercel preset writes the build. Co-Authored-By: Claude Code <noreply@anthropic.com>
This branch had an error being deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Commits the accumulated working-tree changes that had been sitting uncommitted on this branch since PR #72 merged (MCP server additions, ui-v2 gallery/keep-lib updates, docs, skills, farmer, schemas, CI workflow), plus fixes made while getting the live Keep app fully working end-to-end on the box.
Fixes included
ui-v2/.envhad it bound to the wrong loopback address on this host (AGENTS.md documents the correct one) — chat was silently failing closed.reclaw-platform-mcpservice.scripts/copy-pglite-assets.mjs, wired intobuild/build:box— Nitro's server bundle was dropping PGLite's data/wasm files next to the bundled JS, so every DB-touching request threwENOENTin a loop. Verified against a clean rebuild.Verification
Drove the live
ravenstack-keep-uiservice with Playwright: FastMCP badge connects, player movement + NPC dialogue work, and a live Ollama-generated reply came back grounded in the real room roster. No console/network errors on load or interaction.🤖 Generated with Claude Code