mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-16 05:17:41 +02:00
Assemble the shared runtime prerequisite from the frozen Boat implementation, including its owning tests and the minimal computer target identity dependency. Co-Authored-By: Paperclip <noreply@paperclip.ing>
9 lines
455 B
TypeScript
9 lines
455 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");
|
|
}
|