12 Commits

Author SHA1 Message Date
xming521 ad288b7bd7 Refactor profile web UI into atlas/review modules and improve graph layout
- Split the frontend into atlas/ and review/ modules with a shared api client,
  and add Prettier, ESLint and node tests for graph layout and data helpers
- Lay out expanded dimensions as separate clusters around the root
- Let the force simulation cool slowly after a node drag instead of stopping abruptly
- Reopening the collapsed root resets the map to its initial layout
- Use one loading screen style for the page and canvas loading states
- Clear stale errors when retrying fact history
- Rebuild weclone/web/dist

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 20:09:16 +08:00
xming521 b43033f97d Update index.html to reference new JavaScript and CSS files; add new CSS styles for improved layout and design. 2026-10-03 18:03:09 +08:00
xming521 040b6f3af1 Fix password bounds, filtered profile scope and input hashing 2026-10-03 13:27:16 +08:00
xming521 4b95b885c7 Refine profile review navigation, controls and source chat display 2026-10-03 00:52:02 +08:00
xming521 58312f84ad feat: add SourceChatPanel component and backend support for source chat retrieval
- Implemented SourceChatPanel component for displaying chat records with UI enhancements.
- Added source_chat.py to handle chat sample extraction from persisted memory.
- Introduced new CSS styles for improved layout and responsiveness.
- Updated JavaScript bundle with new features and optimizations.
2026-10-02 23:46:15 +08:00
xming521 7daa270736 Add encrypted chat storage and shared-password workflows
Integrate suffixed encrypted storage across extraction, review, training, and inference. Add shared-password web authentication with two-hour sessions, private request logging, and an isolated profile-building pipeline.

Fix encrypted dataset discovery at training entrypoints and duplicate CSV imports. Add synthetic storage, authentication, and log checks; update documentation and frontend assets.
2026-10-02 23:18:07 +08:00
xming521 0de8235b2f Add .gitignore file for dev-data directory to exclude SQLite and log files 2026-10-02 12:33:25 +08:00
xming521 3086a82934 feat: Enhance agent distillation configuration and improve memory organization
- Added default values for batch size, max tokens, and timeout in distill_profile.py.
- Refactored required configuration functions to support section-specific error messages.
- Introduced positive and optional positive integer validation functions for configuration.
- Updated resolve_llm_args to utilize new configuration validation functions.
- Modified organize_memories.py to load agent distill configuration and handle missing model gracefully.
- Improved stage 2 output file management in make_dataset_stage2.py, ensuring proper validation against manifest files.
- Added new web assets including HTML, CSS, and JS files for profile review interface.
- Set up default static directory for serving web assets in profile_review.py.
2026-09-27 17:16:37 +08:00
xming521 e42857944d Update index.html and Review.tsx for improved functionality and new build assets
- Updated the script source in index.html to use the new build asset index-Bdkx4nR3.js.
- Modified the batch function in Review.tsx to remove the confirmation dialog when no items are selected, streamlining the review process.
2026-09-27 16:02:52 +08:00
xming521 583cba0b5b Add authentication and authorization features for the web UI
- Implemented a new authentication system in `auth.py` to manage user sessions and password security.
- Created an `AuthStore` class to handle password hashing, session management, and login/logout functionality.
- Added API endpoints for login, logout, and session validation in the FastAPI application.
- Developed a React context for authentication in `Auth.tsx`, including a login form and logout button.
- Introduced tests for private routes and session management in `test_web_auth.py`.
- Added CSS styles for the authentication page in `index-DOIy3AqG.css`.
- Included a new JavaScript file for the web application in `index-DwlWkAhO.js`.
2026-09-27 16:00:03 +08:00
xming521 7234dc6ab7 Add TypeScript configuration and Vite setup for React project
- Created tsconfig.json with TypeScript compiler options for ES2022 and React JSX support.
- Added vite.config.ts to configure Vite with React plugin and set up API proxy for development and preview environments.
2026-09-27 14:35:22 +08:00
xming521 a76a1e325b feat: initialize React app with main entry point, Zustand store, and CSS styles
- Added main.tsx as the entry point for the React application, rendering the App component.
- Created a Zustand store in store.ts to manage application state, including search functionality, node expansion, and detail view management.
- Introduced style.css for global styling, defining layout, typography, and component styles for the application.
2026-09-27 11:23:08 +08:00