@charmland/crush 0.16.0 → 0.17.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.
Files changed (2) hide show
  1. package/README.md +53 -50
  2. package/package.json +25 -25
package/README.md CHANGED
@@ -345,64 +345,19 @@ it creates. You can customize this behavior with the `attribution` option:
345
345
  "$schema": "https://charm.land/crush.json",
346
346
  "options": {
347
347
  "attribution": {
348
- "co_authored_by": true,
348
+ "trailer_style": "co-authored-by",
349
349
  "generated_with": true
350
350
  }
351
351
  }
352
352
  }
353
353
  ```
354
354
 
355
- - `co_authored_by`: When true (default), adds `Co-Authored-By: Crush <crush@charm.land>` to commit messages
355
+ - `trailer_style`: Controls the attribution trailer added to commit messages (default: `co-authored-by`)
356
+ - `co-authored-by`: Adds `Co-Authored-By: Crush <crush@charm.land>`
357
+ - `assisted-by`: Adds `Assisted-by: [Model Name] via Crush` (includes the model name)
358
+ - `none`: No attribution trailer
356
359
  - `generated_with`: When true (default), adds `💘 Generated with Crush` line to commit messages and PR descriptions
357
360
 
358
- ### Local Models
359
-
360
- Local models can also be configured via OpenAI-compatible API. Here are two common examples:
361
-
362
- #### Ollama
363
-
364
- ```json
365
- {
366
- "providers": {
367
- "ollama": {
368
- "name": "Ollama",
369
- "base_url": "http://localhost:11434/v1/",
370
- "type": "openai-compat",
371
- "models": [
372
- {
373
- "name": "Qwen 3 30B",
374
- "id": "qwen3:30b",
375
- "context_window": 256000,
376
- "default_max_tokens": 20000
377
- }
378
- ]
379
- }
380
- }
381
- }
382
- ```
383
-
384
- #### LM Studio
385
-
386
- ```json
387
- {
388
- "providers": {
389
- "lmstudio": {
390
- "name": "LM Studio",
391
- "base_url": "http://localhost:1234/v1/",
392
- "type": "openai-compat",
393
- "models": [
394
- {
395
- "name": "Qwen 3 30B",
396
- "id": "qwen/qwen3-30b-a3b-2507",
397
- "context_window": 256000,
398
- "default_max_tokens": 20000
399
- }
400
- ]
401
- }
402
- }
403
- }
404
- ```
405
-
406
361
  ### Custom Providers
407
362
 
408
363
  Crush supports custom provider configurations for both OpenAI-compatible and
@@ -521,6 +476,54 @@ To add specific models to the configuration, configure as such:
521
476
  }
522
477
  ```
523
478
 
479
+ ### Local Models
480
+
481
+ Local models can also be configured via OpenAI-compatible API. Here are two common examples:
482
+
483
+ #### Ollama
484
+
485
+ ```json
486
+ {
487
+ "providers": {
488
+ "ollama": {
489
+ "name": "Ollama",
490
+ "base_url": "http://localhost:11434/v1/",
491
+ "type": "openai-compat",
492
+ "models": [
493
+ {
494
+ "name": "Qwen 3 30B",
495
+ "id": "qwen3:30b",
496
+ "context_window": 256000,
497
+ "default_max_tokens": 20000
498
+ }
499
+ ]
500
+ }
501
+ }
502
+ }
503
+ ```
504
+
505
+ #### LM Studio
506
+
507
+ ```json
508
+ {
509
+ "providers": {
510
+ "lmstudio": {
511
+ "name": "LM Studio",
512
+ "base_url": "http://localhost:1234/v1/",
513
+ "type": "openai-compat",
514
+ "models": [
515
+ {
516
+ "name": "Qwen 3 30B",
517
+ "id": "qwen/qwen3-30b-a3b-2507",
518
+ "context_window": 256000,
519
+ "default_max_tokens": 20000
520
+ }
521
+ ]
522
+ }
523
+ }
524
+ }
525
+ ```
526
+
524
527
  ## Logging
525
528
 
526
529
  Sometimes you need to look at logs. Luckily, Crush logs all sorts of
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@charmland/crush",
3
- "version": "0.16.0",
3
+ "version": "0.17.0",
4
4
  "description": "A powerful terminal-based AI assistant for developers, providing intelligent coding assistance directly in your terminal.",
5
5
  "scripts": {
6
6
  "postinstall": "node install.js",
@@ -27,82 +27,82 @@
27
27
  },
