Phase 2: EVE SSO auth + read-only account tools
CI / lint (pull_request) Successful in 51s
CI / lint (push) Successful in 50s
CI / test (pull_request) Successful in 57s
CI / publish (pull_request) Has been skipped
CI / test (push) Successful in 57s
CI / publish (push) Successful in 50s

Add PKCE OAuth2 login against EVE SSO with an encrypted, auto-refreshing
token store, driven by `familiar login` / `status` / `logout` CLI commands.
The MCP server gains authenticated account tools:

- account_status, get_wallet, get_skills, get_skill_queue
- get_location, get_clones, get_assets (paginated)

ESI client extended with Bearer auth and X-Pages pagination. 51 tests
(auth + account mocked), coverage 88%. Client id/callback/scopes are
env-overridable; refresh token Fernet-encrypted on disk.

Closes #7

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
LatteandClaude Opus 4.8 committed 2026-06-27 18:32:47 +02:00
1 parent edf2298e20
commit eb6440db40
11 files changed
+796 -11

No files matched your search

Generated
+2
View File
@@ -424,6 +424,7 @@ name = "familiar"
version = "0.0.1"
source = { editable = "." }
dependencies = [
{ name = "cryptography" },
{ name = "fastmcp" },
{ name = "httpx" },
]
@@ -437,6 +438,7 @@ dev = [
[package.metadata]
requires-dist = [
{ name = "cryptography", specifier = ">=42.0.0" },
{ name = "fastmcp", specifier = ">=2.3.0" },
{ name = "httpx", specifier = ">=0.27.0" },
]