From 7a28e7f9882463a710f52623752ba1ffcd11b6d0 Mon Sep 17 00:00:00 2001 From: Evan Tahler Date: Fri, 20 Feb 2026 08:31:18 -0800 Subject: [PATCH] Remove secret hints from CLI (#774) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary - Removes the `Hint` column from `arcade secret list` table output — secret hints were removed from the API in [monorepo#322](https://github.com/ArcadeAI/monorepo/pull/322), causing a `KeyError: 'hint'` crash - Adds a test for `print_secret_table` with populated secrets (verifying no hint column) - Bumps version from 1.10.0 → 1.11.0 Closes TOO-444 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.6 --- libs/arcade-cli/arcade_cli/secret.py | 2 -- libs/tests/cli/test_secret.py | 26 ++++++++++++++++++++++++++ pyproject.toml | 2 +- 3 files changed, 27 insertions(+), 3 deletions(-) diff --git a/libs/arcade-cli/arcade_cli/secret.py b/libs/arcade-cli/arcade_cli/secret.py index 47a72cfd..23dadea4 100644 --- a/libs/arcade-cli/arcade_cli/secret.py +++ b/libs/arcade-cli/arcade_cli/secret.py @@ -166,7 +166,6 @@ def print_secret_table(secrets: list[dict]) -> None: table.add_column("Key", style="cyan") table.add_column("Type", style="green") table.add_column("Description", style="green") - table.add_column("Hint", style="green") table.add_column("Last Accessed", style="green") table.add_column("Created At", style="green") for secret in secrets: @@ -174,7 +173,6 @@ def print_secret_table(secrets: list[dict]) -> None: secret["key"], secret["binding"]["type"], secret["description"], - "..." + secret["hint"] if secret["hint"] else "-", secret["last_accessed_at"] if secret["last_accessed_at"] else "Never", secret["created_at"], ) diff --git a/libs/tests/cli/test_secret.py b/libs/tests/cli/test_secret.py index c8b4f666..2ef4ca05 100644 --- a/libs/tests/cli/test_secret.py +++ b/libs/tests/cli/test_secret.py @@ -24,6 +24,32 @@ class TestPrintSecretTable: captured = capsys.readouterr() assert "Tool Secrets" in captured.out + def test_print_secret_table_with_secrets(self, capsys): + """Test printing a table with secrets (no hint field).""" + secrets = [ + { + "key": "MY_API_KEY", + "binding": {"type": "env"}, + "description": "API key for testing", + "last_accessed_at": "2026-01-15T10:00:00Z", + "created_at": "2026-01-01T00:00:00Z", + }, + { + "key": "DB_PASSWORD", + "binding": {"type": "env"}, + "description": "Database password", + "last_accessed_at": None, + "created_at": "2026-01-02T00:00:00Z", + }, + ] + print_secret_table(secrets) + + captured = capsys.readouterr() + assert "MY_API_KEY" in captured.out + assert "DB_PASSWORD" in captured.out + assert "Never" in captured.out + assert "Hint" not in captured.out + class TestLoadEnvFile: """Tests for load_env_file function.""" diff --git a/pyproject.toml b/pyproject.toml index 67cb7ce7..2a6a8ad8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "arcade-mcp" -version = "1.10.0" +version = "1.11.0" description = "Arcade.dev - Tool Calling platform for Agents" readme = "README.md" license = { file = "LICENSE" }