Skip to content

Commit f5888cb

Browse files
committed
feat: add pr_ctx v2
1 parent bc73259 commit f5888cb

4 files changed

Lines changed: 1569 additions & 0 deletions

File tree

pages/pr_ctx/build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ if [ ! -d dist ]; then
55
mkdir dist
66
fi
77
cp index.html dist
8+
cp v2.html dist

pages/pr_ctx/index.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -973,6 +973,14 @@ <h1 className="text-lg font-bold flex items-center gap-2">
973973
<div className="text-xs text-gray-500">
974974
Select files → Generate Context → Get AI Patch → Review & Apply
975975
</div>
976+
<div className="text-xs text-gray-100">
977+
<a href="https://github.com/lenML/page-tools">
978+
<button className="btn btn-accent">github</button>
979+
</a>
980+
<a href="./v2.html">
981+
<button className="btn btn-accent">V2</button>
982+
</a>
983+
</div>
976984
</header>
977985

978986
<main className="flex-1 grid grid-cols-12 gap-3 p-3 min-h-0">

pages/pr_ctx/readme.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ desc: 用来白嫖web端ai
66
# pr context
77

88
代码 patch 工具
9+
10+
还有 v2 版本,支持 edit/move/delete

0 commit comments

Comments
 (0)