mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-13 08:38:43 +03:00
111 lines
7.3 KiB
Plaintext
111 lines
7.3 KiB
Plaintext
::
|
|
:::: /hoon/talk/sur
|
|
!:
|
|
|%
|
|
++ audience (map partner (pair envelope delivery)) :: destination+state
|
|
++ atlas (map ship status) :: presence map
|
|
++ bouquet (set flavor) :: complete aroma
|
|
++ command :: effect on party
|
|
$% {$design (pair knot (unit config))} :: configure+destroy
|
|
{$publish (list thought)} :: originate
|
|
{$review (list thought)} :: deliver
|
|
== ::
|
|
++ update :: change shared state
|
|
$% {$status (pair (set knot) status)} :: our status update
|
|
{$human (pair ship human)} :: new identity
|
|
{$bind (pair char (set partner))} :: bind a glyph
|
|
== ::
|
|
++ cabal :: metaconfiguration
|
|
$: loc/config :: local config
|
|
ham/(map station config) :: neighborhood configs
|
|
== ::
|
|
++ config :: party configuration
|
|
$: sources/(set partner) :: pulls from
|
|
caption/cord :: about
|
|
cordon/control :: restricted to
|
|
== ::
|
|
++ control (pair posture (set ship)) :: access control
|
|
++ delivery :: delivery state
|
|
$? $pending :: undelivered
|
|
$received :: delivered
|
|
$rejected :: undeliverable
|
|
$released :: sent one-way
|
|
$accepted :: fully processed
|
|
== ::
|
|
++ envelope (pair ? (unit partner)) :: visible sender
|
|
++ flavor path :: content flavor
|
|
++ human :: human identifier
|
|
$: true/(unit (trel @t (unit @t) @t)) ::TODO used? true name
|
|
hand/(unit @t) :: handle
|
|
== ::
|
|
++ passport :: foreign flow
|
|
$% {$twitter p/@t} :: twitter
|
|
== ::
|
|
++ posture :: security posture
|
|
$? $black :: channel
|
|
$white :: village
|
|
$green :: journal
|
|
$brown :: mailbox
|
|
== ::
|
|
++ presence ?($gone $hear $talk) :: status type
|
|
++ register (pair atlas (map partner atlas)) :: ping me, ping srcs
|
|
++ shelf (map knot (pair posture cord)) :: ship shape
|
|
++ report :: talk update
|
|
$% {$cabal config} :: config neighborhood
|
|
:: {$folder (list report)} :: multiple
|
|
{$grams (pair @ud (list telegram))} :: beginning thoughts
|
|
{$group atlas} :: presence
|
|
== ::
|
|
++ lowdown :: changed shared state
|
|
::TODO change these so that they're always just the diff.
|
|
:: this will aid with ++sh's printing.
|
|
$% {$glyph (jug char (set partner))} :: new bindings
|
|
{$names (map ship (unit human))} :: new identities
|
|
::TODO cabal, or merge its contents into tale's config
|
|
:: basically we just want to merge the ship sets, right?
|
|
{$tales (map knot (unit config))} :: changed config
|
|
::TODO merge remote and local presences.
|
|
{$precs (pair knot atlas)} :: changed presence
|
|
{$grams (pair knot (pair @ud (list telegram)))} :: new grams
|
|
== ::
|
|
++ speech :: narrative action
|
|
$% {$lan p/knot q/@t} :: local announce
|
|
{$exp p/@t} :: hoon line
|
|
{$non $~} :: no content (yo)
|
|
::TODO so, this is extensibility tacked on, rather than built-in?
|
|
:: really, talk has been two-split but the guardian is still two
|
|
:: things at once. you want base-guardian and talk-guardian.
|
|
:: ...that's probably what %gall is, but then why do we have $ext?
|
|
{$ext p/@tas q/*} :: extended action
|
|
{$fat p/torso q/speech} :: attachment
|
|
:: {$inv p/station} :: invite to station
|
|
{$url p/purf} :: parsed url
|
|
{$ire p/serial q/speech} :: in-reply-to
|
|
{$lin p/? q/@t} :: no/@ text line
|
|
{$mor p/(list speech)} :: multiplex
|
|
::TODO? what are p and q supposed to be?
|
|
{$app p/@tas q/@t} :: app message
|
|
$: $api :: api message
|
|
service/@tas :: service name
|
|
id/@t :: id on the service
|
|
id-url/purf :: link to id
|
|
summary/@t :: summary of event
|
|
body/@t :: body of event
|
|
url/purf :: link to event
|
|
meta/json :: other data for web
|
|
== ::
|
|
== ::
|
|
++ serial @uvH :: unique identity
|
|
++ partner (each station passport) :: interlocutor
|
|
++ status (pair presence human) :: participant
|
|
++ statement (trel @da bouquet speech) :: when this
|
|
++ station (pair ship knot) :: domestic flow
|
|
++ telegram (pair ship thought) :: who which whom what
|
|
++ thought (trel serial audience statement) :: which whom what
|
|
++ torso :: attachment
|
|
$% {$name (pair @t torso)} :: named attachment
|
|
{$text (list @t)} :: text lines
|
|
{$tank (list tank)} :: tank list
|
|
== ::
|
|
--
|