feat(plugin): add session request hook (#35794)

This commit is contained in:
Dax
2026-07-07 19:56:47 -04:00
committed by GitHub
parent e25a724bc2
commit 4f976bcf1a
124 changed files with 7038 additions and 4915 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ export const DebugGroup = HttpApiGroup.make("server.debug")
success: Schema.Array(Location.Ref),
}).annotateMerge(
OpenApi.annotations({
identifier: "v2.debug.location",
identifier: "v2.debug.location.list",
summary: "List loaded locations",
description: "List locations currently loaded by the server.",
}),
+1 -1
View File
@@ -36,7 +36,7 @@ export const MessageGroup = HttpApiGroup.make("server.message")
error: [InvalidCursorError, SessionNotFoundError, UnknownError],
}).annotateMerge(
OpenApi.annotations({
identifier: "v2.session.messages",
identifier: "v2.message.list",
summary: "Get session messages",
description:
"Retrieve projected messages for a session. Items keep the requested order across pages; use cursor.next or cursor.previous to move through the ordered timeline.",
+1 -1
View File
@@ -107,7 +107,7 @@ export const PtyGroup = HttpApiGroup.make("server.pty")
.annotateMerge(locationQueryOpenApi)
.annotateMerge(
OpenApi.annotations({
identifier: "v2.pty.connectToken",
identifier: "v2.pty.connect.token",
summary: "Create PTY WebSocket token",
description: "Create a short-lived single-use ticket for opening a PTY WebSocket connection.",
}),