pub struct Migration;Implementations§
Source§impl Migration
impl Migration
Sourcepub fn import_claude_code(path: &Path) -> Result<MigrationResult>
pub fn import_claude_code(path: &Path) -> Result<MigrationResult>
Import from Claude Code.
Reads:
~/.claude/CLAUDE.md→ user-level Sparrow instruction~/.claude/commands/*.md→ Sparrow slash commands~/.claude/agents/*.md→ Sparrow SOUL agents~/.claude/settings.json→ Sparrow config (permissions, env)<cwd>/.claude/CLAUDE.md→ project-level instruction~/.claude/mcp.jsonor.mcp.json→ Sparrow MCP servers
Sourcepub fn import_codex(path: &Path) -> Result<MigrationResult>
pub fn import_codex(path: &Path) -> Result<MigrationResult>
Import from OpenAI Codex CLI.
Reads:
~/.codex/config.json/codex.yaml→ provider/model configAGENTS.md→ agent instructions
Sourcepub fn import_opencode(path: &Path) -> Result<MigrationResult>
pub fn import_opencode(path: &Path) -> Result<MigrationResult>
Import from OpenCode.
Reads:
opencode.json→ provider/models/routing config~/.config/opencode/→ user-level config
pub fn import_openclaw(path: &PathBuf) -> Result<MigrationResult>
pub fn import_hermes(path: &PathBuf) -> Result<MigrationResult>
pub fn detect_installed() -> Vec<String>
Auto Trait Implementations§
impl Freeze for Migration
impl RefUnwindSafe for Migration
impl Send for Migration
impl Sync for Migration
impl Unpin for Migration
impl UnsafeUnpin for Migration
impl UnwindSafe for Migration
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more