import type { Renderable } from "@opentui/core" import type { SimulationProtocol } from "@opencode/simulation/protocol" type Definition = Omit const key = Symbol.for("opencode.simulation.semantics") const bind = (definition: () => Definition) => (renderable: Renderable) => { Object.defineProperty(renderable, key, { value: definition, configurable: true }) } export const SimulationSemantics = { bind }