chore: snapshot main sync

This commit is contained in:
2026-06-17 20:08:31 +00:00
parent b18de2a331
commit 8bd32537cf
354 changed files with 10208 additions and 9230 deletions

View File

@@ -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;