···70707171```bash
7272BOBBIN_URL=http://127.0.0.1:8090
7373+TANGLED_API_URL=http://127.0.0.1:3000
7374# leave unset to read repositories directly from their knots
7475KNOTMIRROR_URL=https://mirror.tngl.boltless.dev
7576VITE_HANDLE_RESOLVER_URL=https://pds.tngl.boltless.dev
···11+import type { FileResult } from "$lib/api/lexicons/types/org/tangled/temp/search/searchCode";
22+33+// the wire types are the generated lexicon's. `Chunk.highlights` are byte offsets
44+// into `Chunk.content`, which is what chunks.ts splits on.
55+export type {
66+ Chunk,
77+ FileResult,
88+ Highlight
99+} from "$lib/api/lexicons/types/org/tangled/temp/search/searchCode";
1010+1111+// the lexicon returns only repoDid, so the load has to resolve owner/slug/ref for
1212+// the blob links — these three fields are that enrichment step
1313+export interface CodeResult extends FileResult {
1414+ ownerHandle: string;
1515+ repoName: string;
1616+ ref: string;
1717+}