on main help sign in
chore: rename OPENCODE -> CRUSH
7f6fb49Kujtim Hoxha
.gitignore+2−2
@@ -41,6 +41,6 @@ Thumbs.db
41.env
41.env
42.env.local
42.env.local
43
43
44−.opencode/
44+.crush/
45
45
46−opencode
46+crush
cmd/schema/main.go+2−2
@@ -93,8 +93,8 @@ func generateSchema() map[string]any {
93 "crush.local.md",
93 "crush.local.md",
94 "Crush.md",
94 "Crush.md",
95 "Crush.local.md",
95 "Crush.local.md",
96− "OPENCODE.md",
96+ "CRUSH.md",
97− "OPENCODE.local.md",
97+ "CRUSH.local.md",
98 },
98 },
99 }
99 }
100
100
opencode-schema.json → crush-schema.jsonrenamed+2−2
@@ -220,8 +220,8 @@
220 "crush.local.md",
220 "crush.local.md",
221 "Crush.md",
221 "Crush.md",
222 "Crush.local.md",
222 "Crush.local.md",
223− "OPENCODE.md",
223+ "CRUSH.md",
224− "OPENCODE.local.md"
224+ "CRUSH.local.md"
225 ],
225 ],
226 "description": "Context paths for the application",
226 "description": "Context paths for the application",
227 "items": {
227 "items": {
OpenCode.md → crush.mdrenamed

The content is the same.

internal/config/config.go+3−3
@@ -114,8 +114,8 @@ var defaultContextPaths = []string{
114 "crush.local.md",
114 "crush.local.md",
115 "Crush.md",
115 "Crush.md",
116 "Crush.local.md",
116 "Crush.local.md",
117− "OPENCODE.md",
117+ "CRUSH.md",
118− "OPENCODE.local.md",
118+ "CRUSH.local.md",
119}
119}
120
120
121// Global configuration instance
121// Global configuration instance
@@ -159,7 +159,7 @@ func Load(workingDir string, debug bool) (*Config, error) {
159 if cfg.Debug {
159 if cfg.Debug {
160 defaultLevel = slog.LevelDebug
160 defaultLevel = slog.LevelDebug
161 }
161 }
162− if os.Getenv("OPENCODE_DEV_DEBUG") == "true" {
162+ if os.Getenv("CRUSH_DEV_DEBUG") == "true" {
163 loggingFile := fmt.Sprintf("%s/%s", cfg.Data.Directory, "debug.log")
163 loggingFile := fmt.Sprintf("%s/%s", cfg.Data.Directory, "debug.log")
164
164
165 // if file does not exist create it
165 // if file does not exist create it