feat(codemode): add OpenAPI tool adapter (#35362)
This commit is contained in:
parent
d65ecd4a90
commit
b8efb33cde
16 changed files with 29461 additions and 62 deletions
|
|
@ -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) => ({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue