place.hud.defs

The shapes HUD's workspace methods share: canvases, their members and tiles, tabs, and the live events.

Repository @lexicons.hud.place did:plc:3tzbz4pml36u4mkresb6pdhv not from the namespace authority
Details · defs
Kinddefs
Authorityhud.place
Commit rev3n3jbje7dhbju
Indexed

#actor

object

A person, by DID and handle.

Properties

did

requiredstring · did

handle

string

Their handle, verified, where known.

  • maxLength: 253

#allowedApp

object

A frame app a person allows to save entries.

Properties

app

requiredstring · at-uri

Its place.hud.app record.

#by

object

Who caused a change.

Properties

did

requiredstring · did

The person, or the person an agent acts for.

handle

string

Their handle, where known.

  • maxLength: 253

kind

string

person: on a workspace page, or another client of these methods; agent: an MCP client of theirs, through HUD's canvas tools.

  • knownValues: person | agent

#canvasView

object

A canvas, apart from its tiles.

Properties

key

requiredstring

The canvas's id: 12 hex digits, its space's key where it is kept in one.

  • minLength: 12
  • maxLength: 12

members

array

Its owner and those it invited.

  • maxLength: 20
itemsref

owner

requiredstring · did

The canvas's owner, its space's authority.

record

requiredunknown

The canvas's info, a place.hud.canvas record, as kept: its name, createdAt and updatedAt.

tileCount

integer

How many tiles it holds.

  • minimum: 0

#canvasViewerState

object

The person asking, in a canvas.

Properties

invitedBy

string · did

Who invited the person, while the invitation waits: an invitation, not yet a canvas they are in.

role

string

The person's role in it.

  • knownValues: owner | editor | viewer

#canvasesEvent

object

The person's workspace changed: a canvas made, renamed, shared, deleted, opened, closed or reordered, an invitation, where canvases are kept. Read getWorkspace again.

Properties

by

ref
Reference

canvas

string

The canvas that changed; none when it concerns all the person's, as where they are kept.

  • minLength: 12
  • maxLength: 12

#contrastProblem

object

A text of a palette that reads at under 4.5:1 on a surface it is drawn on.

Properties

on

requiredstring

The palette's colour it is drawn on, by its field.

  • maxLength: 32

ratio

requiredstring

How it reads, as 3.21 for 3.21:1.

  • maxLength: 8

text

requiredstring

The palette's colour drawn as text, by its field.

  • maxLength: 32

#launcher

object

A query a bundled view offers a workspace's New tile: its app, the domain whose icon it shows, its title, and the query to call, its params made the person's.

Properties

app

requiredstring

The app's name, as an account's profile names the domain of its method (Bluesky for bsky.app).

  • maxLength: 64

domain

requiredstring

The domain of the app, from its method's NSID: its icon is /icon/<domain>.

  • maxLength: 253

method

requiredstring · nsid

params

requiredunknown

The query's params, as an object.

service

requiredstring

The service the query is called at, as did:…#fragment.

  • maxLength: 2048

title

requiredstring
  • maxLength: 120

#member

object

A member of a canvas: its owner, or someone it invited.

Properties

did

requiredstring · did

handle

string

Their handle, verified when they were invited or signed in.

  • maxLength: 253

invitedBy

string · did

Who invited them; none for the owner.

pending

boolean

True while their invitation waits: they are not in it yet.

role

string
  • knownValues: owner | editor | viewer

#palette

object

A theme's colours, each named for what it colours rather than its hue, as a hex colour #rrggbb. Every text reads at 4.5:1 or better on what it is drawn on.

Properties

accent

requiredstring

What marks rather than acts: links, the tab one is on, the row a search picks.

  • maxLength: 7

accentSoft

requiredstring

Behind what the accent marks: the row a search picks.

  • maxLength: 7

attention

requiredstring

What waits or runs, and an agent's work.

  • maxLength: 7

background

requiredstring

A tile's body, and the page's chrome: what is drawn on the canvas.

  • maxLength: 7

border

requiredstring

Lines between parts, and a card's hairline.

  • maxLength: 7

borderStrong

requiredstring

A stronger edge, for a field or a column that has focus nearby.

  • maxLength: 7

canvas

requiredstring

The grey behind the tiles.

  • maxLength: 7

danger

requiredstring

What failed, is removed, or is dangerous.

  • maxLength: 7

done

requiredstring

What is done: a pull merged.

  • maxLength: 7

neutral

requiredstring

What closed or was skipped.

  • maxLength: 7

notice

requiredstring

A notice's surface: what a reader should know, and the toast that says what an agent did.

  • maxLength: 7

onNotice

requiredstring

A notice's text.

  • maxLength: 7

onPrimary

requiredstring

Text on the main buttons.

  • maxLength: 7

onSolid

requiredstring

Text on a state's pill, drawn in success, danger, done, attention or neutral.

  • maxLength: 7

panel

requiredstring

A surface a little apart from the background: a header.

  • maxLength: 7

primary

requiredstring

The main buttons, and the edge of what has focus.

  • maxLength: 7

soft

requiredstring

A surface further apart: a hovered row, a field.

  • maxLength: 7

success

requiredstring

What is open, passed, or added.

  • maxLength: 7

text

requiredstring

The body's text.

  • maxLength: 7

textFaint

requiredstring

Text said more quietly still: hints, placeholders.

  • maxLength: 7

textMuted

requiredstring

Text said quietly: times, counts.

  • maxLength: 7

