27 lines
1.0 KiB
TypeScript
27 lines
1.0 KiB
TypeScript
import type { PluginOptions } from "../options.js"
|
|
import type { AgentDomain } from "./agent.js"
|
|
import type { AISDKHooks } from "./aisdk.js"
|
|
import type { CatalogHooks } from "./catalog.js"
|
|
import type { CommandHooks } from "./command.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 { Reload } from "./registration.js"
|
|
import type { ToolDomain } from "./tool.js"
|
|
import type { SessionDomain } from "./runtime.js"
|
|
|
|
export interface PluginContext {
|
|
readonly options: PluginOptions
|
|
readonly agent: AgentDomain & Reload
|
|
readonly aisdk: AISDKHooks
|
|
readonly catalog: CatalogHooks & Reload
|
|
readonly command: CommandHooks & Reload
|
|
readonly integration: IntegrationHooks & Reload
|
|
readonly plugin: PluginDomain
|
|
readonly reference: ReferenceHooks & Reload
|
|
readonly skill: SkillHooks & Reload
|
|
readonly tool: ToolDomain
|
|
readonly session: SessionDomain
|
|
}
|