Skip to content

cloud session --json emits nothing when stdout is not a TTY #1371

Description

@willwashburn

agent-relay cloud session --json produces no output at all (empty stdout and stderr) when run non-interactively — observed piping into a parser and via subshell capture (agent-relay 11.2.0, macOS, valid stored login; interactive cloud session works).

This breaks headless/scripted session inspection entirely — an agent or CI job cannot resolve the current cloud session or workspace programmatically.

Expected: --json writes the session JSON to stdout regardless of TTY.

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    factory-readyApproved for the Factory to pick up and implement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions