Skip to content

Claude agents view failed to launch #7

Description

@raisp

First of all, this looks great!

However I am using claude-cli's agents view for this, but it seems that asking the agents on askdiff fails to launch

claude exited with code 1: Error: Session 64de210c-06ce-43b8-a2dc-71eb89e0e5a5 is currently running as a background agent (bg).
Use `claude agents` to find and attach to it, or add --fork-session to branch off a copy.

Activity

  1. narghev commented on May 23, 2026

    @narghev
    Owner

    Hi @raisp . Thanks for checking this out. Tbh, I haven't tried that particular path yet, but I guess a solution would be to catch the errors that say the session is a bg session and invoke them with --fork-session. I'm not forking the sessions currently by design, I wanted the questions that the user asks to be added to the context of the same session, but for the bg session it would be a workaround. Since this is not in my workflow yet and I am actively working on making the skill available for opencode feel free to open a PR. Or I can get to it in 2-3 weeks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions