Skip to content

feat(app): import global commands from files and folders#18145

Open
anduimagui wants to merge 3 commits intoanomalyco:devfrom
anduimagui:feat/global-command-import-settings
Open

feat(app): import global commands from files and folders#18145
anduimagui wants to merge 3 commits intoanomalyco:devfrom
anduimagui:feat/global-command-import-settings

Conversation

@anduimagui
Copy link
Contributor

Issue for this PR

Closes #

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Adds a real Commands settings tab in desktop that imports global slash commands from either selected .md files or selected folders. Folder imports recurse to discover markdown files, parse frontmatter/body, then save commands to global config.

Also fixes import behavior to merge with existing command config instead of overwriting it, so previously configured global commands are preserved.

How did you verify your code works?

  • bun run typecheck (in packages/desktop)
  • cargo check (in packages/desktop/src-tauri)
  • cargo test test_export_types --lib (in packages/desktop/src-tauri)

Screenshots / recordings

Included screenshot in discussion showing Commands settings with import actions.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

Introduce a Commands settings tab in desktop that imports markdown files into global config so slash commands are available across projects. Add a desktop file-read bridge used by the importer.
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