Fix skill discovery and listing with scoped skill creation
This commit is contained in:
@@ -113,6 +113,7 @@ impl From<api::message::tool_call::ApplyFileDiffs> for AIAgentActionType {
|
||||
.map(|new_file| FileEdit::Create {
|
||||
file: new_file.file_path.none_if_default(),
|
||||
content: new_file.content.none_if_default(),
|
||||
creation_scope: None,
|
||||
});
|
||||
|
||||
AIAgentActionType::RequestFileEdits {
|
||||
|
||||
@@ -937,6 +937,8 @@ pub enum FileEdit {
|
||||
Create {
|
||||
file: Option<String>,
|
||||
content: Option<String>,
|
||||
/// When present, create exclusively within this canonical local scope at save time.
|
||||
creation_scope: Option<PathBuf>,
|
||||
},
|
||||
/// Delete an existing file.
|
||||
Delete { file: Option<String> },
|
||||
|
||||
Reference in New Issue
Block a user