MCPcopy Create free account
hub / github.com/anomalyco/opencode / command

Function command

packages/opencode/test/acp/directory.test.ts:11–16  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

9import { it } from "../lib/effect"
10
11const command = (name: string): Command.Info => ({
12 name,
13 source: "command",
14 template: `run ${name}`,
15 hints: [],
16})
17
18const model = (providerID: ProviderV2.ID, id: string, variants?: Directory.ModelVariants): Provider.Model => ({
19 id: ModelV2.ID.make(id),

Callers 2

snapshotFunction · 0.70
RunFooterViewFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected