Skip to content

fix(ui-desktop): unify path resolution around GOOSE_PATH_ROOT#7335

Open
bavadim wants to merge 4 commits intoblock:mainfrom
redsquad-tech:fix/goose-path-root-configdir
Open

fix(ui-desktop): unify path resolution around GOOSE_PATH_ROOT#7335
bavadim wants to merge 4 commits intoblock:mainfrom
redsquad-tech:fix/goose-path-root-configdir

Conversation

@bavadim
Copy link
Contributor

@bavadim bavadim commented Feb 19, 2026

Summary

This PR keeps path resolution consistent in Desktop by using GOOSE_PATH_ROOT as the path-root contract, with a minimal surface area.

What changed

  • Desktop main.ts: expose/pass GOOSE_PATH_ROOT for Desktop runtime and renderer config.
  • Desktop MCP shim scripts (jbang, uvx, node-setup-common.sh): resolve mcp-hermit under GOOSE_PATH_ROOT/config (or platform default when unset).
  • Desktop recipe storage picker: use GOOSE_PATH_ROOT/config/recipes for global recipe browsing in isolated runs.

Why

In branded/isolated Desktop runs, backend paths and UI/shim paths can diverge (GOOSE_PATH_ROOT/... vs ~/.config/goose/...).
That mismatch can cause extension bootstrap and recipe UX inconsistencies.

Related issues

Validation

  • cd ui/desktop && npm run lint:check
  • cd ui/desktop && npm run test:run

Both passed.

AI usage

AI assistance was used to draft and apply code edits; validation was performed by running the checks above.

Signed-off-by: Vadim Polulyakh <bavadim@gmail.com>
Signed-off-by: Vadim Polulyakh <bavadim@gmail.com>
Signed-off-by: Vadim Polulyakh <bavadim@gmail.com>
Signed-off-by: Vadim Polulyakh <bavadim@gmail.com>
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

Comments