git-coco 0.42.0 → 0.44.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.d.ts +16 -2
- package/dist/index.esm.mjs +900 -150
- package/dist/index.js +901 -151
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ type LLMProvider = 'openai' | 'ollama' | 'anthropic';
|
|
|
36
36
|
type DynamicModelTask = 'summarize' | 'commit' | 'changelog' | 'review' | 'recap' | 'repair' | 'largeDiff';
|
|
37
37
|
type DynamicModelPreference = 'cost' | 'balanced' | 'quality';
|
|
38
38
|
type OpenAIModel = TiktokenModel | 'gpt-4o-mini' | 'gpt-4o' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano';
|
|
39
|
-
type AnthropicModel = 'claude-sonnet-4-0' | 'claude-3-7-sonnet-latest' | 'claude-3-5-haiku-latest' | 'claude-3-5-sonnet-latest' | 'claude-3-5-sonnet-20241022' | 'claude-3-5-sonnet-20240620' | 'claude-3-opus-20240229' | 'claude-3-sonnet-20240229' | 'claude-3-haiku-20240307';
|
|
39
|
+
type AnthropicModel = 'claude-sonnet-4-6' | 'claude-haiku-4-5-20251001' | 'claude-haiku-4-5' | 'claude-opus-4-7' | 'claude-sonnet-4-0' | 'claude-3-7-sonnet-latest' | 'claude-3-5-haiku-latest' | 'claude-3-5-sonnet-latest' | 'claude-3-5-sonnet-20241022' | 'claude-3-5-sonnet-20240620' | 'claude-3-opus-20240229' | 'claude-3-sonnet-20240229' | 'claude-3-haiku-20240307';
|
|
40
40
|
type OllamaModel = 'deepseek-r1:1.5b' | 'deepseek-r1:8b' | 'deepseek-r1:32b' | 'codegemma:2b' | 'codegemma:7b-code' | 'codegemma' | 'codellama:13b' | 'codellama:34b' | 'codellama:70b' | 'codellama:7b' | 'codellama:instruct' | 'codellama:latest' | 'codellama' | 'gemma:2b' | 'gemma:7b' | 'gemma:latest' | 'gemma' | 'llama2:13b' | 'llama2:70b' | 'llama2:chat' | 'llama2:latest' | 'llama2:text' | 'llama2' | 'llama3:70b-text' | 'llama3:70b' | 'llama3:latest' | 'llama3:text' | 'llama3.1:70b' | 'llama3.1:8b' | 'llama3.1:latest' | 'llama3.2' | 'llama3.2:latest' | 'llama3.2:1b' | 'llama3.2:3b' | 'llama3' | 'llava-llama3:latest' | 'dolphin-llama3:latest' | 'dolphin-llama3:8b' | 'dolphin-llama3:70b' | 'mistral:7b' | 'mistral:latest' | 'mistral:text' | 'mistral' | 'phi3:14b' | 'phi3:3.8b' | 'phi3:instruct' | 'phi3:medium-128k' | 'phi3:medium-4k' | 'phi3:medium' | 'phi3' | 'qwen2:0.5b' | 'qwen2:1.5b' | 'qwen2:72b-text' | 'qwen2:72b' | 'qwen2' | 'qwen2.5-coder:latest' | 'qwen2.5-coder:0.5b' | 'qwen2.5-coder:1.5b' | 'qwen2.5-coder:3b' | 'qwen2.5-coder:7b' | 'qwen2.5-coder:14b' | 'qwen2.5-coder:32b';
|
|
41
41
|
type LLMModel = OpenAIModel | OllamaModel | AnthropicModel;
|
|
42
42
|
type ConfiguredLLMModel = LLMModel | 'dynamic';
|
|
@@ -259,6 +259,19 @@ interface BaseArgvOptions {
|
|
|
259
259
|
interface BaseCommandOptions extends BaseArgvOptions {
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
+
interface CacheOptions extends BaseCommandOptions {
|
|
263
|
+
}
|
|
264
|
+
type CacheArgv = Arguments<CacheOptions>;
|
|
265
|
+
|
|
266
|
+
declare const _default$7: {
|
|
267
|
+
command: string;
|
|
268
|
+
desc: string;
|
|
269
|
+
builder: (yargs: yargs.Argv) => yargs.Argv<{
|
|
270
|
+
subcommand: "clear" | "info" | undefined;
|
|
271
|
+
}>;
|
|
272
|
+
handler: (argv: CacheArgv) => Promise<void>;
|
|
273
|
+
};
|
|
274
|
+
|
|
262
275
|
interface ChangelogOptions extends BaseCommandOptions {
|
|
263
276
|
range: string;
|
|
264
277
|
branch: string;
|
|
@@ -459,6 +472,7 @@ type LlmCallMetadata = {
|
|
|
459
472
|
provider?: string;
|
|
460
473
|
model?: string;
|
|
461
474
|
retryAttempt?: number;
|
|
475
|
+
planAttempt?: number;
|
|
462
476
|
parserType?: string;
|
|
463
477
|
variableKeys?: string[];
|
|
464
478
|
promptTokens?: number;
|
|
@@ -556,5 +570,5 @@ declare namespace types_d {
|
|
|
556
570
|
export type { types_d_BaseParserInput as BaseParserInput, types_d_BaseParserOptions as BaseParserOptions, types_d_CommandHandler as CommandHandler, types_d_CommitLogParserInput as CommitLogParserInput, types_d_ConfirmMessage as ConfirmMessage, types_d_ConfirmMessageCallback as ConfirmMessageCallback, types_d_DiffNode as DiffNode, types_d_DirectoryDiff as DirectoryDiff, types_d_FileChange as FileChange, types_d_FileChangeParserInput as FileChangeParserInput, types_d_FileChangeStatus as FileChangeStatus, types_d_FileDiff as FileDiff, types_d_GetChangesResult as GetChangesResult };
|
|
557
571
|
}
|
|
558
572
|
|
|
559
|
-
export { _default$6 as changelog, _default$5 as commit, _default$4 as doctor, _default$3 as init, _default$2 as log, _default$1 as recap, types_d as types, _default as ui };
|
|
573
|
+
export { _default$7 as cache, _default$6 as changelog, _default$5 as commit, _default$4 as doctor, _default$3 as init, _default$2 as log, _default$1 as recap, types_d as types, _default as ui };
|
|
560
574
|
export type { Config$1 as Config };
|