Skip to content

feat: massively overhaul codebase#924

Open
baseplate-admin wants to merge 101 commits into
mainfrom
feat/jxr-other
Open

feat: massively overhaul codebase#924
baseplate-admin wants to merge 101 commits into
mainfrom
feat/jxr-other

Conversation

@baseplate-admin

Copy link
Copy Markdown
Collaborator

No description provided.

@baseplate-admin baseplate-admin changed the title feat: massively overhaul JS codes feat: massively overhaul codebase May 27, 2026
- 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
Update .gitignore
- 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
- 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant