ADR 0044's D49 (amended in building it): what reads and seals Learn's content moves out of the Flutter packages, so Learn's agent, which runs without Flutter, shares it rather than repeating the privacy rules. packages/halkyon_content (new, pure Dart) takes from halkyon_app the envelope and its cipher, SealedFile, UnlockedAccountKeys, shared spaces' gateway with SharedKeys and KeyPins, FileCache and FileServerGateway, with their fakes and tests; halkyon_app exports it, so no app changes. Its rich_text.dart takes RichContent from halkyon_editor, which exports it. newAccountKeys makes an agent's key pair. halkyon_core takes DelayedDeletions and gains SyncRequests, what a synced gateway asks of the sync, which SyncService implements. apps/learn/halkyon_learn_core (new, pure Dart) takes Learn's privacy, sync, payloads and the models, codecs, gateways and repositories of studysets, cards, notes, tags and feedback, with what they reach of files, learning paths, citations and study options; the app imports them from there. A subject's icon, colour and name stay in the app (SubjectLook); what only the app shows (progress, exam coverage, the card browser, deletions' waits) stays too. Nothing changes for people using the apps. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
36 lines
1.7 KiB
Dart
36 lines
1.7 KiB
Dart
/// Fakes of halkyon_app's boundaries, and a frame and dependencies built on
|
|
/// them, for an app's tests and this package's own: nothing here reaches a
|
|
/// server, the system's secure storage or the file system.
|
|
library;
|
|
|
|
// The fakes of the envelope's cipher and of shared spaces' keys and pins.
|
|
export 'package:halkyon_content/testing.dart';
|
|
// What asks a person's own key's provider, as the assistants' repository
|
|
// takes it, so an app's tests need no dependency of their own on
|
|
// halkyon_llm.
|
|
export 'package:halkyon_llm/testing.dart' show FakeLlmClient;
|
|
|
|
export 'src/testing/fake_account_crypto.dart';
|
|
export 'src/testing/fake_agent_gateway.dart';
|
|
export 'src/testing/fake_assistant_gateway.dart';
|
|
export 'src/testing/fake_auth_gateway.dart';
|
|
export 'src/testing/fake_file_opener.dart';
|
|
export 'src/testing/fake_file_picker.dart';
|
|
export 'src/testing/fake_instance_checker.dart';
|
|
export 'src/testing/fake_instance_operator_gateway.dart';
|
|
export 'src/testing/fake_network_watch.dart';
|
|
export 'src/testing/fake_oidc_browser.dart';
|
|
export 'src/testing/fake_password_gateway.dart';
|
|
export 'src/testing/fake_public_profile_gateway.dart';
|
|
export 'src/testing/fake_screen_guard.dart';
|
|
export 'src/testing/fake_simplelogin_gateway.dart';
|
|
export 'src/testing/fake_speech_input.dart';
|
|
export 'src/testing/memory_account_key_store.dart';
|
|
export 'src/testing/memory_account_wait_store.dart';
|
|
export 'src/testing/memory_file_saver.dart';
|
|
export 'src/testing/memory_instance_store.dart';
|
|
export 'src/testing/memory_look_store.dart';
|
|
export 'src/testing/memory_pending_changes_store.dart';
|
|
export 'src/testing/memory_sign_in_addresses.dart';
|
|
export 'src/testing/memory_whats_new.dart';
|
|
export 'src/testing/test_app.dart';
|