urbit/pkg/base-dev/sur
fang 3120681b2b
sole: properly support multiple sessions
We update the sole protocol to more cleanly support multiple sessions.

Primarily, the "sole id" is updated to be a [@p @ta] instead of a @ta,
and it is now generated based off the connected dill session, rather
than statically.

This change ripples out to applications that support the sole protocol:
the subscription path becomes /sole/[ship]/[session] (as opposed to
/sole/[per-ship-constant]), and %sole-action pokes include the new id as
well.
For shoe agents, this means (at the very least) updating the function
signatures of the shoe arms.

/lib/sole has been updated to include helper functions for parsing a
sole-id from a subscription path, and turning a sole-id into its
corresponding path. It also has a function to aid in migrating old
sole-ids.

Existing sole agents are made to kick any known open sessions, forcing a
resubscribe by drum, so that they may use exclusively the new format
going forward. Third-party agents are recommended to do the same.

Note that some functionality, such as |link, still operates exclusively
on the default session. Improvements in this area to follow soon.
2022-02-20 17:19:03 -06:00
..
json Merge branch 'master' into naive/roller 2021-10-26 20:46:32 +02:00
aquarium.hoon move hoons to base-dev 2021-09-27 15:10:19 -04:00
asn1.hoon various: fix dependencies & tests 2021-09-17 14:51:19 +10:00
bitcoin.hoon various: fix dependencies & tests 2021-09-17 14:51:19 +10:00
hood.hoon kiln: don't revive apps at wrong kelvin 2021-11-10 22:17:05 -08:00
keygen.hoon various: fix dependencies & tests 2021-09-17 14:51:19 +10:00
language-server.hoon various: fix dependencies & tests 2021-09-17 14:51:19 +10:00
ring.hoon various: fix dependencies & tests 2021-09-17 14:51:19 +10:00
sole.hoon sole: properly support multiple sessions 2022-02-20 17:19:03 -06:00
spider.hoon various: fixes, pill might actually work now 2021-08-10 16:13:27 +03:00
verb.hoon various: fixes, pill might actually work now 2021-08-10 16:13:27 +03:00