Bumps the heartbeat timestamp for the given set of chat IDs, provided they are still running and owned by the specified worker. Returns the IDs that were actually updated so the caller can detect stolen or completed chats via set-difference.
(ctx context.Context, arg UpdateChatHeartbeatsParams)
| 1211 | // worker. Returns the IDs that were actually updated so the |
| 1212 | // caller can detect stolen or completed chats via set-difference. |
| 1213 | UpdateChatHeartbeats(ctx context.Context, arg UpdateChatHeartbeatsParams) ([]uuid.UUID, error) |
| 1214 | UpdateChatLabelsByID(ctx context.Context, arg UpdateChatLabelsByIDParams) (Chat, error) |
| 1215 | // Updates the cached injected context parts (AGENTS.md + |
| 1216 | // skills) on the chat row. Called only when context changes |
no outgoing calls