mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-10-22 06:49:52 +00:00
ci(docs): format the daemon event-schema table for the Prettier gate
docs/developers/daemon/09-event-schema.md reached main unformatted in
8505479d87 (#13281), whose docs-only CI profile skipped the Prettier lane.
scripts/lint.js --prettier runs `prettier --check .` across the whole repo, so
every branch with that commit as an ancestor now fails Lint & Static on a file
it never touched. Normalize the emphasis markers and table padding so this
branch's own gate can pass.
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Patrol-Run: qwen-pr-conflict/jmuxqta15bw
This commit is contained in:
parent
4d7477ab0b
commit
e72c63a11c
1 changed files with 4 additions and 4 deletions
|
|
@ -164,10 +164,10 @@ These events are workspace-keyed, not session-keyed. The session reducer treats
|
|||
|
||||
### Pending prompt queue
|
||||
|
||||
| Type | Direction | Trigger | Key payload fields |
|
||||
| -------------------------- | --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------ |
|
||||
| `pending_prompt_added` | S->C | A prompt was appended to the session's prompt FIFO and is waiting behind the active turn. Published only when the prompt is *genuinely queued* — the first prompt on an idle session starts immediately and emits no queue events. | `sessionId, promptId, text, queuedAt` |
|
||||
| `pending_prompt_started` | S->C | The queued prompt reached the head of the FIFO and was promoted to running (also emitted for a promoted mid-turn message that starts immediately). Skipped when the prompt is aborted before promotion. | `sessionId, promptId, text` |
|
||||
| Type | Direction | Trigger | Key payload fields |
|
||||
| -------------------------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------ |
|
||||
| `pending_prompt_added` | S->C | A prompt was appended to the session's prompt FIFO and is waiting behind the active turn. Published only when the prompt is _genuinely queued_ — the first prompt on an idle session starts immediately and emits no queue events. | `sessionId, promptId, text, queuedAt` |
|
||||
| `pending_prompt_started` | S->C | The queued prompt reached the head of the FIFO and was promoted to running (also emitted for a promoted mid-turn message that starts immediately). Skipped when the prompt is aborted before promotion. | `sessionId, promptId, text` |
|
||||
| `pending_prompt_completed` | S->C | A queued prompt settled — `state: 'completed'` (it ran; execution errors still report `completed` and ride the terminal `turn_error` frame) or `state: 'removed'` (removed from the queue and never ran). Only emitted for prompts that were genuinely queued (an `added` was published). This is queue-view bookkeeping, **not a turn terminal**; correlate `turn_complete` / `turn_error` by `promptId` for completion. | `sessionId, promptId, state: 'completed' \| 'removed'` |
|
||||
|
||||
### Turn lifecycle / assistant pushes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue