TomQueueApi class abstract

API for managing the prompt queue.

All methods throw Exception on bridge communication errors.

Constructors

TomQueueApi()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

add(QueueItemInput input) → Future<QueuedPrompt>
Add a new prompt to the queue.
addFollowUp(String itemId, FollowUpInput input) → Future<QueuedFollowUp>
Add a follow-up prompt to a queue item.
clearPending() → Future<int>
Clear all pending items from the queue.
clearSent() → Future<int>
Clear all sent items from the queue history.
get(String itemId) → Future<QueuedPrompt?>
Get a specific queue item by ID.
isPaused() → Future<bool>
Get current queue processing status.
list({bool includeSent = false, int? limit}) → Future<QueueListResult>
List all items in the prompt queue.
moveDown(String itemId) → Future<bool>
Move an item down one position.
moveTo(String itemId, int newIndex) → Future<bool>
Move an item to a specific position in the queue.
moveUp(String itemId) → Future<bool>
Move an item up one position.
pause() → Future<void>
Pause automatic queue processing.
remove(String itemId) → Future<bool>
Remove a prompt from the queue.
removeFollowUp(String itemId, String followUpId) → Future<bool>
Remove a follow-up prompt from a queue item.
resume() → Future<void>
Resume automatic queue processing.
sendNext() → Future<bool>
Trigger sending the next pending prompt to Copilot.
setAdapter(VSCodeAdapter adapter) → void
Set the adapter for API calls.
updateFollowUp(String itemId, String followUpId, {String? text, String? template, bool? reminderEnabled, String? reminderTemplateId, int? reminderTimeoutMinutes, bool? reminderRepeat}) → Future<QueuedFollowUp>
Update a follow-up prompt.
updateReminder(String itemId, {bool? enabled, String? templateId, int? timeoutMinutes, bool? repeat}) → Future<QueuedPrompt>
Update reminder settings for a queue item.
updateStatus(String itemId, QueuedPromptStatus status) → Future<QueuedPrompt>
Update the status of a queue item.
updateText(String itemId, String text) → Future<QueuedPrompt>
Update the prompt text of a queue item.