mirror of
https://github.com/hanzoai/helper.git
synced 2026-09-30 22:42:13 +00:00
Verified against the actual Hanzo sources (iam, ai, console2, login): - Device login (RFC 8628) against hanzo.id /oauth/device + /oauth/token, form-encoded, client_id hanzo-app, body-keyed pending/slow_down handling. - API key = the per-user IAM accessKey (hk-): read via /v1/get-account, self-minted via /v1/iam/mint-user-keys (authorized as self by the login JWT). - CodingTarget abstraction: one interface, Claude Code (settings.json env) and Codex (config.toml provider) implementations. Verified round-trip preserves all unrelated user config. - Commands: login, use/unuse, auth (status/key/rotate/revoke/logout), status, models, install (dev/mcp/extension), doctor. - Endpoints overridable for white-label (HANZO_IAM_URL/API_URL/CLIENT_ID). - TypeScript 6, tsup bundle, clean typecheck.
21 lines
476 B
JSON
21 lines
476 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2024",
|
|
"module": "ESNext",
|
|
"moduleResolution": "bundler",
|
|
"lib": ["ES2024"],
|
|
"types": ["node"],
|
|
"strict": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"resolveJsonModule": true,
|
|
"declaration": true,
|
|
"sourceMap": true,
|
|
"outDir": "./dist",
|
|
"rootDir": "./src"
|
|
},
|
|
"include": ["src/**/*.ts"],
|
|
"exclude": ["node_modules", "dist"]
|
|
}
|