Commit graph

4 commits

Author SHA1 Message Date
Darkatse
c899f6405d refactor(database): integrate TriviumDB through a native adapter
Move database ownership, blocking IO and TQL binding into tt-adapter-triviumdb
and upgrade the native engine to 0.8.8. Preserve the plugin API capabilities
with awaited open, numeric IDs and explicit shared-namespace lifecycle.

Coordinate archive IO with database maintenance and restore each namespace
as a complete file group. Keep behavior tests for persistence, parameter
binding, transactions and recovery instead of per-method forwarding tests.

Validated with pnpm run check and tauri-pilot against the macOS app using
the real data root; temporary test namespaces were removed afterward.
2026-09-18 01:42:56 -04:00
Darkatse
5ca99a87a1 perf(files): bound stream reads by the opened file size
Stat each opened file once and request its remaining bytes in chunks up to 4 MiB, avoiding padded tail responses and an extra EOF read. Reject truncated or malformed responses and retain both read and cleanup failures.

Decode the trailer with DataView, declare ES2022 library types in the shared type-check configuration, and include the fs permission, cancellation coverage, navigation fixture, and contract documentation.
2026-09-12 23:25:14 -04:00
Darkatse
ab37d6c7df perf(frontend): cache lint and type checks 2026-08-08 02:18:12 -04:00
Darkatse
a97e9179b1 Refactoring (Frontend): Standardized frontend refactoring, incorporating code contracts. 2026-03-11 19:51:17 -04:00