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

Function list

packages/app/src/context/local.tsx:337–341  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

335 if (saved && this.list().includes(saved)) return saved
336 },
337 list() {
338 const item = current()
339 if (!item?.variants) return []
340 return Object.keys(item.variants)
341 },
342 set(value: string | undefined) {
343 startTransition(() =>
344 batch(() => {

Callers 8

findFunction · 0.70
local.tsxFile · 0.70
pickAgentFunction · 0.70
moveFunction · 0.70
titleFunction · 0.50
SettingsKeybindsFunction · 0.50
PageFunction · 0.50
applyDirectoryEventFunction · 0.50

Calls 1

currentFunction · 0.70

Tested by

no test coverage detected