You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d4914e7
Browse filesBrowse the repository at this point in the historyBrowse files
- Attribute the plugin to Microbiosis (redmingwei account does not exist; gh api returns 404, so the old link was dead). Unified across both root indexes, plugin.json and both plugin READMEs.
- Drop the unused refs chip row: the server never sends a per-commit refs field, so refsHtml() always returned an empty string and .row-refs / .ref-chip.is-head were dead code. Branches/tags still render in the detail panels via .ref-chip.is-tag.
- Gate the whole-machine scan fallback on config.repos.length === 0 as well, so users who declared repos explicitly never trigger a drive-root scan.
- Correct docs: 200 commits is a fixed client page size, not a repos.json setting; client timeout is 35s default and 60s for graph requests; expand Data & access into read / discovery / write / network sections.
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,7 @@ The MiniMax Code Agent communicates through the host MCP client. Business reques
63
63
|[Token Usage Board](plugins/yanhy2000/mcode-usage-monitor/)| Watch local Token usage, output speed, and cache hit rate in near real time; filter by time range, model, and session |[yanhy2000](https://github.com/yanhy2000)|
64
64
|[Model Manager](plugins/ocoomber/openrouter-model-manager/)| Browse, search, and enable/disable models in your `~/.minimax/config.yaml` with instant save, bulk actions, one-click undo, and automatic backups |[ocoomber](https://github.com/ocoomber)|
65
65
|[Self-drive Route Planner](plugins/hanzijie/self-drive-route-planner/)|**Official plugin** for planning driving routes with place search, route alternatives, demo mode, and Xiaohongshu 3:4 itinerary cards |[HanZijie](https://github.com/HanZijie)|
66
-
|[Git Commit Tree](plugins/microbiosis/git-tree/)| Inspect a local Git repo's commit history with a swim-lane graph, branches/tags, commit detail, and per-file change stats; persisted filter preferences and optional auto-refresh |[redmingwei](https://github.com/redmingwei)|
66
+
|[Git Commit Tree](plugins/microbiosis/git-tree/)| Inspect a local Git repo's commit history with a swim-lane graph, branches/tags, commit detail, and per-file change stats; persisted filter preferences and optional auto-refresh |[Microbiosis](https://github.com/Microbiosis)|
Copy file name to clipboardExpand all lines: plugins/microbiosis/git-tree/README.md
+18-6Lines changed: 18 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
Inspect a local Git repository's commit history from MiniMax Code: swim-lane commit graph, branches and tags, commit detail and per-file change stats, with optional auto-refresh and persisted filter preferences.
@@ -18,7 +18,7 @@ Copy this directory into the active MiniMax Code data directory under `plugins/`
18
18
19
19
Keep the hidden `.minimax-plugin/` directory. Restart MiniMax Code with Mini App support, confirm the plugin is recognized, then open "Git 提交树" — either from the plugin list or by asking the assistant.
20
20
21
-
The page loads the first 200 commits of the active repo (configurable via `repos.json`). Use the ref dropdown to filter by branch or tag, the search box to match commit subjects, the author box to match authors, and the "Auto refresh" dropdown to keep the view in sync with new pushes.
21
+
The page loads the first 200 commits of the active repo. 200 is a fixed page size on the client, not a setting in `repos.json`; narrow the result set with the ref dropdown (branch or tag), the search box (commit subject), and the author box, or use "Auto refresh" to keep the view in sync with new pushes.
22
22
23
23
## What it shows
24
24
@@ -27,8 +27,8 @@ The page loads the first 200 commits of the active repo (configurable via `repos
| Worktree chips |`git status --porcelain`| Current branch + the first 6 changed paths |
29
29
| Commit graph |`git log --topo-order` + custom lane algorithm (ported from `zai-org/ZCode`) | Single SVG canvas: paths, dots, selection ring, hover highlight |
30
-
| Commit rows |`git log` + `git tag --contains`| 4-column grid (refs + subject / date / author / hash); refs chip with `is-head` and `is-tag` styling|
31
-
| Inline detail (toggle) | server-side `/api/commit`| Subject, refs, file changes table, body — appears below the list and can be collapsed |
30
+
| Commit rows |`git log` + `git tag --contains`| 4-column grid (subject / date / author / hash) |
31
+
| Inline detail (toggle) | server-side `/api/commit`| Subject, branches/tags chips, file changes table, body — appears below the list and can be collapsed |
32
32
| Right detail (always on) | server-side `/api/commit`| Same payload as inline; selection and inline are independent |
33
33
34
34
## Data sources & caching
@@ -39,7 +39,7 @@ The page loads the first 200 commits of the active repo (configurable via `repos
39
39
-**Commit detail**: `git show -s` + `git show --numstat` + `branch --contains` + `tag --contains`, cached **60 s** per `(repo, sha)`. The client mirrors this cache for 60 s as well, so re-clicking a row is free.
40
40
-**Tags for graph**: `git log --all --simplify-by-decoration --format=%H %D`, cached 60 s per repo.
41
41
-**Compression**: API responses ≥ 256 bytes are gzipped when the client advertises `Accept-Encoding: gzip`.
42
-
-**Timeouts**: quick reads (for-each-ref, tag --list, contains checks) 10 s; medium reads (log -n 1, status, git show) 15 s; heavy reads (log --topo-order --all, rev-list --all --count) 30 s. Client `api()` caps at 35 s with`AbortController`.
42
+
-**Timeouts**: quick reads (for-each-ref, tag --list, contains checks) 10 s; medium reads (log -n 1, status, git show) 15 s; heavy reads (log --topo-order --all, rev-list --all --count) 30 s. Client `api()` caps at 35 s by default and 60 s for graph requests, using`AbortController`.
43
43
44
44
## Preferences
45
45
@@ -68,7 +68,19 @@ No build step.
68
68
69
69
## Data & access
70
70
71
-
Every read is a local `git` invocation against a repository you declared in `repos.json` or one the scanner found on this machine. Nothing is uploaded, and the plugin makes no outbound network requests. The only write is `<dataDir>/prefs.json`, which stores just the filter and theme keys listed under Preferences.
71
+
**What the plugin reads.** Every read is a local `git` invocation against a repository you declared in `repos.json` or one the scanner found on this machine. Git reads `.git` internals and working-tree metadata (for example `git status`) inside those repositories only.
72
+
73
+
**How repositories are discovered.** Discovery enumerates *directory names* and checks each candidate for a `.git` entry; it never reads the contents of files it is not already pointed at. The scan surface is wider than `repos.json`:
74
+
75
+
- Your home development directories (`~/Code`, `~/Projects`, `~/repos`, `~/workspace`, `~/src`, `~/source`, `~/dev`, `~/work`, `~/Documents`, `~/git`), plus the plugin root and process cwd walk-up.
76
+
- On Windows, the root of every mounted drive letter (`A:\` … `Z:\`), which includes mapped network drives. System directories are filtered out.
77
+
- On macOS and Linux, the parent of your home directory (`/Users`, `/home`), which lists the *names* of other local user accounts' home directories.
78
+
79
+
This only runs when neither `repos.json` nor the walk-up produced a scan base.
80
+
81
+
**What the plugin writes.** The only write is `<dataDir>/prefs.json`, which stores just the filter and theme keys listed under Preferences.
82
+
83
+
**Network.** Nothing is uploaded, and the plugin makes no outbound network requests.
0 commit comments