✨ feat(vscode): 代码阅读预览里工作区外的库文件也能问 AI,问答记进第一个工作区文件夹,重写注释不对库文件开放

This commit is contained in:
cruldra committed 2026-10-13 21:50:54 +11:00
1 parent cecae0e244
commit 39dfd9b084
24 files changed
+463 -79

No files matched your search

+3 -1
View File
@@ -150,8 +150,10 @@ export interface QaThreadView {
*/
export interface QaMessage {
type: 'qa'
/** 不在工作区文件夹里时没地方存,问 AI、重写注释不可用 */
/** 能问 AI:问答有地方存(工作区外的库文件记在第一个工作区文件夹);没打开工作区文件夹时不能 */
available: boolean
/** 能重写注释:只有工作区里的文件,工作区外的库文件不改 */
rewritable: boolean
/** 块下面的问答,按块的记号 */
threads: QaThreadView[]
/** 这一页顶部、按路径记的问答;不挂在块上 */