-
chore(release): bump version to 1.0.7
-
Co-Authored-By: Claude Opus 5 noreply@anthropic.com
-
Claude-Session: https://claude.ai/code/session_01GXxfHB38J4dvd7j4vEnWGA
-
refactor: strip dead code and the redundant CoreInterface layer
-
An ablation pass over lib/ (core/ excluded): remove each candidate, then
-
require
flutter analyzeandflutter testto stay at baseline. -
CoreInterface was a mixin declaring 35 abstract methods that
-
CoreHandlerInterface then implemented one for one, and nothing in the tree
-
ever used it as a type. Merged it into CoreHandlerInterface, keeping the
-
four lifecycle methods the platform backends supply.
-
Also gone: two files nothing imported (common/archive.dart, common/store.dart),
-
27 unreferenced top-level declarations, and ~25 dead members. Three of those
-
were hiding defects rather than just weight -- putProfileDisabledRule wrote
-
RuleScene.added instead of disabled, Script.saveWithPath copied a file onto
-
itself, and importUri was a bare alias for importText. Dropping
-
getMaterialColorShades made _createPrimarySwatch, value32bit, the four *8bit
-
getters and lighten unreachable; dropping Windows.registerTask left
-
String.encodeUtf16LeWithBom with no caller but its own test, so that pair went
-
too (hence 862 tests, down from 864).
-
Kept, because the ablation showed they carry weight: the six abstract
-
interfaces under core/desktop each pair a production implementation with a
-
test fake, and NodeCodec has eight implementations.
-
Verified beyond the suite by installing a debug APK on an arm64 emulator --
-
core start/stop/restart, theme switching, node import and the settings screens
-
all behave as they did before.
-
Co-Authored-By: Claude Opus 5 noreply@anthropic.com
-
Claude-Session: https://claude.ai/code/session_01XSQDyYNbJPMa7e3Bkxhgrt
Download based on your OS: