feat: add targeted communication with the yazi instance (opt-in) #225
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a technical change with no change in features for the end user. Right now you can opt in to trying it out by setting
use_yazi_client_id_flag = true
in your config (run:checkhealth yazi
afterwards).This will probably be the default mode of communication in the future.
Before this change, real time communication with the embedded yazi instance has been possible, but it has had some limitations:
This change removes this limitation from future features by giving the yazi instance shown by this plugin a unique identifier. This identifier can later be used to send and receive messages with this specific yazi instance.
See these for more information and context:
YAZI_ID
as a command line argument sxyazi/yazi#1305