Skip to content

feat: open the original chat from a pull request - #7

Open
tensorcopy wants to merge 1 commit into
alysnnix:mainfrom
tensorcopy:chat-links
Open

tensorcopy wants to merge 1 commit into
alysnnix:mainfrom
tensorcopy:chat-links

Conversation

@tensorcopy

@tensorcopy tensorcopy commented Sep 28, 2026 •

Copy link
Copy Markdown

Why. A pull request a Paseo workspace was tracking had no way back to the conversation that came from it — the only trace was whatever the prompt template happened to mention.

What. Each pull request on the board is matched to the first agent created in the workspace that tracks it — the originating conversation, later agents being follow-up work. An Open original chat action on the row and in the detail panel jumps straight to that chat.

How. client/board/use-chat-links.ts builds the match from workspaces.list and agents.list (paged, bounded at ten pages each), refreshes on workspace and agent events with a debounce, and holds the map in the query cache with a one-minute backstop. buildChatLinks is pure and unit-tested.

Test. use-chat-links.test.ts covers the first-agent matching and the url normalization with generic fixtures. Typecheck and the suite pass on this branch alone: 57 tests.

Stacking. None. This change touches no file the other pull requests in the series touch, so it can be reviewed and merged in any order.

- match the pull request each active or retained workspace tracks to the first agent created there, the originating conversation
- an action on the row and in the panel jumps straight to that chat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant