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

Interface IntegrationDraft

packages/plugin/src/v2/effect/integration.ts:46–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 }
45
46export interface IntegrationDraft {
47 list(): readonly IntegrationRef[]
48 get(id: string): IntegrationRef | undefined
49 update(id: string, update: (integration: IntegrationRef) => void): void
50 remove(id: string): void
51 readonly method: {
52 list(integrationID: string): readonly IntegrationMethod[]
53 update(input: IntegrationMethodRegistration): void
54 remove(integrationID: string, method: IntegrationMethod): void
55 }
56}
57
58export interface IntegrationHooks extends Hooks<{ transform: IntegrationDraft }> {
59 readonly connection: {

Callers

nothing calls this directly

Implementers 3

Ptypackages/sdk/js/src/v2/gen/sdk.gen.ts
Pty2packages/sdk/js/src/v2/gen/sdk.gen.ts
Ptypackages/sdk/js/src/gen/sdk.gen.ts

Calls

no outgoing calls

Tested by

no test coverage detected