trellis
Version:
Agentic State Engine — event-sourced causal graph with branching, decision traces, and realtime sync for AI-native applications
20 lines • 871 B
TypeScript
/**
* Proactive Watcher Plugin
*
* Subscribes to Kernel events (op:applied, entity:updated, etc.) via the
* Plugin EventBus. When specific patterns are detected, it invokes an agent
* to generate suggestions (e.g. creating tasks, documenting changes).
*
* Suggestions are currently "suggestion-only" (v1) and can be surfaced
* to the user without automatically executing.
*
* @module trellis/plugins/proactive-watcher
*/
import type { PluginDef } from '../../core/plugins/types.js';
import type { TrellisKernel } from '../../core/kernel/trellis-kernel.js';
import type { AgentHarness } from '../../core/agents/harness.js';
import { WatcherManager } from './watcher-manager.js';
export declare function createProactiveWatcherPlugin(kernel: TrellisKernel, harness: AgentHarness): PluginDef & {
manager: WatcherManager;
};
//# sourceMappingURL=plugin.d.ts.map