arcade-mcp/libs/tests/cli
Pascal Matthiesen 40e05af27c
fix: claude, provide more options and remove apikey auth (#825)
<!-- CURSOR_SUMMARY -->
> [!NOTE]
> **Medium Risk**
> Medium risk because it changes how `arcade connect` authenticates
(removes API-key flow) and rewrites user config files via new
atomic/backup logic across multiple clients/formats (JSON/TOML).
Mis-shaped entries or write/permission issues could break client
integrations despite added tests.
> 
> **Overview**
> `arcade connect` is **OAuth-only** now: the `--api-key` flag and
project API-key creation flow were removed, and connect always writes
gateway configs without bearer tokens.
> 
> Client support was expanded and corrected: Claude is now targeted as
`claude-code` (writing to `~/.claude.json`), and new gateway config
writers were added for `codex` (TOML upsert in `~/.codex/config.toml`),
`opencode`, and `gemini`, while Cursor’s remote entry format was changed
to match docs (no `type`).
> 
> All config updates now use **atomic writes with a single `.bak`
backup** and (on POSIX) tighten permissions to protect tokens; extensive
tests were added to pin each client’s documented config shape and ensure
unrelated existing config content is preserved and not corrupted on
failures.
> 
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
19784e9311a00ed5dcedc7f27373ee9b0b842cf8. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
2026-04-24 10:31:28 -07:00
..
deploy Fix deploy timeout and improve error messages (#770) 2026-03-06 10:03:48 -03:00
usage [TOO-326] Windows papercuts (#768) 2026-02-25 13:18:16 -03:00
test_authn_callback.py [TOO-326] Windows papercuts (#768) 2026-02-25 13:18:16 -03:00
test_capture_formatters.py Fixing bug with multiple providers + stats for multiple runs (#752) 2026-02-09 14:25:28 -03:00
test_configure.py fix: claude, provide more options and remove apikey auth (#825) 2026-04-24 10:31:28 -07:00
test_connect.py fix: claude, provide more options and remove apikey auth (#825) 2026-04-24 10:31:28 -07:00
test_console_encoding.py [TOO-326] Windows papercuts (#768) 2026-02-25 13:18:16 -03:00
test_cross_platform.py [TOO-326] Windows papercuts (#768) 2026-02-25 13:18:16 -03:00
test_dashboard.py [TOO-326] Windows papercuts (#768) 2026-02-25 13:18:16 -03:00
test_display.py [TOO-326] Windows papercuts (#768) 2026-02-25 13:18:16 -03:00
test_eval_paths.py [TOO-326] Windows papercuts (#768) 2026-02-25 13:18:16 -03:00
test_evals_runner.py Fixing bug with multiple providers + stats for multiple runs (#752) 2026-02-09 14:25:28 -03:00
test_formatter_edge_cases.py Fixing bug with multiple providers + stats for multiple runs (#752) 2026-02-09 14:25:28 -03:00
test_formatters.py Fixing bug with multiple providers + stats for multiple runs (#752) 2026-02-09 14:25:28 -03:00
test_main_evals.py Fixing bug with multiple providers + stats for multiple runs (#752) 2026-02-09 14:25:28 -03:00
test_new_cli.py Update arcade new --full (#805) 2026-03-27 14:22:32 -07:00
test_secret.py [TOO-326] Windows papercuts (#768) 2026-02-25 13:18:16 -03:00
test_server_logs.py [TOO-326] Windows papercuts (#768) 2026-02-25 13:18:16 -03:00
test_show.py MCP Local (#563) 2025-09-25 15:28:15 -07:00
test_stdio_signal.py [TOO-326] Windows papercuts (#768) 2026-02-25 13:18:16 -03:00
test_update.py Add background update check & notification for arcade CLI (#800) 2026-04-02 11:30:55 -07:00
test_utils.py feat: Support multiple orgs & projects in Arcade CLI (#717) 2025-12-11 12:58:55 -08:00
test_utils_multi_provider.py [TOO-326] Windows papercuts (#768) 2026-02-25 13:18:16 -03:00
test_windows_subprocess.py Left over fixes for Windows Papercut PR (#781) 2026-02-26 13:24:15 -03:00