refactor: remove AIEOS identity support
- Remove src/identity/ directory (aieos.rs, mod.rs) - Remove IdentityConfig struct and identity field from Config - Remove build_system_prompt_with_identity and load_aieos_from_config functions - Remove AIEOS-related imports from channels/mod.rs - Remove identity module declarations from main.rs and lib.rs - Remove AIEOS tests from config/schema.rs - Keep OpenClaw markdown-based identity as the only supported format This simplifies the codebase by removing unused AIEOS complexity. All 832 tests pass.
This commit is contained in:
parent
03dd9712ca
commit
5476195a7f
8 changed files with 262 additions and 2674 deletions
|
|
@ -295,18 +295,19 @@ pub fn handle_command(command: super::SkillCommands, workspace_dir: &Path) -> Re
|
|||
let dest = skills_path.join(name);
|
||||
|
||||
#[cfg(unix)]
|
||||
std::os::unix::fs::symlink(&src, &dest)?;
|
||||
{
|
||||
std::os::unix::fs::symlink(&src, &dest)?;
|
||||
println!(
|
||||
" {} Skill linked: {}",
|
||||
console::style("✓").green().bold(),
|
||||
dest.display()
|
||||
);
|
||||
}
|
||||
#[cfg(not(unix))]
|
||||
{
|
||||
// On non-unix, copy the directory
|
||||
anyhow::bail!("Symlink not supported on this platform. Copy the skill directory manually.");
|
||||
}
|
||||
|
||||
println!(
|
||||
" {} Skill linked: {}",
|
||||
console::style("✓").green().bold(),
|
||||
dest.display()
|
||||
);
|
||||
}
|
||||
|
||||
Ok(())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue