fix: register errand router in appRouter and fix build errors

errandProcedures was defined but never imported/spread into the app
router, causing "No procedure found on path errand.create". Also fixed
nullable projectId TS errors in delete/abandon and added missing
sendUserMessage to test mocks.
This commit is contained in:
Lukas May
2026-03-06 21:17:44 +01:00
parent f5b1a3a5b9
commit 388befd7c3
5 changed files with 21 additions and 13 deletions

View File

@@ -63,6 +63,7 @@ class MockAgentManager implements AgentManager {
async delete(): Promise<void> { throw new Error('Not implemented'); }
async dismiss(): Promise<void> { throw new Error('Not implemented'); }
async resumeForConversation(): Promise<boolean> { return false; }
async sendUserMessage(): Promise<void> { throw new Error('Not implemented'); }
}
// =============================================================================

View File

@@ -69,6 +69,7 @@ class MockAgentManager implements AgentManager {
async delete(): Promise<void> { throw new Error('Not implemented'); }
async dismiss(): Promise<void> { throw new Error('Not implemented'); }
async resumeForConversation(): Promise<boolean> { return false; }
async sendUserMessage(): Promise<void> { throw new Error('Not implemented'); }
}
// =============================================================================