mirror of
https://github.com/logancyang/obsidian-copilot.git
synced 2026-07-22 07:50:24 +00:00
Drop unused runtime deps (huggingface, koa, langchain, react-markdown, react-syntax-highlighter, next-i18next, p-queue, trie-search, sse, codemirror-companion-extension, tabler/icons-react, etc.) and demote build-only packages to devDependencies. Delete dead source files (quick-ask modes, ListPromptModal, NewChatConfirmModal, PatternMatchingModal, ContainerContext, command-ui chat-message, ui/tabs) and unused exports flagged by knip. Add `lint:dead` script backed by knip and a knip.json config. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| ChatHistoryCompactor.test.ts | ||
| ChatHistoryCompactor.ts | ||
| ChatInputContext.tsx | ||
| compactionUtils.test.ts | ||
| compactionUtils.ts | ||
| contextBlockRegistry.test.ts | ||
| contextBlockRegistry.ts | ||
| L2ContextCompactor.test.ts | ||
| L2ContextCompactor.ts | ||
| LayerToMessagesConverter.test.ts | ||
| LayerToMessagesConverter.ts | ||
| parseContextSegments.ts | ||
| PromptContextEngine.ts | ||
| PromptContextTypes.ts | ||