Replace OpenCode harness with Hermes, remove workspace dependency, and move vocabulary/corrections to app folder

This commit is contained in:
Adolfo Reyna
2026-08-09 21:35:52 -04:00
parent 6e8a578e86
commit 2f181ff4f1
25 changed files with 2395 additions and 436 deletions
+11
View File
@@ -95,6 +95,12 @@ class ClaudeCodeLLM(FrameProcessor):
else:
await self.push_frame(frame, direction)
def start_turn_direct(self, text: str):
utterance = text.strip()
if not utterance:
return
self.create_task(self._maybe_start_turn(utterance))
async def _connect(self):
if self._client:
return
@@ -174,6 +180,11 @@ class ClaudeCodeLLM(FrameProcessor):
for block in message.content:
if isinstance(block, ToolUseBlock):
logger.info(f" [tool] {block.name}")
try:
import web_server
web_server.broadcast_event("tool", {"name": block.name, "detail": str(getattr(block, "input", ""))})
except Exception:
pass
await self._say_working(spoken)
elif isinstance(block, TextBlock) and not self._streams_partials():
spoken.append(block.text)