Skip to content

Durable coding-agent harnesses (Claude Code, Codex, OpenCode, Pi, fx) on a Workflow SDK World

2.1 KB
Raw Blame
export { FakeJob, FakeSandbox, FakeSandboxProvider } from './fake-sandbox.ts';
export type { FakeReportSink, FakeSandboxOptions } from './fake-sandbox.ts';
export { handleSandboxResult, mintResultToken, verifyResultToken } from './callback.ts';
export type { ResultTokenPayload, SandboxResultOptions } from './callback.ts';
export { collectParked, computeSettlement, formatResult, lostSettlement, sandboxOwnerPolicy } from './sandbox-collect.ts';
export type { SandboxOwnerPolicyOptions } from './sandbox-collect.ts';
export { JOB_ROOT, jobDirFor, jobFiles, MAX_REPORT_BYTES, parseReport, WRAPPER } from './sandbox-job.ts';
export {
  createGatewayModel,
  withFetch,
  HYBRID_FX_HARNESS,
  HYBRID_HARNESS,
  HYBRID_HARNESSES,
  HYBRID_MODEL,
  HYBRID_SYSTEM_PROMPT,
  hybridHandsOf,
  hybridSystemPrompt,
  hybridFxConfigHash,
  hybridFxHarness,
  LIBFX_VERSION,
  hybridHarness,
  isHybridHarness,
} from './harness.ts';
export type { HybridFxHarnessOptions, HybridFxSettings, HybridHarnessOptions } from './harness.ts';
export {
  type ExecOptions,
  type ExecResult,
  type Inspection,
  type KeepaliveResult,
  type SandboxJob,
  type SandboxOwner,
  type SandboxReport,
  type Manifest,
  type ManifestOptions,
  JOB_READ_LIMITS,
  type JobFiles,
  type JobParts,
  SANDBOX_SKIP_DIRS,
  type SandboxHandle,
  SandboxLostError,
  type SandboxProvider,
  sandboxNameFor,
  SYNC_LIMITS,
  underRoot,
  syncIn,
  syncOut,
  trackedPaths,
} from './sandbox-sync.ts';
export {
  BASH_DESCRIPTION,
  cleanUpPriorAttempt,
  commandSeconds,
  customerRecord,
  DEFAULT_COMMAND_SECONDS,
  HYBRID_HANDS,
  hybridTools,
  isHybridHands,
  LOOKUP_CUSTOMER_DESCRIPTION,
  RUN_ON_MACHINE_DESCRIPTION,
  runOnMachineTool,
} from './tools.ts';
export type { HybridHands, HybridToolsEnv } from './tools.ts';
export {
  createTokenSource,
  type DirectCredentials,
  directHeaders,
  GATEWAY_CORS_HEADERS,
  GATEWAY_URL,
  type GatewayFetch,
  type GatewayFetchOptions,
  gatewayFetch,
  type GatewayRoute,
  type GatewayStatus,
  jwtClaims,
  probeGateway,
  type TokenSource,
  type TokenSourceOptions,
  tokenTimes,
} from './gateway.ts';