Skip to content

Align CLI with latest GraphQL availability terminology#1

Merged
jsmestad merged 2 commits into
mainfrom
availability-terminology-sync
Apr 8, 2026
Merged

Align CLI with latest GraphQL availability terminology#1
jsmestad merged 2 commits into
mainfrom
availability-terminology-sync

Conversation

@jsmestad
Copy link
Copy Markdown
Contributor

@jsmestad jsmestad commented Apr 8, 2026

Summary

  • migrate GraphQL usage from deprecated schedule to availability in status/watch/availability flows
  • rename CLI command from hd schedule to hd availability and align user-facing labels
  • add hd windows command backed by reachabilityWindows query
  • include newer verdict fields (policy, policyStatus) and remove invalid afk from createContract input
  • add a lightweight GraphQL contract test to ensure command queries reference availability

Testing

  • cargo fmt --all
  • cargo test

Notes

  • this intentionally breaks the old JSON contract (schedule key) and follows backend naming directly (availability) for pre-customer iteration.

@jsmestad jsmestad force-pushed the availability-terminology-sync branch from 7659ef2 to 9216615 Compare April 8, 2026 06:02
@jsmestad jsmestad merged commit 3466d02 into main Apr 8, 2026
2 checks passed
@jsmestad jsmestad deleted the availability-terminology-sync branch April 8, 2026 06:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant