agent update!

This commit is contained in:
2026-08-07 10:14:19 +09:00
parent 521d11ffa6
commit 45a13718e6
10 changed files with 217 additions and 2 deletions
+8
View File
@@ -160,6 +160,14 @@ export function createBridgeApi(config: AgentConfig): Hono {
}
});
app.post("/emergency-stop", async (c) => {
try {
return c.json(await bridgeJson(config, "/emergency_stop", { method: "POST" }));
} catch (error) {
return errorJson(error, "Failed to emergency stop robot.");
}
});
app.post("/reset", async (c) => {
try {
return c.json(await bridgeJson(config, "/reset", { method: "POST" }));