fix: harden scoped tools and settings persistence

This commit is contained in:
lofyer
2026-08-13 14:56:53 +08:00
parent bf1ec5d2f1
commit aab961226f
62 changed files with 4343 additions and 1314 deletions
+4
View File
@@ -45,6 +45,10 @@ export class AgentRuntimeController implements AgentRuntime {
return this.current.runtime.supportsToolExecution
}
get supportsScopedDataTools(): boolean {
return this.current.runtime.supportsScopedDataTools !== false
}
get capability(): AgentRuntime['capability'] {
return this.current.runtime.capability
}