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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mycode-sdk
3
- Version: 0.5.3
3
+ Version: 0.5.5
4
4
  Summary: Lightweight Python SDK for building AI agents.
5
5
  Project-URL: Homepage, https://github.com/legibet/mycode
6
6
  Project-URL: Repository, https://github.com/legibet/mycode
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "mycode-sdk"
7
- version = "0.5.3"
7
+ version = "0.5.5"
8
8
  description = "Lightweight Python SDK for building AI agents."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.12"
@@ -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
- __version__ = "0.4.0"
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