MCPcopy
hub / github.com/anomalyco/opencode / pendingKey

Function pendingKey

packages/app/src/components/prompt-input/submit.ts:209–209  ·  view source on GitHub ↗
(sessionID: string)

Source from the content-addressed store, hash-verified

207 const [search] = useSearchParams<{ draftId?: string }>()
208 const tabs = useTabs()
209 const pendingKey = (sessionID: string) => ScopedKey.from(sdk().scope, sessionID)
210
211 const errorMessage = (err: unknown) => {
212 if (err && typeof err === "object" && "data" in err) {

Callers 3

abortFunction · 0.85
waitForWorktreeFunction · 0.85
handleSubmitFunction · 0.85

Calls 2

sdkFunction · 0.85
fromMethod · 0.45

Tested by

no test coverage detected