Background Agent GitHub Access does not work in mono-repo project folders

I have a mono repo and am only able to get the GitHub Access for the Background Agent configured in the root of the repository, not in project folders.

Does the Background Agent support mono repos?

In my repository’s root folder:

In sub-directory project folder (where I really need to configure it):

Please add support for this, even if its through multi-workspace this is much needed for day to day stuff.

Would be great to have a background agent that could work across more than one git repo too but that might be easiest solved with submodules?

Can background agent work on submodules?

1 Like

+1 to this. I tried using submodules and it did not work.

Any workaround available?

I was having the same issue and found I was able to solve it by updating the `.vscode/project.code-workspace “folders” array to have the base directory as the first folder. I found that this works with cursor indexing as well, while having names for the paths did NOT work with cursor indexing.

  "folders": [
    {
      "path": "..",
    },
    {
      "path": "../apps/xxx-site",
    },
    {
      "path": "../apps/xxx-site",
    },
    {
      "path": "../packages/ui-site",
    },
    {
      "path": "../packages/plugins",
    },
    {
      "path": "../packages/server",
    },
    {
      "path": "../packages/common",
    },
    {
      "path": "../packages/types",
    },
    {
      "path": "../packages/ui-base",
    },
    {
      "path": "../tooling",
    },
  ],
}```