[do not merge] cloud/sdk-hono @mentra/sdk@3.0.0-hono.0#1803
Open
[do not merge] cloud/sdk-hono @mentra/sdk@3.0.0-hono.0#1803
Conversation
- 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')
… pakage.json for publishing
Deploying mentra-live-ota-site with
|
| 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 |
Deploying mentra-store-dev with
|
| 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 |
Deploying dev-augmentos-console with
|
| 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 |
Deploying prod-augmentos-account with
|
| 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 |
isaiahb
commented
Jan 13, 2026
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)", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.