2017-03-30 15:17:37 +03:00
|
|
|
::
|
2017-11-08 00:05:52 +03:00
|
|
|
:::: /sur/hall/hoon
|
|
|
|
::
|
2018-12-11 22:38:44 +03:00
|
|
|
^?
|
2014-12-05 23:14:00 +03:00
|
|
|
|%
|
2017-04-21 14:43:17 +03:00
|
|
|
::
|
2017-07-06 23:38:36 +03:00
|
|
|
::TODO use different words for different kinds of burdens
|
2017-11-07 22:20:42 +03:00
|
|
|
::TODO rename det/delta in most place? they may be (different kinds of) deltas,
|
|
|
|
:: but location in control flow already indicates delta-ness.
|
2017-07-06 23:38:36 +03:00
|
|
|
::
|
2018-05-25 01:39:56 +03:00
|
|
|
:: #
|
|
|
|
:: # %wrappers
|
|
|
|
:: #
|
|
|
|
:: wrapper molds, for semantic clarity.
|
2018-05-29 09:42:16 +03:00
|
|
|
+| %wrappers
|
2017-07-12 01:12:29 +03:00
|
|
|
::
|
2017-07-12 01:30:00 +03:00
|
|
|
::TODO rename
|
2018-05-25 01:39:56 +03:00
|
|
|
++ name term :: circle name
|
|
|
|
++ nick cord :: local nickname
|
|
|
|
++ tags (set knot) :: usage tags
|
2017-07-12 01:12:29 +03:00
|
|
|
::
|
2018-05-25 01:39:56 +03:00
|
|
|
:: #
|
|
|
|
:: # %query-models
|
|
|
|
:: #
|
|
|
|
:: models relating to queries, their results and updates.
|
2018-05-29 09:42:16 +03:00
|
|
|
+| %query-models
|
2017-05-13 01:05:49 +03:00
|
|
|
::
|
2018-05-25 01:39:56 +03:00
|
|
|
++ query :: query paths
|
2019-09-24 06:46:59 +03:00
|
|
|
$% {$client ~} :: shared ui state
|
2018-05-25 01:39:56 +03:00
|
|
|
{$circles who/ship} :: readable circles
|
2019-09-24 06:46:59 +03:00
|
|
|
{$public ~} :: public memberships
|
2018-05-25 01:39:56 +03:00
|
|
|
{$burden who/ship} ::TODO eventually, nom/name. :: duties to share
|
2019-09-24 06:46:59 +03:00
|
|
|
{$report ~} :: duty reports
|
2018-05-25 01:39:56 +03:00
|
|
|
{$peers nom/name} :: readers of story
|
|
|
|
$: $circle :: story query
|
|
|
|
nom/name :: circle name
|
|
|
|
wer/(unit circle) :: from source
|
|
|
|
wat/(set circle-data) :: data to get
|
|
|
|
ran/range :: query duration
|
2017-11-16 02:48:56 +03:00
|
|
|
== ::
|
2017-11-03 17:54:25 +03:00
|
|
|
::TODO in the future, we may want much more ::
|
|
|
|
:: detailed querying abilities. ::
|
|
|
|
== ::
|
2018-05-25 01:39:56 +03:00
|
|
|
++ circle-data :: kinds of circle data
|
|
|
|
$? $grams :: messages
|
|
|
|
$group-l :: local presence
|
|
|
|
$group-r :: remote presences
|
|
|
|
$config-l :: local config
|
|
|
|
$config-r :: remote configs
|
2017-10-06 14:29:15 +03:00
|
|
|
== ::
|
2018-05-25 01:39:56 +03:00
|
|
|
++ range :: inclusive msg range
|
|
|
|
%- unit :: ~ means everything
|
|
|
|
$: hed/place :: start of range
|
|
|
|
tal/(unit place) :: opt end of range
|
2017-07-11 03:39:03 +03:00
|
|
|
== ::
|
2018-05-25 01:39:56 +03:00
|
|
|
++ place :: range indicators
|
|
|
|
$% {$da @da} :: date
|
|
|
|
{$ud @ud} :: message number
|
2018-08-16 02:48:37 +03:00
|
|
|
{$sd @sd} :: previous messages
|
2017-07-11 03:39:03 +03:00
|
|
|
== ::
|
2018-05-25 01:39:56 +03:00
|
|
|
++ prize :: query result
|
|
|
|
$% {$client prize-client} :: /client
|
|
|
|
{$circles cis/(set name)} :: /circles
|
|
|
|
{$public cis/(set circle)} :: /public
|
|
|
|
{$burden sos/(map name burden)} :: /burden
|
2019-09-24 06:46:59 +03:00
|
|
|
{$report ~} :: /report
|
2018-05-25 01:39:56 +03:00
|
|
|
{$peers pes/(jar ship query)} :: /peers
|
|
|
|
{$circle package} :: /circle
|
2017-05-13 01:05:49 +03:00
|
|
|
== ::
|
2018-05-25 01:39:56 +03:00
|
|
|
++ prize-client :: shared ui state
|
|
|
|
$: gys/(jug char audience) :: glyph bindings
|
|
|
|
nis/(map ship nick) :: local nicknames
|
2017-07-11 00:09:59 +03:00
|
|
|
== ::
|
2018-05-25 01:39:56 +03:00
|
|
|
++ rumor :: query result change
|
|
|
|
$% {$client rum/rumor-client} :: /client
|
|
|
|
{$circles add/? cir/name} :: /circles
|
|
|
|
{$public add/? cir/circle} :: /public
|
|
|
|
{$burden nom/name rum/rumor-story} :: /burden
|
|
|
|
{$peers add/? who/ship qer/query} :: /peers
|
|
|
|
{$circle rum/rumor-story} :: /circle
|
2017-05-13 01:05:49 +03:00
|
|
|
== ::
|
2018-05-25 01:39:56 +03:00
|
|
|
++ rumor-client :: changed ui state
|
|
|
|
$% {$glyph diff-glyph} :: un/bound glyph
|
|
|
|
{$nick diff-nick} :: changed nickname
|
2017-07-11 00:09:59 +03:00
|
|
|
== ::
|
2018-05-25 01:39:56 +03:00
|
|
|
++ shipment :: standard payload
|
|
|
|
$: cos/lobby :: loc & rem configs
|
|
|
|
pes/crowd :: loc & rem presences
|
2017-06-13 01:19:45 +03:00
|
|
|
== ::
|
2018-05-25 01:39:56 +03:00
|
|
|
++ burden :: full story state
|
|
|
|
$: gaz/(list telegram) :: all messages
|
|
|
|
shipment :: metadata
|
2017-10-31 21:56:56 +03:00
|
|
|
== ::
|
2018-05-25 01:39:56 +03:00
|
|
|
++ package :: story state
|
|
|
|
$: nes/(list envelope) :: messages
|
|
|
|
shipment :: metadata
|
2017-07-20 01:32:07 +03:00
|
|
|
== ::
|
2018-05-25 01:39:56 +03:00
|
|
|
++ diff-glyph {bin/? gyf/char aud/audience} :: un/bound glyph
|
|
|
|
++ diff-nick {who/ship nic/nick} :: changed nickname
|
|
|
|
++ diff-story :: story change
|
|
|
|
$% {$new cof/config} :: new story
|
|
|
|
{$bear bur/burden} :: new inherited story
|
|
|
|
{$peer add/? who/ship qer/query} :: gain/lose subscriber
|
|
|
|
{$config cir/circle dif/diff-config} :: new/changed config
|
|
|
|
{$status cir/circle who/ship dif/diff-status} :: new/changed status
|
2019-09-24 06:46:59 +03:00
|
|
|
{$remove ~} :: removed story
|
2017-05-13 01:05:49 +03:00
|
|
|
== ::
|
2018-05-25 01:39:56 +03:00
|
|
|
++ rumor-story :: story rumor
|
|
|
|
$% {$gram src/circle nev/envelope} :: new/changed message
|
|
|
|
diff-story :: both in & outward
|
2017-05-13 01:05:49 +03:00
|
|
|
== ::
|
2018-05-25 01:39:56 +03:00
|
|
|
++ diff-config :: config change
|
|
|
|
$% {$full cof/config} :: set w/o side-effects
|
|
|
|
{$source add/? src/source} :: add/rem sources
|
|
|
|
{$caption cap/cord} :: changed description
|
|
|
|
{$usage add/? tas/tags} :: add/rem usage tags
|
|
|
|
{$filter fit/filter} :: changed filter
|
|
|
|
{$secure sec/security} :: changed security
|
|
|
|
{$permit add/? sis/(set ship)} :: add/rem to b/w-list
|
2018-08-20 23:14:13 +03:00
|
|
|
{$remove ~} :: removed config
|
|
|
|
{$read red/@ud} :: changed read message
|
2017-05-13 01:05:49 +03:00
|
|
|
== ::
|
2018-05-25 01:39:56 +03:00
|
|
|
++ diff-status :: status change
|
|
|
|
$% {$full sat/status} :: fully changed status
|
|
|
|
{$presence pec/presence} :: changed presence
|
|
|
|
{$human dif/diff-human} :: changed name
|
2018-08-20 23:14:13 +03:00
|
|
|
{$remove ~} :: removed status
|
2017-05-13 01:05:49 +03:00
|
|
|
== ::
|
2018-05-25 01:39:56 +03:00
|
|
|
++ diff-human :: name change
|
|
|
|
$% {$full man/human} :: fully changed name
|
|
|
|
{$handle han/(unit cord)} :: changed handle
|
|
|
|
{$true tru/(unit truename)} :: changed true name
|
2017-05-13 01:05:49 +03:00
|
|
|
== ::
|
|
|
|
::
|
2018-05-25 01:39:56 +03:00
|
|
|
:: #
|
|
|
|
:: # %client-communication
|
|
|
|
:: #
|
|
|
|
:: hall interfaces for clients.
|
2018-05-29 09:42:16 +03:00
|
|
|
+| %client-communication
|
2017-04-21 14:43:17 +03:00
|
|
|
::
|
2018-05-25 01:39:56 +03:00
|
|
|
++ action :: user action
|
2017-04-24 21:17:56 +03:00
|
|
|
$% :: circle configuration ::
|
2018-05-25 01:39:56 +03:00
|
|
|
{$create nom/name des/cord sec/security} :: create circle
|
|
|
|
{$design nom/name cof/config} :: create with config
|
|
|
|
{$delete nom/name why/(unit cord)} :: delete + announce
|
|
|
|
{$depict nom/name des/cord} :: change description
|
|
|
|
{$filter nom/name fit/filter} :: change message rules
|
|
|
|
{$permit nom/name inv/? sis/(set ship)} :: invite/banish
|
|
|
|
{$source nom/name sub/? srs/(set source)} :: un/sub to/from src
|
2018-08-20 23:14:13 +03:00
|
|
|
{$read nom/name red/@ud} :: change read message
|
2018-08-17 03:22:34 +03:00
|
|
|
{$newdm sis/(set ship)}
|
2018-05-25 01:39:56 +03:00
|
|
|
{$usage nom/name add/? tas/tags} :: add/rem usage tags
|
2017-04-14 00:40:53 +03:00
|
|
|
:: messaging ::
|
2018-05-25 01:39:56 +03:00
|
|
|
{$convey tos/(list thought)} :: post exact
|
|
|
|
{$phrase aud/audience ses/(list speech)} :: post easy
|
2017-04-11 14:00:13 +03:00
|
|
|
:: personal metadata ::
|
2018-05-25 01:39:56 +03:00
|
|
|
{$notify aud/audience pes/(unit presence)} :: our presence update
|
|
|
|
{$naming aud/audience man/human} :: our name update
|
2017-04-11 14:00:13 +03:00
|
|
|
:: changing shared ui ::
|
2018-05-25 01:39:56 +03:00
|
|
|
{$glyph gyf/char aud/audience bin/?} :: un/bind a glyph
|
|
|
|
{$nick who/ship nic/nick} :: new identity
|
2017-11-03 23:36:42 +03:00
|
|
|
:: misc changes ::
|
2018-05-25 01:39:56 +03:00
|
|
|
{$public add/? cir/circle} :: show/hide membership
|
2017-04-10 23:24:25 +03:00
|
|
|
== ::
|
2017-04-21 14:43:17 +03:00
|
|
|
::
|
2018-05-25 01:39:56 +03:00
|
|
|
:: #
|
|
|
|
:: # %hall-communication
|
|
|
|
:: #
|
|
|
|
:: structures for communicating between halls.
|
2018-05-29 09:42:16 +03:00
|
|
|
+| %hall-communication
|
2017-04-21 14:43:17 +03:00
|
|
|
::
|
2018-05-25 01:39:56 +03:00
|
|
|
++ command :: effect on story
|
|
|
|
$% {$publish tos/(list thought)} :: deliver
|
|
|
|
{$present nos/(set name) dif/diff-status} :: status update
|
2019-09-24 06:46:59 +03:00
|
|
|
{$bearing ~} :: prompt to listen
|
2015-01-01 23:43:50 +03:00
|
|
|
== ::
|
2017-04-21 14:43:17 +03:00
|
|
|
::
|
2018-05-25 01:39:56 +03:00
|
|
|
:: #
|
|
|
|
:: # %circles
|
|
|
|
:: #
|
|
|
|
:: messaging targets and their metadata.
|
2018-05-29 09:42:16 +03:00
|
|
|
+| %circles
|
2017-04-21 14:43:17 +03:00
|
|
|
::
|
2018-05-25 01:39:56 +03:00
|
|
|
++ circle {hos/ship nom/name} :: native target
|
2017-04-25 22:09:20 +03:00
|
|
|
:: circle configurations. ::
|
2018-05-25 01:39:56 +03:00
|
|
|
++ lobby {loc/config rem/(map circle config)} :: our & srcs configs
|
|
|
|
++ config :: circle config
|
|
|
|
$: src/(set source) :: active sources
|
|
|
|
cap/cord :: description
|
|
|
|
tag/tags :: usage tags
|
|
|
|
fit/filter :: message rules
|
|
|
|
con/control :: restrictions
|
2018-08-20 23:14:13 +03:00
|
|
|
red/@ud :: last read message
|
2015-01-26 20:44:09 +03:00
|
|
|
== ::
|
2018-05-25 01:39:56 +03:00
|
|
|
++ source {cir/circle ran/range} :: subscription target
|
|
|
|
++ filter :: content filters
|
|
|
|
$: cas/? :: dis/allow capitals
|
|
|
|
utf/? :: dis/allow non-ascii
|
2017-07-06 23:38:36 +03:00
|
|
|
::TODO maybe message length
|
2017-05-09 22:43:42 +03:00
|
|
|
== ::
|
2018-05-25 01:39:56 +03:00
|
|
|
++ control {sec/security sis/(set ship)} :: access control
|
|
|
|
++ security :: security mode
|
|
|
|
$? $channel :: blacklist
|
|
|
|
$village :: whitelist
|
|
|
|
$journal :: pub r, whitelist w
|
|
|
|
$mailbox :: our r, blacklist w
|
2018-09-06 02:33:34 +03:00
|
|
|
$custom :: according to custom-rule
|
2017-03-24 23:10:27 +03:00
|
|
|
== ::
|
2017-04-25 22:09:20 +03:00
|
|
|
:: participant metadata. ::
|
2018-05-25 01:39:56 +03:00
|
|
|
++ crowd {loc/group rem/(map circle group)} :: our & srcs presences
|
|
|
|
++ group (map ship status) :: presence map
|
|
|
|
++ status {pec/presence man/human} :: participant
|
|
|
|
++ presence :: status type
|
|
|
|
$? $gone :: absent
|
|
|
|
$idle :: idle
|
|
|
|
$hear :: present
|
|
|
|
$talk :: typing
|
2017-04-25 22:09:20 +03:00
|
|
|
== ::
|
2018-05-25 01:39:56 +03:00
|
|
|
++ human :: human identifier
|
|
|
|
$: han/(unit cord) :: handle
|
|
|
|
tru/(unit truename) :: true name
|
2014-12-05 23:14:00 +03:00
|
|
|
== ::
|
2018-05-25 01:39:56 +03:00
|
|
|
++ truename {fir/cord mid/(unit cord) las/cord} :: real-life name
|
2017-04-21 14:43:17 +03:00
|
|
|
::
|
2018-05-25 01:39:56 +03:00
|
|
|
:: #
|
|
|
|
:: # %message-data
|
|
|
|
:: #
|
|
|
|
:: structures for containing main message data.
|
2018-05-29 09:42:16 +03:00
|
|
|
+| %message-data
|
2017-04-21 14:43:17 +03:00
|
|
|
::
|
2017-10-06 14:29:15 +03:00
|
|
|
::TODO some structure for extra message state
|
2017-11-16 02:56:33 +03:00
|
|
|
:: local (to clients): delivery state, read flags
|
2017-10-06 14:29:15 +03:00
|
|
|
:: remote (to halls): sequence nr
|
2018-05-25 01:39:56 +03:00
|
|
|
++ envelope {num/@ud gam/telegram} :: outward message
|
|
|
|
++ telegram {aut/ship thought} :: whose message
|
|
|
|
++ thought :: inner message
|
|
|
|
$: uid/serial :: unique identifier
|
|
|
|
aud/audience :: destinations
|
|
|
|
wen/@da :: timestamp
|
|
|
|
sep/speech :: content
|
2017-07-11 03:23:12 +03:00
|
|
|
== ::
|
2018-05-25 01:39:56 +03:00
|
|
|
++ speech :: content body
|
|
|
|
$% {$lin pat/? msg/cord} :: no/@ text line
|
|
|
|
{$url url/purf:eyre} :: parsed url
|
|
|
|
{$exp exp/cord res/(list tank)} :: hoon line
|
|
|
|
{$ire top/serial sep/speech} :: in reply to
|
|
|
|
{$fat tac/attache sep/speech} :: attachment
|
|
|
|
{$app app/term sep/speech} :: app message
|
|
|
|
{$inv inv/? cir/circle} :: inv/ban for circle
|
2015-01-01 23:43:50 +03:00
|
|
|
== ::
|
2018-05-25 01:39:56 +03:00
|
|
|
++ attache :: attachment
|
|
|
|
$% {$name nom/cord tac/attache} :: named attachment
|
|
|
|
{$text (list cord)} :: text lines
|
|
|
|
{$tank (list tank)} :: tank list
|
2017-04-21 14:43:17 +03:00
|
|
|
== ::
|
|
|
|
::
|
2018-05-25 01:39:56 +03:00
|
|
|
:: #
|
|
|
|
:: # %message-metadata
|
|
|
|
:: #
|
|
|
|
:: structures for containing message metadata.
|
2018-05-29 09:42:16 +03:00
|
|
|
+| %message-metadata
|
2017-04-21 14:43:17 +03:00
|
|
|
::
|
2018-05-25 01:39:56 +03:00
|
|
|
++ serial @uvH :: unique identifier
|
|
|
|
++ audience (set circle) :: destinations
|
|
|
|
++ tracking (map circle delivery) :: delivery per target
|
|
|
|
++ delivery :: delivery state
|
|
|
|
$? $pending :: undelivered
|
|
|
|
$accepted :: received
|
|
|
|
$rejected :: denied
|
2017-08-03 07:43:56 +03:00
|
|
|
== ::
|
2014-12-05 23:14:00 +03:00
|
|
|
--
|