adk-code-mode 0.2.1__tar.gz → 0.2.2__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.
- adk_code_mode-0.2.2/.release-please-manifest.json +3 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/CHANGELOG.md +7 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/PKG-INFO +1 -1
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/sandbox-wheel/src/adk_code_mode_sandbox/__about__.py +1 -1
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/src/adk_code_mode/__about__.py +1 -1
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/src/adk_code_mode/executor.py +8 -0
- adk_code_mode-0.2.1/.release-please-manifest.json +0 -3
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/.githooks/pre-commit +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/.githooks/pre-push +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/.github/workflows/ci.yml +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/.github/workflows/release-please.yml +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/.gitignore +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/.prettierrc +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/.vscode/settings.json +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/.zed/settings.json +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/AGENTS.md +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/CLAUDE.md +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/LICENSE +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/Makefile +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/README.md +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/docker/Dockerfile +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/pyproject.toml +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/release-please-config.json +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/sandbox-wheel/README.md +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/sandbox-wheel/pyproject.toml +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/sandbox-wheel/src/adk_code_mode_sandbox/__init__.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/sandbox-wheel/src/adk_code_mode_sandbox/__main__.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/sandbox-wheel/src/adk_code_mode_sandbox/_entry.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/sandbox-wheel/src/adk_code_mode_sandbox/_http_server.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/sandbox-wheel/src/adk_code_mode_sandbox/_rpc_client.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/sandbox-wheel/src/adk_code_mode_sandbox/protocol.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/scripts/install-git-hooks.sh +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/src/adk_code_mode/__init__.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/src/adk_code_mode/_artifact_tools.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/src/adk_code_mode/callback.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/src/adk_code_mode/output.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/src/adk_code_mode/py.typed +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/src/adk_code_mode/runtime/__init__.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/src/adk_code_mode/runtime/base.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/src/adk_code_mode/runtime/docker.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/src/adk_code_mode/runtime/protocol.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/src/adk_code_mode/runtime/remote.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/src/adk_code_mode/tools/__init__.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/src/adk_code_mode/tools/catalog.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/src/adk_code_mode/tools/dispatcher.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/src/adk_code_mode/tools/namespacing.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/src/adk_code_mode/tools/normaliser.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/src/adk_code_mode/tools/stubs.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/src/adk_code_mode/workspace/__init__.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/src/adk_code_mode/workspace/files.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/tests/__init__.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/tests/_docker_helpers.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/tests/_fake_runtime.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/tests/test_agent_with_fake_llm.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/tests/test_artifact_tools.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/tests/test_callback.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/tests/test_catalog.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/tests/test_dispatcher.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/tests/test_docker_image.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/tests/test_docker_integration.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/tests/test_host_loop.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/tests/test_integration.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/tests/test_namespacing.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/tests/test_normaliser.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/tests/test_output.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/tests/test_protocol.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/tests/test_remote_integration.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/tests/test_runtime_docker.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/tests/test_sandbox_rpc_client.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/tests/test_stubs.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/tests/test_version.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/tests/test_workspace_files.py +0 -0
- {adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/uv.lock +0 -0
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.2.2](https://github.com/a2anet/adk-code-mode/compare/adk-code-mode-v0.2.1...adk-code-mode-v0.2.2) (2026-05-08)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* use `python` fences instead of `tool_code` in `CodeModeCodeExecutor` ([efcc11e](https://github.com/a2anet/adk-code-mode/commit/efcc11e1020c7544223074e00a8649f9c85d4ad6))
|
|
9
|
+
|
|
3
10
|
## [0.2.1](https://github.com/a2anet/adk-code-mode/compare/adk-code-mode-v0.2.0...adk-code-mode-v0.2.1) (2026-05-05)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: adk-code-mode
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: A "Code Mode" Code Executor for ADK for agents to interact with tools, files, and custom packages with Python
|
|
5
5
|
Project-URL: Documentation, https://github.com/A2ANet/adk-code-mode#readme
|
|
6
6
|
Project-URL: Issues, https://github.com/A2ANet/adk-code-mode/issues
|
|
@@ -124,6 +124,14 @@ class CodeModeCodeExecutor(BaseCodeExecutor):
|
|
|
124
124
|
dict. The empty case is skipped (no call). Hook errors are logged and
|
|
125
125
|
swallowed — they must not break code execution."""
|
|
126
126
|
|
|
127
|
+
code_block_delimiters: list[tuple[str, str]] = [
|
|
128
|
+
("```python\n", "\n```"),
|
|
129
|
+
("```tool_code\n", "\n```"),
|
|
130
|
+
]
|
|
131
|
+
"""Prefer ``python`` fences over ``tool_code`` — some Gemini model versions
|
|
132
|
+
interpret ``tool_code`` as a native function-call marker and return
|
|
133
|
+
``MALFORMED_FUNCTION_CALL`` when no tools are declared."""
|
|
134
|
+
|
|
127
135
|
stateful: bool = Field(default=True, frozen=True, exclude=True)
|
|
128
136
|
optimize_data_file: bool = Field(default=False, frozen=True, exclude=True)
|
|
129
137
|
|
|
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
|
{adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/sandbox-wheel/src/adk_code_mode_sandbox/__init__.py
RENAMED
|
File without changes
|
{adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/sandbox-wheel/src/adk_code_mode_sandbox/__main__.py
RENAMED
|
File without changes
|
{adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/sandbox-wheel/src/adk_code_mode_sandbox/_entry.py
RENAMED
|
File without changes
|
{adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/sandbox-wheel/src/adk_code_mode_sandbox/_http_server.py
RENAMED
|
File without changes
|
{adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/sandbox-wheel/src/adk_code_mode_sandbox/_rpc_client.py
RENAMED
|
File without changes
|
{adk_code_mode-0.2.1 → adk_code_mode-0.2.2}/sandbox-wheel/src/adk_code_mode_sandbox/protocol.py
RENAMED
|
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
|