Skip to content

v0.0.3 - Onboarding and Providers

Pre-release
Pre-release

Choose a tag to compare

@sb1733831438-maker sb1733831438-maker released this 14 Aug 06:12
· 74 commits to main since this release

v0.0.3 - Onboarding and Providers

First-run onboarding with OS-keychain secret storage, DeepSeek + generic OpenAI-compatible providers, connectivity testing, and an offline mock mode.

Included

  • First-run onboarding UI (React + Vite, Chinese): DeepSeek, OpenAI-compatible, and Mock modes.
  • Provider profiles persisted separately from secrets; API keys encrypted with Electron safeStorage (macOS Keychain / Windows DPAPI / Linux libsecret) and injected into the DSH child environment only.
  • Endpoint + model catalog written into DSH's llm-deepseek settings section; the DeepSeek adapter doubles as the generic OpenAI-compatible adapter.
  • Connectivity probe against the chat-completions endpoint with clear success/failure feedback.
  • Mock mode running the bundled @closerai/mock-provider locally.
  • Smoke test covering both the onboarding UI and the DSH UI mount.

Test evidence

  • pnpm check (Prettier + ESLint + build + tsc --noEmit + Vitest): passed.
  • Vitest: 56 tests passed (mock provider 17, supervisor 11, desktop 28).
  • Electron smoke test on Windows: onboarding UI mounted, then mock backend booted DSH and the DSH UI mounted - exit code 0.
  • GitHub Actions CI: success on Linux, macOS, and Windows.

Known limitations

  • No tray, notifications, auto-update, or diagnostics export yet (v0.0.7).
  • CSP allows 'unsafe-inline' 'unsafe-eval' for scripts because DSH's SPA requires them.
  • Provider switching and the three permission-isolated modes land in v0.0.4.
  • No installers; the app runs from source with pnpm --filter @closerai/desktop start.