Add explicit environment propagation
ci / test (push) Has been cancelled
ci / remote-bench (push) Has been cancelled

This commit is contained in:
DuProcess
2026-06-13 22:30:15 -04:00
parent 38e2fa091a
commit 1b1278f39e
9 changed files with 380 additions and 17 deletions
+5 -1
View File
@@ -1,6 +1,6 @@
use crate::auth::BootstrapResponse;
use crate::crypto;
use crate::native::{NativeAuthOk, NativeClientHello, NativeServerHello, NativeUserAuth};
use crate::native::{EnvVar, NativeAuthOk, NativeClientHello, NativeServerHello, NativeUserAuth};
use anyhow::{Context, Result, bail};
use serde::{Deserialize, Serialize};
@@ -235,6 +235,8 @@ pub struct BootstrapAttachRequest {
pub bootstrap: BootstrapResponse,
pub cols: u16,
pub rows: u16,
#[serde(default)]
pub requested_env: Vec<EnvVar>,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
@@ -250,6 +252,8 @@ pub struct TicketAttachBody {
pub mode: String,
pub cols: u16,
pub rows: u16,
#[serde(default)]
pub requested_env: Vec<EnvVar>,
}
#[derive(Debug, Clone, Serialize, Deserialize)]