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

Method get

packages/plugin/src/v2/effect/agent.ts:6–6  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

4export interface AgentDraft {
5 list(): readonly AgentV2Info[]
6 get(id: string): AgentV2Info | undefined
7 default(id: string | undefined): void
8 update(id: string, update: (agent: AgentV2Info) => void): void
9 remove(id: string): void

Callers 15

effect.test.tsFile · 0.65
promise.test.tsFile · 0.65
jsonFunction · 0.65
isContentTypeFunction · 0.65
getSecretMethod · 0.65
getSessionIDMethod · 0.65
api.tsFile · 0.65
createPlatformFunction · 0.65
getPathForFileFunction · 0.65
registerIpcHandlersFunction · 0.65
collectFunction · 0.65
getStoreFunction · 0.65

Calls

no outgoing calls

Tested by 15

HarnessFunction · 0.52
HarnessFunction · 0.52
setupFunction · 0.52
emitFunction · 0.52
updateFunction · 0.52
makeMockClientFunction · 0.52
sessionSequenceFunction · 0.52
sessionSequenceOwnerFunction · 0.52
fetchFunction · 0.52
waitForProjectIconFunction · 0.52
claimFunction · 0.52
activeSyntaxFunction · 0.52