#presenceEvent

object

Who is on an open canvas: as a stream opens it, and as anyone comes or goes, by whom.

Properties

by

ref
Reference

canvas

requiredstring

A canvas's id: 12 hex digits, its space's key where it is kept in one.

  • minLength: 12
  • maxLength: 12

present

requiredarray

Who has it open now, each once.

itemsref

#sharedCall

object

A tile on a shared page: one of HUD's read tools and its arguments, an inline view among them where it has one, never its result. The page calls it as whoever opens it.

Properties

arguments

requiredunknown

Its arguments, an object of at most 64 KiB as JSON.

title

requiredstring
  • maxLength: 200

tool

requiredstring

The read tool, by its MCP name.

  • maxLength: 64

#sharedTile

object

A tile of a canvas shared by link, as its link's holders see it: its call and its place, never who added it.

Properties

arguments

requiredunknown

Its arguments, an object of at most 64 KiB as JSON.

icon

string · uri

The icon of the app whose data it shows, as a tileView's.

key

requiredstring

The tile's id: 12 hex digits, what callSharedTool names it by.

  • minLength: 12
  • maxLength: 12

stack

string

The column-head tile it is stacked under; none for a head.

  • minLength: 12
  • maxLength: 12

title

requiredstring
  • maxLength: 200

tool

requiredstring

The read tool, by its MCP name.

  • maxLength: 64

width

requiredstring

Its column's width, a share of the strip's visible width; a stacked tile's column is its head's.

  • knownValues: third | half | two-thirds | full

#storage

object

Where a canvas is kept.

Properties

kind

requiredstring

space: a personal space on the owner's PDS; file: the HUD server's own files.

  • knownValues: file | space

reason

string

Why it is not in a space, where spaces are on.

  • maxLength: 1000

uri

string · at-uri

The canvas's space, for kind space.

#tab

object

A canvas open as a tab.

Properties

canvas

requiredref

#tabRef

object

A tab, by its canvas.

Properties

canvas

requiredstring

A canvas's id: 12 hex digits, its space's key where it is kept in one.

  • minLength: 12
  • maxLength: 12

#theme

object

A theme the workspace is drawn in: one of HUD's, by key, or a person's place.hud.theme record, by uri; never both. Light and dark are HUD's own look in that scheme, as each platform draws it, so they have no palette; every other theme is a palette, drawn over its scheme's look.

Properties

colorScheme

requiredstring

Whether it is light or dark: what its palette falls back on, and how a platform draws what the theme does not colour, as scrollbars and system controls.

  • maxLength: 16
  • knownValues: light | dark

Who made a person's theme.

Reference

key

string

One of HUD's themes, as setTheme names it.

  • maxLength: 64
  • knownValues: light | dark | amber | blueprint | dusk | frost | paper | phosphor

name

requiredstring

What it is called, as the workspace lists it.

  • maxLength: 640
  • maxGraphemes: 64

Its colours; none for light and dark, HUD's own look.

Reference

uri

string · at-uri

A person's theme: its place.hud.theme record, as setTheme names it.

#tileEvent

object

A tile of an open canvas changed. One change may move others, each its own event: a column's head taken off, the next in its stack heads it.

Properties

by

ref
Reference

canvas

requiredstring

A canvas's id: 12 hex digits, its space's key where it is kept in one.

  • minLength: 12
  • maxLength: 12

key

requiredstring

The tile's id.

  • minLength: 12
  • maxLength: 12

op

requiredstring

add: a tile added; update: its place, width, stack or title changed; remove: taken off.

  • knownValues: add | update | remove

tile

ref

The tile as it now is; none once removed.

#tileView

object

A tile: one of HUD's read tools and its arguments, never its result, as a column of the strip, or stacked in one.

Properties

author

requiredstring · did

The member who added it, in whose repo its record is.

icon

string · uri

The icon of the app whose data it shows: its favicon, from this server's /icon/<domain>, the domain the NSID's first two segments reversed (app.bsky → bsky.app), of the collection a record tile shows or the method a query tile calls. None where it names no NSID; it answers 404 where the app has no icon.

key

requiredstring

The tile's id: 12 hex digits, its record's key.

  • minLength: 12
  • maxLength: 12

record

requiredunknown

The tile, a place.hud.tile record, as kept: its tool and arguments (or argumentsJson), title, order, width, stack, by, createdAt and from.

uri

string · at-uri

The tile's record, in its canvas's space, where the canvas is kept in one; none for one kept on the HUD server.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • A canvas of a HUD workspace, keyed by the canvas's id (12 hex digits), with its owner as its authority: its info, one place.hud.canvas record keyed self in the owner's repo in the space, and its tiles, each a place.hud.tile record keyed by the tile's id in the repo of the member who added it. A canvas no one else is in is a personal space, which its owner alone reads.

  • The signed-in person's workspace.

  • place.hud.tile

    record not from the namespace authority

    A tile of a HUD canvas, in the repo of the member who added it in the canvas's space (place.hud.workspace), keyed by the tile's id (12 hex digits): one of HUD's read tools and its arguments, never its result, as a column of the canvas's strip of columns, or in a column's stack.

  • place.hud.canvas

    record not from the namespace authority

    A HUD canvas's info, in its owner's repo in the canvas's space (place.hud.workspace): one record, keyed self. Its id is the space's key, its owner the space's authority.

  • place.hud.getCanvas

    query not from the namespace authority

    A canvas and its tiles.