@floless/app 0.141.1 → 0.142.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/web/app.css CHANGED
@@ -2461,6 +2461,7 @@
2461
2461
  border-radius: 4px; font-size: 13px; line-height: 1;
2462
2462
  }
2463
2463
  .req-copy:hover { color: var(--text); background: var(--surface); }
2464
+ .req-copy:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
2464
2465
  .req-del:hover { color: var(--err); border-color: var(--err); }
2465
2466
  /* Brief highlight for the SPECIFIC row "Open Requests" hands off to — the request the user just
2466
2467
  queued, which in an oldest-first list is at the bottom and usually below the fold.
package/dist/web/aware.js CHANGED
@@ -9200,6 +9200,15 @@
9200
9200
  showToast(err.body.error, err.body.runtime && err.body.runtime.state === 'failed' ? 'err' : 'warn');
9201
9201
  return null;
9202
9202
  }
9203
+ // No background run can open this change's screenshots, so nothing started (#1670 for Codex,
9204
+ // #1693 for Claude). An expected limit, not a failure: say the server's sentence and put the
9205
+ // person on the row's Copy. Only a tweak is refused this way, and a tweak never opens the
9206
+ // request-queued modal.
9207
+ if (code === 'needs-screenshots' && typeof err.body.error === 'string') {
9208
+ showToast(err.body.error, 'warn');
9209
+ focusRequestContinuation(req.id);
9210
+ return null;
9211
+ }
9203
9212
  showToast('We couldn’t start this run because FloLess could not reach the workflow. Check your connection, then try again.', 'err');
9204
9213
  return null;
9205
9214
  }
@@ -9210,7 +9219,7 @@
9210
9219
  const row = Array.from(list?.querySelectorAll('.req-item') || [])
9211
9220
  .find((candidate) => candidate.dataset.id === requestId);
9212
9221
  if (!row) return;
9213
- const continuation = row.querySelector('.req-app-handoff, .req-app-copy, .req-run-resume-command');
9222
+ const continuation = row.querySelector('.req-app-handoff, .req-app-copy, .req-run-resume-command, .req-copy');
9214
9223
  if (continuation) { continuation.focus(); return; }
9215
9224
  row.setAttribute('tabindex', '-1');
9216
9225
  row.focus();
@@ -11527,7 +11536,6 @@
11527
11536
  const VENDOR_ICON = { microsoft: '▦', google: 'G', trimble: '◬', autodesk: 'A' };
11528
11537
  let integrations = [];
11529
11538
  let integrationsLoadState = 'idle';
11530
- let integrationsLoadError = '';
11531
11539
  let runtimeSectionExpanded = false;
11532
11540
  let pendingIntegrationFocus = '';
11533
11541
 
@@ -11859,7 +11867,6 @@
11859
11867
  // open window flips to Connected the moment `aware connect` writes the token.
11860
11868
  function refreshIntegrations(announcement = '') {
11861
11869
  integrationsLoadState = 'loading';
11862
- integrationsLoadError = '';
11863
11870
  if ($integrationsModal.classList.contains('show')) renderIntegrations();
11864
11871
  return api('/api/integrations')
11865
11872
  .then(({ integrations: list }) => {
@@ -11873,7 +11880,6 @@
11873
11880
  })
11874
11881
  .catch((error) => {
11875
11882
  integrationsLoadState = 'failed';
11876
- integrationsLoadError = error instanceof Error ? error.message : String(error);
11877
11883
  if ($integrationsModal.classList.contains('show')) renderIntegrations();
11878
11884
  reportErr(error);
11879
11885
  });
@@ -12441,7 +12447,6 @@
12441
12447
  paintForegroundListening();
12442
12448
  appendNarration(`Live session started for <strong>${escapeHtml(id)}</strong> — the report updates on every event. Click <strong>■ Stop run</strong> (top right) to end it.`);
12443
12449
  } catch (e) {
12444
- const msg = (e && e.message) ? e.message : String(e);
12445
12450
  // A refusal (a watcher already holds this host) names the concrete path back —
12446
12451
  // never a dead end. Other failures are recoverable; the server returns them
12447
12452
  // in-band, so a failed start is a viewer message + toast, not a console fault.
package/dist/web/chat.css CHANGED
@@ -903,6 +903,14 @@
903
903
  .ai-chat-attachment span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
904
904
  .ai-chat-attachment img { width: 24px; height: 24px; object-fit: cover; border-radius: 3px; background: var(--surface-3); }
905
905
  .ai-chat-attachment button { width: 18px; height: 18px; padding: 0; flex: none; }
906
+ /* #1653: the selected Steel objects that go with the next question. The label is the chip's own text made
907
+ focusable (so its tooltip reaches a keyboard), not a second button look. */
908
+ .ai-chat-attachment .ai-chat-subjects-label {
909
+ width: auto; height: auto; min-width: 0; padding: 0 2px; border: 0; background: transparent; color: var(--text);
910
+ font: inherit; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
911
+ }
912
+ .ai-chat-attachment .ai-chat-subjects-label:hover { background: transparent; color: var(--text); text-decoration: underline; }
913
+ .ai-chat-message-subjects { align-self: flex-end; max-width: min(100%, 360px); color: var(--text-dim); font: 11px/1.4 var(--ui); text-align: right; overflow-wrap: anywhere; }
906
914
 
907
915
  /* The Tekla model library carried over from a Graft receipt. It sits in the composer's rigid row,
908
916
  above the input, and wraps rather than ellipsising: it states exactly what the binding permits,
@@ -924,6 +932,19 @@
924
932
  .ai-chat-tekla-chip-copy { flex: 1; min-width: 0; overflow-wrap: anywhere; }
925
933
  .ai-chat-tekla-chip-copy strong { color: var(--text); font-weight: 600; }
926
934
  .ai-chat-tekla-chip-state { color: var(--text-dim); }
935
+ /* The chat's standing Tekla read allowance (#1689): a small pill, revoked by the button beside it. */
936
+ .ai-chat-tekla-allowed {
937
+ display: inline-block;
938
+ padding: 0 6px;
939
+ border: 1px solid var(--accent);
940
+ border-radius: 999px;
941
+ color: var(--text);
942
+ font-size: 10px;
943
+ line-height: 15px;
944
+ white-space: nowrap;
945
+ }
946
+ .ai-chat-tekla-chip-copy:focus { outline: none; }
947
+ .ai-chat-tekla-chip-copy:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
927
948
  .ai-chat-tekla-remove {
928
949
  flex: none;
929
950
  appearance: none;