How pknull/ccworkspace works
Inference Inc. is a Godot desktop visualizer for coding-agent sessions. The main workflow is transcript activity detection, event delivery to the office app, and animated agent activity in the virtual office; users can also arrange furniture and enable optional weather or MCP control. The graph includes the embedded terminal extension as an internal layer. README statements support the broad product flows, while sampled source confirms transcript parsing and the PTY/terminal implementation; several app integrations are unsampled, so their links are omitted or marked unverified.
Main entry points: Agent.gd Agent Simulation · pty.cpp PTY Transport · terminal.cpp Terminal Renderer · register_types.cpp Extension Registration
Components 30
Session Activity
- Transcript Watcher
agent-office/watcher.py - MCP Server
agent-office/scripts/McpServer.gd - TCP Server
agent-office/scripts/TCPServer.gd
Virtual Office
- Office Manager
agent-office/scripts/OfficeManager.gd - Agent Simulation
agent-office/scripts/Agent.gd - Agent Visuals
agent-office/scripts/AgentVisuals.gd - Furniture System
agent-office/scripts/FurnitureRegistry.gd - Office Navigation
agent-office/scripts/NavigationGrid.gd
Office Features
- Agent Appearance
agent-office/scripts/AppearanceRegistry.gd - Mood and Social
agent-office/scripts/AgentMood.gd - Office Cat
agent-office/scripts/OfficeCat.gd - Live Weather
agent-office/scripts/WeatherSystem.gd - Day Night Cycle
agent-office/scripts/WallClock.gd - Achievements
agent-office/scripts/AchievementSystem.gd - Settings
agent-office/scripts/SettingsRegistry.gd
Terminal Extension
- Terminal Panel
agent-office/addons/godot_xterm/editor_plugins/terminal/terminal_panel.gd - Terminal Renderer
agent-office/addons/godot_xterm/native/src/terminal.cpp - Terminal Interface
agent-office/addons/godot_xterm/native/src/terminal.h - PTY Transport
agent-office/addons/godot_xterm/native/src/pty.cpp - PTY Interface
agent-office/addons/godot_xterm/native/src/pty.h - Unix PTY Backend
agent-office/addons/godot_xterm/native/src/pty_unix.cpp - Unix PTY Interface
agent-office/addons/godot_xterm/native/src/pty_unix.h - Windows PTY Backend
agent-office/addons/godot_xterm/native/src/pty_win.cpp - Windows PTY Interface
agent-office/addons/godot_xterm/native/src/pty_win.h - Terminal Key Maps
agent-office/addons/godot_xterm/native/src/constants.cpp - Extension Registration
agent-office/addons/godot_xterm/native/src/register_types.cpp - Registration Interface
agent-office/addons/godot_xterm/native/src/register_types.h
Other components
- User
- Coding Harness
- Transcript Files
Connections 32
- Coding Harness → Transcript Files: writes sessions
README.md - Transcript Files → Transcript Watcher: reads activity
agent-office/watcher.py - Transcript Watcher → MCP Server: sends events
agent-office/watcher.py - MCP Server → Office Manager: controls office
- User → Office Manager: views office
README.md - Office Manager → Agent Simulation: manages agents
- Agent Simulation → Agent Visuals: animates agents
- Agent Simulation → Office Navigation: walks routes
- User → Furniture System: rearranges furniture
README.md - User → Agent Appearance: customizes agents
- Agent Simulation → Mood and Social: tracks fatigue
README.md - Agent Simulation → Office Cat: pets cat
README.md - User → Live Weather: enables weather
README.md - Live Weather → Settings: uses settings
- User → Day Night Cycle: sees local time
README.md - Agent Simulation → Achievements: earns progress
- User → Settings: configures app
README.md - User → MCP Server: enables control
README.md - User → Terminal Panel: opens terminal
- Terminal Panel → Terminal Renderer: displays terminal
- Terminal Renderer → Terminal Interface: implements interface
agent-office/addons/godot_xterm/native/src/terminal.cpp - PTY Transport → PTY Interface: implements interface
agent-office/addons/godot_xterm/native/src/pty.cpp - PTY Transport → Terminal Renderer: connects terminal
agent-office/addons/godot_xterm/native/src/pty.cpp - PTY Transport → Unix PTY Backend: dispatches Unix
agent-office/addons/godot_xterm/native/src/pty.cpp - PTY Transport → Windows PTY Backend: dispatches Windows
agent-office/addons/godot_xterm/native/src/pty.cpp - Unix PTY Backend → Unix PTY Interface: implements interface
agent-office/addons/godot_xterm/native/src/pty_unix.cpp - Windows PTY Backend → Windows PTY Interface: implements interface
agent-office/addons/godot_xterm/native/src/pty_win.cpp - Extension Registration → PTY Transport: registers class
agent-office/addons/godot_xterm/native/src/register_types.cpp - Extension Registration → Terminal Renderer: registers class
agent-office/addons/godot_xterm/native/src/register_types.cpp - Extension Registration → Registration Interface: implements interface
agent-office/addons/godot_xterm/native/src/register_types.cpp - Terminal Key Maps → PTY Interface: uses PTY types
agent-office/addons/godot_xterm/native/src/constants.cpp - Terminal Key Maps → Terminal Interface: uses terminal types
agent-office/addons/godot_xterm/native/src/constants.cpp