(w http.ResponseWriter, r *http.Request)
| 275 | } |
| 276 | |
| 277 | func (b *TauriBridge) handleStatus(w http.ResponseWriter, r *http.Request) { |
| 278 | agentID := r.URL.Query().Get("agent_id") |
| 279 | |
| 280 | resp, _ := b.handler(&FrontendMessage{ |
| 281 | ID: generateID(), |
| 282 | Type: MsgTypeGetStatus, |
| 283 | AgentID: agentID, |
| 284 | }) |
| 285 | |
| 286 | writeJSON(w, http.StatusOK, resp) |
| 287 | } |
| 288 | |
| 289 | func (b *TauriBridge) handleHistory(w http.ResponseWriter, r *http.Request) { |
| 290 | agentID := r.URL.Query().Get("agent_id") |
nothing calls this directly
no test coverage detected