Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(server): agent browser tools stop bloating history, fall back sensibly, and respect ownership #16956

Mergedjuliusmarmingemerged 8 commits intomain fromrefs/pull/16956/headmerged by juliusmarminge View on GitHub

Showing 24 changed files with 101 additions and 51 deletions (loading 21).

x
0 of 24 viewed, 24 left
1 addition and 0 deletionsapps/server/src/auth/RpcAuthorization.test.tsModified
View file
@@ -152,6 +152,7 @@
WS_METHODS.previewReportStatus,
WS_METHODS.previewAdjust,
WS_METHODS.previewClearProfile,
+ WS_METHODS.previewReportProfiles,
]) {
expect(requiredScopeForRpcMethod(method)).toBe(AuthPreviewOperateScope);
1 addition and 0 deletionsapps/server/src/auth/RpcAuthorization.tsModified
View file
@@ -189,6 +189,7 @@
[WS_METHODS.previewClose]: AuthPreviewOperateScope,
[WS_METHODS.previewList]: AuthOrchestrationReadScope,
[WS_METHODS.previewClearProfile]: AuthPreviewOperateScope,
+ [WS_METHODS.previewReportProfiles]: AuthPreviewOperateScope,
[WS_METHODS.previewReportStatus]: AuthPreviewOperateScope,
[WS_METHODS.subscribePreviewEvents]: AuthOrchestrationReadScope,
[WS_METHODS.subscribeDiscoveredLocalServers]: AuthOrchestrationReadScope,
99 additions and 51 deletionsapps/server/src/mcp/toolkits/attachment/handlers.tsModified
View file
@@ -1,5 +1,12 @@
-import { type ChatAttachment, MessageId, OrchestratorMcpFailure } from "@t3tools/contracts";
+import {
+ ATTACHMENT_UPLOAD_URL_TTL_MS,
+ type ChatAttachment,
+ MessageId,
+ OrchestratorMcpFailure,