Skip to content

agentctl resume returns 'Session not found' for actively-running sessions #174

Open

Description

@doink-kindo

Repro

Two opencode sessions are confirmed running via agentctl status <short-id> (both Status: running, with valid PIDs). Calling agentctl resume <short-id> "..." returns:

Session not found for resume: 3d9e8d56-5f88-4ef5-b16f-bc5e0a5d4975

This happens whether I pass the short id (3d9e8d56) or the full UUID (3d9e8d56-5f88-4ef5-b16f-bc5e0a5d4975).

Expected

resume should send a follow-up message to actively-running adapter sessions, not just stopped ones. (TOOLS.md and --help both describe resume without restricting it to stopped sessions.)

Versions

$ agentctl --version

(adapter: opencode + ohm/moonshotai/Kimi-K2.6 — though that shouldn't matter for control-plane behavior)

Workaround

None obvious. Falls back to letting the session complete and editing the PR after the fact.

Activity

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions