git-coco 0.19.0 → 0.20.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 +12 -4
- package/dist/index.esm.mjs +1449 -1338
- package/dist/index.js +1448 -1337
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -16,9 +16,6 @@ type AnthropicModel = 'claude-sonnet-4-0' | 'claude-3-7-sonnet-latest' | 'claude
|
|
|
16
16
|
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';
|
|
17
17
|
type LLMModel = OpenAIModel | OllamaModel | AnthropicModel;
|
|
18
18
|
type BaseLLMService = {
|
|
19
|
-
/**
|
|
20
|
-
* @additionalProperties true
|
|
21
|
-
*/
|
|
22
19
|
provider: LLMProvider;
|
|
23
20
|
model: LLMModel;
|
|
24
21
|
/**
|
|
@@ -239,6 +236,8 @@ interface RecapOptions extends BaseCommandOptions {
|
|
|
239
236
|
'last-week'?: boolean;
|
|
240
237
|
'last-month'?: boolean;
|
|
241
238
|
'last-tag'?: boolean;
|
|
239
|
+
currentBranch?: boolean;
|
|
240
|
+
timeframe?: 'current' | 'yesterday' | 'last-week' | 'last-month' | 'last-tag' | 'currentBranch';
|
|
242
241
|
}
|
|
243
242
|
type RecapArgv = Arguments<RecapOptions>;
|
|
244
243
|
|
|
@@ -303,6 +302,14 @@ interface FileChange {
|
|
|
303
302
|
oldFilePath?: string;
|
|
304
303
|
status: FileChangeStatus;
|
|
305
304
|
}
|
|
305
|
+
interface GetChangesResult {
|
|
306
|
+
/** Changes that have been staged (added to the index). */
|
|
307
|
+
staged: FileChange[];
|
|
308
|
+
/** Changes in the working directory that are not yet staged. */
|
|
309
|
+
unstaged: FileChange[];
|
|
310
|
+
/** Files that are not tracked by Git. */
|
|
311
|
+
untracked: FileChange[];
|
|
312
|
+
}
|
|
306
313
|
interface FileDiff {
|
|
307
314
|
file: string;
|
|
308
315
|
diff: string;
|
|
@@ -355,8 +362,9 @@ type types_d_FileChange = FileChange;
|
|
|
355
362
|
type types_d_FileChangeParserInput = FileChangeParserInput;
|
|
356
363
|
type types_d_FileChangeStatus = FileChangeStatus;
|
|
357
364
|
type types_d_FileDiff = FileDiff;
|
|
365
|
+
type types_d_GetChangesResult = GetChangesResult;
|
|
358
366
|
declare namespace types_d {
|
|
359
|
-
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 };
|
|
367
|
+
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 };
|
|
360
368
|
}
|
|
361
369
|
|
|
362
370
|
export { _default$3 as changelog, _default$2 as commit, _default$1 as init, _default as recap, types_d as types };
|