This repository was archived by the owner on Apr 29, 2025. It is now read-only.
Releases: getsimpletool/simpletool-python
Releases · getsimpletool/simpletool-python
v0.0.32
[0.0.32] - 2025-03-23
Fixed
- missing asyncio folder in build package
v0.0.31
v0.0.30
[0.0.30] - 2025-03-22
Changed
- move async version to
asynciomodule ->simpletool.asyncio - by default use sync version as we want to support both
syncandasync - we will only handle passing
envvia argument calledenv(not env_vars or resources.env like it was before)
v0.0.20
[0.0.20] - 2025-01-21 Milestone Alpha1
Added:
- Added AsyncExitStack import from contextlib
- Completely rewrote the aexit method to use AsyncExitStack for better resource management
- Key improvements:
- Uses AsyncExitStack to properly manage both async and sync resources
- Handles context managers directly through enter_async_context and enter_context
- Uses push_async_callback and push_callback for explicit resource cleanup
- Better error handling with more descriptive logging
- Cleaner code structure with proper async/await patterns
- added
_auto_track_large_objectmethod to track large objects and prevent memory leaks - add
factorycreate method to create SimpleTool instances - tool.info now return
Dictand notstr
[0.0.19] - 2025-01-19 Milestone Alpha2
Added
- Make SimpleTool picklable - only serializing essential attributes
- add output_schema in info property
- add AsyncExitStack for tracking async resources
[0.0.18] - 2025-01-13 Milestone Alpha2
Fixed
- missing
SimpleToolname and description validation rules
v0.0.17
[0.0.17] - 2025-01-13 Milestone Alpha2
Added
- add
nameanddescriptionvalidation Field rules inSimpleToolResponseModel - add str to
ResourceConent-uri field to match rfc3986 uris
Changed
ImageContent- rename data -> imageFileContent- rename data -> fileErrorContent- rename message -> error
v0.0.16
[0.0.16] - 2025-01-11 Milestone Alpha2
Fixed
- incorrect
SimpleToolResponseModelPydantic model configuration + from_attributes allow easy serialize/deserialize
v0.0.15
[0.0.15] - 2025-01-09 Milestone Alpha2
Fixed
- incorrect github action workflow for
setup.pyversion
v0.0.14
[0.0.14] - 2025-01-09 Milestone Alpha2
Added
- SimpleToolResponseModel
- add correct handle repr for SimpleTool child classes
- add get_version for
setup.pyto automate version update - auto add annotation version in
__init__.py
v0.0.13
[0.0.13] - 2025-01-08 Milestone Alpha2
Fixed
- Updated test import from
BoolContentstoBoolContentto match type definition
v0.0.12
[0.0.12] - 2025-01-08 Milestone Alpha2
Added
- added
input_modelwill be mandatory - as mapping SimpleInputModel to SimpleTool input_schemawill be from now generated based oninput_model(and will not be able to be overriding)- added
output_model+output_schemawill be generated based on return type ofrunmethod - types for return (1 base + 6 subclasses):
- Content - base class
- TextContent - for text based content
- ImageContent - for image based content
- FileContent - for file based content
- ResourceContent - for resource based content
- BoolContent - for boolean based content
- ErrorContent - for error based content
[0.0.10] - 2025-01-06 Milestone Alpha
Added
- ready to use own SimpleTool class naming convention
- added empty main to load module smoothly w/o any errors
- adding a context manager for resource cleanup (auto clean in aexit method)
- implement timeout mechanisms for long-running tools
- remove
executedef option from Tool class - make it SIMPLE -> handled byrunmethod option (only) - added own SimpleInputSchema class which is used to extract json schema from input types
- by default json schema extraction for SimpleInputSchema will remove
titleanddescriptionfields