Repository navigation
A bridge can be asked to share a code graph; cli 0.10.0, bridge-client 0.7.0 - #40
Merged
Merged
Conversation
…t 0.7.0 DevPilot's hosted side is now an MCP server, and a member's assistant can ask for a repository's code graph to be shared. The hosted side has no code, so it leaves a request naming the repository; this is the machine's half. The bridge polls for requests and carries one out only when started with --allow-remote-config (off by default). Without it, a machine that has the repository answers "declined" and sends nothing. The request names owner/name only: which checkout is decided here, from ones already shared and directories agent sessions ran in. A machine without the repository does not answer. The work is the same as `graph enable` + `graph share --yes`, default-branch rule included, and lands in the same share file. A request to stop is honoured without the flag. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017SSL9hTgTso8Jgxz4MFvxD
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The machine half of the hosted MCP server (geastham/devpilot-website#122).
BridgeClient.machineCommands()/answerMachineCommand().RemoteConfigin the bridge: polls every 30s, acts ongraph.shareonly with--allow-remote-config(default off; otherwise answersdeclinedif it has the repository), resolvesowner/nameto a checkout this machine already knows, prefers the default branch, then does whatgraph enable+graph share --yesdo.graph.unshareis honoured without the flag.CLI suite: 401 passing. Not yet run against the live hosted route (it ships in the website PR).
🤖 Generated with Claude Code
https://claude.ai/code/session_017SSL9hTgTso8Jgxz4MFvxD