Commit Graph

2939 Commits

Author SHA1 Message Date
Jack Wotherspoon 4ce7968fa0 Merge branch 'main' into mshanware/feat/btw 2026-04-09 10:03:26 -04:00
Jack Wotherspoon 2aa95c4d01 chore: update spinner for /btw 2026-04-09 10:03:11 -04:00
Jarrod Whelan faa7a9da30 feat(cli): refine tool output formatting for compact mode (#24677) 2026-04-09 03:30:52 +00:00
Sehoon Shon 464bac270c fix(cli): optimize startup with lightweight parent process (#24667) 2026-04-09 00:17:32 +00:00
Jacob Richman 9c4e17b7ce Update ink version to 6.6.9 (#24980) 2026-04-08 23:36:19 +00:00
Tommaso Sciortino d06dba3538 fix(core): dynamic session ID injection to resolve resume bugs (#24972) 2026-04-08 23:27:24 +00:00
dogukanozen 80764c8bb5 fix(cli-ui): enable Ctrl+Backspace for word deletion in Windows Terminal (#21447) 2026-04-08 22:25:29 +00:00
Jarrod Whelan 14b2f35677 fix(cli): restore file path display in edit and write tool confirmations (#24974) 2026-04-08 22:19:25 +00:00
Jacob Richman d1a062bcc4 chore: update ink version to 6.6.8 (#24934) 2026-04-08 20:02:03 +00:00
Mahima Shanware ae433fbef7 docs: regenerate settings.md to fix CI 2026-04-08 18:48:07 +00:00
gemini-cli-robot 3df99d8bcb chore(release): bump version to 0.39.0-nightly.20260408.e77b22e63 (#24939) 2026-04-08 18:10:28 +00:00
Sandy Tao a837b39f8d feat(memory): add /memory inbox command for reviewing extracted skills (#24544) 2026-04-08 18:08:49 +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 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 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
ruomeng 34b4f1c6e4 refactor(plan): simplify policy priorities and consolidate read-only rules (#24849) 2026-04-08 15:58:29 +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
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
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
Michael Bleigh e432f7c009 feat(hooks): display hook system messages in UI (#24616) 2026-04-07 17:42:39 +00:00
Abhijit Balaji 0025978d76 feat(cli): support selective topic expansion and click-to-expand (#24793) 2026-04-07 15:00:40 +00:00
Christian Gunderman d2b775f9a7 Add an eval for and fix unsafe cloning behavior. (#24457) 2026-04-07 03:17:44 +00:00
Spencer 0a8da988ed fix(cli): ensure skills list outputs to stdout in non-interactive environments (#24566) 2026-04-07 02:40:23 +00:00
Tommaso Sciortino df67f973ed fix(cli): respect global environment variable allowlist (#24767) 2026-04-06 22:17:55 +00:00
Christian Gunderman 7872d6d7fe fix(ui): improve narration suppression and reduce flicker (#24635) 2026-04-06 21:18:59 +00:00