feat(codemode): add OpenAPI tool adapter (#35192)
This commit is contained in:
@@ -127,6 +127,7 @@ export const PtyGroup = HttpApiGroup.make("server.pty")
|
||||
description: "Establish a WebSocket connection streaming PTY output and accepting terminal input.",
|
||||
transform: (operation) => ({
|
||||
...operation,
|
||||
"x-websocket": true,
|
||||
parameters: [
|
||||
...(operation.parameters ?? []),
|
||||
...["location[directory]", "location[workspace]", "cursor", PTY_CONNECT_TICKET_QUERY].map((name) => ({
|
||||
|
||||
Reference in New Issue
Block a user