Commit Graph

31 Commits

Author SHA1 Message Date
wangwei
f3dbdc7e3f feat: update ThemeContext to use data-theme attribute, simplify to light/dark
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-03 16:39:33 +08:00
wangwei
932e2c7792 feat: rewrite globals.css with prototype design tokens, layout, and all page CSS 2026-06-03 16:14:47 +08:00
wangwei
22ab39fed2 docs: add frontend redesign spec based on prototype analysis 2026-06-03 14:58:24 +08:00
wangwei
2080da87aa feat: complete team-report PPT - slides 8-10 roadmap, assignments, QA 2026-05-27 18:30:02 +08:00
wangwei
dd850f1023 feat: team-report PPT slides 6-7 architecture and value 2026-05-27 18:27:16 +08:00
wangwei
91651682a3 feat: team-report PPT slides 4-5 feature demos 2026-05-27 18:24:56 +08:00
wangwei
c02c5cec0c feat: team-report PPT slides 2-3 background and progress overview 2026-05-27 18:22:09 +08:00
wangwei
4addda9182 feat: add team-report PPT generator - slide 1 cover 2026-05-27 18:19:00 +08:00
wangwei
0398fa3fb0 docs: add team-report PPT implementation plan 2026-05-27 18:16:19 +08:00
wangwei
3b7153c95c docs: add team-report PPT design spec 2026-05-27 18:10:41 +08:00
wangwei
3674f9171e Add Frontend 增加一层渐变背景色 2026-05-27 10:30:35 +08:00
ash66
30c7bda389 Refactor document handling and update Milvus collection settings
- Removed multiple failed document entries from `documents.json`.
- Added a new document entry with updated metadata and changed the index name to `regulations_dense_1024_v2`.
- Updated architecture documentation to reflect changes in the Milvus collection name.
- Adjusted requirements by removing the sqlalchemy dependency.
- Modified test cases to align with new document structure and naming conventions.
- Introduced a new test file for Milvus vector index runtime recovery and error handling.
- Updated assertions in various test files to ensure compatibility with the new schema.
2026-05-26 20:21:31 +08:00
ash66
fec22a3a2c Fix centered content layout widths 2026-05-26 12:34:12 +08:00
ash66
34d72d7ce9 feat(document): add database and process documents 2026-05-26 10:08:56 +08:00
ash66
987cc097da feat: implement new layout components and routing structure
- Added HeaderLayout component for the application header.
- Introduced KeepAliveViewport for managing tab states and rendering.
- Created TabNav for tab navigation with animated indicator.
- Removed old Tabs component in favor of new layout structure.
- Updated routing with AppRouter and defined appTabs for navigation.
- Enhanced theme context to manage dark mode styles.
- Added new UI components: Badge, Button, Separator, and Tabs.
- Refactored pages to utilize new layout components and improve responsiveness.
- Updated global styles for better theming and layout consistency.
- Introduced TypeScript path aliases for cleaner imports.
2026-05-25 16:19:18 +08:00
ash66
10a034e294 feat(bootstrap): refactor runtime dependency management and add lazy loading for binary store and vector index
feat(agent): update import for agent session service
feat(openai): add context truncation check in OpenAI answer generator
docs(README): update frontend environment file conventions
fix(vite): default local frontend development to local backend
2026-05-25 13:58:48 +08:00
ash66
091a02c522 Add AgentSessionService and refactor agent routes
Move session-related responsibilities into a new application-layer AgentSessionService (and AgentSessionFeedbackResult dataclass), provide a bootstrap factory (get_agent_session_service), and update agent API routes to call the service instead of accessing ConversationStore directly. Routes now translate ValueError into 404 responses and use service methods for get/list/history/delete/feedback. Also update package exports and docs/READMEs to declare the backend architecture authority, enforce api -> application -> domain ports -> infrastructure boundaries, and call out legacy services/workflows as migration-only. These changes centralize session logic in the application layer and tighten architecture guidance for future backend work.
2026-05-22 09:50:30 +08:00
wangwei
37f7a60b0a feat(perception): 智能感知模块 - event feed, SSE impact analysis, tab registration 2026-05-22 00:42:28 +08:00
wangwei
f9ee644f25 feat(perception): backend - mock event store, perception service, /perception API routes 2026-05-22 00:33:43 +08:00
wangwei
09f9cf2bf0 feat(status): loading/error states, refresh button, auto-poll, health panel, config truncation, doc status highlights 2026-05-22 00:02:38 +08:00
wangwei
4e90b4f2da feat(status): add SystemHealth type and getSystemHealth() API function 2026-05-21 23:54:52 +08:00
wangwei
6bf5600a26 feat(status): add /health aggregate endpoint and 10s TTL cache on /stats 2026-05-21 23:53:15 +08:00
wangwei
bf6d47e1fd Fix 法规对话 2026-05-21 23:20:39 +08:00
wangwei
1b640f0084 fix 法规对话模块 2026-05-20 23:39:15 +08:00
wangwei
b065d55c86 fix 文档管理模块 & 法规对话模块 2026-05-20 23:34:08 +08:00
ash66
c22b03dc07 feat: Migrate document parsing to Aliyun and update embedding configurations
- Updated LocalDocumentParser to include raw_layouts and artifact_prefix from settings.
- Added new documents with failure reasons and metadata to documents.json for better error tracking.
- Created a new documentation file detailing the Aliyun ingest implementation process.
- Updated RFC to reflect changes in the parsing backend and embedding dimensions.
- Modified tests to accommodate the new embedding dimension of 1024 and updated parser and chunk builder assertions.
- Verified migration configurations to ensure correct settings for embedding model and backend.
2026-05-18 22:30:28 +08:00
ash66
3f69cad404 Fix SSE route dependency and align architecture docs 2026-05-18 16:32:42 +08:00
ash66
86b9ac806a Delete log file for May 14, 2026, to clean up unnecessary data and maintain log management. 2026-05-18 13:29:57 +08:00
ash66
35cd927d02 Refactor code structure for improved readability and maintainability 2026-05-14 18:09:15 +08:00
wangwei
10d04c4083 update 2026-05-14 15:07:34 +08:00
wangwei
c2a398930d first commit 2026-04-28 11:29:33 +08:00