@floless/app 0.138.1 → 0.139.0
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.
- package/autostart.mjs +6 -2
- package/desktop-access-production-manifest.mjs +7 -0
- package/dist/floless-server.cjs +157133 -70500
- package/dist/schemas/model.continuation.v1.schema.json +19 -0
- package/dist/schemas/model.continuation.v2.schema.json +19 -0
- package/dist/schemas/model.query-response.v1.schema.json +95 -0
- package/dist/schemas/model.query-response.v2.schema.json +80 -0
- package/dist/schemas/model.query.v1.schema.json +87 -0
- package/dist/schemas/model.query.v2.schema.json +87 -0
- package/dist/schemas/model.snap-candidate.v1.schema.json +48 -0
- package/dist/schemas/model.snap-constraint.v1.schema.json +18 -0
- package/dist/schemas/model.snap-query.v1.schema.json +24 -0
- package/dist/schemas/model.snap-result.v1.schema.json +33 -0
- package/dist/schemas/model.snapshot.v1.schema.json +136 -0
- package/dist/schemas/revit.model.v1.schema.json +24 -0
- package/dist/schemas/steel.model.v2.schema.json +45 -6
- package/dist/skills/floless-app-approval/SKILL.md +19 -5
- package/dist/skills/floless-app-bridge/SKILL.md +19 -6
- package/dist/skills/floless-app-knowledge/SKILL.md +22 -1
- package/dist/skills/floless-app-new-workflow/SKILL.md +31 -27
- package/dist/skills/floless-app-new-workflow/references/build-and-verify.md +13 -12
- package/dist/skills/floless-app-onboarding/SKILL.md +3 -3
- package/dist/skills/floless-app-onboarding/references/floless-app-tour.md +16 -9
- package/dist/skills/floless-app-steel-model/SKILL.md +11 -2
- package/dist/skills/floless-app-steel-model/references/detail-from-a-screenshot.md +95 -0
- package/dist/skills/floless-app-steel-takeoff/SKILL.md +146 -21
- package/dist/skills/floless-app-steel-takeoff/references/elevation-registration.md +19 -0
- package/dist/skills/floless-app-tweak-contract/SKILL.md +42 -8
- package/dist/skills/floless-app-vectorize/SKILL.md +19 -6
- package/dist/skills/floless-app-workflows/SKILL.md +30 -3
- package/dist/skills/floless-app-workflows/references/workspace-data.md +77 -4
- package/dist/templates/floless-workspace-model-report.flo +77 -0
- package/dist/templates/revit-model.flo +111 -0
- package/dist/web/app.css +415 -177
- package/dist/web/app.js +302 -51
- package/dist/web/aware.js +1430 -1040
- package/dist/web/chat.css +692 -0
- package/dist/web/chat.js +2651 -0
- package/dist/web/commands-revit.js +42 -0
- package/dist/web/commands-shell.js +536 -70
- package/dist/web/commands-steel.js +344 -146
- package/dist/web/commands.js +1 -1
- package/dist/web/index.html +283 -77
- package/dist/web/instructor.js +217 -36
- package/dist/web/left-pane.js +636 -0
- package/dist/web/model-artifact-loader.js +75 -0
- package/dist/web/model-authoring-gestures.js +141 -0
- package/dist/web/model-cad-tools.js +20 -0
- package/dist/web/model-clip-gesture.js +148 -0
- package/dist/web/model-clip-list.js +156 -0
- package/dist/web/model-clip-session.js +274 -0
- package/dist/web/model-clip-three-overlay.js +295 -0
- package/dist/web/model-clip-three-preview.js +59 -0
- package/dist/web/model-editor-contract.js +519 -0
- package/dist/web/model-editor-revit-adapter.js +139 -0
- package/dist/web/model-editor-shell.js +271 -0
- package/dist/web/model-editor-state-recovery.js +44 -0
- package/dist/web/model-editor-steel-adapter.js +410 -0
- package/dist/web/model-editor.css +268 -0
- package/dist/web/model-frame.js +192 -0
- package/dist/web/model-inspector.js +128 -0
- package/dist/web/model-measure.js +390 -0
- package/dist/web/model-navigation-controls.js +246 -0
- package/dist/web/model-orientation-overlay.js +217 -0
- package/dist/web/model-panel-bridge.js +230 -0
- package/dist/web/model-pointer-dock.js +164 -0
- package/dist/web/model-revit-module.js +83 -0
- package/dist/web/model-selection-coordinator.js +151 -0
- package/dist/web/model-selection-tools.js +290 -0
- package/dist/web/model-snap-contract.js +267 -0
- package/dist/web/model-snapping.js +497 -0
- package/dist/web/model-spatial-panel.js +294 -0
- package/dist/web/model-spatial-tools.js +249 -0
- package/dist/web/model-tree.js +47 -0
- package/dist/web/model-viewport-lighting.js +166 -0
- package/dist/web/model-viewport-revit-adapter.js +1224 -0
- package/dist/web/model-viewport-state.js +505 -0
- package/dist/web/model-viewport-steel-adapter.js +150 -0
- package/dist/web/model-viewport-toolbar.js +516 -0
- package/dist/web/model-viewport.js +717 -0
- package/dist/web/panels.js +8 -15
- package/dist/web/renderers.js +3 -0
- package/dist/web/revit-editor.css +35 -0
- package/dist/web/revit-editor.html +74 -0
- package/dist/web/revit-editor.js +845 -0
- package/dist/web/steel-3d-core.js +16 -44
- package/dist/web/steel-3d-view.js +1384 -633
- package/dist/web/steel-canvas-guidance.js +3 -1
- package/dist/web/steel-editor.html +2121 -1253
- package/dist/web/steel-filter.html +5 -1
- package/dist/web/steel-model-v2-commands.js +72 -1
- package/dist/web/steel-split-view.js +5 -39
- package/dist/web/steel-view-generation.js +107 -17
- package/dist/web/vector-3d.html +12 -0
- package/dist/web/workspaces.js +2190 -277
- package/distribution-profile-active.mjs +2 -0
- package/distribution-profile-production.mjs +47 -0
- package/distribution-profile-shared.mjs +8 -0
- package/distribution-profile.mjs +18 -0
- package/distribution-resource-inventory.mjs +81 -0
- package/launch.mjs +18 -10
- package/log.mjs +2 -1
- package/managed-runtime-policy.mjs +104 -0
- package/model-reader-policy-active.mjs +7 -0
- package/network-policy-active.mjs +6 -0
- package/package.json +17 -2
- package/post-update-marker.mjs +3 -1
- package/rvt-production-uat-authority.mjs +60 -0
- package/teardown.mjs +4 -3
|
@@ -0,0 +1,692 @@
|
|
|
1
|
+
/* Production AI Chat lives inside the established left dock. This sheet changes no shell track,
|
|
2
|
+
width, rail or split value; it only lays out the contents of #messages. */
|
|
3
|
+
* { scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
|
|
4
|
+
*::-webkit-scrollbar { width: 7px; height: 7px; }
|
|
5
|
+
*::-webkit-scrollbar-track { background: transparent; }
|
|
6
|
+
*::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 7px; }
|
|
7
|
+
|
|
8
|
+
.messages.ai-chat-host {
|
|
9
|
+
min-width: 0;
|
|
10
|
+
margin-right: 0;
|
|
11
|
+
padding: 0;
|
|
12
|
+
overflow: hidden;
|
|
13
|
+
gap: 0;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.ai-chat-shell {
|
|
17
|
+
min-width: 0;
|
|
18
|
+
min-height: 0;
|
|
19
|
+
height: 100%;
|
|
20
|
+
display: grid;
|
|
21
|
+
grid-template-columns: minmax(0, 1fr);
|
|
22
|
+
grid-template-rows: auto auto minmax(0, 1fr) auto auto auto 0;
|
|
23
|
+
background: var(--surface);
|
|
24
|
+
color: var(--text);
|
|
25
|
+
/* Keep ordinary chat copy and controls readable without changing the app-wide theme. */
|
|
26
|
+
--text-muted: #c3ccd9;
|
|
27
|
+
--text-dim: #8996a8;
|
|
28
|
+
position: relative;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.ai-chat-toolbar {
|
|
32
|
+
grid-row: 1;
|
|
33
|
+
min-height: 43px;
|
|
34
|
+
padding: 7px 8px 7px 10px;
|
|
35
|
+
display: grid;
|
|
36
|
+
grid-template-columns: minmax(0, 1fr);
|
|
37
|
+
align-items: center;
|
|
38
|
+
gap: 7px;
|
|
39
|
+
border-bottom: 1px solid var(--border);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.ai-chat-controls {
|
|
43
|
+
min-height: 31px;
|
|
44
|
+
padding: 3px 8px;
|
|
45
|
+
display: flex;
|
|
46
|
+
align-items: center;
|
|
47
|
+
justify-content: flex-end;
|
|
48
|
+
border-bottom: 1px solid var(--border);
|
|
49
|
+
background: var(--surface);
|
|
50
|
+
--text-muted: #c3ccd9;
|
|
51
|
+
--text-dim: #8996a8;
|
|
52
|
+
}
|
|
53
|
+
.ai-chat-controls .narrative-tabs { flex: 1; min-width: 0; }
|
|
54
|
+
.ai-chat-controls .narrative-tab { color: var(--text-muted); }
|
|
55
|
+
.ai-chat-tab-actions { display: inline-flex; align-items: center; gap: 3px; margin-left: auto; }
|
|
56
|
+
.ai-chat-tab-actions .ai-chat-icon { width: 24px; height: 22px; border-color: transparent; background: transparent; font-size: 12px; }
|
|
57
|
+
|
|
58
|
+
.ai-chat-heading { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
|
|
59
|
+
.ai-chat-title-line { min-width: 0; display: flex; align-items: center; gap: 6px; }
|
|
60
|
+
.ai-chat-heading strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 600; }
|
|
61
|
+
.ai-chat-heading strong.editing { outline: 1px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
|
|
62
|
+
.ai-chat-rename {
|
|
63
|
+
flex: 0 0 auto;
|
|
64
|
+
appearance: none;
|
|
65
|
+
width: 22px;
|
|
66
|
+
height: 22px;
|
|
67
|
+
border: 1px solid transparent;
|
|
68
|
+
border-radius: 4px;
|
|
69
|
+
padding: 0;
|
|
70
|
+
background: transparent;
|
|
71
|
+
color: var(--text-muted);
|
|
72
|
+
font: 14px/1 var(--sans);
|
|
73
|
+
cursor: pointer;
|
|
74
|
+
opacity: 0;
|
|
75
|
+
transition: opacity .12s ease, background .12s ease, color .12s ease;
|
|
76
|
+
}
|
|
77
|
+
.ai-chat-heading:hover .ai-chat-rename,
|
|
78
|
+
.ai-chat-heading:focus-within .ai-chat-rename { opacity: 1; }
|
|
79
|
+
.ai-chat-rename:hover { border-color: var(--border-strong); background: var(--surface-2); color: var(--text); }
|
|
80
|
+
.ai-chat-rename:focus-visible { opacity: 1; outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
81
|
+
.ai-chat-rename[hidden] { display: none; }
|
|
82
|
+
.ai-chat-heading span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-dim); font: 9px/1.3 var(--mono); }
|
|
83
|
+
|
|
84
|
+
.ai-chat-icon,
|
|
85
|
+
.ai-chat-send,
|
|
86
|
+
.ai-chat-stop,
|
|
87
|
+
.ai-chat-recovery button,
|
|
88
|
+
.ai-chat-start-provider,
|
|
89
|
+
.ai-chat-approval button,
|
|
90
|
+
.ai-chat-runtime button,
|
|
91
|
+
.ai-chat-attachment button {
|
|
92
|
+
appearance: none;
|
|
93
|
+
border: 1px solid var(--border-strong);
|
|
94
|
+
border-radius: 5px;
|
|
95
|
+
background: var(--surface-2);
|
|
96
|
+
color: var(--text);
|
|
97
|
+
font: inherit;
|
|
98
|
+
cursor: pointer;
|
|
99
|
+
}
|
|
100
|
+
.ai-chat-icon { width: 30px; height: 28px; padding: 0; display: grid; place-items: center; font-size: 15px; }
|
|
101
|
+
.ai-chat-icon:hover,
|
|
102
|
+
.ai-chat-recovery button:hover,
|
|
103
|
+
.ai-chat-start-provider:hover,
|
|
104
|
+
.ai-chat-approval button:hover,
|
|
105
|
+
.ai-chat-runtime button:hover,
|
|
106
|
+
.ai-chat-attachment button:hover { color: var(--text); background: var(--surface-3); }
|
|
107
|
+
.ai-chat-icon:focus-visible,
|
|
108
|
+
.ai-chat-send:focus-visible,
|
|
109
|
+
.ai-chat-stop:focus-visible,
|
|
110
|
+
.ai-chat-recovery button:focus-visible,
|
|
111
|
+
.ai-chat-start-provider:focus-visible,
|
|
112
|
+
.ai-chat-setting:focus-visible,
|
|
113
|
+
.ai-chat-choice:focus-visible,
|
|
114
|
+
.ai-chat-history-row:focus-visible,
|
|
115
|
+
.ai-chat-history-filter:focus-visible,
|
|
116
|
+
.ai-chat-approval button:focus-visible,
|
|
117
|
+
.ai-chat-runtime button:focus-visible,
|
|
118
|
+
.ai-chat-attachment button:focus-visible,
|
|
119
|
+
#chat-input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
120
|
+
|
|
121
|
+
.ai-chat-settings {
|
|
122
|
+
grid-row: 2;
|
|
123
|
+
display: grid;
|
|
124
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
125
|
+
gap: 1px;
|
|
126
|
+
padding: 1px 8px;
|
|
127
|
+
border-bottom: 1px solid var(--border);
|
|
128
|
+
background: var(--border);
|
|
129
|
+
}
|
|
130
|
+
.ai-chat-settings[hidden] { display: none; }
|
|
131
|
+
.ai-chat-setting {
|
|
132
|
+
appearance: none;
|
|
133
|
+
min-width: 0;
|
|
134
|
+
border: 0;
|
|
135
|
+
border-radius: 0;
|
|
136
|
+
padding: 5px 4px 6px;
|
|
137
|
+
background: var(--surface);
|
|
138
|
+
color: var(--text-muted);
|
|
139
|
+
cursor: pointer;
|
|
140
|
+
text-align: left;
|
|
141
|
+
}
|
|
142
|
+
.ai-chat-setting:hover { background: var(--surface-2); }
|
|
143
|
+
.ai-chat-setting > span { display: block; color: var(--text); font: 8px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
|
|
144
|
+
.ai-chat-setting > strong { display: block; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); font: 10px/1.25 var(--mono); font-weight: 500; }
|
|
145
|
+
.ai-chat-setting:disabled { cursor: default; opacity: 1; }
|
|
146
|
+
.ai-chat-setting:disabled > strong { color: var(--text-dim); }
|
|
147
|
+
.ai-chat-provider { cursor: default; }
|
|
148
|
+
.ai-chat-provider:hover { background: var(--surface); }
|
|
149
|
+
.ai-chat-integration-setting {
|
|
150
|
+
grid-column: 1 / -1;
|
|
151
|
+
display: flex;
|
|
152
|
+
align-items: center;
|
|
153
|
+
justify-content: space-between;
|
|
154
|
+
gap: 8px;
|
|
155
|
+
border-top: 1px solid var(--border);
|
|
156
|
+
padding-inline: 7px;
|
|
157
|
+
}
|
|
158
|
+
.ai-chat-integration-setting > span,
|
|
159
|
+
.ai-chat-integration-setting > strong { margin: 0; }
|
|
160
|
+
.ai-chat-desktop-status {
|
|
161
|
+
grid-column: 1 / -1;
|
|
162
|
+
min-width: 0;
|
|
163
|
+
padding: 7px;
|
|
164
|
+
border-top: 1px solid var(--border);
|
|
165
|
+
background: var(--surface);
|
|
166
|
+
color: var(--text-dim);
|
|
167
|
+
}
|
|
168
|
+
.ai-chat-desktop-status > div {
|
|
169
|
+
display: flex;
|
|
170
|
+
align-items: center;
|
|
171
|
+
justify-content: space-between;
|
|
172
|
+
gap: 8px;
|
|
173
|
+
}
|
|
174
|
+
.ai-chat-desktop-status span {
|
|
175
|
+
font: 8px/1.2 var(--mono);
|
|
176
|
+
letter-spacing: .08em;
|
|
177
|
+
text-transform: uppercase;
|
|
178
|
+
}
|
|
179
|
+
.ai-chat-desktop-status strong { color: var(--text-muted); font: 10px/1.25 var(--mono); font-weight: 500; }
|
|
180
|
+
.ai-chat-desktop-status small { display: block; margin-top: 4px; color: var(--text-dim); font: 9px/1.35 var(--sans); }
|
|
181
|
+
.ai-chat-desktop-status p {
|
|
182
|
+
margin: 7px 0 0;
|
|
183
|
+
padding-top: 7px;
|
|
184
|
+
border-top: 1px solid var(--border);
|
|
185
|
+
color: var(--text-dim);
|
|
186
|
+
font: 9px/1.4 var(--sans);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.ai-chat-picker {
|
|
190
|
+
position: absolute;
|
|
191
|
+
z-index: 20;
|
|
192
|
+
top: 109px;
|
|
193
|
+
left: 8px;
|
|
194
|
+
right: 8px;
|
|
195
|
+
max-height: min(280px, 48vh);
|
|
196
|
+
overflow: auto;
|
|
197
|
+
padding: 5px;
|
|
198
|
+
border: 1px solid var(--border-strong);
|
|
199
|
+
border-radius: 6px;
|
|
200
|
+
background: var(--surface-2);
|
|
201
|
+
box-shadow: 0 14px 34px rgba(0, 0, 0, .42);
|
|
202
|
+
scrollbar-width: thin;
|
|
203
|
+
scrollbar-color: var(--border-strong) var(--surface-2);
|
|
204
|
+
}
|
|
205
|
+
.ai-chat-picker[hidden] { display: none; }
|
|
206
|
+
.ai-chat-picker::-webkit-scrollbar,
|
|
207
|
+
.ai-chat-history::-webkit-scrollbar,
|
|
208
|
+
.ai-chat-feed::-webkit-scrollbar,
|
|
209
|
+
.ai-chat-skills::-webkit-scrollbar { width: 7px; height: 7px; }
|
|
210
|
+
.ai-chat-picker::-webkit-scrollbar-track,
|
|
211
|
+
.ai-chat-history::-webkit-scrollbar-track,
|
|
212
|
+
.ai-chat-feed::-webkit-scrollbar-track,
|
|
213
|
+
.ai-chat-skills::-webkit-scrollbar-track { background: transparent; }
|
|
214
|
+
.ai-chat-picker::-webkit-scrollbar-thumb,
|
|
215
|
+
.ai-chat-history::-webkit-scrollbar-thumb,
|
|
216
|
+
.ai-chat-feed::-webkit-scrollbar-thumb,
|
|
217
|
+
.ai-chat-skills::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 7px; }
|
|
218
|
+
.ai-chat-choice {
|
|
219
|
+
appearance: none;
|
|
220
|
+
width: 100%;
|
|
221
|
+
display: flex;
|
|
222
|
+
align-items: center;
|
|
223
|
+
justify-content: space-between;
|
|
224
|
+
gap: 8px;
|
|
225
|
+
border: 0;
|
|
226
|
+
border-radius: 4px;
|
|
227
|
+
padding: 7px 8px;
|
|
228
|
+
background: transparent;
|
|
229
|
+
color: var(--text-muted);
|
|
230
|
+
text-align: left;
|
|
231
|
+
cursor: pointer;
|
|
232
|
+
}
|
|
233
|
+
.ai-chat-choice:hover,
|
|
234
|
+
.ai-chat-choice[aria-selected="true"] { background: var(--accent-soft); color: var(--text); }
|
|
235
|
+
.ai-chat-choice span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
236
|
+
.ai-chat-choice small { flex: none; color: var(--text-dim); font: 8px/1 var(--mono); text-transform: uppercase; }
|
|
237
|
+
.ai-chat-integration-note {
|
|
238
|
+
margin: 2px 3px 5px;
|
|
239
|
+
padding: 6px 7px;
|
|
240
|
+
border-bottom: 1px solid var(--border);
|
|
241
|
+
color: var(--text-dim);
|
|
242
|
+
font-size: 9.5px;
|
|
243
|
+
line-height: 1.45;
|
|
244
|
+
}
|
|
245
|
+
.ai-chat-integration-note strong { color: var(--text-muted); font-weight: 600; }
|
|
246
|
+
.ai-chat-integration-empty { padding: 10px 8px; color: var(--text-dim); font-size: 10px; line-height: 1.45; }
|
|
247
|
+
.ai-chat-choice[disabled] { cursor: default; opacity: .48; }
|
|
248
|
+
|
|
249
|
+
.ai-chat-history {
|
|
250
|
+
min-height: 0;
|
|
251
|
+
overflow: auto;
|
|
252
|
+
padding: 8px;
|
|
253
|
+
background: var(--surface);
|
|
254
|
+
scrollbar-width: thin;
|
|
255
|
+
scrollbar-color: var(--border-strong) var(--surface);
|
|
256
|
+
}
|
|
257
|
+
.ai-chat-history[hidden] { display: none; }
|
|
258
|
+
.ai-chat-shell.history-open .ai-chat-history { display: block; grid-row: 3 / 8; }
|
|
259
|
+
.ai-chat-shell.history-open .ai-chat-feed,
|
|
260
|
+
.ai-chat-shell.history-open .ai-chat-approval,
|
|
261
|
+
.ai-chat-shell.history-open .ai-chat-runtime,
|
|
262
|
+
.ai-chat-shell.history-open .ai-chat-recovery,
|
|
263
|
+
.ai-chat-shell.history-open .ai-chat-attachments,
|
|
264
|
+
.ai-chat-shell.history-open .ai-chat-skills,
|
|
265
|
+
.ai-chat-shell.history-open .ai-chat-composer { display: none; }
|
|
266
|
+
.ai-chat-history-filters {
|
|
267
|
+
position: sticky;
|
|
268
|
+
z-index: 2;
|
|
269
|
+
top: -8px;
|
|
270
|
+
display: grid;
|
|
271
|
+
grid-template-columns: auto minmax(0, 1fr);
|
|
272
|
+
gap: 2px;
|
|
273
|
+
margin: -8px -8px 9px;
|
|
274
|
+
padding: 8px;
|
|
275
|
+
border-bottom: 1px solid var(--border);
|
|
276
|
+
background: var(--surface);
|
|
277
|
+
}
|
|
278
|
+
.ai-chat-history-filter {
|
|
279
|
+
appearance: none;
|
|
280
|
+
min-width: 0;
|
|
281
|
+
border: 1px solid transparent;
|
|
282
|
+
border-radius: 4px;
|
|
283
|
+
padding: 5px 7px;
|
|
284
|
+
background: transparent;
|
|
285
|
+
color: var(--text-muted);
|
|
286
|
+
font: 9px/1.2 var(--mono);
|
|
287
|
+
white-space: nowrap;
|
|
288
|
+
cursor: pointer;
|
|
289
|
+
}
|
|
290
|
+
.ai-chat-history-filter:hover { color: var(--text-muted); background: var(--surface-2); }
|
|
291
|
+
.ai-chat-history-filter[aria-pressed="true"] {
|
|
292
|
+
border-color: var(--border-strong);
|
|
293
|
+
background: var(--accent-soft);
|
|
294
|
+
color: var(--text);
|
|
295
|
+
}
|
|
296
|
+
.ai-chat-history-group { margin: 0 0 9px; }
|
|
297
|
+
.ai-chat-history-label { margin: 0 4px 4px; color: var(--text-dim); font: 8px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
|
|
298
|
+
.ai-chat-history-archived { margin: 8px 4px 4px; border-top: 1px solid var(--border); }
|
|
299
|
+
.ai-chat-history-archived-summary {
|
|
300
|
+
display: flex; align-items: center; min-height: 30px; padding: 5px 2px;
|
|
301
|
+
color: var(--text-dim); font: 9px/1.3 var(--mono); letter-spacing: .08em; cursor: pointer; list-style: none;
|
|
302
|
+
}
|
|
303
|
+
.ai-chat-history-archived-summary::-webkit-details-marker { display: none; }
|
|
304
|
+
.ai-chat-history-archived-summary::before { content: '▸'; margin-right: 6px; color: var(--text-muted); transition: transform .12s ease; }
|
|
305
|
+
.ai-chat-history-archived[open] .ai-chat-history-archived-summary::before { transform: rotate(90deg); }
|
|
306
|
+
.ai-chat-history-archived-summary:hover { color: var(--text); }
|
|
307
|
+
.ai-chat-history-archived-summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -1px; border-radius: 3px; }
|
|
308
|
+
.ai-chat-history-archived-list { padding-top: 2px; }
|
|
309
|
+
.ai-chat-history-archived-list .ai-chat-history-group:last-child { margin-bottom: 2px; }
|
|
310
|
+
.ai-chat-history-arrived { animation: ai-chat-history-arrival .52s ease-out; }
|
|
311
|
+
.ai-chat-history-archived-arrived > .ai-chat-history-archived-summary { animation: ai-chat-history-arrival .52s ease-out; color: var(--text); }
|
|
312
|
+
@keyframes ai-chat-history-arrival { 0%, 100% { transform: translateX(0); } 30% { transform: translateX(-4px); } 58% { transform: translateX(3px); } 78% { transform: translateX(-2px); } }
|
|
313
|
+
.ai-chat-history-row {
|
|
314
|
+
appearance: none;
|
|
315
|
+
width: 100%;
|
|
316
|
+
display: grid;
|
|
317
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
318
|
+
gap: 8px;
|
|
319
|
+
border: 0;
|
|
320
|
+
border-radius: 4px;
|
|
321
|
+
padding: 7px 100px 7px 8px;
|
|
322
|
+
background: transparent;
|
|
323
|
+
color: var(--text-muted);
|
|
324
|
+
text-align: left;
|
|
325
|
+
cursor: pointer;
|
|
326
|
+
}
|
|
327
|
+
.ai-chat-history-row:hover,
|
|
328
|
+
.ai-chat-history-row.active { background: var(--surface-2); color: var(--text); }
|
|
329
|
+
.ai-chat-history-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
330
|
+
.ai-chat-history-row.unread .ai-chat-history-title { color: var(--text); font-weight: 600; }
|
|
331
|
+
.ai-chat-history-row.unread .ai-chat-history-title::before {
|
|
332
|
+
content: ''; display: inline-block; width: 5px; height: 5px; margin: 0 5px 1px 0;
|
|
333
|
+
border-radius: 50%; background: var(--accent); box-shadow: 0 0 5px var(--accent-glow); vertical-align: middle;
|
|
334
|
+
}
|
|
335
|
+
.ai-chat-history-meta { min-width: 0; overflow: hidden; color: var(--text-dim); font: 8px/1.5 var(--mono); text-overflow: ellipsis; white-space: nowrap; text-transform: none; }
|
|
336
|
+
.ai-chat-history-rename {
|
|
337
|
+
width: 30px;
|
|
338
|
+
height: 30px;
|
|
339
|
+
border: 1px solid transparent;
|
|
340
|
+
border-radius: 3px;
|
|
341
|
+
padding: 0;
|
|
342
|
+
display: inline-grid;
|
|
343
|
+
place-items: center;
|
|
344
|
+
background: transparent;
|
|
345
|
+
color: var(--text-muted);
|
|
346
|
+
font: 13px/1 var(--sans);
|
|
347
|
+
cursor: pointer;
|
|
348
|
+
transition: border-color .12s ease, color .12s ease, background .12s ease;
|
|
349
|
+
}
|
|
350
|
+
.ai-chat-history-rename:hover { border-color: var(--border-strong); color: var(--text); background: var(--surface-3); }
|
|
351
|
+
.ai-chat-history-rename:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
352
|
+
.ai-chat-history-rename[hidden] { display: none; }
|
|
353
|
+
.ai-chat-history-actions {
|
|
354
|
+
position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
|
|
355
|
+
display: inline-flex; align-items: center; gap: 1px; opacity: 0;
|
|
356
|
+
transition: opacity .12s ease;
|
|
357
|
+
}
|
|
358
|
+
.ai-chat-history-row:hover .ai-chat-history-actions,
|
|
359
|
+
.ai-chat-history-row:focus-within .ai-chat-history-actions,
|
|
360
|
+
.ai-chat-history-row.active .ai-chat-history-actions { opacity: 1; }
|
|
361
|
+
.ai-chat-history-actions[hidden] { display: none; }
|
|
362
|
+
.ai-chat-history-action {
|
|
363
|
+
width: 30px; height: 30px; padding: 0; border: 1px solid transparent; border-radius: 3px;
|
|
364
|
+
display: inline-grid; place-items: center;
|
|
365
|
+
background: transparent; color: var(--text-dim); cursor: pointer;
|
|
366
|
+
}
|
|
367
|
+
.ai-chat-history-action-icon { width: 15px; height: 15px; display: block; pointer-events: none; }
|
|
368
|
+
.ai-chat-history-action:hover { border-color: var(--border-strong); color: var(--text); background: var(--surface-3); }
|
|
369
|
+
.ai-chat-history-action.danger:hover { border-color: var(--err); color: var(--err); }
|
|
370
|
+
.ai-chat-history-action:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; opacity: 1; }
|
|
371
|
+
.ai-chat-history-title-input {
|
|
372
|
+
min-width: 0;
|
|
373
|
+
width: 100%;
|
|
374
|
+
border: 1px solid var(--accent);
|
|
375
|
+
border-radius: 3px;
|
|
376
|
+
padding: 1px 4px;
|
|
377
|
+
background: var(--surface-1);
|
|
378
|
+
color: var(--text);
|
|
379
|
+
font: inherit;
|
|
380
|
+
line-height: 1.25;
|
|
381
|
+
}
|
|
382
|
+
.ai-chat-history-title-input:focus { outline: none; }
|
|
383
|
+
.ai-chat-history-question {
|
|
384
|
+
grid-column: 1 / -1;
|
|
385
|
+
overflow: hidden;
|
|
386
|
+
color: var(--text-dim);
|
|
387
|
+
font-size: 9px;
|
|
388
|
+
line-height: 1.35;
|
|
389
|
+
text-overflow: ellipsis;
|
|
390
|
+
white-space: nowrap;
|
|
391
|
+
}
|
|
392
|
+
.ai-chat-history-empty { padding: 14px 8px; color: var(--text-dim); font-size: 11px; line-height: 1.5; }
|
|
393
|
+
|
|
394
|
+
.ai-chat-feed {
|
|
395
|
+
grid-row: 3;
|
|
396
|
+
box-sizing: border-box;
|
|
397
|
+
min-height: 0;
|
|
398
|
+
min-width: 0;
|
|
399
|
+
overflow: auto;
|
|
400
|
+
overflow-x: hidden;
|
|
401
|
+
display: flex;
|
|
402
|
+
flex-direction: column;
|
|
403
|
+
gap: 12px;
|
|
404
|
+
padding: 12px 12px 28px 14px;
|
|
405
|
+
scrollbar-width: thin;
|
|
406
|
+
scrollbar-color: var(--border-strong) var(--surface);
|
|
407
|
+
overscroll-behavior: contain;
|
|
408
|
+
}
|
|
409
|
+
.ai-chat-empty {
|
|
410
|
+
margin: auto 0;
|
|
411
|
+
padding: 22px 14px;
|
|
412
|
+
border: 1px dashed var(--border-strong);
|
|
413
|
+
border-radius: 7px;
|
|
414
|
+
color: var(--text-muted);
|
|
415
|
+
font-size: 11.5px;
|
|
416
|
+
line-height: 1.55;
|
|
417
|
+
text-align: center;
|
|
418
|
+
}
|
|
419
|
+
.ai-chat-empty strong { display: block; margin-bottom: 4px; color: var(--text); font-size: 13px; }
|
|
420
|
+
.ai-chat-provider-row { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 12px; }
|
|
421
|
+
.ai-chat-start-provider { min-width: 0; padding: 7px 8px; font-size: 11px; }
|
|
422
|
+
|
|
423
|
+
.ai-chat-message { display: flex; flex-direction: column; gap: 4px; min-width: 0; max-width: 100%; }
|
|
424
|
+
.ai-chat-message-head { display: flex; justify-content: space-between; gap: 8px; color: var(--text); font: 8.5px/1.35 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
|
|
425
|
+
.ai-chat-message.user .ai-chat-message-head { color: var(--accent); }
|
|
426
|
+
.ai-chat-message-body {
|
|
427
|
+
max-width: 92%;
|
|
428
|
+
box-sizing: border-box;
|
|
429
|
+
overflow-wrap: anywhere;
|
|
430
|
+
border-left: 2px solid var(--border-strong);
|
|
431
|
+
border-radius: 5px;
|
|
432
|
+
padding: 9px 10px;
|
|
433
|
+
background: var(--surface-2);
|
|
434
|
+
color: var(--text);
|
|
435
|
+
font-size: 12px;
|
|
436
|
+
line-height: 1.55;
|
|
437
|
+
}
|
|
438
|
+
.ai-chat-message-body p { margin: 0 0 8px; }
|
|
439
|
+
.ai-chat-message-body p:last-child { margin-bottom: 0; }
|
|
440
|
+
.ai-chat-message-body h1, .ai-chat-message-body h2, .ai-chat-message-body h3 { margin: 0 0 7px; color: var(--text); font-size: 13px; line-height: 1.35; }
|
|
441
|
+
.ai-chat-message-body ul, .ai-chat-message-body ol { margin: 5px 0 8px; padding-left: 20px; }
|
|
442
|
+
.ai-chat-message-body li + li { margin-top: 3px; }
|
|
443
|
+
.ai-chat-message-body code { padding: 1px 4px; border-radius: 3px; background: var(--surface-3); color: var(--text); font: .9em var(--mono); }
|
|
444
|
+
.ai-chat-message-body pre { margin: 7px 0; padding: 8px; overflow-x: auto; border-radius: 4px; background: var(--surface-3); }
|
|
445
|
+
.ai-chat-message-body pre code { padding: 0; background: transparent; white-space: pre; }
|
|
446
|
+
.ai-chat-message-body a { color: var(--accent); text-decoration: underline; }
|
|
447
|
+
.ai-chat-message.user { align-items: flex-end; }
|
|
448
|
+
.ai-chat-message.user .ai-chat-message-head { align-self: flex-end; width: auto; justify-content: flex-end; }
|
|
449
|
+
.ai-chat-message.user .ai-chat-message-body { border-left: 0; border-right: 2px solid var(--accent); background: var(--accent-soft); color: var(--text); }
|
|
450
|
+
.ai-chat-message.answer-jump {
|
|
451
|
+
outline: 2px solid var(--accent);
|
|
452
|
+
outline-offset: 2px;
|
|
453
|
+
background: var(--accent-soft);
|
|
454
|
+
}
|
|
455
|
+
.ai-chat-message-attachments { display: flex; flex-wrap: wrap; gap: 5px; padding-left: 2px; }
|
|
456
|
+
.ai-chat-message-attachment {
|
|
457
|
+
appearance: none;
|
|
458
|
+
display: block;
|
|
459
|
+
border: 1px solid var(--border-strong);
|
|
460
|
+
border-radius: 5px;
|
|
461
|
+
padding: 0;
|
|
462
|
+
background: var(--surface-2);
|
|
463
|
+
color: var(--text-muted);
|
|
464
|
+
cursor: pointer;
|
|
465
|
+
}
|
|
466
|
+
.ai-chat-message-attachment:hover { border-color: var(--accent); background: var(--surface-3); color: var(--text); }
|
|
467
|
+
.ai-chat-message-attachment:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
468
|
+
.ai-chat-message-attachment img {
|
|
469
|
+
display: block;
|
|
470
|
+
width: 74px;
|
|
471
|
+
height: 58px;
|
|
472
|
+
object-fit: cover;
|
|
473
|
+
border-radius: 5px;
|
|
474
|
+
}
|
|
475
|
+
.ai-chat-message-attachment span {
|
|
476
|
+
max-width: 190px;
|
|
477
|
+
overflow: hidden;
|
|
478
|
+
text-overflow: ellipsis;
|
|
479
|
+
white-space: nowrap;
|
|
480
|
+
padding: 5px 7px;
|
|
481
|
+
border: 1px solid var(--border);
|
|
482
|
+
border-radius: 4px;
|
|
483
|
+
color: var(--text-dim);
|
|
484
|
+
font: 9px/1.25 var(--mono);
|
|
485
|
+
}
|
|
486
|
+
.ai-chat-request-card {
|
|
487
|
+
margin: 2px 0;
|
|
488
|
+
padding: 10px;
|
|
489
|
+
border: 1px solid var(--border-strong);
|
|
490
|
+
border-left: 2px solid var(--accent);
|
|
491
|
+
border-radius: 6px;
|
|
492
|
+
background: var(--surface-2);
|
|
493
|
+
color: var(--text);
|
|
494
|
+
}
|
|
495
|
+
.ai-chat-request-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; text-transform: capitalize; }
|
|
496
|
+
.ai-chat-request-status { color: var(--text-dim); font: 8px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
|
|
497
|
+
.ai-chat-request-card p { margin: 7px 0 0; color: var(--text); font-size: 11.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
498
|
+
.ai-chat-request-sources { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
|
|
499
|
+
.ai-chat-request-sources span { max-width: 100%; padding: 3px 6px; border: 1px solid var(--border); border-radius: 4px; color: var(--text-dim); font: 9px/1.3 var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
500
|
+
.ai-chat-request-actions { display: flex; justify-content: flex-end; margin-top: 8px; }
|
|
501
|
+
.ai-chat-request-actions button { min-height: 26px; padding: 4px 8px; border: 1px solid var(--border-strong); border-radius: 4px; background: var(--surface); color: var(--text-muted); font-size: 10px; cursor: pointer; }
|
|
502
|
+
.ai-chat-request-actions button:hover { color: var(--text); background: var(--surface-3); }
|
|
503
|
+
.ai-chat-request-actions button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
504
|
+
|
|
505
|
+
.ai-chat-event {
|
|
506
|
+
border: 1px solid var(--border);
|
|
507
|
+
border-radius: 5px;
|
|
508
|
+
padding: 7px 9px;
|
|
509
|
+
background: color-mix(in srgb, var(--surface-2) 72%, transparent);
|
|
510
|
+
color: var(--text);
|
|
511
|
+
font: 9.5px/1.45 var(--mono);
|
|
512
|
+
overflow-wrap: anywhere;
|
|
513
|
+
}
|
|
514
|
+
.ai-chat-event strong { color: var(--text); font-weight: 500; }
|
|
515
|
+
.ai-chat-event.error { border-color: color-mix(in srgb, var(--err) 42%, var(--border)); color: var(--err); }
|
|
516
|
+
.ai-chat-event.knowledge { border-color: color-mix(in srgb, var(--accent) 36%, var(--border)); }
|
|
517
|
+
.ai-chat-live-status {
|
|
518
|
+
align-self: flex-start;
|
|
519
|
+
display: inline-flex;
|
|
520
|
+
align-items: center;
|
|
521
|
+
box-sizing: border-box;
|
|
522
|
+
height: 12px;
|
|
523
|
+
min-height: 12px;
|
|
524
|
+
gap: 0;
|
|
525
|
+
max-width: 92%;
|
|
526
|
+
margin: -6px 0 0;
|
|
527
|
+
padding: 0;
|
|
528
|
+
}
|
|
529
|
+
.ai-chat-live-status.dots-only { gap: 0; }
|
|
530
|
+
.ai-chat-live-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
531
|
+
.ai-chat-live-dots { display: inline-flex; gap: 3px; }
|
|
532
|
+
.ai-chat-live-dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); animation: ai-chat-dot 1.1s ease-in-out infinite; }
|
|
533
|
+
.ai-chat-live-dots i:nth-child(2) { animation-delay: .16s; }
|
|
534
|
+
.ai-chat-live-dots i:nth-child(3) { animation-delay: .32s; }
|
|
535
|
+
@keyframes ai-chat-dot { 0%, 70%, 100% { opacity: .28; transform: translateY(0); } 35% { opacity: 1; transform: translateY(-2px); } }
|
|
536
|
+
|
|
537
|
+
.ai-chat-history-row { position: relative; }
|
|
538
|
+
.ai-chat-history-row.working { padding-right: 32px; }
|
|
539
|
+
.ai-chat-history-working {
|
|
540
|
+
position: absolute;
|
|
541
|
+
right: 9px;
|
|
542
|
+
top: 50%;
|
|
543
|
+
transform: translateY(-50%);
|
|
544
|
+
width: 14px;
|
|
545
|
+
height: 14px;
|
|
546
|
+
border: 2px solid color-mix(in srgb, var(--accent) 28%, transparent);
|
|
547
|
+
border-top-color: var(--accent);
|
|
548
|
+
border-radius: 50%;
|
|
549
|
+
animation: ai-chat-history-spin .75s linear infinite;
|
|
550
|
+
}
|
|
551
|
+
@keyframes ai-chat-history-spin { to { transform: translateY(-50%) rotate(360deg); } }
|
|
552
|
+
|
|
553
|
+
.ai-chat-approval {
|
|
554
|
+
border: 1px solid color-mix(in srgb, var(--warn) 50%, var(--border));
|
|
555
|
+
border-radius: 6px;
|
|
556
|
+
padding: 9px;
|
|
557
|
+
background: color-mix(in srgb, var(--warn) 7%, var(--surface-2));
|
|
558
|
+
}
|
|
559
|
+
.ai-chat-approval strong { display: block; color: var(--text); font-size: 11px; }
|
|
560
|
+
.ai-chat-approval p { margin: 5px 0 8px; color: var(--text-muted); font-size: 11px; line-height: 1.45; }
|
|
561
|
+
.ai-chat-approval-actions { display: flex; justify-content: flex-end; gap: 6px; }
|
|
562
|
+
.ai-chat-approval button { padding: 5px 9px; font-size: 10px; }
|
|
563
|
+
.ai-chat-approval .allow { border-color: var(--accent); color: var(--text); }
|
|
564
|
+
/* Managed runtime setup (FloLess installing its tested Claude Code / Codex). Neutral while setting up —
|
|
565
|
+
nothing has gone wrong — with the approval card's warn tint only once setup failed. There is no byte
|
|
566
|
+
progress, so aliveness is the panel's own live dots, never a bar or a clock. */
|
|
567
|
+
.ai-chat-runtime {
|
|
568
|
+
border: 1px solid var(--border-strong);
|
|
569
|
+
border-radius: 6px;
|
|
570
|
+
padding: 9px;
|
|
571
|
+
background: var(--surface-2);
|
|
572
|
+
}
|
|
573
|
+
.ai-chat-runtime.is-failed {
|
|
574
|
+
border-color: color-mix(in srgb, var(--warn) 50%, var(--border));
|
|
575
|
+
background: color-mix(in srgb, var(--warn) 7%, var(--surface-2));
|
|
576
|
+
}
|
|
577
|
+
.ai-chat-runtime strong { display: flex; align-items: center; gap: 7px; color: var(--text); font-size: 11px; }
|
|
578
|
+
.ai-chat-runtime p { margin: 5px 0 0; color: var(--text-muted); font-size: 11px; line-height: 1.45; }
|
|
579
|
+
.ai-chat-runtime .ai-chat-approval-actions { margin-top: 8px; }
|
|
580
|
+
.ai-chat-runtime button { padding: 5px 9px; font-size: 10px; }
|
|
581
|
+
.ai-chat-runtime .allow { border-color: var(--accent); color: var(--text); }
|
|
582
|
+
.ai-chat-approval.busy { opacity: .78; }
|
|
583
|
+
.ai-chat-approval.busy::after { content: 'Applying…'; display: block; margin-top: 6px; color: var(--text-dim); font: 9px var(--mono); }
|
|
584
|
+
|
|
585
|
+
.ai-chat-recovery {
|
|
586
|
+
grid-row: 4;
|
|
587
|
+
margin: 8px 9px 7px;
|
|
588
|
+
padding: 7px 8px;
|
|
589
|
+
display: flex;
|
|
590
|
+
align-items: center;
|
|
591
|
+
gap: 8px;
|
|
592
|
+
border: 1px solid color-mix(in srgb, var(--warn) 45%, var(--border));
|
|
593
|
+
border-radius: 5px;
|
|
594
|
+
color: var(--text);
|
|
595
|
+
font-size: 10px;
|
|
596
|
+
line-height: 1.35;
|
|
597
|
+
}
|
|
598
|
+
.ai-chat-recovery[hidden] { display: none; }
|
|
599
|
+
.ai-chat-recovery span { flex: 1; }
|
|
600
|
+
.ai-chat-recovery button { flex: none; padding: 5px 8px; font-size: 10px; }
|
|
601
|
+
|
|
602
|
+
.ai-chat-attachments {
|
|
603
|
+
grid-row: 5;
|
|
604
|
+
padding: 6px 9px 0;
|
|
605
|
+
display: flex;
|
|
606
|
+
gap: 5px;
|
|
607
|
+
overflow-x: auto;
|
|
608
|
+
scrollbar-width: thin;
|
|
609
|
+
scrollbar-color: var(--border-strong) transparent;
|
|
610
|
+
}
|
|
611
|
+
.ai-chat-attachments[hidden] { display: none; }
|
|
612
|
+
.ai-chat-attachment {
|
|
613
|
+
min-width: 0;
|
|
614
|
+
max-width: 190px;
|
|
615
|
+
display: inline-flex;
|
|
616
|
+
align-items: center;
|
|
617
|
+
gap: 5px;
|
|
618
|
+
padding: 4px 5px 4px 7px;
|
|
619
|
+
border: 1px solid var(--border);
|
|
620
|
+
border-radius: 4px;
|
|
621
|
+
background: var(--surface-2);
|
|
622
|
+
color: var(--text-muted);
|
|
623
|
+
font: 9px/1.25 var(--mono);
|
|
624
|
+
}
|
|
625
|
+
.ai-chat-attachment span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
626
|
+
.ai-chat-attachment img { width: 24px; height: 24px; object-fit: cover; border-radius: 3px; background: var(--surface-3); }
|
|
627
|
+
.ai-chat-attachment button { width: 18px; height: 18px; padding: 0; flex: none; }
|
|
628
|
+
|
|
629
|
+
.ai-chat-skills {
|
|
630
|
+
position: absolute;
|
|
631
|
+
z-index: 19;
|
|
632
|
+
left: 9px;
|
|
633
|
+
right: 9px;
|
|
634
|
+
bottom: 93px;
|
|
635
|
+
max-height: min(260px, 40vh);
|
|
636
|
+
overflow: auto;
|
|
637
|
+
padding: 5px;
|
|
638
|
+
border: 1px solid var(--border-strong);
|
|
639
|
+
border-radius: 6px;
|
|
640
|
+
background: var(--surface-2);
|
|
641
|
+
box-shadow: 0 -12px 30px rgba(0, 0, 0, .35);
|
|
642
|
+
scrollbar-width: thin;
|
|
643
|
+
scrollbar-color: var(--border-strong) var(--surface-2);
|
|
644
|
+
}
|
|
645
|
+
.ai-chat-skills[hidden] { display: none; }
|
|
646
|
+
.ai-chat-skill-origin { color: var(--text-dim); font: 8px/1.3 var(--mono); text-transform: uppercase; }
|
|
647
|
+
|
|
648
|
+
.ai-chat-composer {
|
|
649
|
+
grid-row: 6;
|
|
650
|
+
margin-top: 8px;
|
|
651
|
+
padding: 7px 8px 8px;
|
|
652
|
+
border-top: 1px solid var(--border);
|
|
653
|
+
background: var(--surface);
|
|
654
|
+
}
|
|
655
|
+
#chat-input {
|
|
656
|
+
appearance: none;
|
|
657
|
+
box-sizing: border-box;
|
|
658
|
+
width: 100%;
|
|
659
|
+
max-height: 132px;
|
|
660
|
+
resize: none;
|
|
661
|
+
overflow-y: auto;
|
|
662
|
+
padding: 8px 9px;
|
|
663
|
+
border: 1px solid var(--border-strong);
|
|
664
|
+
border-radius: 6px;
|
|
665
|
+
background: var(--surface-2);
|
|
666
|
+
color: var(--text);
|
|
667
|
+
font: 12px/1.45 var(--sans);
|
|
668
|
+
caret-color: var(--accent);
|
|
669
|
+
scrollbar-width: thin;
|
|
670
|
+
scrollbar-color: var(--border-strong) var(--surface-2);
|
|
671
|
+
}
|
|
672
|
+
#chat-input::placeholder { color: var(--text-dim); }
|
|
673
|
+
#chat-input:disabled { opacity: .52; cursor: not-allowed; }
|
|
674
|
+
.ai-chat-compose-actions { display: flex; align-items: center; gap: 6px; padding-top: 6px; }
|
|
675
|
+
.ai-chat-compose-hint { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-dim); font: 8px/1.3 var(--mono); }
|
|
676
|
+
.ai-chat-compose-hint.working { display: inline-flex; align-items: center; min-height: 16px; padding-left: 4px; }
|
|
677
|
+
.ai-chat-compose-context { min-height: 12px; padding: 5px 0 0 30px; color: var(--text-dim); font: 8px/1.3 var(--mono); }
|
|
678
|
+
.ai-chat-compose-context strong { color: var(--text-muted); font-weight: 600; }
|
|
679
|
+
.ai-chat-send, .ai-chat-stop { min-width: 48px; padding: 6px 9px; font-size: 10px; font-weight: 600; }
|
|
680
|
+
.ai-chat-send { border-color: var(--accent); background: var(--accent); color: #fff; }
|
|
681
|
+
.ai-chat-send:hover { filter: brightness(1.08); }
|
|
682
|
+
.ai-chat-send:disabled, .ai-chat-stop:disabled, .ai-chat-icon:disabled, .ai-chat-start-provider:disabled { cursor: default; opacity: .45; filter: none; }
|
|
683
|
+
.ai-chat-stop { border-color: color-mix(in srgb, var(--err) 50%, var(--border)); color: var(--err); }
|
|
684
|
+
.ai-chat-stop[hidden] { display: none; }
|
|
685
|
+
|
|
686
|
+
@media (max-width: 900px) {
|
|
687
|
+
.ai-chat-settings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
688
|
+
.ai-chat-picker { top: 112px; }
|
|
689
|
+
}
|
|
690
|
+
@media (prefers-reduced-motion: reduce) {
|
|
691
|
+
.ai-chat-live-dots i { animation: none; background: var(--text-muted); opacity: .7; }
|
|
692
|
+
}
|