Patch Changes
- 7a7a0b6: Trim context compaction prompt: drop analysis scratchpad; list at most 15 relevant files with short reasons instead of full code dumps.
- 7b325d9: Drop the redundant
last_turn_idcolumn from sessions; the session tip is now read fromlast_turn_details.id. - e6a2e9e: Large tool response guidance now includes content size in the blocked preamble for MCP and sandbox dumps, shares the same "Content too big (size; reason)" framing, uses RFC 2119 wording (MUST/MAY/SHOULD), and states the per-response character limit for dumped-file reads and oversized sandbox stdout. Elevated tools (deferred-tools
get_tool_infoonly) skip offload up to min(50000 characters, 80% of remaining context). Individual offload uses a strict>threshold so the stated character cap is usable. Size figures are plain digits without thousands separators. - 6722969: Add session grants API (share, list, revoke) and user listing.
- ae7c705: Session grants now give read access, and sharing with everyone in the tenant is a
tenantgrant.Session.sharedreflects the tenant grant, and the deprecatedPATCH /sessions/{id} { shared }now grants or revokes it. Adds thesession_sharing.enabledcapability. - e87e9f2: Accept
x-tfg-toolsas an array of MCP tool definitions (inputSchema, optionaloutputSchema) on a TrueFoundry-mode turn. The header is read by a per-request store and mounted on the main thread throughTurnResourceResolver. Local tool lists keepoutputSchemaandannotations.