feat(m0.6-r6): release examples, public schemas and cross-platform CI
- add runnable examples for an unknown-name Tool, multi-export plugin, external kernel provider and same-name multi-version packages - add JSON Schemas for Analysis v1, Trace v1 and Tool v1 and validate them in CI - extend CI with protocol/consumer smoke tests and a Windows/macOS cargo check - add --kernel provider descriptors and R6 example integration tests - document the examples and update M0.6 status
This commit is contained in:
1 parent
54c7b43d15
commit
4ce37afb39
31 files changed
+537
-5
No files matched your search
@@ -74,7 +74,7 @@ pub const SUPPORTED_LANGUAGES: [&str; 2] = ["python", "javascript"];
|
||||
///
|
||||
/// Descriptors are metadata; they do not grant process/filesystem access. The
|
||||
/// host still requires an explicit foreign grant before invoking one.
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq, serde::Serialize, serde::Deserialize)]
|
||||
pub struct KernelDescriptor {
|
||||
/// Stable provider id (`python`, `javascript`, `mocklang`, ...).
|
||||
pub provider_id: String,
|
||||
@@ -86,10 +86,14 @@ pub struct KernelDescriptor {
|
||||
/// providers must point at an explicit executable.
|
||||
pub entrypoint: PathBuf,
|
||||
/// Content digest of the external provider program, when known.
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
pub digest: Option<String>,
|
||||
/// Advisory capability requests; never grants.
|
||||
#[serde(default)]
|
||||
pub permissions_requested: Vec<String>,
|
||||
/// Whether this is one of the built-in Python/Node providers.
|
||||
/// Whether this is one of the built-in Python/Node providers. External
|
||||
/// descriptors must leave this false.
|
||||
#[serde(default)]
|
||||
pub builtin: bool,
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user