8ede176244
# Conflicts: # packages/core/src/config.ts # packages/core/src/plugin/internal.ts # packages/core/src/project.ts # packages/core/test/project.test.ts # packages/plugin/src/v2/effect/context.ts # packages/plugin/src/v2/effect/index.ts
30 lines
1.0 KiB
TypeScript
30 lines
1.0 KiB
TypeScript
import type { PluginOptions } from "../options.js"
|
|
import type { AgentHooks } from "./agent.js"
|
|
import type { AISDKHooks } from "./aisdk.js"
|
|
import type { CatalogHooks } from "./catalog.js"
|
|
import type { CommandHooks } from "./command.js"
|
|
import type { EventHooks } from "./event.js"
|
|
import type { IntegrationHooks } from "./integration.js"
|
|
import type { PluginDomain } from "./plugin.js"
|
|
import type { ReferenceHooks } from "./reference.js"
|
|
import type { SkillHooks } from "./skill.js"
|
|
import type { ToolDomain } from "./tool.js"
|
|
import type { SessionHooks } from "./runtime.js"
|
|
import type { VcsDomain } from "./vcs.js"
|
|
|
|
export interface PluginContext {
|
|
readonly options: PluginOptions
|
|
readonly agent: AgentHooks
|
|
readonly aisdk: AISDKHooks
|
|
readonly catalog: CatalogHooks
|
|
readonly command: CommandHooks
|
|
readonly event: EventHooks
|
|
readonly integration: IntegrationHooks
|
|
readonly plugin: PluginDomain
|
|
readonly reference: ReferenceHooks
|
|
readonly skill: SkillHooks
|
|
readonly tool: ToolDomain
|
|
readonly session: SessionHooks
|
|
readonly vcs: VcsDomain
|
|
}
|