Files
main/pyproject.toml
T
sanjeed5 5cbc31aee9 Update generation system with modern prompts and Gemini 2.5 Flash
- Upgrade to gemini-2.5-flash model for better output quality
- Add date context to prompts (December 2025) for current best practices
- Implement Exa cache system to avoid redundant API calls
- Add --refresh-exa flag to bypass cache when needed
- Restructure prompts with date at end for Gemini prompt caching
- Enhance system prompt to emphasize modern patterns
- Switch from JSON mode to direct MDC format generation
- Add loguru dependency for better logging
- Remove requirements.txt in favor of uv
2025-12-17 21:12:15 +05:30

36 lines
722 B
TOML

[project]
name = "mdc-rules-generator"
version = "0.1.0"
description = "Generate Cursor MDC rule files from a structured JSON file"
authors = [
{name = "Sanjeed", email = "hi@sanjeed.in"},
]
requires-python = ">=3.8"
readme = "README.md"
license = {text = "MIT"}
dependencies = [
"python-dotenv>=1.0.0",
"litellm>=1.0.0",
"tenacity>=8.2.3",
"ratelimit>=2.2.1",
"pydantic>=2.0.0",
"exa-py>=1.0.0",
"pyyaml>=6.0.0",
"build>=1.2.2.post1",
"twine>=6.1.0",
"loguru>=0.7.3",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src"]
[dependency-groups]
dev = [
"pytest>=8.3.5",
"pytest-mock>=3.14.0",
]