Commit Graph

8 Commits

Author SHA1 Message Date
Aletheia
e987a48689 fix: MCP protocol compliance — ACK notifications with 202, negotiate protocolVersion
Ported from the Android edition's server:

- JSON-RPC notifications (requests without an id, e.g.
  notifications/initialized) now get the bare HTTP 202 the MCP spec
  requires instead of a malformed JSON-RPC error response, which strict
  clients rejected.
- initialize echoes the client's requested protocolVersion when it is a
  version we support (2024-11-05 / 2025-03-26 / 2025-06-18) instead of
  always claiming 2025-03-26.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 20:06:27 +02:00
Aletheia
6a8bc353c5 feat: OAuth 2.0 support, server-side safety governor, multi-user auth mode
Publishes server work that shipped in the Android edition but never made
it to this repo:

- Full OAuth 2.0 flow (discovery metadata, dynamic client registration,
  authorize + token endpoints) so claude.ai remote connectors and the
  Android app can authenticate per-user instead of relying on the
  sole-phone fallback.
- Safety governor: server-side heat model (intensity x time) with
  automatic cooldown, per-user overrides via GET/POST /safety/config,
  and governor state piggybacked on heartbeat pings so relay clients
  can display it.
- SB_REQUIRE_MCP_AUTH env flag for multi-user deployments (disables the
  unauthenticated sole-phone fallback).
- requirements-phone.txt and .env.example documenting the new knobs.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 20:05:45 +02:00
Aletheia
f8a9245f90 chore: repo hygiene — gitignore, LF normalization, drop compiled bytecode and deploy tarball
The March upload accidentally included server/__pycache__/*.pyc (stale
compiled bytecode) and a prebuilt deploy tarball. The README already
instructs users to build their own bundle, so neither belongs in git.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 20:04:52 +02:00
Aletheia
dcc73f7d7b Add donation link and project credits to README 2026-04-14 18:55:39 +02:00
Aletheia
9a0d9dd172 Enhance README with project details and ethics
Added project overview, ethics, and security information to README.
2026-04-14 17:34:58 +02:00
Aletheia
b006c6c6b9 Add security warning and legitimate download links
Added a security warning to the README to inform users about potential malware forks and provide legitimate download links.
2026-04-06 20:06:21 +02:00
Aletheia
25678779a4 Add files via upload 2026-03-14 19:42:51 +01:00
Aletheia
142e83d512 Add files via upload 2026-03-14 19:40:48 +01:00