Optionalcwd: stringThe tool calls still open, closed with status. A prompt answers only after this, so no call
stays open in the client once its turn has ended.
Map one frame. A frame already mapped (same plane, epoch and seq) maps to nothing, so a history read and a live tap can overlap.
Map one seat's frames in order. One mapper per ACP session, because message roles and tool calls carry from one frame to the next.
harnessnames the seat's application, which decides how its tools read, andcwdis the seat's folder, which a relative file path is in.