@ankimcp/anki-mcp-server
Version:
Model Context Protocol server for Anki - enables AI assistants to interact with your Anki flashcards
26 lines • 738 B
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TUNNEL_DEFAULTS = exports.TunnelCloseCodes = void 0;
exports.TunnelCloseCodes = {
NORMAL: 1000,
GOING_AWAY: 1001,
AUTH_FAILED: 4001,
TOKEN_REVOKED: 4002,
TUNNEL_AUTH_FAILED: 4003,
ACCOUNT_DELETED: 4004,
SESSION_REPLACED: 4005,
URL_REGENERATED: 4006,
SERVICE_UNAVAILABLE: 4008,
SHUTDOWN: 4009,
IDLE_TIMEOUT: 4010,
};
exports.TUNNEL_DEFAULTS = {
CONNECTION_TIMEOUT: 10000,
REQUEST_TIMEOUT: 25000,
HEARTBEAT_INTERVAL: 30000,
HEARTBEAT_TIMEOUT: 10000,
RECONNECT_INITIAL_DELAY: 1000,
RECONNECT_MAX_DELAY: 30000,
RECONNECT_MAX_ATTEMPTS: 10,
};
//# sourceMappingURL=tunnel.protocol.js.map