28
28
  "archives": {
29
29
  "darwin-arm64": {
30
- "name": "crush_0.16.0_Darwin_arm64.tar.gz",
31
- "url": "https://github.com/charmbracelet/crush/releases/download/v0.16.0/crush_0.16.0_Darwin_arm64.tar.gz",
30
+ "name": "crush_0.17.0_Darwin_arm64.tar.gz",
31
+ "url": "https://github.com/charmbracelet/crush/releases/download/v0.17.0/crush_0.17.0_Darwin_arm64.tar.gz",
32
32
  "bins": [
33
33
  "crush"
34
34
  ],
35
35
  "format": "tar.gz",
36
36
  "checksum": {
37
37
  "algorithm": "sha256",
38
- "digest": "4f693e75cac43f5894c38a3847bc65db503a50e780ca2bb8ec71fa54bcc38abc"
38
+ "digest": "d0fca8a05a7b56368d8637c51dcf3cc5623cdeee1aaad0d1077bebead5dfcba3"
39
39
  },
40
- "wrappedIn": "crush_0.16.0_Darwin_arm64"
40
+ "wrappedIn": "crush_0.17.0_Darwin_arm64"
41
41
  },
42
42
  "darwin-x64": {
43
- "name": "crush_0.16.0_Darwin_x86_64.tar.gz",
44
- "url": "https://github.com/charmbracelet/crush/releases/download/v0.16.0/crush_0.16.0_Darwin_x86_64.tar.gz",
43
+ "name": "crush_0.17.0_Darwin_x86_64.tar.gz",
44
+ "url": "https://github.com/charmbracelet/crush/releases/download/v0.17.0/crush_0.17.0_Darwin_x86_64.tar.gz",
45
45
  "bins": [
46
46
  "crush"
47
47
  ],
48
48
  "format": "tar.gz",
49
49
  "checksum": {
50
50
  "algorithm": "sha256",
51
- "digest": "8db99ba6bbaff02cf39ee32cec54c614ef44983a76953a932a172ddf4eaf30e0"
51
+ "digest": "901e03a3b43e5b3a18041c232cc606d96a978b2e5f8350292fd547e9a903b394"
52
52
  },
53
- "wrappedIn": "crush_0.16.0_Darwin_x86_64"
53
+ "wrappedIn": "crush_0.17.0_Darwin_x86_64"
54
54
  },
55
55
  "linux-arm64": {
56
- "name": "crush_0.16.0_Linux_arm64.tar.gz",
57
- "url": "https://github.com/charmbracelet/crush/releases/download/v0.16.0/crush_0.16.0_Linux_arm64.tar.gz",
56
+ "name": "crush_0.17.0_Linux_arm64.tar.gz",
57
+ "url": "https://github.com/charmbracelet/crush/releases/download/v0.17.0/crush_0.17.0_Linux_arm64.tar.gz",
58
58
  "bins": [
59
59
  "crush"
60
60
  ],
61
61
  "format": "tar.gz",
62
62
  "checksum": {
63
63
  "algorithm": "sha256",
64
- "digest": "c6a638985700bc882373c557dba6b00bb3c8569b053f0520c1a8f5b67046d8ee"
64
+ "digest": "d78e64b1597576b45220acc88f79991e0f305e3f6ff81a78d2386a91494284e7"
65
65
  },
66
- "wrappedIn": "crush_0.16.0_Linux_arm64"
66
+ "wrappedIn": "crush_0.17.0_Linux_arm64"
67
67
  },
68
68
  "linux-x64": {
69
- "name": "crush_0.16.0_Linux_x86_64.tar.gz",
70
- "url": "https://github.com/charmbracelet/crush/releases/download/v0.16.0/crush_0.16.0_Linux_x86_64.tar.gz",
69
+ "name": "crush_0.17.0_Linux_x86_64.tar.gz",
70
+ "url": "https://github.com/charmbracelet/crush/releases/download/v0.17.0/crush_0.17.0_Linux_x86_64.tar.gz",
71
71
  "bins": [
72
72
  "crush"
73
73
  ],
74
74
  "format": "tar.gz",
75
75
  "checksum": {
76
76
  "algorithm": "sha256",
77
- "digest": "0d3fe8db3bd2bce47a1087c5abd403c796cb775413ff96a7d061cbf8cc81aedb"
77
+ "digest": "2b42d68f5fb467bdc9065c6cfce61280e620e975552ac9a2860da348bc5f5260"
78
78
  },
79
- "wrappedIn": "crush_0.16.0_Linux_x86_64"
79
+ "wrappedIn": "crush_0.17.0_Linux_x86_64"
80
80
  },
81
81
  "win32-arm64": {
82
- "name": "crush_0.16.0_Windows_arm64.zip",
83
- "url": "https://github.com/charmbracelet/crush/releases/download/v0.16.0/crush_0.16.0_Windows_arm64.zip",
82
+ "name": "crush_0.17.0_Windows_arm64.zip",
83
+ "url": "https://github.com/charmbracelet/crush/releases/download/v0.17.0/crush_0.17.0_Windows_arm64.zip",
84
84
  "bins": [
85
85
  "crush.exe"
86
86
  ],
87
87
  "format": "zip",
88
88
  "checksum": {
89
89
  "algorithm": "sha256",
90
- "digest": "57359f1ffa807643b13d6c36b9af0fe6d306909d8ac6ba754185ffd6562a9bb5"
90
+ "digest": "8fff0da9adce01b354a1f58218dbc8c700d95aa45d0d5ecc4e83de6f6a71ce5c"
91
91
  },
92
- "wrappedIn": "crush_0.16.0_Windows_arm64"
92
+ "wrappedIn": "crush_0.17.0_Windows_arm64"
93
93
  },
94
94
  "win32-x64": {
95
- "name": "crush_0.16.0_Windows_x86_64.zip",
96
- "url": "https://github.com/charmbracelet/crush/releases/download/v0.16.0/crush_0.16.0_Windows_x86_64.zip",
95
+ "name": "crush_0.17.0_Windows_x86_64.zip",
96
+ "url": "https://github.com/charmbracelet/crush/releases/download/v0.17.0/crush_0.17.0_Windows_x86_64.zip",
97
97
  "bins": [
98
98
  "crush.exe"
99
99
  ],
100
100
  "format": "zip",
101
101
  "checksum": {
102
102
  "algorithm": "sha256",
103
- "digest": "036ff0bde2c335395ad8e9dd97a90de16217a25ec07abe6321c3ce72d94f932e"
103
+ "digest": "ac3a224487182a6bb468c8bad842c6d98dab788b5a8829f32cd84f8d94c2e97f"
104
104
  },
105
- "wrappedIn": "crush_0.16.0_Windows_x86_64"
105
+ "wrappedIn": "crush_0.17.0_Windows_x86_64"
106
106
  }
107
107
  }
108
108
  }