1727
return result;
1728
}
1729
>
const iso = await this._worktree.resolveIsolationConfig({ workingDirectory: params.workingDirectory, config: params.config });
agentService.ts
1730
>
const properties: Record<string, SessionConfigPropertySchema> = {
1731
>
[SessionConfigKey.Isolation]: iso.isolationProperty.protocol,
1732
>
...omitHostOwnedSessionConfig(result.schema.properties),
1733
>
};
1734
>
if (iso.branchProperty) {
1735
properties[SessionConfigKey.Branch] = iso.branchProperty.protocol;
1736
}
1738
properties[SessionConfigKey.WorktreeBranchPrefix] = iso.worktreeBranchPrefixProperty.protocol;
1739
}
1741
properties[SessionConfigKey.WorktreeIncludeFiles] = iso.worktreeIncludeFilesProperty.protocol;
1742
}
1743
>
const values = omitHostOwnedSessionConfig(result.values);
agentService.ts
1744
>
values[SessionConfigKey.Isolation] = iso.isolationValue;
1745
if (iso.branchProperty && iso.branchValue !== undefined) {
1746
values[SessionConfigKey.Branch] = iso.branchValue;