@charmland/crush 0.79.1 → 0.80.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 +19 -4
  2. package/package.json +25 -25
package/README.md CHANGED
@@ -771,8 +771,9 @@ To add specific models to the configuration, configure as such:
771
771
  ### Local Models
772
772
 
773
773
  Crush can auto-discovers models from local providers. Add a custom provider
774
- with `type` set to `omlx`, `lmstudio`, `litellm`, or `ollama` and leave out
775
- the models list. Crush will populate the model list automatically.
774
+ with `type` set to `llamacpp`, `omlx`, `lmstudio`, `litellm`, or `ollama`
775
+ and leave out the models list. Crush will populate the model list
776
+ automatically.
776
777
 
777
778
  ```json
778
779
  {
@@ -786,12 +787,26 @@ the models list. Crush will populate the model list automatically.
786
787
  }
787
788
  ```
788
789
 
790
+ For llama.cpp (`llama-server`), point at the server's base URL:
791
+
792
+ ```json
793
+ {
794
+ "providers": {
795
+ "llamacpp": {
796
+ "name": "llama.cpp",
797
+ "base_url": "http://localhost:2222",
798
+ "type": "llamacpp"
799
+ }
800
+ }
801
+ }
802
+ ```
803
+
789
804
  #### Manual Model Configuration
790
805
 
791
806
  You can still list models explicitly. User-defined models always take
792
807
  precedence over discovered ones, and any fields you set won't be overwritten
793
808
  by auto-discovery. Auto discovery will run if the model list is empty for any
794
- `openai-compat` provider or if you pass `"auto_discovery": true` it will merge
809
+ `openai-compat` provider or if you pass `"discover_models": true` it will merge
795
810
  the found models with your hand configured ones.
796
811
 
