git-history-ui 3.2.0 → 3.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/README.md +151 -127
- package/dist/cli.js +11 -7
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,20 @@ All notable changes to this project are documented in this file.
|
|
|
4
4
|
The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and
|
|
5
5
|
this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## [3.2.1] - 2026-05-02
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- **`npx git-history-ui` no longer prints help and exits.** When the
|
|
12
|
+
`presets` subcommand was added in v3.2.0, the root commander program
|
|
13
|
+
was left without a default `.action()`. Commander v12 reacts to that
|
|
14
|
+
by printing help and exiting whenever the user invokes the binary
|
|
15
|
+
without a subcommand. A no-args invocation now correctly starts the
|
|
16
|
+
server, matching pre-v3.2.0 behavior.
|
|
17
|
+
- Added a CLI smoke test (`src/__tests__/cli.test.ts`) that runs the
|
|
18
|
+
built binary with `--help`, `--version`, and no args so this kind of
|
|
19
|
+
regression can't ship silently again.
|
|
20
|
+
|
|
7
21
|
## [3.2.0] - 2026-05-02
|
|
8
22
|
|
|
9
23
|
The "Distribution & scale" release. This phase makes the tool faster on big
|
package/README.md
CHANGED
|
@@ -5,136 +5,175 @@
|
|
|
5
5
|
[](https://www.npmjs.com/package/git-history-ui)
|
|
6
6
|
[](https://bundlephobia.com/result?p=git-history-ui)
|
|
7
7
|
[](https://github.com/beingmartinbmc/git-history-ui)
|
|
8
|
-
[](https://github.com/beingmartinbmc/git-history-ui/issues)
|
|
9
8
|
|
|
10
|
-
**Git Intelligence in your browser.**
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
**Git Intelligence in your browser.**
|
|
10
|
+
|
|
11
|
+
Turn your git history into something you can actually understand:
|
|
12
|
+
|
|
13
|
+
- 🔎 Ask questions in plain English
|
|
14
|
+
- 📦 See commits grouped by feature or PR
|
|
15
|
+
- 🕰️ Travel through time and diff any state
|
|
16
|
+
- 🎯 Understand impact, not just changes
|
|
17
|
+
|
|
18
|
+
Zero setup. Runs locally. Your code never leaves your machine unless you opt in.
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
npx git-history-ui@latest
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## ⚡ 10-second workflow
|
|
25
|
+
|
|
26
|
+
1. Run `npx git-history-ui` inside any git repo
|
|
27
|
+
2. Search: *"login bug last month"*
|
|
28
|
+
3. Jump to the commit
|
|
29
|
+
4. Inspect the diff and what it impacted
|
|
30
|
+
|
|
31
|
+
Done.
|
|
15
32
|
|
|
16
33
|
## 👀 Preview
|
|
17
34
|
|
|
18
35
|

|
|
19
36
|
|
|
37
|
+
> A demo GIF showing NL search, the timeline slider, and grouped view is on
|
|
38
|
+
> the way. In the meantime, `npx git-history-ui@latest` is the fastest way
|
|
39
|
+
> to see it for yourself — it opens in your browser in under a second.
|
|
40
|
+
|
|
41
|
+
## 🤔 Why this exists
|
|
42
|
+
|
|
43
|
+
Git history is hard to understand:
|
|
44
|
+
|
|
45
|
+
- commits are flat
|
|
46
|
+
- context is missing
|
|
47
|
+
- debugging across branches is painful
|
|
48
|
+
- GitHub's UI hides your local and unpushed work
|
|
49
|
+
|
|
50
|
+
`git-history-ui` turns that history into something **searchable, grouped,
|
|
51
|
+
explorable, and explainable** — without a desktop install or a cloud
|
|
52
|
+
account.
|
|
53
|
+
|
|
54
|
+
## ✨ What makes it different
|
|
55
|
+
|
|
56
|
+
Four things you don't get from `git log`, GitHub, or most desktop clients:
|
|
57
|
+
|
|
58
|
+
- **Natural-language search.** "login bug last month", "payments by alice".
|
|
59
|
+
A heuristic intent parser handles dates, authors, and keyword synonyms;
|
|
60
|
+
optional Anthropic / OpenAI key adds semantic re-ranking on top.
|
|
61
|
+
- **PR & feature grouping.** Switch the commit list to *Grouped* mode to
|
|
62
|
+
see commits clustered by pull request or Conventional Commits scope.
|
|
63
|
+
- **Time-travel timeline.** A horizontal slider that scrubs the repo state
|
|
64
|
+
at any point in time and live-diffs it against HEAD.
|
|
65
|
+
- **Commit impact analysis.** One click reveals which files, modules, and
|
|
66
|
+
related commits a change actually touches — not just the diff.
|
|
67
|
+
|
|
68
|
+
## 🤝 AI is optional, opt-in, and on your key
|
|
69
|
+
|
|
70
|
+
- Heuristic mode works out of the box, no key required.
|
|
71
|
+
- Set `ANTHROPIC_API_KEY` or `OPENAI_API_KEY` to upgrade NL search ranking
|
|
72
|
+
and unlock "Explain change" / "Summarize diff" actions.
|
|
73
|
+
- Prompts run from your machine to your provider. Your repo, your key,
|
|
74
|
+
your call.
|
|
75
|
+
|
|
20
76
|
## 🚀 Quick Start
|
|
21
77
|
|
|
22
78
|
```bash
|
|
23
|
-
# Go to the git repository you want to inspect
|
|
24
79
|
cd /path/to/your/project
|
|
25
|
-
|
|
26
|
-
# Run directly with npx (no installation needed)
|
|
27
80
|
npx git-history-ui@latest
|
|
28
81
|
```
|
|
29
82
|
|
|
30
|
-
That's it
|
|
31
|
-
It reads history from the current working
|
|
83
|
+
That's it. The app starts on `http://localhost:3000` and opens your
|
|
84
|
+
browser automatically. It reads history from the current working
|
|
85
|
+
directory — no installs, no config, no account.
|
|
32
86
|
|
|
33
|
-
|
|
87
|
+
## ⚖️ How it compares
|
|
34
88
|
|
|
35
|
-
|
|
89
|
+
- **vs GitHub UI:** NL search and PR grouping work *with* your unpushed
|
|
90
|
+
commits. Time travel and impact analysis aren't on GitHub at all.
|
|
91
|
+
- **vs `tig` / `git log`:** visual lanes, browser diffs, optional AI
|
|
92
|
+
explanations, insights dashboard.
|
|
93
|
+
- **vs desktop clients (GitKraken, SourceTree, Fork):** starts on demand,
|
|
94
|
+
no project import, no account, no native install. AI features are
|
|
95
|
+
pay-as-you-go on *your* key — nothing about your code leaves your
|
|
96
|
+
machine unless you opt in.
|
|
36
97
|
|
|
37
|
-
|
|
38
|
-
- GitHub's commit UI does not show your local or unpushed commits.
|
|
39
|
-
- Desktop clients can be heavy when you just want a quick read on one repo.
|
|
40
|
-
- `git-history-ui` gives you a fast, local, visual way to explore history from any git repository.
|
|
98
|
+
## 📦 All features
|
|
41
99
|
|
|
42
|
-
|
|
100
|
+
<details>
|
|
101
|
+
<summary><strong>Click to expand the full feature list</strong></summary>
|
|
43
102
|
|
|
44
|
-
|
|
45
|
-
repos get an FTS5-backed index in `~/.git-history-ui/`. Falls back to
|
|
46
|
-
git-shelling silently if the native module isn't available.
|
|
47
|
-
Endpoints: `GET /api/index/stats`, `POST /api/index/build`.
|
|
48
|
-
- **Streaming commits** — `GET /api/commits/stream` (SSE) progressively
|
|
49
|
-
pushes commits as `git log` produces them.
|
|
50
|
-
- **Virtualized commit graph** — The canvas only paints rows currently on
|
|
51
|
-
screen, so 50k-commit histories scroll without dropping frames.
|
|
52
|
-
- **Shareable URLs** — `POST /api/share` returns a deep link with view-state
|
|
53
|
-
encoded in the query string (no relay server needed for the common case).
|
|
54
|
-
- **CLI presets** — `--preset <name>` / `--save-preset <name>` and
|
|
55
|
-
`git-history-ui presets list|delete`, stored in
|
|
56
|
-
`~/.git-history-ui/presets.json`.
|
|
57
|
-
- **Embeds** — Chrome extension scaffold (`apps/chrome-extension/`) and
|
|
58
|
-
GitHub App scaffold (`apps/github-app/`) that add a "View in
|
|
59
|
-
git-history-ui" button to GitHub PR / commit pages.
|
|
60
|
-
|
|
61
|
-
## ✨ What's new in v3 — "Git Intelligence"
|
|
62
|
-
|
|
63
|
-
- **Natural-language search** — Ask "login bug last month" or "payments by alice".
|
|
64
|
-
A built-in heuristic intent parser extracts dates, authors, and keyword
|
|
65
|
-
synonyms; if you set `ANTHROPIC_API_KEY` or `OPENAI_API_KEY`, it adds
|
|
66
|
-
semantic re-ranking on top.
|
|
67
|
-
- **PR & feature grouping** — Switch the commit list to "Grouped" mode to see
|
|
68
|
-
commits clustered by pull request (GitHub merge & squash patterns) or
|
|
69
|
-
Conventional Commits scope (`feat(auth):`, `fix(payments):`). Optional
|
|
70
|
-
GitHub PR enrichment when `GITHUB_TOKEN` is set.
|
|
71
|
-
- **Time travel** — A horizontal timeline slider that shows the repo state
|
|
72
|
-
(HEAD, branches, tags) at any point and computes a live diff vs HEAD.
|
|
73
|
-
- **File history & blame** — Click any file in a commit's Files panel to see
|
|
74
|
-
every commit that touched it, with a tabbed blame view powered by
|
|
75
|
-
`highlight.js`.
|
|
76
|
-
- **Commit impact analysis** — One click reveals files touched, modules
|
|
77
|
-
affected, dependency ripple (parsed from JS/TS imports), and other commits
|
|
78
|
-
that touched the same files.
|
|
79
|
-
- **Insights dashboard** — Top contributors, hotspots, churn over time, and
|
|
80
|
-
a heuristic risky-files score for code reviewers and tech leads.
|
|
81
|
-
- **AI extras (optional)** — "Explain this change" on commits and "Summarize"
|
|
82
|
-
on diffs, both gated on a configured API key.
|
|
83
|
-
- **Local-first annotations** — Add notes to commits stored at
|
|
84
|
-
`~/.git-history-ui/<repo>/annotations.json`.
|
|
103
|
+
### Exploration
|
|
85
104
|
|
|
86
|
-
|
|
105
|
+
- **Canvas commit graph** with branch lanes, ref pills, hover/selected
|
|
106
|
+
states; viewport-virtualized so 50k-commit histories stay smooth.
|
|
107
|
+
- **Real-time filtering** by author, date, text, file path.
|
|
108
|
+
- **Unified & split diffs** with `highlight.js`, collapse-unchanged
|
|
109
|
+
blocks, side-by-side scroll-sync, and intra-line word highlighting.
|
|
110
|
+
- **Dark / light / system theme** with single-click toggle.
|
|
87
111
|
|
|
88
|
-
|
|
89
|
-
- **Real-time filtering** by author, date, text, file path
|
|
90
|
-
- **Unified & split diffs** with `highlight.js`, plus collapse-unchanged blocks
|
|
91
|
-
- **Dark / light / system theme** with single-click toggle
|
|
92
|
-
- **Zero setup** — `npx git-history-ui@latest`, that's it
|
|
112
|
+
### Code understanding
|
|
93
113
|
|
|
94
|
-
|
|
114
|
+
- **File-level history.** Click any file in a commit to see every commit
|
|
115
|
+
that touched it.
|
|
116
|
+
- **Blame view** powered by `highlight.js`, tabbed inside file history.
|
|
117
|
+
- **Insights dashboard.** Top contributors, hotspots (treemap), churn
|
|
118
|
+
over time (d3 area chart), heuristic risky-files score.
|
|
119
|
+
- **Commit impact card.** Files touched, modules affected, dependency
|
|
120
|
+
ripple parsed from JS/TS imports, related commits — including a d3
|
|
121
|
+
force-directed graph view.
|
|
95
122
|
|
|
96
|
-
|
|
97
|
-
commits, and time travel + impact analysis aren't on GitHub at all.
|
|
98
|
-
- **vs `tig` or `git log`**: visual lanes, browser diffs, AI explanations,
|
|
99
|
-
insights dashboard.
|
|
100
|
-
- **vs desktop clients (GitKraken, SourceTree, Fork)**: starts on demand with
|
|
101
|
-
no project import, no account, no native install. AI features are
|
|
102
|
-
pay-as-you-go on *your* key — nothing about your code leaves your machine
|
|
103
|
-
unless you opt in.
|
|
123
|
+
### Collaboration
|
|
104
124
|
|
|
105
|
-
|
|
125
|
+
- **Local-first annotations.** Per-commit comment threads stored in
|
|
126
|
+
`~/.git-history-ui/<repo>/annotations.json`.
|
|
127
|
+
- **Shareable URLs.** `POST /api/share` returns a deep link with the
|
|
128
|
+
current view-state encoded in the query string — no relay server
|
|
129
|
+
required for the common case.
|
|
130
|
+
- **"Explain this change"** AI card on the commit detail panel (opt-in).
|
|
106
131
|
|
|
107
|
-
###
|
|
132
|
+
### Performance & scale
|
|
108
133
|
|
|
109
|
-
|
|
134
|
+
- **SQLite indexer (optional).** Install `better-sqlite3` and large
|
|
135
|
+
repos get an FTS5-backed index in `~/.git-history-ui/`. Silent
|
|
136
|
+
fallback to git-shelling when the native module isn't available.
|
|
137
|
+
Endpoints: `GET /api/index/stats`, `POST /api/index/build`.
|
|
138
|
+
- **Streaming commits.** `GET /api/commits/stream` (SSE) pushes commits
|
|
139
|
+
as `git log` produces them.
|
|
140
|
+
- **Virtualized commit graph.** Only the visible viewport is painted;
|
|
141
|
+
scrolling is `requestAnimationFrame`-throttled.
|
|
110
142
|
|
|
111
|
-
|
|
112
|
-
# Custom port
|
|
113
|
-
npx git-history-ui@latest --port 8080
|
|
143
|
+
### CLI
|
|
114
144
|
|
|
115
|
-
|
|
116
|
-
|
|
145
|
+
- **Presets.** `--preset <name>` / `--save-preset <name>` and a
|
|
146
|
+
`git-history-ui presets list|delete` subcommand, stored in
|
|
147
|
+
`~/.git-history-ui/presets.json`.
|
|
148
|
+
- **Standard filters.** `--file`, `--author`, `--since`, `--port`,
|
|
149
|
+
`--no-open`, `--cwd`, `--llm <provider>`.
|
|
117
150
|
|
|
118
|
-
|
|
119
|
-
npx git-history-ui@latest --author "your-name"
|
|
151
|
+
### Embeds (experimental scaffolds)
|
|
120
152
|
|
|
121
|
-
|
|
122
|
-
|
|
153
|
+
- **Chrome extension** (`apps/chrome-extension/`) injects a "View in
|
|
154
|
+
git-history-ui" button on github.com PR / commit pages.
|
|
155
|
+
- **GitHub App** (`apps/github-app/`) scaffold for the same deep-link
|
|
156
|
+
strategy at the org level.
|
|
123
157
|
|
|
124
|
-
|
|
125
|
-
npx git-history-ui@latest --no-open
|
|
158
|
+
See [`CHANGELOG.md`](./CHANGELOG.md) for per-version detail.
|
|
126
159
|
|
|
127
|
-
|
|
128
|
-
|
|
160
|
+
</details>
|
|
161
|
+
|
|
162
|
+
## 📖 Usage
|
|
163
|
+
|
|
164
|
+
Run from inside the git repository you want to inspect.
|
|
165
|
+
|
|
166
|
+
```bash
|
|
167
|
+
npx git-history-ui@latest --port 8080 # custom port
|
|
168
|
+
npx git-history-ui@latest --file src/app.js # filter by file
|
|
169
|
+
npx git-history-ui@latest --author "alice" # filter by author
|
|
170
|
+
npx git-history-ui@latest --since 2024-01-01 # filter by date
|
|
171
|
+
npx git-history-ui@latest --no-open # don't open the browser
|
|
172
|
+
npx git-history-ui@latest --help # full flag list
|
|
129
173
|
```
|
|
130
174
|
|
|
131
175
|
### Optional: bring your own AI key
|
|
132
176
|
|
|
133
|
-
Natural-language search and "Explain change" / "Summarize diff" actions all
|
|
134
|
-
work without an API key (heuristic mode). Set one of these to upgrade them
|
|
135
|
-
with a real model — your code never leaves the host running git-history-ui
|
|
136
|
-
except for the prompt you explicitly trigger:
|
|
137
|
-
|
|
138
177
|
```bash
|
|
139
178
|
# Anthropic (recommended; uses claude-3-5-haiku by default)
|
|
140
179
|
export ANTHROPIC_API_KEY=sk-ant-...
|
|
@@ -143,65 +182,46 @@ export ANTHROPIC_API_KEY=sk-ant-...
|
|
|
143
182
|
export OPENAI_API_KEY=sk-...
|
|
144
183
|
|
|
145
184
|
# Force a specific provider when both are set
|
|
146
|
-
export GHUI_LLM_PROVIDER=anthropic #
|
|
147
|
-
|
|
148
|
-
npx git-history-ui@latest
|
|
185
|
+
export GHUI_LLM_PROVIDER=anthropic # anthropic | openai | heuristic
|
|
149
186
|
```
|
|
150
187
|
|
|
151
188
|
### Optional: GitHub PR enrichment
|
|
152
189
|
|
|
153
|
-
Set `GITHUB_TOKEN` (a fine-grained PAT with read access to your repo) to
|
|
154
|
-
hydrate the grouped view with PR titles, authors, and labels:
|
|
155
|
-
|
|
156
190
|
```bash
|
|
157
|
-
export GITHUB_TOKEN=ghp_...
|
|
158
|
-
npx git-history-ui@latest
|
|
191
|
+
export GITHUB_TOKEN=ghp_... # fine-grained PAT, read-only on the repo
|
|
159
192
|
```
|
|
160
193
|
|
|
194
|
+
This hydrates the *Grouped* view with PR titles, authors, and labels.
|
|
195
|
+
|
|
161
196
|
## 🏭 Production
|
|
162
197
|
|
|
163
|
-
### Build for Production
|
|
164
198
|
```bash
|
|
165
|
-
#
|
|
166
|
-
npm run
|
|
167
|
-
|
|
168
|
-
# Start production server
|
|
169
|
-
npm run start:production
|
|
199
|
+
npm run build:production # build backend + frontend
|
|
200
|
+
npm run start:production # start the production server
|
|
170
201
|
```
|
|
171
202
|
|
|
172
203
|
### Docker
|
|
204
|
+
|
|
173
205
|
```bash
|
|
174
|
-
# Build and run with Docker
|
|
175
206
|
docker build -t git-history-ui .
|
|
176
207
|
docker run -p 3000:3000 git-history-ui
|
|
177
208
|
```
|
|
178
209
|
|
|
179
210
|
## 🛠️ Development
|
|
180
211
|
|
|
181
|
-
### Setup
|
|
182
212
|
```bash
|
|
183
|
-
# Clone and install
|
|
184
213
|
git clone https://github.com/beingmartinbmc/git-history-ui.git
|
|
185
214
|
cd git-history-ui
|
|
186
215
|
npm install
|
|
187
|
-
|
|
188
|
-
#
|
|
189
|
-
npm run dev
|
|
190
|
-
```
|
|
191
|
-
|
|
192
|
-
### Testing
|
|
193
|
-
```bash
|
|
194
|
-
# Run backend tests
|
|
195
|
-
npm test
|
|
196
|
-
|
|
197
|
-
# Run frontend tests
|
|
216
|
+
npm run dev # runs backend + frontend with hot reload
|
|
217
|
+
npm test # backend tests
|
|
198
218
|
cd frontend && npm test
|
|
199
219
|
```
|
|
200
220
|
|
|
201
221
|
## 📋 Requirements
|
|
202
222
|
|
|
203
|
-
- **Node.js**: 20.19.0 or
|
|
204
|
-
- **Git**:
|
|
223
|
+
- **Node.js**: 20.19.0+ or 22.12.0+
|
|
224
|
+
- **Git**: any version (must be in a git repository)
|
|
205
225
|
|
|
206
226
|
## 🤝 Contributing
|
|
207
227
|
|
|
@@ -213,8 +233,12 @@ cd frontend && npm test
|
|
|
213
233
|
|
|
214
234
|
## 📄 License
|
|
215
235
|
|
|
216
|
-
MIT
|
|
236
|
+
MIT — see [LICENSE](LICENSE).
|
|
217
237
|
|
|
218
238
|
---
|
|
219
239
|
|
|
220
|
-
|
|
240
|
+
## ⭐ If this saved you time
|
|
241
|
+
|
|
242
|
+
[Star the repo](https://github.com/beingmartinbmc/git-history-ui) — it
|
|
243
|
+
helps more developers discover it, and it tells me which features to
|
|
244
|
+
double down on.
|
package/dist/cli.js
CHANGED
|
@@ -26,7 +26,13 @@ program
|
|
|
26
26
|
.option('--cwd <path>', 'path to the git repository (defaults to cwd)')
|
|
27
27
|
.option('--llm <provider>', 'LLM provider: heuristic, anthropic, openai (default: auto)')
|
|
28
28
|
.option('--preset <name>', 'load filters from a saved preset')
|
|
29
|
-
.option('--save-preset <name>', 'save the current flags as a preset for next time')
|
|
29
|
+
.option('--save-preset <name>', 'save the current flags as a preset for next time')
|
|
30
|
+
// Default action: when the user runs `git-history-ui` with no subcommand,
|
|
31
|
+
// start the server. Without this, commander v12 prints help and exits as
|
|
32
|
+
// soon as any subcommand (e.g. `presets`) is registered.
|
|
33
|
+
.action(() => {
|
|
34
|
+
void main();
|
|
35
|
+
});
|
|
30
36
|
program
|
|
31
37
|
.command('presets')
|
|
32
38
|
.description('manage saved CLI presets')
|
|
@@ -67,12 +73,10 @@ program
|
|
|
67
73
|
console.error(chalk_1.default.red(`Unknown presets action: ${action}. Use list or delete.`));
|
|
68
74
|
process.exit(1);
|
|
69
75
|
});
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
void main();
|
|
75
|
-
});
|
|
76
|
+
// `main()` runs from the root `.action()` when no subcommand is given,
|
|
77
|
+
// or the `presets` handler runs for that subcommand. Either way, parseAsync
|
|
78
|
+
// drives the right path.
|
|
79
|
+
void program.parseAsync();
|
|
76
80
|
async function main() {
|
|
77
81
|
const options = program.opts();
|
|
78
82
|
const presetsStore = new presets_1.PresetsStore();
|
package/dist/cli.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";;;;;;AAEA,yCAAoC;AACpC,kDAA0B;AAC1B,gDAAwB;AACxB,2BAAkC;AAClC,+BAA4B;AAC5B,6CAA+C;AAC/C,+CAAqE;AAErE,MAAM,GAAG,GAAG,IAAI,CAAC,KAAK,CACpB,IAAA,iBAAY,EAAC,IAAA,WAAI,EAAC,SAAS,EAAE,IAAI,EAAE,cAAc,CAAC,EAAE,MAAM,CAAC,CACrC,CAAC;AAEzB,MAAM,OAAO,GAAG,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CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;QAC9F,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;IAED,MAAM,QAAQ,GAAG,CAAC,MAAc,EAAE,EAAE;QAClC,OAAO,CAAC,GAAG,CAAC,eAAK,CAAC,IAAI,CAAC,KAAK,MAAM,6BAA6B,CAAC,CAAC,CAAC;QAClE,KAAK,EAAE,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;QACvC,UAAU,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,KAAK,EAAE,CAAC;IACpD,CAAC,CAAC;IACF,OAAO,CAAC,EAAE,CAAC,QAAQ,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC/C,OAAO,CAAC,EAAE,CAAC,SAAS,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,CAAC;AACnD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "git-history-ui",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.1",
|
|
4
4
|
"description": "Git Intelligence in your browser — natural-language search, PR/feature grouping, time-travel snapshots, file history, blame, commit impact, and an insights dashboard. Optional AI integration (Anthropic / OpenAI).",
|
|
5
5
|
"main": "dist/cli.js",
|
|
6
6
|
"bin": {
|