Skip to content

Commit 30d5a9e

Browse files
committed
feat(subagents): export Explorer types for external use
- Export all Explorer type definitions from main package - Enables properly typed exploration requests - Organized exports by module (Coordinator, Explorer) Now external consumers can do: import type { ExplorationRequest, PatternSearchRequest, SimilarCodeRequest } from '@lytics/dev-agent-subagents'; Completes Issue #9 acceptance criteria ✅
1 parent 97ed9aa commit 30d5a9e

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

packages/subagents/src/index.ts

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,30 @@
1313
// Main coordinator module
1414
export { ContextManagerImpl, SubagentCoordinator, TaskQueue } from './coordinator';
1515
export { ExplorerAgent } from './explorer';
16+
// Types - Explorer
17+
export type {
18+
CodeInsights,
19+
CodeRelationship,
20+
ExplorationAction,
21+
ExplorationError,
22+
ExplorationRequest,
23+
ExplorationResult,
24+
InsightsRequest,
25+
InsightsResult,
26+
PatternFrequency,
27+
PatternResult,
28+
PatternSearchRequest,
29+
RelationshipRequest,
30+
RelationshipResult,
31+
SimilarCodeRequest,
32+
SimilarCodeResult,
33+
} from './explorer/types';
1634
// Logger module
1735
export { CoordinatorLogger } from './logger';
1836
// Agent modules (stubs for now)
1937
export { PlannerAgent } from './planner';
2038
export { PrAgent } from './pr';
21-
22-
// Types
39+
// Types - Coordinator
2340
export type {
2441
Agent,
2542
AgentContext,

0 commit comments

Comments
 (0)