mycode-sdk 0.5.3__tar.gz → 0.5.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mycode_sdk-0.5.3 → mycode_sdk-0.5.5}/PKG-INFO +1 -1
- {mycode_sdk-0.5.3 → mycode_sdk-0.5.5}/pyproject.toml +1 -1
- {mycode_sdk-0.5.3 → mycode_sdk-0.5.5}/src/mycode/__init__.py +4 -1
- {mycode_sdk-0.5.3 → mycode_sdk-0.5.5}/.gitignore +0 -0
- {mycode_sdk-0.5.3 → mycode_sdk-0.5.5}/LICENSE +0 -0
- {mycode_sdk-0.5.3 → mycode_sdk-0.5.5}/README.md +0 -0
- {mycode_sdk-0.5.3 → mycode_sdk-0.5.5}/src/mycode/agent.py +0 -0
- {mycode_sdk-0.5.3 → mycode_sdk-0.5.5}/src/mycode/messages.py +0 -0
- {mycode_sdk-0.5.3 → mycode_sdk-0.5.5}/src/mycode/models.py +0 -0
- {mycode_sdk-0.5.3 → mycode_sdk-0.5.5}/src/mycode/models_catalog.json +0 -0
- {mycode_sdk-0.5.3 → mycode_sdk-0.5.5}/src/mycode/providers/__init__.py +0 -0
- {mycode_sdk-0.5.3 → mycode_sdk-0.5.5}/src/mycode/providers/anthropic_like.py +0 -0
- {mycode_sdk-0.5.3 → mycode_sdk-0.5.5}/src/mycode/providers/base.py +0 -0
- {mycode_sdk-0.5.3 → mycode_sdk-0.5.5}/src/mycode/providers/gemini.py +0 -0
- {mycode_sdk-0.5.3 → mycode_sdk-0.5.5}/src/mycode/providers/openai_chat.py +0 -0
- {mycode_sdk-0.5.3 → mycode_sdk-0.5.5}/src/mycode/providers/openai_responses.py +0 -0
- {mycode_sdk-0.5.3 → mycode_sdk-0.5.5}/src/mycode/py.typed +0 -0
- {mycode_sdk-0.5.3 → mycode_sdk-0.5.5}/src/mycode/session.py +0 -0
- {mycode_sdk-0.5.3 → mycode_sdk-0.5.5}/src/mycode/tools.py +0 -0
- {mycode_sdk-0.5.3 → mycode_sdk-0.5.5}/src/mycode/utils.py +0 -0
|
@@ -7,6 +7,8 @@ runtime ships four built-in coding tools (``read``, ``write``, ``edit``,
|
|
|
7
7
|
silently exposing file system and shell access.
|
|
8
8
|
"""
|
|
9
9
|
|
|
10
|
+
from importlib import metadata
|
|
11
|
+
|
|
10
12
|
from mycode.agent import Agent, Event, PersistCallback, RunResult
|
|
11
13
|
from mycode.messages import (
|
|
12
14
|
ContentBlock,
|
|
@@ -33,7 +35,8 @@ from mycode.tools import (
|
|
|
33
35
|
tool,
|
|
34
36
|
)
|
|
35
37
|
|
|
36
|
-
|
|
38
|
+
# The package metadata in mycode/pyproject.toml is the single version source.
|
|
39
|
+
__version__ = metadata.version("mycode-sdk")
|
|
37
40
|
|
|
38
41
|
# Built-in tool specs exposed as module-level constants so callers can pick
|
|
39
42
|
# which ones to register (``tools=[read_tool, bash_tool]``) rather than
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|