Files
orca/src/shared/native-chat
Brennan BensonandClaude Opus 5.5 5bbbdebe6b Open the goal composer from /goal in Claude and Grok chats (#37212)
* Make goal command entry consistent across supported chat agents

* Keep the composer goal mode binding local

* Open the goal chip only for the provider's built-in /goal

Carry the provider's built-in marker on slash-command rows (Claude's
initialize descriptors report it) through to the picker, and enter goal
mode from a picked /goal only when the session has host goals or the row
is the provider's own built-in. A user command or skill named goal keeps
its normal invocation, and bare /goal without host goals is sent as
typed again. Host goal objectives resolve pasted text before the /goal
prefix is stripped, as before.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* Mark Grok's built-in slash commands from its initialize response

Grok lists its own built-ins in the initialize response of each process.
Carry that onto the session command rows as the existing built-in marker,
so picking Grok's /goal opens the goal chip like Claude's. A row that
Grok tags as a skill or workflow never takes the marker, since a session
can close the built-in and let a same-named skill take its name.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* Feed the Grok built-in command test a recorded initialize response

Replace the hand-trimmed initialize reply with Grok 1.0.70's recorded
initialize result, keeping its seven built-in command rows and removing
host-identifying metadata.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* Type the composer send result as boolean in the IME composition test

The structured composer send now resolves to whether it was admitted.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-01 18:59:52 -08:00
..