Update AI agent, settings, and terminal modules

- Update AI agent conversation, task, and prompt builder
- Add notebooks execution module for blocklist actions
- Update Bedrock and OpenAI response translators
- Refactor settings modules across multiple subsystems
- Update terminal settings and window settings
- Update drive settings and search command settings
This commit is contained in:
Ryan Ward
2026-07-01 14:30:04 -05:00
parent 57c843d1de
commit 2f64909469
49 changed files with 683 additions and 325 deletions
+10 -1
View File
@@ -613,12 +613,21 @@ impl ConvertAPIToolCallToAIAgentAction for api::message::ToolCall {
return Err(ToolToAIAgentActionError::MissingTool);
};
// Detect notebook tool name encoded in tool_call_id prefix.
let (effective_tool_call_id, tool_name) =
if let Some(stripped) = self.tool_call_id.strip_prefix("notebook::") {
(stripped.to_string(), Some("notebook".to_string()))
} else {
(self.tool_call_id.clone(), None)
};
let create_standard_action = |action: AIAgentActionType| {
Ok(MaybeAIAgentAction::Action(AIAgentAction {
id: self.tool_call_id.clone().into(),
id: effective_tool_call_id.clone().into(),
task_id: params.task_id.clone(),
action,
requires_result: true,
tool_name: tool_name.clone(),
}))
};