mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-17 04:02:25 +00:00
docs: add mcp and skill session config (#106)
This commit is contained in:
parent
d236edf35c
commit
4c8d93e077
95 changed files with 10014 additions and 1342 deletions
|
|
@ -743,7 +743,13 @@ fn parse_version_output(output: &std::process::Output) -> Option<String> {
|
|||
.lines()
|
||||
.map(str::trim)
|
||||
.find(|line| !line.is_empty())
|
||||
.map(|line| line.to_string())
|
||||
.map(|line| {
|
||||
// Strip trailing metadata like " (released ...)" from version strings
|
||||
match line.find(" (") {
|
||||
Some(pos) => line[..pos].to_string(),
|
||||
None => line.to_string(),
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
fn parse_jsonl(text: &str) -> Vec<Value> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue