@floless/app 0.143.0 → 0.145.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 +177602 -161132
- package/dist/schemas/steel.model.v2.schema.json +50 -2
- package/dist/schemas/tekla.model.v1.schema.json +66 -0
- package/dist/schemas/tekla.model.v2.schema.json +69 -0
- package/dist/schemas/tekla.source-package.v1.schema.json +37 -0
- package/dist/skills/floless-app-steel-takeoff/SKILL.md +24 -1
- package/dist/skills/floless-app-workflows/SKILL.md +8 -2
- package/dist/skills/floless-app-workflows/references/workspace-data.md +25 -4
- package/dist/templates/floless-workspace-model-report.flo +27 -23
- package/dist/templates/revit-model.flo +6 -2
- package/dist/templates/tekla-model-report.flo +60 -0
- package/dist/templates/tekla-parser.flo +61 -0
- package/dist/web/app.css +89 -2
- package/dist/web/aware.js +423 -46
- package/dist/web/chat.css +17 -2
- package/dist/web/chat.js +2 -1
- package/dist/web/commands-revit.js +4 -0
- package/dist/web/commands-shell.js +136 -3
- package/dist/web/commands-steel.js +6 -0
- package/dist/web/commands-tekla-parser.js +48 -0
- package/dist/web/commands.js +1 -1
- package/dist/web/grid-core.js +15 -0
- package/dist/web/index.html +43 -5
- package/dist/web/instructor.js +13 -3
- package/dist/web/left-pane.js +160 -10
- package/dist/web/model-artifact-loader.js +15 -0
- package/dist/web/model-display-units.js +89 -0
- package/dist/web/model-editor-revit-adapter.js +21 -4
- package/dist/web/model-editor.css +4 -2
- package/dist/web/model-measure.js +83 -22
- package/dist/web/model-panel-bridge.js +46 -3
- package/dist/web/model-pointer-dock.js +26 -1
- package/dist/web/model-property-display.js +91 -0
- package/dist/web/model-revit-module.js +9 -0
- package/dist/web/model-selection-tools.js +11 -0
- package/dist/web/model-snap-contract.js +14 -0
- package/dist/web/model-snapping.js +564 -139
- package/dist/web/model-spatial-panel.js +52 -21
- package/dist/web/model-structural-grid-view.js +334 -0
- package/dist/web/model-tekla-selection.js +32 -0
- package/dist/web/model-viewport-revit-adapter.js +179 -32
- package/dist/web/revit-editor.css +11 -1
- package/dist/web/revit-editor.html +4 -3
- package/dist/web/revit-editor.js +589 -111
- package/dist/web/steel-3d-view.js +58 -372
- package/dist/web/steel-editor.html +231 -8
- package/dist/web/tekla-editor.html +71 -0
- package/dist/web/tekla-structural-grid-adapter.js +56 -0
- package/dist/web/workspaces.js +872 -97
- package/distribution-profile-production.mjs +4 -0
- package/distribution-resource-inventory.mjs +4 -2
- package/package.json +5 -2
|
@@ -258,6 +258,53 @@
|
|
|
258
258
|
"checked": { "type": "array", "maxItems": 20, "items": { "$ref": "#/$defs/checkedPage" }, "description": "See $defs/gapFacts." }
|
|
259
259
|
}
|
|
260
260
|
},
|
|
261
|
+
"elevationCandidate": {
|
|
262
|
+
"description": "A top-of-steel value the reader READ OFF THE DRAWING for an end it could not settle, and could not tie to this end with certainty (#1723). A PROPOSAL, never a height: nothing in the server places a member at it, and it becomes the end's elevation only when a person applies it in the editor. Two exact shapes. A TEXT reading cites the sheet's text elements and quotes them, and the audit re-reads those elements for the quote. A PICTURE reading (the callout is drawn, not text, as on the set this was built for) cites no elements and must say where on the sheet it is; it is always shown to the person as unchecked.",
|
|
263
|
+
"oneOf": [
|
|
264
|
+
{
|
|
265
|
+
"type": "object",
|
|
266
|
+
"required": ["value", "asRead", "quote", "elementIds", "page"],
|
|
267
|
+
"additionalProperties": false,
|
|
268
|
+
"properties": {
|
|
269
|
+
"value": { "type": "number", "description": "The reader's own conversion of `asRead` to world mm. There is no notation parser, by design, so the server never re-derives it; the person approving sees `asRead` quoted beside it." },
|
|
270
|
+
"asRead": { "type": "string", "minLength": 1, "maxLength": 40, "description": "The value exactly as the drawing writes it, e.g. `29'-0½\"`." },
|
|
271
|
+
"quote": { "type": "string", "minLength": 1, "maxLength": 120, "description": "The whole callout as read, e.g. `T.O. STEEL EL 29'-0½\"`." },
|
|
272
|
+
"near": { "type": "string", "minLength": 1, "maxLength": 60, "description": "Where on the sheet, in the drawing's own words, e.g. `grid H/4`." },
|
|
273
|
+
"page": { "$ref": "#/$defs/checkedPage", "description": "The manifest page the reading was made on; validated against the manifest at audit time." },
|
|
274
|
+
"elementIds": { "type": "array", "minItems": 1, "maxItems": 8, "items": { "type": "string", "minLength": 1 }, "description": "The text elements of `page` that carry `quote`." }
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"type": "object",
|
|
279
|
+
"required": ["value", "asRead", "near", "page"],
|
|
280
|
+
"additionalProperties": false,
|
|
281
|
+
"properties": {
|
|
282
|
+
"value": { "type": "number", "description": "The reader's own conversion of `asRead` to world mm. There is no notation parser, by design, so the server never re-derives it; the person approving sees `asRead` quoted beside it." },
|
|
283
|
+
"asRead": { "type": "string", "minLength": 1, "maxLength": 40, "description": "The value exactly as the drawing writes it, e.g. `29'-0½\"`." },
|
|
284
|
+
"quote": { "type": "string", "minLength": 1, "maxLength": 120, "description": "The whole callout as read, e.g. `T.O. STEEL EL 29'-0½\"`." },
|
|
285
|
+
"near": { "type": "string", "minLength": 1, "maxLength": 60, "description": "Where on the sheet, in the drawing's own words, e.g. `grid H/4`." },
|
|
286
|
+
"page": { "$ref": "#/$defs/checkedPage", "description": "The manifest page the reading was made on; validated against the manifest at audit time." }
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
]
|
|
290
|
+
},
|
|
291
|
+
"elevationCandidates": {
|
|
292
|
+
"type": "array", "minItems": 1, "maxItems": 5, "items": { "$ref": "#/$defs/elevationCandidate" },
|
|
293
|
+
"description": "What the drawing states for this end, as the reader read it (#1723). Proposals the person approves or corrects; never evidence."
|
|
294
|
+
},
|
|
295
|
+
"memberUnknownElevation": {
|
|
296
|
+
"type": "object",
|
|
297
|
+
"required": ["unknown"],
|
|
298
|
+
"additionalProperties": false,
|
|
299
|
+
"description": "`unknownElevation` as a canonical MEMBER END may state it: the same facts plus the values the reader read off the drawing but could not tie to this end (#1723). A separate $def on purpose — `$defs/elevation`, what an OBSERVATION carries, keeps the plain `unknownElevation`, so evidence can never hold a proposal.",
|
|
300
|
+
"properties": {
|
|
301
|
+
"unknown": { "const": true },
|
|
302
|
+
"rfiRef": { "type": "string", "minLength": 1, "description": "Optional reference to the RFI raised for this unknown." },
|
|
303
|
+
"why": { "type": "string", "minLength": 1, "maxLength": 600, "description": "See $defs/gapFacts. Optional in the schema, required by the audit - silence is the one content refusal left." },
|
|
304
|
+
"checked": { "type": "array", "maxItems": 20, "items": { "$ref": "#/$defs/checkedPage" }, "description": "See $defs/gapFacts." },
|
|
305
|
+
"candidates": { "$ref": "#/$defs/elevationCandidates" }
|
|
306
|
+
}
|
|
307
|
+
},
|
|
261
308
|
"assumedElevation": {
|
|
262
309
|
"type": "object",
|
|
263
310
|
"required": ["known", "assumed", "why", "checked"],
|
|
@@ -267,7 +314,8 @@
|
|
|
267
314
|
"known": { "type": "number", "description": "Where the server placed it, in world mm. Not evidence of anything; see `why`." },
|
|
268
315
|
"assumed": { "const": true },
|
|
269
316
|
"why": { "type": "string", "minLength": 1, "maxLength": 600, "description": "Plain English: what the set does say, and why it does not settle this endpoint. Read by `gapFactsStated`, which refuses a blank or template value." },
|
|
270
|
-
"checked": { "type": "array", "minItems": 1, "maxItems": 20, "items": { "$ref": "#/$defs/checkedPage" }, "description": "The pages actually read. At least one, and the audit additionally requires one the manifest holds — a question pointing at a drawing nobody read is worse than no question." }
|
|
317
|
+
"checked": { "type": "array", "minItems": 1, "maxItems": 20, "items": { "$ref": "#/$defs/checkedPage" }, "description": "The pages actually read. At least one, and the audit additionally requires one the manifest holds — a question pointing at a drawing nobody read is worse than no question." },
|
|
318
|
+
"candidates": { "$ref": "#/$defs/elevationCandidates", "description": "Carried verbatim from the reader's unknown end when the server places it (#1723). Never used to place anything." }
|
|
271
319
|
}
|
|
272
320
|
},
|
|
273
321
|
"elevation": {
|
|
@@ -282,7 +330,7 @@
|
|
|
282
330
|
"oneOf": [
|
|
283
331
|
{ "$ref": "#/$defs/knownElevation" },
|
|
284
332
|
{ "$ref": "#/$defs/assumedElevation" },
|
|
285
|
-
{ "$ref": "#/$defs/
|
|
333
|
+
{ "$ref": "#/$defs/memberUnknownElevation" }
|
|
286
334
|
]
|
|
287
335
|
},
|
|
288
336
|
"workPoint": {
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://floless.io/schemas/tekla.model.v1.schema.json",
|
|
4
|
+
"title": "FloLess read-only Tekla model contract",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["type", "origin", "access", "source", "provider", "snapshot", "dependencies", "contractHash"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"type": { "const": "tekla.model/v1" },
|
|
10
|
+
"origin": { "const": "imported" },
|
|
11
|
+
"access": {
|
|
12
|
+
"type": "object", "additionalProperties": false,
|
|
13
|
+
"required": ["module", "accountId", "accountRevision", "policyRevision"],
|
|
14
|
+
"properties": {
|
|
15
|
+
"module": { "const": "tekla" },
|
|
16
|
+
"accountId": { "type": "string", "pattern": "^[0-9a-fA-F-]{36}$" },
|
|
17
|
+
"accountRevision": { "type": "integer", "minimum": 0 },
|
|
18
|
+
"policyRevision": { "type": "integer", "minimum": 0 }
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"source": {
|
|
22
|
+
"type": "object", "additionalProperties": false,
|
|
23
|
+
"required": ["packageSha256", "effectiveSourceSha256"],
|
|
24
|
+
"properties": { "packageSha256": { "$ref": "#/$defs/hash" }, "effectiveSourceSha256": { "$ref": "#/$defs/hash" } }
|
|
25
|
+
},
|
|
26
|
+
"provider": {
|
|
27
|
+
"type": "object", "additionalProperties": false,
|
|
28
|
+
"required": ["formatId", "capabilityId", "protocolVersion", "packageManifestSha256", "fingerprintSha256"],
|
|
29
|
+
"properties": {
|
|
30
|
+
"formatId": { "const": "tekla-db" }, "capabilityId": { "const": "read-model" }, "protocolVersion": { "const": "3" },
|
|
31
|
+
"packageManifestSha256": { "$ref": "#/$defs/hash" }, "fingerprintSha256": { "$ref": "#/$defs/hash" }
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"snapshot": {
|
|
35
|
+
"type": "object", "additionalProperties": false,
|
|
36
|
+
"required": ["projectUuid", "generation", "revisionId", "manifestRoot", "frame", "entities", "tiles"],
|
|
37
|
+
"properties": {
|
|
38
|
+
"projectUuid": { "type": "string", "pattern": "^[0-9a-fA-F-]{36}$" },
|
|
39
|
+
"generation": { "type": "integer", "minimum": 0 }, "revisionId": { "$ref": "#/$defs/hash" },
|
|
40
|
+
"manifestRoot": { "$ref": "#/$defs/hash" }, "frame": { "$ref": "#/$defs/frame" },
|
|
41
|
+
"entities": { "type": "integer", "minimum": 0 }, "tiles": { "type": "integer", "minimum": 1 }
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"type": "array", "items": {
|
|
46
|
+
"type": "object", "additionalProperties": false, "required": ["role", "sha256", "bytes"],
|
|
47
|
+
"properties": { "role": { "type": "string", "minLength": 1 }, "sha256": { "$ref": "#/$defs/hash" }, "bytes": { "type": "integer", "minimum": 0 } }
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"contractHash": { "$ref": "#/$defs/hash" }
|
|
51
|
+
},
|
|
52
|
+
"$defs": {
|
|
53
|
+
"hash": { "type": "string", "pattern": "^[0-9a-f]{64}$" },
|
|
54
|
+
"frame": {
|
|
55
|
+
"type": "object", "additionalProperties": false,
|
|
56
|
+
"required": ["units", "axis", "handedness", "unitScale", "axisOrder", "matrixLayout", "quantization", "precision"],
|
|
57
|
+
"properties": {
|
|
58
|
+
"units": { "enum": ["ft", "mm", "m"] }, "axis": { "enum": ["Z-up", "Y-up"] },
|
|
59
|
+
"handedness": { "enum": ["right-handed", "left-handed"] }, "unitScale": { "type": "number", "exclusiveMinimum": 0 },
|
|
60
|
+
"axisOrder": { "type": "array", "minItems": 3, "maxItems": 3, "items": { "enum": ["X", "Y", "Z"] } },
|
|
61
|
+
"matrixLayout": { "enum": ["row-major", "column-major"] }, "quantization": { "const": "half-even" },
|
|
62
|
+
"precision": { "type": "integer", "minimum": 0 }
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://floless.io/schemas/tekla.model.v2.schema.json",
|
|
4
|
+
"title": "FloLess audited read-only Tekla model contract",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["type", "origin", "access", "source", "provider", "snapshot", "dependencies", "review", "contractHash"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"type": { "const": "tekla.model/v2" },
|
|
10
|
+
"origin": { "const": "imported" },
|
|
11
|
+
"access": {
|
|
12
|
+
"type": "object", "additionalProperties": false,
|
|
13
|
+
"required": ["module", "accountId", "accountRevision", "policyRevision"],
|
|
14
|
+
"properties": {
|
|
15
|
+
"module": { "const": "tekla" }, "accountId": { "type": "string", "pattern": "^[0-9a-fA-F-]{36}$" },
|
|
16
|
+
"accountRevision": { "type": "integer", "minimum": 0 }, "policyRevision": { "type": "integer", "minimum": 0 }
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"source": {
|
|
20
|
+
"type": "object", "additionalProperties": false, "required": ["packageSha256", "effectiveSourceSha256"],
|
|
21
|
+
"properties": { "packageSha256": { "$ref": "#/$defs/hash" }, "effectiveSourceSha256": { "$ref": "#/$defs/hash" } }
|
|
22
|
+
},
|
|
23
|
+
"provider": {
|
|
24
|
+
"type": "object", "additionalProperties": false,
|
|
25
|
+
"required": ["formatId", "capabilityId", "protocolVersion", "packageManifestSha256", "fingerprintSha256"],
|
|
26
|
+
"properties": {
|
|
27
|
+
"formatId": { "const": "tekla-db" }, "capabilityId": { "const": "read-model" }, "protocolVersion": { "const": "3" },
|
|
28
|
+
"packageManifestSha256": { "$ref": "#/$defs/hash" }, "fingerprintSha256": { "$ref": "#/$defs/hash" }
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"snapshot": {
|
|
32
|
+
"type": "object", "additionalProperties": false,
|
|
33
|
+
"required": ["projectUuid", "generation", "revisionId", "manifestRoot", "frame", "entities", "tiles"],
|
|
34
|
+
"properties": {
|
|
35
|
+
"projectUuid": { "type": "string", "pattern": "^[0-9a-fA-F-]{36}$" }, "generation": { "type": "integer", "minimum": 0 },
|
|
36
|
+
"revisionId": { "$ref": "#/$defs/hash" }, "manifestRoot": { "$ref": "#/$defs/hash" }, "frame": { "$ref": "#/$defs/frame" },
|
|
37
|
+
"entities": { "type": "integer", "minimum": 0 }, "tiles": { "type": "integer", "minimum": 1 }
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"dependencies": {
|
|
41
|
+
"type": "array", "items": { "type": "object", "additionalProperties": false, "required": ["role", "sha256", "bytes"],
|
|
42
|
+
"properties": { "role": { "type": "string", "minLength": 1 }, "sha256": { "$ref": "#/$defs/hash" }, "bytes": { "type": "integer", "minimum": 0 } } }
|
|
43
|
+
},
|
|
44
|
+
"review": {
|
|
45
|
+
"type": "object", "additionalProperties": false,
|
|
46
|
+
"required": ["schemaVersion", "digest", "findings", "affectedObjects", "open", "state"],
|
|
47
|
+
"properties": {
|
|
48
|
+
"schemaVersion": { "const": "floless.tekla-import-audit/v1" }, "digest": { "$ref": "#/$defs/hash" },
|
|
49
|
+
"findings": { "type": "integer", "minimum": 0 }, "affectedObjects": { "type": "integer", "minimum": 0 },
|
|
50
|
+
"open": { "type": "integer", "minimum": 0 }, "state": { "enum": ["needs-review", "no-findings"] }
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"contractHash": { "$ref": "#/$defs/hash" }
|
|
54
|
+
},
|
|
55
|
+
"$defs": {
|
|
56
|
+
"hash": { "type": "string", "pattern": "^[0-9a-f]{64}$" },
|
|
57
|
+
"frame": {
|
|
58
|
+
"type": "object", "additionalProperties": false,
|
|
59
|
+
"required": ["units", "axis", "handedness", "unitScale", "axisOrder", "matrixLayout", "quantization", "precision"],
|
|
60
|
+
"properties": {
|
|
61
|
+
"units": { "enum": ["ft", "mm", "m"] }, "axis": { "enum": ["Z-up", "Y-up"] },
|
|
62
|
+
"handedness": { "enum": ["right-handed", "left-handed"] }, "unitScale": { "type": "number", "exclusiveMinimum": 0 },
|
|
63
|
+
"axisOrder": { "type": "array", "minItems": 3, "maxItems": 3, "items": { "enum": ["X", "Y", "Z"] } },
|
|
64
|
+
"matrixLayout": { "enum": ["row-major", "column-major"] }, "quantization": { "const": "half-even" },
|
|
65
|
+
"precision": { "type": "integer", "minimum": 0 }
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://floless.app/schemas/floless.tekla-source-package/v1",
|
|
4
|
+
"title": "floless.tekla-source-package/v1",
|
|
5
|
+
"description": "A closed manifest for one read-only native Tekla model source set. The package digest authenticates this manifest; every file is separately content-addressed and admitted before a provider can see it.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": ["schema", "packageSha256", "primary", "files"],
|
|
8
|
+
"additionalProperties": false,
|
|
9
|
+
"properties": {
|
|
10
|
+
"schema": { "const": "floless.tekla-source-package/v1" },
|
|
11
|
+
"packageSha256": { "type": "string", "pattern": "^[0-9a-f]{64}$" },
|
|
12
|
+
"primary": { "type": "string", "minLength": 1, "maxLength": 512 },
|
|
13
|
+
"files": {
|
|
14
|
+
"type": "array",
|
|
15
|
+
"minItems": 1,
|
|
16
|
+
"maxItems": 10000,
|
|
17
|
+
"items": {
|
|
18
|
+
"type": "object",
|
|
19
|
+
"required": ["logicalPath", "role", "sha256", "bytes", "required"],
|
|
20
|
+
"additionalProperties": false,
|
|
21
|
+
"properties": {
|
|
22
|
+
"logicalPath": { "type": "string", "minLength": 1, "maxLength": 512 },
|
|
23
|
+
"role": {
|
|
24
|
+
"enum": [
|
|
25
|
+
"model-db1", "model-db2", "model-metadata", "profdb", "matdb", "screwdb", "assdb",
|
|
26
|
+
"xslib-db1", "xslib-db2", "model-options", "model-environment", "guid-map",
|
|
27
|
+
"shape", "parametric-profile", "uda-definition", "component-resource"
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
"sha256": { "type": "string", "pattern": "^[0-9a-f]{64}$" },
|
|
31
|
+
"bytes": { "type": "integer", "minimum": 0, "maximum": 536870912 },
|
|
32
|
+
"required": { "type": "boolean" }
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -7,7 +7,7 @@ description: >-
|
|
|
7
7
|
two-phase Drawing Filter process: first prepare and save the deterministic Filter, then read only the
|
|
8
8
|
selected evidence into model-global members, registered plan views, observations, and revision history.
|
|
9
9
|
metadata:
|
|
10
|
-
version: 0.
|
|
10
|
+
version: 0.60.0
|
|
11
11
|
---
|
|
12
12
|
|
|
13
13
|
# Steel Takeoff — read drawings into `steel.model/v2`
|
|
@@ -1097,6 +1097,29 @@ Work in this order:
|
|
|
1097
1097
|
the one thing this whole contract exists to prevent — and the schema refuses it on an observation
|
|
1098
1098
|
outright.
|
|
1099
1099
|
|
|
1100
|
+
**Look before you call a height unknown, and propose what you read.** Top-of-steel callouts are very
|
|
1101
|
+
often DRAWN rather than written, so no text you were handed carries them — on the set this rule came
|
|
1102
|
+
from, not one `T.O. STEEL EL` callout was in the text layer, yet the sheet's picture showed twenty.
|
|
1103
|
+
`GET …/steel-manifest/pages/<pageId>/picture?part=0` is the page as a picture, and `part=1..9` the
|
|
1104
|
+
same sheet in overlapping enlarged tiles. The owner's rule: *"you should suggest — so user can
|
|
1105
|
+
approve it, but it doesn't have to give it to you because you can actually read it."*
|
|
1106
|
+
|
|
1107
|
+
- A callout whose scope plainly governs this end is drawing evidence — record it on the
|
|
1108
|
+
observation, as step 3 says.
|
|
1109
|
+
- One you read but cannot tie to this end with certainty, or several that could apply, go on the
|
|
1110
|
+
unknown as `candidates` (at most five): `{ value, asRead, quote, near, page: { sourceHash, pageId,
|
|
1111
|
+
sheet } }`. `value` is your conversion to world millimetres; `asRead` is the height exactly as
|
|
1112
|
+
drawn (`29'-0½"`); `near` says where on the sheet in the drawing's own words (`grid H/4`). Where
|
|
1113
|
+
the sheet's **text** carries the callout, cite its `elementIds` with `quote` instead of `near` —
|
|
1114
|
+
a quote the cited elements do not carry is refused.
|
|
1115
|
+
- The server then asks the user WITH the reading — the sheet, the callout and the height — instead
|
|
1116
|
+
of asking cold, and tells them how to apply it.
|
|
1117
|
+
- **Never write a candidate's value as `known`, and never turn one into an observed height** — not
|
|
1118
|
+
even after the user says yes in the chat. The server cannot tell an approval from a reading, so a
|
|
1119
|
+
candidate becomes a height only when the person applies it in the steel editor (one click on
|
|
1120
|
+
*Use*, or typing the right height). Relay the proposal's `ask` verbatim and never pick a
|
|
1121
|
+
candidate yourself; a choice lists heights from lowest to highest and none of them is preferred.
|
|
1122
|
+
|
|
1100
1123
|
9. **Every plan view you read members from MUST state its own `elevation_mm`.** Without one there is
|
|
1101
1124
|
nowhere to place an unresolved end, and those members leave the model. If the set does not let you
|
|
1102
1125
|
establish a plan's elevation, **ask the user for it before you read members from that sheet** — one
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: floless-app-workflows
|
|
3
3
|
description: This skill should be used when building, modifying, or reasoning about FloLess .flo workflows for floless.app — especially reusable apps that take inputs (e.g. a phase number) and run across different Tekla models, exec nodes that run Roslyn C# against the live model, the in-app HTML Viewer, the Code tab, or "Debug in VS". Covers the exec contract, the install→validate→compile→run loop, app inputs templating, reading approved Workspace project data and immutable approved Revit model snapshots through the floless-workspace REST seam plus its themed pickers, and the server seams (aware-adapter, app-reader, index).
|
|
4
4
|
metadata:
|
|
5
|
-
version: 0.6.
|
|
5
|
+
version: 0.6.1
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Building reusable .flo workflows in floless.app
|
|
@@ -336,13 +336,19 @@ Let the user **pick** the project (never type an opaque id): flag the input
|
|
|
336
336
|
(by name, searchable) and stores the opaque id. Client-only hint, never sent to `aware`
|
|
337
337
|
(like `widget: file`); optional `workspaceApp:` pre-filters to one app. See `references/workspace-data.md`.
|
|
338
338
|
|
|
339
|
-
To query an immutable approved Revit model snapshot, pin **`floless-workspace@0.2.
|
|
339
|
+
To query an immutable approved Revit model snapshot, pin **`floless-workspace@0.2.4`**, declare a
|
|
340
340
|
`type: string` input with **`widget: workspace-model-revision`**, and call `read-model`. The picker
|
|
341
341
|
stores only the compact `floless.workspace-model-selection/v1` JSON; the fixed, closed query stays in
|
|
342
342
|
the `.flo`. Keep the proven `read → HTTP-200 predicate → report` shape, and report approval/model
|
|
343
343
|
revision evidence plus `matched`/`returned`/truncation facts. Reference demo and full contract:
|
|
344
344
|
`demos/floless-workspace-model-report/` and `references/workspace-data.md`.
|
|
345
345
|
|
|
346
|
+
For a **complete** approved-model property report, use `read-model-complete` and the separate
|
|
347
|
+
`html-report-stream@0.1.x` agent's `render-stream` command. Use the same named approved-revision
|
|
348
|
+
picker, HTTP-200 gate, and one Run/HTML Viewer path for Revit and Tekla Parser. The server binds
|
|
349
|
+
the whole report to one approved revision and current module entitlement; do not add a page-size
|
|
350
|
+
or object/property cap, or treat an incomplete stream as a report. See `references/workspace-data.md`.
|
|
351
|
+
|
|
346
352
|
## Consult and cite the project's knowledge at run time — retrieval only
|
|
347
353
|
|
|
348
354
|
Use `floless-workspace/read-knowledge` only when a run must retrieve a project's compiled knowledge
|
|
@@ -12,7 +12,7 @@ Design: `docs/superpowers/specs/2026-07-06-workspaces-slice-6.5-workflow-data-se
|
|
|
12
12
|
`floless-workspace` is written to `~/.aware/agents/floless-workspace/manifest.yaml` by the FloLess
|
|
13
13
|
server **at startup** (`server/workspace-agent-manifest.ts`, `transport.rest.base =
|
|
14
14
|
http://127.0.0.1:<PORT>`) — so a terminal-only `aware app run` depends on the FloLess server being
|
|
15
|
-
up.
|
|
15
|
+
up. Six `mode: read` commands (manifest version **0.2.4**):
|
|
16
16
|
|
|
17
17
|
- **`list-projects`** — **every live project**, which is what you want when you are choosing a project
|
|
18
18
|
to work against. Body: `{ ok, projects: [{ id, name, app, templateId, hasKnowledge }] }`.
|
|
@@ -27,7 +27,10 @@ up. Five `mode: read` commands (manifest version **0.2.3**):
|
|
|
27
27
|
- **`read-model`** — POST one closed, bounded query against one exact approved Revit model snapshot.
|
|
28
28
|
Body: `{ selection, query, pageSize?, continuation? }`; output carries immutable approval/model
|
|
29
29
|
revision evidence, the canonical query, counts, projected rows, truncation reason, and an opaque
|
|
30
|
-
signed continuation. Pin `floless-workspace@0.2.
|
|
30
|
+
signed continuation. Pin `floless-workspace@0.2.4`.
|
|
31
|
+
- **`read-model-complete`** — streams every object and property of one selected, signed,
|
|
32
|
+
approved Revit or Tekla Parser snapshot. It has no arbitrary result cap; a missing source,
|
|
33
|
+
revoked module grant, or incomplete transfer refuses the whole report.
|
|
31
34
|
- **`read-knowledge`** — the project's compiled knowledge base as ranked summaries (its own standards,
|
|
32
35
|
RFIs and spec notes — **not** approved model data). See `floless-app-knowledge`.
|
|
33
36
|
|
|
@@ -79,7 +82,7 @@ inputs:
|
|
|
79
82
|
type: string
|
|
80
83
|
widget: workspace-model-revision
|
|
81
84
|
requires:
|
|
82
|
-
- floless-workspace@0.2.
|
|
85
|
+
- floless-workspace@0.2.4
|
|
83
86
|
nodes:
|
|
84
87
|
- id: model
|
|
85
88
|
agent: floless-workspace
|
|
@@ -111,7 +114,25 @@ continuation; `result-budget` or `byte-budget` is terminal and carries none.
|
|
|
111
114
|
For HTML reports, gate on HTTP 200 before deep templating; independently check `returned` before
|
|
112
115
|
reading `items[0]`; HTML-escape every dynamic value; display approval/model revision evidence and
|
|
113
116
|
`matched`/`returned`/truncation facts; theme scrollbars globally for Firefox and WebKit. The reference
|
|
114
|
-
workflow
|
|
117
|
+
workflow now uses the complete-report path below; use the bounded `read-model` path only when a
|
|
118
|
+
partial, clearly labelled query result is intended.
|
|
119
|
+
|
|
120
|
+
## Complete Revit and Tekla Parser property reports
|
|
121
|
+
|
|
122
|
+
Use the shipped `floless-workspace-model-report` and `tekla-model-report` workflows. Both keep the
|
|
123
|
+
same `widget: workspace-model-revision` picker, `read → HTTP-200 gate → report` canvas and one
|
|
124
|
+
**Run workflow** control. Tekla declares `workspaceModule: tekla` on the input so the picker shows
|
|
125
|
+
only approved Tekla Parser projects; Revit uses the default Revit picker.
|
|
126
|
+
|
|
127
|
+
Pin `floless-workspace@0.2.4` and `html-report-stream@0.1.x`. The first node calls
|
|
128
|
+
`read-model-complete`; the terminal `html-report-stream/render-stream` node consumes
|
|
129
|
+
`{{ model.body }}` and emits a run-scoped HTML bundle. Do not route this through the older
|
|
130
|
+
`html-report/render` command or copy the whole model into a browser response. FloLess checks the
|
|
131
|
+
current module entitlement, exact signed approval, all source digests and report completion before
|
|
132
|
+
publishing a small handle. The HTML Viewer loads bounded, verified sections and offers a complete
|
|
133
|
+
download. Every property stays grouped under its object; object and property totals are exact.
|
|
134
|
+
If any source record is unavailable or the stream ends early, show the failure and publish no
|
|
135
|
+
partial report. Reading does not require Revit or Tekla Structures to be open or installed.
|
|
115
136
|
|
|
116
137
|
## Output shape — REST returns `{ status, headers, body }`, NO `.result` wrapper — VERIFIED
|
|
117
138
|
|
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
app: floless-workspace-model-report
|
|
2
|
-
version: 0.
|
|
3
|
-
display-name: Revit model
|
|
2
|
+
version: 0.5.0
|
|
3
|
+
display-name: Revit model properties
|
|
4
4
|
publisher: floless
|
|
5
5
|
module: revit
|
|
6
6
|
description: |
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
Choose an approved Revit model revision and create a complete read-only report of every
|
|
8
|
+
readable object and its properties. Revit does not need to be open or installed, and the
|
|
9
|
+
source model is never changed.
|
|
10
10
|
exposes-as-agent: false
|
|
11
11
|
changelog:
|
|
12
|
+
- version: 0.5.0
|
|
13
|
+
summary: Report every object and property from the approved Revit model
|
|
14
|
+
changes:
|
|
15
|
+
- "Changed: stream the complete approved model into a grouped report instead of stopping at 200 objects."
|
|
16
|
+
- "Added: exact object and property totals and the approved revision in the complete report."
|
|
12
17
|
- version: 0.4.1
|
|
13
18
|
summary: Move the Revit inventory into the production FloLess app
|
|
14
19
|
changes:
|
|
@@ -36,42 +41,41 @@ inputs:
|
|
|
36
41
|
type: string
|
|
37
42
|
default: ""
|
|
38
43
|
widget: workspace-model-revision
|
|
39
|
-
description: Choose a Revit project and
|
|
44
|
+
description: Choose a Revit project and an exact approved revision, or Latest approved for recurring runs.
|
|
40
45
|
requires:
|
|
41
|
-
- floless-workspace@0.2.
|
|
42
|
-
- html-report@0.
|
|
46
|
+
- floless-workspace@0.2.4
|
|
47
|
+
- html-report-stream@0.1.x
|
|
43
48
|
layout: linear
|
|
44
49
|
nodes:
|
|
45
|
-
# Reads the selected approved Revit snapshot
|
|
46
|
-
#
|
|
50
|
+
# Reads every object and property from the selected approved Revit snapshot. FloLess checks
|
|
51
|
+
# access and keeps the report bound to the selected project and revision.
|
|
47
52
|
- id: model
|
|
48
53
|
agent: floless-workspace
|
|
49
|
-
command: read-model
|
|
54
|
+
command: read-model-complete
|
|
50
55
|
mode: read
|
|
51
56
|
config:
|
|
52
57
|
content-type: application/json
|
|
53
58
|
body: |
|
|
54
|
-
{"selection":{{ inputs.model_revision }}
|
|
59
|
+
{"selection":{{ inputs.model_revision }}}
|
|
55
60
|
|
|
56
|
-
# Stops report generation
|
|
57
|
-
#
|
|
61
|
+
# Stops report generation if the approved Revit model cannot be read completely. A failed
|
|
62
|
+
# access check or missing revision can never appear as a successful report.
|
|
58
63
|
- id: gate
|
|
59
64
|
inline:
|
|
60
65
|
kind: predicate
|
|
61
|
-
description: Continue only when the approved Revit model
|
|
66
|
+
description: Continue only when the complete approved Revit model read succeeded.
|
|
62
67
|
code: "e.status == 200"
|
|
63
68
|
|
|
64
|
-
#
|
|
65
|
-
#
|
|
69
|
+
# Groups every Revit object's properties into a complete read-only report. The report
|
|
70
|
+
# identifies the approved revision and clearly says the source model was not changed.
|
|
66
71
|
- id: report
|
|
67
|
-
agent: html-report
|
|
68
|
-
command: render
|
|
72
|
+
agent: html-report-stream
|
|
73
|
+
command: render-stream
|
|
69
74
|
mode: read
|
|
70
75
|
config:
|
|
71
|
-
title: Revit model
|
|
72
|
-
data: '{{ model.body
|
|
73
|
-
columns: [
|
|
74
|
-
sort: category
|
|
76
|
+
title: Revit model properties
|
|
77
|
+
data: '{{ model.body }}'
|
|
78
|
+
columns: [Group, Property, Value, Unit, Provenance]
|
|
75
79
|
connections:
|
|
76
80
|
- { from: model, to: gate }
|
|
77
81
|
- { from: gate, to: report }
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
app: revit-model
|
|
2
|
-
version: 0.
|
|
2
|
+
version: 0.13.0
|
|
3
3
|
display-name: Revit model
|
|
4
4
|
publisher: floless
|
|
5
5
|
module: revit
|
|
@@ -12,6 +12,10 @@ description: |
|
|
|
12
12
|
v2 destination; AWARE returns signed source and display packages and never edits the Revit file.
|
|
13
13
|
exposes-as-agent: false
|
|
14
14
|
changelog:
|
|
15
|
+
- version: 0.13.0
|
|
16
|
+
summary: Keep Revit imports working beside Tekla Parser
|
|
17
|
+
changes:
|
|
18
|
+
- "Fixed: use the current AWARE model reader shared with Tekla Parser so Revit imports remain runnable when both modules are installed."
|
|
15
19
|
- version: 0.12.0
|
|
16
20
|
summary: Bind every managed snapshot delivery to its current import attempt
|
|
17
21
|
changes:
|
|
@@ -88,7 +92,7 @@ inputs:
|
|
|
88
92
|
type: string
|
|
89
93
|
description: Installer-owned durable identity for this managed conversion attempt.
|
|
90
94
|
requires:
|
|
91
|
-
- model-reference-reader@0.
|
|
95
|
+
- model-reference-reader@0.8.0
|
|
92
96
|
layout: linear
|
|
93
97
|
nodes:
|
|
94
98
|
- id: read-snapshot
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
app: tekla-model-report
|
|
2
|
+
version: 0.1.0
|
|
3
|
+
display-name: Tekla Parser — read-only model properties
|
|
4
|
+
publisher: floless
|
|
5
|
+
module: tekla
|
|
6
|
+
description: |
|
|
7
|
+
Choose an approved Tekla Parser model revision and create a complete read-only report of
|
|
8
|
+
every readable object and its properties. Tekla Structures does not need to be open or
|
|
9
|
+
installed, and the source model is never changed.
|
|
10
|
+
exposes-as-agent: false
|
|
11
|
+
changelog:
|
|
12
|
+
- version: 0.1.0
|
|
13
|
+
summary: Add the complete read-only Tekla model property report
|
|
14
|
+
changes:
|
|
15
|
+
- "Added: report every readable object and property from one approved Tekla Parser revision."
|
|
16
|
+
- "Added: exact totals and model provenance, with no partial report on failure."
|
|
17
|
+
inputs:
|
|
18
|
+
model_revision:
|
|
19
|
+
type: string
|
|
20
|
+
default: ""
|
|
21
|
+
widget: workspace-model-revision
|
|
22
|
+
workspaceModule: tekla
|
|
23
|
+
description: Choose a Tekla Parser project and an exact approved revision, or Latest approved for recurring runs.
|
|
24
|
+
requires:
|
|
25
|
+
- floless-workspace@0.2.4
|
|
26
|
+
- html-report-stream@0.1.x
|
|
27
|
+
layout: linear
|
|
28
|
+
nodes:
|
|
29
|
+
# Reads every object and property from the selected approved Tekla snapshot. FloLess checks
|
|
30
|
+
# access and keeps the report bound to the selected project and revision.
|
|
31
|
+
- id: model
|
|
32
|
+
agent: floless-workspace
|
|
33
|
+
command: read-model-complete
|
|
34
|
+
mode: read
|
|
35
|
+
config:
|
|
36
|
+
content-type: application/json
|
|
37
|
+
body: |
|
|
38
|
+
{"selection":{{ inputs.model_revision }}}
|
|
39
|
+
|
|
40
|
+
# Stops report generation if the approved Tekla model cannot be read completely. A failed
|
|
41
|
+
# access check or missing revision can never appear as a successful report.
|
|
42
|
+
- id: gate
|
|
43
|
+
inline:
|
|
44
|
+
kind: predicate
|
|
45
|
+
description: Continue only when the complete approved Tekla model read succeeded.
|
|
46
|
+
code: "e.status == 200"
|
|
47
|
+
|
|
48
|
+
# Groups every Tekla object's properties into a complete read-only report. The report
|
|
49
|
+
# identifies the approved revision and clearly says the source model was not changed.
|
|
50
|
+
- id: report
|
|
51
|
+
agent: html-report-stream
|
|
52
|
+
command: render-stream
|
|
53
|
+
mode: read
|
|
54
|
+
config:
|
|
55
|
+
title: Tekla Parser model properties
|
|
56
|
+
data: '{{ model.body }}'
|
|
57
|
+
columns: [Group, Property, Value, Unit, Provenance]
|
|
58
|
+
connections:
|
|
59
|
+
- { from: model, to: gate }
|
|
60
|
+
- { from: gate, to: report }
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
app: tekla-parser
|
|
2
|
+
version: 0.2.0
|
|
3
|
+
display-name: Tekla Parser
|
|
4
|
+
publisher: floless
|
|
5
|
+
module: tekla
|
|
6
|
+
floless:
|
|
7
|
+
workspace: true
|
|
8
|
+
execution: internal
|
|
9
|
+
description: |
|
|
10
|
+
Read a copied, closed Tekla model source package through the entitled Tekla Parser provider and
|
|
11
|
+
publish an authenticated, read-only model snapshot for review in FloLess. The source model is
|
|
12
|
+
never edited, saved, synchronized, or connected to a running Tekla application.
|
|
13
|
+
exposes-as-agent: false
|
|
14
|
+
changelog:
|
|
15
|
+
- version: 0.2.0
|
|
16
|
+
summary: Add authenticated database coverage auditing
|
|
17
|
+
changes:
|
|
18
|
+
- "Added: every native database object now carries a signed coverage result, including review findings when shape or placement could not be fully evaluated."
|
|
19
|
+
- "Changed: reviewable snapshots use the audited tekla.model/v2 contract; the IFC files beside a model remain outside the production read path."
|
|
20
|
+
- version: 0.1.0
|
|
21
|
+
summary: Add the production read-only Tekla Parser workflow
|
|
22
|
+
changes:
|
|
23
|
+
- "Added: entitled Tekla model packages can be converted into authenticated snapshots for review without changing the source model."
|
|
24
|
+
inputs:
|
|
25
|
+
source_root:
|
|
26
|
+
type: string
|
|
27
|
+
description: Isolated per-run directory containing only the copied and sealed Tekla source package.
|
|
28
|
+
provider_package_sha256:
|
|
29
|
+
type: string
|
|
30
|
+
description: Exact installer-enrolled Tekla Parser package manifest digest.
|
|
31
|
+
provider_authorization:
|
|
32
|
+
type: string
|
|
33
|
+
description: Short-lived FloLess authorization bound to this source package and active Tekla entitlement.
|
|
34
|
+
expected_signer_sha256:
|
|
35
|
+
type: string
|
|
36
|
+
description: Installer-enrolled fingerprint of AWARE's model artifact signing key.
|
|
37
|
+
requires:
|
|
38
|
+
- model-reference-reader@0.8.0
|
|
39
|
+
layout: linear
|
|
40
|
+
nodes:
|
|
41
|
+
- id: read-snapshot
|
|
42
|
+
agent: model-reference-reader
|
|
43
|
+
command: read-snapshot
|
|
44
|
+
mode: read
|
|
45
|
+
description: |
|
|
46
|
+
Copy the admitted source closure into AWARE's bounded reader, invoke the exact enrolled read-only
|
|
47
|
+
parser with its short-lived authorization, and return only authenticated model artifacts.
|
|
48
|
+
config:
|
|
49
|
+
contract: tekla.model/v2
|
|
50
|
+
reader-schema-version: model-reference-reader/v3
|
|
51
|
+
expected-provider-protocol: "3"
|
|
52
|
+
provider-format: tekla-db
|
|
53
|
+
provider-capability: read-model
|
|
54
|
+
provider-package-sha256: "{{ inputs.provider_package_sha256 }}"
|
|
55
|
+
provider-authorization: "{{ inputs.provider_authorization }}"
|
|
56
|
+
expected-signer-sha256: "{{ inputs.expected_signer_sha256 }}"
|
|
57
|
+
source-namespaces:
|
|
58
|
+
- id: model
|
|
59
|
+
root: "{{ inputs.source_root }}"
|
|
60
|
+
degraded-mode: refuse
|
|
61
|
+
conversion-settings: {}
|