git-coco 0.29.0 → 0.31.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 CHANGED
@@ -1,13 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import * as yargs from 'yargs';
3
3
  import { Arguments } from 'yargs';
4
- import { OllamaInput } from '@langchain/community/llms/ollama';
4
+ import { OllamaInput, ChatOllama } from '@langchain/ollama';
5
5
  import { BaseLLMParams } from '@langchain/core/language_models/llms';
6
6
  import * as _langchain_openai from '@langchain/openai';
7
7
  import { TiktokenModel, OpenAIInput, ChatOpenAI } from '@langchain/openai';
8
8
  import { SimpleGit } from 'simple-git';
9
9
  import { ChatAnthropic } from '@langchain/anthropic';
10
- import { ChatOllama } from '@langchain/ollama';
11
10
  import { Color } from 'chalk';
12
11
  import { TiktokenModel as TiktokenModel$1 } from 'tiktoken';
13
12
 
@@ -178,6 +177,18 @@ type BaseConfig = {
178
177
  * @default true
179
178
  */
180
179
  includeBranchName?: boolean;
180
+ /**
181
+ * The AI CLI tool to use for auto-fixing review issues.
182
+ * Must match a registered adapter key (e.g. "codex", "claude", "gemini").
183
+ * When unset, the auto-fix action is disabled.
184
+ */
185
+ autoFixTool?: string;
186
+ /**
187
+ * Additional key-value flags passed to the auto-fix CLI tool.
188
+ * Keys are flag names (without leading dashes); values are flag values.
189
+ * @example { "model": "o4-mini", "approval-mode": "auto-edit" }
190
+ */
191
+ autoFixToolOptions?: Record<string, string>;
181
192
  };
182
193
  type ConfigWithServiceObject = BaseConfig & Partial<BaseCommandOptions> & {
183
194
  service: LLMService;