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.

328 B
Raw Blame
import type { AuthUser } from '../lib/ssoAuth.js'

export interface ApiResponse<T> {
  success: boolean
  data?: T
  error?: { code: string; message: string }
}

// The internal identity resolved from the SSO access token by the auth middleware.
declare module 'fastify' {
  interface FastifyRequest {
    user?: AuthUser
  }
}