docs(agent): mark claim as the loop-internal step-boundary operation

This commit is contained in:
_Kerman
2026-08-05 20:26:46 +08:00
parent 857bf8c5f8
commit 208ec20dd9
10 changed files with 13 additions and 12 deletions

View File

@@ -65,6 +65,7 @@ export class Inbox {
* splices are pure deletions; the caller publishes claimed notifications.
* @param target - whether this boundary also consumes one queued turn.
* @returns next-step input followed by the queued turn, when requested.
* @internal - the agent loop's step-boundary operation, not a plugin seam.
*/
claim(target: InboxTarget): UserMessage[] {
const claimed = this.mutate('next-step', 0, this.nextStep.length, [], false)