feat: massively overhaul codebase#924
Open
baseplate-admin wants to merge 101 commits into
Open
Conversation
* feat: improve compatibility * add webp optimization support * Optimzie * Update FileViewerOverlay.svelte * add * Update file-converter.worker.ts
Closed
814f7fd to
8ed8ab0
Compare
- Rename send_crypto module to chithi_cryto - Switch chunk encryption from AES-256-GCM to AES-256-GCM-SIV for misuse-resistant authenticated encryption - Add Progress and ProgressCallback types for real-time progress reporting through all SDK functions - Update lib.rs re-exports to include Progress types - Add test_progress_callback_fires test - All 14 core tests passing including 1MB round-trip
- Rename send_crypto.rs to chithi_cryto.rs in wasm_bindings - Pass None for progress parameter in all WASM wrapper functions - Update imports to use chithi_cryto module - Update Cargo.toml dependencies - All WASM bindings now compatible with new core API
- Pass None for progress parameter in all PyO3 wrapper functions - Update SDK-level upload/download calls to accept progress - Maintain GIL release via Python::allow_threads for parallel crypto - All Python bindings now compatible with new core API
- Update Cargo.toml workspace dependencies - Update .gitignore for build artifacts - Add Cargo.lock for reproducible builds
- Add chithi_core_bridge.py for native module integration - Add chithi_exceptions.py and chithi_types.py - Update upload/download commands to use new bridge - Update crypto and archive helpers - Remove deprecated crypto constants - Update pyproject.toml dependencies
- Update EncryptUpload.svelte component - Update encryption.ts and streams.ts functions - Replace old WASM bindings with new chithi_wasm.ts - Add rust.worker.ts for Web Worker parallelism - Remove deprecated test files and old worker - Update vite.config.js
- JS SDK: TypeScript package with Chithi class, upload/download API - Python SDK: Native package with Chithi class, upload/download API - Both SDKs invoke Rust under the hood (JS via WASM, Python via PyO3) - Add rust SDK build configuration and WASM bindings - Include .gitignore for SDK build artifacts
- Follow exact import patterns from shadcn-svelte docs:
import { Button } from "$lib/components/ui/button/index.js"
import * as Card from "$lib/components/ui/card/index.js"
import { Progress } from "$lib/components/ui/progress/index.js"
import { Badge } from "$lib/components/ui/badge/index.js"
import { Spinner } from "$lib/components/ui/spinner/index.js"
- Use Lucide icons from @lucide/svelte/icons
- Replace custom styled card/progress/button with shadcn-svelte equivalents
- Use Card.Root, Card.Header, Card.Content, Card.Footer pattern
- Apply Tailwind utility classes for spacing and layout
a9f58b5 to
1b4aa14
Compare
- Create unified chithi.worker.ts replacing split crypto + rust workers - Remove dead code: EncryptUpload.svelte, crypto worker, rust worker - Update streams.ts to use unified ChithiWorker - Add PLAN.md with full frontend rewrite plan and WASM architecture decision - Add .claude/rules for TypeScript style, commit discipline, and @ escaping
- shadcn-svelte-exact.md: enforce exact import patterns, component usage, form/dialog/dropdown/tooltip/select/button/card patterns from official docs - wasmtime-performance-rust.md: C ABI exports, linear memory management, Cranelift JIT optimization, Rayon parallelism, release profile tuning
69b1dae to
9156cae
Compare
9156cae to
8dc89da
Compare
- cleanup-downloads.md: remove downloaded files after use - smart-css.md: reduce CSS duplication without breaking styles - playwright-verify.md: verify all visual changes in real browser
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.