@roo-code/types 1.46.0 → 1.48.0
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/index.cjs +36 -29
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +16 -7
- package/dist/index.d.ts +16 -7
- package/dist/index.js +35 -28
- package/dist/index.js.map +1 -1
- package/package.json +42 -42
package/dist/index.d.cts
CHANGED
|
@@ -5898,12 +5898,6 @@ declare const DEFAULT_WRITE_DELAY_MS = 1000;
|
|
|
5898
5898
|
* while preventing context window explosions from extremely long lines.
|
|
5899
5899
|
*/
|
|
5900
5900
|
declare const DEFAULT_TERMINAL_OUTPUT_CHARACTER_LIMIT = 50000;
|
|
5901
|
-
/**
|
|
5902
|
-
* Default timeout for background usage collection in milliseconds.
|
|
5903
|
-
* This timeout prevents the background task from running indefinitely
|
|
5904
|
-
* when collecting usage data from streaming API responses.
|
|
5905
|
-
*/
|
|
5906
|
-
declare const DEFAULT_USAGE_COLLECTION_TIMEOUT_MS = 30000;
|
|
5907
5901
|
/**
|
|
5908
5902
|
* GlobalSettings
|
|
5909
5903
|
*/
|
|
@@ -15594,10 +15588,25 @@ type TaskProviderEvents = {
|
|
|
15594
15588
|
/**
|
|
15595
15589
|
* TaskLike
|
|
15596
15590
|
*/
|
|
15591
|
+
declare const taskMetadataSchema: z.ZodObject<{
|
|
15592
|
+
taskId: z.ZodString;
|
|
15593
|
+
task: z.ZodOptional<z.ZodString>;
|
|
15594
|
+
images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
15595
|
+
}, "strip", z.ZodTypeAny, {
|
|
15596
|
+
taskId: string;
|
|
15597
|
+
images?: string[] | undefined;
|
|
15598
|
+
task?: string | undefined;
|
|
15599
|
+
}, {
|
|
15600
|
+
taskId: string;
|
|
15601
|
+
images?: string[] | undefined;
|
|
15602
|
+
task?: string | undefined;
|
|
15603
|
+
}>;
|
|
15604
|
+
type TaskMetadata = z.infer<typeof taskMetadataSchema>;
|
|
15597
15605
|
interface TaskLike {
|
|
15598
15606
|
readonly taskId: string;
|
|
15599
15607
|
readonly rootTask?: TaskLike;
|
|
15600
15608
|
readonly blockingAsk?: BlockingAsk;
|
|
15609
|
+
readonly metadata: TaskMetadata;
|
|
15601
15610
|
on<K extends keyof TaskEvents>(event: K, listener: (...args: TaskEvents[K]) => void | Promise<void>): this;
|
|
15602
15611
|
off<K extends keyof TaskEvents>(event: K, listener: (...args: TaskEvents[K]) => void | Promise<void>): this;
|
|
15603
15612
|
setMessageResponse(text: string, images?: string[]): void;
|
|
@@ -19233,4 +19242,4 @@ declare const fireworksModels: {
|
|
|
19233
19242
|
};
|
|
19234
19243
|
};
|
|
19235
19244
|
|
|
19236
|
-
export { ANTHROPIC_DEFAULT_MAX_TOKENS, ANTHROPIC_STYLE_PROVIDERS, AWS_INFERENCE_PROFILE_MAPPING, type Ack, type AnthropicModelId, type AssertEqual, BEDROCK_CLAUDE_SONNET_4_MODEL_ID, BEDROCK_DEFAULT_CONTEXT, BEDROCK_DEFAULT_TEMPERATURE, BEDROCK_MAX_TOKENS, BEDROCK_REGIONS, type BedrockModelId, type BlockingAsk, CLAUDE_CODE_DEFAULT_MAX_OUTPUT_TOKENS, CODEBASE_INDEX_DEFAULTS, type CerebrasModelId, type ChutesModelId, type ClaudeCodeModelId, type ClineAsk, type ClineMessage, type ClineSay, type CodeActionId, type CodeActionName, type CodebaseIndexConfig, type CodebaseIndexModels, type CodebaseIndexProvider, type CommandExecutionStatus, type CommandId, type ContextCondense, type CustomModePrompts, type CustomModesSettings, type CustomSupportPrompts, DEEP_SEEK_DEFAULT_TEMPERATURE, DEFAULT_CONSECUTIVE_MISTAKE_LIMIT, DEFAULT_MODES, DEFAULT_TERMINAL_OUTPUT_CHARACTER_LIMIT,
|
|
19245
|
+
export { ANTHROPIC_DEFAULT_MAX_TOKENS, ANTHROPIC_STYLE_PROVIDERS, AWS_INFERENCE_PROFILE_MAPPING, type Ack, type AnthropicModelId, type AssertEqual, BEDROCK_CLAUDE_SONNET_4_MODEL_ID, BEDROCK_DEFAULT_CONTEXT, BEDROCK_DEFAULT_TEMPERATURE, BEDROCK_MAX_TOKENS, BEDROCK_REGIONS, type BedrockModelId, type BlockingAsk, CLAUDE_CODE_DEFAULT_MAX_OUTPUT_TOKENS, CODEBASE_INDEX_DEFAULTS, type CerebrasModelId, type ChutesModelId, type ClaudeCodeModelId, type ClineAsk, type ClineMessage, type ClineSay, type CodeActionId, type CodeActionName, type CodebaseIndexConfig, type CodebaseIndexModels, type CodebaseIndexProvider, type CommandExecutionStatus, type CommandId, type ContextCondense, type CustomModePrompts, type CustomModesSettings, type CustomSupportPrompts, DEEP_SEEK_DEFAULT_TEMPERATURE, DEFAULT_CONSECUTIVE_MISTAKE_LIMIT, DEFAULT_MODES, DEFAULT_TERMINAL_OUTPUT_CHARACTER_LIMIT, DEFAULT_WRITE_DELAY_MS, DOUBAO_API_BASE_URL, DOUBAO_API_CHAT_PATH, type DeepSeekModelId, EVALS_SETTINGS, EVALS_TIMEOUT, type Equals, type ExperimentId, type Experiments, type FireworksModelId, type FollowUpData, type FollowUpDataType, GLAMA_DEFAULT_TEMPERATURE, GLOBAL_SETTINGS_KEYS, GLOBAL_STATE_KEYS, GPT5_DEFAULT_TEMPERATURE, type GeminiModelId, type GitProperties, type GlobalSettings, type GlobalState, type GroqModelId, type GroupEntry, type GroupOptions, HUGGINGFACE_API_URL, HUGGINGFACE_CACHE_DURATION, HUGGINGFACE_DEFAULT_CONTEXT_WINDOW, HUGGINGFACE_DEFAULT_MAX_TOKENS, HUGGINGFACE_MAX_TOKENS_FALLBACK, HUGGINGFACE_SLIDER_MIN, HUGGINGFACE_SLIDER_STEP, HUGGINGFACE_TEMPERATURE_MAX_VALUE, type HistoryItem, type IOIntelligenceModelId, IO_INTELLIGENCE_CACHE_DURATION, type InstallMarketplaceItemOptions, type InternationalZAiModelId, type IpcClientEvents, type IpcMessage, IpcMessageType, IpcOrigin, type IpcServerEvents, type Keys, LITELLM_COMPUTER_USE_MODELS, LMSTUDIO_DEFAULT_TEMPERATURE, type Language, MISTRAL_DEFAULT_TEMPERATURE, MODEL_ID_KEYS, MOONSHOT_DEFAULT_TEMPERATURE, type MainlandZAiModelId, type MarketplaceItem, type MarketplaceItemType, type McpExecutionStatus, type McpInstallationMethod, type McpMarketplaceItem, type McpParameter, type MistralModelId, type ModeConfig, type ModeMarketplaceItem, type ModelInfo, type ModelParameter, type MoonshotModelId, OPENAI_AZURE_AI_INFERENCE_PATH, OPENAI_NATIVE_DEFAULT_TEMPERATURE, OPENROUTER_DEFAULT_PROVIDER_NAME, OPEN_ROUTER_COMPUTER_USE_MODELS, OPEN_ROUTER_PROMPT_CACHING_MODELS, OPEN_ROUTER_REASONING_BUDGET_MODELS, OPEN_ROUTER_REQUIRED_REASONING_BUDGET_MODELS, type OpenAiNativeModelId, PROVIDER_SETTINGS_KEYS, type PromptComponent, type ProviderName, type ProviderSettings, type ProviderSettingsEntry, type ProviderSettingsWithId, type QueuedMessage, type ReasoningEffort, type ReasoningEffortWithMinimal, type RooCodeAPI, type RooCodeAPIEvents, RooCodeEventName, type RooCodeEvents, type RooCodeIpcServer, type RooCodeSettings, type RooCodeTelemetryEvent, SECRET_STATE_KEYS, type SambaNovaModelId, type SecretState, type SuggestionItem, type TaskCommand, TaskCommandName, type TaskEvent, type TaskEvents, type TaskLike, type TaskMetadata, type TaskProviderEvents, type TaskProviderLike, type TaskProviderState, type TelemetryClient, type TelemetryEvent, TelemetryEventName, type TelemetryEventSubscription, type TelemetryProperties, type TelemetryPropertiesProvider, type TelemetrySetting, type TerminalActionId, type TerminalActionName, type TerminalActionPromptType, type TodoItem, type TodoStatus, type TokenUsage, type ToolGroup, type ToolName, type ToolProgressStatus, type ToolUsage, VERTEX_REGIONS, type Values, type VerbosityLevel, type VertexModelId, type VscodeLlmModelId, type XAIModelId, ZAI_DEFAULT_TEMPERATURE, ackSchema, anthropicDefaultModelId, anthropicModels, appPropertiesSchema, azureOpenAiDefaultApiVersion, bedrockDefaultModelId, bedrockDefaultPromptRouterModelId, bedrockModels, blockingAsks, cerebrasDefaultModelId, cerebrasModels, chutesDefaultModelId, chutesModels, claudeCodeDefaultModelId, claudeCodeModels, clineAskSchema, clineAsks, clineMessageSchema, clineSaySchema, clineSays, codeActionIds, codebaseIndexConfigSchema, codebaseIndexModelsSchema, codebaseIndexProviderSchema, commandExecutionStatusSchema, commandIds, contextCondenseSchema, convertModelNameForVertex, customModePromptsSchema, customModesSettingsSchema, customSupportPromptsSchema, deepSeekDefaultModelId, deepSeekModels, discriminatedProviderSettingsWithIdSchema, doubaoDefaultModelId, doubaoDefaultModelInfo, doubaoModels, experimentIds, experimentIdsSchema, experimentsSchema, extendedReasoningEffortsSchema, fireworksDefaultModelId, fireworksModels, followUpDataSchema, geminiDefaultModelId, geminiModels, getApiProtocol, getClaudeCodeModelId, getModelId, gitPropertiesSchema, glamaDefaultModelId, glamaDefaultModelInfo, globalSettingsSchema, groqDefaultModelId, groqModels, groupEntrySchema, groupOptionsSchema, historyItemSchema, installMarketplaceItemOptionsSchema, internationalZAiDefaultModelId, internationalZAiModels, ioIntelligenceDefaultBaseUrl, ioIntelligenceDefaultModelId, ioIntelligenceModels, ipcMessageSchema, isBlockingAsk, isGlobalStateKey, isLanguage, isModelParameter, isSecretStateKey, lMStudioDefaultModelId, lMStudioDefaultModelInfo, languages, languagesSchema, litellmDefaultModelId, litellmDefaultModelInfo, mainlandZAiDefaultModelId, mainlandZAiModels, marketplaceItemSchema, marketplaceItemTypeSchema, mcpExecutionStatusSchema, mcpInstallationMethodSchema, mcpMarketplaceItemSchema, mcpParameterSchema, mistralDefaultModelId, mistralModels, modeConfigSchema, modeMarketplaceItemSchema, modelInfoSchema, modelParameters, modelParametersSchema, moonshotDefaultModelId, moonshotModels, ollamaDefaultModelId, ollamaDefaultModelInfo, openAiModelInfoSaneDefaults, openAiNativeDefaultModelId, openAiNativeModels, openRouterDefaultModelId, openRouterDefaultModelInfo, promptComponentSchema, providerNames, providerNamesSchema, providerSettingsEntrySchema, providerSettingsSchema, providerSettingsSchemaDiscriminated, providerSettingsWithIdSchema, reasoningEfforts, reasoningEffortsSchema, requestyDefaultModelId, requestyDefaultModelInfo, rooCodeEventsSchema, rooCodeSettingsSchema, rooCodeTelemetryEventSchema, sambaNovaDefaultModelId, sambaNovaModels, suggestionItemSchema, taskCommandSchema, taskEventSchema, taskMetadataSchema, taskPropertiesSchema, telemetryPropertiesSchema, telemetrySettings, telemetrySettingsSchema, terminalActionIds, todoItemSchema, todoStatusSchema, tokenUsageSchema, toolGroups, toolGroupsSchema, toolNames, toolNamesSchema, toolProgressStatusSchema, toolUsageSchema, unboundDefaultModelId, unboundDefaultModelInfo, verbosityLevels, verbosityLevelsSchema, vertexDefaultModelId, vertexModels, vscodeLlmDefaultModelId, vscodeLlmModels, xaiDefaultModelId, xaiModels };
|
package/dist/index.d.ts
CHANGED
|
@@ -5898,12 +5898,6 @@ declare const DEFAULT_WRITE_DELAY_MS = 1000;
|
|
|
5898
5898
|
* while preventing context window explosions from extremely long lines.
|
|
5899
5899
|
*/
|
|
5900
5900
|
declare const DEFAULT_TERMINAL_OUTPUT_CHARACTER_LIMIT = 50000;
|
|
5901
|
-
/**
|
|
5902
|
-
* Default timeout for background usage collection in milliseconds.
|
|
5903
|
-
* This timeout prevents the background task from running indefinitely
|
|
5904
|
-
* when collecting usage data from streaming API responses.
|
|
5905
|
-
*/
|
|
5906
|
-
declare const DEFAULT_USAGE_COLLECTION_TIMEOUT_MS = 30000;
|
|
5907
5901
|
/**
|
|
5908
5902
|
* GlobalSettings
|
|
5909
5903
|
*/
|
|
@@ -15594,10 +15588,25 @@ type TaskProviderEvents = {
|
|
|
15594
15588
|
/**
|
|
15595
15589
|
* TaskLike
|
|
15596
15590
|
*/
|
|
15591
|
+
declare const taskMetadataSchema: z.ZodObject<{
|
|
15592
|
+
taskId: z.ZodString;
|
|
15593
|
+
task: z.ZodOptional<z.ZodString>;
|
|
15594
|
+
images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
15595
|
+
}, "strip", z.ZodTypeAny, {
|
|
15596
|
+
taskId: string;
|
|
15597
|
+
images?: string[] | undefined;
|
|
15598
|
+
task?: string | undefined;
|
|
15599
|
+
}, {
|
|
15600
|
+
taskId: string;
|
|
15601
|
+
images?: string[] | undefined;
|
|
15602
|
+
task?: string | undefined;
|
|
15603
|
+
}>;
|
|
15604
|
+
type TaskMetadata = z.infer<typeof taskMetadataSchema>;
|
|
15597
15605
|
interface TaskLike {
|
|
15598
15606
|
readonly taskId: string;
|
|
15599
15607
|
readonly rootTask?: TaskLike;
|
|
15600
15608
|
readonly blockingAsk?: BlockingAsk;
|
|
15609
|
+
readonly metadata: TaskMetadata;
|
|
15601
15610
|
on<K extends keyof TaskEvents>(event: K, listener: (...args: TaskEvents[K]) => void | Promise<void>): this;
|
|
15602
15611
|
off<K extends keyof TaskEvents>(event: K, listener: (...args: TaskEvents[K]) => void | Promise<void>): this;
|
|
15603
15612
|
setMessageResponse(text: string, images?: string[]): void;
|
|
@@ -19233,4 +19242,4 @@ declare const fireworksModels: {
|
|
|
19233
19242
|
};
|
|
19234
19243
|
};
|
|
19235
19244
|
|
|
19236
|
-
export { ANTHROPIC_DEFAULT_MAX_TOKENS, ANTHROPIC_STYLE_PROVIDERS, AWS_INFERENCE_PROFILE_MAPPING, type Ack, type AnthropicModelId, type AssertEqual, BEDROCK_CLAUDE_SONNET_4_MODEL_ID, BEDROCK_DEFAULT_CONTEXT, BEDROCK_DEFAULT_TEMPERATURE, BEDROCK_MAX_TOKENS, BEDROCK_REGIONS, type BedrockModelId, type BlockingAsk, CLAUDE_CODE_DEFAULT_MAX_OUTPUT_TOKENS, CODEBASE_INDEX_DEFAULTS, type CerebrasModelId, type ChutesModelId, type ClaudeCodeModelId, type ClineAsk, type ClineMessage, type ClineSay, type CodeActionId, type CodeActionName, type CodebaseIndexConfig, type CodebaseIndexModels, type CodebaseIndexProvider, type CommandExecutionStatus, type CommandId, type ContextCondense, type CustomModePrompts, type CustomModesSettings, type CustomSupportPrompts, DEEP_SEEK_DEFAULT_TEMPERATURE, DEFAULT_CONSECUTIVE_MISTAKE_LIMIT, DEFAULT_MODES, DEFAULT_TERMINAL_OUTPUT_CHARACTER_LIMIT,
|
|
19245
|
+
export { ANTHROPIC_DEFAULT_MAX_TOKENS, ANTHROPIC_STYLE_PROVIDERS, AWS_INFERENCE_PROFILE_MAPPING, type Ack, type AnthropicModelId, type AssertEqual, BEDROCK_CLAUDE_SONNET_4_MODEL_ID, BEDROCK_DEFAULT_CONTEXT, BEDROCK_DEFAULT_TEMPERATURE, BEDROCK_MAX_TOKENS, BEDROCK_REGIONS, type BedrockModelId, type BlockingAsk, CLAUDE_CODE_DEFAULT_MAX_OUTPUT_TOKENS, CODEBASE_INDEX_DEFAULTS, type CerebrasModelId, type ChutesModelId, type ClaudeCodeModelId, type ClineAsk, type ClineMessage, type ClineSay, type CodeActionId, type CodeActionName, type CodebaseIndexConfig, type CodebaseIndexModels, type CodebaseIndexProvider, type CommandExecutionStatus, type CommandId, type ContextCondense, type CustomModePrompts, type CustomModesSettings, type CustomSupportPrompts, DEEP_SEEK_DEFAULT_TEMPERATURE, DEFAULT_CONSECUTIVE_MISTAKE_LIMIT, DEFAULT_MODES, DEFAULT_TERMINAL_OUTPUT_CHARACTER_LIMIT, DEFAULT_WRITE_DELAY_MS, DOUBAO_API_BASE_URL, DOUBAO_API_CHAT_PATH, type DeepSeekModelId, EVALS_SETTINGS, EVALS_TIMEOUT, type Equals, type ExperimentId, type Experiments, type FireworksModelId, type FollowUpData, type FollowUpDataType, GLAMA_DEFAULT_TEMPERATURE, GLOBAL_SETTINGS_KEYS, GLOBAL_STATE_KEYS, GPT5_DEFAULT_TEMPERATURE, type GeminiModelId, type GitProperties, type GlobalSettings, type GlobalState, type GroqModelId, type GroupEntry, type GroupOptions, HUGGINGFACE_API_URL, HUGGINGFACE_CACHE_DURATION, HUGGINGFACE_DEFAULT_CONTEXT_WINDOW, HUGGINGFACE_DEFAULT_MAX_TOKENS, HUGGINGFACE_MAX_TOKENS_FALLBACK, HUGGINGFACE_SLIDER_MIN, HUGGINGFACE_SLIDER_STEP, HUGGINGFACE_TEMPERATURE_MAX_VALUE, type HistoryItem, type IOIntelligenceModelId, IO_INTELLIGENCE_CACHE_DURATION, type InstallMarketplaceItemOptions, type InternationalZAiModelId, type IpcClientEvents, type IpcMessage, IpcMessageType, IpcOrigin, type IpcServerEvents, type Keys, LITELLM_COMPUTER_USE_MODELS, LMSTUDIO_DEFAULT_TEMPERATURE, type Language, MISTRAL_DEFAULT_TEMPERATURE, MODEL_ID_KEYS, MOONSHOT_DEFAULT_TEMPERATURE, type MainlandZAiModelId, type MarketplaceItem, type MarketplaceItemType, type McpExecutionStatus, type McpInstallationMethod, type McpMarketplaceItem, type McpParameter, type MistralModelId, type ModeConfig, type ModeMarketplaceItem, type ModelInfo, type ModelParameter, type MoonshotModelId, OPENAI_AZURE_AI_INFERENCE_PATH, OPENAI_NATIVE_DEFAULT_TEMPERATURE, OPENROUTER_DEFAULT_PROVIDER_NAME, OPEN_ROUTER_COMPUTER_USE_MODELS, OPEN_ROUTER_PROMPT_CACHING_MODELS, OPEN_ROUTER_REASONING_BUDGET_MODELS, OPEN_ROUTER_REQUIRED_REASONING_BUDGET_MODELS, type OpenAiNativeModelId, PROVIDER_SETTINGS_KEYS, type PromptComponent, type ProviderName, type ProviderSettings, type ProviderSettingsEntry, type ProviderSettingsWithId, type QueuedMessage, type ReasoningEffort, type ReasoningEffortWithMinimal, type RooCodeAPI, type RooCodeAPIEvents, RooCodeEventName, type RooCodeEvents, type RooCodeIpcServer, type RooCodeSettings, type RooCodeTelemetryEvent, SECRET_STATE_KEYS, type SambaNovaModelId, type SecretState, type SuggestionItem, type TaskCommand, TaskCommandName, type TaskEvent, type TaskEvents, type TaskLike, type TaskMetadata, type TaskProviderEvents, type TaskProviderLike, type TaskProviderState, type TelemetryClient, type TelemetryEvent, TelemetryEventName, type TelemetryEventSubscription, type TelemetryProperties, type TelemetryPropertiesProvider, type TelemetrySetting, type TerminalActionId, type TerminalActionName, type TerminalActionPromptType, type TodoItem, type TodoStatus, type TokenUsage, type ToolGroup, type ToolName, type ToolProgressStatus, type ToolUsage, VERTEX_REGIONS, type Values, type VerbosityLevel, type VertexModelId, type VscodeLlmModelId, type XAIModelId, ZAI_DEFAULT_TEMPERATURE, ackSchema, anthropicDefaultModelId, anthropicModels, appPropertiesSchema, azureOpenAiDefaultApiVersion, bedrockDefaultModelId, bedrockDefaultPromptRouterModelId, bedrockModels, blockingAsks, cerebrasDefaultModelId, cerebrasModels, chutesDefaultModelId, chutesModels, claudeCodeDefaultModelId, claudeCodeModels, clineAskSchema, clineAsks, clineMessageSchema, clineSaySchema, clineSays, codeActionIds, codebaseIndexConfigSchema, codebaseIndexModelsSchema, codebaseIndexProviderSchema, commandExecutionStatusSchema, commandIds, contextCondenseSchema, convertModelNameForVertex, customModePromptsSchema, customModesSettingsSchema, customSupportPromptsSchema, deepSeekDefaultModelId, deepSeekModels, discriminatedProviderSettingsWithIdSchema, doubaoDefaultModelId, doubaoDefaultModelInfo, doubaoModels, experimentIds, experimentIdsSchema, experimentsSchema, extendedReasoningEffortsSchema, fireworksDefaultModelId, fireworksModels, followUpDataSchema, geminiDefaultModelId, geminiModels, getApiProtocol, getClaudeCodeModelId, getModelId, gitPropertiesSchema, glamaDefaultModelId, glamaDefaultModelInfo, globalSettingsSchema, groqDefaultModelId, groqModels, groupEntrySchema, groupOptionsSchema, historyItemSchema, installMarketplaceItemOptionsSchema, internationalZAiDefaultModelId, internationalZAiModels, ioIntelligenceDefaultBaseUrl, ioIntelligenceDefaultModelId, ioIntelligenceModels, ipcMessageSchema, isBlockingAsk, isGlobalStateKey, isLanguage, isModelParameter, isSecretStateKey, lMStudioDefaultModelId, lMStudioDefaultModelInfo, languages, languagesSchema, litellmDefaultModelId, litellmDefaultModelInfo, mainlandZAiDefaultModelId, mainlandZAiModels, marketplaceItemSchema, marketplaceItemTypeSchema, mcpExecutionStatusSchema, mcpInstallationMethodSchema, mcpMarketplaceItemSchema, mcpParameterSchema, mistralDefaultModelId, mistralModels, modeConfigSchema, modeMarketplaceItemSchema, modelInfoSchema, modelParameters, modelParametersSchema, moonshotDefaultModelId, moonshotModels, ollamaDefaultModelId, ollamaDefaultModelInfo, openAiModelInfoSaneDefaults, openAiNativeDefaultModelId, openAiNativeModels, openRouterDefaultModelId, openRouterDefaultModelInfo, promptComponentSchema, providerNames, providerNamesSchema, providerSettingsEntrySchema, providerSettingsSchema, providerSettingsSchemaDiscriminated, providerSettingsWithIdSchema, reasoningEfforts, reasoningEffortsSchema, requestyDefaultModelId, requestyDefaultModelInfo, rooCodeEventsSchema, rooCodeSettingsSchema, rooCodeTelemetryEventSchema, sambaNovaDefaultModelId, sambaNovaModels, suggestionItemSchema, taskCommandSchema, taskEventSchema, taskMetadataSchema, taskPropertiesSchema, telemetryPropertiesSchema, telemetrySettings, telemetrySettingsSchema, terminalActionIds, todoItemSchema, todoStatusSchema, tokenUsageSchema, toolGroups, toolGroupsSchema, toolNames, toolNamesSchema, toolProgressStatusSchema, toolUsageSchema, unboundDefaultModelId, unboundDefaultModelInfo, verbosityLevels, verbosityLevelsSchema, vertexDefaultModelId, vertexModels, vscodeLlmDefaultModelId, vscodeLlmModels, xaiDefaultModelId, xaiModels };
|
package/dist/index.js
CHANGED
|
@@ -1050,7 +1050,6 @@ var isLanguage = (value) => languages.includes(value);
|
|
|
1050
1050
|
// src/global-settings.ts
|
|
1051
1051
|
var DEFAULT_WRITE_DELAY_MS = 1e3;
|
|
1052
1052
|
var DEFAULT_TERMINAL_OUTPUT_CHARACTER_LIMIT = 5e4;
|
|
1053
|
-
var DEFAULT_USAGE_COLLECTION_TIMEOUT_MS = 3e4;
|
|
1054
1053
|
var globalSettingsSchema = z13.object({
|
|
1055
1054
|
currentApiConfigName: z13.string().optional(),
|
|
1056
1055
|
listApiConfigMeta: z13.array(providerSettingsEntrySchema).optional(),
|
|
@@ -1396,41 +1395,49 @@ var mcpExecutionStatusSchema = z16.discriminatedUnion("status", [
|
|
|
1396
1395
|
})
|
|
1397
1396
|
]);
|
|
1398
1397
|
|
|
1399
|
-
// src/
|
|
1398
|
+
// src/task.ts
|
|
1400
1399
|
import { z as z17 } from "zod";
|
|
1401
|
-
var
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1400
|
+
var taskMetadataSchema = z17.object({
|
|
1401
|
+
taskId: z17.string(),
|
|
1402
|
+
task: z17.string().optional(),
|
|
1403
|
+
images: z17.array(z17.string()).optional()
|
|
1404
|
+
});
|
|
1405
|
+
|
|
1406
|
+
// src/todo.ts
|
|
1407
|
+
import { z as z18 } from "zod";
|
|
1408
|
+
var todoStatusSchema = z18.enum(["pending", "in_progress", "completed"]);
|
|
1409
|
+
var todoItemSchema = z18.object({
|
|
1410
|
+
id: z18.string(),
|
|
1411
|
+
content: z18.string(),
|
|
1405
1412
|
status: todoStatusSchema
|
|
1406
1413
|
});
|
|
1407
1414
|
|
|
1408
1415
|
// src/terminal.ts
|
|
1409
|
-
import { z as
|
|
1410
|
-
var commandExecutionStatusSchema =
|
|
1411
|
-
|
|
1412
|
-
executionId:
|
|
1413
|
-
status:
|
|
1414
|
-
pid:
|
|
1415
|
-
command:
|
|
1416
|
+
import { z as z19 } from "zod";
|
|
1417
|
+
var commandExecutionStatusSchema = z19.discriminatedUnion("status", [
|
|
1418
|
+
z19.object({
|
|
1419
|
+
executionId: z19.string(),
|
|
1420
|
+
status: z19.literal("started"),
|
|
1421
|
+
pid: z19.number().optional(),
|
|
1422
|
+
command: z19.string()
|
|
1416
1423
|
}),
|
|
1417
|
-
|
|
1418
|
-
executionId:
|
|
1419
|
-
status:
|
|
1420
|
-
output:
|
|
1424
|
+
z19.object({
|
|
1425
|
+
executionId: z19.string(),
|
|
1426
|
+
status: z19.literal("output"),
|
|
1427
|
+
output: z19.string()
|
|
1421
1428
|
}),
|
|
1422
|
-
|
|
1423
|
-
executionId:
|
|
1424
|
-
status:
|
|
1425
|
-
exitCode:
|
|
1429
|
+
z19.object({
|
|
1430
|
+
executionId: z19.string(),
|
|
1431
|
+
status: z19.literal("exited"),
|
|
1432
|
+
exitCode: z19.number().optional()
|
|
1426
1433
|
}),
|
|
1427
|
-
|
|
1428
|
-
executionId:
|
|
1429
|
-
status:
|
|
1434
|
+
z19.object({
|
|
1435
|
+
executionId: z19.string(),
|
|
1436
|
+
status: z19.literal("fallback")
|
|
1430
1437
|
}),
|
|
1431
|
-
|
|
1432
|
-
executionId:
|
|
1433
|
-
status:
|
|
1438
|
+
z19.object({
|
|
1439
|
+
executionId: z19.string(),
|
|
1440
|
+
status: z19.literal("timeout")
|
|
1434
1441
|
})
|
|
1435
1442
|
]);
|
|
1436
1443
|
|
|
@@ -4300,7 +4307,6 @@ export {
|
|
|
4300
4307
|
DEFAULT_CONSECUTIVE_MISTAKE_LIMIT,
|
|
4301
4308
|
DEFAULT_MODES,
|
|
4302
4309
|
DEFAULT_TERMINAL_OUTPUT_CHARACTER_LIMIT,
|
|
4303
|
-
DEFAULT_USAGE_COLLECTION_TIMEOUT_MS,
|
|
4304
4310
|
DEFAULT_WRITE_DELAY_MS,
|
|
4305
4311
|
DOUBAO_API_BASE_URL,
|
|
4306
4312
|
DOUBAO_API_CHAT_PATH,
|
|
@@ -4459,6 +4465,7 @@ export {
|
|
|
4459
4465
|
suggestionItemSchema,
|
|
4460
4466
|
taskCommandSchema,
|
|
4461
4467
|
taskEventSchema,
|
|
4468
|
+
taskMetadataSchema,
|
|
4462
4469
|
taskPropertiesSchema,
|
|
4463
4470
|
telemetryPropertiesSchema,
|
|
4464
4471
|
telemetrySettings,
|