Skip to content

ACP seems to be broken #109

@marton78

Description

@marton78

Describe the bug

From the command line, Dirac works fine, but when run via ACP from within Zed, it doesn't answer.

Versions used: Zed 1.3.6 (newest), Dirac 0.3.44

To Reproduce

  1. Install and set up Dirac
  2. Ensure it works in the command line
  3. Install official ACP from the Zed registry
  4. Tell it to "say hello"

Expected behavior

Any answer

Observed behavior

  1. Waiting forever for an answer.

  2. Once archived, the thread cannot be restored from history

In the ACP logs, there is nothing interesting:

[
  {
    "_direction": "outgoing",
    "_type": "request",
    "id": "e26a0048-3b82-4d4f-950b-134f76309644",
    "method": "session/prompt",
    "params": {
      "sessionId": "415527ad-adf9-4511-acd0-9cfdd6f8207f",
      "prompt": [
        {
          "type": "text",
          "text": "say hello"
        }
      ]
    }
  },
  {
    "_direction": "outgoing",
    "_type": "notification",
    "id": null,
    "method": "session/cancel",
    "params": {
      "sessionId": "415527ad-adf9-4511-acd0-9cfdd6f8207f"
    }
  },
  {
    "_direction": "incoming",
    "_type": "response",
    "id": "e26a0048-3b82-4d4f-950b-134f76309644",
    "method": "session/prompt",
    "params": {
      "stopReason": "end_turn"
    }
  }
]

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