(base: string, notice: string | null = getUpdateNotice())
| 74 | * env or it will fail only in the weeks after a release ships. |
| 75 | */ |
| 76 | export function initializeInstructions(base: string, notice: string | null = getUpdateNotice()): string { |
| 77 | if (!notice) return base; |
| 78 | return ( |
| 79 | `${base}\n\n---\n${notice} This server keeps running the old version until ` + |
| 80 | `the user upgrades — mention it when convenient; do not run the upgrade yourself.` |
| 81 | ); |
| 82 | } |
| 83 | |
| 84 | /** MCP Protocol Version (latest the server claims). */ |
| 85 | export const PROTOCOL_VERSION = '2024-11-05'; |
no test coverage detected