From 7db9881d85608c6785e305af1f06a73506f8578d Mon Sep 17 00:00:00 2001 From: Scrum4Me Agent <30029041+madhura68@users.noreply.github.com> Date: Sun, 3 May 2026 17:58:52 +0200 Subject: [PATCH] docs: add lege-queue example to check_queue_empty README section --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 44bf4b5..b6027d4 100644 --- a/README.md +++ b/README.md @@ -140,13 +140,19 @@ Synchronous, non-blocking poll that returns how many ClaudeJobs are still active { "product_id": "cmoprewcf000q..." } // optional — omit to aggregate all products ``` -**Output — with product_id** +**Output — empty queue** + +```json +{ "empty": true, "remaining": 0, "by_product": {} } +``` + +**Output — with product_id (non-empty)** ```json { "empty": false, "remaining": 2 } ``` -**Output — without product_id** +**Output — without product_id (per-product split)** ```json {