CodeRunAvailability
Whether running is possible right now, and if not, why.
@internote/canvas-sdkOn this page
import { CodeRunAvailability } from '@internote/canvas-sdk';reason is reader-facing copy, which a console's empty state shows. kind is the machine's word: auth means the reader can fix it by signing in, unavailable means this host has nowhere to run.
#Signature
{
ok: true;
} | {
ok: false;
reason: string;
kind: "auth" | "unavailable";
}Declared in packages/canvas-sdk/src/runner/index.ts:26.