Skip to content

feat(harmonyos): support account-confirmed watch provisioning - #2600

Merged
wgqqqqq merged 2 commits into
GCWing:1.0.0-explorefrom
wgqqqqq:codex/harmony-watch-account-provisioning
Aug 28, 2026
Merged

feat(harmonyos): support account-confirmed watch provisioning#2600
wgqqqqq merged 2 commits into
GCWing:1.0.0-explorefrom
wgqqqqq:codex/harmony-watch-account-provisioning

Conversation

@wgqqqqq

@wgqqqqq wgqqqqq commented Aug 28, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • fall back to the normal relay account login when the dedicated watch provisioning endpoint cannot mint a credential
  • ask for account confirmation on the HarmonyOS phone and create a separate watch device token
  • verify the returned account identity and master key before handing the credential to the watch
  • keep the password ephemeral and add focused controller/state coverage

Verification

  • pnpm run harmony:architecture
  • HarmonyOS LocalTest via Hvigor
  • signed HarmonyOS HAP build via Hvigor
  • real HarmonyOS phone/watch provisioning flow and watch-to-desktop task flow

Remote scenarios

  • Remote control: exercised with a physical HarmonyOS phone and watch connected to a BitFun desktop
  • Peer device mode: credential handoff uses the existing distributed data channel
  • Remote workspace and detached dispatch: not affected by this change

@wgqqqqq wgqqqqq changed the title feat(harmonyos): add watch account provisioning fallback feat(harmonyos): support account-confirmed watch provisioning Aug 28, 2026
@wgqqqqq
wgqqqqq merged commit e5ce2ce into GCWing:1.0.0-explore Aug 28, 2026
8 checks passed
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