adk-code-mode 2.0.0__tar.gz → 2.0.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.
Files changed (86) hide show
  1. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/.github/workflows/release-please.yml +2 -2
  2. adk_code_mode-2.0.1/.release-please-manifest.json +3 -0
  3. adk_code_mode-2.0.1/CHANGELOG.md +169 -0
  4. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/PKG-INFO +13 -13
  5. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/README.md +8 -8
  6. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/docker/Dockerfile +1 -1
  7. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/pyproject.toml +4 -4
  8. adk_code_mode-2.0.1/sandbox-wheel/README.md +14 -0
  9. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/sandbox-wheel/pyproject.toml +4 -4
  10. adk_code_mode-2.0.1/sandbox-wheel/src/adk_code_mode_sandbox/__about__.py +4 -0
  11. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/sandbox-wheel/src/adk_code_mode_sandbox/__init__.py +1 -1
  12. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/sandbox-wheel/src/adk_code_mode_sandbox/__main__.py +1 -1
  13. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/sandbox-wheel/src/adk_code_mode_sandbox/_entry.py +1 -1
  14. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/sandbox-wheel/src/adk_code_mode_sandbox/_http_server.py +1 -1
  15. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/sandbox-wheel/src/adk_code_mode_sandbox/_interrupt.py +1 -1
  16. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/sandbox-wheel/src/adk_code_mode_sandbox/_rpc_client.py +1 -1
  17. {adk_code_mode-2.0.0/src/adk_code_mode/runtime → adk_code_mode-2.0.1/sandbox-wheel/src/adk_code_mode_sandbox}/protocol.py +1 -1
  18. adk_code_mode-2.0.1/src/adk_code_mode/__about__.py +4 -0
  19. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/src/adk_code_mode/__init__.py +1 -1
  20. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/src/adk_code_mode/_artifact_tools.py +1 -1
  21. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/src/adk_code_mode/metadata.py +1 -1
  22. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/src/adk_code_mode/output.py +1 -1
  23. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/src/adk_code_mode/runtime/__init__.py +1 -1
  24. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/src/adk_code_mode/runtime/base.py +1 -1
  25. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/src/adk_code_mode/runtime/docker.py +2 -2
  26. {adk_code_mode-2.0.0/sandbox-wheel/src/adk_code_mode_sandbox → adk_code_mode-2.0.1/src/adk_code_mode/runtime}/protocol.py +1 -1
  27. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/src/adk_code_mode/runtime/remote.py +1 -1
  28. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/src/adk_code_mode/tool.py +1 -1
  29. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/src/adk_code_mode/tool_failures.py +1 -1
  30. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/src/adk_code_mode/tool_result_artifacts.py +1 -1
  31. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/src/adk_code_mode/tools/__init__.py +1 -1
  32. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/src/adk_code_mode/tools/catalog.py +1 -1
  33. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/src/adk_code_mode/tools/dispatcher.py +1 -1
  34. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/src/adk_code_mode/tools/namespacing.py +1 -1
  35. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/src/adk_code_mode/tools/normaliser.py +1 -1
  36. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/src/adk_code_mode/tools/stubs.py +1 -1
  37. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/src/adk_code_mode/workspace/__init__.py +1 -1
  38. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/src/adk_code_mode/workspace/files.py +1 -1
  39. adk_code_mode-2.0.1/tests/__init__.py +3 -0
  40. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/tests/_docker_helpers.py +1 -1
  41. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/tests/_fake_runtime.py +1 -1
  42. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/tests/_rest_tool.py +1 -1
  43. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/tests/conftest.py +1 -1
  44. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/tests/test_agent_with_fake_llm.py +1 -1
  45. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/tests/test_artifact_tools.py +1 -1
  46. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/tests/test_catalog.py +1 -1
  47. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/tests/test_dispatcher.py +1 -1
  48. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/tests/test_docker_image.py +4 -1
  49. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/tests/test_docker_integration.py +1 -1
  50. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/tests/test_host_loop.py +1 -1
  51. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/tests/test_integration.py +1 -1
  52. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/tests/test_metadata.py +1 -1
  53. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/tests/test_namespacing.py +1 -1
  54. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/tests/test_normaliser.py +1 -1
  55. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/tests/test_output.py +1 -1
  56. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/tests/test_protocol.py +1 -1
  57. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/tests/test_remote_backend.py +1 -1
  58. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/tests/test_remote_integration.py +1 -1
  59. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/tests/test_runtime_docker.py +1 -1
  60. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/tests/test_sandbox_entry.py +1 -1
  61. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/tests/test_sandbox_rpc_client.py +1 -1
  62. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/tests/test_stubs.py +1 -1
  63. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/tests/test_stubs_json_schema.py +1 -1
  64. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/tests/test_tool.py +1 -1
  65. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/tests/test_tool_result_artifacts.py +1 -1
  66. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/tests/test_version.py +1 -1
  67. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/tests/test_workspace_files.py +1 -1
  68. adk_code_mode-2.0.0/.release-please-manifest.json +0 -3
  69. adk_code_mode-2.0.0/CHANGELOG.md +0 -162
  70. adk_code_mode-2.0.0/sandbox-wheel/README.md +0 -14
  71. adk_code_mode-2.0.0/sandbox-wheel/src/adk_code_mode_sandbox/__about__.py +0 -4
  72. adk_code_mode-2.0.0/src/adk_code_mode/__about__.py +0 -4
  73. adk_code_mode-2.0.0/tests/__init__.py +0 -3
  74. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/.githooks/pre-commit +0 -0
  75. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/.githooks/pre-push +0 -0
  76. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/.github/workflows/ci.yml +0 -0
  77. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/.gitignore +0 -0
  78. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/.prettierrc +0 -0
  79. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/.vscode/settings.json +0 -0
  80. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/.zed/settings.json +0 -0
  81. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/LICENSE +0 -0
  82. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/Makefile +0 -0
  83. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/release-please-config.json +0 -0
  84. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/scripts/install-git-hooks.sh +0 -0
  85. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/src/adk_code_mode/py.typed +0 -0
  86. {adk_code_mode-2.0.0 → adk_code_mode-2.0.1}/uv.lock +0 -0
