feat: add Kimi & Perplexity as visible Workshop agents (#11)

- Add Kimi (Long Context Analysis) and Perplexity (Real-time Research)
  to AGENT_DEFS with specialization and external flags
- Build distinct 3D bodies for each: Kimi gets a tapered hexagonal
  obelisk with 3 orbiting torus rings; Perplexity gets an icosahedron
  core with wireframe shell and 4 orbiting dot spheres
- Animate 3D bodies each frame: orbit speed and light intensity scale
  with agent state (idle = dim/slow, active/working = bright/fast)
- Track _extAgentStates and sync via setAgentState/applyAgentStates
- Add kimi and perplexity to server-side world-state initial states
- HUD labels pick up both agents automatically via AGENT_DEFS iteration
- Store specialization per label; show in inspect popup
- Export setAgentLastTask from hud-labels for last-task tooltip
- Call setAgentLastTask on job_completed events in websocket handler

Fixes #11
This commit is contained in:
Alexander Whitestone
2026-03-23 16:36:16 -04:00
parent e41d30d308
commit 1c17b09e09
5 changed files with 214 additions and 10 deletions

View File

@@ -16,7 +16,7 @@ const DEFAULT_TIMMY: TimmyState = {
const _state: WorldState = {
timmyState: { ...DEFAULT_TIMMY },
agentStates: { alpha: "idle", beta: "idle", gamma: "idle", delta: "idle" },
agentStates: { alpha: "idle", beta: "idle", gamma: "idle", delta: "idle", kimi: "idle", perplexity: "idle" },
updatedAt: new Date().toISOString(),
};