feat(agy): add Antigravity as an interactive PTY agent (#1320)

This commit is contained in:
Junmo Kim
2026-08-04 10:50:03 +08:00
committed by GitHub
parent 3ce73769c7
commit e35c06b36a
149 changed files with 14651 additions and 462 deletions
+11
View File
@@ -281,6 +281,17 @@ export class MessageQueue2<T> {
this.waiter = null;
}
/**
* localIds of messages still pending in the queue (enqueued but not yet
* consumed/acked). Lets a caller reconcile them with the hub before a
* reset() that would otherwise drop them without an ack.
*/
pendingLocalIds(): string[] {
return this.queue
.map((item) => item.localId)
.filter((id): id is string => typeof id === 'string');
}
/**
* Close the queue - no more messages can be pushed
*/