UNPKG

@luxorai/sandbox

Version:

TypeScript SDK for Luxor Sandbox: cloud sandboxes (microVMs) for AI agents on Luxor Agent Cloud

19 lines (18 loc) • 667 B
import { type RuntimeSecretFile as ProtoFile } from "./internal/proto/tenki/sandbox/v1/secret_file_pb.js"; export interface RuntimeSecretReference { name: string; placeholder?: boolean; } export type RuntimeSecretFile = { path: string; } & ({ raw: RuntimeSecretReference; } | { source: string; } | { content: string; }); export declare function secretFileToProto(file: RuntimeSecretFile): ProtoFile; export declare function validSecretFiles(files: ProtoFile[], count: number): boolean; /** Names in single-pass file markers; null means malformed or oversized text. */ export declare function secretFileNames(content: string): string[] | null;