@corbat-tech/coco 2.25.15 → 2.27.1
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/cli/index.js +1186 -669
- package/dist/cli/index.js.map +1 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.js +630 -296
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -507,6 +507,7 @@ declare const CocoConfigSchema: z.ZodObject<{
|
|
|
507
507
|
deepseek: "deepseek";
|
|
508
508
|
mistral: "mistral";
|
|
509
509
|
copilot: "copilot";
|
|
510
|
+
vertex: "vertex";
|
|
510
511
|
ollama: "ollama";
|
|
511
512
|
groq: "groq";
|
|
512
513
|
openrouter: "openrouter";
|
|
@@ -518,6 +519,8 @@ declare const CocoConfigSchema: z.ZodObject<{
|
|
|
518
519
|
maxTokens: z.ZodDefault<z.ZodNumber>;
|
|
519
520
|
temperature: z.ZodDefault<z.ZodNumber>;
|
|
520
521
|
timeout: z.ZodDefault<z.ZodNumber>;
|
|
522
|
+
project: z.ZodOptional<z.ZodString>;
|
|
523
|
+
location: z.ZodOptional<z.ZodString>;
|
|
521
524
|
}, z.core.$strip>>;
|
|
522
525
|
providerModels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
523
526
|
quality: z.ZodDefault<z.ZodObject<{
|
|
@@ -1103,6 +1106,8 @@ interface ProviderConfig {
|
|
|
1103
1106
|
maxTokens?: number;
|
|
1104
1107
|
temperature?: number;
|
|
1105
1108
|
timeout?: number;
|
|
1109
|
+
project?: string;
|
|
1110
|
+
location?: string;
|
|
1106
1111
|
/** Internal: flag to indicate using Google Cloud ADC */
|
|
1107
1112
|
useADC?: boolean;
|
|
1108
1113
|
}
|
|
@@ -3099,7 +3104,7 @@ declare class TaskError extends CocoError {
|
|
|
3099
3104
|
/**
|
|
3100
3105
|
* Supported provider types
|
|
3101
3106
|
*/
|
|
3102
|
-
type ProviderType = "anthropic" | "openai" | "codex" | "copilot" | "gemini" | "kimi" | "kimi-code" | "lmstudio" | "ollama" | "groq" | "openrouter" | "mistral" | "deepseek" | "together" | "huggingface" | "qwen";
|
|
3107
|
+
type ProviderType = "anthropic" | "openai" | "codex" | "copilot" | "gemini" | "vertex" | "kimi" | "kimi-code" | "lmstudio" | "ollama" | "groq" | "openrouter" | "mistral" | "deepseek" | "together" | "huggingface" | "qwen";
|
|
3103
3108
|
/**
|
|
3104
3109
|
* Create a provider by type
|
|
3105
3110
|
*/
|