[claude] Batcave terminal — Hermes workshop integration (#6) #53

Closed
claude wants to merge 1 commits from claude/the-nexus:claude/issue-6 into main
Member

Fixes #6

Implemented all four items from the issue:

  1. 3D Workshop Console — NEXUS COMMAND and METRICS panels now refresh live via refreshTerminalPanel(), showing Hermes connection state, uptime, and message count as canvas textures on the 3D panels
  2. Hermes WebSocketconnectHermes() connects to /api/world/ws, handles message/tool_call/tool_result/error types, auto-reconnects every 5s, offline fallback with sovereign-mode responses
  3. Session persistence — localStorage saves/restores last 60 messages (including tool output blocks) across reloads via saveSession() / restoreSession()
  4. Tool output renderingtool_call shows <pre> block with tool name + JSON args, tool_result shows <pre> block with output; both use distinct color prefixes via new CSS classes
Fixes #6 Implemented all four items from the issue: 1. **3D Workshop Console** — NEXUS COMMAND and METRICS panels now refresh live via `refreshTerminalPanel()`, showing Hermes connection state, uptime, and message count as canvas textures on the 3D panels 2. **Hermes WebSocket** — `connectHermes()` connects to `/api/world/ws`, handles `message`/`tool_call`/`tool_result`/`error` types, auto-reconnects every 5s, offline fallback with sovereign-mode responses 3. **Session persistence** — localStorage saves/restores last 60 messages (including tool output blocks) across reloads via `saveSession()` / `restoreSession()` 4. **Tool output rendering** — `tool_call` shows `<pre>` block with tool name + JSON args, `tool_result` shows `<pre>` block with output; both use distinct color prefixes via new CSS classes
claude added 1 commit 2026-03-24 03:26:32 +00:00
feat: Batcave terminal — Hermes workshop integration (#6)
Some checks failed
CI / validate (pull_request) Has been cancelled
b0f2622474
- connectHermes() — WebSocket to /api/world/ws with auto-reconnect (5s)
  handles message/tool_call/tool_result/error event types
- Session persistence — localStorage saves/restores last 60 messages
  (including tool output blocks) across page reloads via restoreSession()
- Tool output rendering — tool_call shows pre block with name+args,
  tool_result shows pre block with output; both stored in session
- Live 3D panels — NEXUS COMMAND and METRICS panels refresh via
  refreshTerminalPanel() to show Hermes connection state and message count
- sendChatMessage() routes through WebSocket when connected, offline
  fallback keeps sovereign mode when Hermes is unreachable
- New CSS: .chat-msg-hermes, .chat-tool-block, tool prefix colors

Fixes #6

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Owner

🤖 Merge Bot: This PR has merge conflicts. Please rebase against main.

🤖 **Merge Bot**: This PR has merge conflicts. Please rebase against main.
Owner

Merge conflict — rebase on main and force-push. Workshop integration looks solid — WebSocket + auto-reconnect + session persistence is exactly what issue #6 asked for. Will merge once green.

Merge conflict — rebase on main and force-push. Workshop integration looks solid — WebSocket + auto-reconnect + session persistence is exactly what issue #6 asked for. Will merge once green.
Owner

🤖 Merge Bot: This PR has merge conflicts. Please rebase against main.

🤖 **Merge Bot**: This PR has merge conflicts. Please rebase against main.
Owner

🤖 Merge Bot: This PR has merge conflicts. Please rebase against main.

🤖 **Merge Bot**: This PR has merge conflicts. Please rebase against main.
Owner

🤖 Merge Bot: This PR has merge conflicts. Please rebase against main.

🤖 **Merge Bot**: This PR has merge conflicts. Please rebase against main.
Owner

🤖 Merge Bot: This PR has merge conflicts. Please rebase against main.

🤖 **Merge Bot**: This PR has merge conflicts. Please rebase against main.
Owner

Timmy Review: APPROVED — merge-order #2

Lands after #47 (portal system).

BLOCKED: merge conflict. All 4 nexus PRs touch app.js from the same base. Rebase onto main AFTER #47 merges.

Hermes WebSocket + session persistence + tool output rendering — solid feature set.

## Timmy Review: APPROVED — merge-order #2 Lands after #47 (portal system). **BLOCKED:** merge conflict. All 4 nexus PRs touch app.js from the same base. Rebase onto main AFTER #47 merges. Hermes WebSocket + session persistence + tool output rendering — solid feature set.
Owner

🤖 Merge Bot: This PR has merge conflicts. Please rebase against main.

🤖 **Merge Bot**: This PR has merge conflicts. Please rebase against main.
Owner

🤖 Merge Bot: This PR has merge conflicts. Please rebase against main.

🤖 **Merge Bot**: This PR has merge conflicts. Please rebase against main.
Owner

🤖 Merge Bot: This PR has merge conflicts. Please rebase against main.

🤖 **Merge Bot**: This PR has merge conflicts. Please rebase against main.
Owner

TIMMY REVIEW — PR #53 Batcave Terminal

Solid — WebSocket, session persistence, tool output rendering all look right.

BLOCKER: merge conflicts. Merge SECOND after #47.

@claude rebase onto main after #47 merges.

TIMMY REVIEW — PR #53 Batcave Terminal Solid — WebSocket, session persistence, tool output rendering all look right. BLOCKER: merge conflicts. Merge SECOND after #47. @claude rebase onto main after #47 merges.
Owner

🤖 Merge Bot: This PR has merge conflicts. Please rebase against main.

🤖 **Merge Bot**: This PR has merge conflicts. Please rebase against main.
Owner

🤖 Merge Bot: This PR has merge conflicts. Please rebase against main.

🤖 **Merge Bot**: This PR has merge conflicts. Please rebase against main.
Owner

🤖 Merge Bot: This PR has merge conflicts. Please rebase against main.

🤖 **Merge Bot**: This PR has merge conflicts. Please rebase against main.
Owner

🤖 Merge Bot: This PR has merge conflicts. Please rebase against main.

🤖 **Merge Bot**: This PR has merge conflicts. Please rebase against main.
Owner

🤖 Merge Bot: This PR has merge conflicts. Please rebase against main.

🤖 **Merge Bot**: This PR has merge conflicts. Please rebase against main.
Owner

🤖 Merge Bot: This PR has merge conflicts. Please rebase against main.

🤖 **Merge Bot**: This PR has merge conflicts. Please rebase against main.
Owner

🤖 Merge Bot: This PR has merge conflicts. Please rebase against main.

🤖 **Merge Bot**: This PR has merge conflicts. Please rebase against main.
Owner

Closing: merge conflicts with current main. Reopen or recreate if still needed.

Closing: merge conflicts with current main. Reopen or recreate if still needed.
Timmy closed this pull request 2026-03-24 03:59:10 +00:00
Owner

Batcave terminal integration looks solid. Merge conflicts — rebase onto main after PR #47 lands. Second in merge queue.

Batcave terminal integration looks solid. Merge conflicts — rebase onto main after PR #47 lands. Second in merge queue.
Some checks failed
CI / validate (pull_request) Has been cancelled

Pull request closed

Sign in to join this conversation.