mirror of
https://github.com/hanzoai/app.git
synced 2026-10-31 18:04:19 +00:00
talk, app, place, dev, go, page, remember and resume are the app's addresses as paths: a conversation is /chat/<id>, and @hanzo/build/route maps a builder address to its path under /dev — /dev/run/<id>, /dev/projects/<org>/<repo>, /dev/projects/<slug>, /dev/machines and every other place at its name. useDevHost still reads the path the host hands <Rooms>, now through place; the rooms' context carries no query. Nothing here reads a retired address: ?at=, ?chat= and the builder grammar 0.1.35 wrote under /dev are answered at the edge (hanzo.ai lib/edge.ts).
855 B
855 B
@hanzo/rooms
The Hanzo workspace — Home, Chat, Inbox, Contacts, Meet, Cal, Drive, Board, Work, Bots and the frame that holds them — as one package that every surface imports.
import { configure, Rooms } from '@hanzo/rooms'
import { Room } from '@hanzo/rooms/Room'
import { CalScheduler } from '@hanzo/rooms/CalScheduler'
configure({ site: '', home: '/home', signUp: '/signup' })
<Rooms router={router} path={pathname} route={route} Link={Link}>
<Room mode="cal"><CalScheduler /></Room>
</Rooms>
configure() names the host's addresses (where its own pages live, the
gateway and IAM, the plan catalogue to paint first). <Rooms> carries what
moves: the router, the path, the route and the link component. The rooms
import nothing from a host, and their look comes from @hanzo/appearance and
@hanzo/design through @hanzo/ui.