mirror of
https://github.com/hanzoai/app.git
synced 2026-10-31 18:04:19 +00:00
fix/github-popup-close
Connect GitHub/Slack POSTed /v1/provider/:provider/connect with no return, so the API's callback sent the popup to console.hanzo.ai/connectors, a whole app on another origin that never closed it or told the opener. The connect now names hanzo.ai's registered return page (lib/oauth RETURN), and the opener waits for the answer by message (same origin only), BroadcastChannel or storage, reads the popup's address once it is back on this origin, closes it, and marks the step done or shows the refusal.
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%