Skip to content

PersistentAI API Documentation / @persistentai/fireflow-vfs / / OperationPlan

Interface: OperationPlan

Defined in: packages/fireflow-vfs/src/types/operation-plan.ts:96

Complete operation plan returned by planning step

Properties

branchName

branchName: string

Defined in: packages/fireflow-vfs/src/types/operation-plan.ts:108

Target branch


conflicts

conflicts: PlanConflict[]

Defined in: packages/fireflow-vfs/src/types/operation-plan.ts:119

Conflicts requiring user confirmation


createdAt

createdAt: Date

Defined in: packages/fireflow-vfs/src/types/operation-plan.ts:128

Plan creation timestamp


currentConflictIndex

currentConflictIndex: number

Defined in: packages/fireflow-vfs/src/types/operation-plan.ts:125

Which conflict we're currently waiting on (0-based index)


id

id: string

Defined in: packages/fireflow-vfs/src/types/operation-plan.ts:98

Plan ID (for tracking across events)


operation

operation: "move" | "delete" | "copy"

Defined in: packages/fireflow-vfs/src/types/operation-plan.ts:102

Type of operation


operations

operations: PlannedOperation[]

Defined in: packages/fireflow-vfs/src/types/operation-plan.ts:116

All operations to execute (copy, delete, mkdir)


sourcePath

sourcePath: string

Defined in: packages/fireflow-vfs/src/types/operation-plan.ts:111

Source root path


status

status: "planning" | "awaiting_confirmation" | "executing" | "completed" | "cancelled"

Defined in: packages/fireflow-vfs/src/types/operation-plan.ts:122

Current plan status


targetPath

targetPath: string

Defined in: packages/fireflow-vfs/src/types/operation-plan.ts:113

Target root path


updatedAt

updatedAt: Date

Defined in: packages/fireflow-vfs/src/types/operation-plan.ts:130

Last update timestamp


userId

userId: string

Defined in: packages/fireflow-vfs/src/types/operation-plan.ts:106

User performing the operation


workflowId

workflowId: string

Defined in: packages/fireflow-vfs/src/types/operation-plan.ts:100

DBOS workflow ID


workspaceId

workspaceId: string

Defined in: packages/fireflow-vfs/src/types/operation-plan.ts:104

Workspace context

Licensed under BUSL-1.1