posit-dev / posit-dev/positron
Assistant: Interact with Console Output
Open
@samclark2015 is already working on this.
Since Jul 31, 2025.
area: assistant
- Dominant language
- TypeScript
- Stars
- 4.3k
- Forks
- 184
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 206
Description
Add an interaction point to allow users to send specific Console output to Assistant. When a user highlights/selects text in the Console, if that session is attached to Assistant, the Assistant context will be annotated with the user selection.
Parts:
- Identify selection & update Assistant context to maintain reference to selection
- Update Assistant logic to prioritize or otherwise indicate the selected code outputs
- Update the context UI to indicate a sub-set of the Console output is attached as context
Affordance will be similar to the text context:
This supplements the "Fix with Assistant" and "Explain" actions presented on tracebacks.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.