Gac

Latest version: v3.33.0

Safety actively analyzes 924004 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 19

3.26.0

Added

- Add `gac stats reset model <model-id>` command for targeted model statistics reset with case-insensitive matching

Changed

- Improve test coverage from ~91% to 94% with comprehensive tests for staging TUI, OAuth flows, git utilities, and core functions
- Add extensive test coverage for model reset CLI and provider configuration including OAuth flows and key aliases
- Document per-model statistics reset across all translated usage guides
- Add strict developer guidelines for protecting user data during development and testing

Fixed

- Handle DeepSeek `reasoning_content` and OpenRouter `reasoning` fields, fixing false zero token reporting from providers like wafer.ai

3.25.0

Added

- Interactive staging TUI via `--stage`/`-S` flag with tree-based file and directory selection

Changed

- Add Textual >=0.80.0 as a core dependency

3.24.2

Fixed

- Recognize uv.lock files as generated lockfiles during preprocessing

3.24.1

Added

- Add reasoning token estimation helpers with character-based fallback for providers
- Normalize reasoning usage with non-overlapping token accounting across Anthropic-compatible, ChatGPT OAuth, OpenAI-compatible, Gemini, LM Studio, and Ollama providers
- Support extracting and stripping think tags during commit message post-processing

Fixed

- Ignore whitespace-only reasoning text when estimating tokens

3.24.0

Added

- Add `gac stats models` command displaying detailed usage statistics for all tracked models with token breakdowns, speed comparisons, and latency metrics
- Add `gac stats projects` command to view comprehensive usage statistics across all repositories with activity ordering and token analysis
- Add support for ChatGPT Responses API with streaming SSE requests and improved HTTP error handling

Changed

- Update documentation across all supported languages to reflect new statistics commands and API changes

Removed

- Remove `gac stats project` command in favor of the new all-projects statistics view

Fixed

- Rename Copilot OAuth provider to GitHub Copilot and align internal provider key to resolve provider detection mismatches

3.23.1

Added

- Add GitHub Copilot OAuth device‑flow support to model configuration and update default usage guidance

Changed

- Add comprehensive GitHub Copilot documentation (authentication guide, provider list, usage commands, troubleshooting) in 16 languages
- Centralize OAuth token refresh logic in gac.oauth.base and delegate provider‑specific refreshes
- Update auth CLI to remove stale model list import and simplify Copilot post‑login hint

Removed

- Remove DEFAULT_COPILOT_MODELS constant from Copilot module and related imports

Page 1 of 19

© 2026 Safety CLI Cybersecurity Inc. All Rights Reserved.