797
812
  ```json
@@ -809,7 +824,7 @@ by auto-discovery. Auto discovery will run if the model list is empty for any
809
824
  "default_max_tokens": 20000
810
825
  }
811
826
  ],
812
- "auto_discovery": true
827
+ "discover_models": true
813
828
  }
814
829
  }
815
830
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@charmland/crush",
3
3
  "type": "module",
4
- "version": "0.79.1",
4
+ "version": "0.80.0",
5
5
  "description": "A powerful terminal-based AI assistant for developers, providing intelligent coding assistance directly in your terminal.",
6
6
  "scripts": {
7
7
  "postinstall": "node install.js",
@@ -27,82 +27,82 @@
27
27
  },
28
28
  "archives": {
29
29
  "darwin-arm64": {
30
- "name": "crush_0.79.1_Darwin_arm64.tar.gz",
31
- "url": "https://github.com/charmbracelet/crush/releases/download/v0.79.1/crush_0.79.1_Darwin_arm64.tar.gz",
30
+ "name": "crush_0.80.0_Darwin_arm64.tar.gz",
31
+ "url": "https://github.com/charmbracelet/crush/releases/download/v0.80.0/crush_0.80.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": "850a7faf558fae844719bf8076b16b1028ce014008b381b07d56b59b99baab37"
38
+ "digest": "580bb56e52e0e40b02f3dbe2b84c130f6d118cd77a209cf8cacb0cabeeae2b8c"
39
39
  },
40
- "wrappedIn": "crush_0.79.1_Darwin_arm64"
40
+ "wrappedIn": "crush_0.80.0_Darwin_arm64"
41
41
  },
42
42
  "darwin-x64": {
43
- "name": "crush_0.79.1_Darwin_x86_64.tar.gz",
44
- "url": "https://github.com/charmbracelet/crush/releases/download/v0.79.1/crush_0.79.1_Darwin_x86_64.tar.gz",
43
+ "name": "crush_0.80.0_Darwin_x86_64.tar.gz",
44
+ "url": "https://github.com/charmbracelet/crush/releases/download/v0.80.0/crush_0.80.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": "f00c82f01f7b2709faf3af53bd00a2206c9244c89b3e0b38b34d6c62a78d51cd"
51
+ "digest": "f9572eec8d9229e5bf9a62e4af52ac8f37ae597bac4d8a54f90b62b8f418238f"
52
52
  },
53
- "wrappedIn": "crush_0.79.1_Darwin_x86_64"
53
+ "wrappedIn": "crush_0.80.0_Darwin_x86_64"
54
54
  },
55
55
  "linux-arm64": {
56
- "name": "crush_0.79.1_Linux_arm64.tar.gz",
57
- "url": "https://github.com/charmbracelet/crush/releases/download/v0.79.1/crush_0.79.1_Linux_arm64.tar.gz",
56
+ "name": "crush_0.80.0_Linux_arm64.tar.gz",
57
+ "url": "https://github.com/charmbracelet/crush/releases/download/v0.80.0/crush_0.80.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": "c86029f4a02d0bc6080c00179ca4a9610c98bf3f386a23acf9031833a47fdec1"
64
+ "digest": "1b51a45237c928130031328ed24f721fa8c8fede097c7b7e55bc702ac8ef389f"
65
65
  },
66
- "wrappedIn": "crush_0.79.1_Linux_arm64"
66
+ "wrappedIn": "crush_0.80.0_Linux_arm64"
67
67
  },
68
68
  "linux-x64": {
69
- "name": "crush_0.79.1_Linux_x86_64.tar.gz",
70
- "url": "https://github.com/charmbracelet/crush/releases/download/v0.79.1/crush_0.79.1_Linux_x86_64.tar.gz",
69
+ "name": "crush_0.80.0_Linux_x86_64.tar.gz",
70
+ "url": "https://github.com/charmbracelet/crush/releases/download/v0.80.0/crush_0.80.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": "c144ef094113779cdb3a7a9c327ae95eec2f8301e7b47ae41624d75e6cb1e838"
77
+ "digest": "773af708d5cb9bf896934335589e94aa0bb72b9b8a918d9f7160663a806a3f84"
78
78
  },
79
- "wrappedIn": "crush_0.79.1_Linux_x86_64"
79
+ "wrappedIn": "crush_0.80.0_Linux_x86_64"
80
80
  },
81
81
  "win32-arm64": {
82
- "name": "crush_0.79.1_Windows_arm64.zip",
83
- "url": "https://github.com/charmbracelet/crush/releases/download/v0.79.1/crush_0.79.1_Windows_arm64.zip",
82
+ "name": "crush_0.80.0_Windows_arm64.zip",
83
+ "url": "https://github.com/charmbracelet/crush/releases/download/v0.80.0/crush_0.80.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": "388636529051b9d3fdf65dc36e5c9a7eaa8d0840583cbc33534dd067a77bc942"
90
+ "digest": "4416ed6ea6d9f9b842aeaf9681768698d02655773455a654276aab786c083065"
91
91
  },
92
- "wrappedIn": "crush_0.79.1_Windows_arm64"
92
+ "wrappedIn": "crush_0.80.0_Windows_arm64"
93
93
  },
94
94
  "win32-x64": {
95
- "name": "crush_0.79.1_Windows_x86_64.zip",
96
- "url": "https://github.com/charmbracelet/crush/releases/download/v0.79.1/crush_0.79.1_Windows_x86_64.zip",
95
+ "name": "crush_0.80.0_Windows_x86_64.zip",
96
+ "url": "https://github.com/charmbracelet/crush/releases/download/v0.80.0/crush_0.80.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": "2a2b7fa7c8bcc8e7aa0b87c52a72dfe96ec1411e87a62e5f95175e8dfb73258d"
103
+ "digest": "083e5e2887c787948d09b8f9c6036ebbf880e505fa8ad06a81f27eb5f7469400"
104
104
  },
105
- "wrappedIn": "crush_0.79.1_Windows_x86_64"
105
+ "wrappedIn": "crush_0.80.0_Windows_x86_64"
106
106
  }
107
107
  }
108
108
  }