platform/ implements the runtime kernel beneath Maka's business plugins: package loading, composition planning, SQLite state roots, Host service orchestration, guest script runtimes, OS sandboxing, Computer Use, and native NSH client support.
| Crate | Directory | Responsibility |
|---|---|---|
maka-plugin-core | plugin-core/ | Package manifests, composition graphs, contract schemas, and operation receipt types |
maka-packages | packages/ | Content-addressed .maka-plugin archive validation and immutable package store |
maka-capabilities | capabilities/ | Scoped Host capability handles (calls, files, HTTP, processes, PTYs, secrets, storage) |
maka-event-log | event-log/ | State Root lock, SQLite writer/reader lanes, two-phase operation journal, and checkpoints |
maka-host-runtime | host-runtime/ | Host deployment reconciliation, call admission, activation lifecycle, and local RPC server |
maka-js-runtime | js-runtime/ | Embedded V8 isolate management for Code Mode cells and guest JavaScript |
maka-host-js | host-js/ | JavaScript HostService adapter running on V8 |
maka-python-runtime | python-runtime/ | Bounded Monty subprocess worker for Python Code Mode cells |
maka-sandbox | sandbox/ | OS command isolation (macOS Seatbelt, Linux bubblewrap/netns, Windows MXC and job accounts) |
maka-process | process/ | Child process groups, pipes, ConPTY/Unix PTY streams, and physical cleanup tracking |
maka-network | network/ | TLS/HTTP client pool, proxy routing, and destination-restricted gateways |
maka-computer-use | computer-use/ | Independent JavaScript REPL driving native desktop accessibility and browser connectors |
maka-transport | transport/ | Framed local IPC and RPC streams between shells/CLIs and the Host |
maka-background-health | background-health/ | Liveness and resource probes for background tasks |
maka-presentation | presentation/ | Shared tool-activity and transcript presentation descriptors |
maka-ui-support | ui-support/ | File/clipboard snapshots and locale detection for the NSH workbench |
Core lifecycle crates (plugin-core, packages, capabilities, event-log, host-runtime) compile without V8 or the Agent engine so lightweight tools and native helpers avoid pulling in heavy guest runtimes.