Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-langchain-protocol for
openSUSE:Factory checked in at 2026-11-06 19:58:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-langchain-protocol (Old)
and /work/SRC/openSUSE:Factory/.python-langchain-protocol.new.3759290
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-langchain-protocol"
Fri Nov 6 19:58:09 2026 rev:4 rq:1395823 version:0.0.21
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-langchain-protocol/python-langchain-protocol.changes
2026-10-21 20:58:00.768304453 +0200
+++
/work/SRC/openSUSE:Factory/.python-langchain-protocol.new.3759290/python-langchain-protocol.changes
2026-11-06 20:04:45.793308286 +0100
@@ -1,0 +2,6 @@
+Fri Nov 6 07:48:49 UTC 2026 - Martin Pluskal <[email protected]>
+
+- Update to 0.0.21:
+ * Add input.answered event to the protocol.
+
+-------------------------------------------------------------------
Old:
----
langchain_protocol-0.0.20.tar.gz
New:
----
langchain_protocol-0.0.21.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-langchain-protocol.spec ++++++
--- /var/tmp/diff_new_pack.2baROQ/_old 2026-11-06 20:04:46.930355903 +0100
+++ /var/tmp/diff_new_pack.2baROQ/_new 2026-11-06 20:04:46.935356112 +0100
@@ -18,7 +18,7 @@
%define modname langchain_protocol
Name: python-langchain-protocol
-Version: 0.0.20
+Version: 0.0.21
Release: 0
Summary: Python bindings for the LangChain agent streaming protocol
License: MIT
@@ -56,7 +56,7 @@
%check
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -B -c "import
langchain_protocol"
-%files %{python_files}
+%files %python_files
%license LICENSE
%doc README.md
%{python_sitelib}/langchain_protocol
++++++ langchain_protocol-0.0.20.tar.gz -> langchain_protocol-0.0.21.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/langchain_protocol-0.0.20/PKG-INFO
new/langchain_protocol-0.0.21/PKG-INFO
--- old/langchain_protocol-0.0.20/PKG-INFO 2020-02-02 01:00:00.000000000
+0100
+++ new/langchain_protocol-0.0.21/PKG-INFO 2020-02-02 01:00:00.000000000
+0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.4
Name: langchain-protocol
-Version: 0.0.20
+Version: 0.0.21
Summary: Python bindings for the LangChain agent streaming protocol
Project-URL: Homepage,
https://github.com/langchain-ai/agent-protocol/tree/main/streaming
Project-URL: Repository, https://github.com/langchain-ai/agent-protocol
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/langchain_protocol-0.0.20/langchain_protocol/protocol.py
new/langchain_protocol-0.0.21/langchain_protocol/protocol.py
--- old/langchain_protocol-0.0.20/langchain_protocol/protocol.py
2020-02-02 01:00:00.000000000 +0100
+++ new/langchain_protocol-0.0.21/langchain_protocol/protocol.py
2020-02-02 01:00:00.000000000 +0100
@@ -282,6 +282,10 @@
method: Literal["input.requested"]
params: dict[str, Any]
+class InputAnsweredEvent(TypedDict):
+ method: Literal["input.answered"]
+ params: dict[str, Any]
+
class ValuesEvent(TypedDict):
method: Literal["values"]
params: dict[str, Any]
@@ -302,7 +306,7 @@
method: Literal["tasks"]
params: dict[str, Any]
-EventData = Union[LifecycleEvent, MessagesEvent, ToolsEvent, InputEvent,
ValuesEvent, UpdatesEvent, CheckpointsEvent, CustomEvent, TasksEvent]
+EventData = Union[LifecycleEvent, MessagesEvent, ToolsEvent, InputEvent,
InputAnsweredEvent, ValuesEvent, UpdatesEvent, CheckpointsEvent, CustomEvent,
TasksEvent]
class _EventFields(TypedDict):
type: Literal["event"]
@@ -321,22 +325,25 @@
class _EventVariant3(_EventFields, InputEvent):
pass
-class _EventVariant4(_EventFields, ValuesEvent):
+class _EventVariant4(_EventFields, InputAnsweredEvent):
pass
-class _EventVariant5(_EventFields, UpdatesEvent):
+class _EventVariant5(_EventFields, ValuesEvent):
pass
-class _EventVariant6(_EventFields, CheckpointsEvent):
+class _EventVariant6(_EventFields, UpdatesEvent):
pass
-class _EventVariant7(_EventFields, CustomEvent):
+class _EventVariant7(_EventFields, CheckpointsEvent):
pass
-class _EventVariant8(_EventFields, TasksEvent):
+class _EventVariant8(_EventFields, CustomEvent):
pass
-Event = Union[_EventVariant0, _EventVariant1, _EventVariant2, _EventVariant3,
_EventVariant4, _EventVariant5, _EventVariant6, _EventVariant7, _EventVariant8]
+class _EventVariant9(_EventFields, TasksEvent):
+ pass
+
+Event = Union[_EventVariant0, _EventVariant1, _EventVariant2, _EventVariant3,
_EventVariant4, _EventVariant5, _EventVariant6, _EventVariant7, _EventVariant8,
_EventVariant9]
Message = Union[CommandResponse, ErrorResponse, Event]
@@ -575,6 +582,9 @@
interrupt_id: str # Correlates this request with input.respond
payload: Any # Opaque interrupt value from runtime; application-defined
shape
+class InputAnsweredData(TypedDict):
+ interrupt_ids: list[str] # The interruptId of each input.requested the
run resumes
+
class StateGetParams(TypedDict):
namespace: Namespace
keys: NotRequired[list[str]] # Specific state keys, or omit for all
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/langchain_protocol-0.0.20/pyproject.toml
new/langchain_protocol-0.0.21/pyproject.toml
--- old/langchain_protocol-0.0.20/pyproject.toml 2020-02-02
01:00:00.000000000 +0100
+++ new/langchain_protocol-0.0.21/pyproject.toml 2020-02-02
01:00:00.000000000 +0100
@@ -7,7 +7,7 @@
description = "Python bindings for the LangChain agent streaming protocol"
license = { text = "MIT" }
readme = "README.md"
-version = "0.0.20"
+version = "0.0.21"
requires-python = ">=3.10.0,<4.0.0"
classifiers = [
"Development Status :: 3 - Alpha",