Skip to content

Commit b3755f2

Browse files
committed
feat: add Git sync feature with IPC handlers and types for connection management, push, and pull operations
1 parent 4977d3e commit b3755f2

12 files changed

Lines changed: 1741 additions & 6 deletions

File tree

.env.example

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# GitHub OAuth App credentials for the "Connect with GitHub" quick setup flow.
2+
# Register an OAuth App at https://github.com/settings/developers and fill in
3+
# the values below. The callback URL should be http://localhost (any port).
4+
# Never commit the actual .env file — only this .env.example.
5+
VITE_GITHUB_CLIENT_ID=
6+
VITE_GITHUB_CLIENT_SECRET=

TASK.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ affected unit tests pass, and both `pnpm build` and `pnpm lint` succeed.
5959

6060
## Phase 5 — Cloud + Registry
6161

62-
- [ ] 39. Git sync: GitHub OAuth quick setup flow
63-
- [ ] 40. Git sync: Advanced manual setup (any Git provider)
64-
- [ ] 41. Push/pull with conflict detection and merge
62+
- [x] 39. Git sync: GitHub OAuth quick setup flow
63+
- [x] 40. Git sync: Advanced manual setup (any Git provider)
64+
- [x] 41. Push/pull with conflict detection and merge
6565
- [ ] 42. Smithery registry API client
6666
- [ ] 43. Registry browser page
6767
- [ ] 44. One-click install from registry (Pro feature)

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
"electron-log": "^5.2.4",
4444
"electron-updater": "^6.3.9",
4545
"i18next": "^25.8.14",
46+
"isomorphic-git": "^1.37.2",
4647
"keytar": "^7.9.0",
4748
"lucide-react": "^0.577.0",
4849
"react-hook-form": "^7.71.2",

pnpm-lock.yaml

Lines changed: 122 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)