Skip to content

Core Libraries

The core libraries under SmrtApps/src provide the shared infrastructure that every runtime component depends on. These links route to the authoritative READMEs so you can dive into APIs, configuration expectations, and design decisions straight from source.

Smrt.Assets

Library reference (stub)

Asset tooling is pending its canonical write-up. Use the stub entry as a reminder that UI/token governance remains centralized in the Asset Policy.

Smrt.Config

Library reference (full README)

Canonical path resolver and atomic JSON persistence library that normalizes component slugs, guarantees writes under %AppData%/SmrtHub/Config/<slug>/, and ships embedded logging defaults for every host.

Smrt.Contracts.Triggers

Library reference (full README)

Trigger contract library that defines lightweight DTOs and dispatch helpers so HubWindow, TriggerManager, Python services, and text extraction services all speak the same automation protocol.

Smrt.Core

Library reference (full README)

Foundation assembly that exposes shared metadata helpers and conventions without taking extra dependencies, keeping downstream libraries lean.

Smrt.Infrastructure

Library reference (full README)

Bootstrap guard and future integration point for infrastructure services, providing idempotent startup hooks so hosts can register adapters exactly once per process.

Smrt.Logging

Library reference (full README)

Unified Serilog-based logging stack delivering JSONL, text, and HTML export with activity tracing, redaction, and deterministic test hooks mandated across the platform.

Smrt.Notifications

Library reference (full README)

In-process notification bus that lets background components publish immutable notifications to HubWindow or other UX surfaces without tight coupling.

Smrt.Security

Library reference (full README)

Security helpers including the Windows Credential Manager bridge (WindowsCredentialHelper) for storing opaque secrets, keeping sensitive material out of config files.

Smrt.SupportBundle

Library reference (full README)

Support bundle exporter that assembles sanitized diagnostics packages (logs, config snapshots, manifests, review HTML) aligned with redaction and operational policy.

Smrt.UI

Library reference (full README)

Shared WinUI 3 resource library supplying tokenized themes, typography, and iconography so every desktop surface stays visually consistent with the Asset Policy.

Smrt.Utils.Clipboard

Library reference (full README)

Clipboard normalization toolkit that extracts text, HTML, image, and CF_HDROP document fragments, computes file metadata/hashes, provides OCR quick hints, and underpins ClipboardMonitor’s ingestion pipeline.