@charmland/crush 0.7.9 → 0.8.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 +45 -1
- package/package.json +25 -25
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<p align="center">
|
|
4
4
|
<a href="https://stuff.charm.sh/crush/charm-crush.png"><img width="450" alt="Charm Crush Logo" src="https://github.com/user-attachments/assets/adc1a6f4-b284-4603-836c-59038caa2e8b" /></a><br />
|
|
5
5
|
<a href="https://github.com/charmbracelet/crush/releases"><img src="https://img.shields.io/github/release/charmbracelet/crush" alt="Latest Release"></a>
|
|
6
|
-
<a href="https://github.com/charmbracelet/crush/actions"><img src="https://github.com/charmbracelet/crush/workflows/build/badge.svg" alt="Build Status"></a>
|
|
6
|
+
<a href="https://github.com/charmbracelet/crush/actions"><img src="https://github.com/charmbracelet/crush/actions/workflows/build.yml/badge.svg" alt="Build Status"></a>
|
|
7
7
|
</p>
|
|
8
8
|
|
|
9
9
|
<p align="center">Your new coding bestie, now available in your favourite terminal.<br />Your tools, your code, and your workflows, wired into your LLM of choice.</p>
|
|
@@ -470,6 +470,49 @@ config:
|
|
|
470
470
|
}
|
|
471
471
|
```
|
|
472
472
|
|
|
473
|
+
## Disabling providers auto-update
|
|
474
|
+
|
|
475
|
+
Crush automatically fetches the updated list of providers and models from
|
|
476
|
+
[Catwalk](https://github.com/charmbracelet/catwalk). We know some environments
|
|
477
|
+
have restricted internet access, so if you need to disable this you have two
|
|
478
|
+
options:
|
|
479
|
+
|
|
480
|
+
Set `disable_provider_auto_update` into your `crush.json` config:
|
|
481
|
+
|
|
482
|
+
```json
|
|
483
|
+
{
|
|
484
|
+
"$schema": "https://charm.land/crush.json",
|
|
485
|
+
"options": {
|
|
486
|
+
"disable_provider_auto_update": true
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
```
|
|
490
|
+
|
|
491
|
+
Or alternatively set the `CRUSH_DISABLE_PROVIDER_AUTO_UPDATE` environment
|
|
492
|
+
variable:
|
|
493
|
+
|
|
494
|
+
```bash
|
|
495
|
+
export CRUSH_DISABLE_PROVIDER_AUTO_UPDATE=1
|
|
496
|
+
```
|
|
497
|
+
|
|
498
|
+
With that set, you'll have to manually update providers from time to time. It's
|
|
499
|
+
possible to do that with the `crush update-providers` command:
|
|
500
|
+
|
|
501
|
+
```bash
|
|
502
|
+
# Update providers remotely from Catwalk.
|
|
503
|
+
crush update-providers
|
|
504
|
+
|
|
505
|
+
# Update providers from a custom Catwalk base URL.
|
|
506
|
+
crush update-providers https://example.com/
|
|
507
|
+
|
|
508
|
+
# Update providers from a local file.
|
|
509
|
+
crush update-providers /path/to/local-providers.json
|
|
510
|
+
|
|
511
|
+
# Update providers from the embedded version.
|
|
512
|
+
# (Crush ships with an embedded copy of Catwalk on the time of the release).
|
|
513
|
+
crush update-providers embedded
|
|
514
|
+
```
|
|
515
|
+
|
|
473
516
|
## Whatcha think?
|
|
474
517
|
|
|
475
518
|
We’d love to hear your thoughts on this project. Need help? We gotchu. You can find us on:
|
|
@@ -478,6 +521,7 @@ We’d love to hear your thoughts on this project. Need help? We gotchu. You can
|
|
|
478
521
|
- [Discord][discord]
|
|
479
522
|
- [Slack](https://charm.land/slack)
|
|
480
523
|
- [The Fediverse](https://mastodon.social/@charmcli)
|
|
524
|
+
- [Bluesky](https://bsky.app/profile/charm.land)
|
|
481
525
|
|
|
482
526
|
[discord]: https://charm.land/discord
|
|
483
527
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@charmland/crush",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.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.8.0_Darwin_arm64.tar.gz",
|
|
30
|
+
"url": "https://github.com/charmbracelet/crush/releases/download/v0.8.0/crush_0.8.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": "c3a3125ba8e7e1bc6734a7379093984494547c8cdad41ff914da7e278a66815b"
|
|
38
38
|
},
|
|
39
|
-
"wrappedIn": "crush_0.
|
|
39
|
+
"wrappedIn": "crush_0.8.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.8.0_Darwin_x86_64.tar.gz",
|
|
43
|
+
"url": "https://github.com/charmbracelet/crush/releases/download/v0.8.0/crush_0.8.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": "5ad53607f3c905297dad13f85f0da75267c8607b30a9a816cb3ed9b33094d9fa"
|
|
51
51
|
},
|
|
52
|
-
"wrappedIn": "crush_0.
|
|
52
|
+
"wrappedIn": "crush_0.8.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.8.0_Linux_arm64.tar.gz",
|
|
56
|
+
"url": "https://github.com/charmbracelet/crush/releases/download/v0.8.0/crush_0.8.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": "29310aeec73da37d169ba088b0af7431b115412aa02b1bf2253a30b160b1bfc1"
|
|
64
64
|
},
|
|
65
|
-
"wrappedIn": "crush_0.
|
|
65
|
+
"wrappedIn": "crush_0.8.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.8.0_Linux_x86_64.tar.gz",
|
|
69
|
+
"url": "https://github.com/charmbracelet/crush/releases/download/v0.8.0/crush_0.8.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": "3f6a07972aee41f81ee38b8279784b64f609ad0250b83389fa2fa98fdf429bd7"
|
|
77
77
|
},
|
|
78
|
-
"wrappedIn": "crush_0.
|
|
78
|
+
"wrappedIn": "crush_0.8.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.8.0_Windows_arm64.zip",
|
|
82
|
+
"url": "https://github.com/charmbracelet/crush/releases/download/v0.8.0/crush_0.8.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": "431dbfe2596e732d93b5f807559d9c7e13b94098bd0061626ca2c36bc18ce8aa"
|
|
90
90
|
},
|
|
91
|
-
"wrappedIn": "crush_0.
|
|
91
|
+
"wrappedIn": "crush_0.8.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.8.0_Windows_x86_64.zip",
|
|
95
|
+
"url": "https://github.com/charmbracelet/crush/releases/download/v0.8.0/crush_0.8.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": "14df5bfd70437709a7222286769d4723f2166401167aeaf3271fb96d61963387"
|
|
103
103
|
},
|
|
104
|
-
"wrappedIn": "crush_0.
|
|
104
|
+
"wrappedIn": "crush_0.8.0_Windows_x86_64"
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
}
|