@machina.ai/ch-llm-reboot 0.1.5-alpha.1.c1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Cordis LlmAdapter implementation for Reboot Multi-Model Gateway.
3
+ *
4
+ * @module @machina.ai/ch-llm-reboot/adapter
5
+ */
6
+ import { LlmAdapter, type GenerateOptions, type LlmModelInfo, type LlmProviderInfo, type LlmResolvedModelInfo, type ResolvedRetryPolicy, type StreamChunk } from '@deepseek-ai/dsh-llm';
7
+ import type { Context } from '@deepseek-ai/cordis';
8
+ import type { ResolvedRebootLlmConfig } from './types.ts';
9
+ /**
10
+ * Concrete LlmAdapter translating harness requests through Reboot AI Gateway.
11
+ */
12
+ export declare class RebootLlmAdapter extends LlmAdapter {
13
+ protected readonly ctx: Context;
14
+ private readonly getConfig;
15
+ private readonly dispatcher;
16
+ constructor(ctx: Context, getConfig: () => ResolvedRebootLlmConfig);
17
+ providerInfo(provider: string): LlmProviderInfo;
18
+ listModels(provider: string): Promise<readonly LlmModelInfo[]>;
19
+ resolveModel(provider: string, model: string, _signal?: AbortSignal): Promise<LlmResolvedModelInfo>;
20
+ providerRetryPolicy(_provider: string): ResolvedRetryPolicy | undefined;
21
+ stream(options: GenerateOptions): AsyncIterable<StreamChunk>;
22
+ }
23
+ //# sourceMappingURL=adapter.d.ts.map
@@ -0,0 +1,95 @@
1
+ /**
2
+ * Canonical Model Catalog, Capabilities & Dynamic Alias Resolution Engine.
3
+ *
4
+ * @module @machina.ai/ch-llm-reboot/catalog
5
+ */
6
+ import type { ProviderFamily, RebootModelDefinition, ResolvedEndpointRoute } from './types.ts';
7
+ /**
8
+ * Built-in canonical model definitions across the 5 provider families.
9
+ */
10
+ export declare const CANONICAL_MODELS: readonly RebootModelDefinition[];
11
+ /**
12
+ * Returns whether Amazon Bedrock models are currently enabled.
13
+ *
14
+ * @returns true if enabled, false if disabled.
15
+ */
16
+ export declare function isBedrockEnabled(): boolean;
17
+ /**
18
+ * Enables or disables Amazon Bedrock family models.
19
+ *
20
+ * @param enabled Whether to enable Bedrock models.
21
+ */
22
+ export declare function setBedrockEnabled(enabled: boolean): void;
23
+ /**
24
+ * Returns all active catalog model definitions.
25
+ * Filters out temporarily disabled model families (e.g. Bedrock).
26
+ *
27
+ * @returns Array of canonical model definitions.
28
+ */
29
+ export declare function listCatalogModels(): readonly RebootModelDefinition[];
30
+ /**
31
+ * Resolves an alias, shorthand, or full ID to the canonical model ID.
32
+ *
33
+ * @param aliasOrId Input alias or model ID.
34
+ * @returns Resolved canonical model ID.
35
+ */
36
+ export declare function resolveModelId(aliasOrId: string): string;
37
+ /**
38
+ * Returns the model definition for a given model ID or alias.
39
+ *
40
+ * @param modelId Model ID or alias.
41
+ * @returns Definition if found, undefined otherwise.
42
+ */
43
+ export declare function getModelDefinition(modelId: string): RebootModelDefinition | undefined;
44
+ /**
45
+ * Infers the provider family from the model ID and definition.
46
+ *
47
+ * @param modelId Model identifier.
48
+ * @returns Inferred ProviderFamily.
49
+ */
50
+ export declare function inferProviderFamily(modelId: string): ProviderFamily;
51
+ /**
52
+ * Provider families exposed as their own Cordis adapter route, so the Host's
53
+ * per-provider model catalog groups the chat composer's selector by family
54
+ * (Gemini, Anthropic, OpenAI, X.AI) without any change to the composer itself.
55
+ * Bedrock is deliberately excluded from routing until enabled deployment-wide.
56
+ */
57
+ export declare const ROUTABLE_FAMILIES: readonly ProviderFamily[];
58
+ /** Family-route display name shown as the provider name in selectors and directories. */
59
+ export declare const FAMILY_DISPLAY_NAME: Readonly<Record<ProviderFamily, string>>;
60
+ /**
61
+ * Builds the family-scoped Cordis route id for a configured provider name prefix.
62
+ *
63
+ * @param providerName Configured provider name prefix (default `'reboot'`).
64
+ * @param family Provider family.
65
+ * @returns the route id, e.g. `'reboot-gemini'`.
66
+ */
67
+ export declare function familyRoute(providerName: string, family: ProviderFamily): string;
68
+ /**
69
+ * Recovers the provider family a family-scoped route id was built for.
70
+ *
71
+ * @param providerName Configured provider name prefix.
72
+ * @param route Route id to inspect.
73
+ * @returns the family, or undefined when `route` does not match this prefix's family-route pattern.
74
+ */
75
+ export declare function familyOfRoute(providerName: string, route: string): ProviderFamily | undefined;
76
+ /**
77
+ * Lists the models a single family's route currently serves, honoring the
78
+ * `CELL_EXPERIMENTAL_FEATURES` gate (only Gemini is visible while disabled)
79
+ * and the Bedrock kill switch.
80
+ *
81
+ * @param family Provider family the route was built for.
82
+ * @param experimentalEnabled Whether experimental (non-Gemini) families are enabled.
83
+ * @returns models for that family, or an empty list while gated off (an empty
84
+ * route is excluded from the Host's provider catalog, hiding the family entirely).
85
+ */
86
+ export declare function modelsForFamilyRoute(family: ProviderFamily, experimentalEnabled: boolean): RebootModelDefinition[];
87
+ /**
88
+ * Resolves the upstream endpoint route and target URL for a given model request.
89
+ *
90
+ * @param baseUrl Base agent API URL (e.g. 'https://api.machina.ai').
91
+ * @param modelId Model ID or alias.
92
+ * @returns Resolved endpoint route with target URL and provider family.
93
+ */
94
+ export declare function resolveEndpointRoute(baseUrl: string, modelId: string): ResolvedEndpointRoute;
95
+ //# sourceMappingURL=catalog.d.ts.map
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Zero-API-Key Upstream Streaming Dispatcher for Reboot LLM Provider.
3
+ *
4
+ * @module @machina.ai/ch-llm-reboot/dispatcher
5
+ */
6
+ import type { Context } from '@deepseek-ai/cordis';
7
+ import { type GenerateOptions, type StreamChunk } from '@deepseek-ai/dsh-llm';
8
+ import type { ResolvedRebootLlmConfig } from './types.ts';
9
+ /**
10
+ * Dispatches one generation request to the upstream Reboot gateway through `ctx.rebootAuth.fetch` and normalizes the
11
+ * provider's HTTP stream into the Cordis StreamChunk protocol. The upstream response body is read lazily, so a caller
12
+ * must consume the returned iterable to completion.
13
+ * The resolved configuration is re-read on each dispatch, and a missing `ctx.rebootAuth` fails the dispatch rather
14
+ * than the mount.
15
+ */
16
+ export declare class RebootDispatcher {
17
+ private readonly ctx;
18
+ private readonly getConfig;
19
+ constructor(ctx: Context, getConfig: () => ResolvedRebootLlmConfig);
20
+ /**
21
+ * Dispatches an LLM generation request to the upstream target endpoint
22
+ * using authenticated ctx.rebootAuth.fetch with Zero API Keys.
23
+ *
24
+ * @param options Assembled generation options.
25
+ * @param signal Optional caller abort signal.
26
+ * @returns Async stream of standardized Cordis StreamChunks.
27
+ */
28
+ dispatchStream(options: GenerateOptions, signal?: AbortSignal): AsyncIterable<StreamChunk>;
29
+ }
30
+ //# sourceMappingURL=dispatcher.d.ts.map
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Unified Error Mapping for Upstream Reboot LLM Provider Responses.
3
+ *
4
+ * @module @machina.ai/ch-llm-reboot/errors
5
+ */
6
+ import { LlmError } from '@deepseek-ai/dsh-llm';
7
+ /**
8
+ * Raw upstream error body accepted by `mapHttpErrorToLlmError`. The Reboot gateway and the provider families report
9
+ * failures in different fields and value types, so every member is optional and a body matching none of them still
10
+ * maps from the HTTP status alone.
11
+ */
12
+ export interface ProviderErrorPayload {
13
+ error?: {
14
+ code?: string | number;
15
+ message?: string;
16
+ type?: string;
17
+ status?: string | number;
18
+ } | string;
19
+ message?: string;
20
+ }
21
+ /**
22
+ * Maps an HTTP response status and raw body into a normalized LlmError.
23
+ *
24
+ * @param status HTTP response status code.
25
+ * @param statusText HTTP status text.
26
+ * @param rawBody Response body text or parsed JSON.
27
+ * @param requestId Optional upstream request id header.
28
+ * @returns Normalized LlmError.
29
+ */
30
+ export declare function mapHttpErrorToLlmError(status: number, statusText: string, rawBody?: string, requestId?: string): LlmError;
31
+ //# sourceMappingURL=errors.d.ts.map
@@ -0,0 +1,120 @@
1
+ /**
2
+ * Anthropic Messages API Request Serializer and SSE Event Normalizer.
3
+ *
4
+ * @module @machina.ai/ch-llm-reboot/formatters/anthropic
5
+ */
6
+ import type { FinishReason, GenerateOptions, TokenUsage } from '@deepseek-ai/dsh-llm';
7
+ /**
8
+ * One Anthropic content block; `type` selects which fields are populated (`text`, `thinking`, `tool_use`, `tool_result`, or `image`).
9
+ * `input` holds already-parsed tool arguments, not the JSON string form Anthropic streams back.
10
+ */
11
+ export interface AnthropicContentBlock {
12
+ type: string;
13
+ text?: string | undefined;
14
+ thinking?: string | undefined;
15
+ id?: string | undefined;
16
+ name?: string | undefined;
17
+ input?: Record<string, unknown> | undefined;
18
+ tool_use_id?: string | undefined;
19
+ content?: string | AnthropicContentBlock[] | undefined;
20
+ is_error?: boolean | undefined;
21
+ source?: {
22
+ type: 'base64';
23
+ media_type: string;
24
+ data: string;
25
+ } | undefined;
26
+ }
27
+ /**
28
+ * One Anthropic conversation turn. Anthropic accepts only `user` and `assistant`; system text travels in the payload's
29
+ * `system` field, and a turn holding a single text block is serialized as a bare string.
30
+ */
31
+ export interface AnthropicMessage {
32
+ role: 'user' | 'assistant';
33
+ content: string | AnthropicContentBlock[];
34
+ }
35
+ /**
36
+ * One tool in the Messages request. `input_schema` is the caller's JSON Schema forwarded unchanged, unlike Gemini's reduced subset.
37
+ */
38
+ export interface AnthropicTool {
39
+ name: string;
40
+ description?: string | undefined;
41
+ input_schema: Record<string, unknown>;
42
+ }
43
+ /**
44
+ * JSON body posted to the Anthropic Messages streaming endpoint. `max_tokens` is always present because the API
45
+ * requires it; the serializer supplies a fallback when the caller sets no limit.
46
+ */
47
+ export interface AnthropicRequestPayload {
48
+ model: string;
49
+ messages: AnthropicMessage[];
50
+ system?: string | undefined;
51
+ max_tokens: number;
52
+ temperature?: number | undefined;
53
+ stop_sequences?: string[] | undefined;
54
+ tools?: AnthropicTool[] | undefined;
55
+ thinking?: {
56
+ type: 'enabled';
57
+ budget_tokens: number;
58
+ } | undefined;
59
+ }
60
+ /**
61
+ * Normalized content of one Anthropic SSE event. `eventType` is always set, and only the fields the event type
62
+ * populates are present, leaving callers to switch on the event type.
63
+ */
64
+ export interface ParsedAnthropicEvent {
65
+ eventType?: string | undefined;
66
+ textDelta?: string | undefined;
67
+ reasoningDelta?: string | undefined;
68
+ toolCallId?: string | undefined;
69
+ toolName?: string | undefined;
70
+ toolArgumentsDelta?: string | undefined;
71
+ usage?: TokenUsage | undefined;
72
+ finishReason?: FinishReason | undefined;
73
+ }
74
+ /**
75
+ * Raw Anthropic SSE event as parsed from JSON, unvalidated. Delta payloads are discriminated by `delta.type`,
76
+ * and usage arrives split between `message_start` and `message_delta`.
77
+ */
78
+ export interface RawAnthropicEvent {
79
+ type?: string;
80
+ message?: {
81
+ id?: string;
82
+ usage?: {
83
+ input_tokens?: number;
84
+ output_tokens?: number;
85
+ cache_read_input_tokens?: number;
86
+ };
87
+ };
88
+ index?: number;
89
+ content_block?: {
90
+ type?: string;
91
+ id?: string;
92
+ name?: string;
93
+ };
94
+ delta?: {
95
+ type?: string;
96
+ text?: string;
97
+ thinking?: string;
98
+ partial_json?: string;
99
+ stop_reason?: string;
100
+ };
101
+ usage?: {
102
+ input_tokens?: number;
103
+ output_tokens?: number;
104
+ };
105
+ }
106
+ /**
107
+ * Formats GenerateOptions into Anthropic Messages API request payload.
108
+ *
109
+ * @param options Fully assembled model request.
110
+ * @returns Anthropic wire request payload.
111
+ */
112
+ export declare function formatAnthropicRequest(options: GenerateOptions): AnthropicRequestPayload;
113
+ /**
114
+ * Parses raw Anthropic SSE event into normalized components.
115
+ *
116
+ * @param event Raw parsed Anthropic SSE event.
117
+ * @returns Normalized event items.
118
+ */
119
+ export declare function parseAnthropicSseEvent(event: unknown): ParsedAnthropicEvent;
120
+ //# sourceMappingURL=anthropic.d.ts.map
@@ -0,0 +1,127 @@
1
+ /**
2
+ * Amazon Bedrock Converse/Invoke Request Serializer and Stream Normalizer.
3
+ *
4
+ * @module @machina.ai/ch-llm-reboot/formatters/bedrock
5
+ */
6
+ import type { FinishReason, GenerateOptions, TokenUsage } from '@deepseek-ai/dsh-llm';
7
+ /**
8
+ * One Converse content block, tagged by its single populated member (`text`, `toolUse`, `toolResult`, or `image`).
9
+ * Bedrock has no reasoning block, so reasoning text is sent as ordinary `text`.
10
+ */
11
+ export interface BedrockContentBlock {
12
+ text?: string | undefined;
13
+ toolUse?: {
14
+ toolUseId: string;
15
+ name: string;
16
+ input: Record<string, unknown>;
17
+ } | undefined;
18
+ toolResult?: {
19
+ toolUseId: string;
20
+ content: Array<{
21
+ text: string;
22
+ }>;
23
+ status?: 'error' | 'success' | undefined;
24
+ } | undefined;
25
+ image?: {
26
+ format: string;
27
+ source: {
28
+ bytes: string;
29
+ };
30
+ } | undefined;
31
+ }
32
+ /**
33
+ * One Converse conversation turn. Bedrock accepts only `user` and `assistant` roles; system text travels in the payload's `system` field.
34
+ */
35
+ export interface BedrockMessage {
36
+ role: 'user' | 'assistant';
37
+ content: BedrockContentBlock[];
38
+ }
39
+ /**
40
+ * One tool in the Converse `toolConfig`, wrapping the caller's JSON Schema under `toolSpec.inputSchema.json`.
41
+ */
42
+ export interface BedrockTool {
43
+ toolSpec: {
44
+ name: string;
45
+ description?: string | undefined;
46
+ inputSchema: {
47
+ json: Record<string, unknown>;
48
+ };
49
+ };
50
+ }
51
+ /**
52
+ * JSON body posted to the Bedrock Converse streaming endpoint. `system`, `inferenceConfig`, and `toolConfig`
53
+ * appear only when the caller supplied those inputs.
54
+ */
55
+ export interface BedrockRequestPayload {
56
+ messages: BedrockMessage[];
57
+ system?: Array<{
58
+ text: string;
59
+ }> | undefined;
60
+ inferenceConfig?: {
61
+ maxTokens?: number | undefined;
62
+ temperature?: number | undefined;
63
+ stopSequences?: string[] | undefined;
64
+ } | undefined;
65
+ toolConfig?: {
66
+ tools: BedrockTool[];
67
+ } | undefined;
68
+ }
69
+ /**
70
+ * Normalized content of one Converse stream chunk. Tool identity arrives only on `contentBlockStart` and argument
71
+ * fragments only on `contentBlockDelta`, so the dispatcher accumulates them across chunks.
72
+ */
73
+ export interface ParsedBedrockChunk {
74
+ textDelta?: string | undefined;
75
+ toolCallId?: string | undefined;
76
+ toolName?: string | undefined;
77
+ toolArgumentsDelta?: string | undefined;
78
+ usage?: TokenUsage | undefined;
79
+ finishReason?: FinishReason | undefined;
80
+ }
81
+ /**
82
+ * Raw Converse stream event as parsed from JSON, unvalidated. Usage counters arrive on the event carrying
83
+ * `metadata`, after the content events.
84
+ */
85
+ export interface RawBedrockChunk {
86
+ contentBlockStart?: {
87
+ start?: {
88
+ toolUse?: {
89
+ toolUseId?: string;
90
+ name?: string;
91
+ };
92
+ };
93
+ };
94
+ contentBlockDelta?: {
95
+ delta?: {
96
+ text?: string;
97
+ toolUse?: {
98
+ input?: unknown;
99
+ };
100
+ };
101
+ };
102
+ messageStop?: {
103
+ stopReason?: string;
104
+ };
105
+ metadata?: {
106
+ usage?: {
107
+ inputTokens?: number;
108
+ outputTokens?: number;
109
+ totalTokens?: number;
110
+ };
111
+ };
112
+ }
113
+ /**
114
+ * Formats GenerateOptions into Amazon Bedrock Converse request payload.
115
+ *
116
+ * @param options Fully assembled model request.
117
+ * @returns Bedrock wire request payload.
118
+ */
119
+ export declare function formatBedrockRequest(options: GenerateOptions): BedrockRequestPayload;
120
+ /**
121
+ * Parses raw Bedrock Converse chunk into normalized components.
122
+ *
123
+ * @param chunk Raw parsed Bedrock chunk.
124
+ * @returns Normalized chunk items.
125
+ */
126
+ export declare function parseBedrockChunk(chunk: unknown): ParsedBedrockChunk;
127
+ //# sourceMappingURL=bedrock.d.ts.map
@@ -0,0 +1,147 @@
1
+ /**
2
+ * Google Gemini & Gemma Request Serializer and Response/SSE Normalizer.
3
+ *
4
+ * @module @machina.ai/ch-llm-reboot/formatters/gemini
5
+ */
6
+ import type { FinishReason, GenerateOptions, TokenUsage } from '@deepseek-ai/dsh-llm';
7
+ /**
8
+ * One part of a Gemini content turn, holding exactly one payload kind: provider-visible `text`, reasoning text marked
9
+ * `thought`, inline image bytes, a `functionCall`, or a function `functionResponse` result.
10
+ * `thought_signature` accompanies a replayed function call so Gemini accepts it without re-validating its reasoning.
11
+ */
12
+ export interface GeminiPart {
13
+ text?: string | undefined;
14
+ thought?: boolean | undefined;
15
+ inlineData?: {
16
+ mimeType: string;
17
+ data: string;
18
+ } | undefined;
19
+ functionCall?: {
20
+ name: string;
21
+ args: Record<string, unknown>;
22
+ } | undefined;
23
+ functionResponse?: {
24
+ name: string;
25
+ response: Record<string, unknown>;
26
+ } | undefined;
27
+ thought_signature?: string | undefined;
28
+ }
29
+ /**
30
+ * One Gemini conversation turn. Gemini names the assistant side `model`, and system text travels in the payload's
31
+ * `systemInstruction` rather than as a turn.
32
+ */
33
+ export interface GeminiContent {
34
+ role: 'user' | 'model';
35
+ parts: GeminiPart[];
36
+ }
37
+ /**
38
+ * One tool offered to Gemini. `parameters` must already be reduced to the schema subset Gemini accepts,
39
+ * which `sanitizeGeminiSchema` produces.
40
+ */
41
+ export interface GeminiFunctionDeclaration {
42
+ name: string;
43
+ description?: string | undefined;
44
+ parameters?: Record<string, unknown> | undefined;
45
+ }
46
+ /**
47
+ * Container holding the function declarations sent as the request's tools.
48
+ */
49
+ export interface GeminiTool {
50
+ functionDeclarations?: GeminiFunctionDeclaration[] | undefined;
51
+ }
52
+ /**
53
+ * JSON body posted to the Gemini streaming generate endpoint.
54
+ * `contents` always carries the conversation turns; `systemInstruction`, `tools`, and `generationConfig` appear only
55
+ * when the caller supplied those inputs.
56
+ */
57
+ export interface GeminiRequestPayload {
58
+ contents: GeminiContent[];
59
+ systemInstruction?: {
60
+ role: 'user';
61
+ parts: Array<{
62
+ text: string;
63
+ }>;
64
+ } | undefined;
65
+ tools?: GeminiTool[] | undefined;
66
+ generationConfig?: {
67
+ temperature?: number | undefined;
68
+ maxOutputTokens?: number | undefined;
69
+ stopSequences?: string[] | undefined;
70
+ thinkingConfig?: {
71
+ thinkingBudget?: number | undefined;
72
+ } | undefined;
73
+ } | undefined;
74
+ }
75
+ /**
76
+ * Normalized content of one Gemini response chunk. Reasoning arrives in `reasoningDeltas` rather than `textDeltas`,
77
+ * and `usage` or `finishReason` are set only by the chunk that reports them.
78
+ */
79
+ export interface ParsedGeminiChunk {
80
+ textDeltas: string[];
81
+ reasoningDeltas: string[];
82
+ toolCalls: Array<{
83
+ name: string;
84
+ arguments: string;
85
+ thoughtSignature?: string | undefined;
86
+ }>;
87
+ usage?: TokenUsage | undefined;
88
+ finishReason?: FinishReason | undefined;
89
+ }
90
+ /**
91
+ * One Gemini response candidate as received, unvalidated. Only the first candidate is read, and `functionCall.args` may be absent.
92
+ */
93
+ export interface RawGeminiCandidate {
94
+ content?: {
95
+ parts?: Array<{
96
+ text?: string;
97
+ thought?: boolean;
98
+ functionCall?: {
99
+ name: string;
100
+ args?: Record<string, unknown>;
101
+ };
102
+ }>;
103
+ };
104
+ finishReason?: string;
105
+ }
106
+ /**
107
+ * Upstream Gemini token counters. `promptTokenCount` includes cache hits, which the parser subtracts to produce `inputTokens`.
108
+ */
109
+ export interface RawGeminiUsageMetadata {
110
+ promptTokenCount?: number;
111
+ candidatesTokenCount?: number;
112
+ totalTokenCount?: number;
113
+ cachedContentTokenCount?: number;
114
+ }
115
+ /**
116
+ * Raw Gemini response chunk as parsed from JSON, unvalidated. Every member is optional because Gemini omits empty
117
+ * values and splits the response across chunks.
118
+ */
119
+ export interface RawGeminiChunk {
120
+ candidates?: RawGeminiCandidate[];
121
+ usageMetadata?: RawGeminiUsageMetadata;
122
+ }
123
+ /**
124
+ * Recursively sanitizes JSON schemas into strict Google Gemini schema protobuf structures.
125
+ * Strips unsupported keywords (e.g. additionalProperties, $schema, default, title) that cause
126
+ * Protobuf decoding 400 Bad Request errors in Google Generative Language API.
127
+ *
128
+ * @param schema Input schema object.
129
+ * @returns Cleaned Gemini-compatible schema object.
130
+ */
131
+ export declare function sanitizeGeminiSchema(schema: unknown): Record<string, unknown> | undefined;
132
+ /**
133
+ * Serializes standard GenerateOptions into Gemini REST/SSE JSON request payload.
134
+ *
135
+ * @param options Fully assembled model request.
136
+ * @returns Gemini wire request payload.
137
+ */
138
+ export declare function formatGeminiRequest(options: GenerateOptions): GeminiRequestPayload;
139
+ /**
140
+ * Parses raw Gemini response JSON or SSE chunk into normalized components.
141
+ *
142
+ * @param chunk Raw parsed Gemini chunk object.
143
+ * @param _blockOffset Block index offset.
144
+ * @returns Normalized chunk items.
145
+ */
146
+ export declare function parseGeminiChunk(chunk: unknown, _blockOffset?: number): ParsedGeminiChunk;
147
+ //# sourceMappingURL=gemini.d.ts.map
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Provider family wire formatters and chunk parsers.
3
+ *
4
+ * @module @machina.ai/ch-llm-reboot/formatters
5
+ */
6
+ export * from './gemini.ts';
7
+ export * from './anthropic.ts';
8
+ export * from './openai.ts';
9
+ export * from './bedrock.ts';
10
+ //# sourceMappingURL=index.d.ts.map