muse_code_sdk/msp/handshake/launch_context.rs
1// @generated from the MSP stable schema and protocol sources; do not edit by hand.
2
3use serde::Deserialize;
4use serde::Serialize;
5
6/// `InitializeResult.launchContext`: the two launcher variables of the serve
7/// process's environment, verbatim, read once at process start; one value for
8/// every connection and session the process hosts. Each member is `null` when
9/// its variable is unset.
10#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
11#[serde(rename_all = "camelCase")]
12#[non_exhaustive]
13pub struct LaunchContext {
14 /// `META_3PAI_INVOCATION_ID` (required, nullable).
15 pub invocation_id: Option<String>,
16 /// `META_3PAI_INVOCATION_CONTEXT` (required, nullable).
17 pub invocation_context: Option<String>,
18}