Skip to content

Support WebMCP awaiting-submission results - #191

Merged
rgarcia merged 2 commits into
mainfrom
hypeship/webmcp-awaiting-submission
Sep 15, 2026
Merged

rgarcia merged 2 commits into
mainfrom
hypeship/webmcp-awaiting-submission

Conversation

@rgarcia

@rgarcia rgarcia commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Upgrade @onkernel/sdk from 0.101.0 to 0.104.0, including the lockfile, so the invocation result type includes awaiting_submission.
  • Teach the WebMCP and Playwright tool descriptions to distinguish populated forms from completed submissions: inspect the correct tab/frame, obtain any required confirmation, submit separately, and verify the page without invoking again.
  • Cover all four invocation statuses through MCP, preserving output unchanged and making exactly one SDK call with retries disabled. The WebMCP handler remains unchanged.

SDK compatibility

The newer SDK also makes additional vault operation inputs required. The existing vault tool cannot supply them. Reject advertised fill and prepare_checkout operations before POST rather than casting away the type error or sending an incomplete request. The same input-requirement check excludes those operations from invocation hints while preserving the API's advertised operation data and explaining the API-only path. Tests cover both rejections, hint filtering, and data preservation; existing parameterless-operation behavior is preserved. This does not add new vault features.

Validation

  • bun test: 528 passed, 0 failed.
  • bunx tsc --noEmit: passed.
  • Prettier checks on changed source files and package.json: passed.
  • bun run build: passed with dummy OAuth client IDs and a dummy Clerk publishable key. Without those build-time settings, page-data collection fails because KERNEL_CLI_PROD_CLIENT_ID is unset.

Tests use SDK fixtures; no live browser invocation or payment operation was performed.

@vercel

vercel Bot commented Sep 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
mcp Ready Ready Preview Sep 15, 2026 7:18pm UTC

@socket-security

socket-security Bot commented Sep 15, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​onkernel/​sdk@​0.101.0 ⏵ 0.104.083 +1100100 +199 +1100

View full report

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 9242161. Configure here.

Comment thread src/lib/mcp/tools/vault-items.ts
@rgarcia
rgarcia merged commit b352201 into main Sep 15, 2026
10 checks passed
@rgarcia
rgarcia deleted the hypeship/webmcp-awaiting-submission branch September 15, 2026 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants