chore: snapshot main sync
This commit is contained in:
@@ -6,10 +6,6 @@
|
||||
* platform layer (CLI, server, etc.).
|
||||
*/
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// Workflow platform — messaging back to the conversation channel
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
export interface IWorkflowPlatform {
|
||||
/** Send a text message to the conversation channel. */
|
||||
sendMessage(
|
||||
@@ -28,10 +24,6 @@ export interface IWorkflowPlatform {
|
||||
): Promise<void>;
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// Workflow configuration — per-workflow settings
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
/** Configuration for a single AI provider. */
|
||||
export interface ProviderConfig {
|
||||
/** Provider identifier (e.g. "openai", "anthropic"). */
|
||||
@@ -65,10 +57,6 @@ export interface WorkflowConfig {
|
||||
docsPath?: string;
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// Workflow store — persistence interface (will move to store/ later)
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
/** Minimal data required to create a workflow run. */
|
||||
export interface CreateWorkflowRunData {
|
||||
workflowPath: string;
|
||||
@@ -162,10 +150,6 @@ export interface IWorkflowStore {
|
||||
resumeWorkflowRun(id: string): Promise<WorkflowRun>;
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// Agent provider — creates AI agent instances
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
export interface IAgentProvider {
|
||||
/** Provider identifier. */
|
||||
readonly providerId: string;
|
||||
@@ -174,10 +158,6 @@ export interface IAgentProvider {
|
||||
sendPrompt(prompt: string, options?: Record<string, unknown>): Promise<string>;
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// Workflow dependencies — the full DI container
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
export interface WorkflowDeps {
|
||||
/** Persistence store. */
|
||||
store: IWorkflowStore;
|
||||
|
||||
Reference in New Issue
Block a user