Skip to content

Add browser demo, exact model APIs, and native SDKs - #11

Merged
pnegahdar merged 5 commits into
mainfrom
agent/github-pages-demo
Jul 29, 2026
Merged

Add browser demo, exact model APIs, and native SDKs#11
pnegahdar merged 5 commits into
mainfrom
agent/github-pages-demo

Conversation

@pnegahdar

@pnegahdar pnegahdar commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

What changed

  • adds the serverless microphone-first browser demo and GitHub Pages deployment at https://bearlyai.github.io/seda/
  • makes SedaBrowser.prepare({ modelId }) the primary browser readiness API while retaining create() as a deprecated alias
  • makes exact modelId + variant the primary native preparation/startup API; profiles remain optional convenience aliases
  • exposes immutable resolved model identity: ID, upstream revision, runtime-specific variant, and runtime
  • moves language selection to each transcription or live stream and reports fixed, prompted, automatic, or checkpoint language behavior honestly
  • adds typed Python, Go, and Swift protocol clients
  • adds real Rust-sidecar HTTP/WebSocket integration tests for all three SDKs
  • rewrites the root README, package READMEs, and guides around concrete microphone, CLI, Electron, browser, Python, Go, and Swift usage
  • keeps pnpm's strict seven-day dependency quarantine with no exceptions; the Python client's two dependencies are pinned to established releases

API shape

const browser = await SedaBrowser.prepare({
  modelId: "onnx-community/moonshine-tiny-ONNX",
});
const microphone = await browser.microphone({
  language: "en",
  onTranscript: ({ text }) => render(text),
});
const final = await microphone.stop();
await SedaNode.prepare({
  modelId: "nvidia/nemotron-3.5-asr-streaming-0.6b",
  variant: "q4_k",
});
const seda = await SedaNode.start({
  modelId: "nvidia/nemotron-3.5-asr-streaming-0.6b",
  variant: "q4_k",
});
const german = await seda.listen({ language: "de-DE" });
const japanese = await seda.listen({ language: "ja-JP" });

The model stays resident between those streams.

Validation

  • Rust format, Clippy with warnings denied, and all workspace tests
  • TypeScript check, JavaScript unit/integration tests, and package builds
  • GitHub Pages production bundle build under /seda/
  • Playwright: Chromium, Firefox, and WebKit browser/session/demo coverage
  • real Moonshine WASM model transcription in Chromium
  • exact pinned Parakeet download, size/SHA-256 verification, doctor identity, and real Metal streaming transcription
  • Python wheel install plus unit and live sidecar integration tests
  • Go unit and live sidecar integration tests
  • Swift package build plus unit and live sidecar integration tests
  • dependency quarantine policy check
  • git diff --check

Pages

The workflow deploys the production browser artifact after this lands on main:

https://bearlyai.github.io/seda/

@pnegahdar pnegahdar changed the title Add live browser demo Add browser demo, exact model APIs, and native SDKs Jul 29, 2026
@pnegahdar
pnegahdar marked this pull request as ready for review July 29, 2026 11:02
@pnegahdar
pnegahdar merged commit 22f2d0a into main Jul 29, 2026
17 checks passed
@pnegahdar
pnegahdar deleted the agent/github-pages-demo branch July 29, 2026 11:02
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.

1 participant