feat(server): ACP sessionUpdate parity for Grok clients #5422
ClosedEnzoTironi(GitHub profile, opens in a new tab)wants to merge 2 commits into
main fromrefs/pull/5422/headopened View on GitHubgithub-actions[bot](GitHub profile, opens in a new tab) added labelssize:L
github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:unvouched
- apps/server/src/provider/acp/AcpCoreRuntimeEvents.ts line 298Resolvedby cursor[bot](GitHub profile, opens in a new tab)@@ -242,0 +278,21 @@278+ ...(input.reasoningOutputTokens !== undefined279+ ? { reasoningOutputTokens: input.reasoningOutputTokens }280+ : {}),281+ ...(input.inputTokens !== undefined ? { lastInputTokens: input.inputTokens } : {}),282+ ...(input.outputTokens !== undefined ? { lastOutputTokens: input.outputTokens } : {}),283+ ...(input.cachedInputTokens !== undefined284+ ? { lastCachedInputTokens: input.cachedInputTokens }285+ : {}),286+ ...(input.reasoningOutputTokens !== undefined287+ ? { lastReasoningOutputTokens: input.reasoningOutputTokens }288+ : {}),289+ compactsAutomatically: true,290+ },291+ },292+ raw: {293+ source: input.source ?? "acp.jsonrpc",294+ method: input.method ?? "session/update",295+ payload: input.rawPayload,296+ },297+ };298+}
EnzoTironi(GitHub profile, opens in a new tab) closed this
Sign in to join this conversation.


Important
Review skipped#
Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
.coderabbit.yamlfile in this repository. To trigger a single review, invoke the@coderabbitai reviewcommand.⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro Plus
Run ID:
eec28603-fc05-48a5-9415-72beeee352c8You can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share