<feed xmlns='http://www.w3.org/2005/Atom'>
<title>doot.git/internal/handlers/websocket.go, branch master</title>
<subtitle>doot — personal productivity web app
</subtitle>
<id>https://git.terst.org/doot.git/atom?h=master</id>
<link rel='self' href='https://git.terst.org/doot.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.terst.org/doot.git/'/>
<updated>2026-01-29T08:18:40+00:00</updated>
<entry>
<title>Refactor agent handlers for simplicity and clarity</title>
<updated>2026-01-29T08:18:40+00:00</updated>
<author>
<name>Peter Stone</name>
<email>thepeterstone@gmail.com</email>
</author>
<published>2026-01-29T08:18:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.terst.org/doot.git/commit/?id=058ff7d699f088edb851336928dd3eea2934cc07'/>
<id>urn:sha1:058ff7d699f088edb851336928dd3eea2934cc07</id>
<content type='text'>
- Reuse BuildTimeline() from timeline_logic.go instead of duplicating
  fetch logic (~60 lines removed)
- Add section headers for code organization
- Extract isSessionExpired() and renderAgentTemplate() helpers
- Move AgentRequestPayload from websocket.go to agent.go
- Use config.Now() and config.Today() for consistent timezone handling

Co-Authored-By: Claude Opus 4.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
</feed>
