feat: add durable plan implement action (#1645)
This commit is contained in:
@@ -13,6 +13,7 @@ import (
|
||||
var ErrWorkspaceNameMismatch = repoerrors.ErrWorkspaceNameMismatch
|
||||
var ErrWorkspaceNotFound = repoerrors.ErrWorkspaceNotFound
|
||||
var ErrTaskNotFound = repoerrors.ErrTaskNotFound
|
||||
var ErrTaskPlanNotFound = repoerrors.ErrTaskPlanNotFound
|
||||
|
||||
// WorkspaceRepository handles workspace CRUD.
|
||||
type WorkspaceRepository interface {
|
||||
@@ -318,6 +319,7 @@ type PlanRepository interface {
|
||||
CreateTaskPlan(ctx context.Context, plan *models.TaskPlan) error
|
||||
GetTaskPlan(ctx context.Context, taskID string) (*models.TaskPlan, error)
|
||||
UpdateTaskPlan(ctx context.Context, plan *models.TaskPlan) error
|
||||
MarkTaskPlanImplementationStarted(ctx context.Context, taskID, sessionID, actor string) (*models.TaskPlan, error)
|
||||
DeleteTaskPlan(ctx context.Context, taskID string) error
|
||||
|
||||
// Revision history
|
||||
|
||||
Reference in New Issue
Block a user