Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions console/src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1173,6 +1173,12 @@
},
"deny": {
"description": "Deny the pending tool action"
},
"undo": {
"description": "Undo the most recent workspace file change"
},
"redo": {
"description": "Reapply the most recently undone workspace file change"
}
},
"attachments": {
Expand Down
6 changes: 6 additions & 0 deletions console/src/locales/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -1087,6 +1087,12 @@
},
"deny": {
"description": "保留中のツール操作を拒否"
},
"undo": {
"description": "直近のワークスペースファイル変更を取り消し"
},
"redo": {
"description": "直近で取り消したワークスペースファイル変更を再適用"
}
},
"attachments": {
Expand Down
6 changes: 6 additions & 0 deletions console/src/locales/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -1113,6 +1113,12 @@
},
"deny": {
"description": "Отклонить ожидающее действие инструмента"
},
"undo": {
"description": "Отменить последнее изменение файлов рабочего пространства"
},
"redo": {
"description": "Повторно применить последнее отмененное изменение файлов рабочего пространства"
}
},
"attachments": {
Expand Down
6 changes: 6 additions & 0 deletions console/src/locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -1147,6 +1147,12 @@
},
"deny": {
"description": "拒绝待执行的工具操作"
},
"undo": {
"description": "撤销最近一次工作区文件变更"
},
"redo": {
"description": "重新应用最近一次已撤销的工作区文件变更"
}
},
"attachments": {
Expand Down
10 changes: 10 additions & 0 deletions console/src/pages/Chat/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -708,6 +708,16 @@ export default function ChatPage() {
value: "deny",
description: t("chat.commands.deny.description"),
},
{
command: "/undo",
value: "undo",
description: t("chat.commands.undo.description"),
},
{
command: "/redo",
value: "redo",
description: t("chat.commands.redo.description"),
},
];

const handleBeforeSubmit = async () => {
Expand Down
4 changes: 4 additions & 0 deletions src/qwenpaw/app/rollback/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# -*- coding: utf-8 -*-
from .service import SnapshotService, RollbackEntry

__all__ = ["SnapshotService", "RollbackEntry"]
Loading
Loading