| Files | Last commit | Last update |
|---|---|---|
Let agents list and close open waits (#2758) * Let agents list and close open waits An agent at the limit of 20 open waits could not find wait IDs, so it could not close finished waits or open new ones (#2753). - Add openbot.list_waits: wait ID, note, open time, routine, last wake. - close_wait and list_waits take an optional agentId, as the routine tools do, so a coordinator can close a finished wait of another agent. - list_agents shows openWaits for each agent with open waits. - await_event returns the count and limit, and warns near the limit. At the limit, the refusal lists the open waits. - Add scripts/agent-waits-tools-e2e.ts. Closes #2753 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Apply review fixes to the open-wait tools - Run scripts/agent-waits-tools-e2e.ts in CI as test:agent-waits-tools, and upload its report. - close_wait and list_waits name the bad field when arguments are not valid. Before, a bad agentId gave "this wait is not open". - Count the open waits with COUNT(*) after await_event. - Remove the limit refusal text that repeated the localized message. - Assert where the near-limit warning starts. - Move the docs paragraph after the run route's status table. - Update comments that named only two wait tools. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> | 22 days ago | |
Let agents list and close open waits (#2758) * Let agents list and close open waits An agent at the limit of 20 open waits could not find wait IDs, so it could not close finished waits or open new ones (#2753). - Add openbot.list_waits: wait ID, note, open time, routine, last wake. - close_wait and list_waits take an optional agentId, as the routine tools do, so a coordinator can close a finished wait of another agent. - list_agents shows openWaits for each agent with open waits. - await_event returns the count and limit, and warns near the limit. At the limit, the refusal lists the open waits. - Add scripts/agent-waits-tools-e2e.ts. Closes #2753 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Apply review fixes to the open-wait tools - Run scripts/agent-waits-tools-e2e.ts in CI as test:agent-waits-tools, and upload its report. - close_wait and list_waits name the bad field when arguments are not valid. Before, a bad agentId gave "this wait is not open". - Count the open waits with COUNT(*) after await_event. - Remove the limit refusal text that repeated the localized message. - Assert where the near-limit warning starts. - Move the docs paragraph after the run route's status table. - Update comments that named only two wait tools. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> | 22 days ago | |
Let agents list and close open waits (#2758) * Let agents list and close open waits An agent at the limit of 20 open waits could not find wait IDs, so it could not close finished waits or open new ones (#2753). - Add openbot.list_waits: wait ID, note, open time, routine, last wake. - close_wait and list_waits take an optional agentId, as the routine tools do, so a coordinator can close a finished wait of another agent. - list_agents shows openWaits for each agent with open waits. - await_event returns the count and limit, and warns near the limit. At the limit, the refusal lists the open waits. - Add scripts/agent-waits-tools-e2e.ts. Closes #2753 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Apply review fixes to the open-wait tools - Run scripts/agent-waits-tools-e2e.ts in CI as test:agent-waits-tools, and upload its report. - close_wait and list_waits name the bad field when arguments are not valid. Before, a bad agentId gave "this wait is not open". - Count the open waits with COUNT(*) after await_event. - Remove the limit refusal text that repeated the localized message. - Assert where the near-limit warning starts. - Move the docs paragraph after the run route's status table. - Update comments that named only two wait tools. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> | 22 days ago |
| Files | Last commit | Last update |
|---|---|---|
| 22 days ago | ||
| 22 days ago | ||
| 22 days ago |