MCPcopy Create free account
hub / github.com/ForgeAILab/forge / getTerminalSession

Function getTerminalSession

web/src/api/terminals.ts:38–40  ·  view source on GitHub ↗
(sessionId: string)

Source from the content-addressed store, hash-verified

36}
37
38export function getTerminalSession(sessionId: string): Promise<TerminalSessionResponse> {
39 return apiFetch<TerminalSessionResponse>(`/terminals/${sessionId}`)
40}
41
42export function getTerminalAvailability(taskId: string): Promise<TerminalAvailability> {
43 return apiFetch<TerminalAvailability>(`/tasks/${taskId}/terminals/availability`)

Callers

nothing calls this directly

Calls 1

apiFetchFunction · 0.90

Tested by

no test coverage detected