feat: convert local/ cloud provider from Bash to TypeScript (#1688)

Creates cli/src/local/{main,local,agents}.ts following the Fly.io
pattern. All 6 agent .sh files replaced with thin bun shims.
Extracts shared oauth.ts and ui.ts to cli/src/shared/ for reuse
across cloud providers. Updates fly/ to re-export from shared.

Fixes #1681

Agent: code-health

Co-authored-by: B <6723574+louisgv@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
A 2026-02-22 02:49:40 -08:00 committed by GitHub
parent 24c705cd27
commit 435d9125d5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 1026 additions and 582 deletions

View file

@ -1,6 +1,6 @@
{
"name": "@openrouter/spawn",
"version": "0.5.34",
"version": "0.5.35",
"type": "module",
"bin": {
"spawn": "cli.js"