feat: add comprehensive tests for LLM sessions and skills services

- Introduced tests for session synchronization, file delegation, session updates, and artifact deletion in sessions.test.ts.
- Added tests for skill discovery and invocation across various scopes in skills.test.ts.
- Created new types for MCP and provider skills to enhance type safety and clarity.
- Refactored routes to use the updated llmSessionsService from the i-runtime module.
- Removed deprecated session indexers and consolidated related functionality.
This commit is contained in:
Haileyesus
2026-04-07 13:53:59 +03:00
parent 779bc63556
commit 664713776a
49 changed files with 202 additions and 194 deletions

View File

@@ -1,6 +1,6 @@
import express from 'express';
import sessionManager from '../../../sessionManager.js';
import { llmSessionsService } from '@/modules/llm/services/sessions.service.js';
import { llmSessionsService } from '@/modules/ai-runtime/services/sessions.service.js';
const router = express.Router();