Skip to main content

Crate lsp_max_protocol

Crate lsp_max_protocol 

Source
Expand description

Protocol vocabulary and conformance types for lsp-max.

Re-exports the generated LSP 3.18 meta-model (lsp_3_18), defines LawAxis for typed law identifiers, and houses ConformanceVector and capability negotiation helpers consumed by the runtime and CLI crates.

Re-exports§

pub use lsp_3_18 as generated_3_18;
pub use conformance::ConformanceGrade;
pub use conformance::ConformanceVector;
pub use conformance::LawAxis;
pub use diagnostics::DocRoute;
pub use diagnostics::MaxCodeAction;
pub use diagnostics::MaxDiagnostic;
pub use diagnostics::Precondition;
pub use diagnostics::ReceiptPlan;
pub use diagnostics::RepairAction;
pub use diagnostics::Repairability;
pub use diagnostics::RollbackPlan;
pub use diagnostics::SnapshotId;
pub use diagnostics::Terminality;
pub use diagnostics::TransitionAttempt;
pub use diagnostics::ValidationPlan;
pub use explain::explain_code;
pub use explain::explain_method_status;
pub use explain::ExplainDiagnosticParams;
pub use explain::ExplainDiagnosticResult;
pub use explain::ExplainPosition;
pub use explain::ExplainReceiptParams;
pub use explain::ExplainReceiptResult;
pub use explain::ExplainStatusParams;
pub use explain::ExplainStatusResult;
pub use explain::LawAxisTrace;
pub use explain::EXPLAIN_DIAGNOSTIC;
pub use explain::EXPLAIN_RECEIPT;
pub use explain::EXPLAIN_STATUS;
pub use hooks::AdmissionDecision;
pub use hooks::AdmissionResult;
pub use hooks::AutonomicLoopStatus;
pub use hooks::ChainDescriptor;
pub use hooks::HookDescriptor;
pub use hooks::HookEvent;
pub use hooks::HookGraphNode;
pub use hooks::LawfulTransitionResult;
pub use hooks::ManifoldSnapshot;
pub use hooks::PropagationResult;
pub use hooks::RefusalResult;
pub use hooks::ReleaseActuationResult;
pub use hooks::ReplayResult;
pub use custom_methods::MaxRulePackDiff;
pub use custom_methods::MaxRulePackStatus;
pub use custom_methods::MaxRulePacks;
pub use custom_methods::MaxWorkspaceConformance;
pub use custom_methods::RulePackDescriptor;
pub use custom_methods::RulePackDiffEntry;
pub use custom_methods::RulePackStatusResult;
pub use custom_methods::METHOD_ADMISSION;
pub use custom_methods::METHOD_AUTONOMIC_LOOP;
pub use custom_methods::METHOD_CHAIN;
pub use custom_methods::METHOD_HOOK;
pub use custom_methods::METHOD_HOOK_GRAPH;
pub use custom_methods::METHOD_LAWFUL_TRANSITION;
pub use custom_methods::METHOD_LSIF_EXPORT;
pub use custom_methods::METHOD_MANIFOLD_SNAPSHOT;
pub use custom_methods::METHOD_PROPAGATE;
pub use custom_methods::METHOD_REFUSAL;
pub use custom_methods::METHOD_RELEASE_ACTUATION;
pub use custom_methods::METHOD_REPLAY;
pub use custom_methods::METHOD_RULE_PACKS;
pub use custom_methods::METHOD_RULE_PACK_DIFF;
pub use custom_methods::METHOD_RULE_PACK_STATUS;
pub use custom_methods::METHOD_WORKSPACE_CONFORMANCE;
pub use policy::PolicyState;
pub use intent::IntentDeclareParams;
pub use intent::IntentDeclareResult;
pub use intent::IntentKind;
pub use intent::IntentListParams;
pub use intent::IntentListResult;
pub use intent::IntentOutcome;
pub use intent::IntentRegistry;
pub use intent::IntentRevokeParams;
pub use intent::IntentRevokeResult;
pub use intent::IntentSummary;
pub use intent::IntentValidateParams;
pub use intent::IntentValidateResult;
pub use intent::INTENT_DECLARE;
pub use intent::INTENT_LIST;
pub use intent::INTENT_REVOKE;
pub use intent::INTENT_VALIDATE;
pub use core::AnalysisBundle;
pub use core::CapabilityGap;
pub use core::GateId;
pub use core::InstanceId;
pub use core::LspStateModel;
pub use core::MaxCapabilityVector;
pub use core::Receipt;
pub use core::ReceiptObligation;
pub use stream::StreamBus;
pub use stream::StreamEvent;
pub use stream::StreamEventKind;
pub use stream::StreamSubscribeParams;
pub use stream::StreamSubscribeResult;
pub use stream::StreamUnsubscribeParams;
pub use stream::StreamUnsubscribeResult;
pub use stream::STREAM_EVENT;
pub use stream::STREAM_SUBSCRIBE;
pub use stream::STREAM_UNSUBSCRIBE;

Modules§

abstractions
Core abstractions for the lsp-max framework. These traits enforce the unidirectional data flow from raw observation to static semantic index.
base_protocol
Fully compliant LSP Base 0.9 JSON-RPC message envelope handling, HTTP-style header parsing, and boundary checks.
conformance
core
custom_methods
diagnostics
explain
hooks
intent
lsp_3_18
Generated from the official LSP meta-model. Do not hand-edit generated protocol vocabulary.
phase
Read-only max/phaseShift protocol surface.
pipeline
Read-only max/* protocol surface for the TPOT2 breed-pipeline optimizer.
policy
repair
Read-only max/repairPlanSynth and max/whatIf protocol surface.
stream