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

Function openBrowser

packages/opencode/src/cli/cmd/account.ts:10–10  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

8import open from "open"
9
10const openBrowser = (url: string) => Effect.promise(() => open(url).catch(() => undefined))
11
12const println = (msg: string) => Effect.sync(() => UI.println(msg))
13

Callers 1

account.tsFile · 0.85

Calls 1

openFunction · 0.50

Tested by

no test coverage detected