MCPcopy Create free account
hub / github.com/anomalyco/opencode / gone

Function gone

packages/app/src/components/terminal.tsx:475–482  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

473 }
474
475 const gone = () =>
476 client.pty
477 .get({ ptyID: id }, { throwOnError: false })
478 .then((result) => result.response.status === 404)
479 .catch((err) => {
480 debugTerminal("failed to inspect terminal session", err)
481 return false
482 })
483
484 const connectToken = async () => {
485 const result = await client.pty

Callers 1

retryFunction · 0.70

Calls 2

debugTerminalFunction · 0.85
getMethod · 0.65

Tested by

no test coverage detected