Skip to content

CLI: support --json on hyperframes telemetry status #7275

Closed

Description

@jrusso1020

hyperframes telemetry status --json exits 2 with json_unsupported today. Agents and scripts that want to check telemetry state have to parse the human output.

Scope

  • Support --json on telemetry status and print { enabled, source, configPath, statePath, commandCount }.
  • Follow the existing --json pattern (for example packages/cli/src/commands/open.ts).
  • Mention it in the CLI docs.

Files: packages/cli/src/commands/telemetry.ts (around lines 77-84), telemetry.test.ts, docs/packages/cli.mdx

Done when: a unit test covers the JSON output. The agent-mode contract test (cli.agentMode.test.ts) should then treat the command as JSON-capable without further changes.

Mentor: @jrusso1020. Comment here before you start so we can avoid duplicate PRs.

Activity

  1. added
    difficulty/easyLocalized change with a known approach, limited risk, and straightforward verification.
    enhancementNew feature or request
    triage/readyAccepted scope, current evidence, acceptance criteria, and validation path are recorded.
    help wantedReady, available work with maintainer review support; any difficulty.
    good first issueEasy, available, ready work with code/test pointers and a confirmed newcomer mentor.
    on Nov 6, 2026
  2. SophiaHuangCc commented on Nov 6, 2026

    @SophiaHuangCc
    Contributor

    I’d like to take this issue for my second CS146S OSS contribution. I’ll add JSON output to hyperframes telemetry status using the existing CLI pattern, cover the five requested fields with unit tests, verify the agent-mode contract test, and update the CLI docs.

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

    difficulty/easyLocalized change with a known approach, limited risk, and straightforward verification.enhancementNew feature or requestgood first issueEasy, available, ready work with code/test pointers and a confirmed newcomer mentor.help wantedReady, available work with maintainer review support; any difficulty.triage/readyAccepted scope, current evidence, acceptance criteria, and validation path are recorded.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions