PersistentAI API Documentation / @persistentai/fireflow-vfs / / ConfirmationRequestedMetadata
Interface: ConfirmationRequestedMetadata
Defined in: packages/fireflow-vfs/src/types/confirmation.ts:17
Metadata for CONFIRMATION_REQUESTED VFS event
This is published via VFS events when a workflow needs user confirmation. All clients subscribed to the workspace will receive this event.
Properties
availableResolutions
availableResolutions:
ConflictResolution[]
Defined in: packages/fireflow-vfs/src/types/confirmation.ts:43
Available resolution options for this conflict type
conflictId
conflictId:
string
Defined in: packages/fireflow-vfs/src/types/confirmation.ts:23
Unique conflict ID
conflictIndex
conflictIndex:
number
Defined in: packages/fireflow-vfs/src/types/confirmation.ts:39
Current conflict number (1-based)
conflictType
conflictType:
ConflictType
Defined in: packages/fireflow-vfs/src/types/confirmation.ts:25
Type of conflict
expiresAt
expiresAt:
string
Defined in: packages/fireflow-vfs/src/types/confirmation.ts:47
ISO timestamp when this request expires
planId
planId:
string
Defined in: packages/fireflow-vfs/src/types/confirmation.ts:19
Plan ID this confirmation belongs to
sourceIsDirectory
sourceIsDirectory:
boolean
Defined in: packages/fireflow-vfs/src/types/confirmation.ts:31
Is source a directory?
sourcePath
sourcePath:
string
Defined in: packages/fireflow-vfs/src/types/confirmation.ts:27
Source file/folder path
sourceSize?
optionalsourceSize:number
Defined in: packages/fireflow-vfs/src/types/confirmation.ts:35
Source size in bytes (for files)
targetIsDirectory
targetIsDirectory:
boolean
Defined in: packages/fireflow-vfs/src/types/confirmation.ts:33
Is existing target a directory?
targetPath
targetPath:
string
Defined in: packages/fireflow-vfs/src/types/confirmation.ts:29
Target path where conflict exists
targetSize?
optionaltargetSize:number
Defined in: packages/fireflow-vfs/src/types/confirmation.ts:37
Existing target size in bytes (for files)
timeoutSeconds
timeoutSeconds:
number
Defined in: packages/fireflow-vfs/src/types/confirmation.ts:45
Timeout duration in seconds
totalConflicts
totalConflicts:
number
Defined in: packages/fireflow-vfs/src/types/confirmation.ts:41
Total number of conflicts in this operation
workflowId
workflowId:
string
Defined in: packages/fireflow-vfs/src/types/confirmation.ts:21
DBOS workflow ID (for sending response via DBOS.send())