Skip to content

Changelog

v0.9.0

March 6th 2026

  • New
    • Addition of wayfinding methods getPath and findClosest
      ts
      // find the closest meeting room
      // by walking distance from a specific location
      const { path, distance, target } = await hostApi.findClosest({
        start: [12, 5],
        where: { subCategory: 'meetingRoom' }
      })

v0.8.0

February 25th 2026

  • New
    • Spatial query filters at and within for elements and spaces
      ts
      const spaces = await hostApi.getSpaces({ where: { at: [-5, 3] } })
      const assetsInBoundingBox = await hostApi.getElements({
        where: { within: { min: [-3, 0], max: [10, 5] } }
      })
    • Asset elements now inherit product category and subCategory
      ts
      const workstations = await hostApi.getElements({
        where: { subCategory: 'workstation' }
      })

v0.7.0

February 17th 2026

  • New
    • Support for dialogs prompt and confirm
      ts
      const result = await hostApi.prompt({
        title: 'Select values',
        fields: {
          count: { label: 'Count', type: 'number', default: 5 },
          name: { label: 'Name', type: 'text', default: 'Jeff' }
        }
      })
      console.log(result.count)
  • Changes
    • Elements now expose transform, localTransform, boundingBox and localBoundingBox
    • element.position, element.rotation are removed in favour of element.transform