Reading
结构重要性
也就是说前4个是主要研究对象,后面更多是ui
src/agent/- Loop, hooks, agent tools, prompts, context management, run recordssrc/llm/- Providers, model profiles, usage, retries, overflow detectionsrc/store/- IndexedDB schema and stores, settings, keyssrc/extension/- Wiring in the worker: RunManager, PromptBroker, permissions, TabScope, downloads, notificationssrc/ui/- Shared components, theme, the i18n runtime and the catalogues (locales/: English, Simplified and Traditional Chinese)src/side-panel/- The chat UIsrc/options/- The settings UI
