open-swe/ui/src/lib/agents
Johannes du Plessis 015476230c
feat: surface all of a user's agent threads in the Agents UI (#1366)
* feat: surface all of a user's agent threads in the Agents UI

Previously the Agents UI only listed and allowed opening threads with
source=dashboard. Threads triggered from GitHub, Slack, or Linear were
hidden and could not be opened.

- Persist owner-identifying metadata (source, github_login,
  triggering_user_email, source_context) onto the thread for each
  webhook-triggered main-agent run via upsert_agent_thread_owner_metadata,
  resolving a github_login from the triggering email where possible.
- Relax dashboard thread listing/ownership to surface github/slack/linear
  threads owned by the logged-in user (matched by github_login or email),
  and preserve the original source + reply-routing context when continuing
  such threads from the UI.
- Add a source field to the thread summary and render a source icon
  (GitHub/Slack/Linear) on thread items in the sidebar and run cards.

* Normalize triggering email when persisting thread owner metadata

Mixed-case Slack/Linear emails were stored verbatim, but the dashboard
searches with a lowercased value, so those threads never surfaced for
their owner. Normalize at write time to match _thread_owner_email.
2026-06-01 13:01:20 -07:00
..
api.ts feat: add Agents chat UI for cloud threads (#1323) 2026-05-22 18:15:59 +00:00
pendingPrompts.ts feat: add Agents chat UI for cloud threads (#1323) 2026-05-22 18:15:59 +00:00
queries.ts feat: add Agents chat UI for cloud threads (#1323) 2026-05-22 18:15:59 +00:00
types.ts feat: surface all of a user's agent threads in the Agents UI (#1366) 2026-06-01 13:01:20 -07:00
useModelOptions.ts feat: add Agents chat UI for cloud threads (#1323) 2026-05-22 18:15:59 +00:00
useThreadStream.ts feat: add Agents chat UI for cloud threads (#1323) 2026-05-22 18:15:59 +00:00