Repository navigation
MCP: Update Node SDK to 0.152.0 - #278
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
…lt delete needs a retry KERNEL retries the revoke, not the vault deletion, and a retry can end without 1Password's confirmation. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 3 potential issues.
There are 5 total unresolved issues (including 2 from previous reviews).
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want higher recall? High effort reviews run extra passes and find more bugs. A team admin can switch effort levels in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 8c86aea. Configure here.
…ettles Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The API treats stealth=true as captcha_solver.enabled=true, so fingerprint creates that pass only the deprecated stealth flag are valid.
Replace the separate per-action field maps with checks in each branch, next to the fields it forwards. Reuse the shared pagination schema, give each workload identity datetime field its own schema instance, add action prefixes to the remaining workload identity inputs, and reject an empty created_by.
Action-prefixed descriptions for the new workload identity inputs put the listing about 350 characters over the previous budget.
hiroTamada
approved these changes
Nov 20, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
@onkernel/sdkto0.152.0.Coverage
MCP coverage audit — Node SDK 0.152.0
Audit scope
70e473ae261f0c233d1b98222b972129bab550e4(@onkernel/sdk0.148.0).mcp-coverage-update, committed HEAD8c86aea, plus the workflow-pinned 0.152.0 dependency update and the working-tree changes described below.@onkernel/sdk0.152.0.../sdk/api.md, all public resource method signatures, and all request/parameter declarations under../sdk/src/resources,ClientOptions.credentials, token sources/cache/exchange behavior, and the new optional AWS STS peer dependency,APIResourceclasses/files. This is the 206 generated endpoint methods documented byapi.mdplus three public SDK convenience methods (auditLogs.download,browsers.fetch, andconfigRegistry.analyses.waitForResult). The parameter audit enumerated 220*Params/*Requestdeclarations across 47 resource files, including nested unions.Verdict
All user-facing additions and changed behavior from SDK 0.149.0, 0.150.0, 0.151.0, and 0.152.0 are represented in the existing grouped MCP tools after the final 0.152.0 change. No new top-level tool was needed for 0.152.0.
Of the 209 public SDK resource methods:
auth.context.retrieveauthenticates and scopes each Kernel-native connection and feedsget_connection_context.organization.entitlements.retrieveis used internally to gate vault and search capability registration/calls.Cumulative SDK/OpenAPI changes and MCP coverage
1pw_disconnect; 1Password provider revocation during account/vault deletion.manage_taskswith task/report/report-type actions, pagination, limits, and nested report data. Addedinclude_deletedevent lookup with deleted-ID semantics and cursor hints. Added1pw_disconnect,revoking,provider_revocation_pending, recovery guidance, and no-input validation.captcha_solver;stealthdeprecation/proxy behavior; Linux and macOS fingerprints; fingerprint/captcha response fields; Kernel-cardbrowser_idauthorization; AgentCard display cart and authorization evidence; service-account/effective-policy/workload provenance in auth context; API-key policy replacement, service-account principal andsource_ipcondition; workload-identity SDK credentials;payment_reveal_refused.false; enforced conflicts and creation-only behavior. Added Linux fingerprint enum and new prerequisites. Returned captcha/fingerprint data from apps and pool acquisitions. Added Kernel-card browser routing while preserving Link/Shop Pay paired checkout context. Added AgentCard line items/totals and safe authorization evidence. Extended auth routing/context for workload JWTs. Extended API-key create/update policy behavior and source-IP conditions. Updated telemetry description for the new proxy code.service_account_id,principal_type,created_by,project_id) andexpired; generated type renames.manage_workload_identitycovering all resource methods, nested JWKS/token validation/match/target/authorization structures, optimistic versions, filters, and pagination. Extendedmanage_api_keysfilters/status handling. Type-only renames required no MCP runtime change.OnePasswordOAuthAction.connect_urland its user-flow description.connect_urlto the safe vault action projection and URL filtering. Response guidance now distinguishes the device connect flow from the ordinary OAuth URL, explains mobile/browser behavior and signup, says both URLs should be offered where appropriate, records first-completion invalidation, expiry/refresh behavior, and recovery-link absence.0.152.0 implementation details
src/lib/mcp/vault-responses.tsaction.connect_urlthrough the same explicit output allowlist as other safe action metadata;connect_url, including rejection of credentials in authority components and secret-bearing query/fragment keys;src/lib/mcp/tools/vault-onepassword.test.tsurlandconnect_url;connect_urldoes not invent one.src/lib/mcp/vault-responses.test.tsFull public method inventory
“Covered” includes internal authentication/entitlement use where exposing a separate user tool would be wrong. Search coverage uses the generated client's generic request methods against the same endpoints and mirrored request contracts for explicit retry/deadline control.
apiKeyscreate,delete,list,retrieve,rotate,updateappslistauditLogsdownload,exportChunk,listauditLogs.exportDestinationscreate,delete,list,retrieve,test,updateauth.connectionscreate,delete,list,login,retrieve,submit,timeline,updatefollowauth.contextretrievebrowserPoolsacquire,create,delete,flush,list,release,retrieve,updatebrowserscreate,curl,deleteByID,list,repl,retrieve,saveProfile,updatefetch,loadExtensionsbrowsers.computerbatch,captureScreenshot,clickMouse,dragMouse,getMousePosition,moveMouse,pressKey,readClipboard,scroll,setCursorVisibility,typeText,writeClipboardbrowsers.fscreateDirectory,deleteDirectory,deleteFile,downloadDirZip,fileInfo,listFiles,move,readFile,setFilePermissions,upload,uploadZip,writeFilebrowsers.fs.watchevents,start,stopbrowsers.liveViewcreatebrowsers.logsstreambrowsers.playwright.executorsdelete,listbrowsers.playwrightexecutebrowsers.processexeckill,resize,spawn,status,stdin,stdoutStreambrowsers.replayslist,start,stopdownloadbrowsers.telemetryeventsstreambrowsers.webmcp.customToolsadd,list,removebrowsers.webmcpinvokeTool,listToolsconfigRegistry.analysescancel,list,retrievewaitForResultconfigRegistrylist,lookup,resolvecredentialProviderscreate,delete,list,listItems,retrieve,test,updatecredentialscreate,delete,list,retrieve,totpCode,updatedeploymentsdelete,list,retrievecreate,followextensionsdelete,get,listdownload,downloadFromChromeStore,uploadinvocationscreate,deleteBrowsers,list,listBrowsers,retrievefollow,updateorganization.entitlementsretrieveorganization.limitsretrieve,updateprofilescreate,delete,list,retrieve,updatedownloadprojects.limitsretrieve,updateprojectscreate,delete,list,retrieve,updateproxiescheck,create,delete,list,retrieve,updateproxyIPslist,retrievereportTypeslist,retrievereportTypes.versionsretrievereportscreate,list,retrievesearch.contentsfetchsearch.providerslistsearchcreate,retrieveserviceAccountscreate,delete,list,retrieve,updatetaskscreate,linkBrowsers,list,retrievetelemetry.destinationscreate,delete,list,retrieve,updatevaultProviderConfigscreate,delete,list,retrieve,updatevaults.itemsdelete,events,list,performOperation,retrieve,update,upsertvaultsdelete,list,retrieve,upsertretrieveEncryptionKeyworkloadIdentityAuthenticationEventslistworkloadIdentityFederationRulescreate,delete,list,retrieve,updateworkloadIdentityIssuerscreate,delete,list,retrieve,update,verifyNon-resource workload-identity credential API
SDK 0.150.0 also added a public client-authentication surface outside
src/resources:ClientOptions.credentials, access/identity token provider types,TokenCache, OIDC assertion exchange, environment credential chaining, and GitHub Actions, GCP metadata, AWS STS, file, and one-shot value token sources. These are deployment-side SDK credential providers, not Kernel API operations, so no MCP tool should accept their identity assertions or environment configuration. MCP coverage is compatibility at the authentication boundary: an API-audience workload access token produced by this SDK surface is forwarded to Kernel/auth/context, revalidated on every MCP request, and treated as an API/workload credential rather than a Clerk or native-MCP OAuth session. The optional AWS STS peer remains optional to the SDK; MCP added no direct dependency or model-facing STS operation.Deliberate exclusions
Binary, multipart, or artifact transfer
deployments.createbrowsers.loadExtensionsbrowsers.replays.downloadprofiles.downloadextensions.download,extensions.downloadFromChromeStore,extensions.uploadauditLogs.exportChunk,auditLogs.downloadThese operations move source archives, extension ZIPs, profile/replay artifacts, or compressed audit exports. Deployment creation additionally accepts environment-variable values and a private-repository token. They are intentionally not added as generic model-facing JSON wrappers or secret-bearing upload forms. Existing MCP file/screenshot tools are bounded, purpose-built exceptions with explicit encodings and output handling.
Long-lived streams and low-level process control
deployments.follow,invocations.follow,auth.connections.followbrowsers.telemetry.stream,browsers.logs.streambrowsers.fs.watch.events,browsers.fs.watch.start,browsers.fs.watch.stopbrowsers.process.spawn,status,stdin,stdoutStream,resize,killMCP exposes bounded list/get/timeline/event polling, one-shot filesystem operations, and
process.execinstead. It does not proxy indefinite SSE/stdout streams or process-handle/PTY lifecycle management. Filesystem watch start/stop are excluded with the event stream because exposing only that lifecycle would create unusable or orphaned server-side watches; the SDK provides no bounded cursor/list operation for watch events. Managed auth has bounded wait/timeline behavior, browser telemetry has paginated events, and deployments/invocations have retrieve/list.Organization-wide administrative surfaces
telemetry.destinationsmethods;organization.limits.retrieveandorganization.limits.update;auditLogs.list;auditLogs.exportDestinationsmethods.These are organization/enterprise administration and compliance surfaces, including destination credentials/headers, audit records, S3 trust configuration, and organization defaults. They are outside the current end-user/project-scoped grouped tools and were unchanged by this release range. Adding them would require a separately reviewed signed-in/admin-only capability and secret-safe contract, not opportunistic release coverage.
Internal or SDK-convenience methods
invocations.update: intended for app/runtime status/output reporting rather than an invoking end user; caller-facing app invocation creation, observation, browser listing, and cleanup are already exposed.vaults.retrieveEncryptionKey: supports custom collection web-app integrations that submit encrypted values; MCP deliberately uses hosted/value-free flows and does not accept ciphertext/raw credential material.browsers.fetch: SDK convenience wrapper returning a rawResponse;browser_curlalready provides the reviewed structured HTTP surface.configRegistry.analyses.waitForResult: SDK polling helper, not an API method. MCP exposes retrieve/list/cancel and avoids hidden polling.Parameter, enum, pagination, and behavior parity
New grouped tools
manage_taskslimit/offsetfor task, report-type, and report lists and returns compactitems,has_more,next_offsetpages.manage_workload_identitytargetandauthorizationobjects without flattening away semantics.false, empty descriptions, minimum TTLs, and offset0.Existing grouped tools extended
manage_api_keysexpiredstatus.include_deleted: false, nullable create scope, zero-day immediate rotation, and offset0.captcha_solver.enabled, includingfalse, with documented independent proxy behavior.stealthcompatibility while rejecting contradictory settings.linuxto the fingerprint enum and enforce the SDK's captcha/headless/GPU/memory prerequisites.line_items,subtotal,shipping,tax, anddiscount, preserving zero values.browser_idwithoutpage_url; retain paired context for Link/Shop Pay and no browser context for VGS/other Kernel items.1pw_disconnect, revoking/revocation behavior, andconnect_url./auth/context, without Clerk or native-MCP token exchange.Authentication, project selection, entitlements, and secret boundaries
projectForOperationchecks remain intact.manage_tasksis project-scoped.manage_workload_identityis organization-level and acceptsproject_idonly as the explicit rule/list field required by the SDK.Tool descriptions and size contracts
Character counts were measured from real
tools/listoutput with all toolsets enabled at the base SHA and in the final working tree.get_connection_contextmanage_api_keysmanage_tasksmanage_vault_cardsmanage_vault_itemsmanage_vaultsmanage_workload_identity0.152.0 itself changes no top-level tool description; its new behavioral text is returned only with relevant 1Password account results.
tools/listJSON size: 229,947 characters, below the 230,000 cap (53 characters headroom).tools/listJSON size: 225,296 characters.Annotation changes
Only the two newly registered tools add annotation records; no existing tool's annotations changed.
readOnlyHintdestructiveHintidempotentHintopenWorldHintmanage_tasksmanage_workload_identitymanage_tasksperforms non-destructive creates/submissions/link additions.manage_workload_identityincludes archive operations and reaches external identity-provider/JWKS endpoints through Kernel.Branch diff review by area
package.json,bun.lockmove SDK 0.148.0 → 0.152.0.src/app/[transport]/route.tsand test;src/lib/mcp/auth-context.tsand test;src/lib/native-oauth.tsand test.connection-context.tsand test;register.tsand test;tool-names.ts;prompts.test.ts; sharedschemas.ts.tools/tasks.tsandtools/tasks.test.ts.tools/api-keys.tsand test; newtools/workload-identity.tsand test.browser-config.tsand test;tools/browsers.tsand test;browser-pools.tsand test;auth-connections.tsand test;apps.tsand test; telemetry catalog text.vault-cards.ts;vault-items.tsand test;vault-kernel.test.ts;vault-onepassword.test.ts;vaults.tsand test;vault-schemas.tsand test;vault-responses.tsand test.No unrelated generated application artifact changed.
git diff --checkreports no whitespace errors.Validation
Required commands, all with Bun 1.3.3:
bun run check:managed-auth-app— passed.bunx tsc --noEmit --incremental false— passed.bun test— passed: 1,326 tests, 0 failures, 6,014 expectations across 86 files.Additional checks:
@onkernel/sdk@0.152.0.git diff --check— passed.Validation limitations
openapi-diff.patchand the checked-out SDK release sources; the supplied API snapshot directory was not a Git repository, so no independent OpenAPI history command was possible there.tools/listpayload has only 53 characters of remaining cap headroom; it passes deterministically in the current dependency set but future schema growth must remove or shorten other schema/description text.Repository state
No commit or push was performed. Expected working-tree changes are:
package.jsonandbun.lockupdate to SDK 0.152.0;src/lib/mcp/vault-responses.ts;src/lib/mcp/vault-responses.test.ts;src/lib/mcp/tools/vault-onepassword.test.ts.Validation
Note
High Risk
Changes authentication routing for JWT/API credentials, extends API-key policies and vault payment authorization—security- and payment-sensitive areas with broad tool-surface impact.
Overview
Bumps
@onkernel/sdkto 0.152.0 and brings the MCP tool surface in line with that release: new capabilities, stricter validation, and updated auth handling.Authentication now routes opaque API keys and API-audience workload-identity JWTs (failed Clerk verification) through Kernel
/auth/contextinstead of rejecting them. Connection context/analytics understand service-account principals, effective policy (includingsource_ip), and sanitized workload_identity provenance.New MCP toolsets:
manage_tasks(tasks, typed reports, report-type discovery) andmanage_workload_identity(service accounts, federation issuers/rules, auth events).manage_api_keysgains service-account keys, policy create/update with source-IP conditions, and richer list filters/status.Browser stack: explicit
captcha_solveron browsers, pools, and managed-auth connections;stealthtreated as deprecated with conflict checks; fingerprints addlinux; responses surface captcha/fingerprint where the SDK does.Vault/payments: Kernel cards can authorize with
browser_idonly; Link/Shop Pay still require paired checkout context;include_deletedon item events;1pw_disconnectandconnect_urlin 1Password OAuth guidance; tightened authorize/fill contracts and shorter tool descriptions.Reviewed by Cursor Bugbot for commit e17dc17. Bugbot is set up for automated code reviews on this repo. Configure here.