You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 918219b
Browse filesBrowse the repository at this point in the historyBrowse files
fix(server): thread reads preview linked PRs and list_thread_pull_requests pages
t3_thread_read and t3_thread_list returned every open linked PR, and
list_thread_pull_requests returned every link. A thread with hundreds
of linked PRs pushed each result past MCP clients' output limit.
Thread results now preview up to 5 open PRs, watched first, then
newest, with openPullRequestCount. list_thread_pull_requests takes
states, cursor and limit (max 50) and returns nextCursor and total;
chains cover the stacks on the page.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
"List PRs linked to a thread, with last known state and stack order (bottom to top). Call only when you need that list. Never as an end-of-work check.",
309
-
parameters: Schema.Struct({
310
-
environmentId: OrchestratorMcpEnvironmentTarget,
311
-
threadId: Schema.optional(ThreadId.annotate({description: "Thread. Default: this thread."})),
312
-
}),
323
+
"List PRs linked to a thread, with last known state and stack order (bottom to top). Page with `cursor=nextCursor`. Call only when you need that list. Never as an end-of-work check.",
0 commit comments