git-coco 0.14.0 → 0.14.2

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/README.md CHANGED
@@ -16,8 +16,12 @@
16
16
 
17
17
  - **`recap`**: summarize changes from working-tree, or yesterday, or in the last month, or since the last tag!
18
18
 
19
+ - **`review`**: perform a code review on the changes in the working directory.
20
+
19
21
  - **`init`**: step by step wizard to set up `coco` globally or for a project.
20
22
 
23
+ - **`help`**: display help for `coco` commands.
24
+
21
25
  ## Getting Started
22
26
 
23
27
  **`coco init`** is the first step to getting started with `coco`. It will guide you through the installation process, including setting up your OpenAI API key and configuring `coco` to your preferences.
package/dist/index.d.ts CHANGED
@@ -20,7 +20,7 @@ type BaseLLMService = {
20
20
  /**
21
21
  * The maximum number of tokens per request.
22
22
  *
23
- * @default 1024
23
+ * @default 2048
24
24
  */
25
25
  tokenLimit?: number;
26
26
  /**
@@ -41,7 +41,6 @@ type BaseLLMService = {
41
41
  timeout?: number;
42
42
  maxRetries?: number;
43
43
  };
44
- fields?: OpenAIFields | OllamaFields;
45
44
  };
46
45
  type Authentication = {
47
46
  type: 'None';
@@ -72,7 +71,15 @@ type OllamaLLMService = BaseLLMService & {
72
71
  endpoint: string;
73
72
  fields?: OllamaFields;
74
73
  };
75
- type LLMService = OpenAILLMService | OllamaLLMService;
74
+ type AnthropicLLMService = BaseLLMService & {
75
+ provider: 'anthropic';
76
+ model: AnthropicModel;
77
+ fields?: {
78
+ temperature?: number;
79
+ maxTokens?: number;
80
+ };
81
+ };
82
+ type LLMService = OpenAILLMService | OllamaLLMService | AnthropicLLMService;
76
83
 
77
84
  type BaseConfig = {
78
85
  /**
@@ -134,6 +141,7 @@ type Config$1 = ConfigWithServiceObject;
134
141
  interface BaseArgvOptions {
135
142
  interactive: boolean;
136
143
  verbose: boolean;
144
+ version: boolean;
137
145
  help: boolean;
138
146
  }
139
147
  interface BaseCommandOptions extends BaseArgvOptions {
@@ -180,6 +188,7 @@ declare const _default$1: {
180
188
  scope?: InstallationScope | undefined;
181
189
  interactive: boolean;
182
190
  verbose: boolean;
191
+ version: boolean;
183
192
  help: boolean;
184
193
  _: (string | number)[];
185
194
  $0: string;
@@ -188,6 +197,7 @@ declare const _default$1: {
188
197
  scope?: InstallationScope | undefined;
189
198
  interactive: boolean;
190
199
  verbose: boolean;
200
+ version: boolean;
191
201
  help: boolean;
192
202
  _: (string | number)[];
193
203
  $0: string;