@floless/app 0.169.0 → 0.170.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 +71580 -59849
- package/dist/schemas/drawing-check.profile.v1.schema.json +12 -2
- package/dist/schemas/steel.model.v2.schema.json +2 -1
- package/dist/skills/floless-app-knowledge/SKILL.md +43 -13
- package/dist/skills/floless-app-new-workflow/SKILL.md +8 -1
- package/dist/skills/floless-app-routines/SKILL.md +2 -2
- package/dist/skills/floless-app-routines/references/routines-api.md +20 -8
- package/dist/skills/floless-app-steel-model/SKILL.md +8 -5
- package/dist/skills/floless-app-steel-takeoff/SKILL.md +31 -1
- package/dist/skills/floless-app-workflows/SKILL.md +22 -3
- package/dist/skills/floless-app-workflows/references/agent-steps.md +40 -6
- package/dist/skills/floless-app-workflows/references/exec-contract.md +27 -0
- package/dist/skills/floless-app-workflows/references/script-runner.md +105 -0
- package/dist/web/agent-steps.js +89 -18
- package/dist/web/agents.js +32 -22
- package/dist/web/app.css +223 -1
- package/dist/web/app.js +24 -3
- package/dist/web/aware.js +877 -189
- package/dist/web/chat.js +184 -95
- package/dist/web/checkpoint-standard.js +5 -3
- package/dist/web/commands-drawing-check.js +1 -0
- package/dist/web/commands-shell.js +440 -11
- package/dist/web/commands-steel.js +60 -1
- package/dist/web/drawing-check-editor.js +352 -88
- package/dist/web/failure-copy.js +32 -2
- package/dist/web/filter-ai-proposal.js +11 -8
- package/dist/web/flo-3d.js +1 -1
- package/dist/web/guide.js +33 -26
- package/dist/web/index.html +69 -1
- package/dist/web/instructor.js +99 -15
- package/dist/web/left-pane.js +4 -1
- package/dist/web/local-discovery.js +8 -7
- package/dist/web/missed-routines.js +239 -0
- package/dist/web/model-measure.js +6 -0
- package/dist/web/model-spatial-panel.js +19 -4
- package/dist/web/model-spatial-tools.js +3 -3
- package/dist/web/model-viewport-revit-adapter.js +3 -3
- package/dist/web/origin-rule.js +155 -0
- package/dist/web/project-access.js +1 -1
- package/dist/web/project-modules.js +2 -2
- package/dist/web/project-rfis.js +6 -1
- package/dist/web/project-workflows.js +2 -2
- package/dist/web/revit-editor.js +22 -8
- package/dist/web/run-history.js +12 -1
- package/dist/web/steel-3d-core.js +39 -9
- package/dist/web/steel-3d-flo.js +26 -4
- package/dist/web/steel-3d-view.js +8 -3
- package/dist/web/steel-ai-marks.js +3 -1
- package/dist/web/steel-editor.html +455 -122
- package/dist/web/steel-environments.js +297 -0
- package/dist/web/steel-filter.html +3 -2
- package/dist/web/steel-model-v2-client-validation.js +8 -1
- package/dist/web/steel-model-v2-commands.js +23 -9
- package/dist/web/steel-model-v2-projection.js +1 -1
- package/dist/web/step-rename.js +3 -2
- package/dist/web/terminal-requests.js +1 -1
- package/dist/web/tool-updates.js +7 -6
- package/dist/web/workspaces.js +1714 -119
- package/package.json +4 -1
package/dist/web/app.css
CHANGED
|
@@ -1506,6 +1506,7 @@
|
|
|
1506
1506
|
}
|
|
1507
1507
|
.inspect-content { font-size: 12.5px; line-height: 1.65; color: var(--text-muted); }
|
|
1508
1508
|
.inspect-content p { margin-bottom: 12px; }
|
|
1509
|
+
.inspect-content p.node-desc { overflow-wrap: anywhere; } /* authored prose may hold a long path or URL (#2952) */
|
|
1509
1510
|
.inspect-content strong { color: var(--text); font-weight: 600; }
|
|
1510
1511
|
.inspect-content code {
|
|
1511
1512
|
font-family: var(--mono);
|
|
@@ -1931,6 +1932,9 @@
|
|
|
1931
1932
|
.project-setup-provider-accounts { margin-top:-2px; color:var(--text-dim); font:9.5px/1.4 var(--mono); }
|
|
1932
1933
|
.project-setup-provider-accounts > span { min-width:0; overflow-wrap:anywhere; }
|
|
1933
1934
|
.project-setup-standard-options button > span:last-child { color:var(--text-dim); font-size:10px; }
|
|
1935
|
+
/* One button per registered steel standard (US, UK, EU): three across, one column on a narrow dialog. The pair
|
|
1936
|
+
rules above stay for the Model and AI Chat choices. */
|
|
1937
|
+
#project-setup-standard .project-setup-standard-options { grid-template-columns:repeat(3,minmax(0,1fr)); }
|
|
1934
1938
|
.project-setup-standard-label { font-weight:650; }
|
|
1935
1939
|
/* #2521 row 7a: the Quick model terms, shown in full while Quick is pressed; the storage note's quiet accent rule,
|
|
1936
1940
|
not a warning: choosing Quick is a choice, not an error. */
|
|
@@ -1991,6 +1995,7 @@
|
|
|
1991
1995
|
.tekla-source-choices button span { color:var(--text-dim); font-size:11px; line-height:1.45; }
|
|
1992
1996
|
@media (max-width:560px) {
|
|
1993
1997
|
.project-setup-standard-options { grid-template-columns:1fr; }
|
|
1998
|
+
#project-setup-standard .project-setup-standard-options { grid-template-columns:1fr; }
|
|
1994
1999
|
.project-setup-folder-row { grid-template-columns:1fr; }
|
|
1995
2000
|
.tekla-source-choices { grid-template-columns:1fr; }
|
|
1996
2001
|
}
|
|
@@ -2336,6 +2341,15 @@
|
|
|
2336
2341
|
.int-account-access { grid-column: 1 / -1; font-size: 9px; line-height: 1.35; color: var(--text-muted); }
|
|
2337
2342
|
.int-account-access.is-warn { color: var(--warn); }
|
|
2338
2343
|
.int-account-reconnect { grid-column: 1 / -1; justify-self: start; }
|
|
2344
|
+
/* #3295: a Microsoft sign-in that allows more than FloLess asked for. Body stays muted on the warn tint (contrast in
|
|
2345
|
+
both themes); only the border and title carry the warning. */
|
|
2346
|
+
.int-grant-notice { grid-column: 1 / -1; margin: 0; display: grid; gap: 2px; }
|
|
2347
|
+
.int-grant-title { font-weight: 600; color: var(--text); }
|
|
2348
|
+
.int-grant-list { margin: 2px 0 2px; padding-left: 16px; }
|
|
2349
|
+
.int-grant-list li { margin: 0; }
|
|
2350
|
+
.int-grant-notice a { color: var(--accent-bright); text-decoration: underline; }
|
|
2351
|
+
.int-grant-notice a:hover { color: var(--accent); }
|
|
2352
|
+
.int-grant-notice a:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-radius: 2px; }
|
|
2339
2353
|
/* A sentence the card needs read before Connect: info (accent) or the person's own setup (warn). Tinted
|
|
2340
2354
|
with color-mix over --surface so it holds in both themes (the badges' fixed rgba is tuned for dark). */
|
|
2341
2355
|
.int-notice {
|
|
@@ -2344,6 +2358,12 @@
|
|
|
2344
2358
|
background: color-mix(in srgb, var(--accent) 6%, var(--surface));
|
|
2345
2359
|
}
|
|
2346
2360
|
.int-notice.is-warn { border-left-color: var(--warn); background: color-mix(in srgb, var(--warn) 8%, var(--surface)); }
|
|
2361
|
+
/* #3301: the Disconnect confirm. Narrow like the other confirms; its failure line is mounted empty so it is announced when filled. */
|
|
2362
|
+
.modal.int-disconnect { width: 440px; max-width: calc(100vw - 32px); }
|
|
2363
|
+
.modal.int-disconnect .modal-sub { line-height: 1.5; margin-bottom: 12px; }
|
|
2364
|
+
.modal.int-disconnect .int-notice { font-size: 11px; margin: 0 0 12px; }
|
|
2365
|
+
.int-disconnect-error { color: var(--err-text); font-size: 11px; line-height: 1.5; margin: 0 0 12px; overflow-wrap: anywhere; }
|
|
2366
|
+
.int-disconnect-error:empty { display: none; }
|
|
2347
2367
|
.int-drive-help { font-size: 9px; line-height: 1.45; color: var(--text-muted); margin: 2px 0 0 22px; }
|
|
2348
2368
|
.int-drive-help.is-flush { margin: 4px 0 2px; }
|
|
2349
2369
|
.int-drive-note { font-size: 9px; line-height: 1.45; color: var(--text-muted); margin: 6px 0 0 22px; }
|
|
@@ -3068,6 +3088,11 @@
|
|
|
3068
3088
|
.rtn-name { font-size: 13px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
3069
3089
|
.rtn-sub { font-size: 11px; color: var(--text-muted); display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
|
|
3070
3090
|
.rtn-wf { font-family: var(--mono); font-size: 10px; color: var(--text-dim); }
|
|
3091
|
+
/* #3232: an owned workflow is named in prose (its name · project), not shown as a technical id. */
|
|
3092
|
+
.rtn-wf.named { font-family: inherit; font-size: 11px; color: var(--text-muted); display: inline-flex; gap: 4px; min-width: 0; max-width: calc(100% - 10em); }
|
|
3093
|
+
.rtn-wf-name, .rtn-wf-owner { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 0 1 auto; }
|
|
3094
|
+
/* The name is what the person recognises: the project gives way first. */
|
|
3095
|
+
.rtn-wf-owner { max-width: 40%; }
|
|
3071
3096
|
.rtn-sub .rtn-dot { opacity: 0.4; }
|
|
3072
3097
|
.rtn-report-note { font-size: 11px; color: var(--text-muted); line-height: 1.35; }
|
|
3073
3098
|
.rtn-report-note.warn { color: var(--warn-text); }
|
|
@@ -3553,6 +3578,39 @@
|
|
|
3553
3578
|
.rtn-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
|
|
3554
3579
|
/* #2062: routines run only while FloLess is running — said in the Routines list and the editor. */
|
|
3555
3580
|
.rtn-local-note { margin: -4px 0 12px; font-size: 11.5px; color: var(--text-dim); line-height: 1.55; }
|
|
3581
|
+
/* Owner ruling 2026-11-06: what still waits on the missed-runs card, and the card itself (missed-routines.js). One
|
|
3582
|
+
card in the toast corner, the toast's own surface and warn edge; its list scrolls inside it with a themed bar. */
|
|
3583
|
+
.rtn-missed-note { margin: -6px 0 12px; font-size: 11.5px; color: var(--warn); line-height: 1.55; }
|
|
3584
|
+
.rtn-missed-note[hidden] { display: none; }
|
|
3585
|
+
.toast.missed-card { flex-direction: column; align-items: stretch; gap: 8px; width: 340px; max-width: calc(100vw - 32px); padding: 12px 14px; }
|
|
3586
|
+
.toast.missed-card[hidden] { display: none; }
|
|
3587
|
+
/* Never over a dialog the person is in (the first-run Guide offer, Routines, a confirm): it comes back when that
|
|
3588
|
+
closes. Routines' "Review…" closes Routines first. */
|
|
3589
|
+
body:has(.modal-backdrop.show) .toast.missed-card { display: none; }
|
|
3590
|
+
.missed-card.busy { opacity: 0.85; }
|
|
3591
|
+
.missed-head { display: flex; align-items: center; gap: 10px; }
|
|
3592
|
+
.missed-title { flex: 1; font-size: 13px; font-weight: 600; color: var(--text); }
|
|
3593
|
+
.missed-text { margin: 0; color: var(--text); line-height: 1.5; overflow-wrap: anywhere; }
|
|
3594
|
+
.missed-text .ai-pill, .missed-row .ai-pill { margin-left: 6px; }
|
|
3595
|
+
.ai-pill:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
3596
|
+
.missed-select { display: flex; justify-content: flex-end; font-size: 11.5px; }
|
|
3597
|
+
.missed-list { max-height: 232px; overflow-y: auto; margin: 0 -4px; padding: 0 4px; display: flex; flex-direction: column; gap: 2px;
|
|
3598
|
+
scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
|
|
3599
|
+
.missed-list::-webkit-scrollbar { width: 8px; }
|
|
3600
|
+
.missed-list::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 4px; }
|
|
3601
|
+
.missed-list::-webkit-scrollbar-track { background: transparent; }
|
|
3602
|
+
.missed-row { display: flex; align-items: flex-start; gap: 10px; padding: 6px 6px; border-radius: 4px; cursor: pointer; }
|
|
3603
|
+
.missed-row:hover { background: var(--surface-3); }
|
|
3604
|
+
.missed-row input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; }
|
|
3605
|
+
.missed-row-main { flex: 1; min-width: 0; }
|
|
3606
|
+
.missed-row-name { color: var(--text); overflow-wrap: anywhere; }
|
|
3607
|
+
.missed-row-sub { display: block; color: var(--text-dim); font-size: 11px; margin-top: 1px; }
|
|
3608
|
+
.missed-foot { margin: 0; color: var(--text-dim); font-size: 11px; }
|
|
3609
|
+
.missed-actions { display: flex; justify-content: flex-end; gap: 8px; }
|
|
3610
|
+
.missed-actions .toast-action { padding: 6px 11px; font-size: 12px; }
|
|
3611
|
+
.missed-actions .missed-primary { border-color: var(--accent-dim); background: var(--accent-soft); color: var(--accent-bright); }
|
|
3612
|
+
.missed-actions .missed-primary:hover:not(:disabled) { background: var(--surface-3); color: var(--text); }
|
|
3613
|
+
.missed-actions .toast-action:disabled { opacity: 0.5; cursor: default; }
|
|
3556
3614
|
.rtn-local-hint { margin: 2px 0 12px; }
|
|
3557
3615
|
/* The ≡ menu's Start with Windows row, pointed at from Routines: a brief accent ring, then nothing. */
|
|
3558
3616
|
.menu-startup.is-pointed { animation: menu-startup-point 1.6s ease-out 1; border-radius: 6px; }
|
|
@@ -5131,12 +5189,27 @@ input[type=range]:focus-visible { outline: 2px solid var(--accent); outline-offs
|
|
|
5131
5189
|
/* Only the SHOWN frame fills the stage — `:not([hidden])` so `display:block` never defeats the
|
|
5132
5190
|
`hidden` attribute on the inactive frame (else it keeps its height and pushes the other off-screen). */
|
|
5133
5191
|
#report-frame:not([hidden]), #report-frame-3d:not([hidden]), #report-frame-page:not([hidden]) { width: 100%; height: 100%; border: 0; display: block; background: var(--bg); }
|
|
5192
|
+
/* #3233: a report sits on a page its own colours were written for, not on the theme's --bg: light by default (a browser's own
|
|
5193
|
+
page, which every report that declares no dark styles was written for), dark when the loaded report's text is light
|
|
5194
|
+
(aware.js reportSurfaceOf). The saved Page version cannot be read from here, so it gets the light page, as the Pages tab does. */
|
|
5195
|
+
#report-frame[data-surface="light"]:not([hidden]), #report-frame-page:not([hidden]) { background: #ffffff; }
|
|
5196
|
+
#report-frame[data-surface="dark"]:not([hidden]) { background: #0f141c; }
|
|
5134
5197
|
/* #2476: the run viewer's note on a report with files (saving it to its Page, why it is not shown). */
|
|
5135
5198
|
.report-files-note {
|
|
5136
5199
|
padding: 8px 18px; border-bottom: 1px solid var(--border); border-left: 3px solid var(--warn);
|
|
5137
5200
|
background: var(--surface-2); color: var(--text-muted); font-size: 12px; line-height: 1.5;
|
|
5138
5201
|
}
|
|
5139
5202
|
.report-files-note[hidden] { display: none; }
|
|
5203
|
+
/* #3229: a report made before the run stopped at an AI step's check. In the flow above the frame (never over it), not dismissible:
|
|
5204
|
+
it is what keeps a partial report from reading as a finished one, and it goes with the next run or report. */
|
|
5205
|
+
.report-ai-stop {
|
|
5206
|
+
display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
|
|
5207
|
+
padding: 8px 18px; border-bottom: 1px solid var(--border); border-left: 3px solid var(--warn);
|
|
5208
|
+
background: var(--surface-2); color: var(--text); font-size: 12px; line-height: 1.5;
|
|
5209
|
+
}
|
|
5210
|
+
.report-ai-stop[hidden] { display: none; }
|
|
5211
|
+
.report-ai-stop-status { color: var(--warn); font-weight: 600; white-space: nowrap; }
|
|
5212
|
+
.report-ai-stop-text { flex: 1 1 320px; min-width: 0; overflow-wrap: anywhere; }
|
|
5140
5213
|
|
|
5141
5214
|
/* Live "On trigger" report: a pulsing pip in the viewer subtitle + a brief edge
|
|
5142
5215
|
flash on the stage when a trigger routine (e.g. tekla-selection-report) pushes a
|
|
@@ -6612,6 +6685,11 @@ body.mode-workspaces #menu .menu-item[data-action="bake"] { display:none; }
|
|
|
6612
6685
|
.ws-card .ws-meta.ws-unverified { color:var(--warn); line-height:1.35; white-space:normal; overflow:visible; text-overflow:clip; }
|
|
6613
6686
|
/* The light --warn amber is ~2:1 on a white card; a darker amber of the same family keeps the label readable. */
|
|
6614
6687
|
[data-theme="light"] .ws-card .ws-meta.ws-unverified { color:#b45309; }
|
|
6688
|
+
/* #3234: the node count and what the workflow needs ("Steel model · HTML report · AI step") wrap onto as many lines
|
|
6689
|
+
as they take, never losing the last need, which is often the AI step, to an ellipsis or a line cap. */
|
|
6690
|
+
.ws-card.wf-card .ws-meta.wf-card-nodes { line-height:1.35; white-space:normal; overflow:visible; overflow-wrap:break-word; text-overflow:clip; }
|
|
6691
|
+
/* #3234: why the workflow cannot run on this AWARE, on its own line so the one-line needs line above never ellipsizes it. */
|
|
6692
|
+
.ws-card .ws-meta.wf-card-aware { color:var(--warn-text); line-height:1.35; white-space:normal; overflow:visible; text-overflow:clip; }
|
|
6615
6693
|
/* #2521 row 5: the Quick model label. A quiet amber outline in the same warning family as "Imported mid-save" (never
|
|
6616
6694
|
red: it is a label, not an error); dashed when FloLess could not read what the model rests on ("Possibly Quick").
|
|
6617
6695
|
Light theme takes the same darker amber the unverified label uses, for contrast on white. */
|
|
@@ -7072,6 +7150,7 @@ body.mode-workspaces #menu .menu-item[data-action="bake"] { display:none; }
|
|
|
7072
7150
|
}
|
|
7073
7151
|
.ecard .e-receipt-details:hover { color:var(--text); }
|
|
7074
7152
|
.ecard .e-done .chk { color:var(--ok); } /* the ✓ */
|
|
7153
|
+
.ecard .e-done.unconfirmed .chk { color:var(--warn-text); font-weight:700; } /* #3273: "!" for a send FloLess could not confirm, never a ✓ (the ink variant, legible on light) */
|
|
7075
7154
|
.ecard .e-done .t { color:var(--text-muted); font-family:var(--mono); } /* HH:MM — the scannable datum */
|
|
7076
7155
|
/* A share link is far longer than the HH:MM this row was built for, so it has to be allowed to
|
|
7077
7156
|
truncate rather than push the Copy button out of the card. The full URL is on the themed tooltip
|
|
@@ -7282,7 +7361,11 @@ table.hist tr.current td { background:var(--accent-soft); }
|
|
|
7282
7361
|
.approval-tech b { color:var(--text-muted); }
|
|
7283
7362
|
.approval-discard { margin-top:10px; padding:0; border:0; background:none; color:var(--err); font:inherit; font-size:11px; cursor:pointer; }
|
|
7284
7363
|
.approval-discard:hover { text-decoration:underline; }
|
|
7285
|
-
|
|
7364
|
+
/* Full-bleed to the modal's edges (the .modal padding is 22px), so the status line and buttons sit on
|
|
7365
|
+
the modal's own content edge instead of touching the tinted strip's border. 7px = the 8px modal
|
|
7366
|
+
radius inside its 1px border. Owner screenshot 2026-11-06: the primary button was glued to the strip. */
|
|
7367
|
+
.approval-review-footer { flex:none; position:sticky; bottom:0; margin:0 -22px -22px; padding:12px 22px 14px;
|
|
7368
|
+
background:var(--surface-2); border-top:1px solid var(--border); border-radius:0 0 7px 7px; }
|
|
7286
7369
|
.approval-review-footer .rev-counts { margin:0 0 8px; }
|
|
7287
7370
|
.approval-review-footer .modal-actions { margin-top:0; flex-wrap:wrap; }
|
|
7288
7371
|
.approval-review-footer .modal-actions button:not(.primary) { background:var(--surface-3); border-color:var(--text-dim); }
|
|
@@ -7732,6 +7815,94 @@ tr.hist-diff-row[hidden] { display:none; }
|
|
|
7732
7815
|
.kb-x:hover { color:var(--err); }
|
|
7733
7816
|
.kb-x:focus-visible { outline:2px solid var(--accent); outline-offset:1px; }
|
|
7734
7817
|
|
|
7818
|
+
/* #2470 R6.8: connected sources. Existing tokens and shapes only: the row is a .kb-src, its controls reuse the
|
|
7819
|
+
.kb-toggle / .kb-cat-more / .kb-link / .hist-confirm language, the dialog the app's .modal shell. */
|
|
7820
|
+
.kb-fico.conn { color:var(--accent-bright); }
|
|
7821
|
+
.kb-reference-head .kb-reference-actions { display:flex; gap:12px; margin-left:auto; align-items:center; }
|
|
7822
|
+
.kb-reference-head .kb-reference-actions .kb-cat-new { margin:0; }
|
|
7823
|
+
.kb-conn-sync { font:inherit; font-size:13px; line-height:1; width:26px; height:26px; flex:none; border-radius:5px; cursor:pointer;
|
|
7824
|
+
background:none; border:none; color:var(--text-dim); }
|
|
7825
|
+
.kb-conn-sync:hover { background:var(--surface-2); color:var(--text); }
|
|
7826
|
+
.kb-conn-sync:focus-visible { outline:2px solid var(--accent-bright); outline-offset:1px; }
|
|
7827
|
+
.kb-conn-sync[aria-busy="true"] { cursor:progress; color:var(--accent-bright); }
|
|
7828
|
+
.kb-conn-sync[aria-busy="true"] span { display:inline-block; animation:kb-conn-spin 1s linear infinite; }
|
|
7829
|
+
@keyframes kb-conn-spin { to { transform:rotate(360deg); } }
|
|
7830
|
+
@media (prefers-reduced-motion: reduce) { .kb-conn-sync[aria-busy="true"] span { animation:none; } }
|
|
7831
|
+
.kb-src .kb-conn-more { opacity:1; }
|
|
7832
|
+
.kb-chip.kb-conn-paused { color:var(--text-muted); }
|
|
7833
|
+
.kb-conn-stop { font-size:10.5px; color:var(--text-muted); line-height:1.45; margin-top:5px; padding:6px 8px; border-radius:5px;
|
|
7834
|
+
border:1px solid color-mix(in srgb, var(--warn) 35%, transparent); background:color-mix(in srgb, var(--warn) 7%, transparent); }
|
|
7835
|
+
.kb-conn-stop b { color:var(--warn-text); font-weight:600; }
|
|
7836
|
+
.kb-conn-choices { display:flex; flex-wrap:wrap; gap:4px 12px; margin-top:4px; }
|
|
7837
|
+
.kb-conn-choices .kb-conn-primary { color:var(--accent-bright); font-weight:600; }
|
|
7838
|
+
.kb-conn-note { font-size:10.5px; color:var(--text-dim); line-height:1.45; margin-top:4px; }
|
|
7839
|
+
.kb-conn-gaps { font-size:10.5px; color:var(--text-dim); line-height:1.45; margin-top:4px; }
|
|
7840
|
+
.kb-conn-gaps summary { cursor:pointer; color:var(--text-muted); }
|
|
7841
|
+
.kb-conn-gaps summary:focus-visible { outline:2px solid var(--accent); outline-offset:1px; border-radius:3px; }
|
|
7842
|
+
.kb-conn-gaps ul { margin:3px 0 0; padding-left:16px; }
|
|
7843
|
+
.kb-conn-removed { margin-top:10px; }
|
|
7844
|
+
.kb-conn-removed-row { display:flex; align-items:center; gap:8px; padding:5px 8px; }
|
|
7845
|
+
.kb-conn-removed-name { flex:1; min-width:0; font-size:12px; color:var(--text-muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
|
|
7846
|
+
.kb-conn-removed-why { display:block; font-size:10.5px; color:var(--warn-text); }
|
|
7847
|
+
.kb-link.danger { color:var(--err); }
|
|
7848
|
+
.kb-link.danger:hover { color:var(--err); text-decoration-color:var(--err); }
|
|
7849
|
+
.kb-conn-copy { margin:8px 0; }
|
|
7850
|
+
.kb-ds-sep { height:1px; background:var(--border); margin:4px 0; }
|
|
7851
|
+
.kb-conn-dialog .modal { width:min(480px, calc(100vw - 32px)); }
|
|
7852
|
+
.kb-conn-dialog-body { font-size:12px; color:var(--text-muted); line-height:1.5; }
|
|
7853
|
+
.kb-conn-account { margin:4px 0 10px; }
|
|
7854
|
+
.kb-conn-account b { color:var(--text); font-weight:600; }
|
|
7855
|
+
.kb-conn-chats, .kb-conn-folders { max-height:220px; overflow:auto; border:1px solid var(--border); border-radius:6px; padding:4px;
|
|
7856
|
+
scrollbar-width:thin; scrollbar-color:var(--border-strong) transparent; }
|
|
7857
|
+
.kb-conn-chats::-webkit-scrollbar, .kb-conn-folders::-webkit-scrollbar { width:8px; }
|
|
7858
|
+
.kb-conn-chats::-webkit-scrollbar-thumb, .kb-conn-folders::-webkit-scrollbar-thumb { background:var(--border-strong); border-radius:4px; }
|
|
7859
|
+
.kb-conn-chats::-webkit-scrollbar-track, .kb-conn-folders::-webkit-scrollbar-track { background:transparent; }
|
|
7860
|
+
/* #2470 R6.8 slice 1b: the Outlook folder browser — a breadcrumb, then one level of folders; a level loading keeps the old
|
|
7861
|
+
list dimmed rather than blanking the dialog. */
|
|
7862
|
+
.kb-conn-folders { max-height:min(45vh, 300px); }
|
|
7863
|
+
.kb-conn-folders[aria-busy="true"] { opacity:.55; }
|
|
7864
|
+
.kb-conn-crumbs { display:flex; flex-wrap:wrap; align-items:center; gap:2px 4px; margin:0 0 6px; font-size:11.5px; }
|
|
7865
|
+
.kb-conn-crumbs .kb-link { max-width:140px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
|
|
7866
|
+
.kb-conn-crumbs [aria-current] { color:var(--text); font-weight:600; max-width:180px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
|
|
7867
|
+
.kb-conn-crumb-sep { color:var(--text-dim); }
|
|
7868
|
+
.kb-conn-folder { display:flex; align-items:center; gap:6px; border-radius:5px; }
|
|
7869
|
+
.kb-conn-folder:hover, .kb-conn-folder:has(input:checked) { background:var(--surface-2); }
|
|
7870
|
+
.kb-conn-folder .kb-conn-chat { flex:1; min-width:0; }
|
|
7871
|
+
.kb-conn-folder .kb-conn-chat:hover, .kb-conn-folder .kb-conn-chat:has(input:checked) { background:none; }
|
|
7872
|
+
.kb-conn-folder-open { flex:none; margin-right:8px; font-size:11px; white-space:nowrap; }
|
|
7873
|
+
.kb-conn-folder.this .kb-conn-chat-name { font-style:italic; }
|
|
7874
|
+
.kb-conn-more-folders { margin-top:6px; }
|
|
7875
|
+
.kb-conn-fixed { margin-top:12px; color:var(--text); }
|
|
7876
|
+
/* #2470 R6.8 slice 2: the Trimble project picker. One scroll container for every region (the .kb-conn-chats rules theme
|
|
7877
|
+
its scrollbar); each region heading is sticky and opaque so rows never show through it in either theme. */
|
|
7878
|
+
.kb-conn-regions { max-height:min(45vh, 300px); padding-top:0; }
|
|
7879
|
+
.kb-conn-region + .kb-conn-region { margin-top:4px; }
|
|
7880
|
+
.kb-conn-region-head { position:sticky; top:0; z-index:1; margin:0; padding:6px 8px 4px; background:var(--surface); }
|
|
7881
|
+
.kb-conn-region .kb-conn-note { padding:2px 8px 4px; }
|
|
7882
|
+
.kb-conn-kinds { display:flex; flex-direction:column; gap:4px; }
|
|
7883
|
+
.kb-conn-kind { display:flex; align-items:flex-start; gap:9px; padding:8px; border:1px solid var(--border); border-radius:6px; cursor:pointer; }
|
|
7884
|
+
.kb-conn-kind:hover, .kb-conn-kind:has(input:checked) { background:var(--surface-2); }
|
|
7885
|
+
.kb-conn-kind:has(input:checked) { border-color:var(--accent); }
|
|
7886
|
+
.kb-conn-kind b { display:block; color:var(--text); font-weight:600; }
|
|
7887
|
+
/* The ceiling question is a choice, not a failure: the neutral note tone, never the warn box of a stopped sync. */
|
|
7888
|
+
.kb-conn-ask { font-size:10.5px; color:var(--text-muted); line-height:1.45; margin-top:5px; padding:6px 8px; border-radius:5px;
|
|
7889
|
+
border:1px solid var(--border); background:var(--surface-2); }
|
|
7890
|
+
.kb-conn-ask b { color:var(--text); font-weight:600; }
|
|
7891
|
+
.kb-conn-chat { display:flex; align-items:center; gap:9px; padding:6px 8px; border-radius:5px; cursor:pointer; }
|
|
7892
|
+
.kb-conn-chat:hover { background:var(--surface-2); }
|
|
7893
|
+
.kb-conn-chat:has(input:checked) { background:var(--surface-2); }
|
|
7894
|
+
.kb-conn-chat-name { flex:1; min-width:0; color:var(--text); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
|
|
7895
|
+
.kb-conn-chat-meta { font-size:10.5px; color:var(--text-dim); }
|
|
7896
|
+
.kb-conn-field { margin-top:12px; display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
|
|
7897
|
+
.kb-conn-field-label { color:var(--text-muted); }
|
|
7898
|
+
.kb-conn-windows { display:flex; gap:12px; }
|
|
7899
|
+
.kb-conn-window { display:flex; align-items:center; gap:5px; cursor:pointer; color:var(--text); }
|
|
7900
|
+
.kb-conn-warn { margin:12px 0 0; padding-left:16px; font-size:11px; color:var(--text-dim); }
|
|
7901
|
+
.kb-conn-warn li + li { margin-top:3px; }
|
|
7902
|
+
.kb-conn-h { font-size:11px; font-weight:600; color:var(--text); margin:8px 0 3px; }
|
|
7903
|
+
.kb-conn-list { margin:0; padding-left:16px; }
|
|
7904
|
+
.kb-conn-p { margin:6px 0 0; }
|
|
7905
|
+
|
|
7735
7906
|
.kb-refs-foot { flex:none; border-top:1px solid var(--border); padding:11px 12px;
|
|
7736
7907
|
display:flex; flex-direction:column; gap:9px; }
|
|
7737
7908
|
/* Organize is the panel's one persistent primary action — it stays VISIBLE and explains itself via
|
|
@@ -8942,6 +9113,8 @@ body:has(.ai-chat-viewer-backdrop.show) #instructor .ix-parts { display:block; f
|
|
|
8942
9113
|
.as-note-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 4px; font-size: 12px; color: var(--text); }
|
|
8943
9114
|
.as-note-hint { margin: 0 0 10px; font-size: 11px; line-height: 1.45; color: var(--text-dim); }
|
|
8944
9115
|
.as-note-hint.is-global-off { color: var(--text-muted); }
|
|
9116
|
+
/* #3284: an AI step whose earlier confirmation still holds, with the write warning of the version that rests on it. */
|
|
9117
|
+
.inspect-content .as-carried { margin: 0 0 10px; font-size: 11px; line-height: 1.45; color: var(--text-muted); }
|
|
8945
9118
|
.as-facts dt { color: var(--text-dim); }
|
|
8946
9119
|
.as-facts dd { margin: 0; color: var(--text); word-break: break-word; }
|
|
8947
9120
|
.tb-btn.tb-text { width: auto; padding: 0 10px; font-size: 12px; font-weight: 500; white-space: nowrap; }
|
|
@@ -9112,6 +9285,8 @@ input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer
|
|
|
9112
9285
|
.as-use-list .ai-pill { margin-left: 4px; }
|
|
9113
9286
|
/* The panel sits on --surface-2, where --text-muted falls under 4.5:1 in the light theme: this copy carries meaning, so it uses --text. */
|
|
9114
9287
|
.as-use-note { margin: 4px 0 0; color: var(--text); }
|
|
9288
|
+
/* #3229: the run stopped at the AI step's check (it ended "ok", so this line is what says it did not finish). */
|
|
9289
|
+
.as-run-stopped { margin: 0 0 8px; padding-left: 8px; border-left: 3px solid var(--warn); color: var(--text); overflow-wrap: anywhere; }
|
|
9115
9290
|
.as-use-skipped { margin: 4px 0 0; color: var(--text); overflow-wrap: anywhere; }
|
|
9116
9291
|
.as-run .ai-pill.is-uses { color: var(--text); }
|
|
9117
9292
|
.as-use-line { color: var(--text-muted); }
|
|
@@ -9147,6 +9322,8 @@ input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer
|
|
|
9147
9322
|
.as-gate-queue { margin-top: 8px; color: var(--text-dim); font-size: 11.5px; }
|
|
9148
9323
|
.rtn-ai { color: var(--text-muted); cursor: help; }
|
|
9149
9324
|
.rtn-ai-q { color: var(--warn); cursor: help; }
|
|
9325
|
+
/* #3229: the run stopped at its AI step's check: the chip's words carry it, the colour only repeats it. */
|
|
9326
|
+
.rtn-ai.is-stopped { color: var(--warn); }
|
|
9150
9327
|
/* The last-run panel belongs to the open workflow's canvas: the landing, a draft view and Workspaces step it aside like the other canvas strips. */
|
|
9151
9328
|
:is(body.wf-landing-open, body.wf-draft-open):not(.mode-workspaces) .as-run, body.mode-workspaces .as-run { display: none !important; }
|
|
9152
9329
|
|
|
@@ -9362,6 +9539,51 @@ input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer
|
|
|
9362
9539
|
.company-pop { position:absolute; z-index:5; background:var(--surface); border:1px solid var(--border-strong); border-radius:7px; box-shadow:0 8px 24px color-mix(in srgb, var(--bg) 50%, transparent); }
|
|
9363
9540
|
.company-pop.hist-confirm { padding:10px 12px; max-width:320px; }
|
|
9364
9541
|
|
|
9542
|
+
/* ── Profile mapping before a CAD send (#3312) ─────────────────────────────────────────────────────────
|
|
9543
|
+
Built from existing tokens only. The window reuses .modal/.revreview chrome and the .wf-combo picker
|
|
9544
|
+
language; the one scroll container (.pm-body) is themed in the same pass that creates it. */
|
|
9545
|
+
.modal.profilemap { width:860px; max-width:94vw; }
|
|
9546
|
+
.pm-source { margin:6px 0 4px; color:var(--text-muted); font-size:12px; line-height:1.45; overflow-wrap:anywhere; }
|
|
9547
|
+
.pm-source:empty { display:none; }
|
|
9548
|
+
.pm-tools { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:6px 0 8px; }
|
|
9549
|
+
.pm-tools > button { background:var(--surface-3); border:1px solid var(--border-strong); color:var(--text-muted); border-radius:6px; padding:5px 11px; font:inherit; font-size:12px; cursor:pointer; }
|
|
9550
|
+
.pm-tools > button:hover { color:var(--text); border-color:var(--accent); }
|
|
9551
|
+
.pm-tools > button:focus-visible, .pm-sources button:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
|
|
9552
|
+
.pm-tools > button[aria-busy="true"] { cursor:progress; opacity:.7; }
|
|
9553
|
+
.pm-sources { display:inline-flex; flex-wrap:wrap; gap:6px; }
|
|
9554
|
+
.pm-sources[hidden] { display:none; }
|
|
9555
|
+
.pm-sources button { background:none; border:1px solid var(--border-strong); color:var(--text-muted); border-radius:999px; padding:4px 11px; font:inherit; font-size:11.5px; cursor:pointer; max-width:260px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
|
|
9556
|
+
.pm-sources button:hover { color:var(--text); border-color:var(--accent); }
|
|
9557
|
+
.pm-sources button[aria-pressed="true"] { color:var(--text); border-color:var(--accent); background:var(--accent-dim); }
|
|
9558
|
+
.pm-body { max-height:52vh; padding-bottom:4px; scrollbar-width:thin; scrollbar-color:var(--border-strong) transparent; }
|
|
9559
|
+
.pm-head, .pm-row { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1.3fr) minmax(0,1.6fr); gap:6px 14px; align-items:start; }
|
|
9560
|
+
.pm-head { padding:2px 12px 6px; color:var(--text-dim); font-size:10.5px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; }
|
|
9561
|
+
.pm-row { padding:10px 12px; margin:0 0 7px; border:1px solid var(--border); border-radius:8px; background:var(--surface-2); }
|
|
9562
|
+
.pm-row.changed { border-color:color-mix(in srgb, var(--accent) 55%, var(--border)); }
|
|
9563
|
+
.pm-name { display:block; color:var(--text); font-family:var(--mono); font-size:12.5px; overflow-wrap:anywhere; }
|
|
9564
|
+
.pm-count { display:block; margin-top:2px; color:var(--text-dim); font-size:11px; }
|
|
9565
|
+
.pm-chip { display:inline-block; padding:2px 8px; border:1px solid var(--border-strong); border-radius:999px; color:var(--text-muted); font-size:10.5px; font-weight:700; letter-spacing:.02em; }
|
|
9566
|
+
.pm-chip.is-sure { color:var(--ok); border-color:color-mix(in srgb, var(--ok) 45%, var(--border)); }
|
|
9567
|
+
.pm-chip.is-check { color:var(--warn); border-color:color-mix(in srgb, var(--warn) 45%, var(--border)); }
|
|
9568
|
+
.pm-why { display:block; margin-top:5px; color:var(--text-muted); font-size:11.5px; line-height:1.4; }
|
|
9569
|
+
.pm-pick .wf-trigger { width:100%; }
|
|
9570
|
+
.pm-pick { min-width:0; }
|
|
9571
|
+
.pm-pick .pm-popover { position:static; margin-top:6px; width:100%; min-width:0; max-width:100%; box-sizing:border-box; box-shadow:none; animation:none; }
|
|
9572
|
+
.pm-body { overflow-x:hidden; }
|
|
9573
|
+
.pm-pick .pm-list { max-height:220px; overflow-y:auto; scrollbar-width:thin; scrollbar-color:var(--border-strong) transparent; }
|
|
9574
|
+
.pm-pick .pm-list::-webkit-scrollbar, .pm-body::-webkit-scrollbar { width:8px; }
|
|
9575
|
+
.pm-pick .pm-list::-webkit-scrollbar-thumb, .pm-body::-webkit-scrollbar-thumb { background:var(--border-strong); border-radius:5px; }
|
|
9576
|
+
.pm-pick .pm-list::-webkit-scrollbar-track, .pm-body::-webkit-scrollbar-track { background:transparent; }
|
|
9577
|
+
.pm-caution { grid-column:1 / -1; margin:2px 0 0; padding:6px 10px; border-left:2px solid var(--warn); background:color-mix(in srgb, var(--warn) 8%, var(--surface-2)); color:var(--text-muted); font-size:11.5px; line-height:1.45; }
|
|
9578
|
+
.pm-caution[hidden] { display:none; }
|
|
9579
|
+
.pm-empty { padding:14px 12px; color:var(--text-muted); font-size:12.5px; line-height:1.5; }
|
|
9580
|
+
.pm-note { margin:2px 0 6px; color:var(--text-dim); font-size:11.5px; line-height:1.5; }
|
|
9581
|
+
.pm-note:empty { display:none; }
|
|
9582
|
+
@media (max-width: 760px) {
|
|
9583
|
+
.pm-head { display:none; }
|
|
9584
|
+
.pm-row { grid-template-columns:1fr; }
|
|
9585
|
+
}
|
|
9586
|
+
|
|
9365
9587
|
/* ── The FloLess window (Electron shell) ─────────────────────────────────────────────────────────────────────────────
|
|
9366
9588
|
Everything below hangs off `html.desktop`, which web/desktop-window.js adds ONLY when the shell's bridge is present, so
|
|
9367
9589
|
a browser tab never sees a single rule of it. The header becomes the window's title bar: Windows draws the caption
|
package/dist/web/app.js
CHANGED
|
@@ -1483,15 +1483,24 @@ const $findOverlay = document.getElementById('find-overlay');
|
|
|
1483
1483
|
const $findInput = document.getElementById('find-input');
|
|
1484
1484
|
const $findCount = document.getElementById('find-count');
|
|
1485
1485
|
|
|
1486
|
+
// Returns whether the overlay opened, so Ctrl/Cmd+F only takes the key from the browser's own
|
|
1487
|
+
// Find when there was something on screen for FloLess to search (#3142).
|
|
1486
1488
|
function openFind() {
|
|
1487
1489
|
const ws = window.flolessWorkspaces && window.flolessWorkspaces.findActive();
|
|
1490
|
+
const app = document.getElementById('app');
|
|
1488
1491
|
// In Workspaces mode there's nothing to find off the Model step — don't pop a dead overlay.
|
|
1489
|
-
if (
|
|
1492
|
+
if (app.classList.contains('mode-workspaces') && !ws) return false;
|
|
1493
|
+
// Agents and the dashboard view hide the overlay in CSS: opening it there would focus an
|
|
1494
|
+
// invisible input and swallow the browser's Find for nothing.
|
|
1495
|
+
if (app.classList.contains('mode-agents') || document.querySelector('.canvas.view-dashboard')) return false;
|
|
1496
|
+
// An open dialog is what the person is looking at; the overlay would open behind it.
|
|
1497
|
+
if (document.querySelector('.modal-backdrop.show')) return false;
|
|
1490
1498
|
$findInput.placeholder = ws ? 'Find in model…' : 'Find tool…';
|
|
1491
1499
|
$findOverlay.classList.add('show');
|
|
1492
1500
|
$findInput.value = '';
|
|
1493
1501
|
$findCount.textContent = '';
|
|
1494
1502
|
setTimeout(() => $findInput.focus(), 50);
|
|
1503
|
+
return true;
|
|
1495
1504
|
}
|
|
1496
1505
|
function closeFind() {
|
|
1497
1506
|
$findOverlay.classList.remove('show');
|
|
@@ -1949,6 +1958,12 @@ function workflowCanvasGesture(target) {
|
|
|
1949
1958
|
return !target?.closest?.('#ws-landing, #ws-project, #wf-landing, #wf-draft, #agents-surface, .dashboard');
|
|
1950
1959
|
}
|
|
1951
1960
|
|
|
1961
|
+
function homeFitsCanvas(target) {
|
|
1962
|
+
if (document.querySelector('.modal-backdrop.show') || !workflowCanvasGesture(target)) return false;
|
|
1963
|
+
if (target?.isContentEditable) return false;
|
|
1964
|
+
return !target || target === document.body || target === document.documentElement || !!target.closest?.('.canvas');
|
|
1965
|
+
}
|
|
1966
|
+
|
|
1952
1967
|
// Ctrl/Cmd + scroll wheel = zoom on canvas (skips OS-level browser zoom)
|
|
1953
1968
|
let zoomAccum = 0;
|
|
1954
1969
|
document.querySelector('.canvas').addEventListener('wheel', (e) => {
|
|
@@ -2410,7 +2425,7 @@ document.addEventListener('keydown', (e) => {
|
|
|
2410
2425
|
if (cmd && !e.shiftKey && e.key.toLowerCase() === 'o') { e.preventDefault(); doOpen(); return; }
|
|
2411
2426
|
if (cmd && e.shiftKey && e.key.toLowerCase() === 's') { e.preventDefault(); doSaveAs(); return; }
|
|
2412
2427
|
if (cmd && !e.shiftKey && e.key.toLowerCase() === 's') { e.preventDefault(); doSave(); return; }
|
|
2413
|
-
if (cmd && e.key.toLowerCase() === 'f') { e.preventDefault();
|
|
2428
|
+
if (cmd && e.key.toLowerCase() === 'f') { if (openFind()) e.preventDefault(); return; }
|
|
2414
2429
|
if (cmd && e.key.toLowerCase() === 'i') { e.preventDefault(); openIntegrations(); return; }
|
|
2415
2430
|
// Agents and Routines — the panels reachable from the ≡ menu since #149 moved their
|
|
2416
2431
|
// toolbar buttons there. Use the same Ctrl-or-Cmd modifier (`cmd`) as Ctrl+O/S/F/I
|
|
@@ -2421,7 +2436,13 @@ document.addEventListener('keydown', (e) => {
|
|
|
2421
2436
|
if (cmd && (e.key === '=' || e.key === '+')) { e.preventDefault(); zoomBy(+1); return; }
|
|
2422
2437
|
if (cmd && e.key === '-') { e.preventDefault(); zoomBy(-1); return; }
|
|
2423
2438
|
if (cmd && e.key === '0') { e.preventDefault(); resetView(); autoFit = false; return; }
|
|
2424
|
-
|
|
2439
|
+
// Home re-fits the workflow graph only when that graph is what is on screen and the key came
|
|
2440
|
+
// from the canvas itself (or nothing focused). Anywhere else — Workspaces, Agents, a list, an
|
|
2441
|
+
// open dialog — Home stays the browser's: scroll to the top, first row, start of line (#3142).
|
|
2442
|
+
if (e.key === 'Home') {
|
|
2443
|
+
if (!homeFitsCanvas(e.target)) return;
|
|
2444
|
+
e.preventDefault(); fitToScreen(); autoFit = true; return;
|
|
2445
|
+
}
|
|
2425
2446
|
if (e.key === 'Escape') {
|
|
2426
2447
|
if ($findOverlay.classList.contains('show')) closeFind();
|
|
2427
2448
|
if ($integrationsModal.classList.contains('show')) $integrationsModal.classList.remove('show');
|