feat: synchronize runtime workspace roots in thread settings

This commit is contained in:
Edward Frazer
2026-05-30 18:54:28 -07:00
parent dd74e192f6
commit 61299d9752
20 changed files with 439 additions and 27 deletions
@@ -3644,6 +3644,16 @@ fn thread_settings_update_params_preserve_explicit_null_service_tier() {
#[test]
fn thread_settings_update_params_preserve_field_level_experimental_gates() {
let runtime_workspace_roots = ThreadSettingsUpdateParams {
thread_id: "thread_123".to_string(),
runtime_workspace_roots: Some(vec![PathBuf::from("repo")]),
..Default::default()
};
assert_eq!(
crate::experimental_api::ExperimentalApi::experimental_reason(&runtime_workspace_roots),
Some("thread/settings/update.runtimeWorkspaceRoots")
);
let permissions = ThreadSettingsUpdateParams {
thread_id: "thread_123".to_string(),
permissions: Some(":workspace".to_string()),