hikari 9a8816f6a0 fix: comprehensive agent tracking and cleanup improvements
This commit fixes all 4 reported agent tracking bugs and adds comprehensive test coverage:

**Bug Fixes:**
1. Agents stuck in "running" state after completion
   - Added SubagentStop hook parsing in wsl_bridge.rs
   - Emits claude:agent-end events when SubagentStop hooks detected
   - Includes 8 new Rust tests for hook parsing

2. Agents persisting after disconnect
   - Added clearConversation() call on disconnect in tauri.ts
   - Prevents agents from persisting across sessions

3. "Kill All" button doing nothing
   - Added markAllErrored() call in AgentMonitorPanel after interrupt
   - Updates UI state immediately after killing process

4. Badge persisting after closing tab
   - Added clearConversation() call in conversations.ts deleteConversation()
   - Properly cleans up agent tracking when tab is closed

**Test Coverage:**
- Added comprehensive agents.test.ts with 24 new tests
- Tests all store methods: addAgent, updateAgentId, endAgent, markAllErrored, clearCompleted, clearConversation, runningAgentCount
- Added 8 Rust tests for SubagentStart/Stop hook parsing
- All 387 frontend tests pass
- All 426 backend tests pass

**Documentation:**
- Updated CLAUDE.md with comprehensive testing guidelines
- Documents coverage goals, console mocking strategies, and E2E integration testing patterns

 This fix was implemented with help from Hikari~ 🌸
2026-02-07 18:45:12 -08:00
2026-01-15 20:06:47 -08:00
2026-01-14 18:24:35 -08:00
2026-01-14 18:24:35 -08:00
2026-01-14 18:24:35 -08:00
2026-02-07 14:47:20 -08:00
2026-01-14 18:24:35 -08:00
2026-01-14 18:24:35 -08:00
2026-01-14 20:56:28 -08:00
2026-01-14 18:24:35 -08:00
2026-01-14 20:56:28 -08:00
2026-01-14 20:56:28 -08:00

hikari-desktop

Desktop companion application featuring Hikari.

Live Version

This page is currently deployed. View the live website.

Feedback and Bugs

If you have feedback or a bug report, please log a ticket on our forum.

Contributing

If you would like to contribute to the project, you may create a Pull Request containing your proposed changes and we will review it as soon as we are able! Please review our contributing guidelines first.

Code of Conduct

Before interacting with our community, please read our Code of Conduct.

License

This software is licensed under our global software license.

Copyright held by Naomi Carrigan.

Contact

We may be contacted through our Chat Server or via email at contact@nhcarrigan.com

S
Description
A cute desktop wrapper for Claude Code with an anime girl.
Readme 23 MiB
v1.14.0 Latest
2026-04-13 16:18:51 -07:00
Languages
TypeScript 35.8%
Svelte 33.7%
Rust 29.5%
CSS 0.6%
JavaScript 0.2%
Other 0.1%