victauri-core
Shared types and data structures for Victauri -- Verified Introspection & Control for Tauri Applications.
This crate has no Tauri dependency and can be used standalone for building tools that interact with Victauri's data model.
Key Types
| Type | Description |
|---|---|
EventLog |
Thread-safe append-only ring buffer for AppEvent variants (Ipc, StateChange, DomMutation, WindowEvent) |
CommandRegistry |
Thread-safe BTreeMap with substring search and natural-language-to-command resolution |
DomSnapshot / DomElement |
Accessible DOM tree with ref handles (Playwright pattern) |
WindowState |
Window position, size, visibility, focus, and URL |
EventRecorder |
Time-travel recording with named checkpoints |
VerificationResult / Divergence |
Cross-boundary state verification output |
GhostCommandReport |
Detects frontend-invoked commands missing from the registry |
IpcIntegrityReport |
IPC health metrics (pending, stale, errored calls) |
Example
use ;
// Ring buffer with capacity 1000
let log = new;
assert!;
assert_eq!;
// Command registry with search
let registry = new;
registry.register;
let results = registry.search;
assert_eq!;
Documentation
Full API docs: docs.rs/victauri-core
License
Apache-2.0 -- see LICENSE
Part of Victauri. Built by 4DA Systems.