agy-git-graph 1.0.0 → 1.1.0
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/README.md +5 -2
- package/bin/cli.mjs +2 -0
- package/mcp/ext-apps-bridge.js +112 -0
- package/mcp/server.mjs +289 -0
- package/mcp_config.json +8 -0
- package/package.json +3 -1
- package/plugin.json +1 -1
- package/sidecars/git_graph/index.html +175 -34
- package/sidecars/git_graph/lib/render.mjs +41 -0
- package/sidecars/git_graph/server.mjs +2 -27
package/README.md
CHANGED
|
@@ -3,9 +3,12 @@
|
|
|
3
3
|
[](https://www.npmjs.com/package/agy-git-graph)
|
|
4
4
|
[](LICENSE)
|
|
5
5
|
|
|
6
|
-
在 **Google Antigravity 2.0**
|
|
6
|
+
在 **Google Antigravity 2.0** 中提供两种入口查看 Git 工作区更改、快捷提交、Diff 预览与多分支 SVG 可视化提交图(Commit Graph),运行时零外部 npm 依赖:
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
- **左侧主导航栏一级入口(MCP App Global View)**:一点直达全页双栏 Git Graph 视图(自适应亮/暗主题)。
|
|
9
|
+
- **右侧辅助侧边栏(Sidecar Aux Pane)**:在对话旁常驻窄屏紧凑 Git 面板。
|
|
10
|
+
|
|
11
|
+
A lightweight, zero-dependency Git plugin for **Google Antigravity 2.0** with both a **1-click left-sidebar full-page view** (via official MCP App `global` entrypoint) and a **right-hand sidecar panel**, providing working-tree changes, quick commits, colored diffs, branch filtering, and a multi-branch SVG commit graph.
|
|
9
12
|
|
|
10
13
|
---
|
|
11
14
|
|
package/bin/cli.mjs
CHANGED
|
@@ -48,9 +48,11 @@ Usage:
|
|
|
48
48
|
function copyRuntimeFiles(targetDir) {
|
|
49
49
|
const items = [
|
|
50
50
|
['plugin.json', false],
|
|
51
|
+
['mcp_config.json', false],
|
|
51
52
|
['README.md', false],
|
|
52
53
|
['LICENSE', false],
|
|
53
54
|
['assets', true],
|
|
55
|
+
['mcp', true],
|
|
54
56
|
['skills', true],
|
|
55
57
|
['sidecars/git_graph/sidecar.json', false],
|
|
56
58
|
['sidecars/git_graph/server.mjs', false],
|