[go: up one dir, main page]

Skip to content

[VS Code] Terminal Assistance with Duo Chat

User problem to solve

As a developer seeking quick solutions, I want to be able to ask Duo Chat questions about my terminal output and get immediate help without leaving my workflow.

Job Story

When I encounter a confusing error message in my terminal, I want to be able to quickly share it with Duo Chat and receive a clear explanation or potential solution so that I can unblock myself and continue coding efficiently.

Why is this important?

  1. Immediate, context-aware assistance. Users receive immediate, context-aware aid in their workflow, saving time and reducing frustration.
  2. Always-available resource. Duo Chat can remain an always-available resource that explains concepts and provides guidance.
  3. Enhanced user experience. Integrating Duo Chat into the terminal can significantly improve the dev experience by providing a seamless and intuitive way to access help.

Proposal

  1. User selects terminal output/snippet
  2. On right click, has menu option to Explain this output
  3. On the back-end we make sure that we strip the first part of the response that starts with "This is not actually code..."
    1. Docs to create a new tool.

Open Questions:

  1. Since this is in the terminal, are there security considerations we need to consider?
    • Today, users can copy/paste their output into Duo Chat and ask questions specific to the terminal. See example here.
Edited by Dasha Adushkina