chore: bump effect beta (#24705)

This commit is contained in:
Kit Langton 2026-04-27 21:58:11 -04:00 committed by GitHub
parent bad4599bf9
commit 704eb00de4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 27 additions and 23 deletions

View file

@ -105,6 +105,7 @@ export const ExperimentalApi = HttpApi.make("experimental")
HttpApiEndpoint.post("consoleSwitch", ExperimentalPaths.consoleSwitch, {
payload: ConsoleSwitchPayload,
success: Schema.Boolean,
error: HttpApiError.BadRequest,
}).annotateMerge(
OpenApi.annotations({
identifier: "experimental.console.switchOrg",

View file

@ -46,6 +46,7 @@ export const McpApi = HttpApi.make("mcp")
HttpApiEndpoint.post("add", McpPaths.status, {
payload: AddPayload,
success: StatusMap,
error: HttpApiError.BadRequest,
}).annotateMerge(
OpenApi.annotations({
identifier: "mcp.add",
@ -56,6 +57,7 @@ export const McpApi = HttpApi.make("mcp")
HttpApiEndpoint.post("authStart", McpPaths.auth, {
params: { name: Schema.String },
success: AuthStartResponse,
error: HttpApiError.BadRequest,
}).annotateMerge(
OpenApi.annotations({
identifier: "mcp.auth.start",
@ -78,6 +80,7 @@ export const McpApi = HttpApi.make("mcp")
HttpApiEndpoint.post("authAuthenticate", McpPaths.authAuthenticate, {
params: { name: Schema.String },
success: MCP.Status,
error: HttpApiError.BadRequest,
}).annotateMerge(
OpenApi.annotations({
identifier: "mcp.auth.authenticate",

View file

@ -37,6 +37,7 @@ export const ProviderApi = HttpApi.make("provider")
params: { providerID: ProviderID },
payload: ProviderAuth.AuthorizeInput,
success: Schema.UndefinedOr(ProviderAuth.Authorization),
error: HttpApiError.BadRequest,
}).annotateMerge(
OpenApi.annotations({
identifier: "provider.oauth.authorize",
@ -48,6 +49,7 @@ export const ProviderApi = HttpApi.make("provider")
params: { providerID: ProviderID },
payload: ProviderAuth.CallbackInput,
success: Schema.Boolean,
error: HttpApiError.BadRequest,
}).annotateMerge(
OpenApi.annotations({
identifier: "provider.oauth.callback",

View file

@ -191,6 +191,7 @@ export const SessionApi = HttpApi.make("session")
params: { sessionID: SessionID },
query: MessagesQuery,
success: Schema.Array(MessageV2.WithParts),
error: HttpApiError.BadRequest,
}).annotateMerge(
OpenApi.annotations({
identifier: "session.messages",
@ -211,6 +212,7 @@ export const SessionApi = HttpApi.make("session")
HttpApiEndpoint.post("create", SessionPaths.create, {
payload: [HttpApiSchema.NoContent, Session.CreateInput],
success: Session.Info,
error: HttpApiError.BadRequest,
}).annotateMerge(
OpenApi.annotations({
identifier: "session.create",