refactor(agent): scope queue actions to edit and remove
This commit is contained in:
@@ -41,7 +41,7 @@ export interface ISession {
|
||||
/**
|
||||
* Apply one mutation to a still-pending queue occurrence.
|
||||
* @param itemId - agent-owned inbox occurrence identity.
|
||||
* @param action - edit, remove, or promote operation.
|
||||
* @param action - edit or remove operation.
|
||||
* @returns acceptance, or a business/transport error.
|
||||
*/
|
||||
updateQueue(itemId: InboxItemId, action: QueueAction): Promise<RpcResult<{ accepted: true }>>
|
||||
|
||||
@@ -222,7 +222,6 @@ export interface QueuedMessage {
|
||||
readonly preview: string
|
||||
/** Complete editable text; null when the message contains non-text blocks. */
|
||||
readonly text: string | null
|
||||
readonly placement: 'queued' | 'steering'
|
||||
}
|
||||
|
||||
/** In-progress assistant output (chunk accumulator product). */
|
||||
|
||||
@@ -407,7 +407,6 @@ export class Session implements SessionFace {
|
||||
id: item.id,
|
||||
preview: queuePreviewOf(item.message.content),
|
||||
text: queueTextOf(item.message.content),
|
||||
placement: item.placement,
|
||||
}))
|
||||
this.queueRev++
|
||||
this.notifier.markDirty()
|
||||
|
||||
Reference in New Issue
Block a user