@floless/app 0.135.1 → 0.137.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 +634 -274
- package/dist/schemas/steel.model.v2.schema.json +18 -17
- package/dist/skills/floless-app-report-issue/SKILL.md +46 -9
- package/dist/skills/floless-app-steel-model/SKILL.md +13 -12
- package/dist/skills/floless-app-steel-takeoff/SKILL.md +61 -65
- package/dist/skills/floless-app-steel-takeoff/references/elevation-registration.md +119 -0
- package/dist/templates/steel-model.flo +44 -4
- package/dist/web/commands-steel.js +6 -0
- package/dist/web/instructor.js +1 -0
- package/dist/web/steel-editor.html +609 -56
- package/dist/web/steel-model-v2-client-validation.js +36 -17
- package/dist/web/steel-model-v2-commands.js +82 -86
- package/dist/web/steel-model-v2-projection.js +179 -22
- package/dist/web/steel-plan-transform.js +82 -29
- package/dist/web/steel-plan-view-id.js +140 -0
- package/dist/web/steel-view-generation.js +2 -1
- package/dist/web/workspaces.js +7 -2
- package/package.json +2 -1
|
@@ -180,7 +180,8 @@ export function nameForSource(source) {
|
|
|
180
180
|
* autosave — so it may reject what `$defs.viewGenerated` cannot hold and nothing else.
|
|
181
181
|
*
|
|
182
182
|
* BOTH IDENTITY-BEARING STRINGS ARE CARRIED BYTE-FOR-BYTE. `axisId` resolves against
|
|
183
|
-
* `grid.axes[].id
|
|
183
|
+
* `grid.axes[].id`, and `sheet` against the PAGES the plan rows were read from — physical provenance,
|
|
184
|
+
* never a view lookup, so a page carrying several views satisfies it once (#938) (`checkModelReferences` →
|
|
184
185
|
* `view-generated-unresolved` for either), and neither carries a `maxLength`, so clamping one turns
|
|
185
186
|
* a reference that resolved into one the server refuses. That is the same narrowing this file's
|
|
186
187
|
* neighbours were corrected for — the clamped id, the trimmed id (#853) — and the earlier revision
|
package/dist/web/workspaces.js
CHANGED
|
@@ -6355,7 +6355,12 @@
|
|
|
6355
6355
|
// is named from its subject.
|
|
6356
6356
|
const rf = p.kind === 'model-changed' ? rootField(p.key) : null;
|
|
6357
6357
|
head.appendChild(revEl('span', 'rev-kind-badge', rf ? rf.badge : (KIND_LABEL[p.kind] || p.kind)));
|
|
6358
|
-
|
|
6358
|
+
// A plan proposal is titled by `viewLabel`, which the SERVER computes with `planViewLabels` (#938).
|
|
6359
|
+
// The rule needs sibling context — a page's name is enough when it carries one view and must be
|
|
6360
|
+
// disambiguated when it carries several — which a single proposal row does not have, so re-deriving
|
|
6361
|
+
// it here produced a different name for the same view than every other surface shows.
|
|
6362
|
+
const planTitle = p.viewLabel || p.sheet || p.viewId || '';
|
|
6363
|
+
const title = revEl('span', 'rev-row-title', rf ? rf.title : (p.memberId || planTitle));
|
|
6359
6364
|
title.id = `${id}-title`;
|
|
6360
6365
|
head.appendChild(title);
|
|
6361
6366
|
main.appendChild(head);
|
|
@@ -6465,7 +6470,7 @@
|
|
|
6465
6470
|
desc.push(on);
|
|
6466
6471
|
}
|
|
6467
6472
|
} else if (p.kind === 'plan-added') {
|
|
6468
|
-
const keys = Object.keys(p.plan || {}).filter((k) => k !== 'sheet');
|
|
6473
|
+
const keys = Object.keys(p.plan || {}).filter((k) => k !== 'sheet' && k !== 'id');
|
|
6469
6474
|
desc.push(revEl('div', 'rev-row-sub', keys.length ? `${keys.length} field${keys.length > 1 ? 's' : ''}: ${keys.slice(0, 6).map(prettyKey).join(', ')}${keys.length > 6 ? '…' : ''}` : 'a new sheet'));
|
|
6470
6475
|
// The omission is NAMED. A reviewer who cannot see the page image should be told it comes with
|
|
6471
6476
|
// the sheet, rather than left to read the field list as complete.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@floless/app",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.137.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": {
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
"verify:flo": "node build/verify-flo-descriptions.mjs",
|
|
34
34
|
"verify:aisc": "node build/verify-aisc-table.mjs",
|
|
35
35
|
"verify:flo-naming": "node build/verify-flo-naming.mjs",
|
|
36
|
+
"verify:forward-merge": "node build/verify-forward-merge.mjs",
|
|
36
37
|
"verify:no-title": "node build/verify-no-title.mjs",
|
|
37
38
|
"verify:native-steel": "node build/verify-native-steel.mjs",
|
|
38
39
|
"verify:no-native-select": "node build/verify-no-native-select.mjs",
|