fix(gateway): open the main chat route before its first message (#201879) * fix(gateway): open the main chat route before its first message An agent's main session is stored with its first message. Until then the authenticated session-entry handoff resolved /chat/<agent> to nothing and answered 403 "Session unavailable", so a reload, bookmark or pasted link of a new agent's main chat dead-ended behind an authenticating proxy, although the app loaded at / opens the same conversation. The resolver already gives the same answer for an absent main row and for a main row hidden from the caller. For the main route, outside public reads, that answer now selects the main key with the caller's authority as its only condition, so the handoff serves the app for absent, hidden and visible main alike. Unknown or refused agents, other missing sessions and the public reader are unchanged. * fix(gateway): require a client for the row-less main selection Review follow-ups: the main-route fallback now also requires a client, so a caller without one and without publicOnly gets no selection. The resolver test shows the draft main row is really hidden from the restricted profiles (literal route null) and visible to its creator, and pins the client requirement. The URL docs say that /chat/<agentId> opens before the agent's first message.
Current
·
C2
·2026-11
fix(gateway): open the main chat route before its first message (#201…
Find Your Interest
- Impecável, Caio Borralho freia 'hype' de parceiro de Alex Poatan no UFC 334
- Israel mata comandante do Hamas acusado de planejar ataque de 7 de outubro de 20
- Lula critica big techs e defende soberania dos países em discurso nas Filipinas
- El Gobierno aprueba un decreto que quita ultraprocesados y bollería de hospitales y residencias
- Sparatoria a Washington, un morto e quattro feriti: uomo armato barricato in un appartamento e spara contro la polizia
- Roma, perseguita per mesi una 15enne e la palpeggia e aggredisce sulla metro: arrestato un 39enne
- Aviões de carga e de passageiros colidem no aeroporto de Miami
- Goldman Sachs vê saída de Jensen Huang como negativa para Nvidia, mas mantém compra
- Le ‘vieron la cara’ a la AFAC: Diputados aprueban presupuesto de solo 875 mdp para 2027
- Opinion: Sonia Gandhi, 'Belonging' And Why This Story Lies On Other Side Of Politics - By Shashi Tharoor
Current
·
C2
·2026-11






