@jiulimiai/plugin-scm
v0.1.0
Published
Source control UI for Molecule Next, backed by **`@jiulimiai/git`** (isomorphic-git).
Readme
@jiulimiai/plugin-scm
Source control UI for Molecule Next, backed by @jiulimiai/git (isomorphic-git).
Storage
Git objects live under .git/ in the workspace (IndexedDB-backed in Reference IDE). Legacy .molecule/git.json snapshots are migrated automatically on first init.
Behavior
- Status — isomorphic-git
statusMatrix+ editornoteChangehints - Stage / Unstage —
git add/git resetIndex - Commit — real commits with author
Molecule User <[email protected]> - Log — recent commits in sidebar
- Branch — shown in status bar (via
ScmAPI.getRepositories)
Dependencies
@jiulimiai/git— GitService@jiulimiai/plugin-runtime—createScmService(workspace)adapter toScmAPI
Limitations
- No merge/rebase UI (MVP)
- Branch checkout supported via API; UI deferred
- Browser-only; no native filesystem hooks
