- Document architecture, data flow, and module structure
- Define harness adapter interface contract
- Specify pricing table format (provider-based)
- Document hook integration requirements
- List all feature requirements and configuration files
- Include glossary, examples, and file index
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- Swapped parameter order in effective_rates() to pass alias (active_model) as model_name
- This ensures the actual running model is displayed in hook output
- Updated docstring to clarify the new priority order
- All 30 tests still pass
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- Changed --integrate from flag to argument that requires a harness name
- Currently supports 'mistral' harness (Vibe CLI)
- Renamed integrate_vibe_hooks() to integrate_hooks() for modularity
- Added validation for supported harnesses
- Added tests for --integrate command validation
- Modular design allows adding more harnesses in the future
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- Modified get_model_prices() in pricing.py to return is_default flag
- Updated CLI to display warning in all output modes (default, details, JSON)
- Warning format: '**model price not available**' on new line
- Updated all tests to handle 4-tuple return value
- Works with refactored provider-based pricing structure
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- New command: agent-cost-estimator --integrate
- Installs post_turn.py hook script to ~/.vibe/hooks/
- Creates/updates ~/.vibe/hooks.toml with hook configuration
- Adds agent-cost-estimator to Vibe's bash allowlist in config.toml
- Hook script bundled in agent_cost_estimator/hooks/ package
- Works on all machines (portable installation)
- Added hooks package to pyproject.toml
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- Remove root-level currency and models (flat structure)
- Keep only providers dictionary with nested currency and models
- Add default provider as fallback
- Add mistral-vibe-cli-latest model to mistral provider
- Simplify pricing.py to remove backward compatibility code
- Update tests to use provider-based structure
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- Add 'providers' top-level dictionary with provider-specific configurations
- Each provider has its own 'currency' and 'models' dictionary
- Model-level currency can override provider currency
- Maintain backward compatibility with flat structure (currency + models at root)
- Update pricing.py to handle both structures with provider-aware lookup
- Update get_model_prices() to return (rates, key, currency) tuple
- Update CLI to display currency and provider-prefixed model keys
- Update tests to handle new return signature
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
The original package-data configuration used invalid TOML syntax with
empty string and wildcard keys that are not supported by setuptools.
This caused pip install to fail with TOMLDecodeError.
Changed to use include-package-data = true which automatically includes
all non-Python files in the package directories (pricing.json, SKILL.md).
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- Add --no-env flag to skip virtual environment creation
- Add --local flag to install with --user (user-local installation)
- Update both bash and PowerShell scripts
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- Python CLI tool to report token usage and estimated USD cost
- Supports Mistral Vibe harness with pluggable adapter interface
- Includes SKILL.md in skill/ directory for LLM consumption via --skill flag
- Full test suite (28 tests)
- Typical Python project structure with .gitignore, .gitattributes, LICENSE, README.md
- Build script for PyPI distribution
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>