@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 +41 -11
- package/dist/agents/types.d.ts +74 -5
- package/dist/hub.d.ts +1 -1
- package/dist/index.browser.d.ts +5 -4
- package/dist/index.browser.js +20 -20
- package/dist/index.d.ts +7 -6
- package/dist/index.js +62 -62
- package/dist/llms/ai-sdk-format.d.ts +5 -2
- package/dist/llms/gateway.d.ts +50 -0
- package/dist/llms/media.d.ts +59 -0
- package/dist/llms/messages.d.ts +7 -1
- package/dist/llms/model-info.d.ts +120 -3
- package/dist/llms/model-tools.d.ts +30 -0
- package/dist/llms/reasoning-options.d.ts +1 -1
- package/dist/llms/tools.d.ts +6 -0
- package/dist/remote-config/index.js +10 -10
- package/dist/remote-config/runtime.d.ts +6 -1
- package/dist/rpc/runtime.d.ts +10 -0
- package/package.json +1 -1
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import type { AgentExtension } from "../agents/types";
|
|
2
|
-
import type { PreparedRemoteConfigRuntime, PrepareRemoteConfigRuntimeOptions, RemoteConfigBundle, RemoteConfigProjectContext, RemoteConfigSyncResult, RemoteConfigSyncServiceOptions } from "./bundle";
|
|
2
|
+
import type { PreparedRemoteConfigRuntime, PrepareRemoteConfigRuntimeOptions, RemoteConfigBundle, RemoteConfigManagedArtifactStore, RemoteConfigProjectContext, RemoteConfigSyncResult, RemoteConfigSyncServiceOptions } from "./bundle";
|
|
3
|
+
export declare function clearMaterializedRemoteConfigRuntime(options: {
|
|
4
|
+
workspacePath: string;
|
|
5
|
+
pluginName?: string;
|
|
6
|
+
artifactStore?: RemoteConfigManagedArtifactStore;
|
|
7
|
+
}): Promise<void>;
|
|
3
8
|
export declare function withRemoteConfigBundlePaths<T extends RemoteConfigBundle>(bundle: T, paths: RemoteConfigSyncResult["materialized"]["paths"]): T;
|
|
4
9
|
export declare class RemoteConfigSyncService {
|
|
5
10
|
private readonly options;
|
package/dist/rpc/runtime.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import z from "zod";
|
|
2
2
|
import type { HubToolExecutorName } from "../hub";
|
|
3
|
+
import type { ModelModality, ModelOperationMode } from "../llms/model-info";
|
|
3
4
|
import type { ReasoningLevel } from "../llms/reasoning-options";
|
|
4
5
|
import type { RuntimeConfigExtensionKind, SessionExecutionConfig, SessionPromptConfig } from "../session/runtime-config";
|
|
5
6
|
export interface ChatRuntimeConfig extends SessionPromptConfig {
|
|
@@ -123,10 +124,14 @@ export type EnterpriseStatusResponse = EnterpriseSyncResponse;
|
|
|
123
124
|
export interface ProviderModel {
|
|
124
125
|
id: string;
|
|
125
126
|
name: string;
|
|
127
|
+
operation?: import("../llms/model-info").ModelOperation;
|
|
126
128
|
contextWindow?: number;
|
|
127
129
|
supportsAttachments?: boolean;
|
|
128
130
|
supportsVision?: boolean;
|
|
129
131
|
supportsReasoning?: boolean;
|
|
132
|
+
operationModes?: ModelOperationMode[];
|
|
133
|
+
inputModalities?: ModelModality[];
|
|
134
|
+
outputModalities?: ModelModality[];
|
|
130
135
|
}
|
|
131
136
|
export type ProviderConfigFieldType = "text" | "password" | "url" | "number" | "select" | "boolean";
|
|
132
137
|
export type ProviderConfigFieldPrimitive = string | number | boolean | null;
|
|
@@ -166,9 +171,14 @@ export interface ProviderListItem {
|
|
|
166
171
|
modelList?: ProviderModel[];
|
|
167
172
|
family?: string;
|
|
168
173
|
}
|
|
174
|
+
export interface VoiceInputSelection {
|
|
175
|
+
providerId: string;
|
|
176
|
+
modelId: string;
|
|
177
|
+
}
|
|
169
178
|
export interface ProviderCatalogResponse {
|
|
170
179
|
providers: ProviderListItem[];
|
|
171
180
|
settingsPath: string;
|
|
181
|
+
voiceInput?: VoiceInputSelection;
|
|
172
182
|
}
|
|
173
183
|
export interface ProviderModelsResponse {
|
|
174
184
|
providerId: string;
|