app-server: Return codex home in initialize response (#15689)

This allows clients to get enough information to interact with the codex
skills/configuration/etc.
This commit is contained in:
Ruslan Nigmatullin
2026-03-24 16:13:34 -07:00
committed by GitHub
parent 6323f0104d
commit 24c4ecaaac
7 changed files with 57 additions and 1 deletions

View File

@@ -56,6 +56,8 @@ pub struct InitializeCapabilities {
#[serde(rename_all = "camelCase")]
pub struct InitializeResponse {
pub user_agent: String,
/// Absolute path to the server's $CODEX_HOME directory.
pub codex_home: AbsolutePathBuf,
/// Platform family for the running app-server target, for example
/// `"unix"` or `"windows"`.
pub platform_family: String,