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

Function agent

packages/opencode/test/session/processor-effect.test.ts:89–96  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

87}
88
89function agent(): Agent.Info {
90 return {
91 name: "build",
92 mode: "primary",
93 options: {},
94 permission: [{ permission: "*", pattern: "*", action: "allow" }],
95 }
96}
97
98function defer<T>() {
99 let resolve!: (value: T | PromiseLike<T>) => void

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected