@charmland/crush 0.18.0 → 0.18.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.
Files changed (2) hide show
  1. package/README.md +30 -5
  2. package/package.json +25 -25
package/README.md CHANGED
@@ -335,6 +335,28 @@ permissions. Use this with care.
335
335
  You can also skip all permission prompts entirely by running Crush with the
336
336
  `--yolo` flag. Be very, very careful with this feature.
337
337
 
338
+ ### Initialization
339
+
340
+ When you initialize a project, Crush analyzes your codebase and creates
341
+ a context file that helps it work more effectively in future sessions.
342
+ By default, this file is named `AGENTS.md`, but you can customize the
343
+ name and location with the `initialize_as` option:
344
+
345
+ ```json
346
+ {
347
+ "$schema": "https://charm.land/crush.json",
348
+ "options": {
349
+ "initialize_as": "AGENTS.md"
350
+ }
351
+ }
352
+ ```
353
+
354
+ This is useful if you prefer a different naming convention or want to
355
+ place the file in a specific directory (e.g., `CRUSH.md` or
356
+ `docs/LLMs.md`). Crush will fill the file with project-specific context
357
+ like build commands, code patterns, and conventions it discovered during
358
+ initialization.
359
+
338
360
  ### Attribution Settings
339
361
 
340
362
  By default, Crush adds attribution information to Git commits and pull requests
@@ -352,11 +374,14 @@ it creates. You can customize this behavior with the `attribution` option:
352
374
  }
353
375
  ```
354
376
 
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
359
- - `generated_with`: When true (default), adds `💘 Generated with Crush` line to commit messages and PR descriptions
377
+ - `trailer_style`: Controls the attribution trailer added to commit messages
378
+ (default: `assisted-by`)
379
+ - `assisted-by`: Adds `Assisted-by: [Model Name] via Crush <crush@charm.land>`
380
+ (includes the model name)
381
+ - `co-authored-by`: Adds `Co-Authored-By: Crush <crush@charm.land>`
382
+ - `none`: No attribution trailer
383
+ - `generated_with`: When true (default), adds `💘 Generated with Crush` line to
384
+ commit messages and PR descriptions
360
385
 
361
386
  ### Custom Providers
362
387
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@charmland/crush",
3
- "version": "0.18.0",
3
+ "version": "0.18.2",
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.18.0_Darwin_arm64.tar.gz",
31
- "url": "https://github.com/charmbracelet/crush/releases/download/v0.18.0/crush_0.18.0_Darwin_arm64.tar.gz",
30
+ "name": "crush_0.18.2_Darwin_arm64.tar.gz",
31
+ "url": "https://github.com/charmbracelet/crush/releases/download/v0.18.2/crush_0.18.2_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": "01cfa70a49e6f887596d1667c54dfdab11ada22f09fd791d9934ab967d49645c"
38
+ "digest": "b29d309c6bda733f61d5656bca1c4f357e0b1c31ba41d6c466db743b75b1b416"
39
39
  },
40
- "wrappedIn": "crush_0.18.0_Darwin_arm64"
40
+ "wrappedIn": "crush_0.18.2_Darwin_arm64"
41
41
  },
42
42
  "darwin-x64": {
43
- "name": "crush_0.18.0_Darwin_x86_64.tar.gz",
44
- "url": "https://github.com/charmbracelet/crush/releases/download/v0.18.0/crush_0.18.0_Darwin_x86_64.tar.gz",
43
+ "name": "crush_0.18.2_Darwin_x86_64.tar.gz",
44
+ "url": "https://github.com/charmbracelet/crush/releases/download/v0.18.2/crush_0.18.2_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": "b8050aa4f9826f4bcc2cc8b1252b62d5a6b1d75825c0920e0b62919a9c9063cb"
51
+ "digest": "2823e5f1b35adfe72cd985bcd6ad7fa51bd17c0739500ad46f0cec705c258cc8"
52
52
  },
53
- "wrappedIn": "crush_0.18.0_Darwin_x86_64"
53
+ "wrappedIn": "crush_0.18.2_Darwin_x86_64"
54
54
  },
55
55
  "linux-arm64": {
56
- "name": "crush_0.18.0_Linux_arm64.tar.gz",
57
- "url": "https://github.com/charmbracelet/crush/releases/download/v0.18.0/crush_0.18.0_Linux_arm64.tar.gz",
56
+ "name": "crush_0.18.2_Linux_arm64.tar.gz",
57
+ "url": "https://github.com/charmbracelet/crush/releases/download/v0.18.2/crush_0.18.2_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": "9fd6ad681f94e6413d126b962c8390b2e39be748d279bd1fdfb0cb8440250769"
64
+ "digest": "2baaf8bcdf334f5aaa4ef64856cdc6b4d8d512cff9d47d553c0b590863c66bb4"
65
65
  },
66
- "wrappedIn": "crush_0.18.0_Linux_arm64"
66
+ "wrappedIn": "crush_0.18.2_Linux_arm64"
67
67
  },
68
68
  "linux-x64": {
69
- "name": "crush_0.18.0_Linux_x86_64.tar.gz",
70
- "url": "https://github.com/charmbracelet/crush/releases/download/v0.18.0/crush_0.18.0_Linux_x86_64.tar.gz",
69
+ "name": "crush_0.18.2_Linux_x86_64.tar.gz",
70
+ "url": "https://github.com/charmbracelet/crush/releases/download/v0.18.2/crush_0.18.2_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": "df96304b6b0fe9d0cbbac61227d8ad5247182fbd1abbe83a056f9407168e0e94"
77
+ "digest": "e1ea9a940bb2e33d7b3e09ff3ecc014d3dbb8cdb963eda3e4f072e2ce05baf78"
78
78
  },
79
- "wrappedIn": "crush_0.18.0_Linux_x86_64"
79
+ "wrappedIn": "crush_0.18.2_Linux_x86_64"
80
80
  },
81
81
  "win32-arm64": {
82
- "name": "crush_0.18.0_Windows_arm64.zip",
83
- "url": "https://github.com/charmbracelet/crush/releases/download/v0.18.0/crush_0.18.0_Windows_arm64.zip",
82
+ "name": "crush_0.18.2_Windows_arm64.zip",
83
+ "url": "https://github.com/charmbracelet/crush/releases/download/v0.18.2/crush_0.18.2_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": "71b38717d3ad3456c8d357814989f9af05741a6b9bae72682a47d5c538e7ca40"
90
+ "digest": "aef9ff840d3e6dfea4b41a9c041d38c10fdb44080de8de8b30b7841daad31a10"
91
91
  },
92
- "wrappedIn": "crush_0.18.0_Windows_arm64"
92
+ "wrappedIn": "crush_0.18.2_Windows_arm64"
93
93
  },
94
94
  "win32-x64": {
95
- "name": "crush_0.18.0_Windows_x86_64.zip",
96
- "url": "https://github.com/charmbracelet/crush/releases/download/v0.18.0/crush_0.18.0_Windows_x86_64.zip",
95
+ "name": "crush_0.18.2_Windows_x86_64.zip",
96
+ "url": "https://github.com/charmbracelet/crush/releases/download/v0.18.2/crush_0.18.2_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": "7802ff47f9d5195ade84b808def643f92a1f98e2ce487b41042bff084920a40a"
103
+ "digest": "ea8fa0b8a230a4decdc79158591b0478186f8cf9ea426bb1a71dcdcd640b2723"
104
104
  },
105
- "wrappedIn": "crush_0.18.0_Windows_x86_64"
105
+ "wrappedIn": "crush_0.18.2_Windows_x86_64"
106
106
  }
107
107
  }
108
108
  }