@synmux/claude-commit 1.0.1 → 1.0.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 +5 -3
- package/package.json +2 -2
- package/src/types.ts +1 -1
- package/src/ui/spinner.ts +1 -1
package/README.md
CHANGED
|
@@ -151,7 +151,7 @@ keys are valid at every level:
|
|
|
151
151
|
"interactive": true,
|
|
152
152
|
"interactiveCount": 3,
|
|
153
153
|
"interactiveTemperature": 1,
|
|
154
|
-
"spinner": "
|
|
154
|
+
"spinner": "dwarfFortress",
|
|
155
155
|
"models": {
|
|
156
156
|
"summary": "sonnet",
|
|
157
157
|
"final": "sonnet"
|
|
@@ -166,10 +166,12 @@ keys are valid at every level:
|
|
|
166
166
|
`spinner` chooses the progress animation: any name from the
|
|
167
167
|
[cli-spinners](https://github.com/sindresorhus/cli-spinners) set bundled with
|
|
168
168
|
[ora](https://github.com/sindresorhus/ora) (`"dots"`, `"moon"`, `"pong"`,
|
|
169
|
-
`"
|
|
170
|
-
`
|
|
169
|
+
`"dwarfFortress"`, ...). Unknown names are ignored and the default
|
|
170
|
+
`dwarfFortress` is used. `--no-spinner` disables the animated spinner, but final
|
|
171
171
|
status lines still print.
|
|
172
172
|
|
|
173
|
+
The `dwarfFortress` spinner is chosen because it's fucking cool. Fight me.
|
|
174
|
+
|
|
173
175
|
`maxChunkTokens` is a cap, not a promise: at run time it is clamped to the
|
|
174
176
|
summary model's context window minus a fixed reserve (1M-window models such as
|
|
175
177
|
current Sonnet/Opus keep the full budget; Haiku, older pinned model ids, and
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synmux/claude-commit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Generate git commit messages with Claude, using your Claude Code subscription.",
|
|
5
5
|
"main": "index.ts",
|
|
6
6
|
"module": "index.ts",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"interactive": false,
|
|
25
25
|
"interactiveCount": 3,
|
|
26
26
|
"interactiveTemperature": 1,
|
|
27
|
-
"spinner": "
|
|
27
|
+
"spinner": "dwarfFortress",
|
|
28
28
|
"models": {
|
|
29
29
|
"summary": "sonnet",
|
|
30
30
|
"final": "sonnet"
|
package/src/types.ts
CHANGED
|
@@ -42,7 +42,7 @@ export interface Config {
|
|
|
42
42
|
interactiveTemperature: number | null;
|
|
43
43
|
/**
|
|
44
44
|
* Name of the progress spinner animation: any spinner from the cli-spinners
|
|
45
|
-
* set bundled with ora (e.g. `"dots"`, `"moon"`, `"
|
|
45
|
+
* set bundled with ora (e.g. `"dots"`, `"moon"`, `"dwarfFortress"`). Unknown
|
|
46
46
|
* names are ignored and the default is used instead.
|
|
47
47
|
*/
|
|
48
48
|
spinner: string;
|
package/src/ui/spinner.ts
CHANGED
|
@@ -16,7 +16,7 @@ import spinners, { type Spinner as SpinnerAnimation } from "cli-spinners";
|
|
|
16
16
|
import { color } from "./colors";
|
|
17
17
|
|
|
18
18
|
/** The spinner used when none (or an unknown one) is configured. */
|
|
19
|
-
export const DEFAULT_SPINNER = "
|
|
19
|
+
export const DEFAULT_SPINNER = "dwarfFortress";
|
|
20
20
|
|
|
21
21
|
/** Whether `name` is one of the cli-spinners animations bundled with ora. */
|
|
22
22
|
export function isSpinnerName(name: string): boolean {
|