Commit 2aac5b5
committed
fix(mcp): break circular dependency between keyword.types and council-preset.service
Extract CouncilPreset interface and CouncilMode type to a dedicated
council-preset.types.ts file that has no imports from keyword module.
Both keyword.types.ts and council-preset.service.ts now import from
the shared types file, eliminating the cycle.
- keyword.types.ts → council-preset.types.ts (no cycle)
- council-preset.service.ts → council-preset.types.ts (no cycle)
- council-preset.service.ts re-exports CouncilPreset for API compat1 parent 056873e commit 2aac5b5
3 files changed
Lines changed: 20 additions & 13 deletions
File tree
- apps/mcp-server/src
- agent
- keyword
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
| 4 | + | |
14 | 5 | | |
15 | 6 | | |
16 | 7 | | |
| |||
36 | 27 | | |
37 | 28 | | |
38 | 29 | | |
39 | | - | |
| 30 | + | |
40 | 31 | | |
41 | 32 | | |
42 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
0 commit comments