| feat(agreement): implement TMS agreement signing and query for DevEco onboarding
- Add AgreementService (deveco-agreement.ts) for TMS API query/sign
- Replace local-only privacy check with remote agreement verification
- Add agreement config section in deveco.json with override defaults
- Improve onboarding flow: entry -> login -> privacy -> agreement check
- Add checkbox + Space key toggle for privacy confirmation
- Handle session timeout retry and network error states
- Add requireLogin guard in TUI thread before startup
- Improve auth flow: logout clears auth.json, login failed returns to entry
Signed-off-by: liujianghang <liujianghang@huawei.com>
| 8 天前 |