Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(web): import recent Codex and Claude threads during onboarding #8066

Mergedt3dotgg(GitHub profile, opens in a new tab)merged 7 commits intot3code/overhaul-onboarding-flow fromrefs/pull/8066/headmerged by t3dotgg(GitHub profile, opens in a new tab) View on GitHub

Showing 32 changed files with 40 additions and 0 deletions (loading 29).

x
0 of 32 viewed, 32 left
9 additions and 0 deletionsapps/server/src/auth/RpcAuthorization.test.tsModified
View file
@@ -43,6 +43,15 @@
);
});
​
+ it("requires write access to import agent session history", () => {
+ expect(requiredScopeForRpcMethod(WS_METHODS.agentSessionsScan)).toBe(
+ AuthOrchestrationReadScope,
+ );
+ expect(requiredScopeForRpcMethod(WS_METHODS.agentSessionsImport)).toBe(
+ AuthOrchestrationOperateScope,
+ );
+ });
+​
it("reads the reviewer menu under the same scope as the pull request it belongs to", () => {
// The candidate list is a read like the detail beside it, and asking somebody for a review is
// a write like every other pull request operation.
1 addition and 0 deletionsapps/server/src/auth/RpcAuthorization.tsModified
View file
@@ -84,6 +84,7 @@
[WS_METHODS.shellOpenInEditor]: AuthOrchestrationOperateScope,
[WS_METHODS.filesystemBrowse]: AuthOrchestrationReadScope,
[WS_METHODS.agentSessionsScan]: AuthOrchestrationReadScope,
+ [WS_METHODS.agentSessionsImport]: AuthOrchestrationOperateScope,
[WS_METHODS.assetsCreateUrl]: AuthOrchestrationReadScope,
[WS_METHODS.attachmentsCreateUploadUrl]: AuthOrchestrationOperateScope,
[WS_METHODS.attachmentsDelete]: AuthOrchestrationOperateScope,