Expand description
Platform contracts (ADR-0001).
Re-exports§
pub use process::ProcessAllowlist;pub use process::ProcessOutput;pub use process::ProcessRunner;pub use shortcut::GlobalShortcutService;pub use shortcut::NoopGlobalShortcutService;pub use shortcut::Shortcut;pub use tray::NoopTrayService;pub use tray::TrayBadge;pub use tray::TrayMenuItem;pub use tray::TrayService;pub use watcher::WatchHandle;pub use watcher::WorkspaceChange;pub use watcher::WorkspaceWatcher;pub use workspace::DirEntry;pub use workspace::RelPath;pub use workspace::WorkspaceFs;pub use workspace::WorkspaceRoot;pub use memory_process::MemoryProcessRunner;pub use memory_watcher::MemoryWorkspaceWatcher;pub use memory_workspace::MemoryWorkspaceFs;
Modules§
- memory_
process - Memory double for
ProcessRunner— records calls and returns configured outputs. - memory_
watcher - Memory double for
WorkspaceWatcher— pushes synthetic changes for tests. - memory_
workspace - Memory double for
WorkspaceFs— test-only in-memory filesystem. - paths
- Where an application keeps its data.
- process
- Process execution contract (B1 of the Gitbit platform requirements).
- shortcut
- Global shortcut contract (B5).
- tray
- System-tray contract (G10).
- watcher
- Workspace watcher contract (B4 of the Gitbit platform requirements).
- workspace
- Workspace filesystem contract (B2 of the Gitbit platform requirements).
Structs§
- Confirmation
Request - What is being asked.
- Denying
Confirmation Service - Fails closed: every request is denied.
- Noop
Notification Service - Drops every notification. Used for headless runs and CLI builds.
- Notification
- Notification
Action - One action offered on a notification (B6).
Enums§
- Confirmation
Decision - What the human answered.
- Urgency
Traits§
- Confirmation
Service - Ask a human before proceeding.
- Notification
Service - Native user notifications.
- Opener
- Opens a URL in the user’s browser.