@dahawa/hawa-code 1.42.2 → 1.42.3

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.
@@ -1708,3 +1708,481 @@ html, body {
1708
1708
  .tool-confirm-reject:hover {
1709
1709
  background: rgba(239, 83, 80, 0.1);
1710
1710
  }
1711
+
1712
+ /* ============================================
1713
+ Prompt Input Bar
1714
+ ============================================ */
1715
+
1716
+ .prompt-input-bar {
1717
+ display: flex;
1718
+ flex-direction: column;
1719
+ padding: 8px 16px;
1720
+ background: var(--bg-secondary);
1721
+ border-top: 1px solid var(--border-color);
1722
+ flex-shrink: 0;
1723
+ gap: 4px;
1724
+ }
1725
+
1726
+ .prompt-input-inner {
1727
+ display: flex;
1728
+ align-items: flex-start;
1729
+ gap: 8px;
1730
+ }
1731
+
1732
+ .prompt-input-mode {
1733
+ display: flex;
1734
+ align-items: center;
1735
+ justify-content: center;
1736
+ flex-shrink: 0;
1737
+ width: 24px;
1738
+ height: 28px;
1739
+ color: var(--accent-green);
1740
+ font-weight: 600;
1741
+ user-select: none;
1742
+ }
1743
+
1744
+ .prompt-input-mode.bash {
1745
+ color: var(--accent-yellow);
1746
+ }
1747
+
1748
+ .prompt-input-mode.command {
1749
+ color: var(--accent-blue);
1750
+ }
1751
+
1752
+ .prompt-input-field {
1753
+ flex: 1;
1754
+ min-width: 0;
1755
+ background: var(--bg-primary);
1756
+ border: 1px solid var(--border-color);
1757
+ border-radius: 4px;
1758
+ color: var(--text-primary);
1759
+ padding: 6px 8px;
1760
+ font-family: var(--font-mono);
1761
+ font-size: 13px;
1762
+ line-height: 1.5;
1763
+ resize: none;
1764
+ overflow: hidden;
1765
+ min-height: 28px;
1766
+ max-height: 200px;
1767
+ }
1768
+
1769
+ .prompt-input-field:focus {
1770
+ outline: none;
1771
+ border-color: var(--accent-green);
1772
+ }
1773
+
1774
+ .prompt-input-field:disabled {
1775
+ background: var(--bg-secondary);
1776
+ color: var(--text-dimmed);
1777
+ cursor: not-allowed;
1778
+ }
1779
+
1780
+ .prompt-input-field::placeholder {
1781
+ color: var(--text-dimmed);
1782
+ }
1783
+
1784
+ .prompt-input-send {
1785
+ flex-shrink: 0;
1786
+ background: transparent;
1787
+ border: 1px solid var(--border-color);
1788
+ color: var(--text-secondary);
1789
+ padding: 6px 14px;
1790
+ border-radius: 4px;
1791
+ cursor: pointer;
1792
+ font-family: var(--font-mono);
1793
+ font-size: 12px;
1794
+ transition: all 0.15s ease;
1795
+ }
1796
+
1797
+ .prompt-input-send:hover:not(:disabled) {
1798
+ background: var(--bg-hover);
1799
+ color: var(--text-primary);
1800
+ border-color: var(--accent-green);
1801
+ }
1802
+
1803
+ .prompt-input-send:disabled {
1804
+ opacity: 0.5;
1805
+ cursor: not-allowed;
1806
+ }
1807
+
1808
+ .prompt-input-interrupt {
1809
+ flex-shrink: 0;
1810
+ background: transparent;
1811
+ border: 1px solid var(--border-color);
1812
+ color: var(--accent-red);
1813
+ padding: 6px 14px;
1814
+ border-radius: 4px;
1815
+ cursor: pointer;
1816
+ font-family: var(--font-mono);
1817
+ font-size: 12px;
1818
+ transition: all 0.15s ease;
1819
+ }
1820
+
1821
+ .prompt-input-interrupt:hover {
1822
+ background: rgba(239, 83, 80, 0.1);
1823
+ border-color: var(--accent-red);
1824
+ }
1825
+
1826
+ .prompt-input-status {
1827
+ font-size: 11px;
1828
+ padding-left: 32px;
1829
+ color: var(--text-dimmed);
1830
+ }
1831
+
1832
+ .prompt-input-status.received {
1833
+ color: var(--accent-blue);
1834
+ }
1835
+
1836
+ .prompt-input-status.queued {
1837
+ color: var(--accent-yellow);
1838
+ }
1839
+
1840
+ .prompt-input-status.executing {
1841
+ color: var(--accent-green);
1842
+ }
1843
+
1844
+ .prompt-input-status.rejected {
1845
+ color: var(--accent-red);
1846
+ }
1847
+
1848
+ .prompt-input-status.completed {
1849
+ color: var(--text-secondary);
1850
+ }
1851
+
1852
+ /* ============================================
1853
+ Ask User Question Inline Form
1854
+ ============================================ */
1855
+
1856
+ .ask-user-question-form {
1857
+ background: var(--bg-secondary);
1858
+ border: 1px solid var(--border-color);
1859
+ border-left: 3px solid var(--accent-purple);
1860
+ border-radius: 4px;
1861
+ padding: 12px 16px;
1862
+ margin-top: 4px;
1863
+ display: flex;
1864
+ flex-direction: column;
1865
+ gap: 10px;
1866
+ }
1867
+
1868
+ .ask-user-question-header {
1869
+ display: flex;
1870
+ flex-wrap: wrap;
1871
+ gap: 8px;
1872
+ font-size: 11px;
1873
+ color: var(--text-dimmed);
1874
+ padding-bottom: 8px;
1875
+ border-bottom: 1px solid var(--border-color);
1876
+ }
1877
+
1878
+ .ask-user-question-step {
1879
+ padding: 2px 8px;
1880
+ border-radius: 3px;
1881
+ border: 1px solid var(--border-color);
1882
+ background: var(--bg-primary);
1883
+ }
1884
+
1885
+ .ask-user-question-step.answered {
1886
+ border-color: var(--accent-green);
1887
+ color: var(--accent-green);
1888
+ }
1889
+
1890
+ .ask-user-question-step.active {
1891
+ border-color: var(--accent-purple);
1892
+ color: var(--accent-purple);
1893
+ font-weight: 600;
1894
+ }
1895
+
1896
+ .ask-user-question-title {
1897
+ color: var(--text-primary);
1898
+ font-size: 13px;
1899
+ font-weight: 600;
1900
+ }
1901
+
1902
+ .ask-user-question-hint {
1903
+ color: var(--text-dimmed);
1904
+ font-size: 11px;
1905
+ font-style: italic;
1906
+ }
1907
+
1908
+ .ask-user-question-options {
1909
+ display: flex;
1910
+ flex-direction: column;
1911
+ gap: 6px;
1912
+ }
1913
+
1914
+ .ask-user-question-option {
1915
+ display: flex;
1916
+ align-items: flex-start;
1917
+ gap: 8px;
1918
+ padding: 8px 10px;
1919
+ border-radius: 4px;
1920
+ border: 1px solid var(--border-color);
1921
+ background: var(--bg-primary);
1922
+ cursor: pointer;
1923
+ transition: all 0.15s ease;
1924
+ flex-wrap: wrap;
1925
+ }
1926
+
1927
+ .ask-user-question-option:hover {
1928
+ background: var(--bg-hover);
1929
+ }
1930
+
1931
+ .ask-user-question-option.selected {
1932
+ border-color: var(--accent-green);
1933
+ background: rgba(129, 199, 132, 0.1);
1934
+ }
1935
+
1936
+ .ask-user-question-option input {
1937
+ flex-shrink: 0;
1938
+ cursor: pointer;
1939
+ margin-top: 1px;
1940
+ }
1941
+
1942
+ .ask-user-question-option-label {
1943
+ color: var(--text-primary);
1944
+ font-size: 12px;
1945
+ font-weight: 600;
1946
+ flex-shrink: 0;
1947
+ padding-top: 1px;
1948
+ }
1949
+
1950
+ .ask-user-question-option-description {
1951
+ color: var(--text-dimmed);
1952
+ font-size: 11px;
1953
+ flex: 1;
1954
+ min-width: 120px;
1955
+ word-break: break-word;
1956
+ padding-top: 2px;
1957
+ }
1958
+
1959
+ .ask-user-question-custom-input {
1960
+ width: 100%;
1961
+ background: var(--bg-primary);
1962
+ border: 1px solid var(--border-color);
1963
+ border-radius: 4px;
1964
+ color: var(--text-primary);
1965
+ padding: 8px 10px;
1966
+ font-family: var(--font-mono);
1967
+ font-size: 13px;
1968
+ }
1969
+
1970
+ .ask-user-question-custom-input:focus {
1971
+ outline: none;
1972
+ border-color: var(--accent-purple);
1973
+ }
1974
+
1975
+ .ask-user-question-custom-input:disabled {
1976
+ background: var(--bg-secondary);
1977
+ color: var(--text-dimmed);
1978
+ cursor: not-allowed;
1979
+ }
1980
+
1981
+ .ask-user-question-custom-inline {
1982
+ margin-top: 6px;
1983
+ margin-left: 28px;
1984
+ padding: 10px 12px;
1985
+ border: 1px dashed var(--border-color);
1986
+ border-radius: 4px;
1987
+ background: var(--bg-primary);
1988
+ display: flex;
1989
+ flex-direction: column;
1990
+ gap: 8px;
1991
+ }
1992
+
1993
+ .ask-user-question-custom-inline-actions {
1994
+ display: flex;
1995
+ gap: 8px;
1996
+ }
1997
+
1998
+ .ask-user-question-custom-inline-actions button {
1999
+ background: transparent;
2000
+ border: 1px solid var(--border-color);
2001
+ color: var(--text-secondary);
2002
+ padding: 4px 12px;
2003
+ border-radius: 4px;
2004
+ cursor: pointer;
2005
+ font-family: var(--font-mono);
2006
+ font-size: 11px;
2007
+ transition: all 0.15s ease;
2008
+ }
2009
+
2010
+ .ask-user-question-custom-inline-actions button:hover:not(:disabled) {
2011
+ background: var(--bg-hover);
2012
+ color: var(--text-primary);
2013
+ }
2014
+
2015
+ .ask-user-question-custom-inline-actions button:disabled {
2016
+ opacity: 0.5;
2017
+ cursor: not-allowed;
2018
+ }
2019
+
2020
+ .ask-user-question-custom-inline-actions button:first-of-type {
2021
+ border-color: var(--accent-green);
2022
+ color: var(--accent-green);
2023
+ }
2024
+
2025
+ .ask-user-question-custom-inline-actions button:first-of-type:hover:not(:disabled) {
2026
+ background: rgba(129, 199, 132, 0.1);
2027
+ }
2028
+
2029
+ .ask-user-question-custom-inline-actions button:last-of-type {
2030
+ border-color: var(--text-dimmed);
2031
+ color: var(--text-dimmed);
2032
+ }
2033
+
2034
+ .ask-user-question-custom-inline-actions button:last-of-type:hover:not(:disabled) {
2035
+ border-color: var(--text-secondary);
2036
+ color: var(--text-secondary);
2037
+ }
2038
+
2039
+ .ask-user-question-actions {
2040
+ display: flex;
2041
+ gap: 10px;
2042
+ padding-top: 8px;
2043
+ border-top: 1px solid var(--border-color);
2044
+ }
2045
+
2046
+ .ask-user-question-actions button {
2047
+ background: transparent;
2048
+ border: 1px solid var(--border-color);
2049
+ color: var(--text-secondary);
2050
+ padding: 6px 14px;
2051
+ border-radius: 4px;
2052
+ cursor: pointer;
2053
+ font-family: var(--font-mono);
2054
+ font-size: 12px;
2055
+ transition: all 0.15s ease;
2056
+ }
2057
+
2058
+ .ask-user-question-actions button:hover:not(:disabled) {
2059
+ background: var(--bg-hover);
2060
+ color: var(--text-primary);
2061
+ }
2062
+
2063
+ .ask-user-question-actions button:disabled {
2064
+ opacity: 0.5;
2065
+ cursor: not-allowed;
2066
+ }
2067
+
2068
+ .ask-user-question-actions button[type="submit"],
2069
+ .ask-user-question-actions button:first-of-type {
2070
+ border-color: var(--accent-green);
2071
+ color: var(--accent-green);
2072
+ }
2073
+
2074
+ .ask-user-question-actions button[type="submit"]:hover:not(:disabled),
2075
+ .ask-user-question-actions button:first-of-type:hover:not(:disabled) {
2076
+ background: rgba(129, 199, 132, 0.1);
2077
+ }
2078
+
2079
+ .ask-user-question-actions button:last-of-type {
2080
+ border-color: var(--accent-red);
2081
+ color: var(--accent-red);
2082
+ }
2083
+
2084
+ .ask-user-question-actions button:last-of-type:hover:not(:disabled) {
2085
+ background: rgba(239, 83, 80, 0.1);
2086
+ }
2087
+
2088
+ /* ============================================
2089
+ Plan Mode Inline Forms (Enter/Exit Plan Mode)
2090
+ ============================================ */
2091
+
2092
+ .plan-mode-inline-form {
2093
+ background: var(--bg-secondary);
2094
+ border: 1px solid var(--border-color);
2095
+ border-left: 3px solid var(--accent-blue);
2096
+ border-radius: 4px;
2097
+ padding: 12px 16px;
2098
+ margin-top: 4px;
2099
+ display: flex;
2100
+ flex-direction: column;
2101
+ gap: 10px;
2102
+ }
2103
+
2104
+ .plan-mode-inline-title {
2105
+ color: var(--text-primary);
2106
+ font-size: 13px;
2107
+ font-weight: 600;
2108
+ }
2109
+
2110
+ .plan-mode-inline-description {
2111
+ color: var(--text-dimmed);
2112
+ font-size: 12px;
2113
+ line-height: 1.4;
2114
+ }
2115
+
2116
+ .plan-mode-inline-plan {
2117
+ background: var(--bg-primary);
2118
+ border: 1px solid var(--border-color);
2119
+ border-radius: 4px;
2120
+ padding: 10px 12px;
2121
+ max-height: 300px;
2122
+ overflow: auto;
2123
+ }
2124
+
2125
+ .plan-mode-inline-plan pre {
2126
+ color: var(--text-primary);
2127
+ font-family: var(--font-mono);
2128
+ font-size: 12px;
2129
+ line-height: 1.5;
2130
+ white-space: pre-wrap;
2131
+ word-break: break-word;
2132
+ margin: 0;
2133
+ }
2134
+
2135
+ .plan-mode-inline-path {
2136
+ color: var(--text-dimmed);
2137
+ font-size: 11px;
2138
+ font-family: var(--font-mono);
2139
+ }
2140
+
2141
+ .plan-mode-inline-actions {
2142
+ display: flex;
2143
+ gap: 10px;
2144
+ padding-top: 8px;
2145
+ border-top: 1px solid var(--border-color);
2146
+ }
2147
+
2148
+ .plan-mode-inline-actions button {
2149
+ background: transparent;
2150
+ border: 1px solid var(--border-color);
2151
+ color: var(--text-secondary);
2152
+ padding: 6px 14px;
2153
+ border-radius: 4px;
2154
+ cursor: pointer;
2155
+ font-family: var(--font-mono);
2156
+ font-size: 12px;
2157
+ transition: all 0.15s ease;
2158
+ }
2159
+
2160
+ .plan-mode-inline-actions button:hover:not(:disabled) {
2161
+ background: var(--bg-hover);
2162
+ color: var(--text-primary);
2163
+ }
2164
+
2165
+ .plan-mode-inline-actions button:disabled {
2166
+ opacity: 0.5;
2167
+ cursor: not-allowed;
2168
+ }
2169
+
2170
+ .plan-mode-inline-actions button:first-of-type,
2171
+ .plan-mode-inline-actions button:nth-of-type(2) {
2172
+ border-color: var(--accent-green);
2173
+ color: var(--accent-green);
2174
+ }
2175
+
2176
+ .plan-mode-inline-actions button:first-of-type:hover:not(:disabled),
2177
+ .plan-mode-inline-actions button:nth-of-type(2):hover:not(:disabled) {
2178
+ background: rgba(129, 199, 132, 0.1);
2179
+ }
2180
+
2181
+ .plan-mode-inline-actions button:last-of-type {
2182
+ border-color: var(--accent-red);
2183
+ color: var(--accent-red);
2184
+ }
2185
+
2186
+ .plan-mode-inline-actions button:last-of-type:hover:not(:disabled) {
2187
+ background: rgba(239, 83, 80, 0.1);
2188
+ }