claude-code - 💡(How to fix) Fix Desktop app: support scoping to subfolder in monorepo [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#45143Fetched 2026-04-09 08:12:14
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Timeline (top)
labeled ×3closed ×1commented ×1reopened ×1

Fix Action

Fix / Workaround

Current workaround

RAW_BUFFERClick to expand / collapse

Problem

In the Mac desktop app, there's no way to scope Claude Code's context to a specific subfolder within a monorepo. The project context is always tied to the git root, which means the entire monorepo context loads every time.

Use case

Working on individual packages/apps in a monorepo (e.g., apps/figma-plugins/my-plugin/ inside a larger monorepo). Users want to:

  • Only load CLAUDE.md and context relevant to that subfolder
  • Not have the full monorepo context in every request
  • Quickly switch between different packages/apps in the monorepo

Current workaround

The only reliable option is using the CLI and cd-ing into the subfolder before running claude. This isn't available in the desktop app.

Suggestion

Allow the desktop app to set a "working directory" or "project scope" to a subfolder within a monorepo, similar to how VS Code workspaces or other tools handle monorepo subfolder focus. Other AI coding tools handle this better today.

extent analysis

TL;DR

Implement a "working directory" or "project scope" feature in the desktop app to allow users to set a subfolder within a monorepo as the context for Claude Code.

Guidance

  • Introduce a new setting in the desktop app to allow users to specify a subfolder as the working directory for Claude Code.
  • Update the app to respect this setting and only load context relevant to the specified subfolder.
  • Consider adding a feature to quickly switch between different working directories, similar to how VS Code handles workspaces.
  • Investigate how other AI coding tools handle monorepo subfolder focus to gather inspiration for the implementation.

Example

No code snippet is provided as the issue does not contain specific technical details about the implementation.

Notes

The implementation details of the "working directory" feature are not specified, and it is unclear how the desktop app currently handles monorepo contexts. Further investigation into the app's architecture and the requirements for the new feature is necessary.

Recommendation

Apply workaround: Implement the suggested "working directory" feature to improve the user experience for those working with monorepos in the desktop app. This will allow users to scope Claude Code's context to a specific subfolder, improving performance and reducing unnecessary context loading.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING