Add Crush coding agent integration#952
Open
nickclyde wants to merge 1 commit intojundot:mainfrom
Open
Conversation
Adds Charmbracelet Crush as a fifth option under the admin dashboard's "Other Integrations" section, matching the pattern used for Codex, OpenCode, OpenClaw, and Pi. Writes ~/.config/crush/crush.json with an openai-compat provider pointed at the local oMLX server and selects the chosen model for both the "large" and "small" Crush model slots.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
CrushIntegrationwrites~/.config/crush/crush.jsonwith anopenai-compatprovider pointed at the local oMLX server and binds the selected model to both thelargeandsmallCrush model slots.crush_modelthroughIntegrationSettings, the/admin/api/global-settingsrequest/response, the dashboard Alpine state (crushCommandgetter + save payload), and theomlx launchCLI help text.launch_commandalready dispatches via theINTEGRATIONSregistry, so no CLI logic changes were needed.status.integrations.crush_descto all five locales (en/ja/ko/zh/zh-TW) with translations; ranscripts/normalize_i18n.pyto keep key ordering aligned.TestCrushIntegrationcoversget_command,configure(new file / custom host / preserves existing / backup / invalid JSON / with+without limits / without model), andtype. BumpsTestIntegrationRegistryto expect 5 entries and extendsTestIntegrationSettingsto covercrush_model.Test plan
pytest tests/test_integrations.py -vpasses locally.omlx launch crush --model <loaded-model>writes a valid~/.config/crush/crush.json, preserves any pre-existing providers/LSP config (backup file produced), and the Crush TUI successfully hits the oMLX server.