Commit Graph

16 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
45e73b6856 fix: Delete unnecesary file 2026-03-09 16:01:52 -05:00
032c51cc17 feat: add try-except error handling in MCP tools 2026-03-07 23:52:09 -05:00
c464f0669a fix: load .env file via python-dotenv for local development 2026-03-07 23:34:09 -05:00
d4d6800da5 refactor: connect client once at server startup via lifespan 2026-03-07 23:23:04 -05:00
2efaf24a04 refactor: add Settings singleton pattern for config management 2026-03-07 23:19:34 -05:00
d1b0c16d03 refactor: use environment variables for Tryton credentials 2026-03-07 23:13:41 -05:00
2c12a8ec10 feat: implement Tryton RPC MCP tools for Naliia module 2026-03-07 23:08:01 -05:00
c1d3162051 docs: add AGENTS.md specification for developers 2026-03-07 23:07:02 -05:00
5cd665902b feat: firts mcp.tool 2026-03-03 21:24:51 -05:00
19855a7032 Eliminar .python-version 2026-03-03 14:13:33 -05:00
2b0bedee5a .ignore python version 2026-03-03 14:13:49 -05:00
243431496f first commit 2026-03-03 14:08:56 -05:00