Skip to content
This repository was archived by the owner on Dec 17, 2025. It is now read-only.

Commit ec3fa71

Browse files
committed
fix: collector
1 parent ce40d52 commit ec3fa71

File tree

2 files changed

+5
-13
lines changed

2 files changed

+5
-13
lines changed

.context/docs.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
---
22
contextdocs:
3-
- name: Model Context Protocol (MCP)
4-
relationship: Core protocol implemented by this project
5-
resources:
6-
- Official Documentation: https://modelcontextprotocol.io/docs/concepts/architecture
7-
- TypeScript SDK: https://github.com/modelcontextprotocol/typescript-sdk
8-
93
- name: TypeScript
104
relationship: Main language for linter implementation
115
resources:
@@ -27,4 +21,9 @@ contextdocs:
2721
- Testing TypeScript with Jest: https://basarat.gitbook.io/typescript/intro-1/jest
2822
- Jest with TypeScript in Node.js: https://stackoverflow.com/questions/54822273/how-to-use-jest-with-typescript-in-node-js
2923

24+
- name: Model Context Protocol (MCP)
25+
relationship: Core protocol implemented by this project
26+
resources:
27+
- Official Documentation: https://modelcontextprotocol.io/docs/concepts/architecture
28+
- TypeScript SDK: https://github.com/modelcontextprotocol/typescript-sdk
3029
---

src/lib/ContextCollector.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,6 @@ export class ContextCollector {
124124
errors.push('Missing index.md file');
125125
}
126126

127-
// Check for diagrams directory
128-
const diagramsPath = join(fullPath, 'diagrams');
129-
try {
130-
await access(diagramsPath);
131-
} catch {
132-
errors.push('Missing diagrams directory');
133-
}
134127

135128
} catch (error) {
136129
errors.push(`Invalid context directory: ${error instanceof Error ? error.message : String(error)}`);

0 commit comments

Comments
 (0)