Skip to content

gl agent show <DID> fails on agents that gl agent list returns #4

Description

@matigumma

After registering an agent, gl agent list correctly enumerates the DID, but gl agent show <same-DID> fails with:

Error: agent not found, or this node does not yet support the agents API (v0.3+)
upgrade the node or check GITLAWB_NODE is pointing to the right server

The node is v0.3.8 and the same gl agent list succeeds against the same GITLAWB_NODE, so the agents API is clearly present and reachable. gl agent show appears to be hitting a different / wrong path.

Reproduce (v0.3.8)

gl identity new
gl register --node https://node.gitlawb.com --capabilities git:fetch,issue:create
MY_DID=$(gl whoami --json | jq -r .did)

gl agent list --node https://node.gitlawb.com --capability issue:create | grep "${MY_DID:0:16}"
# → DID is listed (registration confirmed)

gl agent show "$MY_DID"
# → Error: agent not found, or this node does not yet support the agents API (v0.3+)

The HTTP API also returns the DID:

curl -s "https://node.gitlawb.com/api/v1/agents?capability=issue:create" | grep "${MY_DID:0:16}"
# → present

Environment

  • gl 0.3.8
  • node.gitlawb.com v0.3.8
  • macOS 24.3.0 arm64

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