ACP: allow session/list (and other local session requests) without authentication · Issue #55 · github/copilot-language-server-release · GitHub
Skip to content

ACP: allow session/list (and other local session requests) without authentication #55

Open

Description

@nikita-ashihmin

Summary

In ACP mode (copilot-language-server --acp), session management requests fail with -32000 Authentication required when the user is not signed in. This applies even to session/list, which only reads local history. The Copilot CLI that the language server proxies to (copilot --acp) answers the same session/list without sign-in. So do the other ACP agents we tested.

Please let the session requests that read only local data work without authentication, at least session/list (and session/load / resume of an existing local session if possible). Keep authentication for requests that need the service, such as session/new and session/prompt.

Why it matters

ACP clients (IDEs) show a list of the user's previous agent sessions per project, so the user can find and reopen one. This list comes from local data. With the language server, a signed-out user sees an empty or failed list, although their sessions are on disk. Under ACP, an agent may answer any request with auth_required. Here the check sits in the proxy, not in the CLI that owns the data.

Steps to reproduce

  1. Use a clean HOME with existing Copilot CLI sessions in ~/.copilot/session-state and no GitHub sign-in.
  2. Start copilot-language-server --acp --stdio (1.552.0).
  3. Send initialize, then session/list with a cwd that has sessions.

Actual: {"code": -32000, "message": "Authentication required"}. Also, offline, initialize takes about 25 s.

Expected: the local sessions, as copilot --acp returns them.

Comparison: session/list without sign-in (Linux container, isolated HOME, synthetic history)

Agent (version) session/list without auth
@github/copilot-language-server 1.552.0 --acp -32000 Authentication required
@github/copilot CLI 1.0.95 --acp works: pages of 50 with nextCursor
@agentclientprotocol/claude-agent-acp 0.89.1 works
@agentclientprotocol/codex-acp 2.2.2 works
Junie ACP 3579.5 works
OpenCode 1.19.0 acp works
pi-acp 0.0.34 works

Environment

  • @github/copilot-language-server 1.552.0 and @github/copilot 1.0.95.
  • Node 24, Debian bookworm (Docker). The behaviour does not depend on the OS.
  • Client: an ACP client (JetBrains Air) that sends initialize and then session/list.

Activity

  1. formulahendry commented on Oct 13, 2026

    @formulahendry

    Thanks for reporting this!
    We plan to improve it in this week.

  2. formulahendry commented on Oct 19, 2026

    @formulahendry
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