1733
};
1734
if (iso.branchProperty) {
1735
>
properties[SessionConfigKey.Branch] = iso.branchProperty.protocol;
agentService.ts
1736
>
}
1737
if (iso.worktreeBranchPrefixProperty) {
1738
>
properties[SessionConfigKey.WorktreeBranchPrefix] = iso.worktreeBranchPrefixProperty.protocol;
agentService.ts
1739
>
}
1740
if (iso.worktreeIncludeFilesProperty) {
1741
>
properties[SessionConfigKey.WorktreeIncludeFiles] = iso.worktreeIncludeFilesProperty.protocol;
agentService.ts
1742
>
}
1743
const values = omitHostOwnedSessionConfig(result.values);
1744
values[SessionConfigKey.Isolation] = iso.isolationValue;
1745
if (iso.branchProperty && iso.branchValue !== undefined) {
1747
>
}
1748
if (iso.worktreeBranchPrefixProperty && typeof params.config?.[SessionConfigKey.WorktreeBranchPrefix] === 'string') {
1749
values[SessionConfigKey.WorktreeBranchPrefix] = params.config[SessionConfigKey.WorktreeBranchPrefix];
1750
}
1751
if (iso.worktreeIncludeFilesProperty
1752
>
&& Array.isArray(params.config?.[SessionConfigKey.WorktreeIncludeFiles])
agentService.ts
1753
&& params.config[SessionConfigKey.WorktreeIncludeFiles].every(pattern => typeof pattern === 'string')) {
1754
values[SessionConfigKey.WorktreeIncludeFiles] = params.config[SessionConfigKey.WorktreeIncludeFiles];