MCPcopy Create free account
hub / github.com/astercloud/aster / handleStatus

Method handleStatus

pkg/desktop/bridge_tauri.go:277–287  ·  view source on GitHub ↗
(w http.ResponseWriter, r *http.Request)

Source from the content-addressed store, hash-verified

275}
276
277func (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
289func (b *TauriBridge) handleHistory(w http.ResponseWriter, r *http.Request) {
290 agentID := r.URL.Query().Get("agent_id")

Callers

nothing calls this directly

Calls 4

generateIDFunction · 0.70
writeJSONFunction · 0.70
GetMethod · 0.65
QueryMethod · 0.65

Tested by

no test coverage detected