Synced from monorepo
Synced from monorepo Changes: - grok-shell: send an expired external-provider credential to the sign-in flow, not a 401 loop - pager: clickable ▲ jumps to the top of the response being read - grok-shell: keep a large task log from making the completion message too long - Plan viewer scrollbar: widen grab zone to the border column; fix striped thumb in Terminal.app - pager: poll the tmux probe teardown grace instead of sleeping it - security: vendor-compat MCP kill switch is now actually enforced when reported as on - grok-shell: restore session eviction when a leader client disconnects - Bump rust-toolchain to 1.93.0 - workspace: lexical-normalize permission path patterns before glob matching - pager: reject garbage Enter in the /resume picker - pager: show Mermaid affordances in plan mode preview - pager: drop manage-account link from /session-info - workspace: auto-approve read-only git queries; defer write floor to auto classifier - Add free-form pattern editor to the "Always allow" command prompt - grok-shell: fix /btw caching - pager: Tab walks answers in the ask_user_question card - External-provider auth refresh: single 7s attempt instead of 3×5s - pager: don't resurrect finished background tasks as Running when completion arrives first - pager: report tmux truecolor clamping in Doctor - Fix plan viewer scrollbar click+drag hijacked by comment gutter - pager/shell: stop double Recap after the same last turn - sampler: preserve x-should-retry through stream collection - pager: clear plan-mode indicator immediately when the user approves a plan - pager: tmux does not re-read its config on reattach Source-Revision: 64c4de99cc822b25ce9c54ab5a4f372093d0885d
This commit is contained in:
parent
a422116582
commit
780d1388ff
323 changed files with 12258 additions and 7226 deletions
|
|
@ -354,13 +354,17 @@ impl Default for ScrollConfig {
|
|||
}
|
||||
}
|
||||
|
||||
/// Follow indicator display mode.
|
||||
/// Scroll indicator display mode: the ▼ jump-to-bottom arrow below
|
||||
/// scrollback and its ▲ jump-to-response-top mirror under the sticky
|
||||
/// prompt header.
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)]
|
||||
pub enum FollowIndicator {
|
||||
/// No follow indicator.
|
||||
/// No scroll indicators.
|
||||
None,
|
||||
/// Show ▼ centered in the gap row below scrollback when not following
|
||||
/// and there's content below the viewport.
|
||||
/// and there's content below the viewport, and ▲ centered under the
|
||||
/// sticky prompt header while the answer being read starts above the
|
||||
/// viewport top.
|
||||
#[default]
|
||||
Center,
|
||||
}
|
||||
|
|
@ -991,8 +995,8 @@ pub struct RawScrollConfig {
|
|||
/// If a scroll would be less than this percentage, scroll by this amount instead.
|
||||
/// 0 = minimal scroll (default), 25 = quarter page, 100 = full page.
|
||||
pub min_page_fraction: u8,
|
||||
/// Follow indicator in the gap row below scrollback.
|
||||
/// "none" = hidden, "center" = ▼ centered when content is below viewport.
|
||||
/// Scroll indicators: the ▼ below scrollback and the ▲ under the sticky
|
||||
/// prompt header. "none" = hidden, "center" = centered arrows.
|
||||
pub follow_indicator: RawFollowIndicator,
|
||||
/// When follow mode scrolls to new content, auto-select the latest entry.
|
||||
pub follow_auto_select: bool,
|
||||
|
|
@ -1019,13 +1023,13 @@ impl Default for RawScrollConfig {
|
|||
}
|
||||
}
|
||||
|
||||
/// Follow indicator display mode (TOML format).
|
||||
/// Scroll indicator display mode (TOML format).
|
||||
#[derive(Debug, Clone, Copy, Default, Serialize, Deserialize, PartialEq, Eq)]
|
||||
#[serde(rename_all = "lowercase")]
|
||||
pub enum RawFollowIndicator {
|
||||
/// No follow indicator.
|
||||
/// No scroll indicators.
|
||||
None,
|
||||
/// Show ▼ centered in the gap row below scrollback.
|
||||
/// Show ▼ centered below scrollback and ▲ under the sticky prompt header.
|
||||
#[default]
|
||||
Center,
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue