Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

545 B
Raw Blame
import type { ModelControlCheck, ModelControlInput } from '../engines/facets/modelControl.js'
import type { RegisteredSession } from './registry.js'

/** Bound before the controller's first await. No worker owns the transaction or its input lease. */
export interface ModelControlSession {
  validate(check: Omit<ModelControlCheck, 'session' | 'catalog'>): Promise<void>
  apply(input: Omit<ModelControlInput, 'session' | 'catalog'>): Promise<void>
}
export type ModelControlFor = (session: RegisteredSession) => ModelControlSession | undefined