chore: bump version to 0.3.20 + metona-toast 迁移至 @metona-team 私有源

This commit is contained in:
2026-07-23 21:42:14 +08:00
parent 56bd3a46d7
commit 983c52b0e4
16 changed files with 141 additions and 78 deletions
+2 -2
View File
@@ -83,7 +83,7 @@ export function useKeyboardShortcuts(): void {
}).catch((err) => {
console.error('[KeyboardShortcuts]', err);
// 与 Sidebar/CommandPalette 入口对齐:失败时弹 toast 提示用户
import('metona-toast').then((mod) => mod.default.error('创建会话失败')).catch(() => {});
import('@metona-team/metona-toast').then((mod) => mod.default.error('创建会话失败')).catch(() => {});
});
}
e.preventDefault();
@@ -171,7 +171,7 @@ export function useKeyboardShortcuts(): void {
navigator.clipboard.writeText(lastAssistant.content).catch((err) => {
console.error('[KeyboardShortcuts]', err);
// 复制是用户主动操作,失败时必须有反馈
import('metona-toast').then((mod) => mod.default.error('复制失败')).catch(() => {});
import('@metona-team/metona-toast').then((mod) => mod.default.error('复制失败')).catch(() => {});
});
}
e.preventDefault();