arcade-mcp/libs/arcade-cli/arcade_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
..
formatters Fixing bug with multiple providers + stats for multiple runs (#752) 2026-02-09 14:25:28 -03:00
templates Add [tool.uv] exclude-newer config to arcade new's full template (#809) 2026-04-08 11:54:12 -07:00
usage [TOO-326] Windows papercuts (#768) 2026-02-25 13:18:16 -03:00
__init__.py 🏗️ Restructure: Multi-Package Architecture + uv Migration (#412) 2025-06-11 16:48:17 -07:00
authn.py [TOO-326] Windows papercuts (#768) 2026-02-25 13:18:16 -03:00
config.py [TOO-326] Windows papercuts (#768) 2026-02-25 13:18:16 -03:00
configure.py fix: claude, provide more options and remove apikey auth (#825) 2026-04-24 10:31:28 -07:00
connect.py fix: claude, provide more options and remove apikey auth (#825) 2026-04-24 10:31:28 -07:00
console.py [TOO-326] Windows papercuts (#768) 2026-02-25 13:18:16 -03:00
constants.py feat: Support multiple orgs & projects in Arcade CLI (#717) 2025-12-11 12:58:55 -08:00
deploy.py Suppress 500 during deployment warm-up period (#810) 2026-04-07 11:51:40 -07:00
display.py [TOO-326] Windows papercuts (#768) 2026-02-25 13:18:16 -03:00
evals_runner.py Fixing bug with multiple providers + stats for multiple runs (#752) 2026-02-09 14:25:28 -03:00
main.py fix: claude, provide more options and remove apikey auth (#825) 2026-04-24 10:31:28 -07:00
new.py arcade new <name> --full generates an MCPApp (#787) 2026-03-05 17:50:10 -08:00
org.py [TOO-326] Windows papercuts (#768) 2026-02-25 13:18:16 -03:00
project.py [TOO-326] Windows papercuts (#768) 2026-02-25 13:18:16 -03:00
secret.py [TOO-326] Windows papercuts (#768) 2026-02-25 13:18:16 -03:00
server.py [TOO-326] Windows papercuts (#768) 2026-02-25 13:18:16 -03:00
show.py CLI Usage (#593) 2025-10-03 10:15:08 -07:00
update.py Add background update check & notification for arcade CLI (#800) 2026-04-02 11:30:55 -07:00
utils.py Improve .env discovery (#737) 2026-02-25 23:20:28 -08:00