- Download and sync Synheart SDK/runtime artifacts into your project
- Generate local mock wearable streams for app development and QA
- Run local platform endpoints for consent and ingest testing
- Receive HSI exports from Synheart Life over your local network
synheart-cli the main local-development bridge between SDK delivery and app testing.
Installation steps are maintained in the Tools section: Install Synheart CLI.
Developer Workflows
SDK Artifact Install
Authenticate, install SDK artifacts, and lock/sync exact versions across machines.
Local App Testing
Generate mock Whoop/Garmin payloads and optional HSI output over WebSocket/SSE/UDP.
Offline Platform
Run local consent+ingest endpoints and receive HSI exports from mobile apps.
Command Groups
| Group | Commands | Purpose |
|---|---|---|
| SDK management | login, logout, whoami, install, sync, env | Auth + deterministic SDK artifact installation |
| Mock simulation | mock start, mock record, mock replay, mock list-scenarios, mock describe | Local sensor stream generation and replay |
| Local services | local, receiver | Offline platform testing and mobile export intake |
| Diagnostics | doctor, version | Environment validation and runtime metadata |
SDK Artifact Workflow
Use this flow when bootstrapping or updating SDK artifacts in app repos:Install specific channels or platforms
synheart install writes a synheart.lock; synheart sync reinstalls exactly what the lockfile pins.
Local Testing Workflow
Start local streams for app/dev testing:- WebSocket:
ws://127.0.0.1:8787 - SSE:
http://127.0.0.1:8788/events - UDP:
127.0.0.1:8789
Local Platform and Receiver
Scenario Inspection
Diagnostics
Troubleshooting
Install/sync requires login
Install/sync requires login
Run
synheart login first. Artifact commands require a valid access token.Mock stream port already in use
Mock stream port already in use
Use
--port with synheart mock start or check availability with synheart doctor --port 8787.Need reproducible SDK versions in CI
Need reproducible SDK versions in CI
Commit
synheart.lock and run synheart sync in CI to install pinned artifacts.Author: Israel Goytom