Repository navigation
Zed module
#1010
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
A discussion dedicated to the Zed module. Share your thoughts, questions, and feedback here.
Module Scorecard
Drilldown
Presentation & Onboarding — 12 / 17
folderfor a specific directory,display_name/orderfor UI placement,agent_namefor multi-agent workspaces, andsettingswith an MCP server JSON example. Each example uses sensible defaults and is self-contained.icon: ../../../../.icons/zed.svg), but an icon is not a visual preview of the module in action.Credential Hygiene — 20 / 20
main.tfis a credential or secret; all inputs are configuration values (agent ID, folder path, display name, JSON settings blob). Thesettingsvariable is a general-purpose config JSON, not a dedicated secret input. README examples use placeholder values ("some-command","arg-1") and contain no inline literal or placeholder API keys.coder config-sshrun or Coder Desktop." Thecoder_appURL uses thezed://ssh/protocol, which delegates authentication to the Coder SSH configuration rather than embedding raw keys in the template.Restricted-Environment Readiness — 2 / 2
zed://ssh/app URL; Zed itself lives on the user's desktop. No download URL exists to override.coder_scriptinmain.tfwrites to$HOME/.config/zed/settings.json(or$XDG_CONFIG_HOME/zed/). It usesmkdir -p,base64 -d,jq, andprintf—none of which require root. Nosudoinvocation appears anywhere in the script.Engineering Quality — 10 / 10
descriptionfields and sensibledefaultvalues (e.g.,display_name = "Zed",slug = "zed",folder = ""). Types are appropriate (string,number). No validation is strictly necessary for these free-form config values.zed.tftest.hclcovers business logic: default URL construction, folder appending, agent_name hostname, base64 encoding of settings, and empty-settings short-circuit.main.test.tsprovides end-to-end container tests: settings file written with correct JSON (including special characters), merge behavior withjq, and no-script-when-empty. Clear separation of concerns.IDE Integration — 19 / 19
coder_app.zedis created withexternal = trueand URLzed://ssh/${hostname}${folder}. Clicking the app in the Coder dashboard launches Zed via the custom protocol. Documented in the README with the default example.settingsinput accepts a JSON string that is written (or merged viajq) to~/.config/zed/settings.jsonon agent start. README includes a dedicated section "Configure Zed settings including MCP servers" with a fulljsonencodeexample showingcontext_servers.foldervariable appends a path to thezed://ssh/URL. README documents this with the "Open in a specific directory" example (folder = "/home/coder/project").Overall — 93 / 100
Raw 63 / 68 → round(63 / 68 × 100) = 93
Scored against SCORECARD.md on 2026-10-19 with
solstice-1.All reactions