fix(exec): carry add-dir roots through app server

This commit is contained in:
Eva Wong
2026-05-05 08:43:47 -07:00
parent 70807730f5
commit d9024bcffb
6 changed files with 62 additions and 13 deletions
@@ -3790,6 +3790,9 @@ pub struct ThreadStartParams {
pub service_tier: Option<Option<ServiceTier>>,
#[ts(optional = nullable)]
pub cwd: Option<String>,
#[experimental("thread/start.projectRoots")]
#[ts(optional = nullable)]
pub project_roots: Option<Vec<AbsolutePathBuf>>,
#[experimental(nested)]
#[ts(optional = nullable)]
pub approval_policy: Option<AskForApproval>,
@@ -3944,6 +3947,9 @@ pub struct ThreadResumeParams {
pub service_tier: Option<Option<ServiceTier>>,
#[ts(optional = nullable)]
pub cwd: Option<String>,
#[experimental("thread/resume.projectRoots")]
#[ts(optional = nullable)]
pub project_roots: Option<Vec<AbsolutePathBuf>>,
#[experimental(nested)]
#[ts(optional = nullable)]
pub approval_policy: Option<AskForApproval>,