From b977d275ba258caca6e2a41f59fd5551583dcb67 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 18 Apr 2026 08:53:10 +0000 Subject: [PATCH] docs: sync markdown docs with current codebase state - CLAUDE.md: add `sync` to the CLI commands list (commands/sync.rs exists) - PLAN.md: remove BottomSheet.svelte (deleted in efb4cca) - DEVELOPMENT.md: add grouping.ts and paths.ts to the lib directory listing https://claude.ai/code/session_01YbcpJqmwpEW5tCJFFkMSPZ --- CLAUDE.md | 2 +- PLAN.md | 1 - docs/DEVELOPMENT.md | 2 ++ 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index de91fb4..149df6a 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -30,7 +30,7 @@ The Tauri dev server runs on port 1422 (`vite.config.ts` and `tauri.conf.json`). Two-crate workspace (`resolver = "2"`, edition 2021) plus a Tauri app: - **onyx-core** — Pure Rust library. Storage trait with `FileSystemStorage` implementation, `TaskRepository` (main API), data models, config, error types. No CLI/UI dependencies. `keyring` feature-gated behind `keyring-storage` (default on) for Android compatibility. -- **onyx-cli** — CLI frontend using clap. Commands are in `src/commands/` (init, workspace, list, task, group). Output formatting in `src/output.rs`. +- **onyx-cli** — CLI frontend using clap. Commands are in `src/commands/` (init, workspace, list, task, group, sync). Output formatting in `src/output.rs`. - **apps/tauri/** — Tauri v2 GUI. Svelte 5 frontend in `src/`, Rust backend in `src-tauri/` with Tauri commands that call into `onyx-core`. `notify` crate feature-gated for Android. `tauri-plugin-credentials/` provides cross-platform credential storage (Android Keystore via EncryptedSharedPreferences, desktop via keyring crate). ### Key patterns diff --git a/PLAN.md b/PLAN.md index 71f9080..65f6677 100644 --- a/PLAN.md +++ b/PLAN.md @@ -668,7 +668,6 @@ apps/tauri/ │ │ ├── TaskItem.svelte │ │ ├── NewTaskInput.svelte │ │ ├── TaskDetailView.svelte -│ │ ├── BottomSheet.svelte │ │ ├── ConfirmDialog.svelte │ │ └── DateTimePicker.svelte │ └── stores/ diff --git a/docs/DEVELOPMENT.md b/docs/DEVELOPMENT.md index e1616b7..4ba4081 100644 --- a/docs/DEVELOPMENT.md +++ b/docs/DEVELOPMENT.md @@ -77,6 +77,8 @@ onyx/ │ │ ├── components/ # Reusable UI components │ │ ├── stores/ # Svelte state (app.svelte.ts) │ │ ├── dateFormat.ts # Date formatting utilities +│ │ ├── grouping.ts # Task grouping logic +│ │ ├── paths.ts # Path utilities │ │ └── types.ts # TypeScript type definitions │ ├── tauri-plugin-credentials/ # Cross-platform credential storage plugin │ │ ├── Cargo.toml