mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-09 08:04:45 +00:00
Relocates the two app-agnostic pieces of the NIP-34 code browser into commons so the desktop front end can reuse them verbatim: - GitRepositoryBrowserViewModel (+ GitBrowseState) → commons jvmAndroid nip34Git package. Pure StateFlow ViewModel over quartz's GitHttpClient; no Android/AccountViewModel/INav dependency. - CodeHighlighter → commons commonMain nip34Git/ui. Pulls the Apache-2.0 dev.snipme:highlights dependency into commons commonMain. Amethyst composables now import both from commons. The screen-level composables stay app-side, matching the commons convention that shared UI never takes AccountViewModel/INav. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DpNmN8CvP6HnEsdTGAjVUr