- Added locale support in various components, including the Assistant's execution context and agent tools, to improve internationalization. - Updated the `pickNodeByFilter` function to include a fallback mechanism for host_exec nodes when no container nodes are available. - Introduced a new `agent_reference` tool for downloading agent source code for read-only study, alongside updates to the `agent_download` tool to restrict downloads to the 'smith' namespace. - Enhanced documentation and tests to reflect the new functionalities and ensure robust locale extraction and handling.
16 lines
565 B
JSON
16 lines
565 B
JSON
{
|
|
"name": "agent_reference",
|
|
"description": "Download agent source code from the host into the .references/ directory for read-only study. Any agent across all namespaces can be downloaded. Use this to study existing agent patterns before building your own.",
|
|
"process": "tools.agent_reference",
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"description": "Agent ID in dot notation (e.g. 'yao.slides', 'yao.keeper')"
|
|
}
|
|
},
|
|
"required": ["id"]
|
|
},
|
|
"x-process-args": ["$args.id"]
|
|
}
|