
Server.pudu
Pudu68 lines3.0 KB
1/** @Constants.Server.Vocabulary — server identity, limits, environment names */2module PuduLangMcp.Constants.Server345export const SERVER_NAME: Str = "pudu-lang-mcp"67export const SERVER_TITLE: Str = "Pudu Language"89export const SERVER_VERSION: Str = "0.1.0"101112export const INSTRUCTIONS: Str = "Tools for writing Pudu. Search and read the language documentation with pudu_docs_search and pudu_docs_read, and the installed standard library with pudu_stdlib_search and pudu_stdlib_module. Before presenting Pudu code, verify it with pudu_check, format it with pudu_format, and lint it with pudu_lint. pudu_hover, pudu_definition, and pudu_completion answer language-server questions at a line and character. pudu_run runs a program confined: no files, processes, network, or foreign code. Paths must be inside the workspace the server was started in."131415export const MAX_LINE_BYTES: Int = 8388608161718export const COMMAND_TIMEOUT_MS: Int = 200001920export const REFERENCE_TIMEOUT_MS: Int = 60000212223export const REFERENCE_OUTPUT_CAP_BYTES: Int = 67108864242526export const REFERENCE_CHUNK: Int = 25272829export const REFERENCE_WORKERS: Int = 4303132export const INDEX_WAIT_MS: Int = 90000333435export const RUN_TIMEOUT_MS: Int = 100003637export const MAX_RUN_TIMEOUT_MS: Int = 600003839export const LSP_TIMEOUT_MS: Int = 20000404142export const OUTPUT_CAP_BYTES: Int = 262144434445export const PAGE_SIZE: Int = 50464748export const LIST_TTL_MS: Int = 36000004950export const DOCS_TTL_MS: Int = 36000005152export const STDLIB_TTL_MS: Int = 300000535455export const DOC_CHARS: Int = 60000565758export const DEFAULT_SEARCH_LIMIT: Int = 85960export const MAX_SEARCH_LIMIT: Int = 25616263export const ENV_PUDU_BIN: Str = "PUDU_BIN"6465export const ENV_PUDU_LIB: Str = "PUDU_LIB"6667export const ENV_WORKSPACE: Str = "PUDU_MCP_ROOT"68