Skip to content

Commit 9ea92bc

Browse files
authored
Merge pull request #171 from kernel/release-please--branches--main--changes--next
release: 0.104.0
2 parents 7115ae8 + a72eb53 commit 9ea92bc

6 files changed

Lines changed: 37 additions & 14 deletions

File tree

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.103.0"
2+
".": "0.104.0"
33
}

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## [0.104.0](https://github.com/kernel/kernel-python-sdk/compare/v0.103.0...v0.104.0) (2026-09-15)
4+
5+
6+
### Features
7+
8+
* Expose the WebMCP `awaiting_submission` status ([9b5cb34](https://github.com/kernel/kernel-python-sdk/commit/9b5cb34e8fb19c22a44c42aca9e1fc61bf7744a9))
9+
310
## [0.103.0](https://github.com/kernel/kernel-python-sdk/compare/v0.102.0...v0.103.0) (2026-09-15)
411

512

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "kernel"
3-
version = "0.103.0"
3+
version = "0.104.0"
44
description = "The official Python library for the kernel API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

src/kernel/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "kernel"
4-
__version__ = "0.103.0" # x-release-please-version
4+
__version__ = "0.104.0" # x-release-please-version

src/kernel/resources/browsers/webmcp.py

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,16 @@ def invoke_tool(
6060
extra_body: Body | None = None,
6161
timeout: float | httpx.Timeout | None | NotGiven = not_given,
6262
) -> InvocationResult:
63-
"""
64-
Invokes the exact live registration identified by tool_ref and waits
65-
synchronously for its result. Navigation during execution is allowed. If the tab
66-
or embedded frame disappears, or the request times out after invocation begins,
67-
the response reports outcome_unknown and the tool is not retried.
63+
"""Invokes the exact live registration identified by tool_ref.
64+
65+
Non-autosubmit
66+
declarative form tools return after their fields are populated with an
67+
awaiting_submission status. Other tools wait for a terminal result, including
68+
across navigation. Inspect a populated form, obtain any required confirmation,
69+
then submit through Playwright or computer interaction without invoking the tool
70+
again. If the tab or embedded frame disappears, or the request times out after
71+
invocation begins, the response reports outcome_unknown and the tool is not
72+
retried.
6873
6974
Args:
7075
input: Tool input, limited to 1 MiB after JSON serialization.
@@ -168,11 +173,16 @@ async def invoke_tool(
168173
extra_body: Body | None = None,
169174
timeout: float | httpx.Timeout | None | NotGiven = not_given,
170175
) -> InvocationResult:
171-
"""
172-
Invokes the exact live registration identified by tool_ref and waits
173-
synchronously for its result. Navigation during execution is allowed. If the tab
174-
or embedded frame disappears, or the request times out after invocation begins,
175-
the response reports outcome_unknown and the tool is not retried.
176+
"""Invokes the exact live registration identified by tool_ref.
177+
178+
Non-autosubmit
179+
declarative form tools return after their fields are populated with an
180+
awaiting_submission status. Other tools wait for a terminal result, including
181+
across navigation. Inspect a populated form, obtain any required confirmation,
182+
then submit through Playwright or computer interaction without invoking the tool
183+
again. If the tab or embedded frame disappears, or the request times out after
184+
invocation begins, the response reports outcome_unknown and the tool is not
185+
retried.
176186
177187
Args:
178188
input: Tool input, limited to 1 MiB after JSON serialization.

src/kernel/types/browsers/invocation_result.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,13 @@
1111
class InvocationResult(BaseModel):
1212
invocation_id: str
1313

14-
status: Literal["completed", "canceled", "error"]
14+
status: Literal["completed", "canceled", "error", "awaiting_submission"]
15+
"""
16+
awaiting_submission means a non-autosubmit declarative form was populated but
17+
not submitted. Inspect the form, obtain any required confirmation, then submit
18+
through Playwright or computer interaction without invoking the tool again. The
19+
other statuses are terminal results.
20+
"""
1521

1622
error_text: Optional[str] = None
1723

0 commit comments

Comments
 (0)