支持Cline Agent
This commit is contained in:
@@ -32,6 +32,7 @@ fn default_enabled(agent_type: AgentType) -> bool {
|
||||
| AgentType::Gemini
|
||||
| AgentType::OpenCode
|
||||
| AgentType::OpenClaw
|
||||
| AgentType::Cline
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@ use crate::db::entities::conversation;
|
||||
use crate::db::error::DbError;
|
||||
use crate::models::{AgentType, ImportResult};
|
||||
use crate::parsers::claude::ClaudeParser;
|
||||
use crate::parsers::cline::ClineParser;
|
||||
use crate::parsers::codex::CodexParser;
|
||||
use crate::parsers::gemini::GeminiParser;
|
||||
use crate::parsers::openclaw::OpenClawParser;
|
||||
@@ -28,6 +29,7 @@ pub async fn import_local_conversations(
|
||||
(AgentType::OpenCode, Box::new(OpenCodeParser::new())),
|
||||
(AgentType::Gemini, Box::new(GeminiParser::new())),
|
||||
(AgentType::OpenClaw, Box::new(OpenClawParser::new())),
|
||||
(AgentType::Cline, Box::new(ClineParser::new())),
|
||||
];
|
||||
|
||||
let mut matched = Vec::new();
|
||||
|
||||
Reference in New Issue
Block a user