* Revert the outbound MCP SDK v2 migration * Drop the v2 MCP packages from the lockfile
Showing the changes to apps/cloud/src/auth (1 of 91 files). Show all
Unified · Split
| @@ -631,9 +631,6 @@ export const CloudSessionAuthHandlers = HttpApiBuilder.group( · 630 unmodified lines | ||
| 631 | 631 | Effect.gen(function* () { |
| 632 | 632 | const owner = yield* requireSelectedOrganization; |
| 633 | 633 | const stub = getMcpSessionStub(params.mcpSessionId); |
| 634 | − if (!stub) { | |
| 635 | − return yield* new McpExecutionNotFoundError({ executionId: params.executionId }); | |
| 636 | − } | |
| 637 | 634 | const result = yield* Effect.promise(() => |
| 638 | 635 | stub.getPausedExecutionForApproval(params.executionId, { |
| 639 | 636 | accountId: owner.accountId, |
| @@ -655,9 +652,6 @@ export const CloudSessionAuthHandlers = HttpApiBuilder.group( · 15 unmodified lines | ||
| 655 | 652 | Effect.gen(function* () { |
| 656 | 653 | const owner = yield* requireSelectedOrganization; |
| 657 | 654 | const stub = getMcpSessionStub(params.mcpSessionId); |
| 658 | − if (!stub) { | |
| 659 | − return yield* new McpExecutionNotFoundError({ executionId: params.executionId }); | |
| 660 | − } | |
| 661 | 655 | const result = yield* Effect.promise(() => |
| 662 | 656 | stub.resumeExecutionForApproval( |
| 663 | 657 | params.executionId, |