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.

757 B
Raw Blame
/** Inline compatibility composition. Supervised core must not import this module. */
import type { RegisteredSession } from './registry.js'
import { runtimeFor } from '../engines/runtime.js'
import { RuntimeProfileState } from './runtimeProfileState.js'

export * from './runtimeProfileState.js'
export { codexEffortAllowed } from '../engines/codex/runtimeProfile.js'

export function supportsNativeRuntimeControl(session: RegisteredSession): boolean {
  return !session.gateway && (runtimeFor(session.engine)?.supportsControl(session) ?? false)
}

export class RuntimeProfileManager extends RuntimeProfileState {
  constructor() { super(runtimeFor) }
}

export { parseCursorModelsOutput, type CursorModelTarget } from '../engines/cursor/profileReader.js'