From 4e6e1241ae1197d1fb5b6fa9fd6d3274c823a043 Mon Sep 17 00:00:00 2001 From: Gab Date: Sun, 12 Apr 2026 17:12:29 +1000 Subject: [PATCH] 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.' --- packages/tfcode/package.json | 2 +- packages/tfcode/src/mcp/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/tfcode/package.json b/packages/tfcode/package.json index 6b5a6052f..edd93a530 100644 --- a/packages/tfcode/package.json +++ b/packages/tfcode/package.json @@ -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", diff --git a/packages/tfcode/src/mcp/index.ts b/packages/tfcode/src/mcp/index.ts index 4770796d5..e79ea9426 100644 --- a/packages/tfcode/src/mcp/index.ts +++ b/packages/tfcode/src/mcp/index.ts @@ -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({