/** * Context-injection plugin for Strands Agents. * * Provides the {@link ContextInjector} plugin, which folds just-in-time text into the model input * before each call without touching durable history. * * @example * ```typescript * import { Agent } from '@strands-agents/sdk' * import { ContextInjector } from '@strands-agents/sdk/vended-plugins/context-injector' * * const agent = new Agent({ * model, * plugins: [ * new ContextInjector({ * renderContent: async ({ messages }) => `${derive(messages)}`, * }), * ], * }) * ``` */ export { ContextInjector } from './plugin.js'; export type { ContextInjectorConfig } from './plugin.js'; export type { InjectionTrigger, InjectionContext } from '../../injection/types.js'; //# sourceMappingURL=index.d.ts.map