@agent-native/core 0.153.1 → 0.153.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1910,6 +1910,230 @@ body[data-clips-route="recording-pill"] #root {
1910
1910
  padding-bottom: 18px;
1911
1911
  }
1912
1912
 
1913
+ /* Settings detail stays inside the existing tray window. The content is a
1914
+ floating layer, so changing a choice never becomes a native window resize. */
1915
+ .desktop-settings-popover {
1916
+ z-index: 80;
1917
+ width: min(360px, calc(100vw - 24px));
1918
+ max-height: min(680px, calc(100vh - 24px));
1919
+ overflow-x: hidden;
1920
+ overflow-y: auto;
1921
+ padding: 12px;
1922
+ border: 1px solid var(--border);
1923
+ border-radius: var(--radius);
1924
+ background: var(--bg);
1925
+ color: var(--fg);
1926
+ box-shadow: var(--shadow-md);
1927
+ outline: none;
1928
+ transform-origin: var(--radix-popover-content-transform-origin);
1929
+ }
1930
+
1931
+ .desktop-settings-popover[data-state="open"] {
1932
+ animation: feedback-popover-in 120ms ease-out;
1933
+ }
1934
+
1935
+ .desktop-settings-popover[data-state="closed"] {
1936
+ animation: feedback-popover-out 90ms ease-out;
1937
+ }
1938
+
1939
+ .desktop-settings-popover-header {
1940
+ display: flex;
1941
+ align-items: center;
1942
+ justify-content: space-between;
1943
+ gap: 10px;
1944
+ margin-bottom: 10px;
1945
+ }
1946
+
1947
+ .desktop-settings-popover-title {
1948
+ min-width: 0;
1949
+ color: var(--fg);
1950
+ font-size: 13px;
1951
+ font-weight: 650;
1952
+ letter-spacing: -0.01em;
1953
+ }
1954
+
1955
+ .desktop-settings-popover-close {
1956
+ display: inline-flex;
1957
+ align-items: center;
1958
+ justify-content: center;
1959
+ width: 26px;
1960
+ height: 26px;
1961
+ flex: 0 0 auto;
1962
+ padding: 0;
1963
+ border: none;
1964
+ border-radius: var(--radius-sm);
1965
+ background: transparent;
1966
+ color: var(--fg-muted);
1967
+ cursor: pointer;
1968
+ }
1969
+
1970
+ .desktop-settings-popover-close:hover {
1971
+ background: var(--surface-hover);
1972
+ color: var(--fg);
1973
+ }
1974
+
1975
+ .desktop-settings-popover-close:focus-visible,
1976
+ .rewind-setting-trigger:focus-visible,
1977
+ .rewind-choice-option:focus-visible,
1978
+ .rewind-manage-button:focus-visible {
1979
+ outline: none;
1980
+ box-shadow: 0 0 0 3px var(--brand-ring);
1981
+ }
1982
+
1983
+ .desktop-settings-popover > .setup {
1984
+ width: auto;
1985
+ max-height: none;
1986
+ padding: 0;
1987
+ overflow: visible;
1988
+ border-radius: 0;
1989
+ background: transparent;
1990
+ }
1991
+
1992
+ .desktop-settings-popover > .setup > .setup-header {
1993
+ display: none;
1994
+ }
1995
+
1996
+ .desktop-settings-popover > .rewind-settings-surface,
1997
+ .desktop-settings-popover > .rewind-memory-surface {
1998
+ gap: 12px;
1999
+ padding-bottom: 2px;
2000
+ }
2001
+
2002
+ .rewind-settings-launcher {
2003
+ width: min(430px, calc(100vw - 24px));
2004
+ }
2005
+
2006
+ .rewind-memory-launcher {
2007
+ width: min(430px, calc(100vw - 24px));
2008
+ }
2009
+
2010
+ .rewind-popover-content {
2011
+ width: min(380px, calc(100vw - 24px));
2012
+ }
2013
+
2014
+ .rewind-setting-trigger {
2015
+ display: flex;
2016
+ align-items: center;
2017
+ justify-content: space-between;
2018
+ gap: 10px;
2019
+ width: 142px;
2020
+ min-height: 34px;
2021
+ padding: 7px 9px 7px 10px;
2022
+ border: 1px solid var(--border-strong);
2023
+ border-radius: var(--radius-sm);
2024
+ background: var(--surface);
2025
+ color: var(--fg);
2026
+ cursor: pointer;
2027
+ font-size: 11px;
2028
+ font-weight: 600;
2029
+ text-align: left;
2030
+ }
2031
+
2032
+ .rewind-setting-trigger:hover:not(:disabled) {
2033
+ border-color: var(--fg-muted);
2034
+ background: var(--surface-hover);
2035
+ }
2036
+
2037
+ .rewind-setting-trigger:disabled {
2038
+ opacity: 0.48;
2039
+ cursor: not-allowed;
2040
+ }
2041
+
2042
+ .rewind-choice-list {
2043
+ display: grid;
2044
+ gap: 3px;
2045
+ }
2046
+
2047
+ .rewind-choice-option {
2048
+ display: flex;
2049
+ align-items: center;
2050
+ justify-content: space-between;
2051
+ gap: 10px;
2052
+ width: 100%;
2053
+ min-height: 34px;
2054
+ padding: 8px 9px;
2055
+ border: 1px solid transparent;
2056
+ border-radius: var(--radius-sm);
2057
+ background: transparent;
2058
+ color: var(--fg-muted);
2059
+ cursor: pointer;
2060
+ font-size: 12px;
2061
+ text-align: left;
2062
+ }
2063
+
2064
+ .rewind-choice-option:hover,
2065
+ .rewind-choice-option.is-selected {
2066
+ background: var(--surface-hover);
2067
+ color: var(--fg);
2068
+ }
2069
+
2070
+ .rewind-choice-option.is-selected {
2071
+ border-color: var(--border);
2072
+ }
2073
+
2074
+ .rewind-settings-section {
2075
+ display: grid;
2076
+ min-width: 0;
2077
+ }
2078
+
2079
+ .rewind-setting-copy {
2080
+ display: grid;
2081
+ gap: 3px;
2082
+ min-width: 0;
2083
+ }
2084
+
2085
+ .rewind-setting-copy > span {
2086
+ overflow: hidden;
2087
+ color: var(--fg-muted);
2088
+ font-size: 10.5px;
2089
+ line-height: 1.35;
2090
+ text-overflow: ellipsis;
2091
+ white-space: nowrap;
2092
+ }
2093
+
2094
+ .rewind-setting-row--action {
2095
+ grid-template-columns: minmax(0, 1fr) auto;
2096
+ min-height: 58px;
2097
+ }
2098
+
2099
+ .rewind-manage-button {
2100
+ width: auto;
2101
+ min-width: 72px;
2102
+ padding: 7px 10px;
2103
+ font-size: 11px;
2104
+ }
2105
+
2106
+ .rewind-popover-stack {
2107
+ display: grid;
2108
+ gap: 10px;
2109
+ min-width: 0;
2110
+ }
2111
+
2112
+ .rewind-popover-hint {
2113
+ margin: 0;
2114
+ color: var(--fg-muted);
2115
+ font-size: 11px;
2116
+ line-height: 1.45;
2117
+ }
2118
+
2119
+ .rewind-popover-setting-row {
2120
+ display: grid;
2121
+ grid-template-columns: minmax(0, 1fr) auto;
2122
+ align-items: center;
2123
+ gap: 12px;
2124
+ min-width: 0;
2125
+ padding: 9px 0;
2126
+ border-bottom: 1px solid var(--border);
2127
+ }
2128
+
2129
+ .rewind-popover-setting-row:last-child {
2130
+ border-bottom: none;
2131
+ }
2132
+
2133
+ .rewind-popover-setting-row .rewind-setting-trigger {
2134
+ width: 150px;
2135
+ }
2136
+
1913
2137
  .rewind-search-row {
1914
2138
  display: grid;
1915
2139
  grid-template-columns: auto minmax(0, 1fr) auto;
@@ -3358,6 +3582,10 @@ body[data-clips-route="recording-pill"] #root {
3358
3582
  border-color: #93c5fd;
3359
3583
  }
