Skip to content

v0.2.0 — Declarative DeviceConfig, device-agnostic engine

Latest

Choose a tag to compare

@ReCoreShift ReCoreShift released this 17 Jul 08:42
v0.2.0
3bdcacf

What's new

  • Declarative DeviceConfig — frozen dataclass model keeps all device-specific offsets, signatures, and quirks in devices.py
  • Device-agnostic engine — adding a new device requires editing only devices.py, no changes to cli.py
  • ByteSignature — single-match enforcement, masked patterns, caching support
  • Structured validationValidationIssue with severity, code, message, offset
  • DeviceQuirk enum — typed feature flags (FORCE_LEVEL_3, SKIP_FRONT_RAW, NO_RAW16)
  • build.sh — single entry point: ./build.sh INOI_A75, ./build.sh ADVAN_X1, ./build.sh --list
  • Config rename — device-specific TOML configs (patch.inoi_a75.toml, patch.advan_x1.toml)
  • AGENTS.md — architecture docs, compatibility matrix, porting checklist

Verified

  • INOI_A75: 95 patches, deterministic SHA 82c88233, matches live device
  • ADVAN_X1: 113 patches, deterministic SHA 0aa3ab48

Breaking

  • Config files renamed: patch.tomlpatch.inoi_a75.toml
  • SensorConfig and DeviceConfig are now frozen — use with_main_sensors() instead of direct mutation

Full Changelog: v0.1.0...v0.2.0