Expand description
MCP tools for VibeScript 0.1 engine: compilation, checking, formatting, evaluation, and invocation.
Exposes Vibe DSL parsing, typechecking, AST generation, bytecode compilation,
runtime evaluation, and capability invocation to support building software within
the QualiaDB ecosystem.
Follows AGENTS.md §0-B (<500 lines).
Functions§
- json_
to_ vibe - Converts
serde_json::Valueintovibe::Value. - vibe_
catalog vibe_catalogtool — queries the catalog of all bound VibeScript capability IDs.- vibe_
check vibe_checktool — parses and typechecks VibeScript source code. Returns syntax/type diagnostics, evidential bindings, and validation verdict.- vibe_
compile vibe_compiletool — compiles VibeScript source into stack-based bytecodeChunk. Returns disassembly, constants, metadata, and hex-encoded bytecode binary.- vibe_
eval vibe_evaltool — parses and evaluates VibeScript source code against the live snapshot.- vibe_
format vibe_formattool — canonical formatting of VibeScript declarations.- vibe_
invoke vibe_invoketool — invokes a capability by ID across logic, math, physics, audio, and studio domains.- vibe_
to_ json - Converts
vibe::Valueintoserde_json::Value.