mirror of
https://github.com/hanzoai/app.git
synced 2026-10-31 10:03:19 +00:00
fix/setup-github-follows-link
Quick setup said "1. Connect GitHub" while Projects said "GitHub connected as @login". Setup read a `connectors` list from GET /v1/connection, which has answered `connections` since the cloud's views were folded together, so that half of its reading was dead; and it never counted the reader's own link (`github-user`), which Projects counts. `linked` reads both answers: GitHub is the org's App (GET /v1/provider) or the reader's own link. With both answered it follows them both ways, so a Disconnect on Projects reads in Setup; a half answer only ever adds it. Disconnect lets go of the reader's own link first (`leaving`), else the org's App accounts, an org admin's.
hanzoai/app
Hanzo's app SDK, one package per directory under pkg/:
pkg/app— @hanzo/app, the shell and the first-party apps every Hanzo host draws (hanzo.ai, hanzo.team, Hanzo Desktop).
pnpm install, then pnpm typecheck, pnpm lint:design, pnpm test and
pnpm build run over every package. A package ships to npm when its
package.json names a version npm does not serve (.github/workflows/publish.yml).
Languages
TypeScript
99.8%
JavaScript
0.2%