mirror of
https://github.com/furyhawk/ai_agent.git
synced 2026-07-21 10:15:44 +00:00
- Implemented `conversation-store` for managing conversations and messages. - Created `file-preview-store` to handle file preview state. - Added `sidebar-store` for sidebar visibility management. - Developed `theme-store` for theme persistence and management. - Introduced `kb-selection-store` for managing active knowledge base selections with persistence. chore: define API and chat types - Added types for API responses, authentication, chat messages, conversations, and projects. - Defined interfaces for various entities including users, sessions, and message ratings. build: configure TypeScript and testing setup - Set up `tsconfig.json` for TypeScript configuration. - Created `vitest.config.ts` for testing configuration with Vitest. - Added `vitest.setup.ts` for global test setup including mocks for Next.js router and media queries. - Configured Vercel deployment settings in `vercel.json`.
800 B
800 B
description
| description |
|---|
| Investigate and fix an issue |
Fix the issue: $ARGUMENTS
- Understand — search the codebase for relevant code, read the files, understand current behavior
- Reproduce — if possible, identify a test case or request that triggers the issue
- Root cause — trace through Routes → Services → Repositories to find where the bug originates
- Fix — implement the fix following project conventions:
- Domain exceptions in services (not HTTP errors)
db.flush()in repositories (notcommit)- Type hints on all changed signatures
- Test — run
cd backend && uv run pytestto verify no regressions - Lint — run
cd backend && uv run ruff check . --fix && uv run ruff format . - Summary — explain what was changed and why