Skip to content

fix(flatpak): add filesystem mapping for qoder client - #2646

Merged
samuv merged 1 commit into
mainfrom
fix/flatpak-qoder-client-path
Aug 27, 2026
Merged

samuv merged 1 commit into
mainfrom
fix/flatpak-qoder-client-path

Conversation

@samuv

@samuv samuv commented Aug 27, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • ToolHive v0.45.0 added Qoder IDE as a supported MCP client (stacklok/toolhive#5870). The Flatpak maker runs thv client register --help at build time and fails if any reported client is missing from CLIENT_FLATPAK_PATHS.
  • Map qoder to ~/.qoder, matching the Linux config path (~/.qoder/mcp.json and ~/.qoder/skills/) declared upstream.
  • Unblocks the Linux Flatpak build on chore(deps): update dependency stacklok/toolhive to v0.45.0 #2645 (chore(deps): update dependency stacklok/toolhive to v0.45.0).

Test plan

ToolHive v0.45.0 added Qoder IDE as a supported MCP client
(stacklok/toolhive#5870). The Flatpak build runs `thv client register
--help` at make time and fails if any reported client is missing from
CLIENT_FLATPAK_PATHS. Map `qoder` to `~/.qoder`, matching the Linux
config path declared upstream.
Copilot AI lite review requested due to automatic review settings August 27, 2026 12:53

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Flatpak filesystem permission mapping for the newly supported qoder MCP client (introduced in ToolHive v0.45.0) so the Flatpak build-time validation no longer fails when thv client register --help reports qoder.

Changes:

  • Add qoder~/.qoder to CLIENT_FLATPAK_PATHS.
  • Extend the sample thv client register --help output in tests to include qoder.
  • Add a regression unit test asserting flatpakFilesystemEntries(['qoder']) yields --filesystem=~/.qoder.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
utils/flatpak-client-paths.ts Adds the qoder filesystem mapping used to generate Flatpak --filesystem= permissions.
utils/tests/flatpak-client-paths.test.ts Updates the help-output fixture and adds a regression test ensuring qoder maps to ~/.qoder.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@samuv samuv self-assigned this Aug 27, 2026
@samuv
samuv merged commit 68cc1af into main Aug 27, 2026
18 checks passed
@samuv
samuv deleted the fix/flatpak-qoder-client-path branch August 27, 2026 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants