posit-dev / posit-dev/positron

Assistant: Interact with Console Output

Open
#8,657 2 comments 0 reactions 1 assignee View on GitHub

@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:
Image

This supplements the "Fix with Assistant" and "Explain" actions presented on tracebacks.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.