3360
3584
 
3585
+ .pending-upload-retry-spinning svg {
3586
+ animation: readiness-spin 0.8s linear infinite;
3587
+ }
3588
+
3361
3589
  .pending-upload-connect:hover {
3362
3590
  background: #dbeafe;
3363
3591
  border-color: #93c5fd;
@@ -3380,6 +3608,12 @@ body[data-clips-route="recording-pill"] #root {
3380
3608
  opacity: 0.6;
3381
3609
  }
3382
3610
 
3611
+ @media (prefers-reduced-motion: reduce) {
3612
+ .pending-upload-retry-spinning svg {
3613
+ animation: none;
3614
+ }
3615
+ }
3616
+
3383
3617
  .local-recording-banner,
3384
3618
  .local-save-banner,
3385
3619
  .share-link-banner {
@@ -160,6 +160,7 @@ pub fn run() {
160
160
  native_screen::native_fullscreen_recording_resume,
161
161
  native_screen::native_fullscreen_recording_rotate_segment,
162
162
  native_screen::native_fullscreen_pending_uploads,
163
+ native_screen::native_fullscreen_recover_orphaned_uploads,
163
164
  native_screen::native_fullscreen_recording_retry_upload,
164
165
  native_screen::native_fullscreen_recording_mark_upload_error,
165
166
  native_screen::native_fullscreen_recording_clear_upload,