Skip to content

Commit 2ef2405

Browse files
committed
Refactor AI and Devlog Types, Update Note Handling
- Removed Logger interface and ConsoleLogger implementation from AI parsers. - Enhanced ChatMessageMetadata with detailed message types and additional fields. - Introduced ChatTurn model to encapsulate request-response cycles in chat sessions. - Updated ChatSession to include new metadata and improved structure. - Renamed NoteCategory to DevlogNoteCategory for clarity and consistency. - Updated all references to NoteCategory across the codebase to DevlogNoteCategory. - Refactored MCPAdapter methods to use new naming conventions for devlog operations. - Adjusted schemas and API endpoints to align with new note handling structure. - Improved note category handling in the frontend components and utilities.
1 parent 4d23e96 commit 2ef2405

File tree

30 files changed

+996
-1164
lines changed

30 files changed

+996
-1164
lines changed

.github/copilot-instructions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
- **Must create devlogs**: For features, refactoring, or multistep work (>30min)
3030
- **Required progress updates**: Add notes after successful builds, major changes, or blockers
3131
- **Always complete**: Document learnings and close devlogs when work is finished
32+
- **Required details**: Include necessary information in devlogs for comprehensive context
3233

3334
## 🎯 Essential Patterns
3435

.vscode/mcp.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"@codervisor/devlog-mcp@dev"
1616
],
1717
"env": {
18-
"DEVLOG_BASE_URL": "http://localhost:3200"
18+
// "DEVLOG_BASE_URL": "http://localhost:3200"
1919
}
2020
},
2121
"sequential-thinking": {

packages/ai/src/__tests__/exporters.test.ts

Lines changed: 0 additions & 105 deletions
This file was deleted.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"folder": "file:///Users/testuser/projects/test-project",
3+
"configuration": {}
4+
}

packages/ai/src/__tests__/models.test.ts

Lines changed: 0 additions & 115 deletions
This file was deleted.

0 commit comments

Comments
 (0)