Skip to content

feat: dual-edition distribution + AI commit (v0.13.0)#22

Merged
Ink-dark merged 4 commits into
mainfrom
feat/ai-dist
Jun 21, 2026
Merged

feat: dual-edition distribution + AI commit (v0.13.0)#22
Ink-dark merged 4 commits into
mainfrom
feat/ai-dist

Conversation

@Ink-dark

Copy link
Copy Markdown
Contributor

Summary

v0.13.0: Dual-edition distribution (lite/full), musl static build, multi-platform packages, Docker, and AI-powered commit message generation.

Changes (5 commits)

  • feat(cargo): lite/full feature flags + release profile — tls feature gate, LTO/strip
  • feat(ci): musl static build, macOS, lite tests — 4-platform auto-release
  • feat(ai): LLM API module + AI commit message — OpenAI-compatible, auto-generate from staged diff
  • docs: Dockerfile + TODO/CHANGELOG — Docker + progress → 90%

Quality Gate

Check Result
cargo build 0 warnings
cargo build --no-default-features -F tag 0 warnings (lite)
cargo clippy --all-features 0 warnings
cargo fmt no diff
cargo test --all-features 109 unit + 69 integration = all pass

🤖 Generated with Claude Code

Ink-dark added 4 commits June 21, 2026 19:11
- tls feature gates native-tls (optional)
- default = [tag, tls] for full build
- lite: --no-default-features -F tag (no TLS, pure local)
- [profile.release]: LTO, strip, size optimization
- HTTPS in lite build returns clear error message
- build-linux-musl: x86_64-unknown-linux-musl static binary
- build-macos: macOS x86_64 release artifact
- build-linux: add .deb package via cargo-deb
- test-lite: run tests without TLS feature
- release: collect all 4 platform artifacts
- src/ai/llm.rs: OpenAI-compatible chat completion API
- LlmConfig: AGIT_LLM_API_KEY/URL/MODEL env vars
- commit --ai: auto-generate message from staged diff via LLM
- Fallback to template-based message when no API key set
- Gated behind 'ai' Cargo feature (reqwest + blocking)
- Dockerfile: multi-stage alpine musl build
- TODO: Phase 4 → 93%, Phase 9 → 83%, overall → 90%
- CHANGELOG: add v0.13.0 entry (dual-dist + AI commit)
@Ink-dark Ink-dark merged commit fb6b5ba into main Jun 21, 2026
16 checks passed
@Ink-dark Ink-dark deleted the feat/ai-dist branch June 21, 2026 11:21
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