Durable coding-agent harnesses (Claude Code, Codex, OpenCode, Pi, fx) on a Workflow SDK World
/**
* The workspace runtime each harness's workspace tools are written on
* (runtime.ts; on a sandbox, sandbox-runtime.ts), the machine they run on
* (machine.ts) and where it runs (isolation.ts). No just-bash at import.
*/
export {
type CallMode,
describeTool,
EPHEMERAL_NOTE,
isWorkspaceTool,
RESET_NOTE,
type TurnPosition,
turnOf,
TurnWorkspaces,
VIRTUAL_NOTE,
type WorkspaceDescriptor,
workspaceInstructions,
type WorkspaceRuntime,
type WorkspaceRuntimeOptions,
workspaceRuntime,
type WorkspaceToolDef,
WORKSPACE_TOOL,
} from './runtime.ts';
export {
applyEditsToNormalizedContent,
isPiCodingAgentTool,
PI_CODING_AGENT_TOOLS,
PI_TOOL_DEFINITIONS,
type PiCodingTool,
piCodingTools,
type PiCodingToolsOptions,
prepareEditArguments,
} from './pi-tools.ts';
export {
type AttachedMachine,
IDLE_CLOSE_MS,
kernelSandbox,
type KernelSandboxTier,
NotRun,
type PhasedTool,
SANDBOX_INSTRUCTIONS,
SANDBOX_NOTE,
sandboxRuntime,
type SandboxRuntimeOptions,
stopsTheDrive,
} from './sandbox-runtime.ts';
export { createMachine, type Isolation, MACHINE_DEFAULTS, type MachineLimits, machineIsolation, type MachineOptions, VirtualMachine } from './isolation.ts';
export type { DirEntry, ExecOptions, ExecResult, FileBytes, PathStat, PathType, WalkEntry, WorkspaceMachine } from './machine.ts';
export { asContent } from './doc-workspace.ts';