Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/anomalyco/opencode
/ current
Function
current
packages/app/src/context/local.tsx:183–185 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
181
const agent = {
182
list,
183
current() {
184
return pickAgent(scope()?.agent ?? store.current)
185
},
186
set(name: string | undefined) {
187
const item = pickAgent(name)
188
if (!item) {
Callers
14
configured
Function · 0.70
snapshot
Function · 0.70
cycle
Function · 0.70
list
Function · 0.70
set
Function · 0.70
absolute
Function · 0.70
get
Function · 0.70
createDirSyncContext
Function · 0.70
index
Function · 0.70
status
Function · 0.70
ready
Function · 0.70
project
Function · 0.70
Calls
8
resolveModelVariant
Function · 0.90
firstModel
Function · 0.85
pickAgent
Function · 0.70
scope
Function · 0.70
find
Method · 0.65
list
Method · 0.65
get
Method · 0.65
current
Method · 0.45
Tested by
no test coverage detected