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:
Gab
2026-04-12 17:12:29 +10:00
parent 5dac031628
commit 4e6e1241ae
2 changed files with 2 additions and 2 deletions

View File

@@ -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({