Skip to content

Conversation

@isaiahb
Copy link
Contributor

@isaiahb isaiahb commented Jan 2, 2026

No description provided.

- README with quick context and status
- Spec covering problem, goals, constraints
- Architecture doc with current/proposed design

Key insight: Bun.serve() routes for React + fetch for Hono API
eliminates two-server architecture entirely.
BREAKING CHANGE: AppServer now extends Hono instead of wrapping Express

Core changes:
- AppServer extends Hono<{Variables: AuthVariables}>
- Routes use Hono Context API: this.get(), this.post(), c.json()
- createAuthMiddleware uses Hono middleware pattern
- Added setWebview() for Bun fullstack integration
- start() uses Bun.serve() with routes + fetch hybrid

Dependencies:
- Removed: express, cookie-parser, multer, @types/express
- Added: hono (already installed)

Migration:
- getExpressApp() deprecated, use this.get() etc. directly
- Apps can add routes with: server.get('/api/foo', (c) => c.json({...}))
- Auth accessed via: c.get('authUserId'), c.get('activeSession')
@isaiahb isaiahb self-assigned this Jan 2, 2026
@isaiahb isaiahb requested a review from a team as a code owner January 2, 2026 07:40
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 2, 2026

Deploying mentra-live-ota-site with  Cloudflare Pages  Cloudflare Pages

Latest commit: ef3c876
Status: ✅  Deploy successful!
Preview URL: https://c181810a.mentra-live-ota-site.pages.dev
Branch Preview URL: https://cloud-sdk-hono.mentra-live-ota-site.pages.dev

View logs

@cloudflare-workers-and-pages
Copy link

Deploying mentra-store-dev with  Cloudflare Pages  Cloudflare Pages

Latest commit: ef3c876
Status: ✅  Deploy successful!
Preview URL: https://231200db.augmentos-appstore-2.pages.dev
Branch Preview URL: https://cloud-sdk-hono.augmentos-appstore-2.pages.dev

View logs

@cloudflare-workers-and-pages
Copy link

Deploying dev-augmentos-console with  Cloudflare Pages  Cloudflare Pages

Latest commit: ef3c876
Status: ✅  Deploy successful!
Preview URL: https://fe2d92c5.dev-augmentos-console.pages.dev
Branch Preview URL: https://cloud-sdk-hono.dev-augmentos-console.pages.dev

View logs

@cloudflare-workers-and-pages
Copy link

Deploying prod-augmentos-account with  Cloudflare Pages  Cloudflare Pages

Latest commit: ef3c876
Status: ✅  Deploy successful!
Preview URL: https://42b774f3.augmentos-e84.pages.dev
Branch Preview URL: https://cloud-sdk-hono.augmentos-e84.pages.dev

View logs

Comment on lines 504 to +507
enable_speaker_diarization: true,
language_hints: languageHints.length > 0 ? languageHints : undefined,
// context: "Mentra, MentraOS, Mira, Hey Mira",
};
context: "Mentra MentraOS, Hey Mentra (an ai assistant)",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants