Skip to main content

standard_plugin_manifest/
lib.rs

1//! The `standard-plugin.json` manifest and the grant model of Standard Code
2//! plugin runtime v2 (`standard:plugin@2.0.0`).
3//!
4//! One crate owns both so the viewer's host (`standard-plugin-host`), the
5//! `standard-plugin` CLI and the SDK's test host agree exactly on what a
6//! manifest may say and on what a grant covers.
7
8pub mod config_schema;
9pub mod copy_text;
10pub mod github;
11pub mod grant_text;
12pub mod grants;
13pub mod graphic;
14pub mod local;
15pub mod manifest;
16pub mod package;
17pub mod pane_create;
18pub mod paths;
19pub mod slow;
20pub mod source;
21pub mod url;
22pub mod version;
23
24pub use grants::{
25    CATALOGUE, GrantDenied, GrantError, GrantSpec, Grants, Subject, is_high_risk, review_order,
26};
27pub use manifest::{
28    COMMAND_TITLE_MAX_CHARS, CardBorder, CommandContext, CommandDecl, DaemonDecl, ENDPOINTS_MAX,
29    EndpointDecl, FooterTab, GraphicsRequirement, MANIFEST_MAX_BYTES, MODULE_MAX_BYTES, Manifest,
30    ManifestError, Model, Models, PANE_COMMAND_PATHS_MAX, PANE_COMMANDS_MAX, PaneCommandDecl,
31    Placement, PluginKind, REASON_MAX_CHARS, RequiresDecl, SurfaceAnchor, SurfaceDecl, World,
32    is_endpoint_env, is_identifier, is_pane_command_name, is_pane_command_path,
33};