Adapters

_archivesourcetypescript
Path: _archive/loom-stale-pre-sprint-snapshot/src/execution/adapters.tsRelative: loom-stale-pre-sprint-snapshot/src/execution/adapters.tsSubproject: _archiveCategory: archived
Lines: 118Bytes: 4,160Imports: 7Exports: 7

Content Preview

  1. import { drizzle } from "drizzle-orm/d1";
  2. import { memoryRecords, traceEvents } from "../db/schema";
  3. import { withRetry } from "../lib/retry";
  4. import type { ExecutionTraceEvent, MemoryRecord } from "../types/contracts";
  5. import type { Env } from "../types/env";
  6. import { AnthropicClient } from "./anthropic-client";
  7. import type { BlobStore, Clock, HarnessDeps, MemorySink, ToolDefinition, ToolOutcome, ToolRegistry, TraceSink } from "./ports";
  8. /** Production adapters binding the harness ports to wor