diff --git a/PLAN.md b/PLAN.md index 800f5cc..d80f0bb 100644 --- a/PLAN.md +++ b/PLAN.md @@ -1058,6 +1058,6 @@ This project is free and open-source software licensed under GPL v3. --- -**Last Updated**: 2026-04-17 -**Document Version**: 4.3 +**Last Updated**: 2026-04-23 +**Document Version**: 4.4 **Status**: Ready to Implement - Milestone-Driven Plan diff --git a/docs/API.md b/docs/API.md index f8b3c1d..8ab5285 100644 --- a/docs/API.md +++ b/docs/API.md @@ -353,12 +353,14 @@ Credentials are stored in the platform keychain (Windows Credential Manager, mac ```rust use onyx_core::webdav::{store_credentials, load_credentials, delete_credentials}; +use zeroize::Zeroizing; // Store credentials store_credentials("nextcloud.example.com", "username", "password")?; -// Load credentials (returns Zeroizing wrappers that wipe memory on drop) -let (username, password) = load_credentials("nextcloud.example.com")?; +// Load credentials — returns Zeroizing wrappers that wipe memory on drop +let (username, password): (Zeroizing, Zeroizing) = + load_credentials("nextcloud.example.com")?; // Delete credentials delete_credentials("nextcloud.example.com")?; diff --git a/docs/DEVELOPMENT.md b/docs/DEVELOPMENT.md index 7185810..c06c650 100644 --- a/docs/DEVELOPMENT.md +++ b/docs/DEVELOPMENT.md @@ -72,6 +72,8 @@ onyx/ │ │ ├── main.ts │ │ ├── app.css # Tailwind CSS 4 + theme │ │ ├── App.svelte +│ │ ├── test/ +│ │ │ └── setup.ts │ │ └── lib/ │ │ ├── screens/ # Full-page views │ │ ├── components/ # Reusable UI components