Skip to content

Add claude activity for recent GitHub contributions + unblock headless auth/plugin list#39

Open
Fearvox with Codex wants to merge 1 commit into
mainfrom
codex/view-recent-activities
Open

Add claude activity for recent GitHub contributions + unblock headless auth/plugin list#39
Fearvox with Codex wants to merge 1 commit into
mainfrom
codex/view-recent-activities

Conversation

@Codex

@Codex Codex AI commented May 5, 2026

Copy link
Copy Markdown

Expose a quick way to view recent GitHub contribution activity across repos (main repos + other contributions) from the CLI. Also remove a startup hang path where simple headless subcommands could stall behind the full interactive boot.

  • New Command: claude activity

    • Fast-path entrypoint wired in src/entrypoints/cli.tsx to avoid loading the full CLI.
    • Implementation in src/cli/handlers/activity.ts:
      • GraphQL mode (recommended): aggregates commits/PRs/issues/reviews by repository for the authenticated viewer (GITHUB_TOKEN/GH_TOKEN).
      • Public-events mode: --user <login> (or --public) uses the REST events feed for lightweight, token-optional visibility.
      • Supports --days, --limit, and --json for scripting.
  • Headless Fast-Paths: auth and plugin list

    • Add auth fast-path (src/cli/handlers/authFastPath.ts) and plugin list fast-path (src/cli/handlers/pluginFastPath.ts) to prevent trust/REPL startup from blocking these commands.
  • CI-safe auth status

    • src/cli/handlers/auth.ts now tolerates CI/test environments where getAnthropicApiKeyWithSource() is intentionally strict, so auth status can still report “not logged in” without throwing.
  • Fuzz test stabilization

    • benchmarks/runs/R009/services/experiment-tracker/tests/fuzz.test.ts now generates whitespace-free hyperparameter keys to match service validation and avoid intermittent failures.

Example usage:

# Public (no token required)
claude activity --user Fearvox --days 7 --limit 10

# Authenticated (includes private repos depending on token/user settings)
GITHUB_TOKEN=... claude activity --days 30 --limit 25 --json

…ess `auth`/`plugin list`

Agent-Logs-Url: https://github.com/Fearvox/Evensong/sessions/0482e263-2a20-4c73-8015-7e3c85e3ecc2

Co-authored-by: Fearvox <35294173+Fearvox@users.noreply.github.com>
@vercel

vercel Bot commented May 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
dash-proof Ready Ready Preview, Comment May 5, 2026 10:38pm

Request Review

@Fearvox Fearvox marked this pull request as ready for review May 7, 2026 04:22
Copilot AI review requested due to automatic review settings May 7, 2026 06:49

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

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.

3 participants