@roo-code/types 1.48.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 +18 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +160 -122
- package/dist/index.d.ts +160 -122
- package/dist/index.js +15 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -15549,113 +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
|
-
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>;
|
|
15605
|
-
interface TaskLike {
|
|
15606
|
-
readonly taskId: string;
|
|
15607
|
-
readonly rootTask?: TaskLike;
|
|
15608
|
-
readonly blockingAsk?: BlockingAsk;
|
|
15609
|
-
readonly metadata: TaskMetadata;
|
|
15610
|
-
on<K extends keyof TaskEvents>(event: K, listener: (...args: TaskEvents[K]) => void | Promise<void>): this;
|
|
15611
|
-
off<K extends keyof TaskEvents>(event: K, listener: (...args: TaskEvents[K]) => void | Promise<void>): this;
|
|
15612
|
-
setMessageResponse(text: string, images?: string[]): void;
|
|
15613
|
-
submitUserMessage(text: string, images?: string[]): void;
|
|
15614
|
-
}
|
|
15615
|
-
type TaskEvents = {
|
|
15616
|
-
[RooCodeEventName.TaskStarted]: [];
|
|
15617
|
-
[RooCodeEventName.TaskCompleted]: [taskId: string, tokenUsage: TokenUsage, toolUsage: ToolUsage];
|
|
15618
|
-
[RooCodeEventName.TaskAborted]: [];
|
|
15619
|
-
[RooCodeEventName.TaskFocused]: [];
|
|
15620
|
-
[RooCodeEventName.TaskUnfocused]: [];
|
|
15621
|
-
[RooCodeEventName.TaskActive]: [taskId: string];
|
|
15622
|
-
[RooCodeEventName.TaskIdle]: [taskId: string];
|
|
15623
|
-
[RooCodeEventName.TaskPaused]: [];
|
|
15624
|
-
[RooCodeEventName.TaskUnpaused]: [];
|
|
15625
|
-
[RooCodeEventName.TaskSpawned]: [taskId: string];
|
|
15626
|
-
[RooCodeEventName.Message]: [{
|
|
15627
|
-
action: "created" | "updated";
|
|
15628
|
-
message: ClineMessage;
|
|
15629
|
-
}];
|
|
15630
|
-
[RooCodeEventName.TaskModeSwitched]: [taskId: string, mode: string];
|
|
15631
|
-
[RooCodeEventName.TaskAskResponded]: [];
|
|
15632
|
-
[RooCodeEventName.TaskToolFailed]: [taskId: string, tool: ToolName, error: string];
|
|
15633
|
-
[RooCodeEventName.TaskTokenUsageUpdated]: [taskId: string, tokenUsage: TokenUsage];
|
|
15634
|
-
};
|
|
15635
|
-
|
|
15636
|
-
/**
|
|
15637
|
-
* TodoStatus
|
|
15638
|
-
*/
|
|
15639
|
-
declare const todoStatusSchema: z.ZodEnum<["pending", "in_progress", "completed"]>;
|
|
15640
|
-
type TodoStatus = z.infer<typeof todoStatusSchema>;
|
|
15641
|
-
/**
|
|
15642
|
-
* TodoItem
|
|
15643
|
-
*/
|
|
15644
|
-
declare const todoItemSchema: z.ZodObject<{
|
|
15645
|
-
id: z.ZodString;
|
|
15646
|
-
content: z.ZodString;
|
|
15647
|
-
status: z.ZodEnum<["pending", "in_progress", "completed"]>;
|
|
15648
|
-
}, "strip", z.ZodTypeAny, {
|
|
15649
|
-
status: "completed" | "pending" | "in_progress";
|
|
15650
|
-
id: string;
|
|
15651
|
-
content: string;
|
|
15652
|
-
}, {
|
|
15653
|
-
status: "completed" | "pending" | "in_progress";
|
|
15654
|
-
id: string;
|
|
15655
|
-
content: string;
|
|
15656
|
-
}>;
|
|
15657
|
-
type TodoItem = z.infer<typeof todoItemSchema>;
|
|
15658
|
-
|
|
15659
15552
|
/**
|
|
15660
15553
|
* TelemetrySetting
|
|
15661
15554
|
*/
|
|
@@ -15708,15 +15601,54 @@ declare enum TelemetryEventName {
|
|
|
15708
15601
|
/**
|
|
15709
15602
|
* TelemetryProperties
|
|
15710
15603
|
*/
|
|
15711
|
-
declare const
|
|
15604
|
+
declare const staticAppPropertiesSchema: z.ZodObject<{
|
|
15712
15605
|
appName: z.ZodString;
|
|
15713
15606
|
appVersion: z.ZodString;
|
|
15714
15607
|
vscodeVersion: z.ZodString;
|
|
15715
15608
|
platform: z.ZodString;
|
|
15716
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<{
|
|
15717
15625
|
language: z.ZodString;
|
|
15718
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<{
|
|
15719
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;
|
|
15720
15652
|
}, "strip", z.ZodTypeAny, {
|
|
15721
15653
|
mode: string;
|
|
15722
15654
|
appName: string;
|
|
@@ -15736,6 +15668,7 @@ declare const appPropertiesSchema: z.ZodObject<{
|
|
|
15736
15668
|
language: string;
|
|
15737
15669
|
cloudIsAuthenticated?: boolean | undefined;
|
|
15738
15670
|
}>;
|
|
15671
|
+
type AppProperties = z.infer<typeof appPropertiesSchema>;
|
|
15739
15672
|
declare const taskPropertiesSchema: z.ZodObject<{
|
|
15740
15673
|
taskId: z.ZodOptional<z.ZodString>;
|
|
15741
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"]>>;
|
|
@@ -15783,6 +15716,7 @@ declare const taskPropertiesSchema: z.ZodObject<{
|
|
|
15783
15716
|
pending: number;
|
|
15784
15717
|
} | undefined;
|
|
15785
15718
|
}>;
|
|
15719
|
+
type TaskProperties = z.infer<typeof taskPropertiesSchema>;
|
|
15786
15720
|
declare const gitPropertiesSchema: z.ZodObject<{
|
|
15787
15721
|
repositoryUrl: z.ZodOptional<z.ZodString>;
|
|
15788
15722
|
repositoryName: z.ZodOptional<z.ZodString>;
|
|
@@ -15796,6 +15730,7 @@ declare const gitPropertiesSchema: z.ZodObject<{
|
|
|
15796
15730
|
repositoryName?: string | undefined;
|
|
15797
15731
|
defaultBranch?: string | undefined;
|
|
15798
15732
|
}>;
|
|
15733
|
+
type GitProperties = z.infer<typeof gitPropertiesSchema>;
|
|
15799
15734
|
declare const telemetryPropertiesSchema: z.ZodObject<{
|
|
15800
15735
|
repositoryUrl: z.ZodOptional<z.ZodString>;
|
|
15801
15736
|
repositoryName: z.ZodOptional<z.ZodString>;
|
|
@@ -15821,14 +15756,14 @@ declare const telemetryPropertiesSchema: z.ZodObject<{
|
|
|
15821
15756
|
inProgress: number;
|
|
15822
15757
|
pending: number;
|
|
15823
15758
|
}>>;
|
|
15759
|
+
cloudIsAuthenticated: z.ZodOptional<z.ZodBoolean>;
|
|
15760
|
+
language: z.ZodString;
|
|
15761
|
+
mode: z.ZodString;
|
|
15824
15762
|
appName: z.ZodString;
|
|
15825
15763
|
appVersion: z.ZodString;
|
|
15826
15764
|
vscodeVersion: z.ZodString;
|
|
15827
15765
|
platform: z.ZodString;
|
|
15828
15766
|
editorName: z.ZodString;
|
|
15829
|
-
language: z.ZodString;
|
|
15830
|
-
mode: z.ZodString;
|
|
15831
|
-
cloudIsAuthenticated: z.ZodOptional<z.ZodBoolean>;
|
|
15832
15767
|
}, "strip", z.ZodTypeAny, {
|
|
15833
15768
|
mode: string;
|
|
15834
15769
|
appName: string;
|
|
@@ -15877,7 +15812,6 @@ declare const telemetryPropertiesSchema: z.ZodObject<{
|
|
|
15877
15812
|
defaultBranch?: string | undefined;
|
|
15878
15813
|
}>;
|
|
15879
15814
|
type TelemetryProperties = z.infer<typeof telemetryPropertiesSchema>;
|
|
15880
|
-
type GitProperties = z.infer<typeof gitPropertiesSchema>;
|
|
15881
15815
|
/**
|
|
15882
15816
|
* TelemetryEvent
|
|
15883
15817
|
*/
|
|
@@ -15915,14 +15849,14 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
15915
15849
|
inProgress: number;
|
|
15916
15850
|
pending: number;
|
|
15917
15851
|
}>>;
|
|
15852
|
+
cloudIsAuthenticated: z.ZodOptional<z.ZodBoolean>;
|
|
15853
|
+
language: z.ZodString;
|
|
15854
|
+
mode: z.ZodString;
|
|
15918
15855
|
appName: z.ZodString;
|
|
15919
15856
|
appVersion: z.ZodString;
|
|
15920
15857
|
vscodeVersion: z.ZodString;
|
|
15921
15858
|
platform: z.ZodString;
|
|
15922
15859
|
editorName: z.ZodString;
|
|
15923
|
-
language: z.ZodString;
|
|
15924
|
-
mode: z.ZodString;
|
|
15925
|
-
cloudIsAuthenticated: z.ZodOptional<z.ZodBoolean>;
|
|
15926
15860
|
}, "strip", z.ZodTypeAny, {
|
|
15927
15861
|
mode: string;
|
|
15928
15862
|
appName: string;
|
|
@@ -16176,14 +16110,14 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
16176
16110
|
inProgress: number;
|
|
16177
16111
|
pending: number;
|
|
16178
16112
|
}>>;
|
|
16113
|
+
cloudIsAuthenticated: z.ZodOptional<z.ZodBoolean>;
|
|
16114
|
+
language: z.ZodString;
|
|
16115
|
+
mode: z.ZodString;
|
|
16179
16116
|
appName: z.ZodString;
|
|
16180
16117
|
appVersion: z.ZodString;
|
|
16181
16118
|
vscodeVersion: z.ZodString;
|
|
16182
16119
|
platform: z.ZodString;
|
|
16183
16120
|
editorName: z.ZodString;
|
|
16184
|
-
language: z.ZodString;
|
|
16185
|
-
mode: z.ZodString;
|
|
16186
|
-
cloudIsAuthenticated: z.ZodOptional<z.ZodBoolean>;
|
|
16187
16121
|
}, "strip", z.ZodTypeAny, {
|
|
16188
16122
|
message: {
|
|
16189
16123
|
type: "ask" | "say";
|
|
@@ -16439,14 +16373,14 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
16439
16373
|
inProgress: number;
|
|
16440
16374
|
pending: number;
|
|
16441
16375
|
}>>;
|
|
16376
|
+
cloudIsAuthenticated: z.ZodOptional<z.ZodBoolean>;
|
|
16377
|
+
language: z.ZodString;
|
|
16378
|
+
mode: z.ZodString;
|
|
16442
16379
|
appName: z.ZodString;
|
|
16443
16380
|
appVersion: z.ZodString;
|
|
16444
16381
|
vscodeVersion: z.ZodString;
|
|
16445
16382
|
platform: z.ZodString;
|
|
16446
16383
|
editorName: z.ZodString;
|
|
16447
|
-
language: z.ZodString;
|
|
16448
|
-
mode: z.ZodString;
|
|
16449
|
-
cloudIsAuthenticated: z.ZodOptional<z.ZodBoolean>;
|
|
16450
16384
|
}, "strip", z.ZodTypeAny, {
|
|
16451
16385
|
mode: string;
|
|
16452
16386
|
appName: string;
|
|
@@ -16596,6 +16530,110 @@ interface TelemetryClient {
|
|
|
16596
16530
|
shutdown(): Promise<void>;
|
|
16597
16531
|
}
|
|
16598
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
|
+
|
|
16599
16637
|
/**
|
|
16600
16638
|
* CommandExecutionStatus
|
|
16601
16639
|
*/
|
|
@@ -19242,4 +19280,4 @@ declare const fireworksModels: {
|
|
|
19242
19280
|
};
|
|
19243
19281
|
};
|
|
19244
19282
|
|
|
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 };
|
|
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 };
|
package/dist/index.js
CHANGED
|
@@ -786,16 +786,25 @@ var TelemetryEventName = /* @__PURE__ */ ((TelemetryEventName2) => {
|
|
|
786
786
|
TelemetryEventName2["CODE_INDEX_ERROR"] = "Code Index Error";
|
|
787
787
|
return TelemetryEventName2;
|
|
788
788
|
})(TelemetryEventName || {});
|
|
789
|
-
var
|
|
789
|
+
var staticAppPropertiesSchema = z10.object({
|
|
790
790
|
appName: z10.string(),
|
|
791
791
|
appVersion: z10.string(),
|
|
792
792
|
vscodeVersion: z10.string(),
|
|
793
793
|
platform: z10.string(),
|
|
794
|
-
editorName: z10.string()
|
|
794
|
+
editorName: z10.string()
|
|
795
|
+
});
|
|
796
|
+
var dynamicAppPropertiesSchema = z10.object({
|
|
795
797
|
language: z10.string(),
|
|
796
|
-
mode: z10.string()
|
|
798
|
+
mode: z10.string()
|
|
799
|
+
});
|
|
800
|
+
var cloudAppPropertiesSchema = z10.object({
|
|
797
801
|
cloudIsAuthenticated: z10.boolean().optional()
|
|
798
802
|
});
|
|
803
|
+
var appPropertiesSchema = z10.object({
|
|
804
|
+
...staticAppPropertiesSchema.shape,
|
|
805
|
+
...dynamicAppPropertiesSchema.shape,
|
|
806
|
+
...cloudAppPropertiesSchema.shape
|
|
807
|
+
});
|
|
799
808
|
var taskPropertiesSchema = z10.object({
|
|
800
809
|
taskId: z10.string().optional(),
|
|
801
810
|
apiProvider: z10.enum(providerNames).optional(),
|
|
@@ -4366,6 +4375,7 @@ export {
|
|
|
4366
4375
|
clineMessageSchema,
|
|
4367
4376
|
clineSaySchema,
|
|
4368
4377
|
clineSays,
|
|
4378
|
+
cloudAppPropertiesSchema,
|
|
4369
4379
|
codeActionIds,
|
|
4370
4380
|
codebaseIndexConfigSchema,
|
|
4371
4381
|
codebaseIndexModelsSchema,
|
|
@@ -4383,6 +4393,7 @@ export {
|
|
|
4383
4393
|
doubaoDefaultModelId,
|
|
4384
4394
|
doubaoDefaultModelInfo,
|
|
4385
4395
|
doubaoModels,
|
|
4396
|
+
dynamicAppPropertiesSchema,
|
|
4386
4397
|
experimentIds,
|
|
4387
4398
|
experimentIdsSchema,
|
|
4388
4399
|
experimentsSchema,
|
|
@@ -4462,6 +4473,7 @@ export {
|
|
|
4462
4473
|
rooCodeTelemetryEventSchema,
|
|
4463
4474
|
sambaNovaDefaultModelId,
|
|
4464
4475
|
sambaNovaModels,
|
|
4476
|
+
staticAppPropertiesSchema,
|
|
4465
4477
|
suggestionItemSchema,
|
|
4466
4478
|
taskCommandSchema,
|
|
4467
4479
|
taskEventSchema,
|