文件历史

7 次代码提交

作者 SHA1 备注 提交日期
Yu Li e57c381652 fix(ci): use collaborator PAT for star history stargazers fetch
GitHub now restricts /stargazers to admins/collaborators, so the Actions
GITHUB_TOKEN 403s. Read STAR_HISTORY_TOKEN instead and surface a clearer error.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-20 11:27:35 -05:00
Yu Li 7479b98cff Add dark-mode star history chart with theme auto-switch
Generate light and dark variants and use a <picture> element so the README chart follows the viewer's GitHub theme. The daily workflow now regenerates both.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-03 21:20:38 -05:00
Yu Li 3576132de4 Generate real star history chart from authenticated GitHub API
The anonymous star-history.com API is rate-limited and returned an empty chart for this repo, so the embedded image showed no data. Render the chart ourselves (scripts/gen_star_history.py) by sampling stargazer timestamps with a token, output a PNG, and have the daily workflow regenerate it. Replaces the empty SVG.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-03 21:10:00 -05:00
Yu Li bf8f8a93f1 Serve Star History chart from a committed image + daily refresh
The README embedded the live star-history.com SVG API, which is rate-limited and intermittently fails to render (GitHub Camo caches the error). Commit a static assets/star-history.svg and point the README at it, plus a daily workflow that regenerates the image, with a guard so a rate-limited response never overwrites a good chart.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-03 21:04:46 -05:00
Yu Li 65c013ad82 Split release workflow into build + publish jobs
Keep the build (and the build-only dry-run) out of the protected `pypi`
environment so dispatching from main no longer fails environment branch
rules. Only the separate, environment-gated publish job runs on real
releases and uploads via OIDC.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-30 16:55:16 -05:00
Yu Li 07f45114c9 Add PyPI release workflow and make root README the single source of truth
- Add .github/workflows/release.yml: build + publish to PyPI on GitHub
  Release via Trusted Publishing (OIDC), with a tag/version guard, twine
  check, and a build-only dry-run option.
- setup.py reads the top-level README.md (with fallback) so the package
  always ships the current README; refresh the short description.
- Remove the stale air_llm/README.md duplicate and gitignore it (now a
  build-time artifact synced from the root README).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-30 16:52:19 -05:00
Gavin Li 162edabfcc Create FUNDING.yml 2024-06-21 18:25:37 -05:00