Repository navigation
feat: Suggestions from where Panes work (#373) - #403
Merged
Merged
Conversation
GET /v1/workspaces/{id}/suggestions lists the Repositories a Workspace's
Panes work in that it doesn't link: each folder's upstream remote when on
GitHub, else origin, read from the repo's config file. Each owner/name is
confirmed with GitHub once per run; signed out, only kept Repositories.
A watcher sends changed suggestions when they differ. API_VERSION 26.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…373) A Workspace's Pull requests shows its Suggestions in one strip under the header (under Link repository when nothing is linked): Link links at once by id with a toast and Undo, Not now is kept per Workspace and Repository in gui.json, as is every GUI unlink. The picker lists all Suggestions first, ignoring dismissals. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Closes #373
When a Workspace's Panes work in a Repository the Workspace doesn't link, agentdeck now offers to link it, quietly, and remembers when you say Not now.
Daemon
upstreamremote when that is on GitHub, else itsorigin; other remotes are ignored. The Repositories the Workspace links are left out; one other Workspaces link is still suggested. Nothing scans the disk beyond the Panes' folders.configfile, nogitprocess. The folder or the nearest one above it with.git: a directory, or agitdir:file (worktree, submodule), whosecommondirleads a worktree to the main repo's config.include/includeIfandinsteadOfaren't followed (spec §3 says so).owner/namegoes through RESTGET /repos/{owner}/{repo}once, and the answer (the Repository with its id and name now, or "GitHub can't see it") is kept in memory, so a name GitHub can't see is never suggested. A failed call keeps nothing. Signed out, only a Repository agentdeck keeps by that name (and isn't Unreachable) is suggested.GET /v1/workspaces/{id}/suggestionslists them asRepository(id, name, url, private, archived), not filtered by dismissals;[]for an archived Workspace,404 not_foundfor a missing one.changed suggestions(id the Workspace's) is sent when a Workspace's Suggestions differ from the last ones worked out: a watcher on the event bus works them out again after a Pane opens, moves, exits or is deleted, a Link or the Workspace changes, a Repository changes or the GitHub sign-in changes.API_VERSION26;openapi.jsonand the client regenerated;agentdeck_client::repositories::suggestionsreads none from an older daemon.GUI
changedis read. Not now dismisses it for that Workspace for good.gui.json({"dismissed": {"<workspace id>": [<repository id>]}}). A GUI unlink (Edit workspace's Save, a group's Unlink from this workspace) records the same dismissal;agentdeck repo unlinkdoesn't, since dismissals are GUI state.Design
Penpot boards, beside the existing ones: "Workspace · Pull requests · suggestion", "· suggestions" and "Workspace · no repositories · suggestions" (Screens · Main), and "Edit workspace · picker · suggested" (Screens · Dialogs); a new page-local
agentdeck/SuggestionRow, and Suggested rows onagentdeck/LinkPickerList. Penpot exports and app captures, side by side:~/Pictures/agentdeck/2026-11-23-suggestions/. They match.Notes
changed suggestionsis sent only when a Workspace's Suggestions differ from the last ones worked out, so a Pane exiting (which keeps its last folder) recomputes them but usually sends nothing.docs/spec.md§3, §4, §5, §8, §11 and §12 are rewritten for Suggestions.🤖 Generated with Claude Code