mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-22 13:38:31 +00:00
## Features - MCP stdio→SSE bridge: expose local stdio MCP plugins over SSE (api/mcp/[plugin]/sse, /message) - Dynamic Linux cert resolution + NSS DB injection (Debian/Arch/Fedora/openSUSE, Chrome/Chromium/Firefox incl. snap) (#1010) - Cowork tool: expanded settings UI & API - GitBook docs (DocsContent, DocsLayout) ## Fixes - OAuth callback postMessage scoped to expected origins (CWE-1385) (#998) - Re-enable TLS verification on DNS-bypass fetch (CWE-295) (#998) - Normalize `developer` role → `system` for OpenAI-format providers (Deepseek, Groq, …) (#1011, closes #773) - Respect `PORT` env in internal model-test fetch (#1014) - Dropdown text readability in dark theme on usage page (#997) ## Improvements - Refactor Claude CLI spoof headers into shared constant - Tool deduper utility in open-sse handlers
19 lines
435 B
JavaScript
19 lines
435 B
JavaScript
// Tunnel + Tailscale shared config (all values in ms)
|
|
export const HEALTH_CHECK = {
|
|
intervalMs: 2000,
|
|
timeoutMs: 180000,
|
|
fetchTimeoutMs: 5000,
|
|
dnsTimeoutMs: 2000,
|
|
};
|
|
|
|
export const INTERNET_CHECK = {
|
|
host: "1.1.1.1",
|
|
port: 443,
|
|
timeoutMs: 3000,
|
|
};
|
|
|
|
export const RESTART_COOLDOWN_MS = 180000;
|
|
export const NETWORK_SETTLE_MS = 2500;
|
|
export const WATCHDOG_INTERVAL_MS = 60000;
|
|
export const NETWORK_CHECK_INTERVAL_MS = 5000;
|