• v0.3.0 c1c8a37d0d

    fix: remove actor/followers/following routes from router()

    GKaszewski released this 2026-05-29 01:28:17 +00:00 | 9 commits to master since this release

    These paths need content negotiation in real apps (AP JSON vs UI JSON).
    k-ap can't serve the UI half, so the consuming app owns the route and
    calls actor_json/followers_collection_json/following_collection_json
    to produce the AP response.

    The route conflict caused a panic when thoughts mounted its own
    /users/{username}/... routes alongside service.router().

    router() now registers only what k-ap fully owns:

    • POST /inbox, POST /users/{id}/inbox (signature verification)
    • GET /users/{id}/outbox
    • GET /users/{id}/featured
    • GET /.well-known/webfinger, nodeinfo, /nodeinfo/2.0
    Downloads