✨ feat(vscode): 问 AI 输入框旁边能选 Claude profile,记住上次选的,问答灰字写用哪个 profile 答的

This commit is contained in:
cruldra committed 2026-09-26 22:28:29 +08:00
1 parent 1eb42d8389
commit 9efae1f496
20 files changed
+397 -63

No files matched your search

@@ -661,6 +661,28 @@ body:is(.vscode-light, .vscode-high-contrast-light) [data-badge] { --kind: var(-
.cr-qa-input .cr-tool:disabled {
opacity: 0.4;
}
/* 发送按钮前面的 profile 下拉:只占名字那么宽,长名字截断,输入框还是主角;字号同弹出的选项(弹层按它量宽) */
.cr-qa-input .cr-qa-profile {
height: 20px;
max-width: 140px;
flex-shrink: 0;
padding: 0 4px 0 6px;
border-radius: 4px;
color: var(--vscode-descriptionForeground);
font-size: 12px;
}
.cr-qa-input .cr-qa-profile:hover {
background: var(--vscode-toolbar-hoverBackground);
color: var(--vscode-foreground);
}
.cr-qa-input .cr-qa-profile[aria-expanded="true"] {
background: var(--vscode-toolbar-activeBackground);
color: var(--vscode-foreground);
}
.cr-qa-input .cr-qa-profile:focus-visible {
outline: 1px solid var(--vscode-focusBorder);
outline-offset: -1px;
}
.cr-qa-summary {
display: inline-flex;
width: fit-content;