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

Function agent

packages/app/src/context/global-sync/utils.test.ts:5–11  ·  view source on GitHub ↗
(name = "build")

Source from the content-addressed store, hash-verified

3import { directoryKey, normalizeAgentList } from "./utils"
4
5const agent = (name = "build") =>
6 ({
7 name,
8 mode: "primary",
9 permission: {},
10 options: {},
11 }) as Agent
12
13describe("normalizeAgentList", () => {
14 test("keeps array payloads", () => {

Callers 3

utils.test.tsFile · 0.70
PromptFunction · 0.50
renderFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected