Skip to content

MCP: Update Node SDK to 0.154.0 - #279

Merged
masnwilliams merged 4 commits into
mainfrom
mcp-coverage-update
Nov 23, 2026
Merged

masnwilliams merged 4 commits into
mainfrom
mcp-coverage-update

Conversation

@kernel-internal

@kernel-internal kernel-internal Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Update @onkernel/sdk to 0.154.0.

Coverage

MCP coverage update for Node SDK 0.154.0

Audit base: MAIN_SHA=a67e914ce9fcaac8f28cd7450d6271bf7a843165.

Added and updated coverage

  • Updated @onkernel/sdk from 0.152.0 to 0.154.0 in package.json and bun.lock without changing the pinned release.
  • Browser sessions:
    • Added manage_browsers create input platform.os for SDK BrowserCreateParams.platform (linux or macos), including creation-only validation and the API's current macOS availability/configuration caveats.
    • Propagated returned browser platform data through browser create/get/update/list responses, browser-pool acquire summaries, and manage_apps action list_invocation_browsers.
    • Added manage_browsers get input include_cost for SDK BrowserRetrieveParams.include_cost. It defaults off and is sent only when the caller supplies it, including explicit false.
    • Preserved BrowserCost status, timestamp, and zero-valued spend strings, with response guidance explaining provisional, pending, and unavailable results and that the estimate is not an invoice total.
    • Safely surfaces API unsupported_fields names for platform configuration errors.
  • Vault wallets and items:
    • Added manage_vault_wallets action link_balance_setup, backed by SDK vaults.items.performOperation type link_balance_setup.
    • Added the same operation to manage_vault_items action invoke for API-advertised generic operation dispatch.
    • Added bounded whole-dollar inputs for desired_balance_amount and desired_transaction_limit, forwarding omitted fields unchanged and rejecting invalid/unknown inputs before any request.
    • Added safe handling for LinkBalanceSetupVaultItemOperationResult, including URL screening, exact follow-up call guidance, eligibility guidance, and no assumption that the user completed setup.
    • Added public projection of VaultPaymentMethod.balance.available.amount and .currency, preserving zero balances while excluding unknown provider fields.
  • Workload identity:
    • Raised token_validation.max_lifetime_seconds from 86,400 to 172,800 for SDK WorkloadIdentityTokenValidation, including the 48-hour Azure managed-identity rationale and boundary validation.
  • Added mocked tests for all new fields/actions and forwarding behavior, including explicit false values, zero spend/balance values, invalid amount boundaries, unsafe URLs, unadvertised operations, response projection, and SDK argument construction.

The complete SDK method and parameter audit found no additional missing user-facing MCP coverage beyond these changes and the intentional exclusions below.

API-spec description sync

Updated MCP text to follow these released SDK/OpenAPI contracts:

  • BrowserCreateParams.platform, BrowserPlatform, BrowserOS, and ErrorModel.unsupported_fields.
  • BrowserRetrieveParams.include_cost and BrowserCost.
  • LinkBalanceSetupVaultItemOperationRequest and LinkBalanceSetupVaultItemOperationResult.
  • VaultPaymentMethod.balance, VaultPaymentMethodBalance, and VaultPaymentMethodAmount.
  • WorkloadIdentityTokenValidation.max_lifetime_seconds.

Tool description sizes against that audit base:

Tool Before After
manage_browsers 1,196 1,248
manage_vault_wallets 2,466 1,022

Per-input limits and defaults remain in input descriptions; cost interpretation, Link completion/observation steps, and exact follow-up calls remain in response guidance. The final complete tools/list payload is 230,910 characters, within the existing 231,000-character cap.

Intentional exclusions

  • Browser cost is not requested by resources, list/create/update calls, browser-pool acquire, or invocation-browser lists. The SDK/spec says cost is available only on an opted-in browser detail read, and resources have no caller parameters.
  • The MCP accepts the released macOS platform enum but does not hide the API's current platform_unavailable response or emulate unsupported configurations.
  • SDK binary/multipart surfaces remain outside the JSON tool surface where no bounded MCP representation is appropriate, including deployment archives, extension upload/live loading and downloads, profile/replay downloads, and bulk audit export.
  • Open SSE or interactive transport APIs remain represented by bounded alternatives where available: deployment/invocation/auth status reads, archived telemetry pages, bounded shell execution, and browser file operations. Raw follow/log/watch/stdout streams and interactive process sessions are not exposed as separate tools.
  • Secret or organization-administration surfaces remain outside model-facing tools: vault encryption keys, access-token replacement operations, invocation status/output mutation callbacks, organization limits, audit-log administration, and telemetry-destination credential administration. These remain direct API/SDK or trusted-backend operations.
  • SDK transport/convenience helpers such as browser fetch, analysis wait helpers, and audit-log download orchestration do not become duplicate tools when an existing MCP operation covers the user-facing capability.

Annotations

No tool annotations changed. manage_vault_wallets was already marked destructive because it includes remove_payment_method; adding link_balance_setup does not alter that requirement.

Validation

Run with Bun 1.3.3:

  • bun run check:managed-auth-app — passed
  • bunx tsc --noEmit --incremental false — passed
  • bun test — passed: 1,349 tests, 0 failures

All new behavior was tested with mocks; no production API calls or real resources were used. An informational repository-wide bun run format:check is not currently clean and reports 196 files, including many outside this diff, so no unrelated bulk formatting changes were made.

Validation

  • Frozen Bun install
  • Managed-auth App bundle check
  • TypeScript type check
  • Bun tests
  • OAuth Redis recording check

Note

Medium Risk
Changes touch browser billing reads, vault payment flows, and workload-identity token validation limits; behavior is mostly additive but misconfiguration could affect cost or auth federation setup.

Overview
Updates @onkernel/sdk from 0.152.0 to 0.154.0 and extends MCP tools to match new API contracts.

Browser sessions: manage_browsers adds creation-only platform.os (linux / macos), returns platform in create/get/list, pool acquire, and app invocation browser listings, and adds opt-in include_cost on get with billing interpretation notes. Platform configuration errors can surface safe unsupported_fields from API responses.

Vault / payments: Adds link_balance_setup on manage_vault_wallets and manage_vault_items invoke, with bounded whole-dollar inputs, URL safety checks, and public projection of Link balance.available on payment methods (including zero).

Workload identity: Raises token_validation.max_lifetime_seconds cap to 172800 (48 hours) for Azure-managed identity tokens.

Tests cover forwarding, defaults, validation boundaries, and response shaping for the new behavior.

Reviewed by Cursor Bugbot for commit 9f5d99f. Bugbot is set up for automated code reviews on this repo. Configure here.

@vercel

vercel Bot commented Nov 20, 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 Nov 23, 2026 7:53pm UTC

@socket-security

socket-security Bot commented Nov 20, 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.152.0 ⏵ 0.154.066100100 +199 +1100

View full report

@kernel-internal kernel-internal Bot changed the title MCP: Update Node SDK to 0.153.0 MCP: Update Node SDK to 0.154.0 Nov 20, 2026

@devin-ai-integration devin-ai-integration 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.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

cursor[bot]

This comment was marked as resolved.

Comment thread src/lib/mcp/tools/vault-wallets.ts Resolved
@masnwilliams
masnwilliams merged commit 71a219c into main Nov 23, 2026
11 checks passed
@masnwilliams
masnwilliams deleted the mcp-coverage-update branch November 23, 2026 20:43

This branch was successfully deployed

1 active deployment
Preview — 9f5d99fb Deployed Nov 23, 2026 by vercel[bot]
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.

1 participant