fix(desktop): component cleanup + dead code removal + DeerFlow ai-elements
- ChatArea: DeerFlow ai-elements annotations for accessibility - Conversation: remove unused Context, simplify message rendering - Delete dead modules: audit-logger.ts, gateway-reconnect.ts - Replace console.log with structured logger across components - Add idb dependency for IndexedDB persistence - Fix kernel-skills type safety improvements
This commit is contained in:
@@ -27,7 +27,7 @@ import {
|
||||
type IdentityChangeProposal as Proposal,
|
||||
type IdentitySnapshot,
|
||||
} from '../lib/intelligence-client';
|
||||
import { useChatStore } from '../store/chatStore';
|
||||
import { useConversationStore } from '../store/chat/conversationStore';
|
||||
import { Button, Badge } from './ui';
|
||||
|
||||
// === Error Parsing Utility ===
|
||||
@@ -306,7 +306,7 @@ function HistoryItem({
|
||||
// === Main Component ===
|
||||
|
||||
export function IdentityChangeProposalPanel() {
|
||||
const { currentAgent } = useChatStore();
|
||||
const currentAgent = useConversationStore((s) => s.currentAgent);
|
||||
const [proposals, setProposals] = useState<Proposal[]>([]);
|
||||
const [snapshots, setSnapshots] = useState<IdentitySnapshot[]>([]);
|
||||
const [loading, setLoading] = useState(true);
|
||||
|
||||
Reference in New Issue
Block a user