Reading

结构重要性

也就是说前4个是主要研究对象,后面更多是ui

  • src/agent/ - Loop, hooks, agent tools, prompts, context management, run records
  • src/llm/ - Providers, model profiles, usage, retries, overflow detection
  • src/store/ - IndexedDB schema and stores, settings, keys
  • src/extension/ - Wiring in the worker: RunManager, PromptBroker, permissions, TabScope, downloads, notifications
  • src/ui/ - Shared components, theme, the i18n runtime and the catalogues (locales/: English, Simplified and Traditional Chinese)
  • src/side-panel/ - The chat UI
  • src/options/ - The settings UI