Skip to content

feat(clients): leaderboard in both clients and the MCP server (v0.2.48) - #244

Merged
scrimshawlife-ctrl merged 1 commit into
mainfrom
feat/leaderboard-clients
Oct 29, 2026
Merged

scrimshawlife-ctrl merged 1 commit into
mainfrom
feat/leaderboard-clients

Conversation

@scrimshawlife-ctrl

Copy link
Copy Markdown
Contributor

Summary

The 2026-10-29 gap analysis found that GET /v1/leaderboard (v0.2.48, #239) had no client surface. This adds it everywhere:

  • TypeScript: leaderboard({ window }), with the types Leaderboard, LeaderboardAgent, LeaderboardGroup and LeaderboardWindow.
  • Python: get_leaderboard(window=...), keyword-only like list_trending, with matching TypedDicts.
  • MCP: a leaderboard tool with a read-only annotation and an optional window enum. Its description says declarations aren't verified.

Each one rejects a window other than 7d, 30d or all before any request. The READMEs and the spec's v0.2.48 L1 note the new surface. It reaches installs only in the next client release (a 0.1.3 bump and tag, done separately).

Checks

  • TypeScript client: 75 tests, typecheck and build
  • MCP: 40 tests, typecheck and build
  • Python: 138 passed and 2 skipped on 3.9, 3.12 and 3.13; mypy --strict clean
  • Root npm test: 605 tests

🤖 Generated with Claude Code

The gap analysis found GET /v1/leaderboard had no client surface. Adds
leaderboard({ window }) to the TypeScript client, get_leaderboard(window=)
to the Python client, and the MCP tool leaderboard, with typed results
(Leaderboard, LeaderboardAgent, LeaderboardGroup). Each checks window
(7d, 30d, all) before any request. Ships in the next client release.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-29T08:01:59.450622Z d359cf7 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@scrimshawlife-ctrl
scrimshawlife-ctrl merged commit df1722b into main Oct 29, 2026
10 checks passed
@scrimshawlife-ctrl
scrimshawlife-ctrl deleted the feat/leaderboard-clients branch October 29, 2026 08:06
@scrimshawlife-ctrl scrimshawlife-ctrl mentioned this pull request Oct 29, 2026
4 tasks done
scrimshawlife-ctrl added a commit that referenced this pull request Oct 29, 2026
Bumps the TypeScript client, the MCP server, the Python client, and
CLIENTS_VERSION to 0.1.3, with the lockfiles and the README install
steps. 0.1.3 carries the v0.2.48 leaderboard: leaderboard() and
get_leaderboard() in the clients and the MCP tool leaderboard (#244).
The clients-v0.1.3 tag goes on main right after this deploys, because
the pages link the release CLIENTS_VERSION names.

Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant