misc: Rename catalogs, sandbox download, and MCP tools paths; Fern upsert → create_or_update - #320
Merged
Conversation
…sert → create_or_update
bhaveshpatel640
requested review from
chiragjn,
debajyoti-truefoundry,
govindavashishtha,
heerambavi1998,
qaifi-tf,
sayan-truefoundry,
sr07asthana,
thesujai and
vinit-truefoundry
as code owners
August 18, 2026 10:55
🦋 Changeset detectedLatest commit: 594eedd The changes in this PR will be included in the next version bump. This PR includes changesets to release 4 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Contributor
|
For now on page size:
|
bhaveshpatel640
force-pushed
the
AGE-1879
branch
from
August 18, 2026 13:17
3c58361 to
920f997
Compare
bhaveshpatel640
force-pushed
the
AGE-1879
branch
from
August 18, 2026 13:22
810e247 to
9514848
Compare
bhaveshpatel640
force-pushed
the
AGE-1879
branch
from
August 18, 2026 14:34
69e34a4 to
c60a7c4
Compare
bhaveshpatel640
force-pushed
the
AGE-1879
branch
from
August 18, 2026 15:55
406a5e3 to
de13946
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 8b58038. Configure here.
bhaveshpatel640
commented
Aug 18, 2026
chiragjn
approved these changes
Aug 18, 2026
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
Align public API paths and Fern names. Split list pagination: sessions and turns stay at 25; session and turn event lists default and max at 100.
Closes AGE-1879.
Changes
GET …/turns/{turn_id}/download→…/download-sandbox-file(sessions.download_sandbox_file)/api/v1/catalog→/api/v1/catalogs(Fern groupcatalogs)upsert→create_or_updateon settings MCP / model providers / skills / sandboxGET /api/v1/settings/mcp-servers/{name}/tools→GET /api/v1/mcp-servers/{name}/tools(any authenticated user; caller’s MCP token)How was this tested?
Checklist
pnpm build,pnpm test,pnpm typecheck,pnpm lint:ci, andpnpm format:checkpass locally.env.exampleupdated if configuration or behavior changedNote
High Risk
Multiple breaking URL and SDK method renames affect any client still on old paths or
upsert/catalog; pagination max drops for session/turn lists may reject priorlimitvalues above 25.Overview
Breaking API and SDK surface changes align paths and Fern naming with conventions, and tighten list pagination via shared
PAGE_LIMIT/EVENTS_PAGE_LIMITincommon.ts.Discovery routes move from
/api/v1/catalog/...to/api/v1/catalogs/...(Fern groupcatalogs). Sandbox downloads use…/download-sandbox-fileinstead of…/download.GET /api/v1/mcp-servers/{name}/toolsreplaces the settings-scoped tools route; the handler is mounted on the public MCP router and the UI adapter callsclient.mcpServers.listTools.Settings PUT endpoints keep the same URLs but Fern/SDK methods
upsertbecomecreate_or_updatefor MCP servers, model providers, sandbox providers, and skills.Pagination: list sessions and list turns default and max are 25 (was 10 default / 100 max). Session and turn event lists default and max are 100 (turn events default rises from 25). OpenAPI, regenerated
trueforge-sdk, andtrueforge-uiadapters are updated to match.Reviewed by Cursor Bugbot for commit 594eedd. Bugbot is set up for automated code reviews on this repo. Configure here.