Repository navigation
v0.9.71: trial plan-change guard, 1password patch bounds, mcp json-rpc responses - #10521
Merged
Merged
Conversation
…ing (#10506) - an item patch carries 1 to 500 operations, each with a path of 1 to 16 segments; a patch with no operations or a path naming no field is refused instead of reporting success - item, field and patch JSON bodies are capped at 256 KB - path segments are checked with the shared isSafeKey - the catalog's operation-input map and the Anthropic schema path walk skip inherited keys
…vers (#10508) The Streamable HTTP transport requires a server to answer a POSTed JSON-RPC response with 202 and no body, as it already does for notifications. The workflow MCP serve route refused them with 400 -32600. It now accepts and ignores result and error responses, matching the SDK's streamable HTTP server; the route never sends server-to-client requests, so there is nothing to correlate them to. Remaining malformed-message 400s now log the body's shape (batch, not_an_object, invalid_version, invalid_response, missing_method, invalid_id) instead of a single not_a_request, without logging the body.
Co-authored-by: Sim Pi Agent <pi@sim.ai>
Co-authored-by: Sim Pi Agent <pi@sim.ai>
Co-authored-by: Sim Pi Agent <pi@sim.ai>
…d end markers share a read (#10504) * fix(desktop-terminal): keep a fast command's output when its start and end markers share a read The session applied every shell marker in a PTY chunk before looking at the chunk's text. When a quick command's start marker, output and end marker arrived in one read, the command finished before its text was examined, so terminal_run returned completed with empty output. Marker offsets now place each piece of text before or after the markers around it. * fix(desktop-terminal): judge a full-screen command only after the whole read is applied A program that opened and closed the alternate screen and finished within one read was resolved as interactive before its finish marker ran. Interactive resolution now waits until every marker in the read is applied and requires the alternate screen to still be held.
* docs(library): update best-dust-alternatives-2026 * improvement(library): add a runnable Dust buying guide pilot --------- Co-authored-by: Sim Pi Agent <pi@sim.ai>
* fix(billing): refuse plan changes during a pro trial A trial's fixed allowance is counted per billing period, and a price change restarts Stripe's period, so switching monthly/yearly during a trial started the cap over each time. Refuse switch-plan (checked against the row and Stripe) and any personal /subscription/upgrade while a Pro trial runs. * fix(billing): scope the trial guard to personal pro, cover the stripe check * chore(tests): shrink the test-types baseline for the switch-plan route test
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
[Medium impact] The runtime changes affect billing, workflow MCP requests, 1Password item operations, and desktop terminal output. The PR appears safe to merge, with a non-blocking gap in rejecting 1Password patches that change nothing. Findings
SummaryThis PR adds trial plan-change guards, bounds 1Password patches, accepts client-posted MCP replies, and preserves fast terminal command output.
Reviews (1) · Last reviewed commit: "fix(billing): refuse plan changes during..." · Reviewed by Greptile |
Contributor
There was a problem hiding this comment.
All reported issues were addressed across 32 files
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
…er (#10523) Alternate-screen switches were tracked over a whole read before its shell markers were applied, so when one command ended and the next entered the alternate screen in the same read, the end marker's reset ran last and the tab reported no full-screen program while one was open. Track each segment between markers in order, the same way output is attributed.
) * fix(onepassword): refuse item patches whose path reaches nothing In service-account mode an update_item patch is applied in-process before the SDK saves the item. An operation whose path named no field was skipped, so the unchanged item was saved and reported as a success, where the Connect server rejects it per RFC 6902. applyOnePasswordPatch now reports whether each operation reached its target (replace/remove need an existing target, add an existing parent, '-' only appends), and update_item refuses with a 400 before saving. * fix(onepassword): keep notes patchable, insert array adds * fix(onepassword): require patch values, match connect array adds
This branch was previously 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.
Uh oh!
There was an error while loading. Please reload this page.