{"draft":null,"from":142,"to":143,"files":[{"path":"worker/project/sync.ts","added":5,"removed":4,"diff":"--- a/worker/project/sync.ts\n+++ b/worker/project/sync.ts\n@@ -1,7 +1,8 @@\n+import { View } from \"../../src/engine/index.ts\";\n // Move the agent's base to its space's newest version. Writes go through\n // SyncHost; today the host is Project.\n \n-import { type AtomId, type Graph, View } from \"../../src/engine/index.ts\";\n+import type { AtomId, Graph, ReadView } from \"../../src/engine/index.ts\";\n import { ProjectError } from \"./project-error.ts\";\n import type { AgentState, Entry, MergedLine, SyncAnswer } from \"./project-types.ts\";\n import { last, SHARED, type Space } from \"./spaces.ts\";\n@@ -12,7 +13,7 @@\n \treadonly labels: ReadonlyMap<string, readonly number[]>;\n \tagent(name: string, entries: Entry[]): AgentState;\n \tspaceOf(agent: AgentState): Space;\n-\tagentView(agent: AgentState): View;\n+\tagentView(agent: AgentState): ReadView;\n \tat(space: Space, version: number): ReadonlySet<AtomId>;\n \tdraft(agent: AgentState): AtomId[];\n \tstrandedFiles(draft: readonly AtomId[], set: ReadonlySet<AtomId>): string[];\n@@ -20,13 +21,13 @@\n \tflush(entries: Entry[]): void;\n \tmergeIdentical(\n \t\tagent: AgentState,\n-\t\tbefore: View,\n+\t\tbefore: ReadView,\n \t\toldBase: ReadonlySet<AtomId>,\n \t\toldVersion: number,\n \t\ttime: number,\n \t\tentries: Entry[],\n \t): MergedLine[];\n-\tchangesSince(agent: AgentState, before: View): SyncAnswer;\n+\tchangesSince(agent: AgentState, before: ReadView): SyncAnswer;\n }\n \n /**"}],"unmatched":[]}