-
Notifications
You must be signed in to change notification settings - Fork 2
[task] Add app-server auth and repository status methods #7
Copy link
Copy link
Open
Labels
area: protocolApp-server protocol types, schemas, and client/server message contracts.App-server protocol types, schemas, and client/server message contracts.help wantedMaintainers would welcome a community contribution on this work.Maintainers would welcome a community contribution on this work.kind: featureA user-facing capability request.A user-facing capability request.
Milestone
Metadata
Metadata
Assignees
Labels
area: protocolApp-server protocol types, schemas, and client/server message contracts.App-server protocol types, schemas, and client/server message contracts.help wantedMaintainers would welcome a community contribution on this work.Maintainers would welcome a community contribution on this work.kind: featureA user-facing capability request.A user-facing capability request.
Goal
Expose GitHub authentication status and current repository identity through the app-server.
Why this matters
The desktop app needs to explain whether Nexgit can read GitHub data before showing empty dashboards. The TUI needs the same state for first-run and no-auth flows.
Command/API target
Add behavior for these app-server methods:
Depends on
gh apiadapter.Out of scope
gh auth logininteractively.Definition of done
Verification
cargo fmt --all --checkcargo check --workspaceContributor notes
Prefer clear errors over clever recovery. The UI can guide users once the state is explicit.