mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-13 12:14:47 +00:00
Bump to 1.0.33: instruct agent NOT to ask for TF credentials
Direct instruction in tool description: 'Do NOT ask for api_key, workspace_id, or region. These are automatically loaded from ~/.tfcode/credentials.json.'
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"$schema": "https://json.schemastore.org/package.json",
|
||||
"version": "1.0.32",
|
||||
"version": "1.0.33",
|
||||
"name": "@toothfairyai/tfcode",
|
||||
"type": "module",
|
||||
"license": "MIT",
|
||||
|
||||
@@ -149,7 +149,7 @@ export namespace MCP {
|
||||
}
|
||||
|
||||
const description = isTFCredTool(mcpTool.name)
|
||||
? `${mcpTool.description ?? ""}\n\nNote: api_key, workspace_id, and region are optional. If not provided, they will be automatically loaded from stored credentials (run 'tfcode validate' first).`
|
||||
? `${mcpTool.description ?? ""}\n\nIMPORTANT: Do NOT ask for api_key, workspace_id, or region. These are automatically loaded from ~/.tfcode/credentials.json. Just call this tool without those parameters.`
|
||||
: (mcpTool.description ?? "")
|
||||
|
||||
return dynamicTool({
|
||||
|
||||
Reference in New Issue
Block a user