feat(daemon): add github pr endpoints#307
Closed
donbeave wants to merge 5 commits into
Closed
Conversation
Add the Jackin Desktop Agent Hub roadmap as the product and architecture source of truth for a daemon-backed native macOS status bar and desktop companion. The proposal covers PR-first project visibility, Ghostty-only workspace launching, running-agent counts, Claude/Codex/Amp account status, daemon-primary Desktop data flow, small sequential stacked PR delivery, and explicit repo PR/commit standards for the implementation program. Add a separate Goal prompts docs page with the copy-pasteable Codex goal prompt, and align the daemon, live auth sync, agent attention prompts, and host bridge roadmap docs so they point toward the same daemon-owned status, approval, and event model. Signed-off-by: Alexey Zhokhov <alexey@zhokhov.com> Co-authored-by: Codex <codex@openai.com>
Co-authored-by: Codex <codex@openai.com> Signed-off-by: Alexey Zhokhov <alexey@zhokhov.com>
Co-authored-by: Codex <codex@openai.com> Signed-off-by: Alexey Zhokhov <alexey@zhokhov.com>
Co-authored-by: Codex <codex@openai.com> Signed-off-by: Alexey Zhokhov <alexey@zhokhov.com>
This was referenced May 11, 2026
Member
Author
|
Closing this narrower slice because the daemon/Desktop Agent Hub work is now consolidated for broad review in #317. |
Member
Author
|
Superseded by #317, which carries the combined daemon/Desktop Agent Hub feature and links this PR in its consolidated trail. |
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.
Summary
This stacks the third Desktop Agent Hub daemon slice on top of PR 306: the daemon now advertises and serves
github/my_open_prs,github/project_inbox, andgithub/repository_prsso Desktop can render newest-first open PR inbox views through the versioned daemon protocol. The implementation uses the operator's existingghauthentication, parses structured JSON, sorts by creation time descending, and applies owner/repository filters without exposing tokens to Desktop.What's deferred (follow-up PRs and risks)
feat(daemon): add workspace session discovery) must be reviewed after PR 283 and before this PR.workspace/launchanddesktop/open.ghlookup path, not the later cache-first PR index; private repository visibility depends on the operator'sghscopes; Amp account status remains deferred; macOS app packaging and daemon version negotiation remain unvalidated until the SwiftUI/AppKit slices land.Verify locally
Checkout
Paste this first to bypass the
tirithpaste scanner for the rest of the session:export TIRITH=0Then paste the checkout block:
Static checks
Tests
cargo test --lib daemon::testsThe focused tests cover daemon capability advertisement, GitHub PR JSON parsing, newest-first sorting, owner/repository filtering,
ghlimit clamping, and the prior daemon protocol/session/workspace cases.User smoke: daemon lifecycle
gh auth statusshould show the GitHub account/scopes the daemon will use for PR lookup requests.Documentation
cd docs bun install --frozen-lockfile bun run devAstro serves at
http://localhost:4321/. Pages to walk:http://localhost:4321/reference/roadmap/jackin-daemon/
UPDATED roadmap page. Check the protocol capability table for the three GitHub PR methods and the Phase 3 note.
http://localhost:4321/reference/roadmap/jackin-desktop-agent-hub/
UPDATED roadmap page. Check the existing local foundation section for Desktop's daemon-backed PR lookup path.
Migration notes
None. These endpoints are additive and use the operator's existing
ghlogin; no token storage or config migration is introduced.