Repository navigation
fix(chat): show native Grok and Antigravity activity - #816
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 7 minutes. View limit details
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Summary
Merge Risk: ⚪ Minimal · up to Grok and Antigravity activity reaches Chat, and the CI browser lane includes the Agy check. No material merge risk is established; the change appears mergeable subject to normal checks. Pre-merge checks |
|
… work block, and is Grok's and Agy's alone
|
Pushed one commit on top (and merged
The Grok and Agy scripts are Linux-only, so they were not run on the maintainer's Mac; CI runs them. |
… spots main added another browser script (devswha#816), so the lane count is 36. This change's entries sat where every other change adds its own: the top of the three dictionaries and the end of the changelog lists. Each new commit on main therefore conflicted. The dictionary entries now sit with the other machine strings, and the changelog entries one place up from the end.
## Change Release 0.4.7, from main at 80ca9bb (47 PRs since v0.4.6). - `package.json` and `herdr-plugin.toml`: 0.4.7. - CHANGELOG: `[Unreleased]` becomes `[0.4.7] - 2026-10-12`, with the compare links. - #513's entry moves out of the 0.4.0 section, where its branch's merge left it, and gets its credit; it says the pace is a setting, off by default (#834). - A Maintenance section covers the PRs that had no entry: #743, #756, #767, #795, #805, #810, #813, #821, #826, #831. - The note under the Hermes entry that asked for a runtime bump at release now says what a remote PC needs. - `release-summaries.json`: 0.4.7 in en/ko/ja/zh/tr (6 new, 6 improved, 5 fixed). The Turkish lines are not checked by a native speaker. - `REMOTE_BUNDLE_VERSION` 25 -> 26. Since v0.4.5's runtime the bridge gained Hermes transcripts (#604), conversation pushes (#689) and Grok/Antigravity activity (#816), so `remote-v26` is published before the app release. Not in this release: #606. ## Validation - `bun scripts/release-notes.ts 0.4.7` renders the summaries and the full changelog (235 lines). - `bun run typecheck` and `bun run build`: pass. - `TMPDIR=/tmp bun run test:unit`: one failure, `server/voice.test.ts` ("audio.webm" vs "clip.webm"), which fails the same way on unmodified `main` on this Mac (Bun 1.4.0); CI runs Bun 1.4.2. - Every PR merged since v0.4.6 was checked against the changelog section: all 47 are linked. ## Release After this merges and its CI on `main` passes: push `remote-v26`, wait for its release, then run the Release workflow with `0.4.7`.
…sion (#3076) ## Summary When Chat falls back to terminal output for a single Copilot process on Linux that was started without `--ui-server`, Chat now shows a notice: > Copilot chat is unavailable. On Linux, starting Copilot with copilot --ui-server --port=0 may help. Its local API has no authentication: any program on this PC can control that session. This respects the earlier decision in #2666. Ovis still never adds the flag and has no toggle for it. The notice only names the option and its risk where the problem shows, as `docs/copilot-chat.md` already leaves the choice to the user. The wording says "may" because some failures, such as an unproved store, an unreadable transcript or a peer claiming the session, could persist with the flag. We still want to point users to the more stable route whenever Chat cannot bind the session. ## How - `shared/protocol.ts`: a new optional field, `ConversationResponse.hint?: "copilot_ui_server"`. This is an HTTP contract addition. Older clients ignore it. - `server/conversation.ts`: in `copilotTranscriptPath`, once Copilot's own API check returns `not_opted_in` for the one foreground process, every later `ConversationUnavailable` carries the hint (`report_invalid`, a report peer conflict, and the final throw). It is never sent: - when the flag is present (the API path and `copilot_api_*` errors), - for a two-process `--resume` handoff, - on non-Linux or when the process set is unproved, - for a first-turn `ConversationNotStarted`. - `server/pane-routes.ts`: passes `hint` on the scrollback answer, next to `recovery`. - `src/components/ChatView.tsx`: an inline footer notice for `copilot` + `scrollback` + the hint. It follows the existing Grok and Antigravity notices (#816) for design precedent. Translations for ja/ko/zh are included. A waiting recovery that keeps the shown history doesn't show it. - Docs and a changelog fragment. ## Validation - `bun run check fast`: workflow syntax, generated types/themes, typecheck and build all ok. Unit tests passed except `scripts/build-cache.test.ts`, `scripts/self-hosted-runner.test.ts`, `scripts/ci-runner-route.test.ts` and `scripts/relay-ios-sim.test.ts`. These four fail identically on clean `main` in my environment and are unrelated. - `bun run check run bun test --timeout 15000 ./server/copilot.contract.test.ts`: 8 pass. The no-flag case asserts the hint. The `--ui-server` fixture's API rejection, race and peer cases strictly assert no hint, as does the two-process handoff peer conflict. - `server/copilot.test.ts`: a new test checks that a held marker with no report, then with a peer claim, then with a peer-conflicting report all carry the hint. - `server/pane-routes.test.ts`: the hint passes through next to `recovery: "waiting"`. - Independent code-review agent rounds; their findings are fixed. --------- Co-authored-by: Yu Xie <[email protected]> Co-authored-by: Copilot <[email protected]> Co-authored-by: Hako <[email protected]> Copilot-Session: 03511a3a-c861-4657-b123-934fa3dbd976
Change
Supplemental fix for Grok (#777) and Antigravity (#789). Both agents can write native activity while Herdr reports ready or done, leaving Chat looking idle and keeping tool rows folded. Chat now shows native turn activity and opens live tool rows independently of that pane status. Missing native history gets an explicit notice for either agent.
Grok shows Thinking from thought events and Working from prompts, messages and tools, clearing on native turn completion. Antigravity shows Working from the current prompt/tool sequence and clears on a completed tool-free planner answer. Its individual
DONEsteps are not mistaken for turn completion; saved reasoning is not presented as live thinking. Late tool results do not restart completed activity. The Agy boundaries follow the captured native 1.3.3 sequence, without interpreting numeric database statuses or decoding payloads.The shared activity field controls display only. Input delivery, queue authority, supported builds, process/session binding and Hako's helper removal remain unchanged. Interrupted or errored turns without a saved completion can retain the indicator until another native turn or rewind; Agy completion patterns other than a tool-free planner answer have the same limitation. See Grok limits and Agy limits.
Validation
bun run check fastonfa05ac7: passed workflow syntax, generated types, application/tooling typecheck, build and 2,695 unit tests (8 skips, 0 failures).Isolated Grok and Agy conversation API contracts: 2 passed, covering activity transitions and HTTP validators alongside existing session/history/output-reference checks.
Built-client desktop/mobile checks for both agents: passed, including activity while Herdr never reports working, live tool rows, completion and unavailable-history notices. Agy also covers late tool results and a database-only rewind.
Agy unit cases follow the native prompt/context/planner-call/tool-result/final-answer sequence, plus partial records, unfinished answers, database/export lag, rewind and cold-cache replay. The new browser script is included in the CI lane.
The combined API/browser run verified unchanged source; the subsequent commit adds only the screenshot to that tested source. Full integration/browser lanes and native Windows checks were not run.
Mobile screenshots from isolated test sessions with fictional messages: