| 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 天前 |
| feat: complete brand migration from CodeGenie to DevEco Code
Migrate all remaining CODEGENIE/codegenie references to DEVECO/deveco
across the entire codebase:
- Fix critical build define mismatch (CODEGENIE_* → DEVECO_*) that
caused version/channel to always be "local" in built artifacts
- Rename npm scope to @deveco and package name to @deveco/deveco
- Rename plugin files: codegenie.ts → deveco.ts, codegenie-models.ts →
deveco-models.ts, codegenie-onboarding.tsx → deveco-onboarding.tsx
- Update provider ID, class names, and function names
- Update all env vars, build scripts, SDK headers, and display text
- Fix electron.vite.config.ts CODEGENIE_SERVER_DIST variable reference bug
- Update binary output name from bin/codegenie to bin/deveco
Signed-off-by: zhangyuchen <zhangyuchen45@huawei.com>
| 18 天前 |
| fix: clean up 49 unused variables, catch params, and stale imports (#22695) | 1 个月前 |
| refactor: fix tool call state handling and clean up imports (#21709) | 1 个月前 |
| feat: complete brand migration from CodeGenie to DevEco Code
Migrate all remaining CODEGENIE/codegenie references to DEVECO/deveco
across the entire codebase:
- Fix critical build define mismatch (CODEGENIE_* → DEVECO_*) that
caused version/channel to always be "local" in built artifacts
- Rename npm scope to @deveco and package name to @deveco/deveco
- Rename plugin files: codegenie.ts → deveco.ts, codegenie-models.ts →
deveco-models.ts, codegenie-onboarding.tsx → deveco-onboarding.tsx
- Update provider ID, class names, and function names
- Update all env vars, build scripts, SDK headers, and display text
- Fix electron.vite.config.ts CODEGENIE_SERVER_DIST variable reference bug
- Update binary output name from bin/codegenie to bin/deveco
Signed-off-by: zhangyuchen <zhangyuchen45@huawei.com>
| 18 天前 |