Skip to content

Conversation

Josh-AS
Copy link

@Josh-AS Josh-AS commented Sep 21, 2025

Summary

Adds support for the Zed agent in the CLI and templates.

Because Zed does not support slash commands currently, a workaround was implemented to allow similar functionality.

Changes

  • Zed agent support
    • Command rules are compiled into a single .rules file, which is the format Zed accepts.
    • Introduced prompting to define a <slash_command> template.
    • Template rules are parsed into blocks and placed into the .rules file for Zed.

Notes / Limitations

  • Attempting to use /specify (or any slash command) literally in Zed is still blocked.
  • Running the same commands without the leading / works in testing runs.
  • This approach is a hacky workaround to mimic slash command functionality in Zed.

Introduces Zed as a supported agent in release packaging, context update scripts (bash and PowerShell), and CLI options. Updates documentation, agent lists, and workflow logic to handle Zed-specific rules and templates.
Updates command prompting in .rules to fix an issue where Zed blocked executions sometimes thinking we were bypassing restrictions on commands.
@Josh-AS Josh-AS requested a review from localden as a code owner September 21, 2025 00:45
@Josh-AS Josh-AS marked this pull request as draft September 21, 2025 00:49
@Josh-AS
Copy link
Author

Josh-AS commented Sep 21, 2025

Made draft as could do with some more CLI changes so if they select zed it onboards them correctly and doesn't tell them they can use /commands but instead tells them to run "specify A todo app"

Also create-release-packages.sh could be updated to bootstrap the .rules file with prompting for handling their execution and then generate_commands could be reverted back to normal, then .rules references wherever the release templates are stored.

Would be a lot cleaner this way, but bed time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant