@floless/app 0.158.0 → 0.159.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/dist/floless-server.cjs +92620 -75445
- package/dist/schemas/drawing-check.profile.v1.schema.json +33 -1
- package/dist/skills/floless-app-actions/SKILL.md +23 -5
- package/dist/skills/floless-app-bridge/SKILL.md +5 -3
- package/dist/skills/floless-app-onboarding/SKILL.md +67 -4
- package/dist/skills/floless-app-onboarding/references/floless-surfaces.md +7 -4
- package/dist/skills/floless-app-queue/SKILL.md +3 -1
- package/dist/skills/floless-app-steel-model/SKILL.md +11 -5
- package/dist/skills/floless-app-steel-takeoff/SKILL.md +28 -8
- package/dist/skills/floless-app-workflows/SKILL.md +6 -3
- package/dist/web/agents.js +12 -5
- package/dist/web/app.css +87 -13
- package/dist/web/app.js +6 -0
- package/dist/web/aware.js +29 -4
- package/dist/web/chat.css +42 -22
- package/dist/web/chat.js +181 -30
- package/dist/web/commands-shell.js +305 -4
- package/dist/web/commands-steel.js +1 -0
- package/dist/web/drawing-check-editor.html +10 -0
- package/dist/web/drawing-check-editor.js +44 -0
- package/dist/web/guide.js +4 -2
- package/dist/web/index.html +41 -9
- package/dist/web/instructor.js +20 -8
- package/dist/web/pages.js +71 -13
- package/dist/web/project-access.js +67 -8
- package/dist/web/project-modules.js +474 -0
- package/dist/web/project-workflows.js +274 -0
- package/dist/web/steel-3d-core.js +46 -0
- package/dist/web/steel-3d-view.js +8 -38
- package/dist/web/steel-editor.html +192 -49
- package/dist/web/workspace-root-recovery.js +119 -0
- package/dist/web/workspaces.js +358 -114
- package/launch-starting-page.mjs +5 -2
- package/launch.mjs +136 -78
- package/package.json +5 -1
package/dist/web/app.css
CHANGED
|
@@ -6362,7 +6362,7 @@ body.mode-workspaces #menu .menu-item[data-action="bake"] { display:none; }
|
|
|
6362
6362
|
font-family:var(--ui); font-size:12px; line-height:normal; outline:none; }
|
|
6363
6363
|
.ws-landing-search::placeholder { color:var(--text-muted); opacity:1; }
|
|
6364
6364
|
.ws-landing-search:hover { border-color:var(--accent-dim); }
|
|
6365
|
-
.ws-landing-search:focus-visible { border-color:var(--accent);
|
|
6365
|
+
.ws-landing-search:focus-visible { outline:none; border-color:var(--accent); box-shadow:0 0 0 2px var(--accent-soft); }
|
|
6366
6366
|
.ws-landing-search::-webkit-search-decoration { -webkit-appearance:none; appearance:none; }
|
|
6367
6367
|
.ws-landing-search::-webkit-search-cancel-button { -webkit-appearance:none; appearance:none;
|
|
6368
6368
|
width:10px; height:10px; margin-left:6px; cursor:pointer; color:var(--text-muted);
|
|
@@ -8141,7 +8141,7 @@ body.mode-agents #menu .menu-item[data-action="bake"] { display:none; }
|
|
|
8141
8141
|
.approval-revision-note::-webkit-scrollbar, .approval-revision-note textarea::-webkit-scrollbar { width: 8px; }
|
|
8142
8142
|
.approval-revision-note::-webkit-scrollbar-thumb, .approval-revision-note textarea::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 5px; }
|
|
8143
8143
|
.approval-revision-note::-webkit-scrollbar-track, .approval-revision-note textarea::-webkit-scrollbar-track { background: transparent; }
|
|
8144
|
-
.approval-revision-note textarea:focus-visible { outline:
|
|
8144
|
+
.approval-revision-note textarea:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
|
|
8145
8145
|
.hist-revision-note { white-space: pre-wrap; overflow-wrap: anywhere; margin-bottom: 5px; }
|
|
8146
8146
|
.hist-revision-note-meta { color: var(--text-dim); font-size: 11px; margin-bottom: 6px; }
|
|
8147
8147
|
.hist-note-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
|
|
@@ -8172,6 +8172,44 @@ body.mode-agents #menu .menu-item[data-action="bake"] { display:none; }
|
|
|
8172
8172
|
.ws-pages::-webkit-scrollbar-thumb { background:var(--border-strong); border-radius:5px; }
|
|
8173
8173
|
.ws-pages::-webkit-scrollbar-track { background:transparent; }
|
|
8174
8174
|
.pg-sub { font-size:12px; color:var(--text-muted); margin:6px 0 14px; }
|
|
8175
|
+
/* #2470 R6.2: a project's Workflows step — the Pages list's rows, with the Workflows page's chip and Archived section. */
|
|
8176
|
+
.ws-workflows .step-head .pw-new { margin-left:auto; padding:4px 10px; font-size:12px; }
|
|
8177
|
+
.ws-workflows .pw-empty .pw-new-empty { margin-top:8px; padding:4px 10px; font-size:12px; }
|
|
8178
|
+
.ws-workflows .pw-archived { max-width:880px; }
|
|
8179
|
+
.ws-workflows .pw-archived .pg-list { margin-top:8px; }
|
|
8180
|
+
.ws-workflows .pw-archived .pg-row-title { color:var(--text-muted); }
|
|
8181
|
+
.ws-workflows [data-pw-heading]:focus { outline:none; }
|
|
8182
|
+
.pw-chip { flex:none; font-size:9px; text-transform:uppercase; letter-spacing:.1em; color:var(--accent-bright);
|
|
8183
|
+
background:var(--surface); border:1px solid var(--accent-dim); padding:2px 7px; border-radius:4px; }
|
|
8184
|
+
.pw-chip.is-muted { color:var(--text-muted); border-color:var(--border-strong); }
|
|
8185
|
+
/* #2470 R6.7: a General project's Modules step — the same rows, a muted chip for every state that cannot open, the
|
|
8186
|
+
Created-here strip in the empty-state card, and the Project access sheet (wider) for Add a module. No new colours. */
|
|
8187
|
+
.ws-modules .step-head .pm-head-acts { margin-left:auto; display:flex; gap:8px; }
|
|
8188
|
+
.ws-modules .step-head .pm-head-acts button { padding:4px 10px; font-size:12px; }
|
|
8189
|
+
.ws-modules [data-pm-heading]:focus { outline:none; }
|
|
8190
|
+
.ws-modules .pm-row { padding-right:6px; }
|
|
8191
|
+
.ws-modules .pm-row.is-off { padding-left:12px; }
|
|
8192
|
+
.ws-modules .pm-row-info { flex:1; min-width:0; display:flex; flex-direction:column; gap:3px; padding:9px 0; }
|
|
8193
|
+
.ws-modules .pm-row.is-off .pg-row-title { color:var(--text-muted); }
|
|
8194
|
+
.ws-modules .pm-act { flex:none; padding:4px 10px; font-size:12px; }
|
|
8195
|
+
.ws-modules .pm-unlink { flex:none; width:28px; height:28px; padding:0; font-size:12px; color:var(--text-muted); }
|
|
8196
|
+
.ws-modules .pm-unlink:hover { color:var(--text); }
|
|
8197
|
+
.ws-modules .pm-strip { margin:0 0 12px; max-width:880px; display:flex; flex-direction:column; gap:8px; }
|
|
8198
|
+
.ws-modules .pm-strip-row { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
|
|
8199
|
+
.ws-modules .pm-strip-row > span:first-child { flex:1; min-width:200px; color:var(--text); }
|
|
8200
|
+
.ws-modules .pm-strip-acts { display:flex; gap:6px; }
|
|
8201
|
+
.ws-modules .pm-strip-acts button { padding:3px 10px; font-size:12px; }
|
|
8202
|
+
.ws-modules .pm-strip-more, .pm-note { font-size:12px; color:var(--text-dim); margin:8px 0 0; }
|
|
8203
|
+
.pm-backdrop.pm-wide .pm-sheet { width:min(760px, 100vw); }
|
|
8204
|
+
.pm-sheet .pm-cards { margin:8px 0 4px; }
|
|
8205
|
+
/* No drop target inside a modal (the landing keeps drop): the cards are clicked here, so their drop hint is not shown. */
|
|
8206
|
+
.pm-sheet .ws-seed .ws-seed-hint { display:none; }
|
|
8207
|
+
.pm-sheet .pm-filter { width:100%; margin:8px 0 10px; box-sizing:border-box; }
|
|
8208
|
+
.pm-sheet .pm-pick-list { display:flex; flex-direction:column; gap:6px; }
|
|
8209
|
+
.pm-sheet .pm-pick { width:100%; display:flex; flex-direction:column; align-items:flex-start; gap:3px; padding:9px 12px; text-align:left;
|
|
8210
|
+
background:var(--surface-2); border:1px solid var(--border); border-radius:6px; color:var(--text); font:inherit; cursor:pointer; }
|
|
8211
|
+
.pm-sheet .pm-pick:hover { background:var(--surface-3); }
|
|
8212
|
+
.pm-sheet .pm-pick:focus-visible { outline:2px solid var(--accent); outline-offset:-2px; }
|
|
8175
8213
|
.pg-loading-line { font-size:12px; color:var(--text-dim); margin:8px 0; }
|
|
8176
8214
|
.pg-empty { margin:6px 0 0; padding:11px 14px; background:var(--surface-2); border:1px solid var(--border);
|
|
8177
8215
|
border-left:3px solid var(--accent-dim); border-radius:6px; font-size:12.5px; color:var(--text-muted); max-width:640px; }
|
|
@@ -8181,10 +8219,11 @@ body.mode-agents #menu .menu-item[data-action="bake"] { display:none; }
|
|
|
8181
8219
|
.pg-group-label { font-size:11px; text-transform:uppercase; letter-spacing:0.08em; font-weight:600; color:var(--text-dim); margin:14px 0 6px; }
|
|
8182
8220
|
.pg-group-label:first-child { margin-top:0; }
|
|
8183
8221
|
.pg-row { display:flex; align-items:center; gap:8px; background:var(--surface-2); border:1px solid var(--border); border-radius:6px; }
|
|
8184
|
-
.
|
|
8222
|
+
/* .pw-row-open: a project's Workflows step (#2470 R6.2) wears the same row; its own class, because pages.js opens a Page for any .pg-row-open click. */
|
|
8223
|
+
.pg-row-open, .pw-row-open, .pm-row-open { flex:1; min-width:0; display:flex; flex-direction:column; align-items:flex-start; gap:3px;
|
|
8185
8224
|
padding:9px 12px; background:transparent; border:0; border-radius:6px; text-align:left; cursor:pointer; color:var(--text); font:inherit; }
|
|
8186
|
-
.pg-row-open:hover { background:var(--surface-3); }
|
|
8187
|
-
.pg-row-open:focus-visible, .pg-row-delete:focus-visible { outline:2px solid var(--accent); outline-offset:-2px; }
|
|
8225
|
+
.pg-row-open:hover, .pw-row-open:hover, .pm-row-open:hover { background:var(--surface-3); }
|
|
8226
|
+
.pg-row-open:focus-visible, .pw-row-open:focus-visible, .pm-row-open:focus-visible, .pg-row-delete:focus-visible { outline:2px solid var(--accent); outline-offset:-2px; }
|
|
8188
8227
|
.pg-row-line { display:flex; align-items:center; gap:8px; min-width:0; max-width:100%; }
|
|
8189
8228
|
.pg-row-title { font-size:13px; font-weight:600; color:var(--text); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
|
|
8190
8229
|
.pg-row-meta { font-size:11.5px; color:var(--text-muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:100%; }
|
|
@@ -8217,18 +8256,26 @@ body.mode-agents #menu .menu-item[data-action="bake"] { display:none; }
|
|
|
8217
8256
|
.page-viewer-backdrop.pv-full { padding:0; }
|
|
8218
8257
|
.page-viewer-backdrop.pv-full .modal.page-viewer { width:100vw; max-width:100vw; height:100vh; border-radius:0; }
|
|
8219
8258
|
/* Keep the existing Instructor usable above the viewer, as for directory decisions. */
|
|
8220
|
-
body:has(.app.has-instructor) #page-viewer.show
|
|
8259
|
+
body:has(.app.has-instructor) #page-viewer.show,
|
|
8260
|
+
body:has(.app.has-instructor) .ai-chat-viewer-backdrop.show { box-sizing:border-box; padding-bottom:128px; }
|
|
8221
8261
|
body:has(.app.has-instructor) #page-viewer.show .modal.page-viewer { max-height:min(86vh, calc(100dvh - 152px)); }
|
|
8262
|
+
/* #2582: AI Chat's source viewers keep the band above them the same way. */
|
|
8263
|
+
body:has(.app.has-instructor) .ai-chat-viewer-backdrop.show .ai-chat-source-viewer { max-height:min(90vh, calc(100dvh - 152px)); }
|
|
8222
8264
|
body:has(.app.has-instructor) #page-viewer.show.pv-full .modal.page-viewer { height:calc(100dvh - 128px); max-height:calc(100dvh - 128px); }
|
|
8223
|
-
body:has(#page-viewer.show) .app.has-instructor #instructor
|
|
8265
|
+
body:has(#page-viewer.show) .app.has-instructor #instructor,
|
|
8266
|
+
body:has(.ai-chat-viewer-backdrop.show) .app.has-instructor #instructor {
|
|
8224
8267
|
position:relative; z-index:101; pointer-events:auto; height:auto; min-height:34px; max-height:84px;
|
|
8225
8268
|
align-items:flex-start; padding:8px 14px; line-height:1.45; white-space:normal; overflow-y:auto;
|
|
8226
8269
|
scrollbar-width:thin; scrollbar-color:var(--text-dim) transparent;
|
|
8227
8270
|
}
|
|
8228
|
-
body:has(#page-viewer.show) #instructor::-webkit-scrollbar
|
|
8229
|
-
body:has(
|
|
8230
|
-
body:has(#page-viewer.show) #instructor::-webkit-scrollbar-
|
|
8231
|
-
body:has(
|
|
8271
|
+
body:has(#page-viewer.show) #instructor::-webkit-scrollbar,
|
|
8272
|
+
body:has(.ai-chat-viewer-backdrop.show) #instructor::-webkit-scrollbar { width:7px; }
|
|
8273
|
+
body:has(#page-viewer.show) #instructor::-webkit-scrollbar-thumb,
|
|
8274
|
+
body:has(.ai-chat-viewer-backdrop.show) #instructor::-webkit-scrollbar-thumb { background:var(--text-dim); border-radius:7px; }
|
|
8275
|
+
body:has(#page-viewer.show) #instructor::-webkit-scrollbar-track,
|
|
8276
|
+
body:has(.ai-chat-viewer-backdrop.show) #instructor::-webkit-scrollbar-track { background:transparent; }
|
|
8277
|
+
body:has(#page-viewer.show) #instructor .ix-parts,
|
|
8278
|
+
body:has(.ai-chat-viewer-backdrop.show) #instructor .ix-parts { display:block; flex:1 1 auto; min-width:0; }
|
|
8232
8279
|
.pv-title-row { display:flex; align-items:center; gap:8px; min-width:0; }
|
|
8233
8280
|
.pv-title-row .modal-title { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
|
|
8234
8281
|
.pv-info { color:var(--text-dim); font-size:13px; cursor:help; border-radius:50%; }
|
|
@@ -8327,6 +8374,23 @@ body:has(#page-viewer.show) #instructor .ix-parts { display:block; flex:1 1 auto
|
|
|
8327
8374
|
.sl-note { margin:0; padding:8px 12px; font-size:12px; color:var(--text-muted); background:var(--surface-2);
|
|
8328
8375
|
border:1px solid var(--border); border-left:3px solid var(--warn); border-radius:6px; }
|
|
8329
8376
|
.sl-note[hidden] { display:none; }
|
|
8377
|
+
/* #2262 5e: space for shared files, per plan. Tokens only; the fill turns warn at 90% and red (--err) when full, and the
|
|
8378
|
+
status sentence says the same in words, so colour is never the only cue. */
|
|
8379
|
+
.sl-usage { display:flex; flex-direction:column; gap:6px; padding:10px 12px; background:var(--surface-2); border:1px solid var(--border); border-radius:6px; }
|
|
8380
|
+
.sl-usage[hidden] { display:none; }
|
|
8381
|
+
.sl-usage-row { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:2px 12px; font-size:12px; }
|
|
8382
|
+
.sl-usage-label { color:var(--text-muted); }
|
|
8383
|
+
.sl-usage-value { color:var(--text); font-weight:600; font-variant-numeric:tabular-nums; }
|
|
8384
|
+
.sl-meter { position:relative; height:4px; border-radius:2px; overflow:hidden; background:color-mix(in srgb, var(--text-muted) 28%, transparent); }
|
|
8385
|
+
.sl-meter-fill { position:absolute; inset:0 auto 0 0; width:0; border-radius:2px; background:var(--accent); }
|
|
8386
|
+
.sl-usage[data-level="almost"] .sl-meter-fill { background:var(--warn); }
|
|
8387
|
+
.sl-usage[data-level="full"] .sl-meter-fill { background:var(--err); }
|
|
8388
|
+
.sl-usage-status { margin:0; font-size:12px; font-weight:600; color:var(--warn); }
|
|
8389
|
+
.sl-usage[data-level="full"] .sl-usage-status { color:var(--err); }
|
|
8390
|
+
.sl-usage-status[hidden] { display:none; }
|
|
8391
|
+
.sl-usage-foot { display:flex; align-items:center; justify-content:space-between; gap:12px; font-size:12px; color:var(--text-muted); }
|
|
8392
|
+
.sl-usage-foot #sl-plans { flex-shrink:0; padding:3px 10px; }
|
|
8393
|
+
.sl-usage-foot #sl-plans[hidden] { display:none; }
|
|
8330
8394
|
.sl-list { flex:1 1 auto; min-height:80px; overflow-y:auto; display:flex; flex-direction:column; gap:6px; padding-right:2px;
|
|
8331
8395
|
scrollbar-width:thin; scrollbar-color:var(--border-strong) transparent; }
|
|
8332
8396
|
.sl-list::-webkit-scrollbar { width:8px; }
|
|
@@ -8444,7 +8508,7 @@ body:has(#page-viewer.show) #instructor .ix-parts { display:block; flex:1 1 auto
|
|
|
8444
8508
|
input[type=number] { -moz-appearance: textfield; appearance: textfield; }
|
|
8445
8509
|
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
|
|
8446
8510
|
.ac-wait-input:focus { border-color: var(--accent); }
|
|
8447
|
-
.ac-wait-input:focus-visible { outline:
|
|
8511
|
+
.ac-wait-input:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
|
|
8448
8512
|
.ac-wait-input:invalid { border-color: var(--err); box-shadow: none; }
|
|
8449
8513
|
.as-wait-value { margin-left: auto; color: var(--text-muted); }
|
|
8450
8514
|
.as-wait-edit { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px; }
|
|
@@ -8637,6 +8701,13 @@ input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer
|
|
|
8637
8701
|
.pa-btn.ghost { background:none; border-color:transparent; color:var(--text-muted); }
|
|
8638
8702
|
.pa-btn.danger:hover { color:var(--err-text); border-color:var(--err); }
|
|
8639
8703
|
.pa-open:focus-visible, .pa-btn:focus-visible { outline:2px solid var(--accent); outline-offset:1px; }
|
|
8704
|
+
/* #2470 R6.2: the workflows that only belong to the project, as one line pointing at its Workflows step. */
|
|
8705
|
+
.pa-owned { margin-top:14px; padding:10px 12px; border:1px solid var(--border); border-radius:8px; background:var(--surface); }
|
|
8706
|
+
.pa-owned-line { margin:0 0 8px; font-size:12px; color:var(--text-muted); line-height:1.5; }
|
|
8707
|
+
/* The Workflows step's link to Project access: a link-styled button inside its subtitle. */
|
|
8708
|
+
.ws-workflows .pw-access { background:none; border:0; padding:0; font:inherit; color:var(--accent-bright); cursor:pointer; text-decoration:underline; text-underline-offset:2px; }
|
|
8709
|
+
.ws-workflows .pw-access:hover { color:var(--accent); }
|
|
8710
|
+
.ws-workflows .pw-access:focus-visible { outline:2px solid var(--accent); outline-offset:1px; border-radius:2px; }
|
|
8640
8711
|
.pa-check { margin:0; cursor:pointer; } /* the global themed checkbox (app.css input[type="checkbox"]) draws it */
|
|
8641
8712
|
.pa-confirm { grid-column:1 / -1; margin-top:10px; padding:10px 12px; border-radius:6px; background:var(--surface-2);
|
|
8642
8713
|
border:1px solid var(--border-strong); font-size:12px; color:var(--text); line-height:1.45; }
|
|
@@ -8649,6 +8720,9 @@ input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer
|
|
|
8649
8720
|
.pa-foot { padding:9px 18px 12px; font-size:11.5px; color:var(--text-dim); border-top:1px solid var(--border); }
|
|
8650
8721
|
.pa-note { margin:12px 0 0; font-size:12px; color:var(--warn-text); line-height:1.45; }
|
|
8651
8722
|
.pa-note p { margin:0 0 4px; }
|
|
8723
|
+
/* #2470 R6.7: "Linked from …" is information, not a warning: the sheet's own muted text. */
|
|
8724
|
+
.pa-note.pa-linked { color:var(--text-muted); }
|
|
8725
|
+
.pa-note.pa-linked p { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
|
|
8652
8726
|
.pa-stale { display:flex; align-items:flex-start; gap:10px; padding:9px 11px; border-radius:6px; background:var(--surface-2);
|
|
8653
8727
|
border:1px solid var(--border-strong); }
|
|
8654
8728
|
.pa-stale p { flex:1; margin:0; }
|
|
@@ -8689,7 +8763,7 @@ input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer
|
|
|
8689
8763
|
.kb-cat-edit { display:flex; align-items:center; gap:6px; margin-bottom:6px; }
|
|
8690
8764
|
.kb-cat-input { flex:1; min-width:0; font:inherit; font-size:12px; color:var(--text); background:var(--surface); border:1px solid var(--border-strong);
|
|
8691
8765
|
border-radius:5px; padding:5px 7px; }
|
|
8692
|
-
.kb-cat-input:focus-visible { outline:
|
|
8766
|
+
.kb-cat-input:focus-visible { outline:none; border-color:var(--accent); box-shadow:0 0 0 2px var(--accent-soft); }
|
|
8693
8767
|
.kb-cat-input::placeholder { color:var(--text-dim); }
|
|
8694
8768
|
.kb-cat-save, .kb-cat-cancel { font-size:11.5px; padding:5px 9px; }
|
|
8695
8769
|
.kb-cat-new { display:block; margin:4px 0 8px; }
|
package/dist/web/app.js
CHANGED
|
@@ -2295,6 +2295,12 @@ window.flolessWorkspaceRoot = {
|
|
|
2295
2295
|
isCurrent: (observation) => !!observation && observation === workspaceRootState
|
|
2296
2296
|
&& workspaceRootAcceptedObservation === workspaceRootObservation && !workspaceRootSelecting,
|
|
2297
2297
|
name: () => workspaceRootName(workspaceRootState && workspaceRootState.root && workspaceRootState.root.path),
|
|
2298
|
+
isBusy: () => workspaceRootBusy || !!$workspaceRootModal.querySelector('.workspace-root-management:not(.workspace-root-recovery)[aria-busy="true"]'),
|
|
2299
|
+
close: () => {
|
|
2300
|
+
if (window.flolessWorkspaceRoot.isBusy()) return false;
|
|
2301
|
+
closeWorkspaceRoot();
|
|
2302
|
+
return !$workspaceRootModal.classList.contains('show');
|
|
2303
|
+
},
|
|
2298
2304
|
};
|
|
2299
2305
|
refreshWorkspaceRoot();
|
|
2300
2306
|
|
package/dist/web/aware.js
CHANGED
|
@@ -1945,7 +1945,8 @@
|
|
|
1945
1945
|
.map((project) => ({
|
|
1946
1946
|
value: `project:${project.id}`,
|
|
1947
1947
|
label: project.name || project.id,
|
|
1948
|
-
|
|
1948
|
+
// #2470 R6.2: a General project is named as the person sees it, never by FloLess's type id.
|
|
1949
|
+
meta: (project.templateId || project.app) === 'floless-general' ? 'General project' : `${project.templateId || project.app || 'Workspace'} project`,
|
|
1949
1950
|
})),
|
|
1950
1951
|
];
|
|
1951
1952
|
}
|
|
@@ -1982,6 +1983,10 @@
|
|
|
1982
1983
|
try {
|
|
1983
1984
|
const { projects = [] } = await api('/api/projects');
|
|
1984
1985
|
const ownerOptions = workflowOwnerOptions(projects);
|
|
1986
|
+
const wantedOwner = typeof prefill.ownerProjectId === 'string' && prefill.ownerProjectId ? `project:${prefill.ownerProjectId}` : null;
|
|
1987
|
+
const preselectedOwner = wantedOwner && ownerOptions.some((o) => o.value === wantedOwner) ? wantedOwner : 'standalone';
|
|
1988
|
+
// The project may have been archived meanwhile: the dialog still opens, on Standalone, and says why.
|
|
1989
|
+
if (wantedOwner && preselectedOwner !== wantedOwner) showToast('That project isn’t in the Location list any more, so the new workflow starts as Standalone. Choose its location in the dialog.', 'warn');
|
|
1985
1990
|
const result = await formModal({
|
|
1986
1991
|
title: guide ? 'Build this workflow' : 'Start a workflow',
|
|
1987
1992
|
sub: 'Choose where it belongs. Its files, chat, history and AI working folder stay with that location.',
|
|
@@ -1993,7 +1998,8 @@
|
|
|
1993
1998
|
...(typeof prefill.name === 'string' && prefill.name ? { value: prefill.name } : {}),
|
|
1994
1999
|
},
|
|
1995
2000
|
{
|
|
1996
|
-
|
|
2001
|
+
// #2470 R6.2: opened from a project's Workflows step, the project is already chosen (the person can change it).
|
|
2002
|
+
name: 'owner', label: 'Location', type: 'select', value: preselectedOwner,
|
|
1997
2003
|
commandId: 'shell.new-workflow-location', options: ownerOptions,
|
|
1998
2004
|
},
|
|
1999
2005
|
...(guide ? [] : [{
|
|
@@ -11027,6 +11033,8 @@
|
|
|
11027
11033
|
} else if (m.type === 'run-ended') {
|
|
11028
11034
|
// Panel data bindings (last-run-output/-status) go stale after any run.
|
|
11029
11035
|
if (window.flolessPanels) window.flolessPanels.refreshData();
|
|
11036
|
+
// #2470 R6.2: a project's Workflows step shows each workflow's last run; it re-reads only while on screen.
|
|
11037
|
+
window.flolessProjectWorkflows?.refresh?.();
|
|
11030
11038
|
if (m.id && m.id === currentId) void globalThis.flolessAgentSteps?.refreshRunRecord(m.id); // #2241 S5
|
|
11031
11039
|
} else if (m.type === 'routine-changed') {
|
|
11032
11040
|
loadRoutinesData();
|
|
@@ -11044,6 +11052,7 @@
|
|
|
11044
11052
|
if ($routinesModal.classList.contains('show')) renderRoutinesList();
|
|
11045
11053
|
} else if (m.type === 'routine-run-ended') {
|
|
11046
11054
|
runningRoutines.delete(m.id);
|
|
11055
|
+
window.flolessProjectWorkflows?.refresh?.(); // #2470 R6.2, as run-ended
|
|
11047
11056
|
loadRoutinesData();
|
|
11048
11057
|
if (window.flolessPanels) window.flolessPanels.refreshData(); // routine runs also refresh bindings
|
|
11049
11058
|
window.flolessAgents?.refreshRuns?.(); // #2035: an open agent page shows the run its routine just started
|
|
@@ -13102,7 +13111,7 @@
|
|
|
13102
13111
|
// One path for a question and a change, so a waiting message is never labelled a suggestion.
|
|
13103
13112
|
return r.instructorContext.commandId === 'filter.ask-ai-change' ? 'filter answer' : 'filter question';
|
|
13104
13113
|
if (r.type === 'revision-read') return (!r.baseVersion || r.baseVersion <= 0) ? 'initial drawing read' : 'updated drawing read';
|
|
13105
|
-
return r.type === 'use-template' ? 'template' : r.type === 'ui-customize' ? 'dashboard' : r.type === 'rebake' ? 're-bake' : r.type === 'guide' ? 'guide' : r.type === 'new-workflow' ? 'new workflow' : r.type === 'knowledge-organize' ? 'organize' : r.type === 'knowledge-adjust' ? 'adjust' : r.type === 'knowledge-consult' ? 'knowledge' : r.type === 'tweak-contract' ? 'contract' : 'tweak';
|
|
13114
|
+
return r.type === 'use-template' ? 'template' : r.type === 'ui-customize' ? 'dashboard' : r.type === 'rebake' ? 're-bake' : r.type === 'guide' ? 'guide' : r.type === 'new-workflow' ? 'new workflow' : r.type === 'knowledge-organize' ? 'organize' : r.type === 'knowledge-adjust' ? 'adjust' : r.type === 'knowledge-consult' ? 'knowledge' : r.type === 'project-kickoff' ? 'kickoff' : r.type === 'tweak-contract' ? 'contract' : 'tweak';
|
|
13106
13115
|
}
|
|
13107
13116
|
|
|
13108
13117
|
function isInitialDrawingRead(r) {
|
|
@@ -15257,6 +15266,16 @@
|
|
|
15257
15266
|
window.dispatchEvent(new CustomEvent('floless:revit-capability-changed'));
|
|
15258
15267
|
});
|
|
15259
15268
|
|
|
15269
|
+
// And Steel Model's, under its own name.
|
|
15270
|
+
window.addEventListener('floless:open-steel-model-access', async (event) => {
|
|
15271
|
+
if (event.detail?.state === 'account-selection-required') {
|
|
15272
|
+
await recheckLicenseAndGate({ forRevitAccountSelection: true, moduleLabel: 'Steel Model' });
|
|
15273
|
+
} else {
|
|
15274
|
+
await recheckLicenseAndGate();
|
|
15275
|
+
}
|
|
15276
|
+
window.dispatchEvent(new CustomEvent('floless:revit-capability-changed'));
|
|
15277
|
+
});
|
|
15278
|
+
|
|
15260
15279
|
function runtimeSectionSummary(runtimes, active, folder) {
|
|
15261
15280
|
// What FloLess would LAUNCH (#1622): its own copy where it runs one, else the user's install.
|
|
15262
15281
|
const installed = runtimes.filter(runtimeCopyInstalled);
|
|
@@ -15595,7 +15614,13 @@
|
|
|
15595
15614
|
let state = 'Unavailable in AI Chat';
|
|
15596
15615
|
let stateClass = 'is-chat-unavailable';
|
|
15597
15616
|
let why;
|
|
15598
|
-
|
|
15617
|
+
// #2620: AI Chat runs any connected tool's commands with this account (tools.read / tools.change), so a service
|
|
15618
|
+
// without the older per-chat account picker is still usable in chat: its state follows the sign-in alone.
|
|
15619
|
+
if (!supported) {
|
|
15620
|
+
if (slot.status === 'valid') { state = 'Ready for AI Chat'; stateClass = 'is-chat-ready'; why = 'AI Chat uses this account when it runs this tool’s commands.'; }
|
|
15621
|
+
else if (slot.status === 'expired') { state = 'Reconnect for AI Chat'; stateClass = 'is-chat-warning'; why = 'This account’s sign-in has expired. Reconnect it to use it in AI Chat.'; }
|
|
15622
|
+
else why = 'Connect this account to use it in AI Chat.';
|
|
15623
|
+
}
|
|
15599
15624
|
else if (ready) { state = 'Ready for AI Chat'; stateClass = 'is-chat-ready'; why = 'This verified account can be selected in AI Chat.'; }
|
|
15600
15625
|
else if (slot.status === 'expired') { state = 'Reconnect for AI Chat'; stateClass = 'is-chat-warning'; why = 'This account’s sign-in has expired. Reconnect it to use it in AI Chat.'; }
|
|
15601
15626
|
else if (slot.status !== 'valid') { state = 'Connect for AI Chat'; stateClass = 'is-chat-warning'; }
|
package/dist/web/chat.css
CHANGED
|
@@ -135,7 +135,8 @@
|
|
|
135
135
|
.ai-chat-runtime button:focus-visible,
|
|
136
136
|
.ai-chat-attachment button:focus-visible,
|
|
137
137
|
.ai-chat-provider-switch:focus-visible,
|
|
138
|
-
|
|
138
|
+
/* Text fields show focus as an accent border with a soft halo, never a second ring outside their own border. */
|
|
139
|
+
#chat-input:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
|
|
139
140
|
|
|
140
141
|
.ai-chat-settings {
|
|
141
142
|
grid-row: 2;
|
|
@@ -270,7 +271,9 @@
|
|
|
270
271
|
scrollbar-color: var(--text-dim) var(--surface-2);
|
|
271
272
|
}
|
|
272
273
|
.ai-chat-picker[hidden] { display: none; }
|
|
273
|
-
|
|
274
|
+
/* The scope and access chips sit in the composer's one toolbar, under the message box: the wrapper lays its chips
|
|
275
|
+
straight into that row, and the Scope picker opens above the whole composer (.ai-chat-composer is its anchor). */
|
|
276
|
+
.ai-chat-scope-controls { display: contents; }
|
|
274
277
|
.ai-chat-scope-controls[hidden] { display: none; }
|
|
275
278
|
.ai-chat-scope-controls > button,
|
|
276
279
|
.ai-chat-scope-action,
|
|
@@ -279,13 +282,19 @@
|
|
|
279
282
|
.ai-chat-scope-controls button:hover { background: var(--accent-soft); }
|
|
280
283
|
.ai-chat-scope-controls button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
281
284
|
.ai-chat-scope-controls button:disabled { cursor: default; opacity: .55; }
|
|
282
|
-
|
|
285
|
+
/* The access explanation wraps onto its own line under the toolbar, so it never squeezes the chips. */
|
|
286
|
+
#chat-scope-disclosure { order: 99; color: var(--text-muted); font: 10px/1.4 var(--ui); flex-basis: 100%; }
|
|
287
|
+
/* Basis 0 so the row breaks only when the fixed chips themselves do not fit; it grows back to its own width, no wider. */
|
|
288
|
+
#chat-scope-toggle { flex: 1 1 0; max-width: max-content; min-width: 0; display: inline-flex; align-items: center; gap: 4px; }
|
|
289
|
+
#chat-scope-toggle > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
|
|
290
|
+
#chat-scope-toggle svg, .ai-chat-units-chip svg { flex: none; width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; color: var(--text-muted); }
|
|
291
|
+
#chat-access-explanation { flex: none; }
|
|
283
292
|
#chat-scope-disclosure[hidden] { display: none; }
|
|
284
293
|
#chat-access-explanation { display: inline-flex; align-items: center; gap: 3px; }
|
|
285
294
|
#chat-access-explanation strong { font-weight: 600; }
|
|
286
295
|
.ai-chat-access-chevron { display: inline-block; margin-left: 3px; }
|
|
287
296
|
#chat-access-explanation[aria-expanded="true"] .ai-chat-access-chevron { transform: rotate(180deg); }
|
|
288
|
-
.ai-chat-scope-picker { top: auto; bottom: calc(100% + 6px); left:
|
|
297
|
+
.ai-chat-scope-picker { top: auto; bottom: calc(100% + 6px); left: 8px; right: 8px; padding: 8px; max-height: min(320px, 48vh); }
|
|
289
298
|
.ai-chat-scope-head, .ai-chat-scope-row { display: flex; align-items: center; justify-content: space-between; gap: 7px; }
|
|
290
299
|
.ai-chat-scope-head strong, .ai-chat-scope-picker > strong { color: var(--text); font: 600 11px var(--ui); }
|
|
291
300
|
.ai-chat-scope-row { padding: 6px 0; border-bottom: 1px solid var(--border); margin-bottom: 4px; color: var(--text); font: 11px var(--ui); }
|
|
@@ -888,7 +897,7 @@
|
|
|
888
897
|
.ai-chat-height-input { appearance: none; box-sizing: border-box; flex: 1; min-width: 0; height: 26px; padding: 3px 7px; border: 1px solid var(--border-strong); border-radius: 4px;
|
|
889
898
|
background: var(--surface-2); color: var(--text); font: 11px var(--mono); caret-color: var(--accent); }
|
|
890
899
|
.ai-chat-height-input::placeholder { color: var(--text-dim); }
|
|
891
|
-
.ai-chat-height-input:focus-visible { outline:
|
|
900
|
+
.ai-chat-height-input:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
|
|
892
901
|
.ai-chat-height-row button { flex: none; min-height: 26px; padding: 4px 9px; border: 1px solid var(--border-strong); border-radius: 4px; background: var(--surface); color: var(--text-muted); font-size: 10px; font-weight: 600; cursor: pointer; }
|
|
893
902
|
.ai-chat-height-row button:hover { color: var(--text); background: var(--surface-3); }
|
|
894
903
|
.ai-chat-height-row button.ai-chat-filter-apply { border-color: var(--accent); background: var(--accent); color: #fff; }
|
|
@@ -1096,7 +1105,8 @@
|
|
|
1096
1105
|
/* `margin: auto` centres the modal: the app's global reset zeroes every margin, the dialog's default included. */
|
|
1097
1106
|
.ai-chat-source-viewer { width: min(920px, 94vw); max-height: 90vh; margin: auto; padding: 0; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--surface); color: var(--text); box-shadow: 0 18px 48px rgba(0, 0, 0, .5); overflow: hidden; }
|
|
1098
1107
|
.ai-chat-source-viewer[open] { display: flex; flex-direction: column; }
|
|
1099
|
-
.
|
|
1108
|
+
/* #2582: opened with show() inside the app's own .modal-backdrop (not the top layer), so the Instructor stays above it. */
|
|
1109
|
+
.ai-chat-viewer-backdrop .ai-chat-source-viewer { position: static; flex: none; }
|
|
1100
1110
|
.ai-chat-source-viewer-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px 4px; }
|
|
1101
1111
|
.ai-chat-source-viewer-head strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 13px/1.3 var(--ui); }
|
|
1102
1112
|
.ai-chat-source-viewer-note { padding: 0 12px 8px; border-bottom: 1px solid var(--border); color: var(--text-dim); font: 9.5px/1.4 var(--mono); }
|
|
@@ -1121,7 +1131,6 @@
|
|
|
1121
1131
|
.ai-chat-source-viewer-text::-webkit-scrollbar-thumb { background: var(--text-dim); border-radius: 8px; }
|
|
1122
1132
|
.ai-chat-source-viewer-text::-webkit-scrollbar-corner { background: var(--surface-2); }
|
|
1123
1133
|
.ai-chat-source-viewer-text:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
1124
|
-
[data-theme="light"] .ai-chat-source-viewer::backdrop { background: rgba(15, 23, 42, .35); }
|
|
1125
1134
|
[data-theme="light"] .ai-chat-sources, [data-theme="light"] .ai-chat-source-viewer { --text-muted: #475569; }
|
|
1126
1135
|
/* The light theme's dim text is 2.7:1 on a chip, and its warning text 4.1:1 on a marker: below the 4.5:1 floor at these
|
|
1127
1136
|
small sizes, so the provenance marks, the Assumption tag and the "?" marker take the darker slate the chat uses. */
|
|
@@ -1401,17 +1410,20 @@
|
|
|
1401
1410
|
so a cut-off line would hide the permission. Deliberately neutral — no success colour or icon —
|
|
1402
1411
|
because it is not a verification claim; each approved read gets its own receipt card. */
|
|
1403
1412
|
.ai-chat-tekla-context { margin-bottom: 6px; }
|
|
1404
|
-
/* #1890: a workspace conversation's units — asked once
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
flex-wrap: wrap;
|
|
1408
|
-
align-items: center;
|
|
1409
|
-
gap: 6px 8px;
|
|
1410
|
-
margin-bottom: 6px;
|
|
1411
|
-
color: var(--text-muted);
|
|
1412
|
-
font: 10.5px/1.45 var(--ui);
|
|
1413
|
-
}
|
|
1413
|
+
/* #1890: a workspace conversation's units — asked once in the conversation, then a chip in the composer toolbar
|
|
1414
|
+
("ft-in ⌄") whose two-item menu opens above the composer, right-aligned. */
|
|
1415
|
+
.ai-chat-units { display: flex; flex: none; align-items: center; color: var(--text-muted); font: 10.5px/1.45 var(--ui); }
|
|
1414
1416
|
.ai-chat-units[hidden] { display: none; }
|
|
1417
|
+
.ai-chat-units-chip { appearance: none; display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--border-strong); border-radius: 5px; background: var(--surface-2); color: var(--text); font: 10px var(--ui); padding: 4px 7px; cursor: pointer; white-space: nowrap; }
|
|
1418
|
+
.ai-chat-units-chip:hover { background: var(--accent-soft); }
|
|
1419
|
+
.ai-chat-units-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
1420
|
+
.ai-chat-units-chip[aria-expanded="true"] .ai-chat-access-chevron { transform: rotate(180deg); }
|
|
1421
|
+
.ai-chat-units-menu { position: absolute; z-index: 30; bottom: calc(100% + 6px); right: 8px; display: grid; gap: 2px; min-width: 150px; padding: 4px; border: 1px solid var(--border-strong); border-radius: 7px; background: var(--surface); box-shadow: 0 14px 34px rgba(0, 0, 0, .42); }
|
|
1422
|
+
.ai-chat-units-menu[hidden] { display: none; }
|
|
1423
|
+
.ai-chat-units-menu button { appearance: none; display: flex; align-items: center; gap: 6px; padding: 6px 8px; border: 0; border-radius: 5px; background: transparent; color: var(--text); font: 11px var(--ui); text-align: left; cursor: pointer; }
|
|
1424
|
+
.ai-chat-units-menu button:hover, .ai-chat-units-menu button:focus-visible { background: var(--accent-soft); outline: none; }
|
|
1425
|
+
.ai-chat-units-menu button::before { content: ''; width: 10px; flex: none; color: var(--accent); }
|
|
1426
|
+
.ai-chat-units-menu button[aria-checked="true"]::before { content: '✓'; }
|
|
1415
1427
|
/* #1907: the person's own connectors allowed for this conversation, each with its own Revoke. */
|
|
1416
1428
|
.ai-chat-connectors { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-bottom: 6px; color: var(--text-muted); font: 10.5px/1.45 var(--ui); }
|
|
1417
1429
|
.ai-chat-connectors[hidden] { display: none; }
|
|
@@ -1645,6 +1657,7 @@
|
|
|
1645
1657
|
.ai-chat-skill-origin { color: var(--text-dim); font: 8px/1.3 var(--mono); text-transform: uppercase; }
|
|
1646
1658
|
|
|
1647
1659
|
.ai-chat-composer {
|
|
1660
|
+
position: relative;
|
|
1648
1661
|
grid-row: 7;
|
|
1649
1662
|
margin-top: 8px;
|
|
1650
1663
|
padding: 7px 8px 8px;
|
|
@@ -1670,7 +1683,9 @@
|
|
|
1670
1683
|
}
|
|
1671
1684
|
#chat-input::placeholder { color: var(--text-dim); }
|
|
1672
1685
|
#chat-input:disabled { opacity: .52; cursor: not-allowed; }
|
|
1673
|
-
|
|
1686
|
+
/* One toolbar under the message box: attach, the scope / access / units chips, then Stop and Send at the right.
|
|
1687
|
+
Only the Scope chip shrinks (with an ellipsis); a very narrow panel wraps the row rather than clipping Send. */
|
|
1688
|
+
.ai-chat-compose-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 6px; }
|
|
1674
1689
|
/* The data-handling disclosure, in the composer's rigid grid row so no conversation-area height can
|
|
1675
1690
|
take it away (#1501, owner ruling 2026-09-23: "I think disclosure line should be guaranteed, we
|
|
1676
1691
|
should not make shortcuts and do it right"). Deliberately NOT part of .ai-chat-compose-hint: that
|
|
@@ -1687,7 +1702,10 @@
|
|
|
1687
1702
|
overflow-wrap: anywhere;
|
|
1688
1703
|
}
|
|
1689
1704
|
.ai-chat-composer-disclosure[hidden] { display: none; }
|
|
1690
|
-
|
|
1705
|
+
/* Its own line under the message box, shown only when it says something about this moment (working, an error, a
|
|
1706
|
+
capability notice). The idle keyboard hint is the same node made screen-reader-only, so no row is spent on it. */
|
|
1707
|
+
.ai-chat-compose-hint { display: block; padding-top: 5px; color: var(--text-dim); font: 9px/1.4 var(--mono); overflow-wrap: anywhere; }
|
|
1708
|
+
.ai-chat-compose-hint.is-idle { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
|
|
1691
1709
|
.ai-chat-compose-hint.working { display: inline-flex; align-items: center; min-height: 16px; padding-left: 4px; }
|
|
1692
1710
|
/* The refusal the composer itself reports — "could not send", a filter note. chat.js toggles this
|
|
1693
1711
|
class at five sites (adds at 361, 443, 476; removes at 437, 999) and no rule ever styled it, so
|
|
@@ -1957,15 +1975,17 @@
|
|
|
1957
1975
|
.ai-chat-ask-box::before { content: ""; width: 8px; height: 8px; transform: scale(0); background: #fff; clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%); }
|
|
1958
1976
|
.ai-chat-ask-option.is-chosen .ai-chat-ask-box { border-color: var(--accent); background: var(--accent); }
|
|
1959
1977
|
.ai-chat-ask-option.is-chosen .ai-chat-ask-box::before { transform: scale(1); }
|
|
1960
|
-
|
|
1961
|
-
|
|
1978
|
+
/* The Other… answer sits under its chosen row with no frame of its own: the row and the field already outline it.
|
|
1979
|
+
A frame shows only while a file is dragged over it, as the drop target. */
|
|
1980
|
+
.ai-chat-ask-other { display: flex; flex-direction: column; gap: 5px; margin-top: 4px; padding: 0; border: 1px dashed transparent; border-radius: 5px; }
|
|
1981
|
+
.ai-chat-ask-other.drop { padding: 6px; border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
|
|
1962
1982
|
.ai-chat-ask-other-line { display: flex; align-items: center; gap: 6px; min-width: 0; }
|
|
1963
1983
|
.ai-chat-ask-other-input {
|
|
1964
1984
|
flex: 1; min-width: 0; height: 28px; box-sizing: border-box; padding: 0 8px; border: 1px solid var(--border-strong); border-radius: 4px;
|
|
1965
1985
|
background: var(--surface); color: var(--text); caret-color: var(--accent); font: 11px var(--ui);
|
|
1966
1986
|
}
|
|
1967
1987
|
.ai-chat-ask-other-input::placeholder { color: var(--text-muted); opacity: 1; }
|
|
1968
|
-
.ai-chat-ask-other-input:focus-visible { outline:
|
|
1988
|
+
.ai-chat-ask-other-input:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
|
|
1969
1989
|
.ai-chat-approval.ai-chat-ask-card button.ai-chat-ask-clip { flex: none; width: 28px; height: 26px; padding: 0; display: grid; place-items: center; background: var(--surface); color: var(--text-muted); }
|
|
1970
1990
|
.ai-chat-approval.ai-chat-ask-card button.ai-chat-ask-clip:hover { color: var(--text); background: var(--surface-3); }
|
|
1971
1991
|
.ai-chat-ask-files { margin-top: 1px; }
|