Commit Graph

4 Commits

Author SHA1 Message Date
1a9efc93da refactor: improve development workflow and code quality
- Add Spanish documentation for AGENTS.md and README.md
- Add pytest to main dependencies and taskipy for dev tasks
- Clean up unused imports across codebase
- Fix default config values for local development
- Update test fixtures to use standard pytest
2026-03-17 18:15:10 -05:00
861f5030f4 refactor: add service layer architecture with Pydantic validation
- Add services layer (PartyService, ScheduleService, ProductService, ServiceCenterService)
- Add ServiceProvider for dependency injection
- Add Pydantic input validation on all MCP tools
- Add thread-safety to TrytonSettings with double-checked locking
- Update tests to mock ServiceProvider instead of direct client calls
- Add pydantic dependency
2026-03-14 22:12:33 -05:00
6154b83455 fix: validate date format in create_schedule with clear error message 2026-03-09 20:36:55 -05:00
c670ea5bc9 feat: add pytest testing infrastructure
- Add test optional dependencies to pyproject.toml
- Add conftest.py with fixtures for mocking settings and MCP client
- Add test_server.py with tests for tryton_call and MCP tools
2026-03-09 16:04:34 -05:00