Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ Contains plugin sources, installable `.piplug` packages, and the generated marke
| **pi.log-viewer** | Large log viewer with streaming pagination, live tail, search highlighting and multi-file tabs | Tioit-Wang |
| **pi.bianqian** | Markdown desktop sticky notes: multi-note, live preview, task lists, highlighter and trash | ZY |
| **io.github.muzimu217.session-import** | Universal session import + forge: bring sessions in from ZCode, WorkBuddy, Claude Code, Codex, OpenCode and Pi, then distill them into project conventions and reusable practices | muzimu217 |
| **io.github.liushunqiu.pi-idea-git** | IDEA-style Git tool window: staged/unstaged change lists, hunk-level stage & revert, commit, branch switcher, graph log and stashes | liushunqiu |

### Demos

Expand Down
1 change: 1 addition & 0 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
| **pi.log-viewer** | 大日志查看器:流式分页、实时跟随、搜索高亮、多文件页签 | Tioit-Wang |
| **pi.bianqian** | Markdown 桌面便签:多便签、实时预览、任务列表、荧光笔与回收站 | ZY |
| **io.github.muzimu217.session-import** | 一体化会话导入与熔炉:导入 ZCode、WorkBuddy、Claude Code、Codex、OpenCode、Pi 的会话,再蒸馏成项目约定与可复用做法 | muzimu217 |
| **io.github.liushunqiu.pi-idea-git** | IDEA 风格 Git 工具窗口:暂存/未暂存分组、按代码块暂存与还原、提交、分支切换、图形化日志与储藏 | liushunqiu |

### 示例插件(学习参考)

Expand Down
57 changes: 56 additions & 1 deletion catalog.json

Large diffs are not rendered by default.

Binary file not shown.
42 changes: 42 additions & 0 deletions plugins/io.github.liushunqiu.pi-idea-git/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Changelog

## 0.3.0 — 2026-09-14

- Git 操作补齐(对标 IDEA 日志/分支面板,见
`.agents/notes/implemented/feature/2026-09-14-git-operations-parity.md`):
Branches 面板加 HEAD 行、Tags/Remotes/Stashes 组与 `/` 文件夹折叠;
分支右键补合并/变基/改名/upstream/删除;提交右键补复制提交信息/与
HEAD 比较;工具栏补用户/日期/路径服务端过滤、Go to HEAD 与 Fetch+Pull
快捷按钮;提交视图分支弹层跟随。`git/log` 支持 author/since/until/
search/paths;新增 `git/tags`、`git/remotes`、`git/merge`、`git/rebase`、
`git/branch-delete`、`git/branch-rename`、`git/branch-upstream`、
`git/tag-delete`、`git/tag-push`、`git/stash-show`、`git/compare`,
`git/fetch` 支持 `prune`。harness 198 条全绿(新增 34 条行为回归)。
- 远端分支检出改为 IDEA 行为:`git/checkout` 加 `track` 意图位,建本地跟踪分支
并附着 HEAD(已存在则落到本地同名分支;裸 revision 仍 detach)。
- 生成提交信息改按已勾选/已暂存范围取 diff,多仓聚合一次描述,与实际提交一致;
日志提交者过滤支持指定人(名单按提交数排序加手输)。harness 208 条全绿。


## 0.2.0 — 2026-09-12

首个对外发布版本。发布 ID 为 `io.github.liushunqiu.pi-idea-git`
(开发期曾用 `local.pi-idea-git`;插件数据目录按 ID 隔离,
改名后提交信息历史与视图选项从空开始)。

- 提交 / Git 双工具窗口:Staged / Unstaged / Unversioned Files /
Merge Conflicts 分组目录树,hunk 级暂存、取消暂存与丢弃,
图形化 Log、分支面板、储藏与 Console。
- 多仓库聚合:子模块与嵌套仓库统一显示、逐仓提交;
Push 对话框逐仓显示去向并支持 Push All。
- 远端同步:推送被拒 / 分叉 / 冲突的分类补救说明;
force push 只允许 `--force-with-lease`。
- 宿主模型生成提交信息:语言菜单(跟随仓库历史 / 简体中文 / English),
回复落框前强制整形(空行、行宽、项目符号)。
- 在 PI-Desktop 0.14.6 上验证;`engines` 声明 `>= 0.8.0`。

First public release under `io.github.liushunqiu.pi-idea-git`
(renamed from the dev id `local.pi-idea-git`; per-plugin prefs start fresh).
Commit/Git tool windows, multi-repo aggregation, classified push/pull
remedies with lease-only force push, and host-model commit-message drafting.
Verified on PI-Desktop 0.14.6.
21 changes: 21 additions & 0 deletions plugins/io.github.liushunqiu.pi-idea-git/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2026 liushunqiu

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading