feat(core): add more getters related to agent session flag

This commit is contained in:
Adam Weidman
2026-05-12 17:19:55 -04:00
parent 124d8a20e9
commit b36d17a002

View File

@@ -2561,6 +2561,14 @@ export class Config implements McpContext, AgentLoopContext {
return this.agentSessionSubagentEnabled;
}
getContextManagementConfig(): ContextManagementConfig {
return this.contextManagement;
}
getAgentSessionSubagentEnabled(): boolean {
return this.agentSessionSubagentEnabled;
}
getMemoryBoundaryMarkers(): readonly string[] {
return this.memoryBoundaryMarkers;
}