@roo-code/types 1.47.0 → 1.49.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 +54 -29
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +160 -113
- package/dist/index.d.ts +160 -113
- package/dist/index.js +50 -29
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -15549,104 +15549,6 @@ declare const toolUsageSchema: z.ZodRecord<z.ZodEnum<["execute_command", "read_f
|
|
|
15549
15549
|
}>>;
|
|
15550
15550
|
type ToolUsage = z.infer<typeof toolUsageSchema>;
|
|
15551
15551
|
|
|
15552
|
-
/**
|
|
15553
|
-
* TaskProviderLike
|
|
15554
|
-
*/
|
|
15555
|
-
interface TaskProviderState {
|
|
15556
|
-
mode?: string;
|
|
15557
|
-
}
|
|
15558
|
-
interface TaskProviderLike {
|
|
15559
|
-
readonly cwd: string;
|
|
15560
|
-
getCurrentCline(): TaskLike | undefined;
|
|
15561
|
-
getCurrentTaskStack(): string[];
|
|
15562
|
-
initClineWithTask(text?: string, images?: string[], parentTask?: TaskLike): Promise<TaskLike>;
|
|
15563
|
-
cancelTask(): Promise<void>;
|
|
15564
|
-
clearTask(): Promise<void>;
|
|
15565
|
-
postStateToWebview(): Promise<void>;
|
|
15566
|
-
getState(): Promise<TaskProviderState>;
|
|
15567
|
-
postMessageToWebview(message: unknown): Promise<void>;
|
|
15568
|
-
on<K extends keyof TaskProviderEvents>(event: K, listener: (...args: TaskProviderEvents[K]) => void | Promise<void>): this;
|
|
15569
|
-
off<K extends keyof TaskProviderEvents>(event: K, listener: (...args: TaskProviderEvents[K]) => void | Promise<void>): this;
|
|
15570
|
-
context: {
|
|
15571
|
-
extension?: {
|
|
15572
|
-
packageJSON?: {
|
|
15573
|
-
version?: string;
|
|
15574
|
-
};
|
|
15575
|
-
};
|
|
15576
|
-
};
|
|
15577
|
-
}
|
|
15578
|
-
type TaskProviderEvents = {
|
|
15579
|
-
[RooCodeEventName.TaskCreated]: [task: TaskLike];
|
|
15580
|
-
[RooCodeEventName.TaskStarted]: [taskId: string];
|
|
15581
|
-
[RooCodeEventName.TaskCompleted]: [taskId: string, tokenUsage: TokenUsage, toolUsage: ToolUsage];
|
|
15582
|
-
[RooCodeEventName.TaskAborted]: [taskId: string];
|
|
15583
|
-
[RooCodeEventName.TaskFocused]: [taskId: string];
|
|
15584
|
-
[RooCodeEventName.TaskUnfocused]: [taskId: string];
|
|
15585
|
-
[RooCodeEventName.TaskActive]: [taskId: string];
|
|
15586
|
-
[RooCodeEventName.TaskIdle]: [taskId: string];
|
|
15587
|
-
};
|
|
15588
|
-
/**
|
|
15589
|
-
* TaskLike
|
|
15590
|
-
*/
|
|
15591
|
-
type TaskMetadata = {
|
|
15592
|
-
taskId: string;
|
|
15593
|
-
task?: string;
|
|
15594
|
-
images?: string[];
|
|
15595
|
-
};
|
|
15596
|
-
interface TaskLike {
|
|
15597
|
-
readonly taskId: string;
|
|
15598
|
-
readonly rootTask?: TaskLike;
|
|
15599
|
-
readonly blockingAsk?: BlockingAsk;
|
|
15600
|
-
readonly metadata: TaskMetadata;
|
|
15601
|
-
on<K extends keyof TaskEvents>(event: K, listener: (...args: TaskEvents[K]) => void | Promise<void>): this;
|
|
15602
|
-
off<K extends keyof TaskEvents>(event: K, listener: (...args: TaskEvents[K]) => void | Promise<void>): this;
|
|
15603
|
-
setMessageResponse(text: string, images?: string[]): void;
|
|
15604
|
-
submitUserMessage(text: string, images?: string[]): void;
|
|
15605
|
-
}
|
|
15606
|
-
type TaskEvents = {
|
|
15607
|
-
[RooCodeEventName.TaskStarted]: [];
|
|
15608
|
-
[RooCodeEventName.TaskCompleted]: [taskId: string, tokenUsage: TokenUsage, toolUsage: ToolUsage];
|
|
15609
|
-
[RooCodeEventName.TaskAborted]: [];
|
|
15610
|
-
[RooCodeEventName.TaskFocused]: [];
|
|
15611
|
-
[RooCodeEventName.TaskUnfocused]: [];
|
|
15612
|
-
[RooCodeEventName.TaskActive]: [taskId: string];
|
|
15613
|
-
[RooCodeEventName.TaskIdle]: [taskId: string];
|
|
15614
|
-
[RooCodeEventName.TaskPaused]: [];
|
|
15615
|
-
[RooCodeEventName.TaskUnpaused]: [];
|
|
15616
|
-
[RooCodeEventName.TaskSpawned]: [taskId: string];
|
|
15617
|
-
[RooCodeEventName.Message]: [{
|
|
15618
|
-
action: "created" | "updated";
|
|
15619
|
-
message: ClineMessage;
|
|
15620
|
-
}];
|
|
15621
|
-
[RooCodeEventName.TaskModeSwitched]: [taskId: string, mode: string];
|
|
15622
|
-
[RooCodeEventName.TaskAskResponded]: [];
|
|
15623
|
-
[RooCodeEventName.TaskToolFailed]: [taskId: string, tool: ToolName, error: string];
|
|
15624
|
-
[RooCodeEventName.TaskTokenUsageUpdated]: [taskId: string, tokenUsage: TokenUsage];
|
|
15625
|
-
};
|
|
15626
|
-
|
|
15627
|
-
/**
|
|
15628
|
-
* TodoStatus
|
|
15629
|
-
*/
|
|
15630
|
-
declare const todoStatusSchema: z.ZodEnum<["pending", "in_progress", "completed"]>;
|
|
15631
|
-
type TodoStatus = z.infer<typeof todoStatusSchema>;
|
|
15632
|
-
/**
|
|
15633
|
-
* TodoItem
|
|
15634
|
-
*/
|
|
15635
|
-
declare const todoItemSchema: z.ZodObject<{
|
|
15636
|
-
id: z.ZodString;
|
|
15637
|
-
content: z.ZodString;
|
|
15638
|
-
status: z.ZodEnum<["pending", "in_progress", "completed"]>;
|
|
15639
|
-
}, "strip", z.ZodTypeAny, {
|
|
15640
|
-
status: "completed" | "pending" | "in_progress";
|
|
15641
|
-
id: string;
|
|
15642
|
-
content: string;
|
|
15643
|
-
}, {
|
|
15644
|
-
status: "completed" | "pending" | "in_progress";
|
|
15645
|
-
id: string;
|
|
15646
|
-
content: string;
|
|
15647
|
-
}>;
|
|
15648
|
-
type TodoItem = z.infer<typeof todoItemSchema>;
|
|
15649
|
-
|
|
15650
15552
|
/**
|
|
15651
15553
|
* TelemetrySetting
|
|
15652
15554
|
*/
|
|
@@ -15699,15 +15601,54 @@ declare enum TelemetryEventName {
|
|
|
15699
15601
|
/**
|
|
15700
15602
|
* TelemetryProperties
|
|
15701
15603
|
*/
|
|
15702
|
-
declare const
|
|
15604
|
+
declare const staticAppPropertiesSchema: z.ZodObject<{
|
|
15703
15605
|
appName: z.ZodString;
|
|
15704
15606
|
appVersion: z.ZodString;
|
|
15705
15607
|
vscodeVersion: z.ZodString;
|
|
15706
15608
|
platform: z.ZodString;
|
|
15707
15609
|
editorName: z.ZodString;
|
|
15610
|
+
}, "strip", z.ZodTypeAny, {
|
|
15611
|
+
appName: string;
|
|
15612
|
+
appVersion: string;
|
|
15613
|
+
vscodeVersion: string;
|
|
15614
|
+
platform: string;
|
|
15615
|
+
editorName: string;
|
|
15616
|
+
}, {
|
|
15617
|
+
appName: string;
|
|
15618
|
+
appVersion: string;
|
|
15619
|
+
vscodeVersion: string;
|
|
15620
|
+
platform: string;
|
|
15621
|
+
editorName: string;
|
|
15622
|
+
}>;
|
|
15623
|
+
type StaticAppProperties = z.infer<typeof staticAppPropertiesSchema>;
|
|
15624
|
+
declare const dynamicAppPropertiesSchema: z.ZodObject<{
|
|
15708
15625
|
language: z.ZodString;
|
|
15709
15626
|
mode: z.ZodString;
|
|
15627
|
+
}, "strip", z.ZodTypeAny, {
|
|
15628
|
+
mode: string;
|
|
15629
|
+
language: string;
|
|
15630
|
+
}, {
|
|
15631
|
+
mode: string;
|
|
15632
|
+
language: string;
|
|
15633
|
+
}>;
|
|
15634
|
+
type DynamicAppProperties = z.infer<typeof dynamicAppPropertiesSchema>;
|
|
15635
|
+
declare const cloudAppPropertiesSchema: z.ZodObject<{
|
|
15710
15636
|
cloudIsAuthenticated: z.ZodOptional<z.ZodBoolean>;
|
|
15637
|
+
}, "strip", z.ZodTypeAny, {
|
|
15638
|
+
cloudIsAuthenticated?: boolean | undefined;
|
|
15639
|
+
}, {
|
|
15640
|
+
cloudIsAuthenticated?: boolean | undefined;
|
|
15641
|
+
}>;
|
|
15642
|
+
type CloudAppProperties = z.infer<typeof cloudAppPropertiesSchema>;
|
|
15643
|
+
declare const appPropertiesSchema: z.ZodObject<{
|
|
15644
|
+
cloudIsAuthenticated: z.ZodOptional<z.ZodBoolean>;
|
|
15645
|
+
language: z.ZodString;
|
|
15646
|
+
mode: z.ZodString;
|
|
15647
|
+
appName: z.ZodString;
|
|
15648
|
+
appVersion: z.ZodString;
|
|
15649
|
+
vscodeVersion: z.ZodString;
|
|
15650
|
+
platform: z.ZodString;
|
|
15651
|
+
editorName: z.ZodString;
|
|
15711
15652
|
}, "strip", z.ZodTypeAny, {
|
|
15712
15653
|
mode: string;
|
|
15713
15654
|
appName: string;
|
|
@@ -15727,6 +15668,7 @@ declare const appPropertiesSchema: z.ZodObject<{
|
|
|
15727
15668
|
language: string;
|
|
15728
15669
|
cloudIsAuthenticated?: boolean | undefined;
|
|
15729
15670
|
}>;
|
|
15671
|
+
type AppProperties = z.infer<typeof appPropertiesSchema>;
|
|
15730
15672
|
declare const taskPropertiesSchema: z.ZodObject<{
|
|
15731
15673
|
taskId: z.ZodOptional<z.ZodString>;
|
|
15732
15674
|
apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "gemini-cli", "openai-native", "mistral", "moonshot", "deepseek", "doubao", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm", "huggingface", "cerebras", "sambanova", "zai", "fireworks", "io-intelligence"]>>;
|
|
@@ -15774,6 +15716,7 @@ declare const taskPropertiesSchema: z.ZodObject<{
|
|
|
15774
15716
|
pending: number;
|
|
15775
15717
|
} | undefined;
|
|
15776
15718
|
}>;
|
|
15719
|
+
type TaskProperties = z.infer<typeof taskPropertiesSchema>;
|
|
15777
15720
|
declare const gitPropertiesSchema: z.ZodObject<{
|
|
15778
15721
|
repositoryUrl: z.ZodOptional<z.ZodString>;
|
|
15779
15722
|
repositoryName: z.ZodOptional<z.ZodString>;
|
|
@@ -15787,6 +15730,7 @@ declare const gitPropertiesSchema: z.ZodObject<{
|
|
|
15787
15730
|
repositoryName?: string | undefined;
|
|
15788
15731
|
defaultBranch?: string | undefined;
|
|
15789
15732
|
}>;
|
|
15733
|
+
type GitProperties = z.infer<typeof gitPropertiesSchema>;
|
|
15790
15734
|
declare const telemetryPropertiesSchema: z.ZodObject<{
|
|
15791
15735
|
repositoryUrl: z.ZodOptional<z.ZodString>;
|
|
15792
15736
|
repositoryName: z.ZodOptional<z.ZodString>;
|
|
@@ -15812,14 +15756,14 @@ declare const telemetryPropertiesSchema: z.ZodObject<{
|
|
|
15812
15756
|
inProgress: number;
|
|
15813
15757
|
pending: number;
|
|
15814
15758
|
}>>;
|
|
15759
|
+
cloudIsAuthenticated: z.ZodOptional<z.ZodBoolean>;
|
|
15760
|
+
language: z.ZodString;
|
|
15761
|
+
mode: z.ZodString;
|
|
15815
15762
|
appName: z.ZodString;
|
|
15816
15763
|
appVersion: z.ZodString;
|
|
15817
15764
|
vscodeVersion: z.ZodString;
|
|
15818
15765
|
platform: z.ZodString;
|
|
15819
15766
|
editorName: z.ZodString;
|
|
15820
|
-
language: z.ZodString;
|
|
15821
|
-
mode: z.ZodString;
|
|
15822
|
-
cloudIsAuthenticated: z.ZodOptional<z.ZodBoolean>;
|
|
15823
15767
|
}, "strip", z.ZodTypeAny, {
|
|
15824
15768
|
mode: string;
|
|
15825
15769
|
appName: string;
|
|
@@ -15868,7 +15812,6 @@ declare const telemetryPropertiesSchema: z.ZodObject<{
|
|
|
15868
15812
|
defaultBranch?: string | undefined;
|
|
15869
15813
|
}>;
|
|
15870
15814
|
type TelemetryProperties = z.infer<typeof telemetryPropertiesSchema>;
|
|
15871
|
-
type GitProperties = z.infer<typeof gitPropertiesSchema>;
|
|
15872
15815
|
/**
|
|
15873
15816
|
* TelemetryEvent
|
|
15874
15817
|
*/
|
|
@@ -15906,14 +15849,14 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
15906
15849
|
inProgress: number;
|
|
15907
15850
|
pending: number;
|
|
15908
15851
|
}>>;
|
|
15852
|
+
cloudIsAuthenticated: z.ZodOptional<z.ZodBoolean>;
|
|
15853
|
+
language: z.ZodString;
|
|
15854
|
+
mode: z.ZodString;
|
|
15909
15855
|
appName: z.ZodString;
|
|
15910
15856
|
appVersion: z.ZodString;
|
|
15911
15857
|
vscodeVersion: z.ZodString;
|
|
15912
15858
|
platform: z.ZodString;
|
|
15913
15859
|
editorName: z.ZodString;
|
|
15914
|
-
language: z.ZodString;
|
|
15915
|
-
mode: z.ZodString;
|
|
15916
|
-
cloudIsAuthenticated: z.ZodOptional<z.ZodBoolean>;
|
|
15917
15860
|
}, "strip", z.ZodTypeAny, {
|
|
15918
15861
|
mode: string;
|
|
15919
15862
|
appName: string;
|
|
@@ -16167,14 +16110,14 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
16167
16110
|
inProgress: number;
|
|
16168
16111
|
pending: number;
|
|
16169
16112
|
}>>;
|
|
16113
|
+
cloudIsAuthenticated: z.ZodOptional<z.ZodBoolean>;
|
|
16114
|
+
language: z.ZodString;
|
|
16115
|
+
mode: z.ZodString;
|
|
16170
16116
|
appName: z.ZodString;
|
|
16171
16117
|
appVersion: z.ZodString;
|
|
16172
16118
|
vscodeVersion: z.ZodString;
|
|
16173
16119
|
platform: z.ZodString;
|
|
16174
16120
|
editorName: z.ZodString;
|
|
16175
|
-
language: z.ZodString;
|
|
16176
|
-
mode: z.ZodString;
|
|
16177
|
-
cloudIsAuthenticated: z.ZodOptional<z.ZodBoolean>;
|
|
16178
16121
|
}, "strip", z.ZodTypeAny, {
|
|
16179
16122
|
message: {
|
|
16180
16123
|
type: "ask" | "say";
|
|
@@ -16430,14 +16373,14 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
16430
16373
|
inProgress: number;
|
|
16431
16374
|
pending: number;
|
|
16432
16375
|
}>>;
|
|
16376
|
+
cloudIsAuthenticated: z.ZodOptional<z.ZodBoolean>;
|
|
16377
|
+
language: z.ZodString;
|
|
16378
|
+
mode: z.ZodString;
|
|
16433
16379
|
appName: z.ZodString;
|
|
16434
16380
|
appVersion: z.ZodString;
|
|
16435
16381
|
vscodeVersion: z.ZodString;
|
|
16436
16382
|
platform: z.ZodString;
|
|
16437
16383
|
editorName: z.ZodString;
|
|
16438
|
-
language: z.ZodString;
|
|
16439
|
-
mode: z.ZodString;
|
|
16440
|
-
cloudIsAuthenticated: z.ZodOptional<z.ZodBoolean>;
|
|
16441
16384
|
}, "strip", z.ZodTypeAny, {
|
|
16442
16385
|
mode: string;
|
|
16443
16386
|
appName: string;
|
|
@@ -16587,6 +16530,110 @@ interface TelemetryClient {
|
|
|
16587
16530
|
shutdown(): Promise<void>;
|
|
16588
16531
|
}
|
|
16589
16532
|
|
|
16533
|
+
/**
|
|
16534
|
+
* TaskProviderLike
|
|
16535
|
+
*/
|
|
16536
|
+
interface TaskProviderState {
|
|
16537
|
+
mode?: string;
|
|
16538
|
+
}
|
|
16539
|
+
interface TaskProviderLike {
|
|
16540
|
+
readonly cwd: string;
|
|
16541
|
+
readonly appProperties: StaticAppProperties;
|
|
16542
|
+
readonly gitProperties: GitProperties | undefined;
|
|
16543
|
+
getCurrentTask(): TaskLike | undefined;
|
|
16544
|
+
getCurrentTaskStack(): string[];
|
|
16545
|
+
getRecentTasks(): string[];
|
|
16546
|
+
createTask(text?: string, images?: string[], parentTask?: TaskLike): Promise<TaskLike>;
|
|
16547
|
+
cancelTask(): Promise<void>;
|
|
16548
|
+
clearTask(): Promise<void>;
|
|
16549
|
+
getState(): Promise<TaskProviderState>;
|
|
16550
|
+
postStateToWebview(): Promise<void>;
|
|
16551
|
+
postMessageToWebview(message: unknown): Promise<void>;
|
|
16552
|
+
getTelemetryProperties(): Promise<TelemetryProperties>;
|
|
16553
|
+
on<K extends keyof TaskProviderEvents>(event: K, listener: (...args: TaskProviderEvents[K]) => void | Promise<void>): this;
|
|
16554
|
+
off<K extends keyof TaskProviderEvents>(event: K, listener: (...args: TaskProviderEvents[K]) => void | Promise<void>): this;
|
|
16555
|
+
}
|
|
16556
|
+
type TaskProviderEvents = {
|
|
16557
|
+
[RooCodeEventName.TaskCreated]: [task: TaskLike];
|
|
16558
|
+
[RooCodeEventName.TaskStarted]: [taskId: string];
|
|
16559
|
+
[RooCodeEventName.TaskCompleted]: [taskId: string, tokenUsage: TokenUsage, toolUsage: ToolUsage];
|
|
16560
|
+
[RooCodeEventName.TaskAborted]: [taskId: string];
|
|
16561
|
+
[RooCodeEventName.TaskFocused]: [taskId: string];
|
|
16562
|
+
[RooCodeEventName.TaskUnfocused]: [taskId: string];
|
|
16563
|
+
[RooCodeEventName.TaskActive]: [taskId: string];
|
|
16564
|
+
[RooCodeEventName.TaskIdle]: [taskId: string];
|
|
16565
|
+
};
|
|
16566
|
+
/**
|
|
16567
|
+
* TaskLike
|
|
16568
|
+
*/
|
|
16569
|
+
declare const taskMetadataSchema: z.ZodObject<{
|
|
16570
|
+
taskId: z.ZodString;
|
|
16571
|
+
task: z.ZodOptional<z.ZodString>;
|
|
16572
|
+
images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
16573
|
+
}, "strip", z.ZodTypeAny, {
|
|
16574
|
+
taskId: string;
|
|
16575
|
+
images?: string[] | undefined;
|
|
16576
|
+
task?: string | undefined;
|
|
16577
|
+
}, {
|
|
16578
|
+
taskId: string;
|
|
16579
|
+
images?: string[] | undefined;
|
|
16580
|
+
task?: string | undefined;
|
|
16581
|
+
}>;
|
|
16582
|
+
type TaskMetadata = z.infer<typeof taskMetadataSchema>;
|
|
16583
|
+
interface TaskLike {
|
|
16584
|
+
readonly taskId: string;
|
|
16585
|
+
readonly rootTask?: TaskLike;
|
|
16586
|
+
readonly blockingAsk?: BlockingAsk;
|
|
16587
|
+
readonly metadata: TaskMetadata;
|
|
16588
|
+
on<K extends keyof TaskEvents>(event: K, listener: (...args: TaskEvents[K]) => void | Promise<void>): this;
|
|
16589
|
+
off<K extends keyof TaskEvents>(event: K, listener: (...args: TaskEvents[K]) => void | Promise<void>): this;
|
|
16590
|
+
setMessageResponse(text: string, images?: string[]): void;
|
|
16591
|
+
submitUserMessage(text: string, images?: string[]): void;
|
|
16592
|
+
}
|
|
16593
|
+
type TaskEvents = {
|
|
16594
|
+
[RooCodeEventName.TaskStarted]: [];
|
|
16595
|
+
[RooCodeEventName.TaskCompleted]: [taskId: string, tokenUsage: TokenUsage, toolUsage: ToolUsage];
|
|
16596
|
+
[RooCodeEventName.TaskAborted]: [];
|
|
16597
|
+
[RooCodeEventName.TaskFocused]: [];
|
|
16598
|
+
[RooCodeEventName.TaskUnfocused]: [];
|
|
16599
|
+
[RooCodeEventName.TaskActive]: [taskId: string];
|
|
16600
|
+
[RooCodeEventName.TaskIdle]: [taskId: string];
|
|
16601
|
+
[RooCodeEventName.TaskPaused]: [];
|
|
16602
|
+
[RooCodeEventName.TaskUnpaused]: [];
|
|
16603
|
+
[RooCodeEventName.TaskSpawned]: [taskId: string];
|
|
16604
|
+
[RooCodeEventName.Message]: [{
|
|
16605
|
+
action: "created" | "updated";
|
|
16606
|
+
message: ClineMessage;
|
|
16607
|
+
}];
|
|
16608
|
+
[RooCodeEventName.TaskModeSwitched]: [taskId: string, mode: string];
|
|
16609
|
+
[RooCodeEventName.TaskAskResponded]: [];
|
|
16610
|
+
[RooCodeEventName.TaskToolFailed]: [taskId: string, tool: ToolName, error: string];
|
|
16611
|
+
[RooCodeEventName.TaskTokenUsageUpdated]: [taskId: string, tokenUsage: TokenUsage];
|
|
16612
|
+
};
|
|
16613
|
+
|
|
16614
|
+
/**
|
|
16615
|
+
* TodoStatus
|
|
16616
|
+
*/
|
|
16617
|
+
declare const todoStatusSchema: z.ZodEnum<["pending", "in_progress", "completed"]>;
|
|
16618
|
+
type TodoStatus = z.infer<typeof todoStatusSchema>;
|
|
16619
|
+
/**
|
|
16620
|
+
* TodoItem
|
|
16621
|
+
*/
|
|
16622
|
+
declare const todoItemSchema: z.ZodObject<{
|
|
16623
|
+
id: z.ZodString;
|
|
16624
|
+
content: z.ZodString;
|
|
16625
|
+
status: z.ZodEnum<["pending", "in_progress", "completed"]>;
|
|
16626
|
+
}, "strip", z.ZodTypeAny, {
|
|
16627
|
+
status: "completed" | "pending" | "in_progress";
|
|
16628
|
+
id: string;
|
|
16629
|
+
content: string;
|
|
16630
|
+
}, {
|
|
16631
|
+
status: "completed" | "pending" | "in_progress";
|
|
16632
|
+
id: string;
|
|
16633
|
+
content: string;
|
|
16634
|
+
}>;
|
|
16635
|
+
type TodoItem = z.infer<typeof todoItemSchema>;
|
|
16636
|
+
|
|
16590
16637
|
/**
|
|
16591
16638
|
* CommandExecutionStatus
|
|
16592
16639
|
*/
|
|
@@ -19233,4 +19280,4 @@ declare const fireworksModels: {
|
|
|
19233
19280
|
};
|
|
19234
19281
|
};
|
|
19235
19282
|
|
|
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, 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, taskPropertiesSchema, telemetryPropertiesSchema, telemetrySettings, telemetrySettingsSchema, terminalActionIds, todoItemSchema, todoStatusSchema, tokenUsageSchema, toolGroups, toolGroupsSchema, toolNames, toolNamesSchema, toolProgressStatusSchema, toolUsageSchema, unboundDefaultModelId, unboundDefaultModelInfo, verbosityLevels, verbosityLevelsSchema, vertexDefaultModelId, vertexModels, vscodeLlmDefaultModelId, vscodeLlmModels, xaiDefaultModelId, xaiModels };
|
|
19283
|
+
export { ANTHROPIC_DEFAULT_MAX_TOKENS, ANTHROPIC_STYLE_PROVIDERS, AWS_INFERENCE_PROFILE_MAPPING, type Ack, type AnthropicModelId, type AppProperties, 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 CloudAppProperties, 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, type DynamicAppProperties, 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 StaticAppProperties, type SuggestionItem, type TaskCommand, TaskCommandName, type TaskEvent, type TaskEvents, type TaskLike, type TaskMetadata, type TaskProperties, 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, cloudAppPropertiesSchema, codeActionIds, codebaseIndexConfigSchema, codebaseIndexModelsSchema, codebaseIndexProviderSchema, commandExecutionStatusSchema, commandIds, contextCondenseSchema, convertModelNameForVertex, customModePromptsSchema, customModesSettingsSchema, customSupportPromptsSchema, deepSeekDefaultModelId, deepSeekModels, discriminatedProviderSettingsWithIdSchema, doubaoDefaultModelId, doubaoDefaultModelInfo, doubaoModels, dynamicAppPropertiesSchema, 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, staticAppPropertiesSchema, 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 };
|