MCPcopy Index your code
hub / github.com/anomalyco/opencode / selectApp

Function selectApp

packages/app/src/components/session/session-header.tsx:249–252  ·  view source on GitHub ↗
(app: OpenApp)

Source from the content-addressed store, hash-verified

247 }))
248
249 const selectApp = (app: OpenApp) => {
250 if (!options().some((item) => item.id === app)) return
251 setPrefs("app", app)
252 }
253
254 const openDir = (app: OpenApp) => {
255 if (opening() || !canOpen() || !platform.openPath) return

Callers 1

SessionHeaderFunction · 0.85

Calls 1

optionsFunction · 0.50

Tested by

no test coverage detected