[Feature]: DeepSeek integration via webdriver
Pre-submission Checklist
- [x] I have searched existing issues and discussions
- [x] I have read the documentation
- [x] This is a feature request, not a bug report
Problem Statement
DeepSeek gives free users via https://chat.deepseek.com/ lots of free messages with a big context and a comparatively good model, but it's not yet implemented as a provider.
Proposed Solution
I propose a headless webdriver implementation that logs the user in with their credentials and then starts and manages chats, like with the other providers. Optionally, the user should be able to toggle DeepThink on and off.
Which area would this affect?
API / Provider Integration
Alternatives Considered
No response
Examples / References
No response
Would you be willing to contribute?
None
Additional Context
No response
Automated Triage Summary
| Field | Value |
|---|---|
| Classification | enhancement |
| Priority | medium |
| Completeness | 90% |
Analysis: Feature request to integrate DeepSeek via a headless webdriver is feasible and consistent with the codebase patterns. The repository already lists 'deepseek' in the provider registry and UI, but there is no native provider implementation (no CLIO::Providers::DeepSeek module). APIManager supports native providers via provider_module/native_api (see _get_native_provider). To implement this feature: add CLIO::Providers::DeepSeek that implements CLIO::Providers::Base interface, handle web authentication and streaming (SSE or polling) through a headless browser adapter, mark the provider as native in Providers.pm (provider_module + native_api => 1), and make the feature optional/experimental with clear docs and an external-dependency note (webdriver + Perl bindings). Estimated impact is moderate but non-blocking; recommend ready-for-review so an implementer can author the provider module and update Providers.pm and docs. Confidence: medium.
Root Cause Analysis
Confidence: medium
Relevant files:
lib/CLIO/Providers.pmlib/CLIO/Providers/Base.pmlib/CLIO/Core/APIManager.pmlib/CLIO/Providers/Anthropic.pmlib/CLIO/UI/Chat.pm
Relevant functions:
_get_native_provider (CLIO::Core::APIManager)build_request (CLIO::Providers::Base / provider implementations)parse_stream_event (CLIO::Providers::Base / provider implementations)get_provider / PROVIDERS registry (CLIO::Providers)
The repository already contains a Providers registry entry for 'deepseek' (lib/CLIO/Providers.pm) and UI mappings referencing 'deepseek' (lib/CLIO/UI/Chat.pm), but there is no native provider module implementing DeepSeek-specific behavior (e.g., lib/CLIO/Providers/DeepSeek.pm is absent). APIManager has a native provider loading path (_get_native_provider) that expects a provider_module when native_api is enabled. To support the proposed webdriver-based integration, the project should add a CLIO::Providers::DeepSeek module (or a dedicated webdriver adapter) that implements the provider interface (build_request, parse_stream_event, convert_messages, convert_tool, etc.) and register it in Providers.pm via provider_module + native_api => 1 (probably experimental). The missing piece is an implementation that automates web login and message streaming; currently the codebase only has OpenAI-compatible plumbing and a pattern/example (Anthropic) for native implementations. Confidence: medium.
Affected Areas
- lib/CLIO/Providers.pm (provider registry)
- lib/CLIO/Providers/Base.pm (provider interface)
- lib/CLIO/Core/APIManager.pm (native provider loading & streaming orchestration)
- lib/CLIO/UI/Chat.pm (UI mentions / display of DeepSeek provider)
- new: lib/CLIO/Providers/DeepSeek.pm (recommended)
This is an automated analysis. A maintainer will review shortly.
I don't think we'll implement this one, we should stick to API access.