Skip to content

Tauri directory resolution for fleet

State: open/verified · Kind: adapter · Audience: system

  • Bridges a Tauri App handle into the fleet path SDK: one call resolves fleet’s vendor and suite directories plus Tauri’s per-product app_data_dir(), and runs the vendor bundle-id assertion against the app’s real identifier.
  • Deliberately thin. Single-instance, window-state, deep-link and notification helpers wait for a second real consumer.

C-0023’s fleet crate takes no Tauri dependency, so the Tauri-specific per-product directory lives here. AppDirs::resolve(app) takes a Tauri App handle, runs fleet::assert_vendor_bundle_id in debug builds against the app’s bundle identifier, and returns an AppDirs exposing vendor() and suite(key) from fleet::Fleet alongside product(), Tauri’s app_data_dir(). The debug assertion is a migration tracker, not a gate: it has no allowlist for the legacy com.sksizer.* and com.agentzoo.app prefixes, so it surfaces non-conformant apps one at a time as each adopts the SDK.

  • AppDirs::resolve(app): one-call resolution of vendor, suite and product directories.
  • vendor() and suite(key): passthrough to the fleet crate’s tiers.
  • product(): Tauri’s app_data_dir(), the tier fleet itself does not address.
  • assert_vendor(): debug-only vendor bundle-id conformance check.
  • packages/rust/fleet-tauri/src/lib.rs.
  • packages/rust/fleet-tauri/
  • packages/rust/fleet-tauri/src/lib.rs#AppDirs

← Back to Capabilities