@charmland/crush 0.8.2 → 0.9.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/README.md +25 -0
- package/package.json +25 -25
package/README.md
CHANGED
|
@@ -124,6 +124,7 @@ That said, you can also set environment variables for preferred providers.
|
|
|
124
124
|
| `ANTHROPIC_API_KEY` | Anthropic |
|
|
125
125
|
| `OPENAI_API_KEY` | OpenAI |
|
|
126
126
|
| `OPENROUTER_API_KEY` | OpenRouter |
|
|
127
|
+
| `CEREBRAS_API_KEY` | Cerebras |
|
|
127
128
|
| `GEMINI_API_KEY` | Google Gemini |
|
|
128
129
|
| `VERTEXAI_PROJECT` | Google Cloud VertexAI (Gemini) |
|
|
129
130
|
| `VERTEXAI_LOCATION` | Google Cloud VertexAI (Gemini) |
|
|
@@ -269,6 +270,26 @@ permissions. Use this with care.
|
|
|
269
270
|
You can also skip all permission prompts entirely by running Crush with the
|
|
270
271
|
`--yolo` flag. Be very, very careful with this feature.
|
|
271
272
|
|
|
273
|
+
### Attribution Settings
|
|
274
|
+
|
|
275
|
+
By default, Crush adds attribution information to Git commits and pull requests
|
|
276
|
+
it creates. You can customize this behavior with the `attribution` option:
|
|
277
|
+
|
|
278
|
+
```json
|
|
279
|
+
{
|
|
280
|
+
"$schema": "https://charm.land/crush.json",
|
|
281
|
+
"options": {
|
|
282
|
+
"attribution": {
|
|
283
|
+
"co_authored_by": true,
|
|
284
|
+
"generated_with": true
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
```
|
|
289
|
+
|
|
290
|
+
- `co_authored_by`: When true (default), adds `Co-Authored-By: Crush <crush@charm.land>` to commit messages
|
|
291
|
+
- `generated_with`: When true (default), adds `💘 Generated with Crush` line to commit messages and PR descriptions
|
|
292
|
+
|
|
272
293
|
### Local Models
|
|
273
294
|
|
|
274
295
|
Local models can also be configured via OpenAI-compatible API. Here are two common examples:
|
|
@@ -522,6 +543,10 @@ We’re committed to building sustainable, trusted integrations with model
|
|
|
522
543
|
providers. If you’re a provider interested in working with us,
|
|
523
544
|
[reach out](mailto:vt100@charm.sh).
|
|
524
545
|
|
|
546
|
+
## Contributing
|
|
547
|
+
|
|
548
|
+
See the [contributing guide](https://github.com/charmbracelet/crush?tab=contributing-ov-file#contributing).
|
|
549
|
+
|
|
525
550
|
## Whatcha think?
|
|
526
551
|
|
|
527
552
|
We’d love to hear your thoughts on this project. Need help? We gotchu. You can find us on:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@charmland/crush",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.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",
|
|
@@ -26,82 +26,82 @@
|
|
|
26
26
|
},
|
|
27
27
|
"archives": {
|
|
28
28
|
"darwin-arm64": {
|
|
29
|
-
"name": "crush_0.
|
|
30
|
-
"url": "https://github.com/charmbracelet/crush/releases/download/v0.
|
|
29
|
+
"name": "crush_0.9.0_Darwin_arm64.tar.gz",
|
|
30
|
+
"url": "https://github.com/charmbracelet/crush/releases/download/v0.9.0/crush_0.9.0_Darwin_arm64.tar.gz",
|
|
31
31
|
"bins": [
|
|
32
32
|
"crush"
|
|
33
33
|
],
|
|
34
34
|
"format": "tar.gz",
|
|
35
35
|
"checksum": {
|
|
36
36
|
"algorithm": "sha256",
|
|
37
|
-
"digest": "
|
|
37
|
+
"digest": "13a4c6222c9513f35f259af61c3aaaf0959ed7a5923cddc3aeaae2afb5aac6b2"
|
|
38
38
|
},
|
|
39
|
-
"wrappedIn": "crush_0.
|
|
39
|
+
"wrappedIn": "crush_0.9.0_Darwin_arm64"
|
|
40
40
|
},
|
|
41
41
|
"darwin-x64": {
|
|
42
|
-
"name": "crush_0.
|
|
43
|
-
"url": "https://github.com/charmbracelet/crush/releases/download/v0.
|
|
42
|
+
"name": "crush_0.9.0_Darwin_x86_64.tar.gz",
|
|
43
|
+
"url": "https://github.com/charmbracelet/crush/releases/download/v0.9.0/crush_0.9.0_Darwin_x86_64.tar.gz",
|
|
44
44
|
"bins": [
|
|
45
45
|
"crush"
|
|
46
46
|
],
|
|
47
47
|
"format": "tar.gz",
|
|
48
48
|
"checksum": {
|
|
49
49
|
"algorithm": "sha256",
|
|
50
|
-
"digest": "
|
|
50
|
+
"digest": "48ff9487bd56f9a45cff5cea8aab161bd0d147f5f06c0798009f9e84051603d3"
|
|
51
51
|
},
|
|
52
|
-
"wrappedIn": "crush_0.
|
|
52
|
+
"wrappedIn": "crush_0.9.0_Darwin_x86_64"
|
|
53
53
|
},
|
|
54
54
|
"linux-arm64": {
|
|
55
|
-
"name": "crush_0.
|
|
56
|
-
"url": "https://github.com/charmbracelet/crush/releases/download/v0.
|
|
55
|
+
"name": "crush_0.9.0_Linux_arm64.tar.gz",
|
|
56
|
+
"url": "https://github.com/charmbracelet/crush/releases/download/v0.9.0/crush_0.9.0_Linux_arm64.tar.gz",
|
|
57
57
|
"bins": [
|
|
58
58
|
"crush"
|
|
59
59
|
],
|
|
60
60
|
"format": "tar.gz",
|
|
61
61
|
"checksum": {
|
|
62
62
|
"algorithm": "sha256",
|
|
63
|
-
"digest": "
|
|
63
|
+
"digest": "53edecc68757707b3f00ca87e1c84cff0c55304ea75edc3dc2da85d997ba36a4"
|
|
64
64
|
},
|
|
65
|
-
"wrappedIn": "crush_0.
|
|
65
|
+
"wrappedIn": "crush_0.9.0_Linux_arm64"
|
|
66
66
|
},
|
|
67
67
|
"linux-x64": {
|
|
68
|
-
"name": "crush_0.
|
|
69
|
-
"url": "https://github.com/charmbracelet/crush/releases/download/v0.
|
|
68
|
+
"name": "crush_0.9.0_Linux_x86_64.tar.gz",
|
|
69
|
+
"url": "https://github.com/charmbracelet/crush/releases/download/v0.9.0/crush_0.9.0_Linux_x86_64.tar.gz",
|
|
70
70
|
"bins": [
|
|
71
71
|
"crush"
|
|
72
72
|
],
|
|
73
73
|
"format": "tar.gz",
|
|
74
74
|
"checksum": {
|
|
75
75
|
"algorithm": "sha256",
|
|
76
|
-
"digest": "
|
|
76
|
+
"digest": "6cad74d15cd36694ad3fb791c90df61a208a61063168a4dca0c4197783443f58"
|
|
77
77
|
},
|
|
78
|
-
"wrappedIn": "crush_0.
|
|
78
|
+
"wrappedIn": "crush_0.9.0_Linux_x86_64"
|
|
79
79
|
},
|
|
80
80
|
"win32-arm64": {
|
|
81
|
-
"name": "crush_0.
|
|
82
|
-
"url": "https://github.com/charmbracelet/crush/releases/download/v0.
|
|
81
|
+
"name": "crush_0.9.0_Windows_arm64.zip",
|
|
82
|
+
"url": "https://github.com/charmbracelet/crush/releases/download/v0.9.0/crush_0.9.0_Windows_arm64.zip",
|
|
83
83
|
"bins": [
|
|
84
84
|
"crush.exe"
|
|
85
85
|
],
|
|
86
86
|
"format": "zip",
|
|
87
87
|
"checksum": {
|
|
88
88
|
"algorithm": "sha256",
|
|
89
|
-
"digest": "
|
|
89
|
+
"digest": "2a3755a7271c621ce8379025f957f66d04d3c82a623b2a62a00606ee8d60e985"
|
|
90
90
|
},
|
|
91
|
-
"wrappedIn": "crush_0.
|
|
91
|
+
"wrappedIn": "crush_0.9.0_Windows_arm64"
|
|
92
92
|
},
|
|
93
93
|
"win32-x64": {
|
|
94
|
-
"name": "crush_0.
|
|
95
|
-
"url": "https://github.com/charmbracelet/crush/releases/download/v0.
|
|
94
|
+
"name": "crush_0.9.0_Windows_x86_64.zip",
|
|
95
|
+
"url": "https://github.com/charmbracelet/crush/releases/download/v0.9.0/crush_0.9.0_Windows_x86_64.zip",
|
|
96
96
|
"bins": [
|
|
97
97
|
"crush.exe"
|
|
98
98
|
],
|
|
99
99
|
"format": "zip",
|
|
100
100
|
"checksum": {
|
|
101
101
|
"algorithm": "sha256",
|
|
102
|
-
"digest": "
|
|
102
|
+
"digest": "9c3dd885fe49610aef11b0cefdca3a77f9192b00ae5ce63bd10b1ad4e5a8b40b"
|
|
103
103
|
},
|
|
104
|
-
"wrappedIn": "crush_0.
|
|
104
|
+
"wrappedIn": "crush_0.9.0_Windows_x86_64"
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
}
|