opencode-agent-sdk 0.4.8__tar.gz → 0.4.9__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.
- {opencode_agent_sdk-0.4.8 → opencode_agent_sdk-0.4.9}/PKG-INFO +1 -1
- {opencode_agent_sdk-0.4.8 → opencode_agent_sdk-0.4.9}/pyproject.toml +1 -1
- {opencode_agent_sdk-0.4.8 → opencode_agent_sdk-0.4.9}/src/opencode_agent_sdk/__init__.py +1 -1
- {opencode_agent_sdk-0.4.8 → opencode_agent_sdk-0.4.9}/src/opencode_agent_sdk/_internal/acp.py +2 -2
- {opencode_agent_sdk-0.4.8 → opencode_agent_sdk-0.4.9}/src/opencode_agent_sdk.egg-info/PKG-INFO +1 -1
- {opencode_agent_sdk-0.4.8 → opencode_agent_sdk-0.4.9}/README.md +0 -0
- {opencode_agent_sdk-0.4.8 → opencode_agent_sdk-0.4.9}/setup.cfg +0 -0
- {opencode_agent_sdk-0.4.8 → opencode_agent_sdk-0.4.9}/src/opencode_agent_sdk/_errors.py +0 -0
- {opencode_agent_sdk-0.4.8 → opencode_agent_sdk-0.4.9}/src/opencode_agent_sdk/_internal/__init__.py +0 -0
- {opencode_agent_sdk-0.4.8 → opencode_agent_sdk-0.4.9}/src/opencode_agent_sdk/_internal/http_transport.py +0 -0
- {opencode_agent_sdk-0.4.8 → opencode_agent_sdk-0.4.9}/src/opencode_agent_sdk/_internal/transport.py +0 -0
- {opencode_agent_sdk-0.4.8 → opencode_agent_sdk-0.4.9}/src/opencode_agent_sdk/_mcp_bridge.py +0 -0
- {opencode_agent_sdk-0.4.8 → opencode_agent_sdk-0.4.9}/src/opencode_agent_sdk/client.py +0 -0
- {opencode_agent_sdk-0.4.8 → opencode_agent_sdk-0.4.9}/src/opencode_agent_sdk/model_registry.py +0 -0
- {opencode_agent_sdk-0.4.8 → opencode_agent_sdk-0.4.9}/src/opencode_agent_sdk/tools.py +0 -0
- {opencode_agent_sdk-0.4.8 → opencode_agent_sdk-0.4.9}/src/opencode_agent_sdk/types.py +0 -0
- {opencode_agent_sdk-0.4.8 → opencode_agent_sdk-0.4.9}/src/opencode_agent_sdk.egg-info/SOURCES.txt +0 -0
- {opencode_agent_sdk-0.4.8 → opencode_agent_sdk-0.4.9}/src/opencode_agent_sdk.egg-info/dependency_links.txt +0 -0
- {opencode_agent_sdk-0.4.8 → opencode_agent_sdk-0.4.9}/src/opencode_agent_sdk.egg-info/requires.txt +0 -0
- {opencode_agent_sdk-0.4.8 → opencode_agent_sdk-0.4.9}/src/opencode_agent_sdk.egg-info/top_level.txt +0 -0
- {opencode_agent_sdk-0.4.8 → opencode_agent_sdk-0.4.9}/tests/test_common.py +0 -0
- {opencode_agent_sdk-0.4.8 → opencode_agent_sdk-0.4.9}/tests/test_model_registry.py +0 -0
- {opencode_agent_sdk-0.4.8 → opencode_agent_sdk-0.4.9}/tests/test_opencode_agent.py +0 -0
- {opencode_agent_sdk-0.4.8 → opencode_agent_sdk-0.4.9}/tests/test_runner.py +0 -0
- {opencode_agent_sdk-0.4.8 → opencode_agent_sdk-0.4.9}/tests/test_types.py +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "opencode-agent-sdk"
|
|
7
|
-
version = "0.4.
|
|
7
|
+
version = "0.4.9"
|
|
8
8
|
description = "Open-source Agent SDK backed by OpenCode ACP (drop-in replacement for claude_agent_sdk)"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
{opencode_agent_sdk-0.4.8 → opencode_agent_sdk-0.4.9}/src/opencode_agent_sdk/_internal/acp.py
RENAMED
|
@@ -341,11 +341,11 @@ class ACPSession:
|
|
|
341
341
|
text = content.get("text", "")
|
|
342
342
|
if text:
|
|
343
343
|
self._text_buffer += text
|
|
344
|
-
#
|
|
344
|
+
# Yield the full accumulated text so consumers can replace
|
|
345
|
+
# their display (bot does accumulated_text = text, not +=)
|
|
345
346
|
yield AssistantMessage(
|
|
346
347
|
content=[TextBlock(text=self._text_buffer)]
|
|
347
348
|
)
|
|
348
|
-
self._text_buffer = ""
|
|
349
349
|
|
|
350
350
|
elif update_type == "tool_call":
|
|
351
351
|
tool_call_id = session_update.get("toolCallId", "")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{opencode_agent_sdk-0.4.8 → opencode_agent_sdk-0.4.9}/src/opencode_agent_sdk/_internal/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{opencode_agent_sdk-0.4.8 → opencode_agent_sdk-0.4.9}/src/opencode_agent_sdk/_internal/transport.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{opencode_agent_sdk-0.4.8 → opencode_agent_sdk-0.4.9}/src/opencode_agent_sdk/model_registry.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{opencode_agent_sdk-0.4.8 → opencode_agent_sdk-0.4.9}/src/opencode_agent_sdk.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{opencode_agent_sdk-0.4.8 → opencode_agent_sdk-0.4.9}/src/opencode_agent_sdk.egg-info/requires.txt
RENAMED
|
File without changes
|
{opencode_agent_sdk-0.4.8 → opencode_agent_sdk-0.4.9}/src/opencode_agent_sdk.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|