arcade-mcp/libs/tests
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
..
arcade_evals Adding MCP Servers supports to Arcade Evals (#689) 2026-01-07 20:26:23 -03:00
arcade_mcp_server TOO-627: Improve error messages for agents and Datadog (#814) 2026-04-13 20:10:51 -03:00
cli fix: claude, provide more options and remove apikey auth (#825) 2026-04-24 10:31:28 -07:00
core feat: add NetworkTransportError for no-response HTTP failures (#823) 2026-04-16 18:29:13 -03:00
mcp MCP Local (#563) 2025-09-25 15:28:15 -07:00
sdk Improve typed httpx error mapping and adapter guidance (#820) 2026-04-20 20:32:17 -03:00
tool TOO-627: Improve error messages for agents and Datadog (#814) 2026-04-13 20:10:51 -03:00
worker TOO-627: Improve error messages for agents and Datadog (#814) 2026-04-13 20:10:51 -03:00
__init__.py 🏗️ Restructure: Multi-Package Architecture + uv Migration (#412) 2025-06-11 16:48:17 -07:00
conftest.py Improve .env discovery (#737) 2026-02-25 23:20:28 -08:00