Files

800 B

CUTOS 4.0 Core API Demo

The basic CUTOS 4.0 LWA demo. It depends only on @cutos/core and does not require an additional Capability SDK or Provider.

The demo covers the same foundation as the CUTOS 3.x demo-core-api, updated for the Promise-first 4.0 API:

  • Runtime version and connection state
  • Platform, runtime config, box, and device information
  • Network notifications
  • Logger levels
  • Volume read/write
  • Automatic HTTP proxy configuration and a ping request for verifying cross-origin access

Install

npm install

Development

npm run dev

Development uses CUTOS Mock by default. To connect to a CUTOS Node, set VITE_CUTOS_BROKER_URL to its host.

Build And Package

npm run build

The packaged .lwa file is generated in release/.