UNPKG

kestrel.markets

Version:

A typed, token-efficient language + runtime for agentic trading: agents author bounded plans, the runtime fires them at the tick. CLI + typed library + MCP server.

17 lines (16 loc) 1.19 kB
/** * # session/controller-types — the LIGHT, pure-TYPE surface of the djm.4 incremental controller. * * These are the transport-neutral protocol shapes the incremental Session controller answers in — the * {@link Delivery} it hands out, the {@link AuthoredResponse}/{@link BoundResponse} a caller replies with, * and the {@link SessionResponse}/{@link SessionTranscript} it returns. They were extracted VERBATIM out of * {@link ./controller.ts} (which re-exports them, so every existing `from "./controller.ts"` importer is * unchanged) into this leaf module for ONE reason: this file's transitive graph is BUILT-IN-FREE (only the * light protocol shapes + the frame/agent input contracts), whereas `controller.ts` VALUE-imports the heavy * engine (bus / sim / simulate). The djm.5 SDK's LIGHT modules (`src/sdk/types.ts`, `src/sdk/remote.ts`) * type-import these shapes from HERE, so the light `./sdk/remote` build entry stays on the `types:[]` * zero-built-ins closure — the light/heavy build guard (tsconfig.build.json + tests/package.boundary.test.ts). * * TYPE-ONLY: every import here is `import type` (erased), so this module adds no runtime weight. */ export {};