Repository navigation
ref(agents): Use one status list for every agent - #4440
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Do we not have an idle status? Like, generally speaking, all agents should share the same status enums. So I don't want to have different paths for these |
6dca3fc to
f5a181e
Compare
|
Agreed, there shouldn't be a separate child path. Today there are three status lists: Conversation status ( This PR will drop |
f5a181e to
c526e04
Compare
edb1ad9 to
bdc9d7d
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit bdc9d7d. Configure here.
No code sets pending or paused on a child agent, so the API schema and listAgents no longer accept them. Co-Authored-By: David Cramer <[email protected]>
Co-Authored-By: David Cramer <[email protected]>
bdc9d7d to
8f64437
Compare
|
19 screenshot changes — 19 changed · 0 added · 0 removed Review screenshots in Frameshift Show 12 more changed screenshots1 more changed screenshot in Frameshift. |

Child agents had their own status words, so the dashboard, the API, and
listAgentstold the same child's state in different ways (#3060). Now every agent list uses one status list (pending,running,paused,idle,failed,stopped), and how a child's last Turn ended (done,blocked,failed) comes only fromlastResult. The child agent API also drops theerrorfield that nothing set and the duplicatetask; a visible child always sendstitle, null when its spawn gave none.via @dcramer.
--
View Session [Sentry]