@pascal-app/core 1.0.7 → 1.1.1
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/agent-operations/__fixtures__/cases.d.ts +3 -2
- package/dist/agent-operations/__fixtures__/cases.d.ts.map +1 -1
- package/dist/agent-operations/__fixtures__/native-materials.d.ts +4 -0
- package/dist/agent-operations/__fixtures__/native-materials.d.ts.map +1 -1
- package/dist/agent-operations/__fixtures__/place-items-cases.d.ts.map +1 -1
- package/dist/agent-operations/__fixtures__/place-items-cases.js +28 -0
- package/dist/agent-operations/__fixtures__/roof-bearing-cases.d.ts +9567 -9563
- package/dist/agent-operations/__fixtures__/roof-bearing-cases.d.ts.map +1 -1
- package/dist/agent-operations/__fixtures__/verify-scene-cases.d.ts +77 -77
- package/dist/agent-operations/asset-catalog.d.ts +21 -11
- package/dist/agent-operations/asset-catalog.d.ts.map +1 -1
- package/dist/agent-operations/asset-catalog.js +28 -10
- package/dist/agent-operations/asset-views.d.ts +8 -3
- package/dist/agent-operations/asset-views.d.ts.map +1 -1
- package/dist/agent-operations/asset-views.js +19 -3
- package/dist/agent-operations/author-scene.d.ts.map +1 -1
- package/dist/agent-operations/author-scene.js +2 -3
- package/dist/agent-operations/batch.d.ts +7 -1
- package/dist/agent-operations/batch.d.ts.map +1 -1
- package/dist/agent-operations/batch.js +17 -2
- package/dist/agent-operations/catalog-asset.d.ts +15 -0
- package/dist/agent-operations/catalog-asset.d.ts.map +1 -0
- package/dist/agent-operations/catalog-asset.js +4 -0
- package/dist/agent-operations/circulation-spaces.d.ts +1724 -1723
- package/dist/agent-operations/circulation-spaces.d.ts.map +1 -1
- package/dist/agent-operations/design-brief.d.ts.map +1 -1
- package/dist/agent-operations/design-brief.js +2 -0
- package/dist/agent-operations/furnish-room.d.ts.map +1 -1
- package/dist/agent-operations/furnish-room.js +2 -1
- package/dist/agent-operations/index.d.ts +3 -0
- package/dist/agent-operations/index.d.ts.map +1 -1
- package/dist/agent-operations/index.js +4 -1
- package/dist/agent-operations/level-reads.d.ts.map +1 -1
- package/dist/agent-operations/level-reads.js +5 -2
- package/dist/agent-operations/move-plan.d.ts.map +1 -1
- package/dist/agent-operations/move-plan.js +11 -9
- package/dist/agent-operations/place-in-room.d.ts.map +1 -1
- package/dist/agent-operations/place-in-room.js +2 -1
- package/dist/agent-operations/place-items.d.ts.map +1 -1
- package/dist/agent-operations/place-items.js +2 -1
- package/dist/agent-operations/scene-queries.d.ts +2944 -2943
- package/dist/agent-operations/scene-queries.d.ts.map +1 -1
- package/dist/agent-operations/scene-view.d.ts.map +1 -1
- package/dist/agent-operations/scene-view.js +38 -13
- package/dist/agent-operations/search-assets.d.ts.map +1 -1
- package/dist/agent-operations/search-assets.js +6 -0
- package/dist/agent-operations/types.d.ts +3 -2
- package/dist/agent-operations/types.d.ts.map +1 -1
- package/dist/agent-operations/usage-checks.js +18 -3
- package/dist/agent-operations/verify-scene.d.ts.map +1 -1
- package/dist/agent-operations/verify-scene.js +4 -2
- package/dist/agent-operations/wall-object-observations.d.ts.map +1 -1
- package/dist/agent-operations/wall-object-observations.js +1 -1
- package/dist/agent-tools/assets.js +1 -1
- package/dist/agent-tools/wall-openings.js +2 -2
- package/dist/building/__fixtures__/wall-opening-cases.d.ts +13 -12
- package/dist/building/__fixtures__/wall-opening-cases.d.ts.map +1 -1
- package/dist/building/level-duplication.d.ts +1281 -1279
- package/dist/building/level-duplication.d.ts.map +1 -1
- package/dist/building/level-duplication.js +3 -1
- package/dist/building/merge-windows.d.ts.map +1 -1
- package/dist/building/merge-windows.js +4 -3
- package/dist/building/wall-openings.d.ts +95 -81
- package/dist/building/wall-openings.d.ts.map +1 -1
- package/dist/building/wall-openings.js +74 -25
- package/dist/commands/structure/shared.d.ts +3203 -3202
- package/dist/commands/structure/shared.d.ts.map +1 -1
- package/dist/commands/structure/zone-wall-merge.d.ts +2028 -2025
- package/dist/commands/structure/zone-wall-merge.d.ts.map +1 -1
- package/dist/contracts/reference-inventory.d.ts.map +1 -1
- package/dist/contracts/reference-inventory.js +0 -1
- package/dist/hooks/spatial-grid/spatial-grid-manager.d.ts +6 -1
- package/dist/hooks/spatial-grid/spatial-grid-manager.d.ts.map +1 -1
- package/dist/hooks/spatial-grid/spatial-grid-manager.js +30 -9
- package/dist/hooks/spatial-grid/spatial-grid-sync.d.ts +2101 -2100
- package/dist/hooks/spatial-grid/spatial-grid-sync.d.ts.map +1 -1
- package/dist/hooks/spatial-grid/spatial-grid-sync.js +8 -4
- package/dist/index.d.ts +13 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +13 -4
- package/dist/lib/__fixtures__/mezzanine.d.ts +6428 -6424
- package/dist/lib/__fixtures__/mezzanine.d.ts.map +1 -1
- package/dist/lib/absorb-wall-separators.d.ts +2267 -2266
- package/dist/lib/absorb-wall-separators.d.ts.map +1 -1
- package/dist/lib/asset-storage.d.ts.map +1 -1
- package/dist/lib/asset-storage.js +3 -0
- package/dist/lib/build-mode.d.ts +11 -0
- package/dist/lib/build-mode.d.ts.map +1 -0
- package/dist/lib/build-mode.js +24 -0
- package/dist/lib/corner-pair.d.ts +2 -0
- package/dist/lib/corner-pair.d.ts.map +1 -1
- package/dist/lib/door-interaction.d.ts +14 -0
- package/dist/lib/door-interaction.d.ts.map +1 -0
- package/dist/lib/door-interaction.js +62 -0
- package/dist/lib/elevator-support.d.ts +15 -0
- package/dist/lib/elevator-support.d.ts.map +1 -0
- package/dist/lib/elevator-support.js +40 -0
- package/dist/lib/floor-foundation-datum.d.ts.map +1 -1
- package/dist/lib/floor-foundation-datum.js +5 -1
- package/dist/lib/floor-intent-changes.d.ts.map +1 -1
- package/dist/lib/floor-intent-changes.js +6 -4
- package/dist/lib/floorplan/context.d.ts +95 -0
- package/dist/lib/floorplan/context.d.ts.map +1 -0
- package/dist/lib/floorplan/context.js +155 -0
- package/dist/lib/floorplan/index.d.ts +6 -0
- package/dist/lib/floorplan/index.d.ts.map +1 -0
- package/dist/lib/floorplan/index.js +5 -0
- package/dist/lib/floorplan/marks.d.ts +71 -0
- package/dist/lib/floorplan/marks.d.ts.map +1 -0
- package/dist/lib/floorplan/marks.js +157 -0
- package/dist/lib/floorplan/plan-math.d.ts +18 -0
- package/dist/lib/floorplan/plan-math.d.ts.map +1 -0
- package/dist/lib/floorplan/plan-math.js +82 -0
- package/dist/lib/floorplan/svg-paths.d.ts +17 -0
- package/dist/lib/floorplan/svg-paths.d.ts.map +1 -0
- package/dist/lib/floorplan/svg-paths.js +92 -0
- package/dist/lib/floorplan/wall-affordances.d.ts +31 -0
- package/dist/lib/floorplan/wall-affordances.d.ts.map +1 -0
- package/dist/lib/floorplan/wall-affordances.js +24 -0
- package/dist/lib/hierarchy.d.ts +19 -0
- package/dist/lib/hierarchy.d.ts.map +1 -0
- package/dist/lib/hierarchy.js +53 -0
- package/dist/lib/opening-floor-datum.d.ts +1 -1
- package/dist/lib/opening-floor-datum.d.ts.map +1 -1
- package/dist/lib/opening-floor-datum.js +2 -2
- package/dist/lib/own-floor-intent.d.ts.map +1 -1
- package/dist/lib/own-floor-intent.js +2 -2
- package/dist/lib/polygon-boolean.d.ts.map +1 -1
- package/dist/lib/polygon-boolean.js +2 -1
- package/dist/lib/room-floor-elevation.d.ts +12 -0
- package/dist/lib/room-floor-elevation.d.ts.map +1 -0
- package/dist/lib/room-floor-elevation.js +41 -0
- package/dist/lib/room-floor-feasibility.d.ts.map +1 -1
- package/dist/lib/room-floor-feasibility.js +1 -1
- package/dist/lib/space-detection.d.ts.map +1 -1
- package/dist/lib/space-detection.js +1 -0
- package/dist/lib/wall-face-script.d.ts.map +1 -1
- package/dist/lib/wall-face-script.js +3 -3
- package/dist/lib/window-interaction.d.ts +16 -0
- package/dist/lib/window-interaction.d.ts.map +1 -0
- package/dist/lib/window-interaction.js +82 -0
- package/dist/lib/zone-quantities.js +1 -1
- package/dist/node-slots/column.d.ts +5 -0
- package/dist/node-slots/column.d.ts.map +1 -1
- package/dist/node-slots/column.js +10 -0
- package/dist/registry/__fixtures__/roof-planes.d.ts +69 -0
- package/dist/registry/__fixtures__/roof-planes.d.ts.map +1 -0
- package/dist/registry/__fixtures__/roof-planes.js +59 -0
- package/dist/registry/index.d.ts +3 -2
- package/dist/registry/index.d.ts.map +1 -1
- package/dist/registry/index.js +2 -1
- package/dist/registry/registry.d.ts +5 -0
- package/dist/registry/registry.d.ts.map +1 -1
- package/dist/registry/registry.js +10 -0
- package/dist/registry/roofs.d.ts +34 -0
- package/dist/registry/roofs.d.ts.map +1 -0
- package/dist/registry/roofs.js +61 -0
- package/dist/registry/types.d.ts +54 -0
- package/dist/registry/types.d.ts.map +1 -1
- package/dist/registry/validate-relations.d.ts +5 -1
- package/dist/registry/validate-relations.d.ts.map +1 -1
- package/dist/registry/validate-relations.js +6 -2
- package/dist/schema/asset-url.d.ts +8 -0
- package/dist/schema/asset-url.d.ts.map +1 -1
- package/dist/schema/asset-url.js +17 -0
- package/dist/schema/index.d.ts +1 -1
- package/dist/schema/index.d.ts.map +1 -1
- package/dist/schema/index.js +1 -1
- package/dist/schema/nodes/roof-segment-resize.d.ts.map +1 -1
- package/dist/schema/nodes/roof-segment-resize.js +2 -2
- package/dist/schema/nodes/roof-segment.d.ts +2 -0
- package/dist/schema/nodes/roof-segment.d.ts.map +1 -1
- package/dist/schema/nodes/roof-segment.js +40 -2
- package/dist/schema/nodes/roof.d.ts +1 -1
- package/dist/schema/nodes/roof.d.ts.map +1 -1
- package/dist/schema/nodes/roof.js +13 -8
- package/dist/schema/nodes/wall.d.ts +1 -0
- package/dist/schema/nodes/wall.d.ts.map +1 -1
- package/dist/schema/nodes/wall.js +6 -0
- package/dist/schema/types.d.ts +2 -1
- package/dist/schema/types.d.ts.map +1 -1
- package/dist/services/index.d.ts +1 -1
- package/dist/services/index.d.ts.map +1 -1
- package/dist/services/index.js +1 -1
- package/dist/services/movement.d.ts +7 -0
- package/dist/services/movement.d.ts.map +1 -1
- package/dist/services/movement.js +13 -0
- package/dist/services/port-connectivity.d.ts +15 -6
- package/dist/services/port-connectivity.d.ts.map +1 -1
- package/dist/services/port-connectivity.js +83 -17
- package/dist/services/roof-bearing.js +2 -1
- package/dist/services/roof-level.d.ts.map +1 -1
- package/dist/services/roof-level.js +12 -2
- package/dist/services/roof-move.d.ts +4 -2
- package/dist/services/roof-move.d.ts.map +1 -1
- package/dist/services/roof-move.js +21 -9
- package/dist/services/storey.d.ts +6 -1
- package/dist/services/storey.d.ts.map +1 -1
- package/dist/services/storey.js +11 -2
- package/dist/spatial/usage-field/findings.d.ts +7 -1
- package/dist/spatial/usage-field/findings.d.ts.map +1 -1
- package/dist/spatial/usage-field/findings.js +42 -10
- package/dist/spatial/usage-field/path.d.ts.map +1 -1
- package/dist/spatial/usage-field/path.js +28 -18
- package/dist/spatial/usage-field/swings.d.ts +1 -0
- package/dist/spatial/usage-field/swings.d.ts.map +1 -1
- package/dist/spatial/usage-field/walls.d.ts +2 -0
- package/dist/spatial/usage-field/walls.d.ts.map +1 -1
- package/dist/spatial/usage-field/walls.js +18 -4
- package/dist/store/actions/node-actions.d.ts +2 -1
- package/dist/store/actions/node-actions.d.ts.map +1 -1
- package/dist/store/actions/node-actions.js +23 -5
- package/dist/store/derived-node-guard.d.ts.map +1 -1
- package/dist/store/derived-node-guard.js +2 -1
- package/dist/store/scene-annotations.d.ts +4634 -4632
- package/dist/store/scene-annotations.d.ts.map +1 -1
- package/dist/systems/document-reconcile.d.ts.map +1 -1
- package/dist/systems/document-reconcile.js +1 -2
- package/dist/systems/elevator/elevator-geometry.d.ts +25 -0
- package/dist/systems/elevator/elevator-geometry.d.ts.map +1 -1
- package/dist/systems/elevator/elevator-geometry.js +40 -8
- package/dist/systems/elevator/elevator-opening-sync.d.ts.map +1 -1
- package/dist/systems/elevator/elevator-opening-sync.js +4 -35
- package/dist/systems/elevator/elevator-runtime.d.ts.map +1 -1
- package/dist/systems/elevator/elevator-runtime.js +95 -18
- package/dist/systems/elevator/elevator-service.d.ts.map +1 -1
- package/dist/systems/elevator/elevator-service.js +24 -4
- package/dist/systems/roof/roof-elevation.d.ts +11 -6
- package/dist/systems/roof/roof-elevation.d.ts.map +1 -1
- package/dist/systems/roof/roof-elevation.js +26 -12
- package/dist/systems/slab/__fixtures__/floor-step.d.ts +5 -1
- package/dist/systems/slab/__fixtures__/floor-step.d.ts.map +1 -1
- package/dist/systems/slab/__fixtures__/raised-room.d.ts +2218 -2214
- package/dist/systems/slab/__fixtures__/raised-room.d.ts.map +1 -1
- package/dist/systems/stair/stair-opening-preview.d.ts +3203 -3202
- package/dist/systems/stair/stair-opening-preview.d.ts.map +1 -1
- package/dist/systems/wall/wall-curve.d.ts +10 -0
- package/dist/systems/wall/wall-curve.d.ts.map +1 -1
- package/dist/systems/wall/wall-curve.js +38 -0
- package/dist/systems/wall/wall-frame.d.ts.map +1 -1
- package/dist/systems/wall/wall-frame.js +8 -0
- package/dist/systems/wall/wall-merge.d.ts +9 -1
- package/dist/systems/wall/wall-merge.d.ts.map +1 -1
- package/dist/systems/wall/wall-merge.js +38 -6
- package/dist/systems/wall/wall-top.d.ts +10 -3
- package/dist/systems/wall/wall-top.d.ts.map +1 -1
- package/dist/systems/wall/wall-top.js +24 -8
- package/dist/systems/wall/wall-topology.d.ts.map +1 -1
- package/dist/systems/wall/wall-topology.js +19 -1
- package/dist/utils/ensure-scene-openings.d.ts +5595 -5593
- package/dist/utils/ensure-scene-openings.d.ts.map +1 -1
- package/dist/utils/floor-plate-migration.d.ts +2267 -2266
- package/dist/utils/floor-plate-migration.d.ts.map +1 -1
- package/dist/utils/measurement-format.d.ts +27 -0
- package/dist/utils/measurement-format.d.ts.map +1 -0
- package/dist/utils/measurement-format.js +143 -0
- package/dist/utils/owned-floor-opening-migration.d.ts +653 -652
- package/dist/utils/owned-floor-opening-migration.d.ts.map +1 -1
- package/dist/utils/reconcile-structure-on-load.d.ts +1724 -1723
- package/dist/utils/reconcile-structure-on-load.d.ts.map +1 -1
- package/dist/utils/scene-bounds.d.ts +32 -0
- package/dist/utils/scene-bounds.d.ts.map +1 -0
- package/dist/utils/scene-bounds.js +201 -0
- package/dist/validation/validate-build-json.d.ts.map +1 -1
- package/dist/validation/validate-build-json.js +3 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"roof-bearing-cases.d.ts","sourceRoot":"","sources":["../../../src/agent-operations/__fixtures__/roof-bearing-cases.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,OAAO,EAIZ,eAAe,EAIhB,MAAM,cAAc,CAAA;AAWrB,KAAK,IAAI,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAA;AAC5C,KAAK,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAEpC,eAAO,MAAM,IAAI,OAAO,CAAA;AACxB,yDAAyD;AACzD,eAAO,MAAM,GAAG,OAAO,CAAA;AAEvB,oDAAoD;AACpD,eAAO,MAAM,OAAO,QAAgB,CAAA;AAMpC,0EAA0E;AAC1E,wBAAgB,KAAK,CAAC,GAAG,KAAK,EAAE,OAAO,EAAE,GAAG,KAAK,CAShD;AAED,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiD,CAAA;AAEtE,eAAO,MAAM,KAAK,OAAQ,MAAM,SAAS,MAAM,aAAa,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAO/E,CAAA;AAEJ,4GAA4G;AAC5G,wBAAgB,IAAI,CAClB,OAAO,EAAE,MAAM,EACf,GAAG,EAAE,MAAM,EACX,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,GAAE,IAAoB,EACtC,MAAM,SAAM,GACX,OAAO,EAAE,CAoBX;AAED,KAAK,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,eAAe,EAAE,IAAI,CAAC,CAAC,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAMpC,CAAA;AAEH,4DAA4D;AAC5D,eAAO,MAAM,QAAQ,aAAc,OAAO,EAAE,UAC+B,CAAA;AAE3E,gEAAgE;AAChE,eAAO,MAAM,WAAW,aAAc,OAAO,EAAE,UACmD,CAAA"}
|
|
@@ -73,83 +73,6 @@ export declare const level: (id: string, index: number, extra?: Record<string, u
|
|
|
73
73
|
/** A finished room on a level: four closed walls, a centred door, its zone, slab and ceiling. */
|
|
74
74
|
export declare function room(levelId: string, tag: string): AnyNode[];
|
|
75
75
|
export declare const stairOn: (levelId: string, extra?: Record<string, unknown>) => ({
|
|
76
|
-
object: "node";
|
|
77
|
-
name?: string | undefined;
|
|
78
|
-
parentId: string | null;
|
|
79
|
-
visible: boolean;
|
|
80
|
-
camera?: {
|
|
81
|
-
position: [number, number, number];
|
|
82
|
-
target: [number, number, number];
|
|
83
|
-
mode: "orthographic" | "perspective";
|
|
84
|
-
fov?: number | undefined;
|
|
85
|
-
zoom?: number | undefined;
|
|
86
|
-
} | undefined;
|
|
87
|
-
metadata: Record<string, unknown>;
|
|
88
|
-
provenance?: {
|
|
89
|
-
refs: {
|
|
90
|
-
ns?: string | undefined;
|
|
91
|
-
id: string;
|
|
92
|
-
role?: "absorbed" | "alias" | "derived" | "piece" | "primary" | undefined;
|
|
93
|
-
}[];
|
|
94
|
-
lineage?: {
|
|
95
|
-
op: "attach" | "convert" | "duplicate" | "import" | "make-independent" | "merge" | "promote" | "split";
|
|
96
|
-
fromIds: string[];
|
|
97
|
-
} | undefined;
|
|
98
|
-
} | undefined;
|
|
99
|
-
id: `sseg_${string}`;
|
|
100
|
-
type: "stair-segment";
|
|
101
|
-
material?: {
|
|
102
|
-
id?: string | undefined;
|
|
103
|
-
preset?: "brick" | "concrete" | "custom" | "glass" | "marble" | "metal" | "plaster" | "tile" | "white" | "wood" | undefined;
|
|
104
|
-
properties?: {
|
|
105
|
-
color: string;
|
|
106
|
-
roughness: number;
|
|
107
|
-
metalness: number;
|
|
108
|
-
opacity: number;
|
|
109
|
-
transparent: boolean;
|
|
110
|
-
side: "back" | "double" | "front";
|
|
111
|
-
} | undefined;
|
|
112
|
-
texture?: {
|
|
113
|
-
url: string;
|
|
114
|
-
repeat?: [number, number] | undefined;
|
|
115
|
-
scale?: number | undefined;
|
|
116
|
-
offset?: [number, number] | undefined;
|
|
117
|
-
normalMap?: string | undefined;
|
|
118
|
-
normalScale?: number | undefined;
|
|
119
|
-
bumpMap?: string | undefined;
|
|
120
|
-
bumpScale?: number | undefined;
|
|
121
|
-
} | undefined;
|
|
122
|
-
} | undefined;
|
|
123
|
-
materialPreset?: string | undefined;
|
|
124
|
-
slots?: Record<string, string> | undefined;
|
|
125
|
-
position: [number, number, number];
|
|
126
|
-
rotation: number;
|
|
127
|
-
segmentType: "landing" | "stair";
|
|
128
|
-
width: number;
|
|
129
|
-
length: number;
|
|
130
|
-
height: number;
|
|
131
|
-
stepCount: number;
|
|
132
|
-
attachmentSide: "front" | "left" | "right";
|
|
133
|
-
fillToFloor: boolean;
|
|
134
|
-
construction?: {
|
|
135
|
-
mode: "center-stringer" | "open" | "side-stringers" | "solid" | "waist";
|
|
136
|
-
waistThickness: number;
|
|
137
|
-
treadThickness: number;
|
|
138
|
-
riserThickness: number;
|
|
139
|
-
nosing: number;
|
|
140
|
-
finishThickness: number;
|
|
141
|
-
closedRisers: boolean;
|
|
142
|
-
stringerWidth: number;
|
|
143
|
-
stringerDepth: number;
|
|
144
|
-
} | undefined;
|
|
145
|
-
winder?: {
|
|
146
|
-
turn: "left" | "right";
|
|
147
|
-
innerGap: number;
|
|
148
|
-
walkingLineOffset: number;
|
|
149
|
-
division: "equal-angle" | "equal-going";
|
|
150
|
-
} | undefined;
|
|
151
|
-
thickness: number;
|
|
152
|
-
} | {
|
|
153
76
|
object: "node";
|
|
154
77
|
name?: string | undefined;
|
|
155
78
|
parentId: string | null;
|
|
@@ -343,6 +266,83 @@ export declare const stairOn: (levelId: string, extra?: Record<string, unknown>)
|
|
|
343
266
|
railingTopReach?: number | undefined;
|
|
344
267
|
railingPostThrough?: boolean | undefined;
|
|
345
268
|
children: `sseg_${string}`[];
|
|
269
|
+
} | {
|
|
270
|
+
object: "node";
|
|
271
|
+
name?: string | undefined;
|
|
272
|
+
parentId: string | null;
|
|
273
|
+
visible: boolean;
|
|
274
|
+
camera?: {
|
|
275
|
+
position: [number, number, number];
|
|
276
|
+
target: [number, number, number];
|
|
277
|
+
mode: "orthographic" | "perspective";
|
|
278
|
+
fov?: number | undefined;
|
|
279
|
+
zoom?: number | undefined;
|
|
280
|
+
} | undefined;
|
|
281
|
+
metadata: Record<string, unknown>;
|
|
282
|
+
provenance?: {
|
|
283
|
+
refs: {
|
|
284
|
+
ns?: string | undefined;
|
|
285
|
+
id: string;
|
|
286
|
+
role?: "absorbed" | "alias" | "derived" | "piece" | "primary" | undefined;
|
|
287
|
+
}[];
|
|
288
|
+
lineage?: {
|
|
289
|
+
op: "attach" | "convert" | "duplicate" | "import" | "make-independent" | "merge" | "promote" | "split";
|
|
290
|
+
fromIds: string[];
|
|
291
|
+
} | undefined;
|
|
292
|
+
} | undefined;
|
|
293
|
+
id: `sseg_${string}`;
|
|
294
|
+
type: "stair-segment";
|
|
295
|
+
material?: {
|
|
296
|
+
id?: string | undefined;
|
|
297
|
+
preset?: "brick" | "concrete" | "custom" | "glass" | "marble" | "metal" | "plaster" | "tile" | "white" | "wood" | undefined;
|
|
298
|
+
properties?: {
|
|
299
|
+
color: string;
|
|
300
|
+
roughness: number;
|
|
301
|
+
metalness: number;
|
|
302
|
+
opacity: number;
|
|
303
|
+
transparent: boolean;
|
|
304
|
+
side: "back" | "double" | "front";
|
|
305
|
+
} | undefined;
|
|
306
|
+
texture?: {
|
|
307
|
+
url: string;
|
|
308
|
+
repeat?: [number, number] | undefined;
|
|
309
|
+
scale?: number | undefined;
|
|
310
|
+
offset?: [number, number] | undefined;
|
|
311
|
+
normalMap?: string | undefined;
|
|
312
|
+
normalScale?: number | undefined;
|
|
313
|
+
bumpMap?: string | undefined;
|
|
314
|
+
bumpScale?: number | undefined;
|
|
315
|
+
} | undefined;
|
|
316
|
+
} | undefined;
|
|
317
|
+
materialPreset?: string | undefined;
|
|
318
|
+
slots?: Record<string, string> | undefined;
|
|
319
|
+
position: [number, number, number];
|
|
320
|
+
rotation: number;
|
|
321
|
+
segmentType: "landing" | "stair";
|
|
322
|
+
width: number;
|
|
323
|
+
length: number;
|
|
324
|
+
height: number;
|
|
325
|
+
stepCount: number;
|
|
326
|
+
attachmentSide: "front" | "left" | "right";
|
|
327
|
+
fillToFloor: boolean;
|
|
328
|
+
construction?: {
|
|
329
|
+
mode: "center-stringer" | "open" | "side-stringers" | "solid" | "waist";
|
|
330
|
+
waistThickness: number;
|
|
331
|
+
treadThickness: number;
|
|
332
|
+
riserThickness: number;
|
|
333
|
+
nosing: number;
|
|
334
|
+
finishThickness: number;
|
|
335
|
+
closedRisers: boolean;
|
|
336
|
+
stringerWidth: number;
|
|
337
|
+
stringerDepth: number;
|
|
338
|
+
} | undefined;
|
|
339
|
+
winder?: {
|
|
340
|
+
turn: "left" | "right";
|
|
341
|
+
innerGap: number;
|
|
342
|
+
walkingLineOffset: number;
|
|
343
|
+
division: "equal-angle" | "equal-going";
|
|
344
|
+
} | undefined;
|
|
345
|
+
thickness: number;
|
|
346
346
|
})[];
|
|
347
347
|
export declare const VERIFY_SCENE_CASES: AgentToolCase[];
|
|
348
348
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CatalogAsset } from './catalog-asset.js';
|
|
2
2
|
import type { AgentContext, SceneNodes } from './types.js';
|
|
3
3
|
/** One search of an item library: its words (none lists the library), a category, at most `limit` hits. */
|
|
4
4
|
export type AssetSearchQuery = {
|
|
@@ -8,7 +8,7 @@ export type AssetSearchQuery = {
|
|
|
8
8
|
};
|
|
9
9
|
export type AssetSearchResult = {
|
|
10
10
|
/** The best hits first, at most the query's limit. */
|
|
11
|
-
items:
|
|
11
|
+
items: CatalogAsset[];
|
|
12
12
|
/** Every item the query matches. */
|
|
13
13
|
total: number;
|
|
14
14
|
/** The categories of every match, most first, where the host counts them: a cut search names them to narrow by. */
|
|
@@ -24,23 +24,30 @@ export type AssetSearchResult = {
|
|
|
24
24
|
*/
|
|
25
25
|
export type AssetCatalogSource = {
|
|
26
26
|
search(query: AssetSearchQuery): Promise<AssetSearchResult>;
|
|
27
|
-
byId(ids: readonly string[]): Promise<
|
|
27
|
+
byId(ids: readonly string[]): Promise<CatalogAsset[]>;
|
|
28
|
+
/**
|
|
29
|
+
* Makes the scripted items a call is about to place renderable in the scene's project (their
|
|
30
|
+
* GLB, script and images are the library's until copied there). Throws when they cannot be.
|
|
31
|
+
*/
|
|
32
|
+
bring?(items: readonly CatalogAsset[]): Promise<void>;
|
|
28
33
|
};
|
|
29
34
|
/** What a host's agent tools place from: every item (a built-in list), or a source it searches. */
|
|
30
|
-
export type AssetCatalog = readonly
|
|
35
|
+
export type AssetCatalog = readonly CatalogAsset[] | AssetCatalogSource;
|
|
31
36
|
export declare const isAssetCatalogSource: (catalog: AssetCatalog) => catalog is AssetCatalogSource;
|
|
32
37
|
/**
|
|
33
|
-
* Items in the order search_assets lists them for `text` (`rank`)
|
|
34
|
-
*
|
|
38
|
+
* Items in the order search_assets lists them for `text` (`rank`): those the query names first (by
|
|
39
|
+
* name or category), and among them the scripted ones before plain GLBs, whatever their rank, as
|
|
40
|
+
* their params let the agent fit them to the room; then by rank. Items that rank alike keep the order they came in. A
|
|
41
|
+
* host that finds hits its own way (a database's fusion) orders them so too.
|
|
35
42
|
*/
|
|
36
|
-
export declare function rankAssets(items: readonly
|
|
43
|
+
export declare function rankAssets<T extends CatalogAsset>(items: readonly T[], text: string): T[];
|
|
37
44
|
/**
|
|
38
45
|
* A search of a list held whole: the items whose name, id, category or tags hold every word of
|
|
39
46
|
* the query, best first (`rankAssets`, then by name), with the categories of all of them.
|
|
40
47
|
*/
|
|
41
|
-
export declare function searchAssetList(items: readonly
|
|
48
|
+
export declare function searchAssetList(items: readonly CatalogAsset[], { text, category, limit }: AssetSearchQuery): AssetSearchResult;
|
|
42
49
|
/** A list served as a source: searched as `searchAssetList` does, items by id. */
|
|
43
|
-
export declare function assetCatalogSource(items: readonly
|
|
50
|
+
export declare function assetCatalogSource(items: readonly CatalogAsset[]): AssetCatalogSource;
|
|
44
51
|
/** The key of a search in `catalogSearches`: its words, category and limit. */
|
|
45
52
|
export declare const assetSearchKey: ({ text, category, limit }: AssetSearchQuery) => string;
|
|
46
53
|
/** The searches a `search_assets` input runs, one per query, as its operation reads them. */
|
|
@@ -48,16 +55,19 @@ export declare function assetSearchesOf(input: unknown): AssetSearchQuery[];
|
|
|
48
55
|
/**
|
|
49
56
|
* What a call reads of the library, alone or in a batch: the searches of `search_assets`, and the
|
|
50
57
|
* ids the others look up — the items placed or viewed, furnish_room's set for its room type, the
|
|
51
|
-
* catalog items a paint with no role finishes (their models list the surfaces).
|
|
58
|
+
* catalog items a paint with no role finishes (their models list the surfaces). `placing` is those
|
|
59
|
+
* of the ids the call may place.
|
|
52
60
|
*/
|
|
53
61
|
export declare function catalogReads(nodes: SceneNodes, tool: string, input: unknown): {
|
|
54
62
|
ids: string[];
|
|
63
|
+
placing: string[];
|
|
55
64
|
searches: AssetSearchQuery[];
|
|
56
65
|
};
|
|
57
66
|
/**
|
|
58
67
|
* What a call reads of the host's library, read before it as the operations are sync. A list is
|
|
59
68
|
* handed over whole. A source answers the call's searches (`catalogSearches`) and gives the items
|
|
60
|
-
* the call names (`catalog`), so a call that names none reads nothing
|
|
69
|
+
* the call names (`catalog`), so a call that names none reads nothing; the scripted items it may
|
|
70
|
+
* place are brought into the scene's project first (`bring`).
|
|
61
71
|
*/
|
|
62
72
|
export declare function readCatalog(nodes: SceneNodes, tool: string, input: unknown, catalog: AssetCatalog): Promise<Pick<AgentContext, 'catalog' | 'catalogSearches'>>;
|
|
63
73
|
//# sourceMappingURL=asset-catalog.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asset-catalog.d.ts","sourceRoot":"","sources":["../../src/agent-operations/asset-catalog.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"asset-catalog.d.ts","sourceRoot":"","sources":["../../src/agent-operations/asset-catalog.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAGnD,OAAO,KAAK,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAEvD,2GAA2G;AA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CAAC,KAAK,EAAE,SAAS,YAAY,EAAE,GAAG,kBAAkB,CAMrF;AAED,+EAA+E;AAC/E,eAAO,MAAM,cAAc,8BAAoC,gBAAgB,KAAG,MACjC,CAAA;AAKjD,6FAA6F;AAC7F,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,gBAAgB,EAAE,CAalE;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAC1B,KAAK,EAAE,UAAU,EACjB,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,OAAO,GACb;IAAE,GAAG,EAAE,MAAM,EAAE,CAAC;IAAC,OAAO,EAAE,MAAM,EAAE,CAAC;IAAC,QAAQ,EAAE,gBAAgB,EAAE,CAAA;CAAE,CA2CpE;AAED;;;;;GAKG;AACH,wBAAsB,WAAW,CAC/B,KAAK,EAAE,UAAU,EACjB,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,OAAO,EACd,OAAO,EAAE,YAAY,GACpB,OAAO,CAAC,IAAI,CAAC,YAAY,EAAE,SAAS,GAAG,iBAAiB,CAAC,CAAC,CAiB5D"}
|
|
@@ -54,14 +54,22 @@ function rank(item, query) {
|
|
|
54
54
|
: 6);
|
|
55
55
|
return [Math.max(0, ...ranks), ranks.reduce((sum, value) => sum + value, 0)];
|
|
56
56
|
}
|
|
57
|
+
/** The weakest word rank that still says what the item is: its name's words, or its category's. */
|
|
58
|
+
const NAMED = 3;
|
|
57
59
|
/**
|
|
58
|
-
* Items in the order search_assets lists them for `text` (`rank`)
|
|
59
|
-
*
|
|
60
|
+
* Items in the order search_assets lists them for `text` (`rank`): those the query names first (by
|
|
61
|
+
* name or category), and among them the scripted ones before plain GLBs, whatever their rank, as
|
|
62
|
+
* their params let the agent fit them to the room; then by rank. Items that rank alike keep the order they came in. A
|
|
63
|
+
* host that finds hits its own way (a database's fusion) orders them so too.
|
|
60
64
|
*/
|
|
61
65
|
export function rankAssets(items, text) {
|
|
66
|
+
const tier = (item, [weakest]) => weakest > NAMED ? 2 : item.script ? 0 : 1;
|
|
62
67
|
return items
|
|
63
|
-
.map((item) =>
|
|
64
|
-
|
|
68
|
+
.map((item) => {
|
|
69
|
+
const itemRank = rank(item, text);
|
|
70
|
+
return { item, rank: itemRank, tier: tier(item, itemRank) };
|
|
71
|
+
})
|
|
72
|
+
.sort((a, b) => a.tier - b.tier || a.rank[0] - b.rank[0] || a.rank[1] - b.rank[1])
|
|
65
73
|
.map(({ item }) => item);
|
|
66
74
|
}
|
|
67
75
|
/**
|
|
@@ -115,10 +123,12 @@ export function assetSearchesOf(input) {
|
|
|
115
123
|
/**
|
|
116
124
|
* What a call reads of the library, alone or in a batch: the searches of `search_assets`, and the
|
|
117
125
|
* ids the others look up — the items placed or viewed, furnish_room's set for its room type, the
|
|
118
|
-
* catalog items a paint with no role finishes (their models list the surfaces).
|
|
126
|
+
* catalog items a paint with no role finishes (their models list the surfaces). `placing` is those
|
|
127
|
+
* of the ids the call may place.
|
|
119
128
|
*/
|
|
120
129
|
export function catalogReads(nodes, tool, input) {
|
|
121
130
|
const ids = new Set();
|
|
131
|
+
const placing = new Set();
|
|
122
132
|
const searches = [];
|
|
123
133
|
const visit = (name, args) => {
|
|
124
134
|
switch (name) {
|
|
@@ -141,15 +151,19 @@ export function catalogReads(nodes, tool, input) {
|
|
|
141
151
|
const roomType = String(args.roomType);
|
|
142
152
|
for (const id of Object.hasOwn(FURNISH_ROOM_ASSETS, roomType)
|
|
143
153
|
? FURNISH_ROOM_ASSETS[roomType]
|
|
144
|
-
: [])
|
|
154
|
+
: []) {
|
|
145
155
|
ids.add(id);
|
|
156
|
+
placing.add(id);
|
|
157
|
+
}
|
|
146
158
|
return;
|
|
147
159
|
}
|
|
148
160
|
}
|
|
149
161
|
if (typeof name !== 'string')
|
|
150
162
|
return;
|
|
151
|
-
for (const id of placedAssets(name, args))
|
|
163
|
+
for (const id of placedAssets(name, args)) {
|
|
152
164
|
ids.add(id);
|
|
165
|
+
placing.add(id);
|
|
166
|
+
}
|
|
153
167
|
for (const { targets } of roleLessPaints(name, args))
|
|
154
168
|
for (const target of targets) {
|
|
155
169
|
const node = typeof target === 'string' ? nodes[target] : undefined;
|
|
@@ -158,21 +172,25 @@ export function catalogReads(nodes, tool, input) {
|
|
|
158
172
|
}
|
|
159
173
|
};
|
|
160
174
|
visit(tool, asRecord(input));
|
|
161
|
-
return { ids: [...ids], searches };
|
|
175
|
+
return { ids: [...ids], placing: [...placing], searches };
|
|
162
176
|
}
|
|
163
177
|
/**
|
|
164
178
|
* What a call reads of the host's library, read before it as the operations are sync. A list is
|
|
165
179
|
* handed over whole. A source answers the call's searches (`catalogSearches`) and gives the items
|
|
166
|
-
* the call names (`catalog`), so a call that names none reads nothing
|
|
180
|
+
* the call names (`catalog`), so a call that names none reads nothing; the scripted items it may
|
|
181
|
+
* place are brought into the scene's project first (`bring`).
|
|
167
182
|
*/
|
|
168
183
|
export async function readCatalog(nodes, tool, input, catalog) {
|
|
169
184
|
if (!isAssetCatalogSource(catalog))
|
|
170
185
|
return { catalog };
|
|
171
|
-
const { ids, searches } = catalogReads(nodes, tool, input);
|
|
186
|
+
const { ids, placing, searches } = catalogReads(nodes, tool, input);
|
|
172
187
|
const [items, answers] = await Promise.all([
|
|
173
188
|
ids.length ? catalog.byId(ids) : [],
|
|
174
189
|
Promise.all(searches.map((query) => catalog.search(query))),
|
|
175
190
|
]);
|
|
191
|
+
const scripted = items.filter((item) => item.script && placing.includes(item.id));
|
|
192
|
+
if (scripted.length && catalog.bring)
|
|
193
|
+
await catalog.bring(scripted);
|
|
176
194
|
return {
|
|
177
195
|
catalog: items,
|
|
178
196
|
...(searches.length && {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { AssetInput } from '../schema/index.js';
|
|
2
1
|
import type { AgentContext, AgentOperation, SceneNodes } from './types.js';
|
|
3
2
|
/**
|
|
4
3
|
* What a host read about one catalog item before the call, as the operations are sync: its
|
|
@@ -14,9 +13,15 @@ export type AssetViewFacts = {
|
|
|
14
13
|
type ViewAssetsInput = {
|
|
15
14
|
ids: string[];
|
|
16
15
|
};
|
|
17
|
-
/**
|
|
18
|
-
|
|
16
|
+
/**
|
|
17
|
+
* The item a host reads: `id` keys its facts, `src` is its model, `thumbnail` its picture. An item
|
|
18
|
+
* built from a script names its `surfaces` (its manifest's slots), so its model is not read.
|
|
19
|
+
*/
|
|
20
|
+
export type AssetViewSubject = {
|
|
21
|
+
id: string;
|
|
22
|
+
src?: string;
|
|
19
23
|
thumbnail?: string;
|
|
24
|
+
surfaces?: readonly string[];
|
|
20
25
|
};
|
|
21
26
|
/**
|
|
22
27
|
* The names of a GLB's paintable surfaces (its `slot_<id>` materials, as the renderer and the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asset-views.d.ts","sourceRoot":"","sources":["../../src/agent-operations/asset-views.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"asset-views.d.ts","sourceRoot":"","sources":["../../src/agent-operations/asset-views.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAEvE;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;IAC5B,sEAAsE;IACtE,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAA;AAED,KAAK,eAAe,GAAG;IAAE,GAAG,EAAE,MAAM,EAAE,CAAA;CAAE,CAAA;AAExC;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,EAAE,EAAE,MAAM,CAAA;IACV,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;CAC7B,CAAA;AASD;;;;GAIG;AACH,wBAAsB,eAAe,CACnC,IAAI,EAAE,CAAC,KAAK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E,CAarF;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAC5B,KAAK,EAAE,UAAU,EACjB,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,OAAO,EACd,OAAO,EAAE,IAAI,CAAC,YAAY,EAAE,SAAS,CAAC,GACrC;IAAE,QAAQ,EAAE,gBAAgB,EAAE,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAA;CAAE,CA8BrD;AAWD;;;;GAIG;AACH,eAAO,MAAM,UAAU,EAAE,cAAc,CAAC,eAAe,CAyCtD,CAAA"}
|
|
@@ -116,7 +116,11 @@ export function createAssetViewLoader(io) {
|
|
|
116
116
|
return async (subjects, { pictures = true } = {}) => {
|
|
117
117
|
const entries = await Promise.all(subjects.map(async (subject) => {
|
|
118
118
|
const [surface, picture] = await Promise.allSettled([
|
|
119
|
-
subject.
|
|
119
|
+
subject.surfaces
|
|
120
|
+
? [...subject.surfaces]
|
|
121
|
+
: subject.src
|
|
122
|
+
? surfacesOf(subject.src)
|
|
123
|
+
: Promise.reject(new Error('it has no model')),
|
|
120
124
|
pictures && subject.thumbnail
|
|
121
125
|
? io.picture(subject.thumbnail)
|
|
122
126
|
: Promise.reject(new Error(pictures ? 'it has no picture' : 'not asked')),
|
|
@@ -165,7 +169,14 @@ export function assetViewNeeds(nodes, tool, input, context) {
|
|
|
165
169
|
if (tool === 'view_assets') {
|
|
166
170
|
const ids = input?.ids;
|
|
167
171
|
const wanted = new Set(Array.isArray(ids) ? ids : []);
|
|
168
|
-
return {
|
|
172
|
+
return {
|
|
173
|
+
subjects: catalog
|
|
174
|
+
.filter((item) => wanted.has(item.id))
|
|
175
|
+
.map(({ id, src, thumbnail, script }) => script
|
|
176
|
+
? { id, thumbnail, surfaces: script.manifest.slots.map((slot) => slot.id) }
|
|
177
|
+
: { id, src, thumbnail }),
|
|
178
|
+
pictures: true,
|
|
179
|
+
};
|
|
169
180
|
}
|
|
170
181
|
const subjects = new Map();
|
|
171
182
|
for (const { targets } of roleLessPaints(tool, input))
|
|
@@ -174,7 +185,12 @@ export function assetViewNeeds(nodes, tool, input, context) {
|
|
|
174
185
|
if (node?.type !== 'item' || !node.asset?.id)
|
|
175
186
|
continue;
|
|
176
187
|
const entry = catalog.find((item) => item.id === node.asset.id);
|
|
177
|
-
if (entry?.
|
|
188
|
+
if (entry?.script)
|
|
189
|
+
subjects.set(entry.id, {
|
|
190
|
+
id: entry.id,
|
|
191
|
+
surfaces: entry.script.manifest.slots.map((slot) => slot.id),
|
|
192
|
+
});
|
|
193
|
+
else if (entry?.src)
|
|
178
194
|
subjects.set(entry.id, { id: entry.id, src: entry.src });
|
|
179
195
|
}
|
|
180
196
|
return { subjects: [...subjects.values()], pictures: false };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"author-scene.d.ts","sourceRoot":"","sources":["../../src/agent-operations/author-scene.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAA;AA0CrE,OAAO,EACL,KAAK,OAAO,EAGZ,KAAK,sBAAsB,EAK3B,KAAK,wBAAwB,EAO7B,KAAK,aAAa,EAKlB,KAAK,QAAQ,EAId,MAAM,WAAW,CAAA;AA6BlB,OAAO,KAAK,EAAE,YAAY,EAAE,qBAAqB,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAG5F;;;;;;;;;;;;;;GAcG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,OAAO,EAAE,kBAAkB,CAAA;IAC3B,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,sBAAsB,CAAC,CAAA;IAChD,2EAA2E;IAC3E,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACtC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,mFAAmF;IACnF,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB,CAAA;AAED;;;;;;;;GAQG;A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AC/B,UAAU,EAAE,MAAM,CAAA;CACnB;;;;;;;eAFY,oBAAoB;gBACnB,MAAM;;;;;;;;;;;;;;EA+FrB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { refuse } from '../agent-tools/refusal.js';
|
|
2
2
|
import { doorTypeFields, NEW_DOOR_FRAME_THICKNESS } from '../building/door-types.js';
|
|
3
3
|
import { DOOR_STYLES, doorStyleLook, getWindowStyleOverrides, WINDOW_STYLES, } from '../building/opening-style-presets.js';
|
|
4
|
-
import { doorFacing,
|
|
4
|
+
import { doorFacing, wallOpeningCeilingOver } from '../building/wall-openings.js';
|
|
5
5
|
import { NEW_WINDOW_FRAME_THICKNESS, windowTakesStyle, windowTypeFields, } from '../building/window-types.js';
|
|
6
6
|
import { cutFloorOpening } from '../commands/structure/floor-opening.js';
|
|
7
7
|
import { doorPositionForFacing, getDoorOpeningSize } from '../lib/door-opening.js';
|
|
@@ -768,8 +768,7 @@ export function authorScene(scene, input, context) {
|
|
|
768
768
|
return;
|
|
769
769
|
}
|
|
770
770
|
if (o.kind === 'door') {
|
|
771
|
-
const wallHeight =
|
|
772
|
-
(node.wallType === 'curtain' ? getCurtainWallConfig(node).perimeterWidth : 0);
|
|
771
|
+
const wallHeight = wallOpeningCeilingOver(node, draft, o.along - size.width / 2, o.along + size.width / 2) - (node.wallType === 'curtain' ? getCurtainWallConfig(node).perimeterWidth : 0);
|
|
773
772
|
if (o.sill + size.height > wallHeight + 1e-6) {
|
|
774
773
|
defect(id, 'wall_too_low', `Wall ${w.spec.id} is ${metres(wallHeight)} high, too low for a ${metres(size.height)} door at sill ${metres(o.sill)}.`);
|
|
775
774
|
return;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import type { AgentOperation } from './types.js';
|
|
2
|
+
import type { AgentOperation, AgentOperationOutcome } from './types.js';
|
|
3
3
|
type BatchInput = {
|
|
4
4
|
calls: {
|
|
5
5
|
tool: string;
|
|
@@ -11,12 +11,18 @@ type Contract = {
|
|
|
11
11
|
name: string;
|
|
12
12
|
input: Record<string, z.ZodType>;
|
|
13
13
|
};
|
|
14
|
+
/** A batch one call at a time: each resume runs the next call, and the last returns the outcome. */
|
|
15
|
+
export type BatchSteps = (...args: Parameters<AgentOperation<BatchInput>>) => Generator<void, AgentOperationOutcome, void>;
|
|
14
16
|
/**
|
|
15
17
|
* `run_batch`: shared tools in order, each on the scene the calls before it left, their changes
|
|
16
18
|
* merged into one set — one undo step, one write on either surface. The user: the model spent a
|
|
17
19
|
* round trip per step on what could be serialised (deleting balcony walls one by one, the same
|
|
18
20
|
* build on every floor). Pre-check and operation refusals follow the same per-call policy.
|
|
21
|
+
* It stops after each call, so a host that can let other work run between a batch's calls does
|
|
22
|
+
* (`createBatchOperation` runs it through in one go).
|
|
19
23
|
*/
|
|
24
|
+
export declare function createBatchSteps(operations: Readonly<Record<string, AgentOperation<never>>>, contracts: readonly Contract[]): BatchSteps;
|
|
25
|
+
/** `run_batch` as one synchronous operation: every call, back to back. */
|
|
20
26
|
export declare function createBatchOperation(operations: Readonly<Record<string, AgentOperation<never>>>, contracts: readonly Contract[]): AgentOperation<BatchInput>;
|
|
21
27
|
export {};
|
|
22
28
|
//# sourceMappingURL=batch.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"batch.d.ts","sourceRoot":"","sources":["../../src/agent-operations/batch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAOvB,OAAO,KAAK,EAAE,cAAc,EAAgB,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"batch.d.ts","sourceRoot":"","sources":["../../src/agent-operations/batch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAOvB,OAAO,KAAK,EAAE,cAAc,EAAE,qBAAqB,EAAgB,MAAM,SAAS,CAAA;AAElF,KAAK,UAAU,GAAG;IAChB,KAA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