2017-03-30 15:17:37 +03:00
|
|
|
::
|
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
|
|
|
|%
|
2017-04-21 14:43:17 +03:00
|
|
|
::
|
|
|
|
::> ||
|
2017-05-13 01:05:49 +03:00
|
|
|
::> || %query-models
|
|
|
|
::> ||
|
|
|
|
::> models relating to queries, their results and updates.
|
|
|
|
::+|
|
|
|
|
::
|
|
|
|
::TODO path parsing/casting: ;;(query pax) or ((hard query) pax)
|
|
|
|
:: or (raid /~zod/5 /[%p]/[%ud])
|
|
|
|
:: ...but it's still shit.
|
|
|
|
++ query ::> query paths
|
|
|
|
$% {$reader $~} ::< shared ui state
|
|
|
|
{$friend $~} ::< publicly joined
|
|
|
|
{$circle nom/knot ran/range} ::< story query
|
|
|
|
== ::
|
|
|
|
++ range (unit {hed/@ t/(unit {tal/@ $~})}) ::< msg range, @ud/@da
|
|
|
|
++ prize ::> query result
|
|
|
|
$% $: $reader ::< /reader
|
|
|
|
gys/(jug char (set partner)) ::< glyph bindings
|
|
|
|
nis/(map ship cord) ::< nicknames
|
|
|
|
== ::
|
|
|
|
{$friend cis/(set circle)} ::< /friend
|
|
|
|
$: $circle ::< /circle
|
|
|
|
gaz/(list telegram) ::< queried messages
|
|
|
|
cos/lobby ::< configs
|
|
|
|
pes/crowd ::< presences
|
|
|
|
== ::
|
|
|
|
== ::
|
|
|
|
++ rumor ::< query result change
|
|
|
|
$% $: $reader ::< /reader
|
|
|
|
$= dif ::
|
|
|
|
$% {$glyph diff-glyph} ::
|
|
|
|
{$nick diff-nick} ::
|
|
|
|
== ::
|
|
|
|
== ::
|
|
|
|
{$friend add/? cir/circle} ::< /friend
|
|
|
|
{$circle dif/diff-story} ::< /circle
|
|
|
|
== ::
|
|
|
|
::TODO deltas into app
|
|
|
|
++ delta ::
|
|
|
|
$% ::TODO no more %more, just produce/take list instead!
|
|
|
|
{$more mor/(list delta)} ::< multiple changes
|
|
|
|
:: messaging state ::
|
|
|
|
{$out cir/circle out/(list thought)} ::< msgs into outbox
|
|
|
|
{$done don/(map @ud {partner ?})} ::< msgs delivered
|
|
|
|
:: shared ui state ::
|
|
|
|
{$glyph diff-glyph} ::< un/bound glyph
|
|
|
|
{$nick diff-nick} ::< changed nickname
|
|
|
|
:: story state ::
|
|
|
|
{$story nom/knot dif/diff-story} ::< change to story
|
|
|
|
:: side-effects ::
|
|
|
|
{$bear cir/circle} ::< %burden command
|
|
|
|
{$react ost/bone rac/reaction} ::TODO ost.bol? ::< reaction to action
|
|
|
|
{$quit ost/bone} ::< force unsubscribe
|
|
|
|
== ::
|
|
|
|
++ diff-glyph {bin/? gyf/char pas/(set partner)} ::< un/bound glyph
|
|
|
|
++ diff-nick {who/ship nic/cord} ::< changed nickname
|
|
|
|
++ diff-story ::
|
|
|
|
$% {$new con/config} ::< new story
|
|
|
|
{$grams gaz/(list telegram)} ::< new/changed msgs
|
|
|
|
{$config cir/circle dif/diff-config} ::< new/changed config
|
|
|
|
{$status pan/partner who/ship dif/diff-status} ::< new/changed status
|
|
|
|
{$remove $~} ::< removed story
|
|
|
|
== ::
|
|
|
|
++ diff-config ::> config change
|
|
|
|
$% {$full cof/config} ::< fully changed config
|
|
|
|
{$source add/? pas/(set partner)} ::< add/rem sources
|
|
|
|
{$caption cap/cord} ::< changed description
|
|
|
|
{$filter fit/filter} ::< changed filter
|
|
|
|
{$permit add/? sis/(set ship)} ::< add/rem to b/w-list
|
|
|
|
{$secure sec/security} ::< changed security
|
|
|
|
{$federal add/? fed/? sis/(set ship)} ::< add/rem may/fes
|
|
|
|
{$remove $~} ::< removed config
|
|
|
|
== ::
|
|
|
|
++ diff-status ::> status change
|
|
|
|
$% {$full sat/status} ::< fully changed status
|
|
|
|
{$presence pec/presence} ::< changed presence
|
|
|
|
{$human dif/diff-human} ::< changed name
|
|
|
|
{$remove $~} ::< removed config
|
|
|
|
== ::
|
|
|
|
++ diff-human ::> name change
|
|
|
|
$% {$full man/human} ::< fully changed name
|
|
|
|
{$true tru/(unit (trel cord (unit cord) cord))} ::< changed true name
|
|
|
|
{$handle han/(unit cord)} ::< changed handle
|
|
|
|
== ::
|
|
|
|
::
|
|
|
|
::> ||
|
2017-04-21 14:43:17 +03:00
|
|
|
::> || %reader-communication
|
|
|
|
::> ||
|
|
|
|
::> broker interfaces for readers.
|
|
|
|
::+|
|
|
|
|
::
|
|
|
|
++ action ::> user action
|
2017-04-24 21:17:56 +03:00
|
|
|
$% :: circle configuration ::
|
2017-04-27 00:33:25 +03:00
|
|
|
{$create nom/knot des/cord sec/security} ::< create circle
|
2017-05-03 19:38:41 +03:00
|
|
|
{$delete nom/knot ano/(unit cord)} ::< delete + announce
|
2017-04-24 21:17:56 +03:00
|
|
|
{$depict nom/knot des/cord} ::< change description
|
2017-05-09 22:43:42 +03:00
|
|
|
{$filter nom/knot fit/filter} ::< change message rules
|
2017-04-24 21:17:56 +03:00
|
|
|
{$permit nom/knot inv/? sis/(set ship)} ::< invite/banish
|
2017-05-03 19:38:41 +03:00
|
|
|
{$source nom/knot sub/? src/(set partner)} ::< un/sub to/from src
|
2017-04-28 20:40:12 +03:00
|
|
|
{$enlist nom/knot fed/? sis/(set ship)} ::< dis/allow federation
|
|
|
|
{$burden circle} ::< help federate
|
2017-04-14 00:40:53 +03:00
|
|
|
:: messaging ::
|
2017-04-24 21:17:56 +03:00
|
|
|
{$convey tos/(list thought)} ::< post exact
|
|
|
|
{$phrase aud/(set partner) ses/(list speech)} ::< post easy
|
2017-04-11 14:00:13 +03:00
|
|
|
:: personal metadata ::
|
2017-04-24 21:17:56 +03:00
|
|
|
::TODO change to target partners, not only our circles.
|
|
|
|
{$status nos/(set knot) sat/status} ::< our status update
|
2017-04-11 14:00:13 +03:00
|
|
|
:: changing shared ui ::
|
2017-04-24 21:17:56 +03:00
|
|
|
{$glyph gyf/char pas/(set partner) bin/?} ::< un/bind a glyph
|
2017-05-13 01:05:49 +03:00
|
|
|
{$nick who/ship nic/knot} ::< new identity
|
2017-04-10 23:24:25 +03:00
|
|
|
== ::
|
2017-04-21 14:43:17 +03:00
|
|
|
++ reaction ::> user information
|
2017-04-24 21:17:56 +03:00
|
|
|
$: res/?($info $fail) ::< result
|
2017-05-01 20:34:05 +03:00
|
|
|
wat/cord ::< explain
|
2017-04-21 14:43:17 +03:00
|
|
|
why/(unit action) ::< cause
|
2017-04-10 23:24:25 +03:00
|
|
|
== ::
|
2017-04-21 14:43:17 +03:00
|
|
|
++ lowdown ::> new/changed state
|
|
|
|
$% :: story state ::
|
2017-04-24 21:17:56 +03:00
|
|
|
$: $confs ::< configs
|
|
|
|
loc/(unit config) ::< local config
|
|
|
|
rem/(map circle (unit config)) ::< remote configs
|
|
|
|
== ::
|
2017-04-27 00:33:25 +03:00
|
|
|
{$precs reg/crowd} ::< presences
|
2017-04-24 21:17:56 +03:00
|
|
|
{$grams num/@ud gaz/(list telegram)} ::< messages
|
2017-04-21 14:43:17 +03:00
|
|
|
:: ui state ::
|
|
|
|
{$glyph (jug char (set partner))} ::< glyph bindings
|
|
|
|
{$names (map ship (unit human))} ::< nicknames
|
2015-12-09 04:54:26 +03:00
|
|
|
== ::
|
2017-04-21 14:43:17 +03:00
|
|
|
::
|
|
|
|
::> ||
|
|
|
|
::> || %broker-communication
|
|
|
|
::> ||
|
|
|
|
::> structures for communicating between brokers.
|
|
|
|
::+|
|
|
|
|
::
|
|
|
|
++ command ::> effect on story
|
2017-04-24 21:17:56 +03:00
|
|
|
$% {$review tos/(list thought)} ::< deliver
|
2017-04-28 20:40:12 +03:00
|
|
|
$: $burden ::< starting fed state
|
|
|
|
nom/knot
|
|
|
|
cof/lobby
|
|
|
|
pes/crowd
|
|
|
|
gaz/(list telegram)
|
|
|
|
==
|
|
|
|
{$relief nom/knot who/(set ship)} ::< federation ended
|
2014-12-05 23:14:00 +03:00
|
|
|
== ::
|
2017-04-21 14:43:17 +03:00
|
|
|
++ report ::> update
|
2017-04-27 00:33:25 +03:00
|
|
|
$% {$lobby cab/lobby} ::< config neighborhood
|
|
|
|
{$crowd reg/crowd} ::< presence
|
2017-04-24 21:17:56 +03:00
|
|
|
{$grams num/@ud gaz/(list telegram)} ::< thoughts
|
2015-01-01 23:43:50 +03:00
|
|
|
== ::
|
2017-04-21 14:43:17 +03:00
|
|
|
::
|
|
|
|
::> ||
|
|
|
|
::> || %circles
|
|
|
|
::> ||
|
|
|
|
::> messaging targets and their metadata.
|
|
|
|
::+|
|
|
|
|
::
|
2017-04-24 21:17:56 +03:00
|
|
|
++ partner (each circle passport) ::< message target
|
|
|
|
++ circle {hos/ship nom/knot} ::< native target
|
2017-04-21 14:43:17 +03:00
|
|
|
++ passport ::> foreign target
|
2017-05-01 20:34:05 +03:00
|
|
|
$% {$twitter p/cord} ::< twitter handle
|
2014-12-05 23:14:00 +03:00
|
|
|
== ::
|
2017-04-25 22:09:20 +03:00
|
|
|
:: circle configurations. ::
|
2017-04-27 00:33:25 +03:00
|
|
|
++ lobby {loc/config rem/(map circle config)} ::< our & srcs configs
|
2017-04-24 21:17:56 +03:00
|
|
|
++ config ::> circle config
|
|
|
|
$: src/(set partner) ::< pulls from
|
|
|
|
cap/cord ::< description
|
2017-05-09 22:43:42 +03:00
|
|
|
fit/filter ::< message rules
|
2017-04-24 21:17:56 +03:00
|
|
|
con/control ::< restrictions
|
2017-04-28 20:40:12 +03:00
|
|
|
fed/federal ::< federators
|
2015-01-26 20:44:09 +03:00
|
|
|
== ::
|
2017-05-09 22:43:42 +03:00
|
|
|
++ filter ::> content filters
|
|
|
|
$: cus/? ::< dis/allow capitals
|
|
|
|
utf/? ::< dis/allow non-ascii
|
|
|
|
== ::
|
2017-04-27 00:33:25 +03:00
|
|
|
++ control {sec/security ses/(set ship)} ::< access control
|
|
|
|
++ security ::> security kind
|
2017-04-21 14:43:17 +03:00
|
|
|
$? $black ::< channel, blacklist
|
|
|
|
$white ::< village, whitelist
|
|
|
|
$green ::< journal, author list
|
|
|
|
$brown ::< mailbox, our r, bl w
|
2017-03-24 23:10:27 +03:00
|
|
|
== ::
|
2017-04-28 20:40:12 +03:00
|
|
|
++ federal {may/(set ship) fes/(set ship)} ::< federation control
|
2017-04-25 22:09:20 +03:00
|
|
|
:: participant metadata. ::
|
2017-04-27 00:33:25 +03:00
|
|
|
++ crowd {loc/group rem/(map partner group)} ::< our & srcs presences
|
|
|
|
++ group (map ship status) ::< presence map
|
2017-04-24 21:17:56 +03:00
|
|
|
++ status {pec/presence man/human} ::< participant
|
|
|
|
++ presence ::> status type
|
|
|
|
$? $gone ::< left
|
|
|
|
$idle ::< idle
|
|
|
|
$hear ::< present
|
|
|
|
$talk ::< typing
|
2017-04-25 22:09:20 +03:00
|
|
|
== ::
|
2017-04-21 14:43:17 +03:00
|
|
|
++ human ::> human identifier
|
2017-05-01 20:34:05 +03:00
|
|
|
$: tru/(unit (trel cord (unit cord) cord)) ::<TODO unused true name
|
|
|
|
han/(unit cord) ::< handle
|
2014-12-05 23:14:00 +03:00
|
|
|
== ::
|
2017-04-21 14:43:17 +03:00
|
|
|
::
|
|
|
|
::> ||
|
|
|
|
::> || %message-data
|
|
|
|
::> ||
|
|
|
|
::> structures for containing main message data.
|
|
|
|
::+|
|
|
|
|
::
|
2017-04-24 21:17:56 +03:00
|
|
|
++ telegram {aut/ship tot/thought} ::< who thought
|
|
|
|
++ thought {uid/serial aud/audience sam/statement} ::< which whom what
|
|
|
|
++ statement {wen/@da boq/bouquet sep/speech} ::< when this
|
2017-04-21 14:43:17 +03:00
|
|
|
++ speech ::> narrative action
|
|
|
|
$% {$non $~} ::< no content (yo)
|
2017-05-01 20:34:05 +03:00
|
|
|
{$lin pat/? msg/cord} ::< no/@ text line
|
2017-04-24 21:17:56 +03:00
|
|
|
{$ire tos/serial sep/speech} ::< in-reply-to
|
|
|
|
{$url url/purf} ::< parsed url
|
2017-05-01 20:34:05 +03:00
|
|
|
{$exp exp/cord} ::< hoon line
|
2017-04-27 00:33:25 +03:00
|
|
|
{$fat tac/attache sep/speech} ::< attachment
|
2017-05-01 20:34:05 +03:00
|
|
|
{$lan nom/knot msg/cord} ::< local announce
|
2017-04-25 22:18:14 +03:00
|
|
|
{$inv inv/? cir/circle} ::< inv/ban for circle
|
2017-04-24 21:17:56 +03:00
|
|
|
{$mor ses/(list speech)} ::< multiplex
|
2017-05-01 20:34:05 +03:00
|
|
|
{$ext nom/term dat/*} ::< extended action
|
|
|
|
{$app app/term msg/cord} ::< app message
|
2017-04-21 14:43:17 +03:00
|
|
|
$: $api ::< api message
|
2017-05-01 20:34:05 +03:00
|
|
|
service/term ::< service name
|
|
|
|
id/cord ::< id on the service
|
2017-04-21 14:43:17 +03:00
|
|
|
id-url/purf ::< link to id
|
2017-05-01 20:34:05 +03:00
|
|
|
summary/cord ::< summary of event
|
|
|
|
body/cord ::< body of event
|
2017-04-21 14:43:17 +03:00
|
|
|
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
|
|
|
== ::
|
2017-04-27 00:33:25 +03:00
|
|
|
++ attache ::> attachment
|
2017-05-01 20:34:05 +03:00
|
|
|
$% {$name nom/cord tac/attache} ::< named attachment
|
|
|
|
{$text (list cord)} ::< text lines
|
2017-04-21 14:43:17 +03:00
|
|
|
{$tank (list tank)} ::< tank list
|
|
|
|
== ::
|
|
|
|
::
|
|
|
|
::> ||
|
|
|
|
::> || %message-metadata
|
|
|
|
::> ||
|
|
|
|
:: structures for containing message metadata.
|
|
|
|
::+|
|
|
|
|
::
|
|
|
|
++ serial @uvH ::< unique identifier
|
|
|
|
++ audience (map partner (pair envelope delivery)) ::< destination + state
|
2017-04-24 21:17:56 +03:00
|
|
|
++ envelope {vis/? sen/(unit partner)} ::< visible sender
|
2017-04-21 14:43:17 +03:00
|
|
|
++ delivery ::> delivery state
|
|
|
|
$? $pending ::< undelivered
|
|
|
|
$received ::< delivered
|
|
|
|
$rejected ::< undeliverable
|
|
|
|
$released ::< sent one-way
|
|
|
|
$accepted ::< fully processed
|
2015-01-06 23:31:36 +03:00
|
|
|
== ::
|
2017-04-21 14:43:17 +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
|
|
|
--
|