mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-11-18 14:08:21 +00:00
* feat: add MCP Apps support
* fix: preserve MCP App results and enforce sandbox policy
* fix: bind persisted MCP Apps to their server configuration
* fix: complete MCP Apps runtime integration
* fix: type the optional MCP App binding codec explicitly
* test: provide MCP Apps policy in bridge mocks
* fix: pass admitted App policy to the tool call owner
* fix: align MCP Apps CI contracts
* test: preserve MCP abort reasons in recovery mocks
* fix: preserve MCP compatibility across policy profiles
* test: use profiled MCP catalog generations
* test: expect the standard MCP session profile
* fix: remove the unused MCP abort import
* test: expect profiled MCP fixture arguments
* test: seed profiled MCP manager fixtures
* Fix request-header bearer resolution after canary merge
* Preserve MCP App views across canary message updates
* Document message-owned MCP App placement
* ci: Recheck MCP Apps Against Canary Base
---------
Co-authored-by: Lia <lia@librechat.ai>
(cherry picked from commit a98d40f61c)
Original-PR: https://github.com/LibreChat-AI/LibreChat/pull/13831
23 lines
824 B
TypeScript
23 lines
824 B
TypeScript
import { defineConfig } from '@playwright/test';
|
|
import mockConfig from './playwright.config.mock';
|
|
|
|
if (process.env.E2E_MCP_APPS !== 'true') {
|
|
throw new Error('The MCP Apps browser fixture requires E2E_MCP_APPS=true');
|
|
}
|
|
|
|
const phase = process.env.E2E_MCP_APPS_PHASE ?? 'standalone';
|
|
if (!['standalone', 'true', 'false', 'omitted', 'quota'].includes(phase)) {
|
|
throw new Error(`Unsupported E2E_MCP_APPS_PHASE: ${phase}`);
|
|
}
|
|
|
|
export default defineConfig({
|
|
...mockConfig,
|
|
globalSetup: phase === 'standalone' || phase === 'true' ? mockConfig.globalSetup : undefined,
|
|
globalTeardown:
|
|
phase === 'standalone' || phase === 'quota' ? mockConfig.globalTeardown : undefined,
|
|
testMatch: /mcp-apps\.spec\.ts/,
|
|
outputDir: `specs/.test-results/mcp-apps-${phase}`,
|
|
fullyParallel: false,
|
|
workers: 1,
|
|
retries: 0,
|
|
});
|