chore: generate
This commit is contained in:
@@ -7,10 +7,6 @@ export type { AgentDraft, AgentHooks } from "./agent.js"
|
||||
export type { AISDKHooks } from "./aisdk.js"
|
||||
export type { CatalogDraft, CatalogHooks, CatalogProviderRecord } from "./catalog.js"
|
||||
export type { CommandDraft, CommandHooks } from "./command.js"
|
||||
export type {
|
||||
IntegrationDraft,
|
||||
IntegrationHooks,
|
||||
IntegrationMethodRegistration,
|
||||
} from "./integration.js"
|
||||
export type { IntegrationDraft, IntegrationHooks, IntegrationMethodRegistration } from "./integration.js"
|
||||
export type { ReferenceDraft, ReferenceHooks } from "./reference.js"
|
||||
export type { SkillDraft, SkillHooks } from "./skill.js"
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
import type {
|
||||
IntegrationDraft,
|
||||
IntegrationMethodRegistration,
|
||||
} from "../effect/integration.js"
|
||||
import type { IntegrationDraft, IntegrationMethodRegistration } from "../effect/integration.js"
|
||||
import type { CredentialValue } from "@opencode-ai/sdk/v2/types"
|
||||
import type { Hooks } from "./registration.js"
|
||||
|
||||
@@ -9,9 +6,7 @@ export type { IntegrationDraft, IntegrationMethodRegistration }
|
||||
|
||||
export interface IntegrationHooks extends Hooks<{ transform: IntegrationDraft }> {
|
||||
readonly connection: {
|
||||
readonly active: (
|
||||
integrationID: string,
|
||||
) => Promise<import("@opencode-ai/sdk/v2/types").ConnectionInfo | undefined>
|
||||
readonly active: (integrationID: string) => Promise<import("@opencode-ai/sdk/v2/types").ConnectionInfo | undefined>
|
||||
readonly resolve: (
|
||||
connection: import("@opencode-ai/sdk/v2/types").ConnectionInfo,
|
||||
) => Promise<CredentialValue | undefined>
|
||||
|
||||
Reference in New Issue
Block a user