lua-cli 3.17.1 → 3.17.2

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.
@@ -89,7 +89,7 @@ declare interface AgentInvocationOutput {
89
89
  * (security — could exfiltrate credentials), and `maxRetries` (platform
90
90
  * concern, not customer-tunable).
91
91
  */
92
- declare interface AgentModelSettings {
92
+ export declare interface AgentModelSettings {
93
93
  /** Sampling temperature. Range depends on provider (typically 0..2 for Anthropic/OpenAI). */
94
94
  temperature?: number;
95
95
  /** Nucleus sampling. 0..1. Recommended: set either `temperature` or `topP`, not both. */
@@ -188,7 +188,7 @@ export declare interface AiApi {
188
188
  * Serializable subset of AI SDK `generateText` parameters.
189
189
  * `messages` is untyped over HTTP; callers typically send AI SDK `ModelMessage[]`.
190
190
  */
191
- declare interface AiGenerateInput {
191
+ export declare interface AiGenerateInput {
192
192
  model?: string;
193
193
  system?: string;
194
194
  prompt?: string;
@@ -208,14 +208,14 @@ declare interface AiGenerateInput {
208
208
  * Kept as `Record<string, unknown>` to avoid pulling `@types/json-schema` into the
209
209
  * published lua-cli surface; callers typically produce this via `zodToJsonSchema`.
210
210
  */
211
- declare type AiGenerateJsonSchema = Record<string, unknown>;
211
+ export declare type AiGenerateJsonSchema = Record<string, unknown>;
212
212
 
213
213
  /**
214
214
  * Wire-format output from `AI.generate` / `POST .../generate`.
215
215
  * Fields mirror AI SDK `GenerateTextResult` — uses AI SDK types where exported.
216
216
  * See https://ai-sdk.dev/docs/reference/ai-sdk-core/generate-text
217
217
  */
218
- declare interface AiGenerateOutput {
218
+ export declare interface AiGenerateOutput {
219
219
  text: string;
220
220
  /** AI SDK `FinishReason` */
221
221
  finishReason: FinishReason;
@@ -244,7 +244,7 @@ declare interface AiGenerateOutput {
244
244
  * URL source from Google Search grounding.
245
245
  * Mirrors `LanguageModelV2Source` (AI SDK `Source` type — not exported from `ai` as of v5).
246
246
  */
247
- declare interface AiGenerateSource {
247
+ export declare interface AiGenerateSource {
248
248
  sourceType: 'url';
249
249
  id: string;
250
250
  url: string;
@@ -255,7 +255,7 @@ declare interface AiGenerateSource {
255
255
  * Structured-output spec. Maps to AI SDK `output: Output.object({ schema })` on `generateText`.
256
256
  * Result lands on `AiGenerateOutput.output`.
257
257
  */
258
- declare interface AiGenerateStructuredOutput {
258
+ export declare interface AiGenerateStructuredOutput {
259
259
  /** JSON Schema 7 describing the expected object shape. */
260
260
  schema: AiGenerateJsonSchema;
261
261
  }
@@ -264,7 +264,7 @@ declare interface AiGenerateStructuredOutput {
264
264
  * Serializable tool call. Mirrors `TypedToolCall` without generics.
265
265
  * `input` matches the AI SDK field name (renamed from `args` in v5).
266
266
  */
267
- declare interface AiGenerateToolCall {
267
+ export declare interface AiGenerateToolCall {
268
268
  type: 'tool-call';
269
269
  toolCallId: string;
270
270
  toolName: string;
@@ -275,7 +275,7 @@ declare interface AiGenerateToolCall {
275
275
  * Serializable tool result. Mirrors `TypedToolResult` without generics.
276
276
  * `output` matches the AI SDK field name.
277
277
  */
278
- declare interface AiGenerateToolResult {
278
+ export declare interface AiGenerateToolResult {
279
279
  type: 'tool-result';
280
280
  toolCallId: string;
281
281
  toolName: string;