@cline/shared 0.0.74 → 0.0.75-nightly.1787107092

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.
package/dist/agent.d.ts CHANGED
@@ -4,6 +4,7 @@
4
4
  * These are the canonical type definitions consumed by `AgentRuntime`.
5
5
  *
6
6
  */
7
+ import type { GeneratedMedia } from "./llms/media";
7
8
  import type { ModelInfo } from "./llms/model-info";
8
9
  import type { ToolApprovalRequest, ToolApprovalResult, ToolPolicy } from "./llms/tools";
9
10
  import type { BasicLogger } from "./logging/logger";
@@ -28,12 +29,18 @@ export interface AgentFilePart {
28
29
  path: string;
29
30
  content: string;
30
31
  }
32
+ export interface AgentMediaPart {
33
+ type: "media";
34
+ media: GeneratedMedia;
35
+ }
31
36
  export interface AgentToolCallPart {
32
37
  type: "tool-call";
33
38
  toolCallId: string;
34
39
  toolName: string;
35
40
  input: unknown;
36
41
  metadata?: unknown;
42
+ /** Absent for ordinary AgentRuntime-executed tools. */
43
+ execution?: ModelToolExecution;
37
44
  }
38
45
  export interface AgentToolResultPart {
39
46
  type: "tool-result";
@@ -41,8 +48,20 @@ export interface AgentToolResultPart {
41
48
  toolName: string;
42
49
  output: unknown;
43
50
  isError?: boolean;
51
+ /** Absent for ordinary AgentRuntime-executed tools. */
52
+ execution?: ModelToolExecution;
44
53
  }
45
- export type AgentMessagePart = AgentTextPart | AgentReasoningPart | AgentImagePart | AgentFilePart | AgentToolCallPart | AgentToolResultPart;
54
+ export type ModelToolExecution = "client" | "provider";
55
+ /** Observational record for a model tool executed outside AgentRuntime. */
56
+ export interface AgentModelToolActivity {
57
+ toolCallId: string;
58
+ toolName: string;
59
+ execution: ModelToolExecution;
60
+ input?: unknown;
61
+ output?: unknown;
62
+ isError?: boolean;
63
+ }
64
+ export type AgentMessagePart = AgentTextPart | AgentReasoningPart | AgentImagePart | AgentFilePart | AgentMediaPart | AgentToolCallPart | AgentToolResultPart;
46
65
  export type AgentMessageRole = "user" | "assistant" | "tool";
47
66
  export interface AgentTokenUsage {
48
67
  inputTokens: number;
@@ -132,6 +151,8 @@ export interface AgentModelRequest {
132
151
  systemPrompt?: string;
133
152
  messages: readonly AgentMessage[];
134
153
  tools: readonly AgentToolDefinition[];
154
+ /** Provider-executed tools enabled for this model request. */
155
+ modelTools?: readonly import("./llms/model-tools").ModelTool[];
135
156
  signal?: AbortSignal;
136
157
  options?: Record<string, unknown>;
137
158
  }
@@ -172,6 +193,9 @@ export type ProviderErrorClass = "context_window_exceeded" | "unknown";
172
193
  export type AgentModelEvent = {
173
194
  type: "text-delta";
174
195
  text: string;
196
+ } | {
197
+ type: "media";
198
+ media: GeneratedMedia;
175
199
  } | {
176
200
  type: "reasoning-delta";
177
201
  text: string;
@@ -185,17 +209,16 @@ export type AgentModelEvent = {
185
209
  inputText?: string;
186
210
  input?: unknown;
187
211
  metadata?: unknown;
212
+ /** Set when execution is owned by AI SDK or the model provider. */
213
+ execution?: ModelToolExecution;
188
214
  } | {
189
- /**
190
- * A model-generated file (e.g. an image from an image-output
191
- * model). `data` is base64-encoded file data (or a URL for
192
- * URL-referenced files). Runtimes assemble it into the assistant
193
- * message (`AgentImagePart` for `image/*`, `AgentFilePart`
194
- * otherwise) so a file-only turn is not treated as empty.
195
- */
196
- type: "file";
197
- data: string;
198
- mediaType: string;
215
+ type: "tool-result";
216
+ toolCallId: string;
217
+ toolName: import("./llms/model-tools").ModelToolName;
218
+ input?: unknown;
219
+ output: unknown;
220
+ isError?: boolean;
221
+ execution: ModelToolExecution;
199
222
  } | {
200
223
  type: "usage";
201
224
  usage: Partial<AgentUsage>;
@@ -320,6 +343,8 @@ export interface AgentRuntimeConfig {
320
343
  messageModelInfo?: AgentMessage["modelInfo"];
321
344
  model: AgentModel;
322
345
  modelOptions?: Record<string, unknown>;
346
+ /** Provider-executed tools, separate from locally executed AgentTools. */
347
+ modelTools?: readonly import("./llms/model-tools").ModelTool[];
323
348
  tools?: readonly AgentTool<any, any>[];
324
349
  hooks?: Partial<AgentRuntimeHooks>;
325
350
  plugins?: readonly AgentRuntimePlugin[];
@@ -370,6 +395,11 @@ export type AgentRuntimeEvent = {
370
395
  accumulatedText: string;
371
396
  redacted?: boolean;
372
397
  metadata?: unknown;
398
+ } | {
399
+ type: "assistant-media";
400
+ snapshot: AgentRuntimeStateSnapshot;
401
+ iteration: number;
402
+ media: GeneratedMedia;
373
403
  } | {
374
404
  type: "assistant-message";
375
405
  snapshot: AgentRuntimeStateSnapshot;
@@ -14,8 +14,10 @@ import type { AgentRuntimeHooks, AgentTool, ProviderErrorClass } from "../agent"
14
14
  import type { ExtensionContext } from "../extensions/context";
15
15
  import type { AgentExtensionApi, AgentExtensionHooks, AgentExtensionRegistry as AgentExtensionRegistryGeneric, ContributionRegistryExtension, PluginManifest, PluginSetupContext } from "../extensions/contribution-registry";
16
16
  import type { HookControl } from "../hooks/contracts";
17
+ import type { GeneratedMedia } from "../llms/media";
17
18
  import type { Message, MessageWithMetadata } from "../llms/messages";
18
19
  import type { ModelInfo } from "../llms/model-info";
20
+ import type { ModelTool } from "../llms/model-tools";
19
21
  import { type ReasoningEffort } from "../llms/reasoning-options";
20
22
  export { REASONING_LEVELS, type ReasoningEffort, ReasoningEffortSchema, type ReasoningLevel, ReasoningLevelSchema, } from "../llms/reasoning-options";
21
23
  import type { ToolApprovalRequest, ToolApprovalResult, ToolCallRecord, ToolPolicy } from "../llms/tools";
@@ -26,7 +28,7 @@ import type { WorkspaceInfo } from "../session/workspace";
26
28
  * Events emitted during agent execution
27
29
  */
28
30
  export type AgentEvent = AgentContentStartEvent | AgentContentUpdateEvent | AgentContentEndEvent | AgentIterationStartEvent | AgentIterationEndEvent | AgentNoticeEvent | AgentUsageEvent | AgentDoneEvent | AgentErrorEvent;
29
- export type AgentContentType = "text" | "reasoning" | "tool";
31
+ export type AgentContentType = "text" | "reasoning" | "media" | "tool";
30
32
  export interface AgentEventMetadata {
31
33
  /** Current ID */
32
34
  agentId?: string;
@@ -52,6 +54,8 @@ export interface AgentContentStartEvent extends AgentEventMetadata {
52
54
  toolCallId?: string;
53
55
  /** Input being passed to the tool */
54
56
  input?: unknown;
57
+ /** Where a model tool is executed; absent for ordinary local tools. */
58
+ execution?: "client" | "provider";
55
59
  }
56
60
  export interface AgentContentUpdateEvent extends AgentEventMetadata {
57
61
  type: "content_update";
@@ -70,6 +74,8 @@ export interface AgentContentEndEvent extends AgentEventMetadata {
70
74
  text?: string;
71
75
  /** Final reasoning/thinking text generated for this turn */
72
76
  reasoning?: string;
77
+ /** Generated media returned by the model. */
78
+ media?: GeneratedMedia;
73
79
  /** Name of the tool that completed */
74
80
  toolName?: string;
75
81
  /** Unique identifier for this tool call */
@@ -80,6 +86,8 @@ export interface AgentContentEndEvent extends AgentEventMetadata {
80
86
  error?: string;
81
87
  /** Time taken in milliseconds for tool content */
82
88
  durationMs?: number;
89
+ /** Where a model tool is executed; absent for ordinary local tools. */
90
+ execution?: "client" | "provider";
83
91
  }
84
92
  export interface AgentIterationStartEvent extends AgentEventMetadata {
85
93
  type: "iteration_start";
@@ -528,6 +536,10 @@ export declare const AgentResultSchema: z.ZodObject<{
528
536
  toolCalls: z.ZodArray<z.ZodObject<{
529
537
  id: z.ZodString;
530
538
  name: z.ZodString;
539
+ execution: z.ZodOptional<z.ZodEnum<{
540
+ client: "client";
541
+ provider: "provider";
542
+ }>>;
531
543
  input: z.ZodUnknown;
532
544
  output: z.ZodUnknown;
533
545
  error: z.ZodOptional<z.ZodString>;
@@ -554,8 +566,8 @@ export declare const AgentResultSchema: z.ZodObject<{
554
566
  contextWindow: z.ZodOptional<z.ZodNumber>;
555
567
  maxInputTokens: z.ZodOptional<z.ZodNumber>;
556
568
  capabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
557
- images: "images";
558
569
  video: "video";
570
+ images: "images";
559
571
  tools: "tools";
560
572
  streaming: "streaming";
561
573
  "prompt-cache": "prompt-cache";
@@ -567,11 +579,39 @@ export declare const AgentResultSchema: z.ZodObject<{
567
579
  temperature: "temperature";
568
580
  files: "files";
569
581
  }>>>;
582
+ operation: z.ZodOptional<z.ZodEnum<{
583
+ language: "language";
584
+ "image-generation": "image-generation";
585
+ "speech-generation": "speech-generation";
586
+ "video-generation": "video-generation";
587
+ transcription: "transcription";
588
+ }>>;
589
+ operationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
590
+ streaming: "streaming";
591
+ batch: "batch";
592
+ }>>>;
593
+ modalities: z.ZodOptional<z.ZodObject<{
594
+ input: z.ZodArray<z.ZodEnum<{
595
+ image: "image";
596
+ audio: "audio";
597
+ video: "video";
598
+ text: "text";
599
+ pdf: "pdf";
600
+ }>>;
601
+ output: z.ZodArray<z.ZodEnum<{
602
+ image: "image";
603
+ audio: "audio";
604
+ video: "video";
605
+ text: "text";
606
+ pdf: "pdf";
607
+ }>>;
608
+ }, z.core.$strip>>;
570
609
  reasoningOptions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
571
610
  type: z.ZodLiteral<"toggle">;
572
611
  }, z.core.$strict>, z.ZodObject<{
573
612
  type: z.ZodLiteral<"effort">;
574
613
  values: z.ZodArray<z.ZodNullable<z.ZodEnum<{
614
+ default: "default";
575
615
  none: "none";
576
616
  minimal: "minimal";
577
617
  low: "low";
@@ -579,7 +619,6 @@ export declare const AgentResultSchema: z.ZodObject<{
579
619
  high: "high";
580
620
  xhigh: "xhigh";
581
621
  max: "max";
582
- default: "default";
583
622
  }>>>;
584
623
  }, z.core.$strict>, z.ZodObject<{
585
624
  type: z.ZodLiteral<"budget_tokens">;
@@ -674,6 +713,8 @@ export interface AgentConfig {
674
713
  systemPrompt: string;
675
714
  /** Tools available to the agent */
676
715
  tools: AgentTool[];
716
+ /** Provider-executed tools enabled for the selected model. */
717
+ modelTools?: ModelTool[];
677
718
  /**
678
719
  * Maximum number of loop iterations
679
720
  * If undefined, no iteration cap is enforced.
@@ -827,8 +868,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
827
868
  contextWindow: z.ZodOptional<z.ZodNumber>;
828
869
  maxInputTokens: z.ZodOptional<z.ZodNumber>;
829
870
  capabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
830
- images: "images";
831
871
  video: "video";
872
+ images: "images";
832
873
  tools: "tools";
833
874
  streaming: "streaming";
834
875
  "prompt-cache": "prompt-cache";
@@ -840,11 +881,39 @@ export declare const AgentConfigSchema: z.ZodObject<{
840
881
  temperature: "temperature";
841
882
  files: "files";
842
883
  }>>>;
884
+ operation: z.ZodOptional<z.ZodEnum<{
885
+ language: "language";
886
+ "image-generation": "image-generation";
887
+ "speech-generation": "speech-generation";
888
+ "video-generation": "video-generation";
889
+ transcription: "transcription";
890
+ }>>;
891
+ operationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
892
+ streaming: "streaming";
893
+ batch: "batch";
894
+ }>>>;
895
+ modalities: z.ZodOptional<z.ZodObject<{
896
+ input: z.ZodArray<z.ZodEnum<{
897
+ image: "image";
898
+ audio: "audio";
899
+ video: "video";
900
+ text: "text";
901
+ pdf: "pdf";
902
+ }>>;
903
+ output: z.ZodArray<z.ZodEnum<{
904
+ image: "image";
905
+ audio: "audio";
906
+ video: "video";
907
+ text: "text";
908
+ pdf: "pdf";
909
+ }>>;
910
+ }, z.core.$strip>>;
843
911
  reasoningOptions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
844
912
  type: z.ZodLiteral<"toggle">;
845
913
  }, z.core.$strict>, z.ZodObject<{
846
914
  type: z.ZodLiteral<"effort">;
847
915
  values: z.ZodArray<z.ZodNullable<z.ZodEnum<{
916
+ default: "default";
848
917
  none: "none";
849
918
  minimal: "minimal";
850
919
  low: "low";
@@ -852,7 +921,6 @@ export declare const AgentConfigSchema: z.ZodObject<{
852
921
  high: "high";
853
922
  xhigh: "xhigh";
854
923
  max: "max";
855
- default: "default";
856
924
  }>>>;
857
925
  }, z.core.$strict>, z.ZodObject<{
858
926
  type: z.ZodLiteral<"budget_tokens">;
@@ -902,6 +970,7 @@ export declare const AgentConfigSchema: z.ZodObject<{
902
970
  initialMessages: z.ZodOptional<z.ZodArray<z.ZodCustom<Message, Message>>>;
903
971
  systemPrompt: z.ZodString;
904
972
  tools: z.ZodArray<z.ZodCustom<AgentTool<unknown, unknown>, AgentTool<unknown, unknown>>>;
973
+ modelTools: z.ZodOptional<z.ZodArray<z.ZodCustom<ModelTool, ModelTool>>>;
905
974
  maxIterations: z.ZodOptional<z.ZodNumber>;
906
975
  maxParallelToolCalls: z.ZodDefault<z.ZodNumber>;
907
976
  maxTokensPerTurn: z.ZodOptional<z.ZodNumber>;
package/dist/hub.d.ts CHANGED
@@ -288,7 +288,7 @@ export interface HubReplyEnvelope {
288
288
  details?: Record<string, unknown>;
289
289
  };
290
290
  }
291
- export type HubEventName = "hub.client.registered" | "hub.client.disconnected" | "session.created" | "session.updated" | "session.attached" | "session.detached" | "session.forked" | "session.pending_prompts" | "session.pending_prompt_submitted" | "run.started" | "run.heartbeat" | "run.aborted" | "run.completed" | "run.failed" | "iteration.started" | "iteration.finished" | "assistant.delta" | "assistant.finished" | "session.notice" | "reasoning.delta" | "reasoning.finished" | "agent.done" | "usage.updated" | "tool.started" | "tool.updated" | "tool.finished" | "approval.requested" | "approval.resolved" | "capability.requested" | "capability.resolved" | "team.progress" | "artifact.created" | "diff.created" | "spoke.started" | "spoke.failed" | "spoke.stopped" | "peer.registered" | "peer.session_attached" | "peer.session_detached" | "schedule.created" | "schedule.updated" | "schedule.deleted" | "schedule.triggered" | "schedule.execution_completed" | "schedule.execution_failed" | "settings.changed" | "ui.notify" | "ui.show_window" | "hub.client.updated";
291
+ export type HubEventName = "hub.client.registered" | "hub.client.disconnected" | "session.created" | "session.updated" | "session.attached" | "session.detached" | "session.forked" | "session.pending_prompts" | "session.pending_prompt_submitted" | "run.started" | "run.heartbeat" | "run.aborted" | "run.completed" | "run.failed" | "iteration.started" | "iteration.finished" | "assistant.delta" | "assistant.media" | "assistant.finished" | "session.notice" | "reasoning.delta" | "reasoning.finished" | "agent.done" | "usage.updated" | "tool.started" | "tool.updated" | "tool.finished" | "approval.requested" | "approval.resolved" | "capability.requested" | "capability.resolved" | "team.progress" | "artifact.created" | "diff.created" | "spoke.started" | "spoke.failed" | "spoke.stopped" | "peer.registered" | "peer.session_attached" | "peer.session_detached" | "schedule.created" | "schedule.updated" | "schedule.deleted" | "schedule.triggered" | "schedule.execution_completed" | "schedule.execution_failed" | "settings.changed" | "ui.notify" | "ui.show_window" | "hub.client.updated";
292
292
  export interface HubEventEnvelope {
293
293
  version: HubProtocolVersion;
294
294
  event: HubEventName;
@@ -18,10 +18,11 @@ export * from "./hub";
18
18
  export type { AiSdkFormatterMessage, AiSdkFormatterMessageRole, AiSdkFormatterPart, AiSdkMessage, AiSdkMessagePart, } from "./llms/ai-sdk-format";
19
19
  export { EMPTY_CONTENT_TEXT, formatMessagesForAiSdk, sanitizeSurrogates, toAiSdkToolResultOutput, } from "./llms/ai-sdk-format";
20
20
  export * from "./llms/gateway";
21
- export { createMediaBudgetState, DEFAULT_MAX_IMAGE_BASE64_BYTES, DEFAULT_MAX_IMAGE_DECODED_BYTES, DEFAULT_MAX_IMAGE_ENCODED_BYTES, DEFAULT_MAX_TOTAL_MEDIA_BYTES, IMAGE_OMITTED_PLACEHOLDER, IMAGE_UNSUPPORTED_PLACEHOLDER, type ImageMediaLimits, type ImageMediaValidationFailure, type ImageMediaValidationResult, type ImageMediaValidationSuccess, imageBase64DecodedByteLength, imageBase64EncodedByteLength, imageBase64LengthForDecodedBytes, imageFileMaxDecodedBytesForBase64Limit, isBase64Char, isCanonicalBase64, type MediaBudgetOptions, type MediaBudgetState, type ResolvedMediaBudget, reserveImageMediaBytes, resolveMediaBudget, SUPPORTED_IMAGE_MEDIA_TYPES, validateAndReserveImageMedia, validateImageMedia, } from "./llms/media";
22
- export type { ContentBlock, FileContent, ImageContent, Message, MessageRole, MessageWithMetadata, RedactedThinkingContent, TextContent, ThinkingContent, ToolDefinition, ToolResultContent, ToolUseContent, } from "./llms/messages";
23
- export { ApiFormat, ApiFormatSchema, type ModelCapability, ModelCapabilitySchema, type ModelInfo, ModelInfoSchema, type ModelMetadata, ModelMetadataSchema, type ModelPricing, ModelPricingSchema, type ModelStatus, ModelStatusSchema, type ThinkingConfig, ThinkingConfigSchema, } from "./llms/model-info";
21
+ export { type Base64MediaValidationFailure, type Base64MediaValidationResult, type Base64MediaValidationSuccess, createMediaBudgetState, DEFAULT_MAX_IMAGE_BASE64_BYTES, DEFAULT_MAX_IMAGE_DECODED_BYTES, DEFAULT_MAX_IMAGE_ENCODED_BYTES, DEFAULT_MAX_TOTAL_MEDIA_BYTES, type GeneratedMedia, type GeneratedMediaModality, GeneratedMediaModalitySchema, GeneratedMediaSchema, type GeneratedMediaSource, GeneratedMediaSourceSchema, generatedMediaModalityFromMediaType, IMAGE_OMITTED_PLACEHOLDER, IMAGE_UNSUPPORTED_PLACEHOLDER, type ImageMediaLimits, type ImageMediaValidationFailure, type ImageMediaValidationResult, type ImageMediaValidationSuccess, imageBase64DecodedByteLength, imageBase64EncodedByteLength, imageBase64LengthForDecodedBytes, imageFileMaxDecodedBytesForBase64Limit, isBase64Char, isCanonicalBase64, isGeneratedMedia, type MediaBudgetOptions, type MediaBudgetState, type ResolvedMediaBudget, reserveImageMediaBytes, resolveMediaBudget, SUPPORTED_IMAGE_MEDIA_TYPES, validateAndReserveBase64Media, validateAndReserveImageMedia, validateImageMedia, } from "./llms/media";
22
+ export type { ContentBlock, FileContent, ImageContent, MediaContent, Message, MessageRole, MessageWithMetadata, RedactedThinkingContent, TextContent, ThinkingContent, ToolDefinition, ToolResultContent, ToolUseContent, } from "./llms/messages";
23
+ export { ApiFormat, ApiFormatSchema, type ModelCapability, ModelCapabilitySchema, type ModelInfo, ModelInfoSchema, type ModelMetadata, ModelMetadataSchema, type ModelModalities, ModelModalitiesSchema, type ModelModality, ModelModalitySchema, type ModelOperation, type ModelOperationMode, ModelOperationModeSchema, ModelOperationSchema, type ModelPricing, ModelPricingSchema, type ModelStatus, ModelStatusSchema, modelHasCapability, modelProducesImages, modelSupportsToolCalling, type ThinkingConfig, ThinkingConfigSchema, usesImageGenerationOperation, } from "./llms/model-info";
24
24
  export { mergeModelOptions } from "./llms/model-options";
25
+ export * from "./llms/model-tools";
25
26
  export { DEFAULT_REASONING_EFFORT, REASONING_EFFORT_RATIOS, resolveEffectiveReasoningEffort, resolveReasoningBudgetFromRatio, resolveReasoningEffortRatio, } from "./llms/reasoning-effort";
26
27
  export { type ModelReasoningOption, ModelReasoningOptionSchema, REASONING_LEVELS, type ReasoningEffort, ReasoningEffortSchema, type ReasoningLevel, ReasoningLevelSchema, } from "./llms/reasoning-options";
27
28
  export { serializeAbortReason } from "./llms/requests";
@@ -48,7 +49,7 @@ export { REMOTE_URI_SCHEME } from "./remote-config/constants";
48
49
  export type { AnthropicModel, AnthropicSettings, APIKeySettings, AwsBedrockCustomModel, AwsBedrockModel, AwsBedrockSettings, EnterpriseTelemetry, GlobalInstructionsFile, LiteLLMModel, LiteLLMSettings, MCPServer, OpenAiCompatible, OpenAiCompatibleModel, PromptUploading, ProviderSettings, RemoteConfig, RemoteMCPServer, S3AccessKeySettings, VertexModel, VertexSettings, } from "./remote-config/schema";
49
50
  export { AllowedMCPServerSchema, AnthropicModelSchema, AnthropicSchema, APIKeySchema, AwsBedrockCustomModelSchema, AwsBedrockModelSchema, AwsBedrockSettingsSchema, ClineModelSchema, ClineSettingsSchema, EnterpriseTelemetrySchema, GlobalInstructionsFileSchema, LiteLLMModelSchema, LiteLLMSchema, OpenAiCompatibleModelSchema, OpenAiCompatibleSchema, PromptUploadingSchema, RemoteConfigSchema, RemoteMCPServerSchema, S3AccessKeySettingsSchema, VertexModelSchema, VertexSettingsSchema, } from "./remote-config/schema";
50
51
  export { CLINE_DEFAULT_RPC_ADDRESS, CLINE_DEFAULT_RPC_PORT } from "./rpc";
51
- export type { AddProviderActionRequest, ChatAttachmentFile, ChatAttachments, ChatRunTurnRequest, ChatRuntimeConfig, ChatStartSessionArtifacts, ChatStartSessionRequest, ChatStartSessionResponse, ChatToolCallResult, ChatTurnResult, ClineAccountActionRequest, EnterpriseAuthenticateRequest, EnterpriseAuthenticateResponse, EnterpriseStatusRequest, EnterpriseStatusResponse, EnterpriseSyncRequest, EnterpriseSyncResponse, GetProviderModelsActionRequest, ListProvidersActionRequest, ProviderActionRequest, ProviderCapability, ProviderCatalogResponse, ProviderClient, ProviderConfigField, ProviderConfigFieldOption, ProviderConfigFieldPrimitive, ProviderConfigFieldType, ProviderListItem, ProviderModel, ProviderModelsResponse, ProviderOAuthLoginResponse, ProviderProtocol, ProviderSettingsActionRequest, RuntimeLoggerConfig, SaveProviderSettingsActionRequest, } from "./rpc/runtime";
52
+ export type { AddProviderActionRequest, ChatAttachmentFile, ChatAttachments, ChatRunTurnRequest, ChatRuntimeConfig, ChatStartSessionArtifacts, ChatStartSessionRequest, ChatStartSessionResponse, ChatToolCallResult, ChatTurnResult, ClineAccountActionRequest, EnterpriseAuthenticateRequest, EnterpriseAuthenticateResponse, EnterpriseStatusRequest, EnterpriseStatusResponse, EnterpriseSyncRequest, EnterpriseSyncResponse, GetProviderModelsActionRequest, ListProvidersActionRequest, ProviderActionRequest, ProviderCapability, ProviderCatalogResponse, ProviderClient, ProviderConfigField, ProviderConfigFieldOption, ProviderConfigFieldPrimitive, ProviderConfigFieldType, ProviderListItem, ProviderModel, ProviderModelsResponse, ProviderOAuthLoginResponse, ProviderProtocol, ProviderSettingsActionRequest, RuntimeLoggerConfig, SaveProviderSettingsActionRequest, VoiceInputSelection, } from "./rpc/runtime";
52
53
  export { ProviderCapabilitySchema, ProviderClientSchema, ProviderProtocolSchema, } from "./rpc/runtime";
53
54
  export type { TeamProgressCounts, TeamProgressLifecycleEvent, TeamProgressMemberRole, TeamProgressMemberStatus, TeamProgressOutcomeFragmentStatus, TeamProgressOutcomeStatus, TeamProgressProjectionEvent, TeamProgressRunStatus, TeamProgressSummary, TeamProgressTaskStatus, } from "./rpc/team-progress";
54
55
  export { TEAM_LIFECYCLE_EVENT_TYPE, TEAM_PROGRESS_EVENT_TYPE, } from "./rpc/team-progress";