Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

CursorAdapter.ts

19 lines810 Bytes

1/**
2 * CursorAdapter — shape type for the Cursor provider adapter.
3 *
4 * Historically this module exposed a `Context.Service` tag so consumers
5 * could inject the adapter through the Effect layer graph. The driver
6 * model ({@link ../Drivers/CursorDriver}) bundles one adapter per
7 * instance as a captured closure instead, so the tag is gone — we only
8 * retain the shape interface as a naming anchor for the driver bundle.
9 *
10 * @module CursorAdapter
11 */
12import type { ProviderAdapterError } from "../Errors.ts";
13import type { ProviderAdapterShape } from "./ProviderAdapter.ts";
14​
15/**
16 * CursorAdapterShape — per-instance Cursor adapter contract. Carries
17 * a branded driver kind as the nominal discriminant.
18 */
19export interface CursorAdapterShape extends ProviderAdapterShape<ProviderAdapterError> {}