feat(codemode): add OpenAPI tool adapter (#35192)

This commit is contained in:
Aiden Cline 2026-07-04 16:17:30 -05:00 committed by GitHub
commit a8983bd2c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 29461 additions and 62 deletions

View file

@ -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) => ({