fix(release): 发布回归 - 修复资源引用保护并校准验证合同

This commit is contained in:
ddcat666
2026-09-26 17:05:36 +08:00
parent e94375089e
commit 331609e6ab
19 changed files with 363 additions and 105 deletions

View File

@@ -140,9 +140,8 @@ describe("canvas resource mention editor", () => {
expect(component).toContain('chip.style.setProperty("--canvas-skill-mention-color", skillMentionColor(reference))');
expect(chat).toContain('sendOnEnter={canSubmit ? "both" : false}');
expect(chat).toContain("agent-composer-resize-handle");
expect(chat).toContain("Enter 发送 · Shift+Enter 换行");
expect(css).toContain(".agent-composer-send-hint-full");
expect(css).toContain(".agent-composer-send-hint-compact");
expect(chat).toContain("Enter 或 ⌘/Ctrl+Enter 发送");
expect(chat).toContain('title={canStop ? "插话:Agent 下一次开口时看到它"');
expect(css).toContain(".agent-composer-prompt-scroll");
expect(css).not.toContain(".agent-tool-row:hover");
});