feat: add image generation tool and WebUI mode

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Xubin RenandCursor authored and Xubin Ren committed 2026-05-08 20:06:23 +08:00
1 parent 3a2f47d720
commit e936ed48bd
45 files changed
+2979 -89

No files matched your search

+12
View File
@@ -84,6 +84,18 @@ describe("webui API helpers", () => {
ok: true,
json: async () => ({
commands: [
{
command: "/stop",
title: "Stop current task",
description: "Cancel the active task.",
icon: "square",
},
{
command: "/restart",
title: "Restart nanobot",
description: "Restart the bot process.",
icon: "rotate-cw",
},
{
command: "/history",
title: "Show conversation history",