Skip to content

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

8 Commits

Folders and files

Repository files navigation

🐚 Plato's Shell IDE

The IDE is the ship. The MUD is the terminal. The ScummVM is the canvas. A2UI is the nervous system that learns.

A VS Code / Eclipse Theia extension that turns the IDE into a game world. The MUD terminal is a real terminal. The ScummVM preview is a real webview. The room inspector is a real tree view. The A2UI event logger records every action to learn the user's habits. The shell doesn't wait to be found β€” it grows around you.

Repo: SuperInstance/platos-shell-ide Version: 0.1.0 Β· VS Code: 1.85+ Β· Theia: 1.43+ Β· Open VSX: Compatible


Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                    VS Code / Theia                       β”‚
β”‚                                                         β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚
β”‚  β”‚  MUD     β”‚  β”‚  ScummVM     β”‚  β”‚  Room Inspector  β”‚  β”‚
β”‚  β”‚  Terminalβ”‚  β”‚  Preview     β”‚  β”‚  (Tree View)     β”‚  β”‚
β”‚  β”‚  Profile β”‚  β”‚  (Webview)   β”‚  β”‚                  β”‚  β”‚
β”‚  β””β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚
β”‚       β”‚                β”‚                    β”‚            β”‚
β”‚       β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜            β”‚
β”‚                        β”‚                                 β”‚
β”‚                β”Œβ”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”                        β”‚
β”‚                β”‚  A2UI Event    β”‚                        β”‚
β”‚                β”‚  Logger        β”‚                        β”‚
β”‚                β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                        β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
         β”‚
         β–Ό
  SharedWorldStore (WebSocket)

Components

1. MUD Terminal β€” src/mud-terminal-provider.ts

Registers "Plato MUD" as a custom terminal profile. Spawns the MUD process inside a VS Code integrated terminal. Green phosphor ANSI aesthetic. Connects to SharedWorldStore via WebSocket. Parses verb input through VerbResolver.

2. ScummVM Preview β€” src/scummvm-preview.ts

Webview panel showing the game's visual rendering. Connects to the Phaser dev server. Vite HMR hot-reloads on file save β€” the preview updates instantly. No alt-tab between building the world and standing inside it.

3. Room Inspector β€” src/room-inspector.ts

Tree view in the activity bar sidebar showing the game world hierarchy: rooms, objects, agents, exits. Click a verb to execute it in the MUD. Click an object to open its source file. Click an exit to navigate.

🏠 Bar-Rail (current room)
  πŸ“¦ Objects
    🎡 Jukebox [playing]
    πŸšͺ Door (Aft Deck) [closed]
  πŸ€– Agents
    πŸ‘€ Riker [idle]
  πŸ“œ Exits
    β†’ aft-deck
    β†’ radio-room

4. A2UI Event Logger β€” src/a2ui/

The observation layer of the Agent-to-UI learning system. Records all user actions within the IDE:

  • Which verbs the user uses most β†’ predictive verb highlighting
  • Which files they open after playing a room β†’ smart file navigation
  • Navigation patterns between MUD/editor/preview β†’ workflow optimization
  • Error patterns (failed verbs, broken hotspots) β†’ debugging hints
  • Timing patterns (reading time, edit time) β†’ UI pacing
User Action β†’ Event Logger β†’ Event Log (JSONL)
                                 ↓
                           A2UI Model (Phase 4)
                                 ↓
                           UI Adaptation
                                 ↓
                           New User Actions
                                 ↓
                           (feedback loop)

Commands

Command Description
Plato: Start MUD Terminal Opens a MUD terminal session
Plato: Open ScummVM Preview Opens the game preview webview
Plato: Refresh Room Inspector Refreshes the tree view
Plato: Execute Verb Quick-pick verb selector
Plato: Show A2UI Status Shows event logger statistics

Configuration

{
  "platosShell.mudCommand": "node",
  "platosShell.mudArgs": ["plato-mud/index.js"],
  "platosShell.previewUrl": "http://localhost:5173",
  "platosShell.worldStoreWsUrl": "ws://localhost:8787",
  "platosShell.a2uiEnabled": true
}

Development

npm install
npm run compile    # TypeScript β†’ out/
npm test           # Jest tests

Press F5 in VS Code to launch an Extension Development Host with the extension loaded.


Fleet Connections

The IDE IS the shell β€” and it connects to the entire fleet:


The Hermit Crab Connection

The hermit crab doesn't find this shell β€” the shell grows around it. The A2UI event logger watches how you work: which verbs you use, which rooms you visit, which files you open. Over time, the IDE adapts: predictive verb highlighting, smart file navigation, room-specific autocomplete. The shell becomes a habitat.

See: mud-engine (hermit-crab package) β†’ the-tap β†’ platos-shell β†’ platos-shell-ide β†’ AI-Writings.


The Mirror Connection

The IDE is also The Mirror β€” zeroclaw's dark twin. Where zeroclaw reflects the agent back at itself, the A2UI logger reflects the developer back at themselves. Both are observation systems. Both learn by watching.


Research

  • RESEARCH.md β€” Full research findings on VS Code/Theia extension architecture, terminal profile API, webview compatibility, and dual-platform deployment strategy

Status

v0.1.0 β€” Research complete, core architecture implemented (1,305 lines across 6 source files), not yet deployed to Open VSX. Phase 1 of A2UI (raw logging). See RESEARCH.md for the full roadmap.

A2UI Phasing

Phase Status Description
1 βœ… Implemented Raw event logging
2 Planned Basic statistics (most-used verbs, most-visited rooms)
3 Planned Local model for predictions
4 Planned Full adaptive UI

License

MIT Β© SuperInstance

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages