@floless/app 0.139.1 → 0.141.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 +32765 -36490
- package/dist/skills/floless-app-steel-takeoff/SKILL.md +8 -3
- package/dist/skills/floless-app-vectorize/SKILL.md +1 -1
- package/dist/skills/floless-app-vectorize/scripts/extract_pdf.py +7 -1
- package/dist/skills/floless-app-vectorize/scripts/vision_to_contract.py +7 -1
- package/dist/web/app.css +163 -3
- package/dist/web/aware.js +657 -66
- package/dist/web/chat.css +387 -25
- package/dist/web/chat.js +2005 -108
- package/dist/web/commands-filter.js +86 -8
- package/dist/web/commands-revit.js +2 -1
- package/dist/web/commands-shell.js +249 -13
- package/dist/web/commands-steel.js +34 -24
- package/dist/web/commands.js +19 -0
- package/dist/web/filter-ai-context.js +57 -0
- package/dist/web/filter-ai-proposal.js +87 -0
- package/dist/web/filter-guidance.js +8 -0
- package/dist/web/index.html +72 -11
- package/dist/web/instructor.js +231 -33
- package/dist/web/left-pane.js +185 -18
- package/dist/web/local-discovery.js +297 -0
- package/dist/web/model-editor-revit-adapter.js +3 -1
- package/dist/web/model-editor-steel-adapter.js +3 -1
- package/dist/web/model-editor.css +4 -4
- package/dist/web/model-revit-module.js +63 -0
- package/dist/web/model-viewport-toolbar.js +13 -1
- package/dist/web/model-viewport.js +16 -1
- package/dist/web/overlay-escape.js +79 -0
- package/dist/web/revit-editor.css +7 -0
- package/dist/web/revit-editor.html +5 -5
- package/dist/web/revit-editor.js +20 -10
- package/dist/web/steel-detail-refs.js +0 -69
- package/dist/web/steel-editor.html +103 -264
- package/dist/web/steel-filter-core.js +298 -12
- package/dist/web/steel-filter-hit.js +526 -0
- package/dist/web/steel-filter.html +1647 -75
- package/dist/web/steel-split-view.js +1 -1
- package/dist/web/vector-3d.html +3 -0
- package/dist/web/vector-editor.html +9 -1
- package/dist/web/workspaces.js +198 -25
- package/package.json +5 -2
|
@@ -148,7 +148,7 @@ export function chromeVisibility({ mode, activePane } = {}) {
|
|
|
148
148
|
const active = resolveActivePane(m, activePane);
|
|
149
149
|
const panes = panesShown(m);
|
|
150
150
|
return {
|
|
151
|
-
|
|
151
|
+
viewBar2d: panes.two, // #viewBar2d (Fit all / Zoom to selected) — addresses the plan canvas
|
|
152
152
|
planCombo: panes.two, // plan switcher — chooses what the plan canvas shows
|
|
153
153
|
m3dChrome: panes.three, // #m3dBar, #m3dCube, #m3dAxes — painted over the 3D canvas
|
|
154
154
|
dim2d: active === '2d', // #dimB
|
package/dist/web/vector-3d.html
CHANGED
|
@@ -219,6 +219,9 @@
|
|
|
219
219
|
<script src="commands-vector3d.js"></script>
|
|
220
220
|
<script src="instructor-reporter.js"></script>
|
|
221
221
|
<script>window.InstructorReporter.mount({ surface: 'vector-3d' });</script>
|
|
222
|
+
<!-- An Esc this page leaves unused closes the shell's editor overlay (#1571). -->
|
|
223
|
+
<script src="overlay-escape.js"></script>
|
|
224
|
+
<script>window.OverlayEscape.mount();</script>
|
|
222
225
|
|
|
223
226
|
<script type="importmap">{"imports":{"three":"./vendor/three.module.js","three/addons/":"./vendor/","three-bvh-csg":"./vendor/three-bvh-csg.module.js"}}</script>
|
|
224
227
|
<script type="module" src="./steel-3d-view.js"></script>
|
|
@@ -77,6 +77,10 @@
|
|
|
77
77
|
#state .spin{width:26px;height:26px;border:3px solid var(--line);border-top-color:var(--brand);border-radius:50%;animation:spin .8s linear infinite}
|
|
78
78
|
@keyframes spin{to{transform:rotate(360deg)}}
|
|
79
79
|
aside{width:244px;flex:none;background:var(--panel);border-left:1px solid var(--line);padding:12px;overflow:auto;display:flex;flex-direction:column;gap:14px}
|
|
80
|
+
/* The pane title, flush to the pane edges so it reads as the header and not one more section
|
|
81
|
+
(two levels: h2 pane, h3 sections); the -12px undoes the aside's own 12px padding, previous
|
|
82
|
+
line. Revit's .insp-head in this page's own tokens. */
|
|
83
|
+
aside h2{margin:-12px -12px 0;padding:12px 12px 9px;font-size:14px;font-weight:650;color:var(--text);border-bottom:1px solid var(--line)}
|
|
80
84
|
aside h3{margin:0;font-size:10px;color:var(--mut);text-transform:uppercase;letter-spacing:.06em}
|
|
81
85
|
.ck{display:flex;align-items:center;gap:8px;padding:5px 6px;border-radius:6px;cursor:pointer;color:var(--text)}
|
|
82
86
|
.ck:hover{background:var(--line)}
|
|
@@ -219,7 +223,8 @@
|
|
|
219
223
|
</div>
|
|
220
224
|
<div id="toast" role="status"><span id="toastMsg"></span><button class="ghost" id="undoBtn" data-command-id="vector.undo-delete">Undo</button></div>
|
|
221
225
|
</div>
|
|
222
|
-
<aside>
|
|
226
|
+
<aside aria-labelledby="asideTitle">
|
|
227
|
+
<h2 id="asideTitle">Properties</h2>
|
|
223
228
|
<div>
|
|
224
229
|
<h3>Show</h3>
|
|
225
230
|
<label class="ck" data-command-id="vector.show-kind"><input type="checkbox" id="kLines" checked><span>Lines</span><span class="ct" id="cLines">0</span></label>
|
|
@@ -251,6 +256,9 @@
|
|
|
251
256
|
<script src="commands-vector.js"></script>
|
|
252
257
|
<script src="instructor-reporter.js"></script>
|
|
253
258
|
<script>window.InstructorReporter.mount({ surface: 'vector-editor' });</script>
|
|
259
|
+
<!-- An Esc this page leaves unused closes the shell's editor overlay (#1571). -->
|
|
260
|
+
<script src="overlay-escape.js"></script>
|
|
261
|
+
<script>window.OverlayEscape.mount();</script>
|
|
254
262
|
<script>
|
|
255
263
|
(function () {
|
|
256
264
|
'use strict';
|
package/dist/web/workspaces.js
CHANGED
|
@@ -274,6 +274,11 @@
|
|
|
274
274
|
const $app = document.getElementById('app');
|
|
275
275
|
const $switch = document.getElementById('mode-switch');
|
|
276
276
|
const $workflowTab = $switch.querySelector('button[data-mode="workflows"]');
|
|
277
|
+
const $workspaceTab = $switch.querySelector('button[data-mode="workspaces"]');
|
|
278
|
+
// The Workspaces tab's AUTHORED tooltip, captured from the markup so applyMode() can restore it
|
|
279
|
+
// verbatim whenever the tab is not the way out of an open project — project closed, or Workflows
|
|
280
|
+
// mode — and the markup stays the one place that sentence is written.
|
|
281
|
+
const WORKSPACE_TAB_TIP = $workspaceTab?.getAttribute('data-tip') || '';
|
|
277
282
|
const $landing = document.getElementById('ws-landing');
|
|
278
283
|
const $project = document.getElementById('ws-project');
|
|
279
284
|
const $spine = document.getElementById('ws-spine');
|
|
@@ -337,6 +342,7 @@
|
|
|
337
342
|
const $revisionFile = document.getElementById('ws-revision-file');
|
|
338
343
|
const $sourcePlaceholder = document.getElementById('ws-source-placeholder'); // shown for a filter-less Source step
|
|
339
344
|
const $revitSourceActions = document.getElementById('ws-source-actions');
|
|
345
|
+
const $revitOpenModel = document.getElementById('ws-revit-open-model');
|
|
340
346
|
const $revitReplace = document.getElementById('ws-revit-replace');
|
|
341
347
|
const $revitRetry = document.getElementById('ws-revit-retry');
|
|
342
348
|
const $revitCancel = document.getElementById('ws-revit-cancel');
|
|
@@ -739,7 +745,7 @@
|
|
|
739
745
|
const wsDefaultAppEntries = () => Object.entries(WORKSPACE_APPS)
|
|
740
746
|
.filter(([, descriptor]) => descriptor.serverAuthorizedOnly !== true)
|
|
741
747
|
.map(([id]) => ({ appId: id, templateId: id, ambiguous: false }));
|
|
742
|
-
function installedWorkspaceAppEntries(apps, capabilities) {
|
|
748
|
+
function installedWorkspaceAppEntries(apps, capabilities, coreDefaults = 'ready') {
|
|
743
749
|
// Group every installed app whose lineage root the client can render. A known descriptor plus a
|
|
744
750
|
// live installed source is sufficient authority for today's first-party create cards; requiring
|
|
745
751
|
// the lagging source flag as a third vote breaks partial updates (#362). Still call out a FLAGGED
|
|
@@ -766,6 +772,18 @@
|
|
|
766
772
|
// its presentation entry even when authorization intentionally filtered it out of `apps`.
|
|
767
773
|
if (!byRoot.has('revit-model')) byRoot.set('revit-model', ['revit-model']);
|
|
768
774
|
}
|
|
775
|
+
// Keep the two built-in drawing actions visible when only one workflow is installed.
|
|
776
|
+
// /api/apps is authoritative about which canonical workflow is missing, so the card's
|
|
777
|
+
// click handler can explain the setup failure instead of silently removing the action.
|
|
778
|
+
const missingCoreRoots = new Set();
|
|
779
|
+
for (const root of ['steel-model', 'vectorize']) {
|
|
780
|
+
if (!byRoot.has(root)) {
|
|
781
|
+
byRoot.set(root, [root]);
|
|
782
|
+
// During bootstrap, one workflow may appear before its sibling finishes compiling.
|
|
783
|
+
// Keep the first-paint card neutral until provisioning reaches a terminal state.
|
|
784
|
+
if (['ready', 'failed', 'not-applicable'].includes(coreDefaults)) missingCoreRoots.add(root);
|
|
785
|
+
}
|
|
786
|
+
}
|
|
769
787
|
return Object.keys(WORKSPACE_APPS).filter((root) => byRoot.has(root)).map((root) => {
|
|
770
788
|
// Sorted, so which app a card targets is stable across loads rather than dependent on the
|
|
771
789
|
// order `aware app list` happened to return. The canonical install wins when present: it is
|
|
@@ -777,10 +795,14 @@
|
|
|
777
795
|
templateId: root,
|
|
778
796
|
ambiguous: root === 'revit-model' ? false : ids.length > 1,
|
|
779
797
|
...(capabilityStatus ? { capabilityStatus } : {}),
|
|
798
|
+
...(missingCoreRoots.has(root) ? { missing: true } : {}),
|
|
780
799
|
};
|
|
781
800
|
});
|
|
782
801
|
}
|
|
783
802
|
let wsAppEntries = wsDefaultAppEntries();
|
|
803
|
+
// Null means the installed catalogue has not been confirmed. A first-paint card can be clicked
|
|
804
|
+
// while /api/apps is still loading, but a confirmed missing workflow must stop before the picker.
|
|
805
|
+
let knownInstalledWorkspaceIds = null;
|
|
784
806
|
let current = null; // the open project (null = landing)
|
|
785
807
|
|
|
786
808
|
// One server-derived answer owns every approval-facing surface. Unknown/error states fail closed;
|
|
@@ -1080,6 +1102,15 @@
|
|
|
1080
1102
|
b.classList.toggle('active', on);
|
|
1081
1103
|
b.setAttribute('aria-selected', String(on));
|
|
1082
1104
|
});
|
|
1105
|
+
// The tab's tooltip has to be true in both of its states. The authored one (WORKSPACE_TAB_TIP —
|
|
1106
|
+
// an invitation to open the module) describes it to someone outside it; inside a project the
|
|
1107
|
+
// same tab is the way OUT (see the click handler below), and a tooltip still inviting you in
|
|
1108
|
+
// would be false.
|
|
1109
|
+
if ($workspaceTab) {
|
|
1110
|
+
$workspaceTab.setAttribute('data-tip', ws && current
|
|
1111
|
+
? 'Back to all projects — leaves this project for the project list.'
|
|
1112
|
+
: WORKSPACE_TAB_TIP);
|
|
1113
|
+
}
|
|
1083
1114
|
$landing.hidden = !ws || !!current;
|
|
1084
1115
|
$project.hidden = !ws || !current;
|
|
1085
1116
|
$spine.hidden = !ws || !current;
|
|
@@ -1117,8 +1148,19 @@
|
|
|
1117
1148
|
let modeChangeSequence = 0;
|
|
1118
1149
|
function showWorkflowOpening(opening) {
|
|
1119
1150
|
if (!$workflowTab) return;
|
|
1120
|
-
|
|
1121
|
-
|
|
1151
|
+
// Explicit ARIA "true", never toggleAttribute: that writes a valueless `aria-busy=""`, which is not
|
|
1152
|
+
// a valid ARIA state and matches neither setMode()'s `=== 'true'` re-click guard nor the app.css
|
|
1153
|
+
// `[aria-busy="true"]` rule — so every re-click started another read (#1489).
|
|
1154
|
+
// Instructor reads aria-disabled="true" as blocked; data-blocked-reason is what `?` then says.
|
|
1155
|
+
if (opening) {
|
|
1156
|
+
$workflowTab.setAttribute('aria-busy', 'true');
|
|
1157
|
+
$workflowTab.setAttribute('aria-disabled', 'true');
|
|
1158
|
+
$workflowTab.setAttribute('data-blocked-reason', 'Workflows is already opening. Wait a moment, or choose Workspaces to stay where you are.');
|
|
1159
|
+
} else {
|
|
1160
|
+
$workflowTab.removeAttribute('aria-busy');
|
|
1161
|
+
$workflowTab.removeAttribute('aria-disabled');
|
|
1162
|
+
$workflowTab.removeAttribute('data-blocked-reason');
|
|
1163
|
+
}
|
|
1122
1164
|
if (opening) {
|
|
1123
1165
|
$workflowTab.setAttribute('aria-label', 'Opening Workflows');
|
|
1124
1166
|
$workflowTab.innerHTML = '<span class="rtn-spinner" aria-hidden="true"></span><span>Opening Workflows…</span>';
|
|
@@ -1167,7 +1209,24 @@
|
|
|
1167
1209
|
}
|
|
1168
1210
|
$switch.addEventListener('click', (e) => {
|
|
1169
1211
|
const b = e.target.closest('button[data-mode]');
|
|
1170
|
-
if (b)
|
|
1212
|
+
if (!b) return;
|
|
1213
|
+
// The ACTIVE tab doubles as "home" for its module: clicking Workspaces from inside a project
|
|
1214
|
+
// leaves it for the project list, the same as the ‹ button next to the project name — a small
|
|
1215
|
+
// control that is easy to miss next to a tab that looks like it should do it. Workflows keeps
|
|
1216
|
+
// the no-op: it has no landing to go home TO yet, and would get the same treatment once it
|
|
1217
|
+
// does. The Ctrl+1/2 shortcuts stay pure mode switches on purpose: a key that silently closes
|
|
1218
|
+
// the project you are in is a surprise, the button is the deliberate affordance.
|
|
1219
|
+
// (`closeProject`, not `setMode`: setMode never clears `current`.)
|
|
1220
|
+
//
|
|
1221
|
+
// One exception: while a Workflows switch is still pending (the "Opening Workflows…" spinner,
|
|
1222
|
+
// `#mode-switch` busy — see setMode above), the still-selected Workspaces tab is the CANCEL and
|
|
1223
|
+
// must keep reaching setMode, whose sequence bump discards the resolving read. `mode` is only
|
|
1224
|
+
// written once that read lands, so without this check the home branch would read "active tab,
|
|
1225
|
+
// project open" for the whole pending window and close the project the user asked to stay in —
|
|
1226
|
+
// and the read would then drop them in Workflows anyway.
|
|
1227
|
+
const pending = $switch.getAttribute('aria-busy') === 'true';
|
|
1228
|
+
if (!pending && b.dataset.mode === 'workspaces' && mode === 'workspaces' && current) { closeProject(); return; }
|
|
1229
|
+
setMode(b.dataset.mode);
|
|
1171
1230
|
});
|
|
1172
1231
|
document.addEventListener('keydown', (e) => {
|
|
1173
1232
|
if (!(e.ctrlKey || e.metaKey) || e.altKey || e.shiftKey) return;
|
|
@@ -1200,6 +1259,14 @@
|
|
|
1200
1259
|
async function loadProjects(opts) {
|
|
1201
1260
|
const seq = ++projectsLoadSeq;
|
|
1202
1261
|
const stale = () => seq !== projectsLoadSeq;
|
|
1262
|
+
const deferIfBusy = () => {
|
|
1263
|
+
if (!opts?.deferWhenBusy || !landingBusy()) return false;
|
|
1264
|
+
// An apps-changed refresh may start while a dialog is still closed, then finish after
|
|
1265
|
+
// it opens. Requeue the event before replacing the opener or adopting unseen cards.
|
|
1266
|
+
clearTimeout(appsChangedTimer);
|
|
1267
|
+
appsChangedTimer = setTimeout(appsChangedRefresh, 250);
|
|
1268
|
+
return true;
|
|
1269
|
+
};
|
|
1203
1270
|
// Surface a real failure — never present a server/network error as an empty workspace
|
|
1204
1271
|
// (the empty-state CTA would be a lie: "no projects yet" when the truth is "load failed").
|
|
1205
1272
|
try {
|
|
@@ -1220,6 +1287,7 @@
|
|
|
1220
1287
|
// secondary concern (a collapsed Trash disclosure) but it was measured at 0.31-0.83 s normally
|
|
1221
1288
|
// and 5.6 s under load, and holding the first paint behind it made it the only remaining source
|
|
1222
1289
|
// of a blank landing. The repaint below adds the Archived section when it arrives.
|
|
1290
|
+
if (deferIfBusy()) return;
|
|
1223
1291
|
renderLanding();
|
|
1224
1292
|
// Archived ("Trash") list — never let its failure blank the main workspace, but don't swallow it
|
|
1225
1293
|
// silently either: warn so a broken archive listing is diagnosable (a bare catch here would hide
|
|
@@ -1240,7 +1308,10 @@
|
|
|
1240
1308
|
archived = [];
|
|
1241
1309
|
console.warn('[workspaces] archived list failed to load: ' + (err && err.message || err));
|
|
1242
1310
|
}
|
|
1243
|
-
if (archivedSig(archived) !== archivedBefore)
|
|
1311
|
+
if (archivedSig(archived) !== archivedBefore) {
|
|
1312
|
+
if (deferIfBusy()) return;
|
|
1313
|
+
renderLanding();
|
|
1314
|
+
}
|
|
1244
1315
|
// Which workspace apps to offer a create card for: installed apps whose LINEAGE ROOT we know how
|
|
1245
1316
|
// to render (have a WORKSPACE_APPS descriptor). Matching on the root, not the raw id, keeps cards
|
|
1246
1317
|
// alive across rename/duplicate. Do not narrow on the installed source's `workspace` flag: an
|
|
@@ -1249,20 +1320,31 @@
|
|
|
1249
1320
|
// Keep descriptor order for a stable card order. A load failure RE-WIDENS the entries to the
|
|
1250
1321
|
// descriptor keys (the catch assigns them): still usable, and a card for something uninstalled is
|
|
1251
1322
|
// refused by the server on click.
|
|
1252
|
-
const cardsSig = (entries) => entries.map((e) => `${e.appId}>${e.templateId}${e.ambiguous ? '?' : ''}:${e.capabilityStatus || ''}`).join(',');
|
|
1323
|
+
const cardsSig = (entries) => entries.map((e) => `${e.appId}>${e.templateId}${e.ambiguous ? '?' : ''}:${e.capabilityStatus || ''}:${e.missing ? 'missing' : ''}`).join(',');
|
|
1253
1324
|
const cardsBefore = cardsSig(wsAppEntries);
|
|
1325
|
+
let coreDefaults = null;
|
|
1254
1326
|
try {
|
|
1255
|
-
const
|
|
1327
|
+
const catalogue = await api('/api/apps');
|
|
1256
1328
|
if (stale()) return;
|
|
1257
|
-
|
|
1329
|
+
if (deferIfBusy()) return;
|
|
1330
|
+
const { apps, workspaceCapabilities } = catalogue;
|
|
1331
|
+
coreDefaults = catalogue.coreDefaults;
|
|
1332
|
+
knownInstalledWorkspaceIds = new Set((apps || []).map((app) => app.id));
|
|
1333
|
+
wsAppEntries = installedWorkspaceAppEntries(apps, workspaceCapabilities, coreDefaults);
|
|
1334
|
+
if (coreDefaults === 'idle' || coreDefaults === 'provisioning') knownInstalledWorkspaceIds = null;
|
|
1258
1335
|
// Hardening: /api/apps loaded but reported NONE of our known installed workspace apps (a
|
|
1259
1336
|
// transient empty/read blip). Rather than render zero create cards, fall back to the descriptor
|
|
1260
1337
|
// keys — the same usable default a full /api/apps failure lands on.
|
|
1261
|
-
if (
|
|
1338
|
+
if ((apps || []).length === 0 && (workspaceCapabilities || []).length === 0 && coreDefaults !== 'failed' && Object.keys(WORKSPACE_APPS).length > 0) {
|
|
1339
|
+
// A transient empty catalogue cannot prove the fallback workflows are absent.
|
|
1340
|
+
// Let the picker continue; the project POST still reports a real missing workflow.
|
|
1341
|
+
knownInstalledWorkspaceIds = null;
|
|
1262
1342
|
wsAppEntries = wsDefaultAppEntries();
|
|
1263
1343
|
}
|
|
1264
1344
|
} catch {
|
|
1265
1345
|
if (stale()) return;
|
|
1346
|
+
if (deferIfBusy()) return;
|
|
1347
|
+
knownInstalledWorkspaceIds = null;
|
|
1266
1348
|
// /api/apps failed — fall back to the descriptor keys so the create cards still work.
|
|
1267
1349
|
wsAppEntries = wsDefaultAppEntries();
|
|
1268
1350
|
}
|
|
@@ -1276,10 +1358,22 @@
|
|
|
1276
1358
|
// than the one it acts on. It targets by id so nothing acts on the wrong row, but it reads as
|
|
1277
1359
|
// if it does. Close it first.
|
|
1278
1360
|
closeProjMenu();
|
|
1361
|
+
if (deferIfBusy()) return;
|
|
1279
1362
|
renderLanding();
|
|
1280
1363
|
}
|
|
1281
1364
|
}
|
|
1282
1365
|
|
|
1366
|
+
function missingWorkspaceWorkflowMessage(templateId) {
|
|
1367
|
+
const action = templateId === 'vectorize' ? 'Trace a drawing'
|
|
1368
|
+
: templateId === 'steel-model' ? 'Steel model from drawings'
|
|
1369
|
+
: templateId === 'revit-model' ? 'Revit model' : 'This project';
|
|
1370
|
+
return `${action} isn’t ready because its workflow is missing. Restart FloLess and try again. If it’s still missing, use Report an issue.`;
|
|
1371
|
+
}
|
|
1372
|
+
|
|
1373
|
+
function workspaceWorkflowKnownMissing(appId) {
|
|
1374
|
+
return knownInstalledWorkspaceIds !== null && !knownInstalledWorkspaceIds.has(appId);
|
|
1375
|
+
}
|
|
1376
|
+
|
|
1283
1377
|
// A workflow was renamed, duplicated, imported or deleted — here, in another tab, or by the terminal
|
|
1284
1378
|
// AI. aware.js relays the `apps-changed` SSE as a DOM event (the same seam as floless:render-progress:
|
|
1285
1379
|
// a relay, not a wider bridge, since this is the only listener). Without it the landing kept showing
|
|
@@ -1326,7 +1420,7 @@
|
|
|
1326
1420
|
closeProjMenu();
|
|
1327
1421
|
// `quiet`: the user did not ask for this load, so a surprise failure toast would be noise. A real
|
|
1328
1422
|
// failure still shows — renderLanding() paints the error banner from projectsLoadError.
|
|
1329
|
-
loadProjects({ quiet: true }).catch((err) => {
|
|
1423
|
+
loadProjects({ quiet: true, deferWhenBusy: true }).catch((err) => {
|
|
1330
1424
|
// loadProjects swallows API failures itself, so reaching here means the RENDER threw. Nothing to
|
|
1331
1425
|
// restore (no control was put into a pending state), but never swallow it silently.
|
|
1332
1426
|
console.error('[workspaces] apps-changed refresh failed to render: ' + ((err && err.message) || err));
|
|
@@ -1752,6 +1846,21 @@
|
|
|
1752
1846
|
}
|
|
1753
1847
|
|
|
1754
1848
|
function workspaceCreateCardHtml(entry, action) {
|
|
1849
|
+
if (entry.missing === true) {
|
|
1850
|
+
const descriptionId = `ws-${entry.templateId}-missing`;
|
|
1851
|
+
const buttonStart = entry.templateId === 'vectorize'
|
|
1852
|
+
? `<button type="button" class="ws-seed ws-seed-remedy" data-command-id="shell.project-trace-missing-workflow" `
|
|
1853
|
+
: `<button type="button" class="ws-seed ws-seed-remedy" data-command-id="shell.project-steel-missing-workflow" `;
|
|
1854
|
+
return buttonStart +
|
|
1855
|
+
`aria-label="${escapeAttr(`${action.headline} needs setup — why unavailable`)}" aria-describedby="${escapeAttr(descriptionId)}" ` +
|
|
1856
|
+
`data-seed-app="${escapeAttr(entry.appId)}" data-seed-template="${escapeAttr(entry.templateId)}" data-seed-action="${escapeAttr(action.kind)}">` +
|
|
1857
|
+
`<span class="plus" aria-hidden="true">!</span>` +
|
|
1858
|
+
`<span class="ws-seed-headline">${escapeHtml(action.headline)}</span>` +
|
|
1859
|
+
`<span class="ws-seed-capability ws-seed-state">Needs setup</span>` +
|
|
1860
|
+
`<span class="ws-seed-sub" id="${escapeAttr(descriptionId)}">${escapeHtml(missingWorkspaceWorkflowMessage(entry.templateId))}</span>` +
|
|
1861
|
+
`<span class="ws-seed-action">Why unavailable →</span>` +
|
|
1862
|
+
`</button>`;
|
|
1863
|
+
}
|
|
1755
1864
|
if (entry.templateId === 'revit-model' && entry.capabilityStatus && entry.capabilityStatus !== 'ready') {
|
|
1756
1865
|
const states = {
|
|
1757
1866
|
'access-required': {
|
|
@@ -1783,7 +1892,7 @@
|
|
|
1783
1892
|
const descriptionId = `ws-revit-${entry.capabilityStatus || 'check-unavailable'}`;
|
|
1784
1893
|
return `<button type="button" class="ws-seed ws-seed-remedy" ` +
|
|
1785
1894
|
`aria-label="${escapeAttr(state.aria)}" aria-describedby="${escapeAttr(descriptionId)}" ` +
|
|
1786
|
-
`data-revit-remedy="${escapeAttr(entry.capabilityStatus || 'check-unavailable')}">` +
|
|
1895
|
+
`data-command-id="shell.revit-view-access" data-revit-remedy="${escapeAttr(entry.capabilityStatus || 'check-unavailable')}">` +
|
|
1787
1896
|
`<span class="plus" aria-hidden="true">R</span>` +
|
|
1788
1897
|
`<span class="ws-seed-headline">Revit model</span>` +
|
|
1789
1898
|
`<span class="ws-seed-capability ws-seed-state">${escapeHtml(state.status)}</span>` +
|
|
@@ -1792,6 +1901,10 @@
|
|
|
1792
1901
|
`</button>`;
|
|
1793
1902
|
}
|
|
1794
1903
|
const acceptsDrop = action.kind === 'drawing' || action.kind === 'rvt';
|
|
1904
|
+
const createCommand = action.kind !== 'drawing' ? ''
|
|
1905
|
+
: entry.templateId === 'steel-model' ? 'data-command-id="shell.project-create-steel-from-drawings" '
|
|
1906
|
+
: entry.templateId === 'vectorize' ? 'data-command-id="shell.project-create-trace-from-drawing" '
|
|
1907
|
+
: '';
|
|
1795
1908
|
// Name the target workflow ONLY when the root has more than one live app behind it, so the
|
|
1796
1909
|
// ordinary card stays clean and the extra line means something wherever it does appear. It
|
|
1797
1910
|
// must also go on the aria-label: the button's own aria-label REPLACES the accessible name
|
|
@@ -1799,6 +1912,7 @@
|
|
|
1799
1912
|
const target = entry.ambiguous ? entry.appId : '';
|
|
1800
1913
|
return `<button type="button" class="ws-seed${acceptsDrop ? ' ws-seed-drop' : ''}" ` +
|
|
1801
1914
|
`aria-label="${escapeAttr((action.label || action.headline) + (target ? ` (on the ${target} workflow)` : ''))}" ` +
|
|
1915
|
+
createCommand +
|
|
1802
1916
|
(action.tip ? `data-tip="${escapeAttr(action.tip)}" ` : '') +
|
|
1803
1917
|
`data-seed-app="${escapeAttr(entry.appId)}" data-seed-template="${escapeAttr(entry.templateId)}" data-seed-action="${escapeAttr(action.kind)}"` +
|
|
1804
1918
|
(acceptsDrop ? ` data-seed-drop="${escapeAttr(entry.appId)}" data-seed-drop-kind="${escapeAttr(action.kind)}"` : '') +
|
|
@@ -2119,8 +2233,19 @@
|
|
|
2119
2233
|
// check stays a check rather than an assumption: a future kind must declare its own branch,
|
|
2120
2234
|
// not silently inherit the file picker.
|
|
2121
2235
|
if (seed.dataset.seedAction === 'drawing') {
|
|
2122
|
-
|
|
2123
|
-
|
|
2236
|
+
if (workspaceWorkflowKnownMissing(appId)) {
|
|
2237
|
+
showToast(missingWorkspaceWorkflowMessage(templateId), 'warn');
|
|
2238
|
+
return;
|
|
2239
|
+
}
|
|
2240
|
+
let files;
|
|
2241
|
+
try { files = await pickDrawingFiles($seedFile); } // keep native picker in the click activation
|
|
2242
|
+
catch { showToast('Couldn’t open the drawing picker. Try again.', 'warn'); return; }
|
|
2243
|
+
if (!files.length) return;
|
|
2244
|
+
if (workspaceWorkflowKnownMissing(appId)) {
|
|
2245
|
+
showToast(missingWorkspaceWorkflowMessage(templateId), 'warn');
|
|
2246
|
+
return;
|
|
2247
|
+
}
|
|
2248
|
+
createFromDrawing(appId, templateId, files);
|
|
2124
2249
|
} else if (seed.dataset.seedAction === 'rvt') {
|
|
2125
2250
|
const file = await pickRvtFile($seedRvt);
|
|
2126
2251
|
if (file) createFromRvt(appId, templateId, file);
|
|
@@ -2158,6 +2283,7 @@
|
|
|
2158
2283
|
const $seedRvt = document.createElement('input');
|
|
2159
2284
|
$seedRvt.type = 'file'; $seedRvt.accept = '.rvt,application/x-rvt'; $seedRvt.hidden = true;
|
|
2160
2285
|
document.body.appendChild($seedRvt);
|
|
2286
|
+
$revitOpenModel?.addEventListener('click', () => setStep('model'));
|
|
2161
2287
|
$revitReplace?.addEventListener('click', async () => {
|
|
2162
2288
|
const project = current;
|
|
2163
2289
|
if (!project) return;
|
|
@@ -2236,7 +2362,12 @@
|
|
|
2236
2362
|
if (zone.dataset.seedDropKind === 'rvt') {
|
|
2237
2363
|
if (files.length === 1 && /\.rvt$/i.test(files[0].name)) createFromRvt(zone.dataset.seedDrop, zone.dataset.seedTemplate || zone.dataset.seedDrop, files[0]);
|
|
2238
2364
|
else showToast('Choose one Revit .rvt file.', 'warn');
|
|
2239
|
-
} else if (files.length)
|
|
2365
|
+
} else if (files.length) {
|
|
2366
|
+
const appId = zone.dataset.seedDrop;
|
|
2367
|
+
const templateId = zone.dataset.seedTemplate || appId;
|
|
2368
|
+
if (workspaceWorkflowKnownMissing(appId)) showToast(missingWorkspaceWorkflowMessage(templateId), 'warn');
|
|
2369
|
+
else createFromDrawing(appId, templateId, files);
|
|
2370
|
+
}
|
|
2240
2371
|
});
|
|
2241
2372
|
|
|
2242
2373
|
async function promptName(title, label, value) {
|
|
@@ -2333,6 +2464,7 @@
|
|
|
2333
2464
|
function projectSetupErrorMessage(error) {
|
|
2334
2465
|
const raw = String(error && error.body?.error || error && error.message || error || '');
|
|
2335
2466
|
const code = String(error && (error.code || error.body?.code) || '');
|
|
2467
|
+
if (code === 'not-installed') return missingWorkspaceWorkflowMessage(projectSetupState?.templateId);
|
|
2336
2468
|
if (code === 'chat-provider-unavailable' || /sign in|provider .* unavailable|chat providers are not configured/i.test(raw)) {
|
|
2337
2469
|
return 'Sign in to Claude or Codex before starting this project in AI Chat. You can still create the project only.';
|
|
2338
2470
|
}
|
|
@@ -2664,14 +2796,21 @@
|
|
|
2664
2796
|
if (detailNode) detailNode.textContent = detail;
|
|
2665
2797
|
}
|
|
2666
2798
|
|
|
2799
|
+
// mode: 'active' (import running) | 'imported' (this import just landed — offer to open it) |
|
|
2800
|
+
// 'ready' (steady state / cancelled) | 'failed'.
|
|
2667
2801
|
function paintRevitSourceActions(mode, canReplace = true, canRetry = true) {
|
|
2668
2802
|
if (!$revitSourceActions) return;
|
|
2669
|
-
$
|
|
2803
|
+
$revitOpenModel.hidden = mode !== 'imported';
|
|
2670
2804
|
$revitReplace.hidden = mode === 'active' || !canReplace;
|
|
2671
2805
|
$revitRetry.hidden = mode !== 'failed' || !canRetry;
|
|
2672
2806
|
$revitCancel.hidden = mode !== 'active';
|
|
2807
|
+
$revitSourceActions.hidden = [$revitOpenModel, $revitReplace, $revitRetry, $revitCancel].every((b) => b.hidden);
|
|
2673
2808
|
$revitReassure.hidden = mode !== 'active';
|
|
2674
|
-
|
|
2809
|
+
// The spinner's hook is deliberately NOT aria-busy. This element IS the live region below, and
|
|
2810
|
+
// pollRevitImport narrates the import through it by rewriting the title and detail; marking a
|
|
2811
|
+
// live region busy tells assistive tech to withhold exactly those updates, so the change that
|
|
2812
|
+
// gives sighted users a spinner would have taken the running commentary away from everyone else.
|
|
2813
|
+
$sourcePlaceholder?.setAttribute('data-importing', String(mode === 'active'));
|
|
2675
2814
|
$sourcePlaceholder?.setAttribute('role', mode === 'failed' ? 'alert' : 'status');
|
|
2676
2815
|
$sourcePlaceholder?.setAttribute('aria-live', mode === 'failed' ? 'assertive' : 'polite');
|
|
2677
2816
|
$sourcePlaceholder?.setAttribute('aria-atomic', 'true');
|
|
@@ -2761,8 +2900,8 @@
|
|
|
2761
2900
|
if (copy) { paintRevitSourceState(copy[0], copy[1]); continue; }
|
|
2762
2901
|
if (operation.state === 'ready') {
|
|
2763
2902
|
revitActiveOperation = null;
|
|
2764
|
-
paintRevitSourceState('Model ready to review', '
|
|
2765
|
-
paintRevitSourceActions('
|
|
2903
|
+
paintRevitSourceState('Model ready to review', 'Imported as a draft — not approved yet.');
|
|
2904
|
+
paintRevitSourceActions('imported', true);
|
|
2766
2905
|
// A Model tab opened during conversion has already loaded its temporary "unavailable" state.
|
|
2767
2906
|
// Invalidate that frame now: reload immediately when visible, or on the next tab activation.
|
|
2768
2907
|
reloadModelFromServerTruth();
|
|
@@ -2875,6 +3014,12 @@
|
|
|
2875
3014
|
paintRevitSourceState('Revit source', 'Checking the current RVT and import state…');
|
|
2876
3015
|
paintRevitSourceActions('ready', false);
|
|
2877
3016
|
void refreshRevitSourceState(p.id);
|
|
3017
|
+
} else {
|
|
3018
|
+
// This pane is shared with the apps that have no filter step (vectorize), and only the branch
|
|
3019
|
+
// above ever repaints it. Without this reset, opening one of those straight after a Revit
|
|
3020
|
+
// import leaves Revit's controls sitting on it — a spinner, an Open Model tab and a Cancel
|
|
3021
|
+
// import that would act on the OTHER project's operation.
|
|
3022
|
+
paintRevitSourceActions('ready', false);
|
|
2878
3023
|
}
|
|
2879
3024
|
if (d.filter && ['model', 'exports', 'history'].includes(initialStep)) {
|
|
2880
3025
|
pendingPresenceStep = { projectId: p.id, step: initialStep };
|
|
@@ -3364,6 +3509,21 @@
|
|
|
3364
3509
|
// Keep steel projects stage-by-stage while the first drawing read is in progress. The later tabs
|
|
3365
3510
|
// stay visible so the user can see what comes next, but explain their prerequisite instead of
|
|
3366
3511
|
// opening empty destinations during a potentially long terminal-AI read.
|
|
3512
|
+
function savedFilterNextStep(req) {
|
|
3513
|
+
const continuation = req?.filterSaveContinuation;
|
|
3514
|
+
if (continuation?.state === 'queued') return 'FloLess will continue the drawing read in the linked AI Chat when that conversation is ready.';
|
|
3515
|
+
if (continuation?.state === 'continuing') return 'FloLess sent the saved filter to the linked AI Chat. Follow that conversation for the drawing read.';
|
|
3516
|
+
if (continuation?.state === 'completed') return 'The linked AI Chat finished its response. Review its result in that conversation.';
|
|
3517
|
+
if (continuation?.nextAction) return continuation.nextAction;
|
|
3518
|
+
return 'Return to the same terminal AI session that prepared this Drawing Filter and tell it to continue the drawing read.';
|
|
3519
|
+
}
|
|
3520
|
+
|
|
3521
|
+
function readyFilterNextStep(req) {
|
|
3522
|
+
return req?.chatConversation?.executionOwner === 'chat'
|
|
3523
|
+
? 'Then press Save filter in the top-right corner. FloLess will continue the drawing read in the linked AI Chat.'
|
|
3524
|
+
: 'Then press Save filter in the top-right corner. After Save, return to the terminal AI that prepared it and tell it to continue.';
|
|
3525
|
+
}
|
|
3526
|
+
|
|
3367
3527
|
function stageGateFor(step) {
|
|
3368
3528
|
const d = wsApp();
|
|
3369
3529
|
if (!d || !d.filter || !['model', 'exports', 'history'].includes(step)) return '';
|
|
@@ -3385,8 +3545,9 @@
|
|
|
3385
3545
|
if (step === 'model') {
|
|
3386
3546
|
if (waitingForInitial && revCardReq?.preparationState === 'blocked') return 'FloLess could not finish drawing preparation. Restart FloLess, then open Requests and follow the detailed instructions if it remains blocked.';
|
|
3387
3547
|
if (waitingForInitial && revCardReq?.preparationState === 'manifest-published' && !revCardReq?.prepassReady) return 'Drawing preparation is complete and saved. Return to the same terminal AI session and tell it to continue creating the Drawing Filter.';
|
|
3388
|
-
if (waitingForInitial && revCardReq?.
|
|
3389
|
-
if (waitingForInitial && revCardReq?.
|
|
3548
|
+
if (waitingForInitial && revCardReq?.filterSaveContinuation?.state === 'recovery-needed') return `The Drawing Filter needs attention. ${savedFilterNextStep(revCardReq)}`;
|
|
3549
|
+
if (waitingForInitial && revCardReq?.filterCheckpointCurrent) return `The Drawing Filter is saved. ${savedFilterNextStep(revCardReq)}`;
|
|
3550
|
+
if (waitingForInitial && revCardReq?.prepassReady) return `Check steel, member marks, grids, dimensions, and relevant callouts. Ask in AI Chat on the left if you need help. ${readyFilterNextStep(revCardReq)}`;
|
|
3390
3551
|
if (waitingForInitial && revCardReq?.preparationRetryable) return 'Steel Filter preparation was interrupted. Your drawings are still attached. Return to the same terminal AI and retry preparation for this same request.';
|
|
3391
3552
|
if (waitingForInitial) return 'The initial drawing read is waiting for your terminal AI. The model unlocks after you review the Drawing Filter and press Save filter.';
|
|
3392
3553
|
if (projectContractLifecycle === 'filter-checkpoint') return 'Attach the drawing set again in Drawing Filter to restart the read. The earlier request is no longer available to receive a saved filter.';
|
|
@@ -3486,10 +3647,12 @@
|
|
|
3486
3647
|
? 'FloLess could not finish drawing preparation · Restart FloLess, then open Requests and follow the detailed instructions if it remains blocked. Your drawings are still attached.'
|
|
3487
3648
|
: waitingForInitial && revCardReq?.preparationState === 'manifest-published' && !revCardReq?.prepassReady
|
|
3488
3649
|
? 'Drawing preparation is complete and saved · Return to the same terminal AI session and tell it to continue creating the Drawing Filter. Do not start or copy this request again.'
|
|
3650
|
+
: waitingForInitial && revCardReq?.filterSaveContinuation?.state === 'recovery-needed'
|
|
3651
|
+
? `Drawing Filter needs attention · ${savedFilterNextStep(revCardReq)}`
|
|
3489
3652
|
: waitingForInitial && revCardReq?.filterCheckpointCurrent
|
|
3490
|
-
?
|
|
3653
|
+
? `The Drawing Filter is saved · ${savedFilterNextStep(revCardReq)} Live progress appears here once the read starts.`
|
|
3491
3654
|
: waitingForInitial && revCardReq?.prepassReady
|
|
3492
|
-
? 'Drawing Filter ready for review ·
|
|
3655
|
+
? 'Drawing Filter ready for review · ' + (window.FilterGuidance?.scope || 'Check what this steel read may use — not only the steel. Keep the steel plus member labels and sizes, grid references, scale or location dimensions, and relevant detail or section callouts.') + ' Ask in AI Chat on the left if you are unsure. ' + readyFilterNextStep(revCardReq)
|
|
3493
3656
|
: waitingForInitial && revCardReq?.preparationRetryable
|
|
3494
3657
|
? 'Steel Filter preparation was interrupted · Your drawings are still attached. Return to the same terminal AI and retry preparation for this same request.'
|
|
3495
3658
|
: waitingForInitial
|
|
@@ -8625,11 +8788,21 @@
|
|
|
8625
8788
|
txt.appendChild(document.createTextNode(' Return to the same terminal AI session and tell it to continue creating the Drawing Filter. Do not start or copy this request again.'));
|
|
8626
8789
|
return [dot, txt];
|
|
8627
8790
|
}
|
|
8791
|
+
if (req.filterSaveContinuation?.state === 'recovery-needed') {
|
|
8792
|
+
const dot = revEl('span', 'wrc-warn-ico', '⚠'); dot.setAttribute('aria-hidden', 'true');
|
|
8793
|
+
const txt = revEl('span', 'wrc-text');
|
|
8794
|
+
txt.appendChild(revEl('b', null, 'Drawing Filter needs attention.'));
|
|
8795
|
+
txt.appendChild(document.createTextNode(` ${savedFilterNextStep(req)}`));
|
|
8796
|
+
const review = revEl('button', 'btn-mini', 'Open Drawing Filter');
|
|
8797
|
+
review.type = 'button'; review.dataset.revfilter = ''; review.dataset.commandId = 'shell.revision-filter-open';
|
|
8798
|
+
review.setAttribute('data-tip', 'Focus the Drawing Filter below');
|
|
8799
|
+
return [dot, txt, review];
|
|
8800
|
+
}
|
|
8628
8801
|
if (req.prepassReady && req.filterCheckpointCurrent) {
|
|
8629
8802
|
const dot = revEl('span', 'wrc-dot'); dot.setAttribute('aria-hidden', 'true');
|
|
8630
8803
|
const txt = revEl('span', 'wrc-text');
|
|
8631
8804
|
txt.appendChild(revEl('b', null, 'Drawing Filter saved.'));
|
|
8632
|
-
txt.appendChild(document.createTextNode(
|
|
8805
|
+
txt.appendChild(document.createTextNode(` ${savedFilterNextStep(req)}`));
|
|
8633
8806
|
return [dot, txt];
|
|
8634
8807
|
}
|
|
8635
8808
|
// Defensive fallback for a strip that could not paint; ordinary initial reads put this action in
|
|
@@ -8638,7 +8811,7 @@
|
|
|
8638
8811
|
const dot = revEl('span', 'wrc-dot'); dot.setAttribute('aria-hidden', 'true');
|
|
8639
8812
|
const txt = revEl('span', 'wrc-text');
|
|
8640
8813
|
txt.appendChild(revEl('b', null, 'Drawing Filter is ready.'));
|
|
8641
|
-
txt.appendChild(document.createTextNode('
|
|
8814
|
+
txt.appendChild(document.createTextNode(' ' + (window.FilterGuidance?.scope || 'Check what this steel read may use — not only the steel. Keep the steel plus member labels and sizes, grid references, scale or location dimensions, and relevant detail or section callouts.') + ' Ask in AI Chat on the left if you are unsure. ' + readyFilterNextStep(req)));
|
|
8642
8815
|
const review = revEl('button', 'btn-mini', 'Open Drawing Filter');
|
|
8643
8816
|
review.type = 'button'; review.dataset.revfilter = ''; review.dataset.commandId = 'shell.revision-filter-open';
|
|
8644
8817
|
review.setAttribute('data-tip', 'Focus the Drawing Filter below');
|
|
@@ -8958,7 +9131,7 @@
|
|
|
8958
9131
|
// card too produced the two contradictory-looking status bands in the reported UI.
|
|
8959
9132
|
if (retireRevisionCardForStrip(pending)) return;
|
|
8960
9133
|
const cardKey = `${state}:${revCardReq ? revCardReq.id : ''}:${pending && pending.filterCheckpointCurrent ? 'filter-saved' : pending && pending.prepassReady ? 'filter-ready' : 'read-pending'}:${pending && pending.run ? pending.run.state || '' : ''}`
|
|
8961
|
-
+ (pending ? `:${pending.preparationState || ''}:${pending.preparationRetryable === true}:${pending.canRun === true}:${pending.canCopy === true}:${pending.canClear === true}:${pending.clearWhy || ''}` : '')
|
|
9134
|
+
+ (pending ? `:${pending.preparationState || ''}:${pending.preparationRetryable === true}:${pending.canRun === true}:${pending.canCopy === true}:${pending.canClear === true}:${pending.clearWhy || ''}:${pending.filterSaveContinuation?.state || ''}:${pending.filterSaveContinuation?.nextAction || ''}` : '')
|
|
8962
9135
|
+ (staged ? `:${staged.baseVersion}:${staged.headVersion}:${staged.stageId || ''}:${staged.canDiscardRevision === true}:${staged.discardState || ''}:${staged.discardWhy || ''}:${staged.canClear === true}:${staged.clearWhy || ''}:${unavailableRevisionReviewStages.has(staged.stageId)}` : '');
|
|
8963
9136
|
// The key below exists to preserve focus in the card across the three-second poll. It says
|
|
8964
9137
|
// nothing about the strip, whose progress record advances on its own revision, so the strip is
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@floless/app",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.141.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Thin localhost host for floless.app — serves web/ and shells the aware CLI. No engine, no LLM.",
|
|
6
6
|
"bin": {
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"app:restart": "node launch.mjs restart",
|
|
24
24
|
"test": "node build/run-tests.mjs",
|
|
25
25
|
"test:steel-inspector": "tsx --test steel-filter-inspector.required.ts",
|
|
26
|
+
"test:drawing-identify": "tsx --test drawing-identify.required.ts",
|
|
26
27
|
"test:project-import-pdf": "node build/run-required-tests.mjs projects-store.test.ts rfi-import.test.ts",
|
|
27
28
|
"test:platform": "node build/run-tests.mjs --platform-only",
|
|
28
29
|
"build": "node build/bundle.mjs",
|
|
@@ -38,7 +39,9 @@
|
|
|
38
39
|
"verify:flo-naming": "node build/verify-flo-naming.mjs",
|
|
39
40
|
"verify:forward-merge": "node build/verify-forward-merge.mjs",
|
|
40
41
|
"verify:no-title": "node build/verify-no-title.mjs",
|
|
42
|
+
"verify:css-vars": "node build/verify-css-vars.mjs",
|
|
41
43
|
"verify:runtime-pins": "node build/verify-runtime-pins.mjs",
|
|
44
|
+
"verify:rvt-registry-pins": "node build/verify-rvt-registry-pins.mjs",
|
|
42
45
|
"verify:native-steel": "node build/verify-native-steel.mjs",
|
|
43
46
|
"verify:no-native-select": "node build/verify-no-native-select.mjs",
|
|
44
47
|
"verify:scrollbars": "node build/verify-scrollbars.mjs",
|
|
@@ -93,7 +96,7 @@
|
|
|
93
96
|
"yaml": "^2.9.0"
|
|
94
97
|
},
|
|
95
98
|
"dependencies": {
|
|
96
|
-
"@anthropic-ai/claude-agent-sdk": "0.3.
|
|
99
|
+
"@anthropic-ai/claude-agent-sdk": "0.3.281",
|
|
97
100
|
"@modelcontextprotocol/sdk": "1.30.0",
|
|
98
101
|
"zod": "4.6.5"
|
|
99
102
|
},
|