Files
PaperClipAI/packages/adapter-utils/src/execution-target-kind.ts
T
DottaandPaperclip f6aade3bae Add persistent Boat computer environments and runner ownership
Introduce company-scoped computer attachments, bounded runner and viewer ownership, persistent files and worktrees, Boat ingress, and native and legacy runtime integration behind the experimental Boat flag. Keep desktop UI and extended acceptance cases in the stacked feature branch.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-10 10:07:51 -05:00

10 lines
456 B
TypeScript

import type { AdapterCommandBackedExecutionTarget, AdapterExecutionTarget } from "./execution-target.js";
/** Command transport capability; sandbox allocation ownership is unchanged. */
export function adapterExecutionTargetIsCommandBacked(
target: AdapterExecutionTarget | null | undefined,
): target is AdapterCommandBackedExecutionTarget {
return target?.kind === "remote" && (target.transport === "sandbox" || target.transport === "computer");
}