mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-01 21:20:44 +00:00
feat(desktop): compact agent activity rails
This commit is contained in:
parent
5eb9024048
commit
b780f07224
7 changed files with 195 additions and 44 deletions
|
|
@ -1751,7 +1751,7 @@ async function assertInlineCommandApproval(fileName) {
|
|||
);
|
||||
}
|
||||
|
||||
if (snapshot.cardRect.width < 360 || snapshot.cardRect.height > 180) {
|
||||
if (snapshot.cardRect.width < 360 || snapshot.cardRect.height > 130) {
|
||||
throw new Error(
|
||||
`Inline approval card geometry is unexpected: ${JSON.stringify(
|
||||
snapshot.cardRect,
|
||||
|
|
@ -1898,7 +1898,7 @@ async function assertResolvedToolActivity(fileName) {
|
|||
);
|
||||
}
|
||||
|
||||
if (snapshot.cardRect.width < 360 || snapshot.cardRect.height > 240) {
|
||||
if (snapshot.cardRect.width < 360 || snapshot.cardRect.height > 180) {
|
||||
throw new Error(
|
||||
`Resolved tool activity geometry is unexpected: ${JSON.stringify(
|
||||
snapshot.cardRect,
|
||||
|
|
@ -1906,7 +1906,7 @@ async function assertResolvedToolActivity(fileName) {
|
|||
);
|
||||
}
|
||||
|
||||
if (snapshot.cardRect.height > 175) {
|
||||
if (snapshot.cardRect.height > 130) {
|
||||
throw new Error(
|
||||
`Resolved tool activity should be compact, not card-like: ${JSON.stringify(
|
||||
snapshot.cardRect,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue