anixcode 0.8.0__py3-none-any.whl

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.
anixcode/tui/app.tcss ADDED
@@ -0,0 +1,281 @@
1
+ Screen {
2
+ background: $background;
3
+ }
4
+ #header {
5
+ height: 1;
6
+ background: $panel;
7
+ padding: 0 1;
8
+ }
9
+ #brand {
10
+ width: 1fr;
11
+ }
12
+ #mode {
13
+ width: auto;
14
+ padding: 0 1;
15
+ background: $primary;
16
+ color: $background;
17
+ text-style: bold;
18
+ }
19
+ #mode.plan {
20
+ background: $accent;
21
+ }
22
+ #chat {
23
+ height: 1fr;
24
+ padding: 0 2 1 2;
25
+ scrollbar-size-vertical: 1;
26
+ }
27
+ #welcome {
28
+ width: 100%;
29
+ margin: 3 0 1 0;
30
+ text-align: center;
31
+ color: $accent;
32
+ }
33
+ UserMessage {
34
+ margin: 1 0 0 0;
35
+ padding: 0 1;
36
+ border-left: thick $primary;
37
+ background: $surface;
38
+ }
39
+ AssistantMessage {
40
+ margin: 1 0 0 0;
41
+ padding: 0 1;
42
+ background: transparent;
43
+ }
44
+ ReasoningBlock {
45
+ margin: 1 0 0 0;
46
+ padding: 0 1;
47
+ color: $text-muted;
48
+ text-style: italic;
49
+ border-left: thick $panel;
50
+ }
51
+ ToolCard {
52
+ height: auto;
53
+ margin: 0 0 0 1;
54
+ }
55
+ ToolCard .tool-header {
56
+ color: $text-muted;
57
+ }
58
+ ToolCard.done .tool-header {
59
+ color: $text;
60
+ }
61
+ ToolCard.error .tool-header {
62
+ color: $error;
63
+ }
64
+ ToolCard.kind-edit.done .tool-header {
65
+ color: $success;
66
+ }
67
+ ToolCard .tool-body {
68
+ display: none;
69
+ height: auto;
70
+ max-height: 24;
71
+ margin: 0 0 0 4;
72
+ border-left: thick $panel;
73
+ }
74
+ ToolCard.open .tool-body {
75
+ display: block;
76
+ }
77
+ ErrorMessage {
78
+ margin: 1 0 0 0;
79
+ padding: 0 1;
80
+ color: $error;
81
+ border-left: thick $error;
82
+ }
83
+ Notice {
84
+ margin: 1 0 0 0;
85
+ color: $text-muted;
86
+ }
87
+ #composer {
88
+ height: auto;
89
+ padding: 0 1;
90
+ }
91
+ PromptInput {
92
+ height: auto;
93
+ min-height: 3;
94
+ max-height: 12;
95
+ border: round $panel;
96
+ background: $surface;
97
+ }
98
+ PromptInput:focus {
99
+ border: round $primary;
100
+ }
101
+ #activity {
102
+ height: 1;
103
+ padding: 0 1;
104
+ }
105
+ #statusbar {
106
+ height: 1;
107
+ padding: 0 2;
108
+ background: $background;
109
+ color: $text-muted;
110
+ }
111
+ #status-model {
112
+ width: 1fr;
113
+ }
114
+ #status-usage {
115
+ width: auto;
116
+ }
117
+ ModalScreen {
118
+ align: center middle;
119
+ background: $background 70%;
120
+ }
121
+ #dialog {
122
+ width: 90;
123
+ max-width: 95%;
124
+ height: auto;
125
+ max-height: 90%;
126
+ padding: 1 2;
127
+ background: $surface;
128
+ border: round $primary;
129
+ }
130
+ .dialog-title {
131
+ text-style: bold;
132
+ color: $primary;
133
+ margin-bottom: 1;
134
+ }
135
+ .hint {
136
+ color: $text-muted;
137
+ }
138
+ .error {
139
+ color: $error;
140
+ height: auto;
141
+ }
142
+ #perm-preview {
143
+ height: auto;
144
+ max-height: 22;
145
+ margin: 1 0;
146
+ border: round $panel;
147
+ }
148
+ .buttons {
149
+ height: auto;
150
+ margin-top: 1;
151
+ }
152
+ .buttons Button {
153
+ margin-right: 1;
154
+ }
155
+ #model-row {
156
+ height: auto;
157
+ }
158
+ #model-row Input {
159
+ width: 1fr;
160
+ }
161
+ #models {
162
+ display: none;
163
+ height: 10;
164
+ }
165
+ #models.visible {
166
+ display: block;
167
+ }
168
+ #session-list {
169
+ height: auto;
170
+ max-height: 20;
171
+ }
172
+ #provider-row {
173
+ height: auto;
174
+ }
175
+ #provider-row Select {
176
+ width: 1fr;
177
+ }
178
+ #provider-row Button {
179
+ margin-left: 1;
180
+ }
181
+ #theme-list {
182
+ height: auto;
183
+ max-height: 16;
184
+ }
185
+ #dialog.wide {
186
+ width: 110;
187
+ height: 90%;
188
+ }
189
+ #proj-row {
190
+ height: auto;
191
+ }
192
+ #proj-row Input {
193
+ width: 1fr;
194
+ }
195
+ #proj-tabs {
196
+ height: 1fr;
197
+ }
198
+ #recent-list, #repos-list {
199
+ height: 1fr;
200
+ }
201
+ #folder-tree {
202
+ height: 1fr;
203
+ }
204
+ #brand:hover {
205
+ background: $boost;
206
+ }
207
+ #drive-row {
208
+ height: auto;
209
+ margin-bottom: 1;
210
+ }
211
+ #drive-row Button {
212
+ min-width: 6;
213
+ margin-right: 1;
214
+ }
215
+ #dialog.danger {
216
+ border: heavy $error;
217
+ }
218
+ .danger-title {
219
+ color: $error;
220
+ text-style: bold;
221
+ margin-bottom: 1;
222
+ }
223
+ .danger-reason {
224
+ color: $error;
225
+ text-style: bold;
226
+ }
227
+ .warn-reason {
228
+ color: $warning;
229
+ }
230
+ ToolCard.danger .tool-header {
231
+ color: $error;
232
+ }
233
+ MentionList {
234
+ display: none;
235
+ height: auto;
236
+ max-height: 10;
237
+ margin: 0 1;
238
+ border: round $panel;
239
+ background: $surface;
240
+ }
241
+ PermissionBar {
242
+ display: none;
243
+ height: auto;
244
+ margin: 0 1;
245
+ padding: 0 1;
246
+ background: $surface;
247
+ border-left: thick $warning;
248
+ }
249
+ PermissionBar.danger {
250
+ border-left: thick $error;
251
+ }
252
+ #perm-text {
253
+ width: 1fr;
254
+ }
255
+ .chip {
256
+ width: auto;
257
+ height: 1;
258
+ margin-left: 1;
259
+ padding: 0 0;
260
+ text-style: bold;
261
+ }
262
+ .chip.ok {
263
+ background: $success;
264
+ color: $background;
265
+ }
266
+ .chip.no {
267
+ background: $panel;
268
+ }
269
+ .chip.full {
270
+ background: $warning 25%;
271
+ }
272
+ .chip:hover {
273
+ text-style: bold reverse;
274
+ }
275
+ ToolCard.pending .tool-header {
276
+ color: $warning;
277
+ }
278
+ #status-access {
279
+ width: auto;
280
+ margin-left: 3;
281
+ }