From f9f9ac79b6392f30b7135e3898a47aa70f934f05 Mon Sep 17 00:00:00 2001 From: SinuS Von SifriduS Date: Thu, 20 Aug 2026 17:08:32 +0200 Subject: [PATCH] v0.2.6-pre.003 --- .env.example | 8 + Cargo.toml | 4 +- ROADMAP.md | 4 +- config/composite.ksp-app-wallet-desk.json | 66 ++++ ...composite.ksp-app-wallet-desk.example.json | 66 ++++ config/examples/std.wallet.example.json | 18 ++ config/schemas/std.wallet.schema.json | 54 ++++ config/std.wallet.json | 18 ++ crates/ksp-app-wallet-desk/frontend/main.html | 12 +- .../ksp-app-wallet-desk/frontend/ts/main.ts | 39 ++- crates/ksp-app-wallet-desk/package.json | 2 +- crates/ksp-app-wallet-desk/src/app_state.rs | 31 +- crates/ksp-app-wallet-desk/src/bootstrap.rs | 70 ++++- crates/ksp-app-wallet-desk/src/constants.rs | 12 +- crates/ksp-app-wallet-desk/src/dto_common.rs | 26 +- crates/ksp-app-wallet-desk/src/errors.rs | 11 +- crates/ksp-app-wallet-desk/src/lib.rs | 25 +- .../ksp-app-wallet-desk/src/wallet_config.rs | 178 +++++++++++ crates/ksp-app-wallet-desk/tauri.conf.json | 2 +- .../tests/config_composition.rs | 48 +++ .../tests/desktop_contract.rs | 6 +- .../unit_tests/wallet_config.rs | 79 +++++ crates/ksp-config-lib/README.md | 25 +- crates/ksp-config-lib/TODO.md | 10 +- crates/ksp-config-lib/USAGE.md | 37 ++- crates/ksp-config-lib/src/document.rs | 6 +- crates/ksp-config-lib/src/lib.rs | 23 +- crates/ksp-config-lib/src/logging.rs | 20 +- crates/ksp-config-lib/src/registry.rs | 48 ++- crates/ksp-config-lib/src/wallet.rs | 290 ++++++++++++++++++ crates/ksp-config-lib/tests/ownership.rs | 7 +- crates/ksp-config-lib/tests/public_api.rs | 41 ++- crates/ksp-config-lib/unit_tests/registry.rs | 73 +++-- crates/ksp-config-lib/unit_tests/wallet.rs | 200 ++++++++++++ deltas/0.2.6/pre.003.md | 247 +++++++++++++++ docs/000-README.md | 4 +- docs/architecture/005-DEPENDENCY_GRAPH.md | 4 +- docs/plans/000-README.md | 4 +- docs/plans/002-FUNCTIONAL_RELEASE_SEQUENCE.md | 8 +- docs/plans/013-V0_2_6_WALLET_DESK_PLAN.md | 31 +- 40 files changed, 1735 insertions(+), 122 deletions(-) create mode 100644 config/composite.ksp-app-wallet-desk.json create mode 100644 config/examples/composite.ksp-app-wallet-desk.example.json create mode 100644 config/examples/std.wallet.example.json create mode 100644 config/schemas/std.wallet.schema.json create mode 100644 config/std.wallet.json create mode 100644 crates/ksp-app-wallet-desk/src/wallet_config.rs create mode 100644 crates/ksp-app-wallet-desk/tests/config_composition.rs create mode 100644 crates/ksp-app-wallet-desk/unit_tests/wallet_config.rs create mode 100644 crates/ksp-config-lib/src/wallet.rs create mode 100644 crates/ksp-config-lib/unit_tests/wallet.rs create mode 100644 deltas/0.2.6/pre.003.md diff --git a/.env.example b/.env.example index b2a6d3b..1944365 100644 --- a/.env.example +++ b/.env.example @@ -5,6 +5,14 @@ # The current Config document fallback is "logs" when neither the process environment nor .env defines this variable. KSP_LOGS_DIRECTORY=logs +# KSP Wallet root directory. Used by config/std.wallet.json before an optional profile subdirectory is appended. +# The committed Wallet document falls back to "wallets" when neither the process environment nor .env defines this variable. +KSP_WALLETS_DIRECTORY=wallets + +# Optional Wallet Desk password candidates are introduced by the later unlock tranche. +# Additional KSP_SECRET_WALLET_PASS_