* prototype - working with message from the cli * prototype - pipe from the CLI to plugins * prototype - pipe from the CLI to plugins and back again * prototype - working with better cli interface * prototype - working after removing unused stuff * prototype - working with launching plugin if it is not launched, also fixed event ordering * refactor: change message to cli-message * prototype - allow plugins to send messages to each other * fix: allow cli messages to send plugin parameters (and implement backpressure) * fix: use input_pipe_id to identify cli pipes instead of their message name * fix: come cleanups and add skip_cache parameter * fix: pipe/client-server communication robustness * fix: leaking messages between plugins while loading * feat: allow plugins to specify how a new plugin instance is launched when sending messages * fix: add permissions * refactor: adjust cli api * fix: improve cli plugin loading error messages * docs: cli pipe * fix: take plugin configuration into account when messaging between plugins * refactor: pipe message protobuf interface * refactor: update(event) -> pipe * refactor - rename CliMessage to CliPipe * fix: add is_private to pipes and change some naming * refactor - cli client * refactor: various cleanups * style(fmt): rustfmt * fix(pipes): backpressure across multiple plugins * style: some cleanups * style(fmt): rustfmt * style: fix merge conflict mistake * style(wording): clarify pipe permission
30 lines
993 B
Rust
30 lines
993 B
Rust
pub mod action;
|
|
pub mod command;
|
|
pub mod event;
|
|
pub mod file;
|
|
pub mod input_mode;
|
|
pub mod key;
|
|
pub mod message;
|
|
pub mod pipe_message;
|
|
pub mod plugin_command;
|
|
pub mod plugin_ids;
|
|
pub mod plugin_permission;
|
|
pub mod resize;
|
|
pub mod style;
|
|
// NOTE: This code is currently out of order.
|
|
// Refer to [the PR introducing this change][1] to learn more about the reasons.
|
|
// TL;DR: When running `cargo release --dry-run` the build-script in zellij-utils is not executed
|
|
// for unknown reasons, causing compilation to fail. To make a new release possible in the
|
|
// meantime, we decided to temporarily include the protobuf plugin API definitions
|
|
// statically.
|
|
//
|
|
// [1]: https://github.com/zellij-org/zellij/pull/2711#issuecomment-1695015818
|
|
//pub mod generated_api {
|
|
// include!(concat!(env!("OUT_DIR"), "/generated_plugin_api.rs"));
|
|
//}
|
|
pub mod generated_api {
|
|
include!(concat!(
|
|
env!("CARGO_MANIFEST_DIR"),
|
|
"/assets/prost/generated_plugin_api.rs"
|
|
));
|
|
}
|