@floless/app 0.169.0 → 0.171.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.
Files changed (87) hide show
  1. package/dist/floless-server.cjs +65531 -43728
  2. package/dist/schemas/drawing-check.profile.v1.schema.json +12 -2
  3. package/dist/schemas/steel.model.v2.schema.json +196 -4
  4. package/dist/skills/floless-app-bridge/SKILL.md +3 -3
  5. package/dist/skills/floless-app-knowledge/SKILL.md +46 -15
  6. package/dist/skills/floless-app-new-workflow/SKILL.md +8 -1
  7. package/dist/skills/floless-app-onboarding/SKILL.md +5 -4
  8. package/dist/skills/floless-app-onboarding/references/floless-surfaces.md +0 -3
  9. package/dist/skills/floless-app-queue/SKILL.md +2 -3
  10. package/dist/skills/floless-app-report-issue/SKILL.md +2 -2
  11. package/dist/skills/floless-app-routines/SKILL.md +2 -2
  12. package/dist/skills/floless-app-routines/references/routines-api.md +20 -8
  13. package/dist/skills/floless-app-steel-model/SKILL.md +42 -39
  14. package/dist/skills/floless-app-steel-model/references/custom-connections.md +47 -0
  15. package/dist/skills/floless-app-steel-model/references/custom-sections.md +32 -0
  16. package/dist/skills/floless-app-steel-takeoff/SKILL.md +31 -1
  17. package/dist/skills/floless-app-ui/SKILL.md +71 -126
  18. package/dist/skills/floless-app-workflows/SKILL.md +22 -3
  19. package/dist/skills/floless-app-workflows/references/agent-steps.md +40 -6
  20. package/dist/skills/floless-app-workflows/references/exec-contract.md +27 -0
  21. package/dist/skills/floless-app-workflows/references/script-runner.md +105 -0
  22. package/dist/web/add-ons.js +407 -0
  23. package/dist/web/agent-steps.js +89 -18
  24. package/dist/web/agents.js +32 -22
  25. package/dist/web/analytics.js +1 -1
  26. package/dist/web/app.css +331 -190
  27. package/dist/web/app.js +33 -13
  28. package/dist/web/aware.js +926 -218
  29. package/dist/web/chat.css +6 -1
  30. package/dist/web/chat.js +316 -112
  31. package/dist/web/checkpoint-standard.js +5 -3
  32. package/dist/web/commands-drawing-check.js +1 -0
  33. package/dist/web/commands-filter.js +23 -0
  34. package/dist/web/commands-shell.js +479 -78
  35. package/dist/web/commands-steel.js +69 -2
  36. package/dist/web/commands-tekla-parser.js +23 -0
  37. package/dist/web/connections.js +14 -3
  38. package/dist/web/drawing-check-editor.js +352 -88
  39. package/dist/web/failure-copy.js +33 -2
  40. package/dist/web/filter-ai-proposal.js +11 -8
  41. package/dist/web/flo-3d.js +1 -1
  42. package/dist/web/guide.js +36 -29
  43. package/dist/web/index.html +98 -57
  44. package/dist/web/instructor.js +101 -17
  45. package/dist/web/kb-categories.js +64 -7
  46. package/dist/web/left-pane.js +4 -1
  47. package/dist/web/local-discovery.js +8 -7
  48. package/dist/web/missed-routines.js +239 -0
  49. package/dist/web/model-change-findings.js +430 -0
  50. package/dist/web/model-change-review.js +414 -0
  51. package/dist/web/model-editor-steel-adapter.js +2 -2
  52. package/dist/web/model-measure.js +6 -0
  53. package/dist/web/model-spatial-panel.js +19 -4
  54. package/dist/web/model-spatial-tools.js +3 -3
  55. package/dist/web/model-viewport-revit-adapter.js +3 -3
  56. package/dist/web/origin-rule.js +155 -0
  57. package/dist/web/project-access.js +1 -1
  58. package/dist/web/project-history.js +7 -1
  59. package/dist/web/project-modules.js +2 -2
  60. package/dist/web/project-rfis.js +6 -1
  61. package/dist/web/project-workflows.js +2 -2
  62. package/dist/web/revit-editor.css +85 -0
  63. package/dist/web/revit-editor.js +58 -9
  64. package/dist/web/run-history.js +12 -1
  65. package/dist/web/sha256-sync.js +62 -0
  66. package/dist/web/steel-3d-core.js +46 -9
  67. package/dist/web/steel-3d-flo.js +153 -7
  68. package/dist/web/steel-3d-view.js +33 -5
  69. package/dist/web/steel-ai-marks.js +3 -1
  70. package/dist/web/steel-custom-connection.js +161 -0
  71. package/dist/web/steel-custom-sections.js +1796 -0
  72. package/dist/web/steel-editor.html +732 -161
  73. package/dist/web/steel-environments.js +297 -0
  74. package/dist/web/steel-filter-usage.js +299 -0
  75. package/dist/web/steel-filter.html +104 -6
  76. package/dist/web/steel-model-v2-client-validation.js +11 -1
  77. package/dist/web/steel-model-v2-commands.js +116 -13
  78. package/dist/web/steel-model-v2-projection.js +1 -1
  79. package/dist/web/steel-read-confidence.js +1 -56
  80. package/dist/web/step-rename.js +3 -2
  81. package/dist/web/tekla-editor.html +1 -0
  82. package/dist/web/terminal-requests.js +1 -1
  83. package/dist/web/tool-updates.js +7 -6
  84. package/dist/web/workspaces.js +1968 -138
  85. package/launch.mjs +87 -9
  86. package/package.json +4 -1
  87. package/dist/web/panels.js +0 -831
@@ -347,7 +347,6 @@
347
347
  var error = new Error(said || callFailureText({ status: res.status, body: body }, readOnly));
348
348
  error.body = body;
349
349
  error.status = res.status;
350
- error.serverText = Boolean(said) && body.code !== 'response-unreadable';
351
350
  throw error;
352
351
  }
353
352
  return body;
@@ -489,7 +488,7 @@
489
488
  if (typeof bridge?.reviewWorkflowUpdate !== 'function') { $live.textContent = 'Workflow updates are still starting. Try again in a moment.'; return; }
490
489
  close();
491
490
  Promise.resolve(bridge.reviewWorkflowUpdate(item.id)).catch(function (error) {
492
- open($pill); $live.textContent = error.message;
491
+ open($pill); $live.textContent = errorText(error, { action: 'open the workflow update', retrySafe: true });
493
492
  });
494
493
  });
495
494
  row.appendChild(text); row.appendChild(button);
@@ -535,7 +534,7 @@
535
534
  console.warn('could not open the workflow', error);
536
535
  // Back to the dialog, with the reason in its live line (open() clears that line, so it is set after).
537
536
  open($pill.hidden ? null : $pill);
538
- $live.textContent = error.message;
537
+ $live.textContent = errorText(error, { action: 'open the workflow', retrySafe: true });
539
538
  });
540
539
  });
541
540
  row.appendChild(openButton);
@@ -588,8 +587,10 @@
588
587
  // #3097: "Nothing was removed" is the server's claim, so it follows only the server's own reason. A lost or
589
588
  // unexplained answer may follow a removal that went through, so it asks the person to check the list instead.
590
589
  console.warn('forget folder failed', error);
591
- $live.textContent = error.serverText
592
- ? error.message + ' Nothing was removed from the list.'
590
+ // The server's own sentence, worked out again from its reply (personText); never the error's message.
591
+ var said = error.body && error.body.code !== 'response-unreadable' && typeof personText === 'function' ? personText(error.body) : '';
592
+ $live.textContent = said
593
+ ? said + ' Nothing was removed from the list.'
593
594
  : (typeof failureCopy === 'function'
594
595
  ? failureCopy(error, { action: 'remove it from the list', unsure: 'Check whether it is still listed before trying again.' }).text
595
596
  : 'Couldn’t remove it from the list. Check whether it is still listed before trying again.');
@@ -1248,7 +1249,7 @@
1248
1249
  ? plural(moved, 'tool approval', 'tool approvals') + ' done. ' + (moved === 1 ? 'That workflow now runs' : 'Those workflows now run') + ' on the new tool versions.'
1249
1250
  : moved + ' of ' + plural(results.length, 'tool approval', 'tool approvals') + ' done. The others say why below.') + waitingSentence();
1250
1251
  } else {
1251
- $live.textContent = body.sentence || body.error || 'Nothing was moved. Review it again.';
1252
+ $live.textContent = body.sentence || (typeof personText === 'function' ? personText(body) : '') || 'Nothing was moved. Review it again.';
1252
1253
  }
1253
1254
  } catch (error) {
1254
1255
  // The answer was lost on the way back: the server may have moved some workflows. Ask again rather than guess.