toolbase 0.6.0__tar.gz → 0.6.1__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.
- {toolbase-0.6.0 → toolbase-0.6.1}/CHANGELOG.md +6 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/PKG-INFO +1 -1
- {toolbase-0.6.0 → toolbase-0.6.1}/pyproject.toml +1 -1
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/envs/schema.py +6 -2
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/setup/storage.py +2 -2
- {toolbase-0.6.0 → toolbase-0.6.1}/LICENSE +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/MANIFEST.in +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/README.md +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/setup.cfg +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/__init__.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/_setup_host.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/_toolkit_host.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/astro.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/auth.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/cli.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/config.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/connect/__init__.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/connect/base.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/connect/claude_code.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/connect/codex.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/connect/orchestral.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/envs/__init__.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/envs/bundle_deps.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/envs/cache.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/envs/config.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/envs/discovery.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/envs/manifest.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/envs/paths.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/hep.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/ingest.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/logging/__init__.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/logging/logger.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/naming.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/neutrino.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/quantum.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/serve/__init__.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/serve/bundles.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/serve/config.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/serve/orchestrator.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/serve/profile_scaffold.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/serve/profiles.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/serve/proxy_tool.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/setup/__init__.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/setup/_rpc.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/setup/context.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/setup/declarative.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/setup/downloads.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/setup/prompts.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/setup/runner.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/setup/schema.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/setup/validate_cache.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/skills.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/templates/Dockerfile.template +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/templates/README.md.template +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/templates/__init__.py.template +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/templates/mcp/__init__.py.template +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/templates/mcp/server_stdio.py.template +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/templates/requirements.txt.template +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/templates/setup.py.template +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/templates/skills/example_skill.md +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/templates/tool_example.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/templates/toolkit.yaml.template +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/toolkit.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/validation.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase/versioning.py +0 -0
- {toolbase-0.6.0 → toolbase-0.6.1}/toolbase.egg-info/SOURCES.txt +0 -0
|
@@ -8,6 +8,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this
|
|
|
8
8
|
|
|
9
9
|
## [Unreleased]
|
|
10
10
|
|
|
11
|
+
## [0.6.1] — 2026-07-24
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- `read_versioned_yaml` / `write_versioned_yaml` (`envs/schema.py`) and the setup-storage helpers (`setup/storage.py`) no longer share a single module-level `ruamel.yaml.YAML()` instance across calls. A `YAML()` object holds mutable parse state and is not thread-safe, so concurrent callers (e.g. two trials resolving an environment in parallel, which parses every cached toolkit's `.install_meta.yaml`) intermittently corrupted it into a misleading `'NoneType' object has no attribute 'anchor'` or a spurious `DuplicateKeyError` against a file that parses cleanly single-threaded. Each read and write now constructs its own loader/dumper. ([#39](https://github.com/alexr314/toolbase/pull/39))
|
|
16
|
+
|
|
11
17
|
## [0.2.1] — 2026-06-06
|
|
12
18
|
|
|
13
19
|
### Fixed
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "toolbase"
|
|
7
|
-
version = "0.6.
|
|
7
|
+
version = "0.6.1"
|
|
8
8
|
description = "The community registry and CLI for AI agent toolkits - discover, share, and serve tools to AI agents over MCP"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.12"
|
|
@@ -185,7 +185,11 @@ def read_versioned_yaml(
|
|
|
185
185
|
|
|
186
186
|
try:
|
|
187
187
|
with open(path, "r", encoding="utf-8") as f:
|
|
188
|
-
|
|
188
|
+
# A fresh loader per call: ruamel's YAML() holds mutable parse
|
|
189
|
+
# state and is NOT thread-safe, so a shared module-level instance
|
|
190
|
+
# races under parallel resolution (corrupting into spurious
|
|
191
|
+
# 'NoneType has no attribute anchor' / DuplicateKeyError).
|
|
192
|
+
data = _new_yaml().load(f)
|
|
189
193
|
except Exception as e:
|
|
190
194
|
raise ValueError(f"failed to parse {path}: {e}") from e
|
|
191
195
|
|
|
@@ -327,7 +331,7 @@ def write_versioned_yaml(
|
|
|
327
331
|
|
|
328
332
|
tmp = path.with_suffix(path.suffix + ".tmp")
|
|
329
333
|
with open(tmp, "w", encoding="utf-8") as f:
|
|
330
|
-
|
|
334
|
+
_new_yaml().dump(to_write, f) # fresh instance: YAML() is not thread-safe
|
|
331
335
|
os.replace(tmp, path)
|
|
332
336
|
|
|
333
337
|
try:
|
|
@@ -200,7 +200,7 @@ def load_config(
|
|
|
200
200
|
return CommentedMap()
|
|
201
201
|
try:
|
|
202
202
|
with open(path, "r", encoding="utf-8") as f:
|
|
203
|
-
data =
|
|
203
|
+
data = _new_yaml().load(f) # fresh instance: YAML() is not thread-safe
|
|
204
204
|
except Exception as e:
|
|
205
205
|
raise ValueError(
|
|
206
206
|
f"failed to parse {path}: {e}"
|
|
@@ -302,7 +302,7 @@ def save_config(
|
|
|
302
302
|
|
|
303
303
|
tmp = path.with_suffix(path.suffix + ".tmp")
|
|
304
304
|
with open(tmp, "w", encoding="utf-8") as f:
|
|
305
|
-
|
|
305
|
+
_new_yaml().dump(data, f) # fresh instance: YAML() is not thread-safe
|
|
306
306
|
os.replace(tmp, path)
|
|
307
307
|
|
|
308
308
|
try:
|
|
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
|
|
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
|
|
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
|
|
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
|