chore: migrate to oxlint and oxfmt

Co-authored-by: Christoph Nakazawa <christoph.pojer@gmail.com>
This commit is contained in:
Peter Steinberger
2026-01-14 14:31:43 +00:00
parent 912ebffc63
commit c379191f80
1480 changed files with 28608 additions and 43547 deletions

View File

@@ -66,9 +66,7 @@ export async function runSessionsSendA2AFlow(params: {
let incomingMessage = latestReply;
for (let turn = 1; turn <= params.maxPingPongTurns; turn += 1) {
const currentRole =
currentSessionKey === params.requesterSessionKey
? "requester"
: "target";
currentSessionKey === params.requesterSessionKey ? "requester" : "target";
const replyPrompt = buildAgentToAgentReplyContext({
requesterSessionKey: params.requesterSessionKey,
requesterChannel: params.requesterChannel,
@@ -112,12 +110,7 @@ export async function runSessionsSendA2AFlow(params: {
timeoutMs: params.announceTimeoutMs,
lane: AGENT_LANE_NESTED,
});
if (
announceTarget &&
announceReply &&
announceReply.trim() &&
!isAnnounceSkip(announceReply)
) {
if (announceTarget && announceReply && announceReply.trim() && !isAnnounceSkip(announceReply)) {
try {
await callGateway({
method: "send",