The link (spec 3.4.0): capabilities progress, tree and agents; the team event carries the tree; _lembas/team, /transcript, /findings, /stop; progress and tree in status; subagent on an approval; an agent chat's Min/Max and said read per turn
ci / check (push) Waiting to run
ci / check (push) Waiting to run
acp.md: a turn without agents keeps the device's own setting (an older server), as before 3.4.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
10 files changed
+324
-11
No files matched your search
@@ -647,9 +647,13 @@ export class Engine {
|
||||
* included, as the store keeps them; never a note, a marked message or a machine turn. */
|
||||
personSaid(): string[] {
|
||||
const all = this.o.store && this.sessionId ? this.o.store.messages(this.sessionId) : this.messages
|
||||
return personTexts(all, this.o.steerMark ?? STEER_MARK)
|
||||
return [...this.saidBefore, ...personTexts(all, this.o.steerMark ?? STEER_MARK)]
|
||||
}
|
||||
|
||||
/** Spec 3.4.0 (acp.md, *Subagents in an agent chat*): the person's earlier words in a chat this
|
||||
* device has not seen, as the client sent them (`said` on session/new). */
|
||||
saidBefore: string[] = []
|
||||
|
||||
/** `extra`: attachments (@files, images) and the like — sent to the model after the text, never shown as typed.
|
||||
* `meta`: the turn's id and what was attached, said on the `prompt` event. */
|
||||
async prompt(text: string, extra: (string | ImagePart)[] = [], shown = text, meta: PromptMeta = {}): Promise<"stop" | "steps" | "budget" | "cancelled" | "error"> {
|
||||
|
||||
Reference in new issue
Block a user