clanker-agent/packages
Advait Paliwal 4a36e795a6 fix: simplify chat rendering, persist drawer size, fix auth guard (#334)
* fix: simplify chat rendering, persist drawer size, fix auth guard

- Simplify chat-messages.tsx: remove dual-path tailContent rendering,
  always use AssistantMessage for both stream and committed states
- Remove dead code: chat-status-state.ts (ThinkingGroup/ToolGroup/StatusTimer)
- Remove dead exports: busyStartedAt, composerPlaceholder from use-chat-session
- Fix ThinkingBlock label: remove hardcoded label="Thinking" so defaults
  work ("Thinking" shimmer → "Thought" static)
- Persist resizable drawer panel size in localStorage alongside open state
  to eliminate layout shift on page refresh
- Add busy grace period in use-chat-session for smooth stream→committed transition
- Accumulate reasoning parts across multi-step tool use in durable-chat-run
- Fix auth-guard: remove localSandboxMode bypass so login always works
- Fix chatThreads.getMessages: return [] instead of throwing when unauthenticated

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix: remove unnecessary busy grace period

Convex reactive queries handle data consistency — no need for a 600ms
grace period to bridge the stream→committed transition.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix: remove dead shouldShowToolsForAssistantSnapshot

Greptile P1: function was exported and tested but never called.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-17 12:20:42 -07:00
..
agent refactor: finish companion rename migration 2026-03-10 07:39:32 -05:00
ai fix: landing page WebP refs, hero layout, chat UI (#321) 2026-03-13 17:24:05 -07:00
coding-agent fix: simplify chat rendering, persist drawer size, fix auth guard (#334) 2026-03-17 12:20:42 -07:00
companion-channels refactor: finish companion rename migration 2026-03-10 07:39:32 -05:00
companion-grind refactor: finish companion rename migration 2026-03-10 07:39:32 -05:00
companion-teams computer use tool 2026-03-11 14:13:03 -04:00
tui refactor: finish companion rename migration 2026-03-10 07:39:32 -05:00