Files
web/packages/sdk
dependabot[bot] 3dec67f623 chore(deps-dev): bump typescript from 5.9.3 to 6.0.3 (#1113)
* chore(deps-dev): bump typescript from 5.9.3 to 6.0.3

Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.9.3 to 6.0.3.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.9.3...v6.0.3)

---
updated-dependencies:
- dependency-name: typescript
  dependency-version: 6.0.3
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(tsconfig): align configs for typescript 6.0

Consolidate package tsconfigs to extend tsconfig.base.json and drop
options now redundant or invalid under TS 6 (strict, baseUrl,
allowImportingTsExtensions, strictNullChecks). Switch base module to
"preserve" and lib to ESNext. Fix apps/web typecheck script to invoke
tsc directly instead of recursive pnpm run tsc.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dan Ditomaso <dan.ditomaso@gmail.com>
2026-06-15 21:36:54 -04:00
..

@meshtastic/sdk

Domain-driven SDK for Meshtastic devices. Feature slices with signals-backed reactive state.

Replaces @meshtastic/core. During migration a shim layer re-exports the legacy MeshDevice class so existing consumers keep building — see src/shim/.

Install

pnpm add @meshtastic/sdk @meshtastic/transport-web-serial

Quickstart

import { MeshClient } from "@meshtastic/sdk";
import { TransportWebSerial } from "@meshtastic/transport-web-serial";

const transport = await TransportWebSerial.create({ baudRate: 115200 });
const client = new MeshClient({ transport });
await client.connect();

client.chat.send({ text: "hello mesh" });
console.log(client.nodes.list.value);

See the repo root README for architecture and feature slice layout.

Layout

src/
  core/            # shared kernel: client, transport, event-bus, queue, xmodem, signals, logging, packet-codec
  features/        # DDD feature slices (device, chat, nodes, channels, config, telemetry, position, traceroute, files)
  shim/            # legacy MeshDevice compatibility exports (removed in Phase C)

License

GPL-3.0-only.