Files
frames/packages/aws-lambda/package-subpaths.json
T
zooqueen 375d1e2816 packages: publish as @hanzo/frame and talk to api.hanzo.ai
The npm scope becomes @hanzo: the CLI is @hanzo/frame, every library is
@hanzo/frame-<name>. Versions go to 0.7.82.

Credentials come from Hanzo IAM. `hanzo login` runs the IAM device flow and
writes ~/.hanzo/credentials.json; unattended runs read HANZO_API_KEY delivered
from Hanzo KMS. src/api.ts is the one place that knows the base URL and the
credential, replacing the OAuth client, PKCE flow, loopback server, token
store, and ~/.heygen credential file. `frames auth` keeps only `status`, since
this CLI no longer issues credentials.

Publish and feedback post to api.hanzo.ai/v1 without the HeyGen routing header.
The HeyGen-hosted `frames cloud` render target is gone; local, AWS Lambda, and
Google Cloud Run remain. Voice resolves to Hanzo speech (POST /v1/audio/speech)
before local Kokoro; music resolves to local MusicGen.

No analytics project is configured, so the CLI and studio send no events —
they previously reported to HeyGen's. Drops the HeyGen wordmark from the studio
header and the HeyGen promo render fixture with its brand assets and fonts.
2026-08-13 17:21:08 -07:00

30 lines
757 B
JSON

{
"package": "@hanzo/frame-aws-lambda",
"subpaths": {
".": {
"source": "./src/index.ts",
"runtime": "./dist/index.js",
"types": "./dist/index.d.ts",
"environments": ["bun", "node"]
},
"./handler": {
"source": "./src/handler.ts",
"runtime": "./dist/handler.js",
"types": "./dist/handler.d.ts",
"environments": ["bun", "node"]
},
"./sdk": {
"source": "./src/sdk/index.ts",
"runtime": "./dist/sdk/index.js",
"types": "./dist/sdk/index.d.ts",
"environments": ["bun", "node"]
},
"./cdk": {
"source": "./src/cdk/index.ts",
"runtime": "./dist/cdk/index.js",
"types": "./dist/cdk/index.d.ts",
"environments": ["bun", "node"]
}
}
}