Files
Chris Tate 283ab804c0 Add cross-platform audio capture and voice memo example (#303)
* Add cross-platform audio capture and voice memo example

- Add microphone and system-audio capture effects for macOS, Windows, and TypeScript core.
- Add a polished voice memo example with private app-data WAV saving and playback.
- Document platform support and packaging requirements with runtime and conformance coverage.

Co-authored-by: Marcus Schiesser <17126+marcusschiesser@users.noreply.github.com>

* Fix audio capture teardown and permissions

Co-authored-by: Marcus Schiesser <17126+marcusschiesser@users.noreply.github.com>

* Fix audio capture lifecycle and metadata

Co-authored-by: Marcus Schiesser <17126+marcusschiesser@users.noreply.github.com>

* Fix audio capture lifecycle edge cases

Co-authored-by: Marcus Schiesser <17126+marcusschiesser@users.noreply.github.com>

* fix: harden audio capture lifecycle

Co-authored-by: Marcus Schiesser <17126+marcusschiesser@users.noreply.github.com>

---------

Co-authored-by: Marcus Schiesser <17126+marcusschiesser@users.noreply.github.com>
2026-08-09 17:09:23 -05:00
..
2026-06-24 21:06:24 -05:00

Native SDK native-shell example

This example shows the native-first app shape:

  • Native toolbar, sidebar, title accessory, and statusbar views.
  • Main WebView used as the content workspace.
  • One app.refresh command handled from the native menu, native button, command bridge, and app shortcut.
  • Preview commands that create and close a child WebView from Zig.
  • Manifest command catalog listing from the WebView.
  • App.scene_fn returning the native shell scene at startup.
  • .shell metadata in app.zon that mirrors the runtime view structure.

Run with the system backend:

zig build run -Dplatform=macos -Dweb-engine=system

Run the headless test path:

zig build test -Dplatform=null

Run the macOS automation smoke path from the repository root:

zig build test-native-shell-smoke -Dplatform=macos