feat(ext/sw): universal commitSigned — isomorphic-git receive-pack push + SSHSIG

Add CommitFile/CommitSigner types + commitSigned to GitHost interface.
Implement git-push.ts (clone→add→commit({onSign=SSHSIG})→push over http/web)
and wire GiteaHost.commitSigned / GitHubHost.commitSigned. Tests: 7/7 incl.
golden-vector tie against the sshsig.test.ts byte-exact vector.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LKBbrAjmpVXMEK15pNi3Ha
This commit is contained in:
adlee-was-taken
2026-06-26 00:08:09 -04:00
parent 0bc1f53b48
commit 56dec78f44
7 changed files with 1064 additions and 9 deletions

View File

@@ -13,6 +13,7 @@
"test:watch": "vitest"
},
"dependencies": {
"isomorphic-git": "^1.38.5",
"jsqr": "^1.4.0"
},
"devDependencies": {