Skip to main content

Crate cybercore_core

Crate cybercore_core 

Source
Expand description

Stable extraction surface for Cybercore’s shared contracts.

The first extraction keeps the existing cybercore implementation as the compatibility source of truth. Future contract changes land here first, then the legacy crate can re-export this surface without breaking users.

Modules§

components
Shared UI component styles for the Cybercore Systems Framework — cards, status badges, data tables, form inputs, popup viewers, and the theme-picker dropdown itself — for every Cybercore surface that wants the same look cyberdeck established (cards/badges/topbar/window conventions), not just cyberdeck itself.
control_plane
Typed workspace contracts shared by the Cybercore Control Plane and tools.
pack
Typed manifests for independently versioned Cybercore resource packs.
palette
True-color ANSI helpers, sourced from the canonical schema in schema/cybergrid.json rather than hand-copied hex values per project (which is how omniscient and cyberplug each ended up with their own slightly-drifting copy of the same palette before this crate existed).
paths
Canonical filesystem locations, sourced from the schema. Every project that currently hardcodes ~/.sysops, ~/.cargo-target, or similar should call these instead — one edit to the schema updates every consuming project on its next build.
schema
Loads schema/cybergrid.json — the canonical, language-agnostic source of truth for the whole Cybercore Systems Framework.
theme
The Cybercore theme engine: versioned theme documents, validation, contrast reports, built-in and user theme catalogs, selection, and CSS.
tokens
Shared non-colour design tokens — fonts, a type scale, spacing, radii, motion, z-index — for the Cybercore Systems Framework.

Constants§

VERSION