Skip to content

Run Inline Prompt runs diagnostics instead of accepting a prompt #1

Description

@aadorian

Summary

The Run Inline Prompt command (opencode-walkthrough.runInline) does not match its label or walkthrough step 2 ("Run a Prompt"). When the OpenCode CLI is installed, it dumps version/auth/models to the terminal instead of prompting the user for input.

Steps to Reproduce

  1. Install OpenCode CLI (opencode --version succeeds)
  2. Run OpenCode: Run Inline Prompt from the command palette, sidebar, or walkthrough step 2
  3. Observe terminal output

Expected Behavior

An input box should appear asking for a prompt, then run:

opencode run "user prompt"

Actual Behavior

Terminal runs a diagnostic chain:

echo "OpenCode ${version}" && opencode --version && opencode auth ls && opencode models

Impact

  • Walkthrough step 2 completion is misleading (user thinks they ran a prompt)
  • Core advertised feature is broken for installed users
  • Sidebar welcome link "Run Inline Prompt" fails user expectations

Location

extension.js lines 686–703

Environment

  • Extension: opencode-walkthrough v0.0.1
  • Found during exploratory GUI/UX testing session (21/06/2026)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions