{ "openapi": "3.1.1", "info": { "title": "tlbx API", "description": "tlbx browser control station API", "version": "1.0.0" }, "paths": { "/api/auth/login": { "post": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LoginRequest" } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AuthResponse" } } } } } } }, "/api/auth/logout": { "post": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "responses": { "200": { "description": "OK" } } } }, "/api/auth/refresh": { "post": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "responses": { "204": { "description": "No Content" }, "401": { "description": "Unauthorized" } } } }, "/api/auth/change-password": { "post": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ChangePasswordRequest" } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AuthResponse" } } } } } } }, "/api/auth/status": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AuthStatusResponse" } } } } } } }, "/api/security/status": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SecurityStatus" } } } } } } }, "/api/security/api-keys": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApiKeyListResponse" } } } } } }, "post": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateApiKeyRequest" } } }, "required": true }, "responses": { "201": { "description": "Created", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateApiKeyResponse" } } } } } } }, "/api/security/api-keys/{id}": { "delete": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "204": { "description": "No Content" } } } }, "/api/security/firewall": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FirewallRuleStatusResponse" } } } } } }, "post": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FirewallRuleStatusResponse" } } } } } }, "delete": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FirewallRuleStatusResponse" } } } } } } }, "/api/state": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/StateUpdate" } } } } } } }, "/api/sessions": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SessionListDto" } } } } } }, "post": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "requestBody": { "content": { "application/json": { "schema": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/CreateSessionRequest" } ] } } } }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SessionInfoDto" } } } } } } }, "/api/sessions/attention": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "agentOnly", "in": "query", "schema": { "type": "boolean", "default": true } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SessionAttentionResponse" } } } } } } }, "/api/workers/bootstrap": { "post": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkerBootstrapRequest" } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkerBootstrapResponse" } } } } } } }, "/api/sessions/reorder": { "post": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SessionReorderRequest" } } }, "required": true }, "responses": { "200": { "description": "OK" } } } }, "/api/sessions/{id}": { "delete": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK" } } } }, "/api/sessions/{id}/resize": { "post": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResizeRequest" } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResizeResponse" } } } } } } }, "/api/sessions/{id}/redraw": { "post": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "204": { "description": "No Content" }, "404": { "description": "Not Found" } } } }, "/api/sessions/{id}/state": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "includeBuffer", "in": "query", "schema": { "type": "boolean", "default": true } }, { "name": "includeBufferBase64", "in": "query", "schema": { "type": "boolean", "default": false } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SessionStateResponse" } } } } } } }, "/api/sessions/{id}/input": { "post": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/octet-stream": { "schema": { "type": "string", "format": "byte" } } }, "required": true }, "responses": { "200": { "description": "OK" } } } }, "/api/sessions/{id}/input/text": { "post": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SessionInputRequest" } } }, "required": true }, "responses": { "200": { "description": "OK" } } } }, "/api/sessions/{id}/input/keys": { "post": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SessionKeyInputRequest" } } }, "required": true }, "responses": { "200": { "description": "OK" } } } }, "/api/sessions/{id}/input/prompt": { "post": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SessionPromptRequest" } } }, "required": true }, "responses": { "200": { "description": "OK" } } } }, "/api/sessions/{id}/buffer": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "application/octet-stream": { "schema": { "type": "string", "format": "byte" } } } } } } }, "/api/sessions/{id}/buffer/text": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "includeBase64", "in": "query", "schema": { "type": "boolean", "default": false } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SessionBufferTextResponse" } } } } } } }, "/api/sessions/{id}/buffer/tail": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "lines", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 120 } }, { "name": "stripAnsi", "in": "query", "schema": { "type": "boolean", "default": true } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "type": "string" } } } } } } }, "/api/sessions/{id}/activity": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "seconds", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 120 } }, { "name": "bellLimit", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 25 } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SessionActivityResponse" } } } } } } }, "/api/sessions/{id}/agent": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "tailLines", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 80 } }, { "name": "activitySeconds", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 90 } }, { "name": "bellLimit", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 8 } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AgentSessionVibeResponse" } } } } } } }, "/api/sessions/{id}/agent/feed": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "tailLines", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 80 } }, { "name": "activitySeconds", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 90 } }, { "name": "bellLimit", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 8 } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AgentSessionFeedResponse" } } } } } } }, "/api/sessions/{id}/name": { "put": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "auto", "in": "query", "schema": { "type": "boolean", "default": false } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RenameSessionRequest" } } }, "required": true }, "responses": { "200": { "description": "OK" } } } }, "/api/sessions/{id}/notes": { "put": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SetSessionNotesRequest" } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SessionInfoDto" } } } } } } }, "/api/sessions/{id}/topic": { "put": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SetSessionTopicRequest" } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SessionInfoDto" } } } } } } }, "/api/sessions/{id}/control": { "put": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SetSessionControlRequest" } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SessionInfoDto" } } } } } } }, "/api/sessions/{id}/upload": { "post": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "multipart/form-data": { "schema": { "required": [ "file" ], "type": "object", "properties": { "file": { "$ref": "#/components/schemas/IFormFile" } } } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FileUploadResponse" } } } } } } }, "/api/sessions/{id}/paste-clipboard-image": { "post": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "multipart/form-data": { "schema": { "required": [ "file" ], "type": "object", "properties": { "file": { "$ref": "#/components/schemas/IFormFile" } } } } }, "required": true }, "responses": { "200": { "description": "OK" } } } }, "/api/sessions/{id}/inject-guidance": { "post": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/InjectGuidanceResponse" } } } } } } }, "/api/sessions/{id}/bookmark": { "put": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SetBookmarkRequest" } } }, "required": true }, "responses": { "200": { "description": "OK" } } } }, "/api/browser/status": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "sessionId", "in": "query", "schema": { "type": "string" } }, { "name": "previewName", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BrowserStatusResponse" } } } } } } }, "/api/browser/preview-client": { "post": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BrowserPreviewClientRequest" } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BrowserPreviewClientResponse" } } } } } } }, "/api/browser/detach": { "post": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WebPreviewSessionRequest" } } }, "required": true }, "responses": { "200": { "description": "OK" } } } }, "/api/browser/dock": { "post": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WebPreviewSessionRequest" } } }, "required": true }, "responses": { "200": { "description": "OK" } } } }, "/api/browser/viewport": { "post": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ViewportRequest" } } }, "required": true }, "responses": { "200": { "description": "OK" } } } }, "/api/browser/open": { "post": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WebPreviewTargetRequest" } } }, "required": true }, "responses": { "200": { "description": "OK" } } } }, "/api/browser/command": { "post": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BrowserCommandRequest" } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BrowserCommandResponse" } } } } } } }, "/api/browser/main": { "post": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BrowserCommandRequest" } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BrowserCommandResponse" } } } } } } }, "/api/webpreview/previews": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "sessionId", "in": "query", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WebPreviewSessionListResponse" } } } } } }, "post": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WebPreviewSessionRequest" } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WebPreviewSessionInfo" } } } } } }, "delete": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "sessionId", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "previewName", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK" } } } }, "/api/webpreview/target": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "sessionId", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "previewName", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WebPreviewTargetResponse" } } } } } }, "put": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WebPreviewTargetRequest" } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WebPreviewTargetResponse" } } } } } }, "delete": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "sessionId", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "previewName", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK" } } } }, "/api/webpreview/cookies": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "sessionId", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "previewName", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WebPreviewCookiesResponse" } } } } } }, "post": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "sessionId", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "previewName", "in": "query", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WebPreviewCookieSetRequest" } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WebPreviewCookiesResponse" } } } } } }, "delete": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "sessionId", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "previewName", "in": "query", "schema": { "type": "string" } }, { "name": "name", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "path", "in": "query", "schema": { "type": "string" } }, { "name": "domain", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WebPreviewCookiesResponse" } } } } } } }, "/api/webpreview/cookies/clear": { "post": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "sessionId", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "previewName", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK" } } } }, "/api/webpreview/reload": { "post": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WebPreviewReloadRequest" } } }, "required": true }, "responses": { "200": { "description": "OK" } } } }, "/api/webpreview/snapshot": { "post": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WebPreviewSnapshotRequest" } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WebPreviewSnapshotResponse" } } } } } } }, "/api/webpreview/proxylog": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "sessionId", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "previewName", "in": "query", "schema": { "type": "string" } }, { "name": "limit", "in": "query", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/WebPreviewProxyLogEntry" } } } } } } }, "delete": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "sessionId", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "previewName", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK" } } } }, "/api/restart": { "post": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "responses": { "200": { "description": "OK" } } } }, "/api/shutdown": { "post": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "responses": { "200": { "description": "OK" } } } }, "/api/history": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/LaunchEntry" } } } } } } }, "post": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateHistoryRequest" } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LaunchEntry" } } } } } } }, "/api/history/{id}": { "patch": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HistoryPatchRequest" } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LaunchEntry" } } } } } }, "delete": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK" } } } }, "/api/history/{id}/star": { "put": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LaunchEntry" } } } } } } }, "/api/history/reorder": { "post": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HistoryReorderRequest" } } }, "required": true }, "responses": { "200": { "description": "OK" } } } }, "/api/files/register": { "post": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FileRegisterRequest" } } }, "required": true }, "responses": { "200": { "description": "OK" } } } }, "/api/files/check": { "post": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "sessionId", "in": "query", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FileCheckRequest" } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FileCheckResponse" } } } } } } }, "/api/files/list": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "path", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "sessionId", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DirectoryListResponse" } } } } } } }, "/api/files/view": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "path", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "sessionId", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK" } } } }, "/api/files/download": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "path", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "sessionId", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK" } } } }, "/api/files/resolve": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "sessionId", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "path", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "deep", "in": "query", "schema": { "type": "boolean", "default": false } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FileResolveResponse" } } } } } } }, "/api/files/save": { "put": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "sessionId", "in": "query", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FileSaveRequest" } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FileSaveResponse" } } } } } } }, "/api/logs/files": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LogFilesResponse" } } } } } } }, "/api/logs/read": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "file", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "lines", "in": "query", "schema": { "type": "integer", "format": "int32" } }, { "name": "fromEnd", "in": "query", "schema": { "type": "boolean" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LogReadResponse" } } } } } } }, "/api/logs/tail": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "file", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "position", "in": "query", "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LogReadResponse" } } } } } } }, "/api/share/create": { "post": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateShareLinkRequest" } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateShareLinkResponse" } } } } } } }, "/api/share/active": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "limit", "in": "query", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ActiveShareGrantListResponse" } } } } } } }, "/api/share/{grantId}": { "delete": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "grantId", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "204": { "description": "No Content" }, "404": { "description": "Not Found" } } } }, "/api/share/claim": { "post": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ClaimShareRequest" } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ClaimShareResponse" } } } } } } }, "/api/share/bootstrap": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ShareBootstrapResponse" } } } } } } }, "/api/bootstrap": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BootstrapResponse" } } } } } } }, "/api/bootstrap/login": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BootstrapLoginResponse" } } } } } } }, "/api/system": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SystemResponse" } } } } } } }, "/api/version": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "type": "string" } } } } } } }, "/api/health": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SystemHealth" } } } } } } }, "/api/version/details": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/VersionManifest" } } } } } } }, "/api/certificate/info": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CertificateInfoResponse" } } } } } } }, "/api/certificate/download/pem": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "responses": { "200": { "description": "OK" } } } }, "/api/certificate/download/mobileconfig": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "responses": { "200": { "description": "OK" } } } }, "/api/certificate/share-packet": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SharePacketInfo" } } } } } } }, "/api/networks": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/NetworkInterfaceDto" } } } } } } } }, "/api/shells": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ShellInfoDto" } } } } } } } }, "/api/users": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/UserInfo" } } } } } } } }, "/api/settings": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MidTermSettingsPublic" } } } } } }, "put": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MidTermSettingsPublic" } } }, "required": true }, "responses": { "200": { "description": "OK" } } } }, "/api/settings/reload": { "post": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "responses": { "200": { "description": "OK" } } } }, "/api/paths": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PathsResponse" } } } } } } }, "/api/update/check": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpdateInfo" } } } } } } }, "/api/update/apply": { "post": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "source", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK" } } } }, "/api/update/result": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "parameters": [ { "name": "clear", "in": "query", "schema": { "type": "boolean", "default": false } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpdateResult" } } } } } }, "delete": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "responses": { "200": { "description": "OK" } } } }, "/api/update/log": { "get": { "tags": [ "Ai.Tlbx.MidTerm.OpenApi" ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "type": "string" } } } } } } } }, "components": { "schemas": { "ActiveShareGrantInfo": { "required": [ "grantId", "sessionId", "sessionName", "mode", "createdAtUtc", "expiresAtUtc" ], "type": "object", "properties": { "grantId": { "type": "string" }, "sessionId": { "type": "string" }, "sessionName": { "type": "string" }, "mode": { "$ref": "#/components/schemas/ShareAccessMode" }, "createdAtUtc": { "type": "string", "format": "date-time" }, "expiresAtUtc": { "type": "string", "format": "date-time" } } }, "ActiveShareGrantListResponse": { "required": [ "shares" ], "type": "object", "properties": { "shares": { "type": "array", "items": { "$ref": "#/components/schemas/ActiveShareGrantInfo" } } } }, "AgentSessionFeedResponse": { "required": [ "sessionId", "source", "generatedAt", "activities" ], "type": "object", "properties": { "sessionId": { "type": "string" }, "source": { "type": "string" }, "generatedAt": { "type": "string", "format": "date-time" }, "activities": { "type": "array", "items": { "$ref": "#/components/schemas/AgentSessionVibeActivity" } } } }, "AgentSessionVibeActivity": { "required": [ "id", "tone", "kind", "summary", "detail", "createdAt" ], "type": "object", "properties": { "id": { "type": "string" }, "tone": { "type": "string" }, "kind": { "type": "string" }, "summary": { "type": "string" }, "detail": { "type": [ "null", "string" ] }, "createdAt": { "type": "string", "format": "date-time" } } }, "AgentSessionVibeCapability": { "required": [ "key", "label", "status", "statusLabel", "detail" ], "type": "object", "properties": { "key": { "type": "string" }, "label": { "type": "string" }, "status": { "type": "string" }, "statusLabel": { "type": "string" }, "detail": { "type": "string" } } }, "AgentSessionVibeChip": { "required": [ "text", "tone" ], "type": "object", "properties": { "text": { "type": "string" }, "tone": { "type": "string" } } }, "AgentSessionVibeHeader": { "required": [ "title", "subtitle", "provider", "providerLabel", "state", "stateLabel", "needsAttention", "attentionReason", "transportSummary", "chips" ], "type": "object", "properties": { "title": { "type": "string" }, "subtitle": { "type": "string" }, "provider": { "type": "string" }, "providerLabel": { "type": "string" }, "state": { "type": "string" }, "stateLabel": { "type": "string" }, "needsAttention": { "type": "boolean" }, "attentionReason": { "type": [ "null", "string" ] }, "transportSummary": { "type": "string" }, "chips": { "type": "array", "items": { "$ref": "#/components/schemas/AgentSessionVibeChip" } } } }, "AgentSessionVibeLane": { "required": [ "mode", "tone", "label", "detail" ], "type": "object", "properties": { "mode": { "type": "string" }, "tone": { "type": "string" }, "label": { "type": "string" }, "detail": { "type": "string" } } }, "AgentSessionVibeOverview": { "required": [ "stateValue", "stateMeta", "activityValue", "activityMeta", "lastOutputValue", "lastOutputMeta", "bellsValue", "bellsMeta" ], "type": "object", "properties": { "stateValue": { "type": "string" }, "stateMeta": { "type": "string" }, "activityValue": { "type": "string" }, "activityMeta": { "type": "string" }, "lastOutputValue": { "type": "string" }, "lastOutputMeta": { "type": "string" }, "bellsValue": { "type": "string" }, "bellsMeta": { "type": "string" } } }, "AgentSessionVibeResponse": { "required": [ "sessionId", "source", "generatedAt", "header", "lane", "capabilities", "overview", "activities", "heatmap", "terminal" ], "type": "object", "properties": { "sessionId": { "type": "string" }, "source": { "type": "string" }, "generatedAt": { "type": "string", "format": "date-time" }, "header": { "$ref": "#/components/schemas/AgentSessionVibeHeader" }, "lane": { "$ref": "#/components/schemas/AgentSessionVibeLane" }, "capabilities": { "type": "array", "items": { "$ref": "#/components/schemas/AgentSessionVibeCapability" } }, "overview": { "$ref": "#/components/schemas/AgentSessionVibeOverview" }, "activities": { "type": "array", "items": { "$ref": "#/components/schemas/AgentSessionVibeActivity" } }, "heatmap": { "type": "array", "items": { "$ref": "#/components/schemas/SessionActivityHeatSample" } }, "terminal": { "$ref": "#/components/schemas/AgentSessionVibeTerminal" } } }, "AgentSessionVibeTerminal": { "required": [ "tailLineCount", "tailText", "emptyMessage" ], "type": "object", "properties": { "tailLineCount": { "type": "integer", "format": "int32" }, "tailText": { "type": "string" }, "emptyMessage": { "type": "string" } } }, "ApiKeyInfoResponse": { "required": [ "id", "name", "preview", "createdAtUtc", "lastUsedAtUtc" ], "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "preview": { "type": "string" }, "createdAtUtc": { "type": "string", "format": "date-time" }, "lastUsedAtUtc": { "type": [ "null", "string" ], "format": "date-time" } } }, "ApiKeyListResponse": { "required": [ "apiKeys" ], "type": "object", "properties": { "apiKeys": { "type": "array", "items": { "$ref": "#/components/schemas/ApiKeyInfoResponse" } } } }, "AppServerControlAttachmentReference": { "required": [ "kind", "path", "mimeType", "displayName" ], "type": "object", "properties": { "kind": { "type": "string" }, "path": { "type": "string" }, "mimeType": { "type": [ "null", "string" ] }, "displayName": { "type": [ "null", "string" ] } } }, "AppServerControlTerminalReplayStep": { "required": [ "kind", "text", "path", "mimeType", "useBracketedPaste" ], "type": "object", "properties": { "kind": { "type": "string" }, "text": { "type": [ "null", "string" ] }, "path": { "type": [ "null", "string" ] }, "mimeType": { "type": [ "null", "string" ] }, "useBracketedPaste": { "type": "boolean" } } }, "AppServerControlTurnRequest": { "required": [ "attachments", "terminalReplay" ], "type": "object", "properties": { "text": { "type": [ "null", "string" ] }, "model": { "type": [ "null", "string" ] }, "effort": { "type": [ "null", "string" ] }, "planMode": { "type": [ "null", "string" ] }, "permissionMode": { "type": [ "null", "string" ] }, "attachments": { "type": "array", "items": { "$ref": "#/components/schemas/AppServerControlAttachmentReference" } }, "terminalReplay": { "type": "array", "items": { "$ref": "#/components/schemas/AppServerControlTerminalReplayStep" } } } }, "AuthResponse": { "required": [ "success", "error" ], "type": "object", "properties": { "success": { "type": "boolean" }, "error": { "type": [ "null", "string" ] } } }, "AuthStatusResponse": { "required": [ "authenticationEnabled", "passwordSet" ], "type": "object", "properties": { "authenticationEnabled": { "type": "boolean" }, "passwordSet": { "type": "boolean" } } }, "BellStyleSetting": { "enum": [ "notification", "sound", "visual", "both", "off" ] }, "BootstrapLoginResponse": { "required": [ "certificate" ], "type": "object", "properties": { "certificate": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/CertificateInfoResponse" } ] } } }, "BootstrapResponse": { "required": [ "auth", "version", "ttyHostVersion", "ttyHostCompatible", "uptimeSeconds", "platform", "hostname", "settings", "networks", "users", "shells", "updateResult", "devMode", "features", "voicePassword", "gitVersion", "codeSigned" ], "type": "object", "properties": { "auth": { "$ref": "#/components/schemas/AuthStatusResponse" }, "version": { "type": "string" }, "ttyHostVersion": { "type": [ "null", "string" ] }, "ttyHostCompatible": { "type": "boolean" }, "uptimeSeconds": { "type": "integer", "format": "int64" }, "platform": { "type": "string" }, "hostname": { "type": "string" }, "settings": { "$ref": "#/components/schemas/MidTermSettingsPublic" }, "networks": { "type": "array", "items": { "$ref": "#/components/schemas/NetworkInterfaceDto" } }, "users": { "type": "array", "items": { "$ref": "#/components/schemas/UserInfo" } }, "shells": { "type": "array", "items": { "$ref": "#/components/schemas/ShellInfoDto" } }, "updateResult": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UpdateResult" } ] }, "devMode": { "type": "boolean" }, "features": { "$ref": "#/components/schemas/FeatureFlags" }, "voicePassword": { "type": [ "null", "string" ] }, "gitVersion": { "type": [ "null", "string" ] }, "codeSigned": { "type": "boolean" } } }, "BrowserClientInfo": { "required": [ "sessionId", "previewName", "previewId", "browserId", "connectedAtUtc", "isMainBrowser", "isVisible", "hasFocus", "isTopLevel" ], "type": "object", "properties": { "sessionId": { "type": [ "null", "string" ] }, "previewName": { "type": [ "null", "string" ] }, "previewId": { "type": [ "null", "string" ] }, "browserId": { "type": [ "null", "string" ] }, "connectedAtUtc": { "type": "string", "format": "date-time" }, "isMainBrowser": { "type": "boolean" }, "isVisible": { "type": "boolean" }, "hasFocus": { "type": "boolean" }, "isTopLevel": { "type": "boolean" } } }, "BrowserCommandRequest": { "required": [ "command", "textOnly" ], "type": "object", "properties": { "command": { "type": "string" }, "selector": { "type": [ "null", "string" ] }, "value": { "type": [ "null", "string" ] }, "maxDepth": { "type": [ "null", "integer" ], "format": "int32" }, "textOnly": { "type": "boolean" }, "timeout": { "type": [ "null", "integer" ], "format": "int32" }, "sessionId": { "type": [ "null", "string" ] }, "previewName": { "type": [ "null", "string" ] }, "previewId": { "type": [ "null", "string" ] } } }, "BrowserCommandResponse": { "required": [ "success", "result", "error", "matchCount" ], "type": "object", "properties": { "success": { "type": "boolean" }, "result": { "type": [ "null", "string" ] }, "error": { "type": [ "null", "string" ] }, "matchCount": { "type": [ "null", "integer" ], "format": "int32" } } }, "BrowserPreviewClientRequest": { "type": "object", "properties": { "sessionId": { "type": [ "null", "string" ] }, "previewName": { "type": [ "null", "string" ] }, "tabId": { "type": [ "null", "string" ] } } }, "BrowserPreviewClientResponse": { "required": [ "sessionId", "previewName", "routeKey", "previewId", "previewToken", "origin" ], "type": "object", "properties": { "sessionId": { "type": [ "null", "string" ] }, "previewName": { "type": "string" }, "routeKey": { "type": "string" }, "previewId": { "type": "string" }, "previewToken": { "type": "string" }, "origin": { "type": [ "null", "string" ] } } }, "BrowserStatusResponse": { "required": [ "connected", "controllable", "hasTarget", "hasUiClient", "isScoped", "state", "bridgePhase", "scopeDescription", "statusMessage", "recoveryHint", "connectedClientCount", "totalConnectedClientCount", "connectedUiClientCount", "targetUrl", "ownerBrowserId", "ownerConnected", "defaultClient", "clients" ], "type": "object", "properties": { "connected": { "type": "boolean" }, "controllable": { "type": "boolean" }, "hasTarget": { "type": "boolean" }, "hasUiClient": { "type": "boolean" }, "isScoped": { "type": "boolean" }, "state": { "type": "string" }, "bridgePhase": { "type": "string" }, "scopeDescription": { "type": [ "null", "string" ] }, "statusMessage": { "type": [ "null", "string" ] }, "recoveryHint": { "type": [ "null", "string" ] }, "connectedClientCount": { "type": "integer", "format": "int32" }, "totalConnectedClientCount": { "type": "integer", "format": "int32" }, "connectedUiClientCount": { "type": "integer", "format": "int32" }, "targetUrl": { "type": [ "null", "string" ] }, "ownerBrowserId": { "type": [ "null", "string" ] }, "ownerConnected": { "type": "boolean" }, "defaultClient": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/BrowserClientInfo" } ] }, "clients": { "type": "array", "items": { "$ref": "#/components/schemas/BrowserClientInfo" } } } }, "CertificateDownloadInfo": { "required": [ "fingerprint", "fingerprintFormatted", "notBefore", "notAfter", "keyProtection", "dnsNames", "ipAddresses", "isFallbackCertificate" ], "type": "object", "properties": { "fingerprint": { "type": "string" }, "fingerprintFormatted": { "type": "string" }, "notBefore": { "type": "string", "format": "date-time" }, "notAfter": { "type": "string", "format": "date-time" }, "keyProtection": { "type": "string" }, "dnsNames": { "type": "array", "items": { "type": "string" } }, "ipAddresses": { "type": "array", "items": { "type": "string" } }, "isFallbackCertificate": { "type": "boolean" } } }, "CertificateInfoResponse": { "required": [ "fingerprint", "notBefore", "notAfter", "isFallbackCertificate" ], "type": "object", "properties": { "fingerprint": { "type": [ "null", "string" ] }, "notBefore": { "type": [ "null", "string" ], "format": "date-time" }, "notAfter": { "type": [ "null", "string" ], "format": "date-time" }, "isFallbackCertificate": { "type": "boolean" } } }, "ChangePasswordRequest": { "required": [ "newPassword" ], "type": "object", "properties": { "currentPassword": { "type": [ "null", "string" ] }, "newPassword": { "type": "string" } } }, "ClaimShareRequest": { "required": [ "grantId", "secret" ], "type": "object", "properties": { "grantId": { "type": "string" }, "secret": { "type": "string" } } }, "ClaimShareResponse": { "required": [ "grantId", "sessionId", "mode", "expiresAtUtc" ], "type": "object", "properties": { "grantId": { "type": "string" }, "sessionId": { "type": "string" }, "mode": { "$ref": "#/components/schemas/ShareAccessMode" }, "expiresAtUtc": { "type": "string", "format": "date-time" } } }, "ClipboardShortcutsSetting": { "enum": [ "auto", "windows", "unix" ] }, "CreateApiKeyRequest": { "required": [ "name" ], "type": "object", "properties": { "name": { "type": "string" } } }, "CreateApiKeyResponse": { "required": [ "apiKey", "token" ], "type": "object", "properties": { "apiKey": { "$ref": "#/components/schemas/ApiKeyInfoResponse" }, "token": { "type": "string" } } }, "CreateHistoryRequest": { "required": [ "shellType", "executable", "workingDirectory", "isStarred", "launchMode", "surfaceType" ], "type": "object", "properties": { "shellType": { "type": "string" }, "executable": { "type": "string" }, "commandLine": { "type": [ "null", "string" ] }, "workingDirectory": { "type": "string" }, "dedupeKey": { "type": [ "null", "string" ] }, "isStarred": { "type": "boolean" }, "label": { "type": [ "null", "string" ] }, "notes": { "type": [ "null", "string" ] }, "launchMode": { "type": "string" }, "profile": { "type": [ "null", "string" ] }, "launchOrigin": { "type": [ "null", "string" ] }, "surfaceType": { "type": "string" }, "foregroundProcessName": { "type": [ "null", "string" ] }, "foregroundProcessCommandLine": { "type": [ "null", "string" ] }, "foregroundProcessDisplayName": { "type": [ "null", "string" ] }, "foregroundProcessIdentity": { "type": [ "null", "string" ] } } }, "CreateSessionRequest": { "required": [ "cols", "rows" ], "type": "object", "properties": { "cols": { "type": "integer", "format": "int32" }, "rows": { "type": "integer", "format": "int32" }, "shell": { "type": [ "null", "string" ] }, "workingDirectory": { "type": [ "null", "string" ] }, "spaceId": { "type": [ "null", "string" ] }, "workspacePath": { "type": [ "null", "string" ] }, "surface": { "type": [ "null", "string" ] } } }, "CreateShareLinkRequest": { "required": [ "sessionId", "mode" ], "type": "object", "properties": { "sessionId": { "type": "string" }, "mode": { "$ref": "#/components/schemas/ShareAccessMode" }, "shareHost": { "type": [ "null", "string" ] } } }, "CreateShareLinkResponse": { "required": [ "shareUrl", "grantId", "mode", "expiresAtUtc" ], "type": "object", "properties": { "shareUrl": { "type": "string" }, "grantId": { "type": "string" }, "mode": { "$ref": "#/components/schemas/ShareAccessMode" }, "expiresAtUtc": { "type": "string", "format": "date-time" } } }, "CursorInactiveStyleSetting": { "enum": [ "outline", "block", "bar", "underline", "none" ] }, "CursorStyleSetting": { "enum": [ "bar", "block", "underline" ] }, "DirectoryEntry": { "required": [ "name", "isDirectory", "size", "modified", "mimeType" ], "type": "object", "properties": { "name": { "type": "string" }, "isDirectory": { "type": "boolean" }, "size": { "type": [ "null", "integer" ], "format": "int64" }, "modified": { "type": [ "null", "string" ], "format": "date-time" }, "mimeType": { "type": [ "null", "string" ] } } }, "DirectoryListResponse": { "required": [ "path", "entries" ], "type": "object", "properties": { "path": { "type": "string" }, "entries": { "type": "array", "items": { "$ref": "#/components/schemas/DirectoryEntry" } } } }, "FeatureFlags": { "required": [ "voiceChat" ], "type": "object", "properties": { "voiceChat": { "type": "boolean" } } }, "FileCheckRequest": { "required": [ "paths" ], "type": "object", "properties": { "paths": { "type": "array", "items": { "type": "string" } } } }, "FileCheckResponse": { "required": [ "results" ], "type": "object", "properties": { "results": { "type": "object", "additionalProperties": { "$ref": "#/components/schemas/FilePathInfo" } } } }, "FilePathInfo": { "required": [ "exists", "size", "isDirectory", "mimeType", "modified", "isText" ], "type": "object", "properties": { "exists": { "type": "boolean" }, "size": { "type": [ "null", "integer" ], "format": "int64" }, "isDirectory": { "type": "boolean" }, "mimeType": { "type": [ "null", "string" ] }, "modified": { "type": [ "null", "string" ], "format": "date-time" }, "isText": { "type": [ "null", "boolean" ] } } }, "FileRegisterRequest": { "required": [ "sessionId", "paths" ], "type": "object", "properties": { "sessionId": { "type": "string" }, "paths": { "type": "array", "items": { "type": "string" } } } }, "FileResolveResponse": { "required": [ "exists", "resolvedPath", "isDirectory", "size", "mimeType", "modified", "isText" ], "type": "object", "properties": { "exists": { "type": "boolean" }, "resolvedPath": { "type": [ "null", "string" ] }, "isDirectory": { "type": "boolean" }, "size": { "type": [ "null", "integer" ], "format": "int64" }, "mimeType": { "type": [ "null", "string" ] }, "modified": { "type": [ "null", "string" ], "format": "date-time" }, "isText": { "type": [ "null", "boolean" ] } } }, "FileSaveRequest": { "required": [ "path", "content" ], "type": "object", "properties": { "path": { "type": "string" }, "content": { "type": "string" } } }, "FileSaveResponse": { "required": [ "success", "size" ], "type": "object", "properties": { "success": { "type": "boolean" }, "size": { "type": "integer", "format": "int64" } } }, "FileUploadResponse": { "required": [ "path" ], "type": "object", "properties": { "path": { "type": "string" } } }, "FirewallRuleStatusResponse": { "required": [ "supported", "canManage", "rulePresent", "ruleEnabled", "matchesCurrentPort", "matchesCurrentProgram", "port", "bindAddress", "loopbackOnly", "ruleName", "ruleLocalPort", "ruleProgramPath" ], "type": "object", "properties": { "supported": { "type": "boolean" }, "canManage": { "type": "boolean" }, "rulePresent": { "type": "boolean" }, "ruleEnabled": { "type": "boolean" }, "matchesCurrentPort": { "type": "boolean" }, "matchesCurrentProgram": { "type": "boolean" }, "port": { "type": "integer", "format": "int32" }, "bindAddress": { "type": "string" }, "loopbackOnly": { "type": "boolean" }, "ruleName": { "type": "string" }, "ruleLocalPort": { "type": [ "null", "string" ] }, "ruleProgramPath": { "type": [ "null", "string" ] } } }, "HistoryPatchRequest": { "type": "object", "properties": { "isStarred": { "type": [ "null", "boolean" ] }, "label": { "type": [ "null", "string" ] }, "notes": { "type": [ "null", "string" ] } } }, "HistoryReorderRequest": { "required": [ "orderedIds" ], "type": "object", "properties": { "orderedIds": { "type": "array", "items": { "type": "string" } } } }, "HubMachineInfo": { "required": [ "id", "name", "baseUrl", "enabled", "hasApiKey", "hasPassword", "lastFingerprint", "pinnedFingerprint" ], "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "baseUrl": { "type": "string" }, "enabled": { "type": "boolean" }, "hasApiKey": { "type": "boolean" }, "hasPassword": { "type": "boolean" }, "lastFingerprint": { "type": [ "null", "string" ] }, "pinnedFingerprint": { "type": [ "null", "string" ] } } }, "IFormFile": { "type": "string", "format": "binary" }, "InjectGuidanceResponse": { "required": [ "tlbxDir", "tlbxCliShellPath", "tlbxCliPowerShellPath", "claudeMdUpdated", "agentsMdUpdated" ], "type": "object", "properties": { "tlbxDir": { "type": "string" }, "tlbxCliShellPath": { "type": "string" }, "tlbxCliPowerShellPath": { "type": "string" }, "claudeMdUpdated": { "type": "boolean" }, "agentsMdUpdated": { "type": "boolean" } } }, "LanguageSetting": { "enum": [ "auto", "en", "zh", "es", "hi", "fr", "bn", "pt", "ru", "ja", "de" ] }, "LaunchEntry": { "required": [ "id", "shellType", "executable", "commandLine", "workingDirectory", "isStarred", "label", "notes", "lastUsed", "order", "launchMode", "profile", "launchOrigin", "surfaceType", "foregroundProcessName", "foregroundProcessCommandLine", "foregroundProcessDisplayName", "foregroundProcessIdentity" ], "type": "object", "properties": { "id": { "type": "string" }, "shellType": { "type": "string" }, "executable": { "type": "string" }, "commandLine": { "type": [ "null", "string" ] }, "workingDirectory": { "type": "string" }, "isStarred": { "type": "boolean" }, "label": { "type": [ "null", "string" ] }, "notes": { "type": [ "null", "string" ] }, "lastUsed": { "type": "string", "format": "date-time" }, "order": { "type": "integer", "format": "int32" }, "launchMode": { "type": "string" }, "profile": { "type": [ "null", "string" ] }, "launchOrigin": { "type": [ "null", "string" ] }, "surfaceType": { "type": "string" }, "foregroundProcessName": { "type": [ "null", "string" ] }, "foregroundProcessCommandLine": { "type": [ "null", "string" ] }, "foregroundProcessDisplayName": { "type": [ "null", "string" ] }, "foregroundProcessIdentity": { "type": [ "null", "string" ] } } }, "LayoutNode": { "required": [ "type", "sessionId", "direction", "children" ], "type": "object", "properties": { "type": { "type": "string" }, "sessionId": { "type": [ "null", "string" ] }, "direction": { "type": [ "null", "string" ] }, "children": { "type": [ "null", "array" ], "items": { "$ref": "#/components/schemas/LayoutNode" } } } }, "LocalUpdateInfo": { "required": [ "available", "version", "path", "type", "sessionsPreserved" ], "type": "object", "properties": { "available": { "type": "boolean" }, "version": { "type": "string" }, "path": { "type": "string" }, "type": { "$ref": "#/components/schemas/UpdateType" }, "sessionsPreserved": { "type": "boolean" } } }, "LogEntryMessage": { "required": [ "messageType", "source", "sessionId", "timestamp", "level", "message" ], "type": "object", "properties": { "messageType": { "type": "string" }, "source": { "type": "string" }, "sessionId": { "type": [ "null", "string" ] }, "timestamp": { "type": "string" }, "level": { "type": "string" }, "message": { "type": "string" } } }, "LogFileInfo": { "required": [ "name", "source", "sessionId", "size", "modified", "isActive" ], "type": "object", "properties": { "name": { "type": "string" }, "source": { "type": "string" }, "sessionId": { "type": [ "null", "string" ] }, "size": { "type": "integer", "format": "int64" }, "modified": { "type": "string" }, "isActive": { "type": "boolean" } } }, "LogFilesResponse": { "required": [ "files" ], "type": "object", "properties": { "files": { "type": "array", "items": { "$ref": "#/components/schemas/LogFileInfo" } } } }, "LogReadResponse": { "required": [ "entries", "position", "fileName" ], "type": "object", "properties": { "entries": { "type": "array", "items": { "$ref": "#/components/schemas/LogEntryMessage" } }, "position": { "type": "integer", "format": "int64" }, "fileName": { "type": "string" } } }, "LoginRequest": { "required": [ "password" ], "type": "object", "properties": { "password": { "type": "string" } } }, "ManagerBarButton": { "required": [ "id", "label", "text", "actionType", "prompts", "trigger" ], "type": "object", "properties": { "id": { "type": "string" }, "label": { "type": "string" }, "text": { "type": "string" }, "actionType": { "type": "string" }, "prompts": { "type": "array", "items": { "type": "string" } }, "trigger": { "$ref": "#/components/schemas/ManagerBarTrigger" } } }, "ManagerBarQueueEntryDto": { "required": [ "queueId", "sessionId", "kind", "action", "turn", "phase", "nextPromptIndex", "completedCycles", "nextRunAt", "ignoreHeatUntil", "awaitingHeatRise" ], "type": "object", "properties": { "queueId": { "type": "string" }, "sessionId": { "type": "string" }, "kind": { "type": "string" }, "action": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/ManagerBarButton" } ] }, "turn": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/AppServerControlTurnRequest" } ] }, "phase": { "type": "string" }, "nextPromptIndex": { "type": "integer", "format": "int32" }, "completedCycles": { "type": "integer", "format": "int32" }, "nextRunAt": { "type": [ "null", "string" ], "format": "date-time" }, "ignoreHeatUntil": { "type": [ "null", "string" ], "format": "date-time" }, "awaitingHeatRise": { "type": "boolean" } } }, "ManagerBarScheduleEntry": { "required": [ "timeOfDay", "repeat" ], "type": "object", "properties": { "timeOfDay": { "type": "string" }, "repeat": { "type": "string" } } }, "ManagerBarTrigger": { "required": [ "kind", "repeatCount", "repeatEveryValue", "repeatEveryUnit", "schedule" ], "type": "object", "properties": { "kind": { "type": "string" }, "repeatCount": { "type": "integer", "format": "int32" }, "repeatEveryValue": { "type": "integer", "format": "int32" }, "repeatEveryUnit": { "type": "string" }, "schedule": { "type": "array", "items": { "$ref": "#/components/schemas/ManagerBarScheduleEntry" } } } }, "MidTermSettingsPublic": { "required": [ "defaultShell", "defaultCols", "defaultRows", "defaultWorkingDirectory", "terminalEnvironmentVariables", "codexYoloDefault", "codexDefaultAppServerControlModel", "codexEnvironmentVariables", "claudeDangerouslySkipPermissionsDefault", "claudeDefaultAppServerControlModel", "claudeEnvironmentVariables", "agentMessageFontFamily", "showAgentMessageTimestamps", "showUnknownAgentMessages", "toolCallOutputLines", "fontSize", "fontFamily", "terminalLigaturesEnabled", "lineHeight", "letterSpacing", "fontWeight", "fontWeightBold", "customGlyphs", "boxDrawingStyle", "boxDrawingScale", "cursorStyle", "cursorBlink", "cursorInactiveStyle", "theme", "terminalColorScheme", "terminalColorSchemes", "backgroundImageEnabled", "hideBackgroundImageOnMobile", "backgroundImageFileName", "backgroundImageRevision", "backgroundKenBurnsEnabled", "backgroundKenBurnsZoomPercent", "backgroundKenBurnsSpeedPxPerSecond", "uiTransparency", "terminalTransparency", "terminalCellBackgroundTransparency", "tabTitleMode", "minimumContrastRatio", "smoothScrolling", "scrollbarStyle", "useWebGL", "terminalThemeLightnessBoost", "scrollbackLines", "scrollbackBytes", "bellStyle", "copyOnSelect", "rightClickPaste", "clipboardShortcuts", "terminalEnterMode", "scrollbackProtection", "mobileKineticTerminalScroll", "mobileDenseTerminalMode", "keepSystemAwakeWithActiveSessions", "resumeMode", "tryResumeNonAiAgentProcesses", "preserveTerminalCursorControl", "inputMode", "fileRadar", "showBookmarks", "allowAdHocSessionBookmarks", "showSidebarSessionFilter", "worktreeRootDirectory", "tmuxCompatibility", "managerBarEnabled", "commandBayLigaturesEnabled", "devMode", "terminalLatencyDiagnosticsEnabled", "terminalInputCoalescingMs", "showChangelogAfterUpdate", "showUpdateNotification", "updateChannel", "language", "managerBarButtons", "runAsUser", "runAsUserSid", "authenticationEnabled", "certificatePath", "hubMachines" ], "type": "object", "properties": { "defaultShell": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/ShellType" } ] }, "defaultCols": { "type": "integer", "format": "int32" }, "defaultRows": { "type": "integer", "format": "int32" }, "defaultWorkingDirectory": { "type": "string" }, "terminalEnvironmentVariables": { "type": "string" }, "codexYoloDefault": { "type": "boolean" }, "codexDefaultAppServerControlModel": { "type": "string" }, "codexEnvironmentVariables": { "type": "string" }, "claudeDangerouslySkipPermissionsDefault": { "type": "boolean" }, "claudeDefaultAppServerControlModel": { "type": "string" }, "claudeEnvironmentVariables": { "type": "string" }, "agentMessageFontFamily": { "type": "string" }, "showAgentMessageTimestamps": { "type": "boolean" }, "showUnknownAgentMessages": { "type": "boolean" }, "toolCallOutputLines": { "type": "integer", "format": "int32" }, "fontSize": { "type": "integer", "format": "int32" }, "fontFamily": { "type": "string" }, "terminalLigaturesEnabled": { "type": "boolean" }, "lineHeight": { "type": "number", "format": "double" }, "letterSpacing": { "type": "number", "format": "double" }, "fontWeight": { "type": "string" }, "fontWeightBold": { "type": "string" }, "customGlyphs": { "type": "boolean" }, "boxDrawingStyle": { "type": "string" }, "boxDrawingScale": { "type": "number", "format": "double" }, "cursorStyle": { "$ref": "#/components/schemas/CursorStyleSetting" }, "cursorBlink": { "type": "boolean" }, "cursorInactiveStyle": { "$ref": "#/components/schemas/CursorInactiveStyleSetting" }, "theme": { "$ref": "#/components/schemas/ThemeSetting" }, "terminalColorScheme": { "type": "string" }, "terminalColorSchemes": { "type": "array", "items": { "$ref": "#/components/schemas/TerminalColorSchemeDefinition" } }, "backgroundImageEnabled": { "type": "boolean" }, "hideBackgroundImageOnMobile": { "type": "boolean" }, "backgroundImageFileName": { "type": [ "null", "string" ] }, "backgroundImageRevision": { "type": "integer", "format": "int64" }, "backgroundKenBurnsEnabled": { "type": "boolean" }, "backgroundKenBurnsZoomPercent": { "type": "integer", "format": "int32" }, "backgroundKenBurnsSpeedPxPerSecond": { "type": "integer", "format": "int32" }, "uiTransparency": { "type": "integer", "format": "int32" }, "terminalTransparency": { "type": [ "null", "integer" ], "format": "int32" }, "terminalCellBackgroundTransparency": { "type": [ "null", "integer" ], "format": "int32" }, "tabTitleMode": { "$ref": "#/components/schemas/TabTitleModeSetting" }, "minimumContrastRatio": { "type": "number", "format": "double" }, "smoothScrolling": { "type": "boolean" }, "scrollbarStyle": { "$ref": "#/components/schemas/ScrollbarStyleSetting" }, "useWebGL": { "type": "boolean" }, "terminalThemeLightnessBoost": { "type": "integer", "format": "int32" }, "scrollbackLines": { "type": "integer", "format": "int32" }, "scrollbackBytes": { "type": "integer", "format": "int32" }, "bellStyle": { "$ref": "#/components/schemas/BellStyleSetting" }, "copyOnSelect": { "type": "boolean" }, "rightClickPaste": { "type": "boolean" }, "clipboardShortcuts": { "$ref": "#/components/schemas/ClipboardShortcutsSetting" }, "terminalEnterMode": { "$ref": "#/components/schemas/TerminalEnterModeSetting" }, "scrollbackProtection": { "type": "boolean" }, "mobileKineticTerminalScroll": { "type": "boolean" }, "mobileDenseTerminalMode": { "type": "boolean" }, "keepSystemAwakeWithActiveSessions": { "type": "boolean" }, "resumeMode": { "$ref": "#/components/schemas/TerminalResumeModeSetting" }, "tryResumeNonAiAgentProcesses": { "type": "boolean" }, "preserveTerminalCursorControl": { "type": "boolean" }, "inputMode": { "type": "string" }, "fileRadar": { "type": "boolean" }, "showBookmarks": { "type": "boolean" }, "allowAdHocSessionBookmarks": { "type": "boolean" }, "showSidebarSessionFilter": { "type": "boolean" }, "worktreeRootDirectory": { "type": "string" }, "tmuxCompatibility": { "type": "boolean" }, "managerBarEnabled": { "type": "boolean" }, "commandBayLigaturesEnabled": { "type": "boolean" }, "devMode": { "type": "boolean" }, "terminalLatencyDiagnosticsEnabled": { "type": "boolean" }, "terminalInputCoalescingMs": { "type": "integer", "format": "int32" }, "showChangelogAfterUpdate": { "type": "boolean" }, "showUpdateNotification": { "type": "boolean" }, "updateChannel": { "type": [ "null", "string" ] }, "language": { "$ref": "#/components/schemas/LanguageSetting" }, "managerBarButtons": { "type": "array", "items": { "$ref": "#/components/schemas/ManagerBarButton" } }, "runAsUser": { "type": [ "null", "string" ] }, "runAsUserSid": { "type": [ "null", "string" ] }, "authenticationEnabled": { "type": "boolean" }, "certificatePath": { "type": [ "null", "string" ] }, "hubMachines": { "type": "array", "items": { "$ref": "#/components/schemas/HubMachineInfo" } } } }, "NetworkEndpointInfo": { "required": [ "name", "url" ], "type": "object", "properties": { "name": { "type": "string" }, "url": { "type": "string" } } }, "NetworkInterfaceDto": { "required": [ "name", "ip" ], "type": "object", "properties": { "name": { "type": "string" }, "ip": { "type": "string" } } }, "PathsResponse": { "required": [ "settingsFile", "secretsFile", "certificateFile", "logDirectory" ], "type": "object", "properties": { "settingsFile": { "type": "string" }, "secretsFile": { "type": "string" }, "certificateFile": { "type": "string" }, "logDirectory": { "type": "string" } } }, "RenameSessionRequest": { "type": "object", "properties": { "name": { "type": [ "null", "string" ] } } }, "ResizeRequest": { "required": [ "cols", "rows" ], "type": "object", "properties": { "cols": { "type": "integer", "format": "int32" }, "rows": { "type": "integer", "format": "int32" } } }, "ResizeResponse": { "required": [ "accepted", "cols", "rows" ], "type": "object", "properties": { "accepted": { "type": "boolean" }, "cols": { "type": "integer", "format": "int32" }, "rows": { "type": "integer", "format": "int32" } } }, "ScrollbarStyleSetting": { "enum": [ "off", "hover", "always" ] }, "SecurityStatus": { "required": [ "passwordProtected", "certificateTrusted", "warnings" ], "type": "object", "properties": { "passwordProtected": { "type": "boolean" }, "certificateTrusted": { "type": "boolean" }, "warnings": { "type": "array", "items": { "type": "string" } } } }, "SessionActivityHeatSample": { "required": [ "timestamp", "bytes", "heat" ], "type": "object", "properties": { "timestamp": { "type": "string", "format": "date-time" }, "bytes": { "type": "integer", "format": "int32" }, "heat": { "type": "number", "format": "double" } } }, "SessionActivityResponse": { "required": [ "sessionId", "windowSeconds", "bellLimit", "totalOutputBytes", "totalBellCount", "currentBytesPerSecond", "currentHeat", "lastOutputAt", "lastBellAt", "heatmap", "bellHistory" ], "type": "object", "properties": { "sessionId": { "type": "string" }, "windowSeconds": { "type": "integer", "format": "int32" }, "bellLimit": { "type": "integer", "format": "int32" }, "totalOutputBytes": { "type": "integer", "format": "int64" }, "totalBellCount": { "type": "integer", "format": "int32" }, "currentBytesPerSecond": { "type": "integer", "format": "int32" }, "currentHeat": { "type": "number", "format": "double" }, "lastOutputAt": { "type": [ "null", "string" ], "format": "date-time" }, "lastBellAt": { "type": [ "null", "string" ], "format": "date-time" }, "heatmap": { "type": "array", "items": { "$ref": "#/components/schemas/SessionActivityHeatSample" } }, "bellHistory": { "type": "array", "items": { "$ref": "#/components/schemas/SessionBellEvent" } } } }, "SessionAgentAttachPoint": { "required": [ "provider", "transportKind", "endpoint", "sharedRuntime", "source", "preferredThreadId" ], "type": "object", "properties": { "provider": { "type": "string" }, "transportKind": { "type": "string" }, "endpoint": { "type": "string" }, "sharedRuntime": { "type": "boolean" }, "source": { "type": "string" }, "preferredThreadId": { "type": [ "null", "string" ] } } }, "SessionAttentionItem": { "required": [ "session", "attentionScore" ], "type": "object", "properties": { "session": { "$ref": "#/components/schemas/SessionInfoDto" }, "attentionScore": { "type": "integer", "format": "int32" } } }, "SessionAttentionResponse": { "required": [ "generatedAt", "agentOnly", "attentionCount", "sessions" ], "type": "object", "properties": { "generatedAt": { "type": "string", "format": "date-time" }, "agentOnly": { "type": "boolean" }, "attentionCount": { "type": "integer", "format": "int32" }, "sessions": { "type": "array", "items": { "$ref": "#/components/schemas/SessionAttentionItem" } } } }, "SessionBellEvent": { "required": [ "timestamp", "count" ], "type": "object", "properties": { "timestamp": { "type": "string", "format": "date-time" }, "count": { "type": "integer", "format": "int32" } } }, "SessionBufferTextResponse": { "required": [ "sessionId", "byteLength", "encoding", "text", "base64" ], "type": "object", "properties": { "sessionId": { "type": "string" }, "byteLength": { "type": "integer", "format": "int32" }, "encoding": { "type": "string" }, "text": { "type": "string" }, "base64": { "type": [ "null", "string" ] } } }, "SessionInfoDto": { "required": [ "id", "pid", "createdAt", "isRunning", "exitCode", "cols", "rows", "shellType", "name", "terminalTitle", "topic", "notes", "manuallyNamed", "currentDirectory", "foregroundPid", "foregroundName", "foregroundCommandLine", "foregroundDisplayName", "foregroundProcessIdentity", "agentAttachPoint", "order", "parentSessionId", "bookmarkId", "spaceId", "workspacePath", "surface", "isAdHoc", "agentControlled", "appServerControlOnly", "profileHint", "appServerControlResumeThreadId", "hasAppServerControlHistory", "supervisor" ], "type": "object", "properties": { "id": { "type": "string" }, "pid": { "type": "integer", "format": "int32" }, "createdAt": { "type": "string", "format": "date-time" }, "isRunning": { "type": "boolean" }, "exitCode": { "type": [ "null", "integer" ], "format": "int32" }, "cols": { "type": "integer", "format": "int32" }, "rows": { "type": "integer", "format": "int32" }, "shellType": { "type": "string" }, "name": { "type": [ "null", "string" ] }, "terminalTitle": { "type": [ "null", "string" ] }, "topic": { "type": [ "null", "string" ] }, "notes": { "type": [ "null", "string" ] }, "manuallyNamed": { "type": "boolean" }, "currentDirectory": { "type": [ "null", "string" ] }, "foregroundPid": { "type": [ "null", "integer" ], "format": "int32" }, "foregroundName": { "type": [ "null", "string" ] }, "foregroundCommandLine": { "type": [ "null", "string" ] }, "foregroundDisplayName": { "type": [ "null", "string" ] }, "foregroundProcessIdentity": { "type": [ "null", "string" ] }, "agentAttachPoint": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/SessionAgentAttachPoint" } ] }, "order": { "type": "integer", "format": "int32" }, "parentSessionId": { "type": [ "null", "string" ] }, "bookmarkId": { "type": [ "null", "string" ] }, "spaceId": { "type": [ "null", "string" ] }, "workspacePath": { "type": [ "null", "string" ] }, "surface": { "type": [ "null", "string" ] }, "isAdHoc": { "type": "boolean" }, "agentControlled": { "type": "boolean" }, "appServerControlOnly": { "type": "boolean" }, "profileHint": { "type": [ "null", "string" ] }, "appServerControlResumeThreadId": { "type": [ "null", "string" ] }, "hasAppServerControlHistory": { "type": "boolean" }, "supervisor": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/SessionSupervisorInfoDto" } ] } } }, "SessionInputRequest": { "required": [ "appendNewline" ], "type": "object", "properties": { "text": { "type": [ "null", "string" ] }, "base64": { "type": [ "null", "string" ] }, "appendNewline": { "type": "boolean" } } }, "SessionKeyInputRequest": { "required": [ "keys", "literal" ], "type": "object", "properties": { "keys": { "type": "array", "items": { "type": "string" } }, "literal": { "type": "boolean" } } }, "SessionLayoutState": { "required": [ "revision", "root", "focusedSessionId" ], "type": "object", "properties": { "revision": { "type": "integer", "format": "int64" }, "root": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/LayoutNode" } ] }, "focusedSessionId": { "type": [ "null", "string" ] } } }, "SessionListDto": { "required": [ "sessions" ], "type": "object", "properties": { "sessions": { "type": "array", "items": { "$ref": "#/components/schemas/SessionInfoDto" } } } }, "SessionPromptRequest": { "required": [ "mode", "interruptFirst", "interruptKeys", "literalInterruptKeys", "interruptDelayMs", "submitKeys", "literalSubmitKeys", "submitDelayMs", "followupSubmitCount", "followupSubmitDelayMs" ], "type": "object", "properties": { "text": { "type": [ "null", "string" ] }, "base64": { "type": [ "null", "string" ] }, "mode": { "type": "string" }, "profile": { "type": [ "null", "string" ] }, "interruptFirst": { "type": "boolean" }, "interruptKeys": { "type": "array", "items": { "type": "string" } }, "literalInterruptKeys": { "type": "boolean" }, "interruptDelayMs": { "type": "integer", "format": "int32" }, "submitKeys": { "type": "array", "items": { "type": "string" } }, "literalSubmitKeys": { "type": "boolean" }, "submitDelayMs": { "type": "integer", "format": "int32" }, "followupSubmitCount": { "type": "integer", "format": "int32" }, "followupSubmitDelayMs": { "type": "integer", "format": "int32" } } }, "SessionReorderRequest": { "required": [ "sessionIds" ], "type": "object", "properties": { "sessionIds": { "type": "array", "items": { "type": "string" } } } }, "SessionStateResponse": { "required": [ "session", "previews", "bufferByteLength", "bufferEncoding", "bufferText", "bufferBase64", "terminalTransport", "supervisor" ], "type": "object", "properties": { "session": { "$ref": "#/components/schemas/SessionInfoDto" }, "previews": { "type": "array", "items": { "$ref": "#/components/schemas/WebPreviewSessionInfo" } }, "bufferByteLength": { "type": "integer", "format": "int32" }, "bufferEncoding": { "type": "string" }, "bufferText": { "type": [ "null", "string" ] }, "bufferBase64": { "type": [ "null", "string" ] }, "terminalTransport": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/TerminalTransportDiagnosticsDto" } ] }, "supervisor": { "$ref": "#/components/schemas/SessionSupervisorInfoDto" } } }, "SessionSupervisorInfoDto": { "required": [ "state", "profile", "needsAttention", "attentionReason", "attentionScore", "lastInputAt", "lastOutputAt", "lastBellAt", "currentHeat" ], "type": "object", "properties": { "state": { "type": "string" }, "profile": { "type": "string" }, "needsAttention": { "type": "boolean" }, "attentionReason": { "type": [ "null", "string" ] }, "attentionScore": { "type": "integer", "format": "int32" }, "lastInputAt": { "type": [ "null", "string" ], "format": "date-time" }, "lastOutputAt": { "type": [ "null", "string" ], "format": "date-time" }, "lastBellAt": { "type": [ "null", "string" ], "format": "date-time" }, "currentHeat": { "type": "number", "format": "double" } } }, "SetBookmarkRequest": { "required": [ "bookmarkId" ], "type": "object", "properties": { "bookmarkId": { "type": "string" } } }, "SetSessionControlRequest": { "required": [ "agentControlled" ], "type": "object", "properties": { "agentControlled": { "type": "boolean" } } }, "SetSessionNotesRequest": { "type": "object", "properties": { "notes": { "type": [ "null", "string" ] } } }, "SetSessionTopicRequest": { "type": "object", "properties": { "topic": { "type": [ "null", "string" ] } } }, "ShareAccessMode": { "enum": [ "ViewOnly", "FullControl" ] }, "ShareBootstrapResponse": { "required": [ "hostname", "session", "settings", "mode", "expiresAtUtc" ], "type": "object", "properties": { "hostname": { "type": "string" }, "session": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/SessionInfoDto" } ] }, "settings": { "$ref": "#/components/schemas/MidTermSettingsPublic" }, "mode": { "$ref": "#/components/schemas/ShareAccessMode" }, "expiresAtUtc": { "type": "string", "format": "date-time" } } }, "SharePacketInfo": { "required": [ "certificate", "endpoints", "trustPageUrl", "port" ], "type": "object", "properties": { "certificate": { "$ref": "#/components/schemas/CertificateDownloadInfo" }, "endpoints": { "type": "array", "items": { "$ref": "#/components/schemas/NetworkEndpointInfo" } }, "trustPageUrl": { "type": "string" }, "port": { "type": "integer", "format": "int32" } } }, "ShellInfoDto": { "required": [ "type", "displayName", "isAvailable", "supportsOsc7" ], "type": "object", "properties": { "type": { "type": "string" }, "displayName": { "type": "string" }, "isAvailable": { "type": "boolean" }, "supportsOsc7": { "type": "boolean" } } }, "ShellType": { "enum": [ "Pwsh", "PowerShell", "Cmd", "Bash", "Zsh", null ] }, "StateUpdate": { "required": [ "sessions", "update", "layout", "managerBarQueue", "terminalSizeControls" ], "type": "object", "properties": { "sessions": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/SessionListDto" } ] }, "update": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UpdateInfo" } ] }, "layout": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/SessionLayoutState" } ] }, "managerBarQueue": { "type": [ "null", "array" ], "items": { "$ref": "#/components/schemas/ManagerBarQueueEntryDto" } }, "terminalSizeControls": { "type": [ "null", "array" ], "items": { "$ref": "#/components/schemas/TerminalSizeControlStatus" } } } }, "SystemHealth": { "required": [ "healthy", "mode", "sessionCount", "version", "webProcessId", "uptimeSeconds", "platform", "ttyHostVersion", "ttyHostExpected", "ttyHostCompatible", "windowsBuildNumber" ], "type": "object", "properties": { "healthy": { "type": "boolean" }, "mode": { "type": "string" }, "sessionCount": { "type": "integer", "format": "int32" }, "version": { "type": "string" }, "webProcessId": { "type": "integer", "format": "int32" }, "uptimeSeconds": { "type": "integer", "format": "int64" }, "platform": { "type": "string" }, "ttyHostVersion": { "type": [ "null", "string" ] }, "ttyHostExpected": { "type": [ "null", "string" ] }, "ttyHostCompatible": { "type": [ "null", "boolean" ] }, "windowsBuildNumber": { "type": [ "null", "integer" ], "format": "int32" } } }, "SystemResponse": { "required": [ "healthy", "version", "manifest", "sessionCount", "uptimeSeconds", "platform", "ttyHost", "webProcessId", "windowsBuildNumber" ], "type": "object", "properties": { "healthy": { "type": "boolean" }, "version": { "type": "string" }, "manifest": { "$ref": "#/components/schemas/VersionManifest" }, "sessionCount": { "type": "integer", "format": "int32" }, "uptimeSeconds": { "type": "integer", "format": "int64" }, "platform": { "type": "string" }, "ttyHost": { "$ref": "#/components/schemas/TtyHostInfo" }, "webProcessId": { "type": "integer", "format": "int32" }, "windowsBuildNumber": { "type": [ "null", "integer" ], "format": "int32" } } }, "TabTitleModeSetting": { "enum": [ "hostname", "static", "sessionName", "terminalTitle", "foregroundProcess" ] }, "TerminalColorSchemeDefinition": { "required": [ "name", "background", "foreground", "cursor", "cursorAccent", "selectionBackground", "scrollbarSliderBackground", "scrollbarSliderHoverBackground", "scrollbarSliderActiveBackground", "black", "red", "green", "yellow", "blue", "magenta", "cyan", "white", "brightBlack", "brightRed", "brightGreen", "brightYellow", "brightBlue", "brightMagenta", "brightCyan", "brightWhite" ], "type": "object", "properties": { "name": { "type": "string" }, "background": { "type": "string" }, "foreground": { "type": "string" }, "cursor": { "type": "string" }, "cursorAccent": { "type": "string" }, "selectionBackground": { "type": "string" }, "scrollbarSliderBackground": { "type": "string" }, "scrollbarSliderHoverBackground": { "type": "string" }, "scrollbarSliderActiveBackground": { "type": "string" }, "black": { "type": "string" }, "red": { "type": "string" }, "green": { "type": "string" }, "yellow": { "type": "string" }, "blue": { "type": "string" }, "magenta": { "type": "string" }, "cyan": { "type": "string" }, "white": { "type": "string" }, "brightBlack": { "type": "string" }, "brightRed": { "type": "string" }, "brightGreen": { "type": "string" }, "brightYellow": { "type": "string" }, "brightBlue": { "type": "string" }, "brightMagenta": { "type": "string" }, "brightCyan": { "type": "string" }, "brightWhite": { "type": "string" } } }, "TerminalEnterModeSetting": { "enum": [ "default", "shiftEnterLineFeed" ] }, "TerminalResumeModeSetting": { "enum": [ "fullReplay", "quickResume" ] }, "TerminalSizeControlStatus": { "required": [ "sessionId", "isOwner", "hasOwner", "ownerOnline", "ownerInSameBrowserProfile", "canTakeOverAutomatically", "ownerLabel", "epoch" ], "type": "object", "properties": { "sessionId": { "type": "string" }, "isOwner": { "type": "boolean" }, "hasOwner": { "type": "boolean" }, "ownerOnline": { "type": "boolean" }, "ownerInSameBrowserProfile": { "type": "boolean" }, "canTakeOverAutomatically": { "type": "boolean" }, "ownerLabel": { "type": [ "null", "string" ] }, "epoch": { "type": "integer", "format": "int64" } } }, "TerminalTransportDiagnosticsDto": { "required": [ "sourceSeq", "muxReceivedSeq", "mthostIpcQueuedSeq", "mthostIpcFlushedSeq", "ipcBacklogFrames", "ipcBacklogBytes", "oldestBacklogAgeMs", "scrollbackBytes", "lastReplayBytes", "lastReplayReason", "reconnectCount", "dataLossCount", "lastDataLossReason", "recoveryRequested", "recoveryCoalesced", "recoveryCompleted", "recoveryResets", "recoveryReplayBytes", "recoveryFailed" ], "type": "object", "properties": { "sourceSeq": { "type": "string" }, "muxReceivedSeq": { "type": "string" }, "mthostIpcQueuedSeq": { "type": "string" }, "mthostIpcFlushedSeq": { "type": "string" }, "ipcBacklogFrames": { "type": "integer", "format": "int32" }, "ipcBacklogBytes": { "type": "integer", "format": "int64" }, "oldestBacklogAgeMs": { "type": "integer", "format": "int64" }, "scrollbackBytes": { "type": "integer", "format": "int32" }, "lastReplayBytes": { "type": "integer", "format": "int32" }, "lastReplayReason": { "type": [ "null", "string" ] }, "reconnectCount": { "type": "integer", "format": "int32" }, "dataLossCount": { "type": "integer", "format": "int32" }, "lastDataLossReason": { "type": [ "null", "string" ] }, "recoveryRequested": { "type": "integer", "format": "int64" }, "recoveryCoalesced": { "type": "integer", "format": "int64" }, "recoveryCompleted": { "type": "integer", "format": "int64" }, "recoveryResets": { "type": "integer", "format": "int64" }, "recoveryReplayBytes": { "type": "integer", "format": "int64" }, "recoveryFailed": { "type": "integer", "format": "int64" } } }, "ThemeSetting": { "enum": [ "dark", "light", "solarizedDark", "solarizedLight" ] }, "TtyHostInfo": { "required": [ "version", "expected", "compatible" ], "type": "object", "properties": { "version": { "type": [ "null", "string" ] }, "expected": { "type": [ "null", "string" ] }, "compatible": { "type": "boolean" } } }, "UpdateInfo": { "required": [ "available", "currentVersion", "latestVersion", "releaseUrl", "downloadUrl", "assetName", "releaseNotes", "type", "sessionsPreserved", "environment", "localUpdate", "isDowngrade" ], "type": "object", "properties": { "available": { "type": "boolean" }, "currentVersion": { "type": "string" }, "latestVersion": { "type": "string" }, "releaseUrl": { "type": "string" }, "downloadUrl": { "type": [ "null", "string" ] }, "assetName": { "type": [ "null", "string" ] }, "releaseNotes": { "type": [ "null", "string" ] }, "type": { "$ref": "#/components/schemas/UpdateType" }, "sessionsPreserved": { "type": "boolean" }, "environment": { "type": [ "null", "string" ] }, "localUpdate": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/LocalUpdateInfo" } ] }, "isDowngrade": { "type": "boolean" } } }, "UpdateResult": { "required": [ "found", "success", "message", "details", "timestamp", "logFile" ], "type": "object", "properties": { "found": { "type": "boolean" }, "success": { "type": "boolean" }, "message": { "type": "string" }, "details": { "type": "string" }, "timestamp": { "type": "string" }, "logFile": { "type": "string" } } }, "UpdateType": { "enum": [ "none", "webOnly", "full" ] }, "UserInfo": { "required": [ "username", "sid", "uid", "gid" ], "type": "object", "properties": { "username": { "type": "string" }, "sid": { "type": [ "null", "string" ] }, "uid": { "type": [ "null", "integer" ], "format": "int32" }, "gid": { "type": [ "null", "integer" ], "format": "int32" } } }, "VersionManifest": { "required": [ "web", "pty", "protocol", "minCompatiblePty", "webOnly", "checksums", "signature" ], "type": "object", "properties": { "web": { "type": "string" }, "pty": { "type": "string" }, "protocol": { "type": "integer", "format": "int32" }, "minCompatiblePty": { "type": "string" }, "webOnly": { "type": "boolean" }, "checksums": { "type": [ "null", "object" ], "additionalProperties": { "type": "string" } }, "signature": { "type": [ "null", "string" ] } } }, "ViewportRequest": { "required": [ "width", "height" ], "type": "object", "properties": { "width": { "type": "integer", "format": "int32" }, "height": { "type": "integer", "format": "int32" }, "sessionId": { "type": [ "null", "string" ] }, "previewName": { "type": [ "null", "string" ] } } }, "WebPreviewCookieInfo": { "required": [ "name", "value", "domain", "path", "secure", "httpOnly", "expiresUtc", "sameSite" ], "type": "object", "properties": { "name": { "type": "string" }, "value": { "type": "string" }, "domain": { "type": "string" }, "path": { "type": "string" }, "secure": { "type": "boolean" }, "httpOnly": { "type": "boolean" }, "expiresUtc": { "type": [ "null", "string" ], "format": "date-time" }, "sameSite": { "type": [ "null", "string" ] } } }, "WebPreviewCookieSetRequest": { "required": [ "raw" ], "type": "object", "properties": { "raw": { "type": "string" } } }, "WebPreviewCookiesResponse": { "required": [ "header", "cookies" ], "type": "object", "properties": { "header": { "type": "string" }, "cookies": { "type": "array", "items": { "$ref": "#/components/schemas/WebPreviewCookieInfo" } } } }, "WebPreviewProxyLogEntry": { "required": [ "id", "timestamp", "type", "method", "requestUrl", "upstreamUrl", "statusCode", "error", "durationMs", "requestHeaders", "responseHeaders", "requestCookies", "responseCookies", "contentType", "contentLength", "subProtocols", "negotiatedProtocol" ], "type": "object", "properties": { "id": { "type": "integer", "format": "int32" }, "timestamp": { "type": "string", "format": "date-time" }, "type": { "type": "string" }, "method": { "type": "string" }, "requestUrl": { "type": "string" }, "upstreamUrl": { "type": "string" }, "statusCode": { "type": "integer", "format": "int32" }, "error": { "type": [ "null", "string" ] }, "durationMs": { "type": "integer", "format": "int64" }, "requestHeaders": { "type": "object", "additionalProperties": { "type": "string" } }, "responseHeaders": { "type": "object", "additionalProperties": { "type": "string" } }, "requestCookies": { "type": [ "null", "string" ] }, "responseCookies": { "type": [ "null", "string" ] }, "contentType": { "type": [ "null", "string" ] }, "contentLength": { "type": [ "null", "integer" ], "format": "int64" }, "subProtocols": { "type": [ "null", "string" ] }, "negotiatedProtocol": { "type": [ "null", "string" ] } } }, "WebPreviewReloadRequest": { "required": [ "mode" ], "type": "object", "properties": { "sessionId": { "type": [ "null", "string" ] }, "previewName": { "type": [ "null", "string" ] }, "mode": { "type": "string" } } }, "WebPreviewSessionInfo": { "required": [ "sessionId", "previewName", "routeKey", "url", "active", "targetRevision" ], "type": "object", "properties": { "sessionId": { "type": "string" }, "previewName": { "type": "string" }, "routeKey": { "type": "string" }, "url": { "type": [ "null", "string" ] }, "active": { "type": "boolean" }, "targetRevision": { "type": "integer", "format": "int64" } } }, "WebPreviewSessionListResponse": { "required": [ "previews" ], "type": "object", "properties": { "previews": { "type": "array", "items": { "$ref": "#/components/schemas/WebPreviewSessionInfo" } } } }, "WebPreviewSessionRequest": { "required": [ "sessionId" ], "type": "object", "properties": { "sessionId": { "type": "string" }, "previewName": { "type": [ "null", "string" ] } } }, "WebPreviewSnapshotRequest": { "required": [ "sessionId", "html", "cssUrls" ], "type": "object", "properties": { "sessionId": { "type": "string" }, "html": { "type": "string" }, "cssUrls": { "type": "array", "items": { "type": "string" } } } }, "WebPreviewSnapshotResponse": { "required": [ "snapshotPath" ], "type": "object", "properties": { "snapshotPath": { "type": "string" } } }, "WebPreviewTargetRequest": { "required": [ "url" ], "type": "object", "properties": { "sessionId": { "type": [ "null", "string" ] }, "previewName": { "type": [ "null", "string" ] }, "url": { "type": "string" }, "activateSession": { "type": [ "null", "boolean" ] } } }, "WebPreviewTargetResponse": { "required": [ "sessionId", "previewName", "routeKey", "url", "active", "targetRevision" ], "type": "object", "properties": { "sessionId": { "type": [ "null", "string" ] }, "previewName": { "type": "string" }, "routeKey": { "type": [ "null", "string" ] }, "url": { "type": [ "null", "string" ] }, "active": { "type": "boolean" }, "targetRevision": { "type": "integer", "format": "int64" } } }, "WorkerBootstrapRequest": { "required": [ "cols", "rows", "agentControlled", "injectGuidance", "appServerControlOnly", "launchDelayMs", "slashCommands", "slashCommandDelayMs" ], "type": "object", "properties": { "name": { "type": [ "null", "string" ] }, "shell": { "type": [ "null", "string" ] }, "workingDirectory": { "type": [ "null", "string" ] }, "resumeThreadId": { "type": [ "null", "string" ] }, "cols": { "type": "integer", "format": "int32" }, "rows": { "type": "integer", "format": "int32" }, "agentControlled": { "type": "boolean" }, "injectGuidance": { "type": "boolean" }, "profile": { "type": [ "null", "string" ] }, "appServerControlOnly": { "type": "boolean" }, "launchCommand": { "type": [ "null", "string" ] }, "spaceId": { "type": [ "null", "string" ] }, "workspacePath": { "type": [ "null", "string" ] }, "surface": { "type": [ "null", "string" ] }, "launchDelayMs": { "type": "integer", "format": "int32" }, "slashCommands": { "type": "array", "items": { "type": "string" } }, "slashCommandDelayMs": { "type": "integer", "format": "int32" } } }, "WorkerBootstrapResponse": { "required": [ "session", "profile", "launchCommand", "slashCommands", "guidanceInjected", "tlbxDir" ], "type": "object", "properties": { "session": { "$ref": "#/components/schemas/SessionInfoDto" }, "profile": { "type": "string" }, "launchCommand": { "type": [ "null", "string" ] }, "slashCommands": { "type": "array", "items": { "type": "string" } }, "guidanceInjected": { "type": "boolean" }, "tlbxDir": { "type": [ "null", "string" ] } } } } }, "tags": [ { "name": "Ai.Tlbx.MidTerm.OpenApi" } ] }