(self)
| 13 | |
| 14 | impl SessionProvider { |
| 15 | pub const fn id(self) -> &'static str { |
| 16 | match self { |
| 17 | Self::Cursor => "cursor", |
| 18 | Self::Claude => "claude", |
| 19 | Self::Codex => "codex", |
| 20 | Self::Vibe => "vibe", |
| 21 | Self::Cline => "cline", |
| 22 | Self::RooCode => "roo-code", |
| 23 | Self::Kilo => "kilo", |
| 24 | Self::Kiro => "kiro", |
| 25 | Self::Hermes => "hermes", |
| 26 | } |
| 27 | } |
| 28 | |
| 29 | pub fn parse(value: &str) -> Option<Self> { |
| 30 | match value { |
no outgoing calls