Skip to content

v1.9.10

Latest

Choose a tag to compare

@pacepace pacepace released this 25 Oct 14:35
· 0 commits to develop since this release
a978fe0

Prompts queued behind a busy session go in together

While a session is busy, session_send still queues and answers queued at once. When the session is next free, aidc pastes every waiting prompt as one message, in the order they were sent, separated by " [next message] ". The person's prompts and the agent's go in the same batch.

Take back one waiting prompt

  • session_send now returns a stable prompt_id, whether the prompt was queued or sent at once. It survives an aidc-mcp restart.
  • session_queue_cancel(name, prompt_id=...) cancels that prompt only. It answers one of:
    • cancelled;
    • already_pasted: too late, including a batch in the input box waiting for its Enter;
    • unknown.
  • A prompt is either in the pasted batch or cancelled, never both, and that still holds across a restart.
  • Cancelling by position still works.

The reply names what it answers

The reply callback carries two new fields:

  • prompts: each prompt's prompt_id, sent_by and conversation_id, in paste order;
  • pasted_at: when their batch was pasted.

A prompt joined into a running turn is named by that turn's reply. session_status lists each waiting prompt's prompt_id.

Upgrading

  • This release changes aidc-mcp only. Update and restart it; existing sessions need no kill or create.
  • Before downgrading, drain or cancel the send queues. An older aidc-mcp would treat a batch already in an input box as still waiting, and could paste it twice.