feat(coding-agent): expose project trust to extensions

closes #5523
This commit is contained in:
Mario Zechner
2026-06-09 13:02:58 +02:00
parent 081a0a2bef
commit db3f9953ee
8 changed files with 35 additions and 0 deletions

View File

@@ -2239,6 +2239,7 @@ export class AgentSession {
{
getModel: () => this.model,
isIdle: () => !this.isStreaming,
isProjectTrusted: () => this.settingsManager.isProjectTrusted(),
getSignal: () => this.agent.signal,
abort: () => {
if (this._extensionAbortHandler) {