Files
t3code/apps/server/src/provider/Services/CursorAdapter.ts
T
2026-04-29 16:13:55 -07:00

20 lines
810 B
TypeScript

/**
* CursorAdapter — shape type for the Cursor provider adapter.
*
* Historically this module exposed a `Context.Service` tag so consumers
* could inject the adapter through the Effect layer graph. The driver
* model ({@link ../Drivers/CursorDriver}) bundles one adapter per
* instance as a captured closure instead, so the tag is gone — we only
* retain the shape interface as a naming anchor for the driver bundle.
*
* @module CursorAdapter
*/
import type { ProviderAdapterError } from "../Errors.ts";
import type { ProviderAdapterShape } from "./ProviderAdapter.ts";
/**
* CursorAdapterShape — per-instance Cursor adapter contract. Carries
* a branded driver kind as the nominal discriminant.
*/
export interface CursorAdapterShape extends ProviderAdapterShape<ProviderAdapterError> {}