Merge branch 'feat/support-agent-sandbox' into sandboxed-agent-rebase

This commit is contained in:
Novice
2026-03-23 20:19:16 +08:00
48 changed files with 322 additions and 2149 deletions

View File

@ -135,11 +135,11 @@ class CommandNode(Node[CommandNodeData]):
*,
graph_config: Mapping[str, Any],
node_id: str,
node_data: Mapping[str, Any],
node_data: CommandNodeData,
) -> Mapping[str, Sequence[str]]:
_ = graph_config
typed_node_data = CommandNodeData.model_validate(node_data)
typed_node_data = node_data
selectors: list[VariableSelector] = []
selectors += list(variable_template_parser.extract_selectors_from_template(typed_node_data.command))

View File

@ -157,10 +157,10 @@ class FileUploadNode(Node[FileUploadNodeData]):
*,
graph_config: Mapping[str, Any],
node_id: str,
node_data: Mapping[str, Any],
node_data: FileUploadNodeData,
) -> Mapping[str, Sequence[str]]:
_ = graph_config
typed_node_data = FileUploadNodeData.model_validate(node_data)
typed_node_data = node_data
return {node_id + ".files": typed_node_data.variable_selector}
@staticmethod