feat(core): Thread AgentLoopContext through core. (#21944)

This commit is contained in:
joshualitt
2026-03-10 18:12:59 -07:00
committed by GitHub
parent daf3701194
commit 20a226a5ab
30 changed files with 272 additions and 125 deletions
@@ -67,6 +67,11 @@ describe('LocalSubagentInvocation', () => {
beforeEach(() => {
vi.clearAllMocks();
mockConfig = makeFakeConfig();
// .config is already set correctly by the getter on the instance.
Object.defineProperty(mockConfig, 'promptId', {
get: () => 'test-prompt-id',
configurable: true,
});
mockMessageBus = createMockMessageBus();
mockExecutorInstance = {