shrub/sur/talk.hoon

156 lines
8.4 KiB
Plaintext
Raw Normal View History

::
2016-02-11 03:41:28 +03:00
:::: /hoon/talk/sur
2015-01-26 20:44:09 +03:00
!:
2014-12-05 23:14:00 +03:00
|%
::
::TODO station -> circle
::
::> ||
::> || %reader-communication
::> ||
::> broker interfaces for readers.
::+|
::
++ action ::> user action
2017-04-11 14:00:13 +03:00
$% :: station configuration ::
{$create (trel knot cord posture)} ::< create station
{$source (trel knot ? (set partner))} ::< un/sub p to/from r
{$depict (pair knot cord)} ::< change description
{$permit (trel knot ? (set ship))} ::< invite/banish
{$delete (pair knot (unit cord))} ::< delete + announce
:: messaging ::
{$convey (list thought)} ::< post exact
{$phrase (pair (set partner) (list speech))} ::< post easy
2017-04-11 14:00:13 +03:00
:: personal metadata ::
::TODO change to target partners, not only our stations.
{$status (pair (set knot) status)} ::< our status update
2017-04-11 14:00:13 +03:00
:: changing shared ui ::
{$human (pair ship human)} ::< new identity
{$glyph (trel char (set partner) ?)} ::< un/bind a glyph
== ::
++ reaction ::> user information
$: kind/?($info $fail) ::< result
what/@t ::< explain
why/(unit action) ::< cause
== ::
++ lowdown ::> new/changed state
$% :: story state ::
{$confs (unit config) (map station (unit config))}::< configs
{$precs register} ::< presences
{$grams (pair @ud (list telegram))} ::< messages
:: ui state ::
{$glyph (jug char (set partner))} ::< glyph bindings
{$names (map ship (unit human))} ::< nicknames
2015-12-09 04:54:26 +03:00
== ::
::
::> ||
::> || %broker-communication
::> ||
::> structures for communicating between brokers.
::+|
::
++ command ::> effect on story
$% {$review (list thought)} ::< deliver
2014-12-05 23:14:00 +03:00
== ::
++ report ::> update
$% {$cabal cabal} ::< config neighborhood
{$group register} ::< presence
{$grams (pair @ud (list telegram))} ::< thoughts
2015-01-01 23:43:50 +03:00
== ::
::
::> ||
::> || %circles
::> ||
::> messaging targets and their metadata.
::+|
::
++ partner (each station passport) ::< message target
++ station (pair ship knot) ::< native target
++ passport ::> foreign target
$% {$twitter p/@t} ::< twitter handle
2014-12-05 23:14:00 +03:00
== ::
::> circle configurations.
++ cabal ::> metaconfiguration
$: loc/config ::< local config
ham/(map station config) ::< neighborhood configs
2014-12-05 23:14:00 +03:00
== ::
++ config ::> station config
$: sources/(set partner) ::< pulls from
caption/cord ::< description
cordon/control ::< restrictions
2015-01-26 20:44:09 +03:00
== ::
++ control (pair posture (set ship)) ::< access control
++ posture ::> security kind
$? $black ::< channel, blacklist
$white ::< village, whitelist
$green ::< journal, author list
$brown ::< mailbox, our r, bl w
== ::
::> participant metadata.
++ register (pair atlas (map partner atlas)) ::< our & srcs presences
++ atlas (map ship status) ::< presence map
++ status (pair presence human) ::< participant
++ presence ?($gone $hear $talk) ::< status type
++ human ::> human identifier
$: true/(unit (trel @t (unit @t) @t)) ::<TODO unused true name
hand/(unit @t) ::< handle
2014-12-05 23:14:00 +03:00
== ::
::
::> ||
::> || %message-data
::> ||
::> structures for containing main message data.
::+|
::
++ telegram (pair ship thought) ::< who thought
++ thought (trel serial audience statement) ::< which whom what
++ statement (trel @da bouquet speech) ::< when this
++ speech ::> narrative action
$% {$non $~} ::< no content (yo)
{$lin p/? q/@t} ::< no/@ text line
{$ire p/serial q/speech} ::< in-reply-to
{$url p/purf} ::< parsed url
{$exp p/@t} ::< hoon line
{$fat p/torso q/speech} ::< attachment
{$lan p/knot q/@t} ::< local announce
{$inv p/? q/station} ::< inv/ban for station
{$mor p/(list speech)} ::< multiplex
{$ext p/@tas q/*} ::< extended action
{$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
2016-03-26 03:47:22 +03:00
== ::
2015-01-01 23:43:50 +03:00
== ::
++ torso ::> attachment
$% {$name (pair @t torso)} ::< named attachment
{$text (list @t)} ::< text lines
{$tank (list tank)} ::< tank list
== ::
::
::> ||
::> || %message-metadata
::> ||
:: structures for containing message metadata.
::+|
::
++ serial @uvH ::< unique identifier
++ audience (map partner (pair envelope delivery)) ::< destination + state
++ envelope (pair ? (unit partner)) ::< visible sender
++ delivery ::> delivery state
$? $pending ::< undelivered
$received ::< delivered
$rejected ::< undeliverable
$released ::< sent one-way
$accepted ::< fully processed
2015-01-06 23:31:36 +03:00
== ::
::TODO what is ++bouquet even for? not yet used...
++ bouquet (set flavor) ::< complete aroma
++ flavor path ::< content flavor
2014-12-05 23:14:00 +03:00
--