Commit Graph

10 Commits

Author SHA1 Message Date
Jiayuan
c774c1eeb6 fix: format issue 2026-01-19 00:53:42 +08:00
Jiayuan
d01be5f8b7 docs: add ACP message rendering implementation guide 2026-01-19 00:47:36 +08:00
Jiayuan
073ae46d77 Add product screenshot to README 2026-01-16 14:02:00 +08:00
Jiayuan
b10b3ff709 Add AI code safety defense system: tests, pre-commit hooks, and CI
Implemented three-layer defense mechanism to prevent AI-generated code from breaking the codebase:
- Layer 1: AGENTS.md with universal AI agent instructions
- Layer 2: Husky pre-commit hooks with test file checking
- Layer 3: GitHub Actions CI with TypeScript, ESLint, tests, and coverage

Includes design document, test infrastructure, and coverage thresholds.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-01-16 00:22:33 +08:00
Jiayuan
68072f3217 docs: Add implementation plan for chatbox agent selector
Detailed step-by-step plan for adding inline agent switcher to
MessageInput with backend support and toast notifications.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-15 14:32:13 +08:00
Jiayuan
0908b52fc2 docs: Add chatbox agent selector design
Design for inline agent switcher in MessageInput that allows
switching the current session's agent mid-conversation.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-15 14:32:13 +08:00
Jiayuan
cb67f5d340 feat: add comprehensive test suite with Vitest
Add unit and integration tests covering core business logic:
- SessionStore: 18 tests for session persistence and management
- Conductor: 13 tests for session orchestration and agent lifecycle
- IPC Handlers: 19 tests for main-renderer communication
- Agent check: 10 tests for agent detection utilities

Tests achieve 31.74% overall coverage with focus on critical paths. Includes Vitest configuration, mock setup, and test utilities.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-01-15 04:11:56 +08:00
Jiayuan
caca31802a docs: add right sidebar directory tree design
Design for adding a file tree browser in the right panel showing
the current session's working directory with context menu support.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-15 01:46:27 +08:00
Jiayuan
bcdb897c13 docs: update README and system design with session management
- Update architecture diagram with SessionStore
- Add session management section to README
- Document IPC API for sessions
- Update system design with implemented SessionStore
- Resolve open questions (Q1, Q2, Q4, Q5)
- Add Q6 for future agent state restoration discussion
- Fix agent repository links

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 02:54:16 +08:00
Jiayuan
69b07f18b7 feat: initial project setup with Electron + ACP conductor architecture
- Set up Electron + React + TypeScript + Tailwind CSS v4
- Implement Conductor for ACP agent communication
- Add AgentProcess for subprocess lifecycle management
- Create CLI test command (pnpm test:acp) with --cwd and --log options
- Support multiple agents: opencode, codex, gemini

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 01:27:09 +08:00