3 ms·
I've found myself occasionally wishing I had a monorepo purely for Claude Code for web (Anthropic's hosted version of Claude Code), since it can currently only
by simonw 8mo ago
I've found myself occasionally wishing I had a monorepo purely for Claude Code for web (Anthropic's hosted version of Claude Code), since it can currently only work with one private repository at a time.
On my own machine I have a dev/ folder full of checkouts of other repos, and I'll often run Claude Code or Codex CLI in that top level folder and tell it to make changes to multiple projects at once. That works just fine.
- verdverm 8mo agoThe "dev/" folder concept is what I give my agent, so I can select what I want it to have access to. On my computer, I have a few of those to group those that go together.
- bcye 8mo agoCouldn’t you make a pseudo monorepo via git submodules?
- verdverm 8mo agoSubmodules are pain, use the dependency management systems for the languages in your monorepo.
- simonw 8mo agoI don't think there's a way to have that work in Claude Code for web, since each checkout there uses a custom GitHub access token scoped to a single repository.
- verdverm 8mo agoGitHub tokens can span more than one repo or org if the account requesting has access to them. Is this supported on the non-web version? (I was going to try claude again this weekend, but when I tried to login, got an error and am reminded how much down time I experience from Anthropic, arg...)
- simonw 8mo agoThe non web version uses whatever credentials you have setup yourself, so it works just fine.
- verdverm 8mo agoIs that host level or can I provide scoped tokens based on what I'm doing? In other words, do Anthropic tools provide any affordances for this or is it something I have to manage externally?
- simonw 8mo agoI'm just talking about the version of Claude Code which runs in containers on their infrastructure here - they call it "Claude Code on the web" (terrible name) and you access it through their native apps or from https://claude.ai/code https://claude.ai/code That product only works against one GitHub repo at a time. The Claude Code you install and run locally doesn't have a GitHub attachment at all and can run against whatever you checkout yourself. Here's an open feature request about it: https://github.com/anthropics/claude-code/issues/23627 https://github.com/anthropics/claude-code/issues/23627