@@ -112,5 +112,5 @@ jobs:
112
112
  file: docker/Dockerfile
113
113
  push: true
114
114
  tags: |
115
- ghcr.io/a2anet/adk-code-mode:${{ needs.release-please.outputs.version }}
116
- ghcr.io/a2anet/adk-code-mode:latest
115
+ ghcr.io/buildagenta/adk-code-mode:${{ needs.release-please.outputs.version }}
116
+ ghcr.io/buildagenta/adk-code-mode:latest
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "2.0.1"
3
+ }
@@ -0,0 +1,169 @@
1
+ # Changelog
2
+
3
+ ## [2.0.1](https://github.com/buildagenta/adk-code-mode/compare/adk-code-mode-v2.0.0...adk-code-mode-v2.0.1) (2026-11-02)
4
+
5
+
6
+ ### Miscellaneous Chores
7
+
8
+ * credit Agenta as the author ([#25](https://github.com/buildagenta/adk-code-mode/issues/25)) ([bfe577e](https://github.com/buildagenta/adk-code-mode/commit/bfe577e9aaba31ed9d8f6423485b061deb77b963))
9
+
10
+ ## [2.0.0](https://github.com/buildagenta/adk-code-mode/compare/adk-code-mode-v1.6.1...adk-code-mode-v2.0.0) (2026-09-25)
11
+
12
+
13
+ ### ⚠ BREAKING CHANGES
14
+
15
+ * sandbox code that checked a tool result for an `error` key now gets an exception instead, and the sandbox image must be rebuilt for protocol version 3.
16
+
17
+ ### Features
18
+
19
+ * raise when a tool call fails instead of returning the error ([#22](https://github.com/buildagenta/adk-code-mode/issues/22)) ([489083d](https://github.com/buildagenta/adk-code-mode/commit/489083d988cd7e958e94f3ef6acba6443284abd8))
20
+ * stop a timed-out block without losing the turn's state ([#23](https://github.com/buildagenta/adk-code-mode/issues/23)) ([4720156](https://github.com/buildagenta/adk-code-mode/commit/47201568d0bb06527e32f850b7abb1b465e36920))
21
+
22
+ ## [1.6.1](https://github.com/buildagenta/adk-code-mode/compare/adk-code-mode-v1.6.0...adk-code-mode-v1.6.1) (2026-09-22)
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * exit the sandbox when the host disconnects mid-block ([bd3fb0f](https://github.com/buildagenta/adk-code-mode/commit/bd3fb0fb0d8a0cab9370f2ad6db56dfacf566cb4))
28
+
29
+ ## [1.6.0](https://github.com/buildagenta/adk-code-mode/compare/adk-code-mode-v1.5.0...adk-code-mode-v1.6.0) (2026-08-29)
30
+
31
+
32
+ ### Features
33
+
34
+ * bound an execute_code block by default ([1609c0d](https://github.com/buildagenta/adk-code-mode/commit/1609c0d24b8563cba51434cd1214b4299aeefc86))
35
+ * expand object oneOf/anyOf branches in tool stub docstrings ([#20](https://github.com/buildagenta/adk-code-mode/issues/20)) ([7d42cb1](https://github.com/buildagenta/adk-code-mode/commit/7d42cb1ee9d9e217d008776dc74a84034f4b67a9))
36
+
37
+ ## [1.5.0](https://github.com/buildagenta/adk-code-mode/compare/adk-code-mode-v1.4.0...adk-code-mode-v1.5.0) (2026-08-10)
38
+
39
+
40
+ ### Features
41
+
42
+ * scope tool-name uniqueness to each namespace ([#17](https://github.com/buildagenta/adk-code-mode/issues/17)) ([437bc0d](https://github.com/buildagenta/adk-code-mode/commit/437bc0dc930521a933e5c25b4bd6103e9434fc27))
43
+
44
+ ## [1.4.0](https://github.com/buildagenta/adk-code-mode/compare/adk-code-mode-v1.3.0...adk-code-mode-v1.4.0) (2026-07-28)
45
+
46
+
47
+ ### Features
48
+
49
+ * surface nested schema properties and validation keywords in tool stubs ([608d14b](https://github.com/buildagenta/adk-code-mode/commit/608d14bb115159b2991c7d8d4e3c641977fd0d66))
50
+
51
+
52
+ ### Documentation
53
+
54
+ * document stub schema fidelity and the `JSON_SCHEMA_FOR_FUNC_DECL` flag in `README.md` ([219f02b](https://github.com/buildagenta/adk-code-mode/commit/219f02bd493c2e2d7275a0034ef2a40db933859f))
55
+
56
+ ## [1.3.0](https://github.com/buildagenta/adk-code-mode/compare/adk-code-mode-v1.2.0...adk-code-mode-v1.3.0) (2026-07-23)
57
+
58
+
59
+ ### Features
60
+
61
+ * describe the sandbox to the model in a tagged `<code-mode>` block ([#14](https://github.com/buildagenta/adk-code-mode/issues/14)) ([662a281](https://github.com/buildagenta/adk-code-mode/commit/662a28138e8632b434e5f1ecd52793f7d83ee097))
62
+
63
+ ## [1.2.0](https://github.com/buildagenta/adk-code-mode/compare/adk-code-mode-v1.1.0...adk-code-mode-v1.2.0) (2026-07-23)
64
+
65
+
66
+ ### Features
67
+
68
+ * add `custom_metadata` to the `save_artifact` tool ([dfd9a59](https://github.com/buildagenta/adk-code-mode/commit/dfd9a59bf1718084a1d5c02cc1ea453269223f16))
69
+
70
+ ## [1.1.0](https://github.com/buildagenta/adk-code-mode/compare/adk-code-mode-v1.0.0...adk-code-mode-v1.1.0) (2026-07-15)
71
+
72
+
73
+ ### Features
74
+
75
+ * expose `tools` and `backend` as public properties on `ExecuteCodeTool` ([acfb704](https://github.com/buildagenta/adk-code-mode/commit/acfb704d388da5d66e318775e03fe055467679c2))
76
+
77
+ ## [1.0.0](https://github.com/buildagenta/adk-code-mode/compare/adk-code-mode-v0.4.1...adk-code-mode-v1.0.0) (2026-07-15)
78
+
79
+
80
+ ### ⚠ BREAKING CHANGES
81
+
82
+ * `CodeModeCodeExecutor`, `code_mode_before_model_callback`, and `CODE_MODE_SYSTEM_INSTRUCTION` no longer exist. Add `ExecuteCodeTool` to the agent's `tools=[...]` instead of wiring `code_executor=`; drop `before_model_callback=`, `generate_content_config=`, and `CODE_MODE_SYSTEM_INSTRUCTION` entirely; `release_invocation` is now `async`. See the README's migration section.
83
+
84
+ ### Features
85
+
86
+ * replace `CodeModeCodeExecutor` with `ExecuteCodeTool` ([#10](https://github.com/buildagenta/adk-code-mode/issues/10)) ([b78572e](https://github.com/buildagenta/adk-code-mode/commit/b78572e72446930548760756255390d1a3cc388a))
87
+
88
+ ## [0.4.1](https://github.com/buildagenta/adk-code-mode/compare/adk-code-mode-v0.4.0...adk-code-mode-v0.4.1) (2026-07-10)
89
+
90
+
91
+ ### Documentation
92
+
93
+ * note the sandbox writes to `/tools` in remote deployment guide ([96bb45e](https://github.com/buildagenta/adk-code-mode/commit/96bb45e4e18d9d54709f4c10b6b09cf3567ee385))
94
+
95
+ ## [0.4.0](https://github.com/buildagenta/adk-code-mode/compare/adk-code-mode-v0.3.0...adk-code-mode-v0.4.0) (2026-07-09)
96
+
97
+
98
+ ### Features
99
+
100
+ * save tool results as artifacts with optional model-supplied naming ([76a3671](https://github.com/buildagenta/adk-code-mode/commit/76a36713b2c52bd5b8dc51d3669226a47e7108e5))
101
+
102
+
103
+ ### Bug Fixes
104
+
105
+ * align code-mode example with the `<code-mode>` catalog and fix fences ([4a0cc6d](https://github.com/buildagenta/adk-code-mode/commit/4a0cc6d0fc99d5425f6682cc489e76c9ddef7d46))
106
+ * clarify code-mode tools are a Python library, not function tools ([48d1018](https://github.com/buildagenta/adk-code-mode/commit/48d1018152a2ed2a8e7361de6ce0f43b31b429ce))
107
+ * nudge the model to call tools via Python in the code-mode block ([141baf3](https://github.com/buildagenta/adk-code-mode/commit/141baf3a44976e82cf437b2064666be893d6d409))
108
+ * update `CODE_MODE_SYSTEM_INSTRUCTION` and `README.md` ([933d42c](https://github.com/buildagenta/adk-code-mode/commit/933d42cb237b9d6deeb6611511cba28a0d5e9261))
109
+
110
+
111
+ ### Documentation
112
+
113
+ * streamline `README.md` and fix broken code fences ([c237514](https://github.com/buildagenta/adk-code-mode/commit/c2375149df48e21318967090b6c85d0b1f411ea2))
114
+
115
+ ## [0.3.0](https://github.com/buildagenta/adk-code-mode/compare/adk-code-mode-v0.2.2...adk-code-mode-v0.3.0) (2026-07-06)
116
+
117
+
118
+ ### Features
119
+
120
+ * hold one sandbox container open per turn (protocol v2) ([#6](https://github.com/buildagenta/adk-code-mode/issues/6)) ([aebe17d](https://github.com/buildagenta/adk-code-mode/commit/aebe17d2bbbf21cc0f05852efaf910ff6adc3154))
121
+
122
+
123
+ ### Documentation
124
+
125
+ * lower startup probe period in `README.md` for faster cold starts ([e251af2](https://github.com/buildagenta/adk-code-mode/commit/e251af2cf7307c9944361e1a0e37c7191822a9e1))
126
+ * note HTTP `/health` startup probe in `README.md` Cloud Run section ([d58fb10](https://github.com/buildagenta/adk-code-mode/commit/d58fb10f7aeda95e5c8cf29263a13e1333f661dd))
127
+
128
+ ## [0.2.2](https://github.com/buildagenta/adk-code-mode/compare/adk-code-mode-v0.2.1...adk-code-mode-v0.2.2) (2026-05-08)
129
+
130
+
131
+ ### Bug Fixes
132
+
133
+ * use `python` fences instead of `tool_code` in `CodeModeCodeExecutor` ([efcc11e](https://github.com/buildagenta/adk-code-mode/commit/efcc11e1020c7544223074e00a8649f9c85d4ad6))
134
+
135
+ ## [0.2.1](https://github.com/buildagenta/adk-code-mode/compare/adk-code-mode-v0.2.0...adk-code-mode-v0.2.1) (2026-05-05)
136
+
137
+
138
+ ### Bug Fixes
139
+
140
+ * rename `<tools>` tag to `<code-mode>` and update `CODE_MODE_SYSTEM_INSTRUCTION` ([0a06bfb](https://github.com/buildagenta/adk-code-mode/commit/0a06bfbdf22db6e0226e477d0ed074a6cc4d1515))
141
+
142
+
143
+ ### Documentation
144
+
145
+ * update `README.md` with deployment instructions ([1dd7a95](https://github.com/buildagenta/adk-code-mode/commit/1dd7a95197fd56231ba97182526a825baf18508a))
146
+
147
+ ## [0.2.0](https://github.com/buildagenta/adk-code-mode/compare/adk-code-mode-v0.1.0...adk-code-mode-v0.2.0) (2026-05-03)
148
+
149
+
150
+ ### Features
151
+
152
+ * add `RemoteBackend`, sandbox hardening, and make `README.md` more concise ([a1a70ee](https://github.com/buildagenta/adk-code-mode/commit/a1a70eec0686f164ce3796ba1d82bb82b7fbda59))
153
+
154
+
155
+ ### Bug Fixes
156
+
157
+ * improve `CODE_MODE_SYSTEM_INSTRUCTION` ([0d00863](https://github.com/buildagenta/adk-code-mode/commit/0d008636e2e273b438192f737e20e207c165a610))
158
+
159
+ ## 0.1.0 (2026-04-29)
160
+
161
+
162
+ ### Features
163
+
164
+ * ADK Code Mode: `CodeModeExecutor`, `DockerRuntime`, and more ([6ab1ac2](https://github.com/buildagenta/adk-code-mode/commit/6ab1ac28236d21ecb740d8e920e08e4d9bd969c5))
165
+
166
+
167
+ ### Documentation
168
+
169
+ * shorten ADK code executor comparison table headers ([28116cf](https://github.com/buildagenta/adk-code-mode/commit/28116cf9f40b3623c31782a55885fa5c4f8c6bbf))
@@ -1,11 +1,11 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: adk-code-mode
3
- Version: 2.0.0
3
+ Version: 2.0.1
4
4
  Summary: A "Code Mode" sandboxed code-execution tool for ADK agents to interact with tools, files, and custom packages with Python
5
- Project-URL: Documentation, https://github.com/A2ANet/adk-code-mode#readme
6
- Project-URL: Issues, https://github.com/A2ANet/adk-code-mode/issues
7
- Project-URL: Source, https://github.com/A2ANet/adk-code-mode
8
- Author-email: A2A Net <hello@a2anet.com>
5
+ Project-URL: Documentation, https://github.com/buildagenta/adk-code-mode#readme
6
+ Project-URL: Issues, https://github.com/buildagenta/adk-code-mode/issues
7
+ Project-URL: Source, https://github.com/buildagenta/adk-code-mode
8
+ Author-email: Agenta <hello@buildagenta.com>
9
9
  License-Expression: Apache-2.0
10
10
  License-File: LICENSE
11
11
  Keywords: a2a,adk,agents,code-mode,execute-code
@@ -125,7 +125,7 @@ override_feature_enabled(FeatureName.JSON_SCHEMA_FOR_FUNC_DECL, True)
125
125
 
126
126
  tool = ExecuteCodeTool(
127
127
  tools=[my_fn_tool, McpToolset(...), OpenAPIToolset(...)],
128
- backend=UnsafeLocalDockerBackend(image="ghcr.io/a2anet/adk-code-mode:latest"),
128
+ backend=UnsafeLocalDockerBackend(image="ghcr.io/buildagenta/adk-code-mode:latest"),
129
129
  )
130
130
  ```
131
131
 
@@ -145,8 +145,8 @@ print(send_message(channel="C123", text="hi"))
145
145
  ```bash
146
146
  # Push the sandbox image to Artifact Registry
147
147
  gcloud auth configure-docker <region>-docker.pkg.dev
148
- docker pull --platform linux/amd64 ghcr.io/a2anet/adk-code-mode:latest
149
- docker tag ghcr.io/a2anet/adk-code-mode:latest \
148
+ docker pull --platform linux/amd64 ghcr.io/buildagenta/adk-code-mode:latest
149
+ docker tag ghcr.io/buildagenta/adk-code-mode:latest \
150
150
  <region>-docker.pkg.dev/<project>/<repository>/adk-code-mode-sandbox:latest
151
151
  docker push <region>-docker.pkg.dev/<project>/<repository>/adk-code-mode-sandbox:latest
152
152
 
@@ -280,10 +280,10 @@ ExecuteCodeTool(tools=..., backend=..., save_tool_results_as_artifacts=True)
280
280
 
281
281
  ## 🐳 Sandbox Image
282
282
 
283
- The published base image (`ghcr.io/a2anet/adk-code-mode`) works as-is for tools whose execution is fully host-side. To bake in extra Python packages:
283
+ The published base image (`ghcr.io/buildagenta/adk-code-mode`) works as-is for tools whose execution is fully host-side. To bake in extra Python packages:
284
284
 
285
285
  ```dockerfile
286
- FROM ghcr.io/a2anet/adk-code-mode:latest
286
+ FROM ghcr.io/buildagenta/adk-code-mode:latest
287
287
  RUN pip install --no-cache-dir pandas==2.2.*
288
288
  ```
289
289
 
@@ -470,9 +470,9 @@ uv run pytest -m docker
470
470
 
471
471
  `adk-code-mode` is distributed under the terms of the [Apache-2.0](https://spdx.org/licenses/Apache-2.0.html) license.
472
472
 
473
- ## 🤝 Join the A2A Net Community
473
+ ## 🤝 Join the Agenta Community
474
474
 
475
- A2A Net is a site to find and share AI agents and open-source community. Join to share your A2A agents, ask questions, stay up-to-date with the latest A2A news, be the first to hear about open-source releases, tutorials, and more!
475
+ Agenta is a site to find and share AI agents and open-source community. Join to share your A2A agents, ask questions, stay up-to-date with the latest A2A news, be the first to hear about open-source releases, tutorials, and more!
476
476
 
477
- - 🌍 Site: [A2A Net](https://a2anet.com)
477
+ - 🌍 Site: [Agenta](https://buildagenta.com)
478
478
  - 🤖 Discord: [Join the Discord](https://discord.gg/674NGXpAjU)
@@ -98,7 +98,7 @@ override_feature_enabled(FeatureName.JSON_SCHEMA_FOR_FUNC_DECL, True)
98
98
 
99
99
  tool = ExecuteCodeTool(
100
100
  tools=[my_fn_tool, McpToolset(...), OpenAPIToolset(...)],
101
- backend=UnsafeLocalDockerBackend(image="ghcr.io/a2anet/adk-code-mode:latest"),
101
+ backend=UnsafeLocalDockerBackend(image="ghcr.io/buildagenta/adk-code-mode:latest"),
102
102
  )
103
103
  ```
104
104
 
@@ -118,8 +118,8 @@ print(send_message(channel="C123", text="hi"))
118
118
  ```bash
119
119
  # Push the sandbox image to Artifact Registry
120
120
  gcloud auth configure-docker <region>-docker.pkg.dev
121
- docker pull --platform linux/amd64 ghcr.io/a2anet/adk-code-mode:latest
122
- docker tag ghcr.io/a2anet/adk-code-mode:latest \
121
+ docker pull --platform linux/amd64 ghcr.io/buildagenta/adk-code-mode:latest
122
+ docker tag ghcr.io/buildagenta/adk-code-mode:latest \
123
123
  <region>-docker.pkg.dev/<project>/<repository>/adk-code-mode-sandbox:latest
124
124
  docker push <region>-docker.pkg.dev/<project>/<repository>/adk-code-mode-sandbox:latest
125
125
 
@@ -253,10 +253,10 @@ ExecuteCodeTool(tools=..., backend=..., save_tool_results_as_artifacts=True)
253
253
 
254
254
  ## 🐳 Sandbox Image
255
255
 
256
- The published base image (`ghcr.io/a2anet/adk-code-mode`) works as-is for tools whose execution is fully host-side. To bake in extra Python packages:
256
+ The published base image (`ghcr.io/buildagenta/adk-code-mode`) works as-is for tools whose execution is fully host-side. To bake in extra Python packages:
257
257
 
258
258
  ```dockerfile
259
- FROM ghcr.io/a2anet/adk-code-mode:latest
259
+ FROM ghcr.io/buildagenta/adk-code-mode:latest
260
260
  RUN pip install --no-cache-dir pandas==2.2.*
261
261
  ```
262
262
 
@@ -443,9 +443,9 @@ uv run pytest -m docker
443
443
 
444
444
  `adk-code-mode` is distributed under the terms of the [Apache-2.0](https://spdx.org/licenses/Apache-2.0.html) license.
445
445
 
446
- ## 🤝 Join the A2A Net Community
446
+ ## 🤝 Join the Agenta Community
447
447
 
448
- A2A Net is a site to find and share AI agents and open-source community. Join to share your A2A agents, ask questions, stay up-to-date with the latest A2A news, be the first to hear about open-source releases, tutorials, and more!
448
+ Agenta is a site to find and share AI agents and open-source community. Join to share your A2A agents, ask questions, stay up-to-date with the latest A2A news, be the first to hear about open-source releases, tutorials, and more!
449
449
 
450
- - 🌍 Site: [A2A Net](https://a2anet.com)
450
+ - 🌍 Site: [Agenta](https://buildagenta.com)
451
451
  - 🤖 Discord: [Join the Discord](https://discord.gg/674NGXpAjU)
@@ -1,6 +1,6 @@
1
1
  FROM python:3.13-slim
2
2
 
3
- LABEL org.opencontainers.image.source="https://github.com/a2anet/adk-code-mode"
3
+ LABEL org.opencontainers.image.source="https://github.com/buildagenta/adk-code-mode"
4
4
  LABEL org.opencontainers.image.description="Sandbox base image for ADK Code Mode"
5
5
  LABEL org.opencontainers.image.licenses="Apache-2.0"
6
6
 
@@ -11,7 +11,7 @@ requires-python = ">=3.10"
11
11
  license = "Apache-2.0"
12
12
  keywords = ["adk", "code-mode", "execute-code", "agents", "a2a"]
13
13
  authors = [
14
- { name = "A2A Net", email = "hello@a2anet.com" },
14
+ { name = "Agenta", email = "hello@buildagenta.com" },
15
15
  ]
16
16
  classifiers = [
17
17
  "Development Status :: 4 - Beta",
@@ -47,9 +47,9 @@ dev = [
47
47
  ]
48
48
 
49
49
  [project.urls]
50
- Documentation = "https://github.com/A2ANet/adk-code-mode#readme"
51
- Issues = "https://github.com/A2ANet/adk-code-mode/issues"
52
- Source = "https://github.com/A2ANet/adk-code-mode"
50
+ Documentation = "https://github.com/buildagenta/adk-code-mode#readme"
51
+ Issues = "https://github.com/buildagenta/adk-code-mode/issues"
52
+ Source = "https://github.com/buildagenta/adk-code-mode"
53
53
 
54
54
  [tool.hatch.version]
55
55
  path = "src/adk_code_mode/__about__.py"
@@ -0,0 +1,14 @@
1
+ # ADK Code Mode Sandbox
2
+
3
+ In-sandbox shim for [`adk-code-mode`](https://github.com/buildagenta/adk-code-mode). The host package launches a container that has this wheel installed, then talks to it over a TCP control connection so model code can call ADK tools that run on the host.
4
+
5
+ ## 📄 License
6
+
7
+ `adk-code-mode-sandbox` is distributed under the terms of the [Apache-2.0](https://spdx.org/licenses/Apache-2.0.html) license.
8
+
9
+ ## 🤝 Join the Agenta Community
10
+
11
+ Agenta is a site to find and share AI agents and open-source community. Join to share your A2A agents, ask questions, stay up-to-date with the latest A2A news, be the first to hear about open-source releases, tutorials, and more!
12
+
13
+ - 🌍 Site: [Agenta](https://buildagenta.com)
14
+ - 🤖 Discord: [Join the Discord](https://discord.gg/674NGXpAjU)
@@ -11,7 +11,7 @@ requires-python = ">=3.10"
11
11
  license = "Apache-2.0"
12
12
  keywords = ["adk", "code-mode", "sandbox"]
13
13
  authors = [
14
- { name = "A2A Net", email = "hello@a2anet.com" },
14
+ { name = "Agenta", email = "hello@buildagenta.com" },
15
15
  ]
16
16
  classifiers = [
17
17
  "Development Status :: 4 - Beta",
@@ -27,9 +27,9 @@ dependencies = [
27
27
  ]
28
28
 
29
29
  [project.urls]
30
- Documentation = "https://github.com/A2ANet/adk-code-mode#readme"
31
- Issues = "https://github.com/A2ANet/adk-code-mode/issues"
32
- Source = "https://github.com/A2ANet/adk-code-mode"
30
+ Documentation = "https://github.com/buildagenta/adk-code-mode#readme"
31
+ Issues = "https://github.com/buildagenta/adk-code-mode/issues"
32
+ Source = "https://github.com/buildagenta/adk-code-mode"
33
33
 
34
34
  [tool.hatch.version]
35
35
  path = "src/adk_code_mode_sandbox/__about__.py"
@@ -0,0 +1,4 @@
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
+ #
3
+ # SPDX-License-Identifier: Apache-2.0
4
+ __version__ = "2.0.1" # x-release-please-version
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  from adk_code_mode_sandbox.__about__ import __version__
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  from adk_code_mode_sandbox._entry import main
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  """Sandbox entry point.
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  """HTTP/WebSocket server mode for the sandbox (one connection per turn).
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  """Stop the running code block when the host asks, keeping the sandbox's state.
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  """Blocking RPC client used by generated tool stubs inside the sandbox.
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  """JSON-lines wire protocol between the host and the sandbox.
@@ -0,0 +1,4 @@
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
+ #
3
+ # SPDX-License-Identifier: Apache-2.0
4
+ __version__ = "2.0.1" # x-release-please-version
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  from adk_code_mode.__about__ import __version__
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  """Built-in ``save_artifact`` / ``load_artifact`` / ``list_artifacts`` tools.
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  """Assemble the ``<code-mode>`` block appended to the model's system instruction.
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  """Bounded output surfacing with artifact spillover.
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  """Sandbox backends that host generated code."""
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  """Sandbox runtime interfaces.
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  """Docker-backed sandbox runtime.
@@ -61,7 +61,7 @@ class UnsafeLocalDockerBackend:
61
61
  Args:
62
62
  image: Fully-qualified container image tag. Must have
63
63
  ``adk-code-mode-sandbox`` installed. Extend the published
64
- ``ghcr.io/a2anet/adk-code-mode`` base image to bake in additional
64
+ ``ghcr.io/buildagenta/adk-code-mode`` base image to bake in additional
65
65
  Python packages.
66
66
  network_mode: Docker network mode. Defaults to ``None``, which
67
67
  means the kwarg is not passed to ``containers.run`` and
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  """JSON-lines wire protocol between the host and the sandbox.
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  """Remote sandbox backend.
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  """``ExecuteCodeTool`` — the user-facing ``BaseTool`` implementation.
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  """Errors reported as ordinary return values by ADK tools."""
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  """Optionally save each tool's result as a session Artifact.
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  """Tool normalisation, stub generation, and host-side dispatch."""
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  """Render the tool catalog string injected into the model's system prompt.
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  """Host-side tool dispatcher for code-mode calls.
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  """Group normalised tools into dotted Python namespaces.
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  """Normalise heterogeneous tool inputs into a flat ``list[BaseTool]``.
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  """Generate Python stub modules for ADK tools.
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  """Workspace helpers."""
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  """Workspace file helpers."""
@@ -0,0 +1,3 @@
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
+ #
3
+ # SPDX-License-Identifier: Apache-2.0
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  """Shared helpers for Docker-backed tests."""
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  """Test-only in-process runtime that runs the sandbox entry in a subprocess.
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  """Test-only real ADK ``RestApiTool`` whose API answers with a canned response."""
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  """Shared test fixtures."""
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  """End-to-end test driving an ``LlmAgent`` with a canned ``BaseLlm``.
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  """Unit tests for the ``save_artifact`` / ``load_artifact`` / ``list_artifacts``
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  from __future__ import annotations
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  from __future__ import annotations
@@ -8,7 +8,10 @@ def test_default_dockerfile_installs_only_sandbox_wheel() -> None:
8
8
  dockerfile = (_REPO_ROOT / "docker" / "Dockerfile").read_text()
9
9
 
10
10
  assert "FROM python:3.13-slim" in dockerfile
11
- assert 'org.opencontainers.image.source="https://github.com/a2anet/adk-code-mode"' in dockerfile
11
+ assert (
12
+ 'org.opencontainers.image.source="https://github.com/buildagenta/adk-code-mode"'
13
+ in dockerfile
14
+ )
12
15
  assert 'org.opencontainers.image.licenses="Apache-2.0"' in dockerfile
13
16
  assert "sandbox-wheel/dist/adk_code_mode_sandbox-*.whl" in dockerfile
14
17
  assert "adk_code_mode_sandbox" in dockerfile
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  """End-to-end test against a real Docker container.
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  """Unit tests for the host-side frame loop in ``tool``."""
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  """In-process end-to-end tests using ``FakeRuntime`` (no Docker)."""
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  """Unit tests for the ``<code-mode>`` block: environment cache and tiering."""
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  from __future__ import annotations
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  from __future__ import annotations
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  from __future__ import annotations
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  from __future__ import annotations
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  """Unit tests for ``RemoteBackend``'s built-in connect retry."""
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  """Integration tests for ``RemoteBackend`` ↔ sandbox HTTP server.
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  """Unit tests for ``runtime/docker`` helpers that don't require Docker."""
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  """Tests for sandbox environment reporting."""
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  from __future__ import annotations
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  from __future__ import annotations
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  """Coverage of the JSON Schema keyword set, vocabulary by vocabulary.
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  """Unit tests for ``ExecuteCodeTool`` itself: declaration and ``process_llm_request``.
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  from __future__ import annotations
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  import runpy
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
1
+ # SPDX-FileCopyrightText: 2025-present Agenta <hello@buildagenta.com>
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  from __future__ import annotations
@@ -1,3 +0,0 @@
1
- {
2
- ".": "2.0.0"
3
- }
@@ -1,162 +0,0 @@
1
- # Changelog
2
-
3
- ## [2.0.0](https://github.com/a2anet/adk-code-mode/compare/adk-code-mode-v1.6.1...adk-code-mode-v2.0.0) (2026-09-25)
4
-
5
-
6
- ### ⚠ BREAKING CHANGES
7
-
8
- * sandbox code that checked a tool result for an `error` key now gets an exception instead, and the sandbox image must be rebuilt for protocol version 3.
9
-
10
- ### Features
11
-
12
- * raise when a tool call fails instead of returning the error ([#22](https://github.com/a2anet/adk-code-mode/issues/22)) ([489083d](https://github.com/a2anet/adk-code-mode/commit/489083d988cd7e958e94f3ef6acba6443284abd8))
13
- * stop a timed-out block without losing the turn's state ([#23](https://github.com/a2anet/adk-code-mode/issues/23)) ([4720156](https://github.com/a2anet/adk-code-mode/commit/47201568d0bb06527e32f850b7abb1b465e36920))
14
-
15
- ## [1.6.1](https://github.com/a2anet/adk-code-mode/compare/adk-code-mode-v1.6.0...adk-code-mode-v1.6.1) (2026-09-22)
16
-
17
-
18
- ### Bug Fixes
19
-
20
- * exit the sandbox when the host disconnects mid-block ([bd3fb0f](https://github.com/a2anet/adk-code-mode/commit/bd3fb0fb0d8a0cab9370f2ad6db56dfacf566cb4))
21
-
22
- ## [1.6.0](https://github.com/a2anet/adk-code-mode/compare/adk-code-mode-v1.5.0...adk-code-mode-v1.6.0) (2026-08-29)
23
-
24
-
25
- ### Features
26
-
27
- * bound an execute_code block by default ([1609c0d](https://github.com/a2anet/adk-code-mode/commit/1609c0d24b8563cba51434cd1214b4299aeefc86))
28
- * expand object oneOf/anyOf branches in tool stub docstrings ([#20](https://github.com/a2anet/adk-code-mode/issues/20)) ([7d42cb1](https://github.com/a2anet/adk-code-mode/commit/7d42cb1ee9d9e217d008776dc74a84034f4b67a9))
29
-
30
- ## [1.5.0](https://github.com/a2anet/adk-code-mode/compare/adk-code-mode-v1.4.0...adk-code-mode-v1.5.0) (2026-08-10)
31
-
32
-
33
- ### Features
34
-
35
- * scope tool-name uniqueness to each namespace ([#17](https://github.com/a2anet/adk-code-mode/issues/17)) ([437bc0d](https://github.com/a2anet/adk-code-mode/commit/437bc0dc930521a933e5c25b4bd6103e9434fc27))
36
-
37
- ## [1.4.0](https://github.com/a2anet/adk-code-mode/compare/adk-code-mode-v1.3.0...adk-code-mode-v1.4.0) (2026-07-28)
38
-
39
-
40
- ### Features
41
-
42
- * surface nested schema properties and validation keywords in tool stubs ([608d14b](https://github.com/a2anet/adk-code-mode/commit/608d14bb115159b2991c7d8d4e3c641977fd0d66))
43
-
44
-
45
- ### Documentation
46
-
47
- * document stub schema fidelity and the `JSON_SCHEMA_FOR_FUNC_DECL` flag in `README.md` ([219f02b](https://github.com/a2anet/adk-code-mode/commit/219f02bd493c2e2d7275a0034ef2a40db933859f))
48
-
49
- ## [1.3.0](https://github.com/a2anet/adk-code-mode/compare/adk-code-mode-v1.2.0...adk-code-mode-v1.3.0) (2026-07-23)
50
-
51
-
52
- ### Features
53
-
54
- * describe the sandbox to the model in a tagged `<code-mode>` block ([#14](https://github.com/a2anet/adk-code-mode/issues/14)) ([662a281](https://github.com/a2anet/adk-code-mode/commit/662a28138e8632b434e5f1ecd52793f7d83ee097))
55
-
56
- ## [1.2.0](https://github.com/a2anet/adk-code-mode/compare/adk-code-mode-v1.1.0...adk-code-mode-v1.2.0) (2026-07-23)
57
-
58
-
59
- ### Features
60
-
61
- * add `custom_metadata` to the `save_artifact` tool ([dfd9a59](https://github.com/a2anet/adk-code-mode/commit/dfd9a59bf1718084a1d5c02cc1ea453269223f16))
62
-
63
- ## [1.1.0](https://github.com/a2anet/adk-code-mode/compare/adk-code-mode-v1.0.0...adk-code-mode-v1.1.0) (2026-07-15)
64
-
65
-
66
- ### Features
67
-
68
- * expose `tools` and `backend` as public properties on `ExecuteCodeTool` ([acfb704](https://github.com/a2anet/adk-code-mode/commit/acfb704d388da5d66e318775e03fe055467679c2))
69
-
70
- ## [1.0.0](https://github.com/a2anet/adk-code-mode/compare/adk-code-mode-v0.4.1...adk-code-mode-v1.0.0) (2026-07-15)
71
-
72
-
73
- ### ⚠ BREAKING CHANGES
74
-
75
- * `CodeModeCodeExecutor`, `code_mode_before_model_callback`, and `CODE_MODE_SYSTEM_INSTRUCTION` no longer exist. Add `ExecuteCodeTool` to the agent's `tools=[...]` instead of wiring `code_executor=`; drop `before_model_callback=`, `generate_content_config=`, and `CODE_MODE_SYSTEM_INSTRUCTION` entirely; `release_invocation` is now `async`. See the README's migration section.
76
-
77
- ### Features
78
-
79
- * replace `CodeModeCodeExecutor` with `ExecuteCodeTool` ([#10](https://github.com/a2anet/adk-code-mode/issues/10)) ([b78572e](https://github.com/a2anet/adk-code-mode/commit/b78572e72446930548760756255390d1a3cc388a))
80
-
81
- ## [0.4.1](https://github.com/a2anet/adk-code-mode/compare/adk-code-mode-v0.4.0...adk-code-mode-v0.4.1) (2026-07-10)
82
-
83
-
84
- ### Documentation
85
-
86
- * note the sandbox writes to `/tools` in remote deployment guide ([96bb45e](https://github.com/a2anet/adk-code-mode/commit/96bb45e4e18d9d54709f4c10b6b09cf3567ee385))
87
-
88
- ## [0.4.0](https://github.com/a2anet/adk-code-mode/compare/adk-code-mode-v0.3.0...adk-code-mode-v0.4.0) (2026-07-09)
89
-
90
-
91
- ### Features
92
-
93
- * save tool results as artifacts with optional model-supplied naming ([76a3671](https://github.com/a2anet/adk-code-mode/commit/76a36713b2c52bd5b8dc51d3669226a47e7108e5))
94
-
95
-
96
- ### Bug Fixes
97
-
98
- * align code-mode example with the `<code-mode>` catalog and fix fences ([4a0cc6d](https://github.com/a2anet/adk-code-mode/commit/4a0cc6d0fc99d5425f6682cc489e76c9ddef7d46))
99
- * clarify code-mode tools are a Python library, not function tools ([48d1018](https://github.com/a2anet/adk-code-mode/commit/48d1018152a2ed2a8e7361de6ce0f43b31b429ce))
100
- * nudge the model to call tools via Python in the code-mode block ([141baf3](https://github.com/a2anet/adk-code-mode/commit/141baf3a44976e82cf437b2064666be893d6d409))
101
- * update `CODE_MODE_SYSTEM_INSTRUCTION` and `README.md` ([933d42c](https://github.com/a2anet/adk-code-mode/commit/933d42cb237b9d6deeb6611511cba28a0d5e9261))
102
-
103
-
104
- ### Documentation
105
-
106
- * streamline `README.md` and fix broken code fences ([c237514](https://github.com/a2anet/adk-code-mode/commit/c2375149df48e21318967090b6c85d0b1f411ea2))
107
-
108
- ## [0.3.0](https://github.com/a2anet/adk-code-mode/compare/adk-code-mode-v0.2.2...adk-code-mode-v0.3.0) (2026-07-06)
109
-
110
-
111
- ### Features
112
-
113
- * hold one sandbox container open per turn (protocol v2) ([#6](https://github.com/a2anet/adk-code-mode/issues/6)) ([aebe17d](https://github.com/a2anet/adk-code-mode/commit/aebe17d2bbbf21cc0f05852efaf910ff6adc3154))
114
-
115
-
116
- ### Documentation
117
-
118
- * lower startup probe period in `README.md` for faster cold starts ([e251af2](https://github.com/a2anet/adk-code-mode/commit/e251af2cf7307c9944361e1a0e37c7191822a9e1))
119
- * note HTTP `/health` startup probe in `README.md` Cloud Run section ([d58fb10](https://github.com/a2anet/adk-code-mode/commit/d58fb10f7aeda95e5c8cf29263a13e1333f661dd))
120
-
121
- ## [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)
122
-
123
-
124
- ### Bug Fixes
125
-
126
- * use `python` fences instead of `tool_code` in `CodeModeCodeExecutor` ([efcc11e](https://github.com/a2anet/adk-code-mode/commit/efcc11e1020c7544223074e00a8649f9c85d4ad6))
127
-
128
- ## [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)
129
-
130
-
131
- ### Bug Fixes
132
-
133
- * rename `<tools>` tag to `<code-mode>` and update `CODE_MODE_SYSTEM_INSTRUCTION` ([0a06bfb](https://github.com/a2anet/adk-code-mode/commit/0a06bfbdf22db6e0226e477d0ed074a6cc4d1515))
134
-
135
-
136
- ### Documentation
137
-
138
- * update `README.md` with deployment instructions ([1dd7a95](https://github.com/a2anet/adk-code-mode/commit/1dd7a95197fd56231ba97182526a825baf18508a))
139
-
140
- ## [0.2.0](https://github.com/a2anet/adk-code-mode/compare/adk-code-mode-v0.1.0...adk-code-mode-v0.2.0) (2026-05-03)
141
-
142
-
143
- ### Features
144
-
145
- * add `RemoteBackend`, sandbox hardening, and make `README.md` more concise ([a1a70ee](https://github.com/a2anet/adk-code-mode/commit/a1a70eec0686f164ce3796ba1d82bb82b7fbda59))
146
-
147
-
148
- ### Bug Fixes
149
-
150
- * improve `CODE_MODE_SYSTEM_INSTRUCTION` ([0d00863](https://github.com/a2anet/adk-code-mode/commit/0d008636e2e273b438192f737e20e207c165a610))
151
-
152
- ## 0.1.0 (2026-04-29)
153
-
154
-
155
- ### Features
156
-
157
- * ADK Code Mode: `CodeModeExecutor`, `DockerRuntime`, and more ([6ab1ac2](https://github.com/a2anet/adk-code-mode/commit/6ab1ac28236d21ecb740d8e920e08e4d9bd969c5))
158
-
159
-
160
- ### Documentation
161
-
162
- * shorten ADK code executor comparison table headers ([28116cf](https://github.com/a2anet/adk-code-mode/commit/28116cf9f40b3623c31782a55885fa5c4f8c6bbf))
@@ -1,14 +0,0 @@
1
- # ADK Code Mode Sandbox
2
-
3
- In-sandbox shim for [`adk-code-mode`](https://github.com/A2ANet/adk-code-mode). The host package launches a container that has this wheel installed, then talks to it over a TCP control connection so model code can call ADK tools that run on the host.
4
-
5
- ## 📄 License
6
-
7
- `adk-code-mode-sandbox` is distributed under the terms of the [Apache-2.0](https://spdx.org/licenses/Apache-2.0.html) license.
8
-
9
- ## 🤝 Join the A2A Net Community
10
-
11
- A2A Net is a site to find and share AI agents and open-source community. Join to share your A2A agents, ask questions, stay up-to-date with the latest A2A news, be the first to hear about open-source releases, tutorials, and more!
12
-
13
- - 🌍 Site: [A2A Net](https://a2anet.com)
14
- - 🤖 Discord: [Join the Discord](https://discord.gg/674NGXpAjU)
@@ -1,4 +0,0 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
2
- #
3
- # SPDX-License-Identifier: Apache-2.0
4
- __version__ = "2.0.0" # x-release-please-version
@@ -1,4 +0,0 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
2
- #
3
- # SPDX-License-Identifier: Apache-2.0
4
- __version__ = "2.0.0" # x-release-please-version
@@ -1,3 +0,0 @@
1
- # SPDX-FileCopyrightText: 2025-present A2A Net <hello@a2anet.com>
2
- #
3
- # SPDX-License-Identifier: Apache-2.0
File without changes
File without changes
File without changes
File without changes
File without changes