mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-20 08:23:37 +02:00
feat(packages): add @manacore/bot-services shared package
Introduces a new shared package containing transport-agnostic business logic services for Matrix bots and the Gateway. This enables: - Individual bots to import shared services - A unified Gateway bot to combine all features - Code reuse without duplication Services included: - TodoService: Task management with projects, priorities, dates - CalendarService: Events, calendars, reminders - AiService: Ollama LLM integration, chat sessions, vision - ClockService: Timers, alarms, world clocks (API client) - Placeholder modules for Nutrition, Quotes, Stats, Docs Key features: - Pluggable storage providers (file-based, in-memory, custom) - German natural language input parsing - NestJS module system with dependency injection - Fully testable in isolation https://claude.ai/code/session_015bwcqVRiFmSydYTjvDJGTc
This commit is contained in:
parent
bea066c7f8
commit
68a6c7a8d6
28 changed files with 2492 additions and 0 deletions
25
packages/bot-services/src/docs/index.ts
Normal file
25
packages/bot-services/src/docs/index.ts
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
// Placeholder - to be implemented
|
||||
// Will integrate with project documentation generation
|
||||
|
||||
export interface DocsServiceConfig {
|
||||
openaiApiKey?: string;
|
||||
s3Config?: {
|
||||
endpoint: string;
|
||||
bucket: string;
|
||||
accessKey: string;
|
||||
secretKey: string;
|
||||
};
|
||||
}
|
||||
|
||||
export interface ProjectDoc {
|
||||
id: string;
|
||||
title: string;
|
||||
content: string;
|
||||
format: 'blog' | 'summary' | 'technical';
|
||||
createdAt: string;
|
||||
}
|
||||
|
||||
// Export placeholder module
|
||||
export const DocsModule = {
|
||||
register: () => ({ module: class {}, providers: [], exports: [] }),
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue