mirror of
https://github.com/urbit/shrub.git
synced 2024-12-22 18:31:44 +03:00
3120681b2b
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. |
||
---|---|---|
.. | ||
bip | ||
bip39 | ||
language-server | ||
ph | ||
agentio.hoon | ||
azimuth.hoon | ||
azimuthio.hoon | ||
bip32.hoon | ||
bip39.hoon | ||
bitcoin-utils.hoon | ||
cram.hoon | ||
dbug.hoon | ||
default-agent.hoon | ||
der.hoon | ||
dill.hoon | ||
ethereum.hoon | ||
ethio.hoon | ||
jose.hoon | ||
keygen.hoon | ||
pill.hoon | ||
pkcs.hoon | ||
primitive-rsa.hoon | ||
ring.hoon | ||
server.hoon | ||
shoe.hoon | ||
skeleton.hoon | ||
sole.hoon | ||
strand.hoon | ||
strandio.hoon | ||
test.hoon | ||
verb.hoon |