Clean up experimental feature popup backend wiring

This commit is contained in:
canvrno-oai
2026-05-04 15:23:37 -07:00
parent 87d2235b54
commit a0124597d7
23 changed files with 525 additions and 67 deletions
+15 -1
View File
@@ -785,6 +785,20 @@
"integer",
"null"
]
},
"cwd": {
"description": "Optional working directory used to resolve project config layers.",
"type": [
"string",
"null"
]
},
"profile": {
"description": "Optional config profile used to compute effective feature enablement.",
"type": [
"string",
"null"
]
}
},
"type": "object"
@@ -6327,4 +6341,4 @@
}
],
"title": "ClientRequest"
}
}
@@ -8363,6 +8363,20 @@
"integer",
"null"
]
},
"cwd": {
"description": "Optional working directory used to resolve project config layers.",
"type": [
"string",
"null"
]
},
"profile": {
"description": "Optional config profile used to compute effective feature enablement.",
"type": [
"string",
"null"
]
}
},
"title": "ExperimentalFeatureListParams",
@@ -18261,4 +18275,4 @@
},
"title": "CodexAppServerProtocol",
"type": "object"
}
}
@@ -4861,6 +4861,20 @@
"integer",
"null"
]
},
"cwd": {
"description": "Optional working directory used to resolve project config layers.",
"type": [
"string",
"null"
]
},
"profile": {
"description": "Optional config profile used to compute effective feature enablement.",
"type": [
"string",
"null"
]
}
},
"title": "ExperimentalFeatureListParams",
@@ -16146,4 +16160,4 @@
},
"title": "CodexAppServerProtocolV2",
"type": "object"
}
}
@@ -16,8 +16,22 @@
"integer",
"null"
]
},
"cwd": {
"description": "Optional working directory used to resolve project config layers.",
"type": [
"string",
"null"
]
},
"profile": {
"description": "Optional config profile used to compute effective feature enablement.",
"type": [
"string",
"null"
]
}
},
"title": "ExperimentalFeatureListParams",
"type": "object"
}
}
@@ -10,4 +10,12 @@ cursor?: string | null,
/**
* Optional page size; defaults to a reasonable server-side value.
*/
limit?: number | null, };
limit?: number | null,
/**
* Optional working directory used to resolve project config layers.
*/
cwd?: string | null,
/**
* Optional config profile used to compute effective feature enablement.
*/
profile?: string | null, };
@@ -2528,7 +2528,9 @@ mod tests {
"id": 8,
"params": {
"cursor": null,
"limit": null
"limit": null,
"cwd": null,
"profile": null
}
}),
serde_json::to_value(&request)?,
@@ -2611,6 +2611,12 @@ pub struct ExperimentalFeatureListParams {
/// Optional page size; defaults to a reasonable server-side value.
#[ts(optional = nullable)]
pub limit: Option<u32>,
/// Optional working directory used to resolve project config layers.
#[ts(optional = nullable)]
pub cwd: Option<String>,
/// Optional config profile used to compute effective feature enablement.
#[ts(optional = nullable)]
pub profile: Option<String>,
}
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, JsonSchema, TS)]