How zhu1090093659/deepseek-pp works
DeepSeek++ is a local-first browser extension that turns the DeepSeek website into an agent workspace. The main flow begins with a user prompt in the side panel or an explicitly invoked page action, proceeds through runtime messaging and the DeepSeek chat client, and can iterate through tools before showing a response. The README also documents distinct workspace features—memory, projects, Skills, MCP, browser control, media analysis, exports, and scheduled automation. Several implementation links are documented at product level only; unsampled source prevents asserting finer call ownership.
Main entry points: App.tsx Side panel · chat-runtime-service.ts Chat service · index.ts Tool registry · indexeddb.ts Local persistence
Components 24
User interface
- Side panel
entrypoints/sidepanel/App.tsx - Page integration
entrypoints/content.ts - Chinese and English
core/i18n/index.ts
Agent runtime
- Runtime client
entrypoints/sidepanel/runtime-client.ts - Runtime messaging
core/messaging/runtime-boundary.ts - Background handlers
entrypoints/background/runtime-handler.ts - Chat service
entrypoints/background/chat-runtime-service.ts - DeepSeek client
core/deepseek/active-client.ts - Tool execution loop
core/tool-loop/engine.ts
Agent capabilities
- Tool registry
core/tool/index.ts - Web search and fetch
core/tool/web-search.ts - MCP services
core/mcp/client.ts - Browser control
core/browser-control/service.ts - Media analysis
core/multimodal/index.ts - Code sandbox
core/sandbox/worker-runner.ts
Workspace data
- Long-term memory
core/memory/injector.ts - Project context
core/project/store.ts - Skills
core/skill/registry.ts - Scheduled automation
core/automation/scheduler.ts - Local persistence
core/persistence/indexeddb.ts - Conversation export
core/export/service.ts - Download artifacts
core/artifact/tool.ts
Other components
- User
- DeepSeek web
Connections 27
- User → Side panel: starts chat
README.md - User → Page integration: invokes page actions
README.md - Side panel → Runtime client: sends requests
- Runtime client → Runtime messaging: uses boundary
- Runtime messaging → Background handlers: dispatches commands
- Background handlers → Chat service: handles chat
- Chat service → DeepSeek client: requests completion
- DeepSeek client → DeepSeek web: streams responses
README.md - Chat service → Tool execution loop: continues tool tasks
README.md - Tool execution loop → Tool registry: runs tools
- Tool registry → Web search and fetch: offers web tools
core/tool/index.ts - Tool registry → MCP services: offers MCP tools
core/tool/index.ts - Tool registry → Browser control: offers browser actions
core/tool/index.ts - Tool registry → Code sandbox: offers code execution
core/tool/index.ts - Side panel → MCP services: configures services
README.md - Side panel → Browser control: selects target tab
README.md - Side panel → Media analysis: attaches media
README.md - Chat service → Long-term memory: uses saved context
README.md - Chat service → Project context: adds project context
README.md - Chat service → Skills: uses selected Skills
README.md - User → Scheduled automation: schedules tasks
README.md - Side panel → Conversation export: requests export
README.md - Tool registry → Download artifacts: creates downloads
core/tool/index.ts - Side panel → Chinese and English: selects language
README.md - Long-term memory → Local persistence: stores records
- Project context → Local persistence: stores records
- Scheduled automation → Local persistence: stores task state