@ai-devkit/agent-manager 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -208,7 +208,13 @@ describe('CodexAdapter', () => {
208
208
 
209
209
  const agents = await adapter.detectAgents();
210
210
  expect(agents).toHaveLength(1);
211
- expect(agents[0].pid).toBe(105);
211
+ expect(agents[0]).toMatchObject({
212
+ pid: 105,
213
+ name: 'repo-x',
214
+ summary: 'Codex process running',
215
+ projectPath: '/repo-x',
216
+ });
217
+ expect(agents[0].sessionId).toBe('pid-105');
212
218
  });
213
219
 
214
220
  it('should list process when session metadata is unavailable', async () => {