Commit Graph

5778 Commits

Author SHA1 Message Date
Mahima Shanware ae433fbef7 docs: regenerate settings.md to fix CI 2026-04-08 18:48:07 +00:00
Mahima Shanware c1c8ecef3c fix(cli): address code review feedback regarding btw rendering and throttle cleanup 2026-04-08 17:08:46 +00:00
Mahima Shanware 96798e32b2 fix(cli): resolve memory leak in btw hook cleanup 2026-04-08 17:08:46 +00:00
Mahima Shanware ddeacbd33b fix(cli): address code review feedback for btw command
- Only register the `/btw` command if `experimental.btw` is enabled in settings.
- Explicitly clear the throttling timer in `useBtw.ts` when the display is dismissed to prevent delayed updates.
- Update the `/btw` placeholder example to use less technical language ("what does this function do?").
2026-04-08 17:08:46 +00:00
Mahima Shanware ed4c17e03e fix(cli): resolve btw command truncation in alternate buffer mode
The btw command's response was previously being rendered outside the `ScrollableList` component in `MainContent.tsx`. This caused its output to be severely truncated when the response was lengthy and the user had alternate buffer mode enabled, as the root container restricts height strictly to the terminal lines.

This commit incorporates the btw output as a dynamic item inside the `virtualizedData` fed to `ScrollableList` when the alternate buffer is active. This ensures the output is scrollable and not arbitrarily cut off. It also patches `useBtw` to fix a React testing warning regarding `act(...)` updates and a bug where a dismissed btw query could overwrite state if a delayed API callback arrived after dismissal.
2026-04-08 17:08:45 +00:00
Mahima Shanware 19698ca4ac refactor(core): address code review feedback on async state and tools 2026-04-08 17:08:45 +00:00
Mahima Shanware 12c4d27506 fix(cli): implement robust error extraction logic and tests for useBtw 2026-04-08 17:08:45 +00:00
Mahima Shanware 909c35c2d5 fix(core): address PR feedback regarding hooks, unused promises, and UI double-render 2026-04-08 17:08:45 +00:00
Mahima Shanware cc09cfd7a4 feat(telemetry): add usage metric for /btw command 2026-04-08 17:08:45 +00:00
Mahima Shanware 800edce6b1 docs: update settings.schema.json with experimental.btw 2026-04-08 17:08:45 +00:00
Mahima Shanware cbe297bc97 feat(btw): add experimental.btw setting and documentation
- Added `experimental.btw` setting to the settings schema.
- Updated `/btw` command to check if `experimental.btw` is enabled.
- Added documentation for `/btw` in `docs/reference/commands.md`.
- Regenerated settings documentation in `docs/reference/configuration.md` and `docs/cli/settings.md`.
- Updated unit tests for `/btw` command to provide mock context and test enablement flag.
2026-04-08 17:08:45 +00:00
Mahima Shanware 55a7a22471 feat(ui): automatically dismiss ephemeral /btw display on input typing
By intercepting text input when the `/btw` query results are
visible (but not actively streaming), we can dismiss the ephemeral
BtwDisplay before the new text wraps to the next line. This fixes
the UI jumpiness and "ghost space" scrolling that occurs when the
terminal recalculates the tall rendered height of the previous
query dynamically. Also, includes test updates to mock the
spinner to eliminate `act(...)` asynchronous test warnings.
2026-04-08 17:08:45 +00:00
Mahima Shanware ee1bc7e209 perf(cli): throttle btw streaming updates to prevent layout shakiness 2026-04-08 17:08:45 +00:00
Mahima Shanware 23441126b4 fix(cli): update package-lock.json dependencies after preflight run 2026-04-08 17:08:44 +00:00
Mahima Shanware 86487af7ff test(cli): add unit tests for /btw command functionality and components 2026-04-08 17:08:44 +00:00
Mahima Shanware dcde43b031 fix(cli): separate BtwDisplay from pendingItems in MainContent to prevent jerky scroll rendering 2026-04-08 17:08:44 +00:00
Mahima Shanware d912a58f81 fix(cli): remove row flex direction from BtwDisplay to prevent horizontal layout 2026-04-08 17:08:44 +00:00
Mahima Shanware da5af386e0 fix(cli): move btw layout into main content to prevent jerky scroll 2026-04-08 17:08:44 +00:00
Mahima Shanware 50a22245f8 fix(cli): update DefaultAppLayout mock to include btwState 2026-04-08 17:08:44 +00:00
Mahima Shanware 17b40b31b8 feat(cli): add UI integration for /btw command 2026-04-08 17:08:44 +00:00
Mahima Shanware 4bc7e2554f feat(cli): add useBtw hook and slash command processing 2026-04-08 17:08:44 +00:00
Mahima Shanware 09774da43c feat(cli): add /btw command architecture and types 2026-04-08 17:08:44 +00:00
Mahima Shanware 0bd797a2be feat(core): add sendBtwStream for tool-less side inquiries 2026-04-08 17:08:44 +00:00
ruomeng 34b4f1c6e4 refactor(plan): simplify policy priorities and consolidate read-only rules (#24849) 2026-04-08 15:58:29 +00:00
Gaurav e77b22e638 fix: isolate concurrent browser agent instances (#24794) 2026-04-08 14:31:10 +00:00
Adam Weidman 1b3e7d674f docs: update MCP server OAuth redirect port documentation (#24844) 2026-04-08 14:06:30 +00:00
Gaurav Ghosh e7f8d9cf1a Revert "feat: Introduce an AI-driven interactive shell mode with new"
This reverts commit 651ad63ed6.
2026-04-08 07:31:17 -07:00
Gaurav Ghosh 651ad63ed6 feat: Introduce an AI-driven interactive shell mode with new
`read-shell` and `write-to-shell` tools and a configurable mode setting.
2026-04-08 07:27:28 -07:00
Jacob Richman cbacdc67d0 feat(cli): switch to ctrl+g from ctrl-x (#24861) 2026-04-08 06:22:45 +00:00
Jacob Richman 7e1938c1bc fix(cli): switch default back to terminalBuffer=false and fix regressions introduced for that mode (#24873) 2026-04-08 05:47:54 +00:00
Anjaligarhwal b9f1d832c8 fix(core): dispose Scheduler to prevent McpProgress listener leak (#24870) 2026-04-08 03:05:53 +00:00
Dev Randalpura 47c5d25d93 Added flag for ept size and increased default size (#24859) 2026-04-08 03:03:36 +00:00
Jacob Richman 28efab483f fix(cli): always show shell command description or actual command (#24774) 2026-04-08 01:52:33 +00:00
gemini-cli-robot 9fd92c0eea Changelog for v0.37.0-preview.2 (#24848)
Co-authored-by: gemini-cli-robot <224641728+gemini-cli-robot@users.noreply.github.com>
2026-04-08 00:13:06 +00:00
Michael Bleigh 16768c08f2 refactor(core): make LegacyAgentSession dependencies optional (#24287)
Co-authored-by: Adam Weidman <adamfweidman@gmail.com>
Co-authored-by: Adam Weidman <adamfweidman@google.com>
2026-04-07 23:45:22 +00:00
JAYADITYA 1aa798dd18 refactor(cli): remove duplication in interactive shell awaiting input hint (#24801) 2026-04-07 23:36:44 +00:00
Christian Gunderman f96d5f98fe Revert "fix(ui): improve narration suppression and reduce flicker (#2… (#24857) 2026-04-07 22:45:40 +00:00
Yuna Seol 3c5b5db034 feat(core): use experiment flags for default fetch timeouts (#24261) 2026-04-07 22:35:04 +00:00
Michael Bleigh 986293bd38 feat(core): add agent protocol UI types and experimental flag (#24275)
Co-authored-by: Adam Weidman <adamfweidman@gmail.com>
Co-authored-by: Adam Weidman <adamfweidman@google.com>
2026-04-07 21:45:18 +00:00
David Pierce adf7b3b717 Improve sandbox error matching and caching (#24550) 2026-04-07 21:08:18 +00:00
Jack Wotherspoon 9637fb3990 fix(core): remove tmux alternate buffer warning (#24852) 2026-04-07 21:01:14 +00:00
Sri Pasumarthi 06fcdc231c feat(acp): add /help command (#24839) 2026-04-07 20:01:44 +00:00
Sehoon Shon d29da15427 fix(cli): prevent multiple banner increments on remount (#24843) 2026-04-07 19:44:09 +00:00
Enjoy Kumawat ab3075feb9 fix: use directory junctions on Windows for skill linking (#24823) 2026-04-07 19:28:43 +00:00
Abhi 5588000e93 chore: fix formatting for behavioral eval skill reference file (#24846) 2026-04-07 19:26:53 +00:00
krishdef7 68fef8745e fix(core): propagate BeforeModel hook model override end-to-end (#24784)
Signed-off-by: krishdef7 <gargkrish06@gmail.com>
Co-authored-by: Sandy Tao <sandytao520@icloud.com>
2026-04-07 17:49:26 +00:00
Michael Bleigh e432f7c009 feat(hooks): display hook system messages in UI (#24616) 2026-04-07 17:42:39 +00:00
Alisa 846051f716 Alisa/approve button (#24645) 2026-04-07 16:44:07 +00:00
Tommaso Sciortino 1c22c5b37b Remove flakey test (#24837) 2026-04-07 09:39:15 -07:00
Emily Hedlund 1762c9c509 temporarily disable sandbox integration test on windows (#24786) 2026-04-07 15:33:40 +00:00